[Bio] / FigWebServices / SearchSkeleton.cgi Repository:
ViewVC logotype

Diff of /FigWebServices/SearchSkeleton.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10, Wed Nov 8 23:15:38 2006 UTC revision 1.11, Fri Nov 10 22:02:40 2006 UTC
# Line 119  Line 119 
119  eval {  eval {
120      # Get the search class.      # Get the search class.
121      my $class = $cgi->param("Class");      my $class = $cgi->param("Class");
122        # Check for advanced mode.
123        if ($cgi->param("Alternate")) {
124            $class = $FIG_Config::advanced_class;
125        }
126      if (! $class) {      if (! $class) {
127          Trace("Producing index of search tools.") if T(3);          Trace("Producing index of search tools.") if T(3);
128          # No class specified, so we simply generate an index of the          # No class specified, so we simply generate an index of the
# Line 142  Line 146 
146          Trace("Building index.") if T(3);          Trace("Building index.") if T(3);
147          my $index = $cgi->h3("Index of Search Tools") .          my $index = $cgi->h3("Index of Search Tools") .
148                      $cgi->ul($cgi->li(\@contents));                      $cgi->ul($cgi->li(\@contents));
149          # Store it as the form.          # Store it as the results.
150          $varHash->{form} = $index;          $varHash->{results} = $index;
151          # Tell the template we don't have a class.          # Tell the template we don't have a class.
152          $varHash->{class} = "";          $varHash->{class} = "";
153          Trace("Index built.") if T(3);          Trace("Index built.") if T(3);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3