open(X,"$path_to_library/help/index.txt"); while(){ chomp(); ($qs,$topic)=split(/=/,$_,2); push(@X,$qs); } @X=sort(@X); foreach $x (@X){ $z=$x;$z=~tr/ /_/; $OPTIONS .= qq~
$x
\n~; } &check_cookie; &check_login; &seed; @buttons=split(/\|/,$buttons); for (@buttons){ $icon = $_."_"; $$icon="
$$icon
"; $$icon=~s!onclick=.+?\s!onclick=tut(this.src,this.alt) !; $$_=$$icon; if($_ eq "classes" || $_ eq "inline" || $_ eq "freehand"){ $style_=~s!onclick=.+?\s!onclick=tut(this.src) !; $style=qq~
$style_
~} } if($fonts){ $fontsa=qq~
Font Face
~; $fontsb=qq~
Font Size
~; $fontsc=qq~
Paragraph Headings
~; } print "Content-type: text/html\n\n"; $help_inc = $htm."/help.txt"; open(HLP,"$help_inc"); while(){ s/\$(\w+)/${$1}/eg; print; } 1;