[Bio] / FigKernelPackages / HTML.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/HTML.pm

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

revision 1.128, Thu Jul 17 19:33:19 2008 UTC revision 1.129, Wed Sep 3 20:30:22 2008 UTC
# Line 399  Line 399 
399      # it will reduce our overhead.      # it will reduce our overhead.
400      Trace("Formatting javascript.") if T(3);      Trace("Formatting javascript.") if T(3);
401      # $javasrc must be a ref to an array with urls (absolute or relative) to the javascripts      # $javasrc must be a ref to an array with urls (absolute or relative) to the javascripts
402      push @$javasrc, "Html/css/FIG.js";      push @$javasrc, "$FIG_Config::cgi_url/Html/css/FIG.js";
403      foreach my $script (@$javasrc) {      foreach my $script (@$javasrc) {
404          $csstext .= "<script src=\"$script\" type=\"text/javascript\"></script>\n";          $csstext .= "<script src=\"$script\" type=\"text/javascript\"></script>\n";
405      }      }
# Line 1848  Line 1848 
1848          $retVal = "<a href=\"subsys.cgi?ssa_name=$linkable&request=show_ssa&user=$user\">$cleaned</a>";          $retVal = "<a href=\"subsys.cgi?ssa_name=$linkable&request=show_ssa&user=$user\">$cleaned</a>";
1849      } else {      } else {
1850          # A visitor or SPROUT user is calling, so we go to the display page.          # A visitor or SPROUT user is calling, so we go to the display page.
1851          $retVal = "<a href=\"display_subsys.cgi?ssa_name=$linkable;request=show_ssa;sort=by_phylo;focus=$gid;SPROUT=$sproutMode\">$cleaned</a>";          $retVal = "<a href=\"$FIG_Config::cgi_url/seedviewer.cgi?page=Subsystems;subsystem=$linkable\">$cleaned</a>";
1852      }      }
1853      # Return the result.      # Return the result.
1854      return $retVal;      return $retVal;

Legend:
Removed from v.1.128  
changed lines
  Added in v.1.129

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3