[Home]OpenText

UseModWiki | RecentChanges | Preferences

Back to Functions

called from

actions

  1. Calls OpenSection that reads %Section
  2. Splits $Section using separator FS2 and creates %Text

If the required page name is not defined, calls OpenNewText

improvements

 sub OpenText {
  my ($status) = @_; # can be 'edit' or 'display' (default)
  my $name = 'default'; # vestigial, from OpenDefaultText bypass
  if (!defined($Page{"text_$name"})) {
    &OpenNewText($name, $status);
  } else {
    &OpenSection("text_$name");
    %Text = split(/$FS3/, $Section{'data'}, -1);
  }
 }

changes:


UseModWiki | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited May 13, 2004 11:30 am by 62.213.86.109 (diff)
Search: