[geninfo stuff from huggie, modified a bit ganesh**Tue May 14 10:31:10 GMT 2002] { hunk ./cgi-bin/editinfo.pl 3 -#---libsetup--- - -# having . in @INC can cause tainting issues for use - -no lib '.'; - hunk ./cgi-bin/editinfo.pl 5 - ($dir)=($FindBin::Bin=~/^([\w\d\-\/\.]+)$/) + ($dir)=($FindBin::Bin=~/^([\w\d\-\/\.]+)$/) hunk ./cgi-bin/editinfo.pl 8 -use lib $dir; +use lib "$dir"; hunk ./cgi-bin/editinfo.pl 10 -#---endlibsetup--- - hunk ./cgi-bin/range.pl 85 + $section=~s/\/&dispinfo($photo,$descr)/gies; hunk ./cgi-bin/range.pl 127 +sub dispinfo { + my $photo = shift; + my $desc = shift || ""; + my $out = '

'; + $out .= '