[Bio] / Sprout / SearchHelper.pm Repository:
ViewVC logotype

Diff of /Sprout/SearchHelper.pm

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

revision 1.38, Thu Dec 6 14:58:03 2007 UTC revision 1.40, Tue Apr 29 20:52:05 2008 UTC
# Line 1126  Line 1126 
1126              if ($optionThing->{links}) {              if ($optionThing->{links}) {
1127                  # Compute the link value.                  # Compute the link value.
1128                  my $linkable = uri_escape($id);                  my $linkable = uri_escape($id);
1129                  $nodeContent->{link} = "../FIG/display_subsys.cgi?ssa_name=$linkable;request=show_ssa;sort=by_phylo;show_clusters=1;SPROUT=1";                  $nodeContent->{link} = "../FIG/seedviewer.cgi?page=Subsystems;subsystem=$linkable";
1130              }              }
1131              if ($optionThing->{radio}) {              if ($optionThing->{radio}) {
1132                  # Compute the radio value.                  # Compute the radio value.
# Line 1512  Line 1512 
1512                                     $cgi->popup_menu(-name => 'AliasType',                                     $cgi->popup_menu(-name => 'AliasType',
1513                                                      -values => ['FIG', AliasAnalysis::AliasTypes() ],                                                      -values => ['FIG', AliasAnalysis::AliasTypes() ],
1514                                                      -default => $aliasType) .                                                      -default => $aliasType) .
1515                                     Hint("Identifier type", "Specify how you want gene names to be displayed."))) .                                     Hint("Identifier Type", "Specify how you want gene names to be displayed."))) .
1516                   "\n" .                   "\n" .
1517                   $cgi->Tr($cgi->td("Results/Page"),                   $cgi->Tr($cgi->td("Results/Page"),
1518                            $cgi->td($cgi->popup_menu(-name => 'PageSize',                            $cgi->td($cgi->popup_menu(-name => 'PageSize',
# Line 2467  Line 2467 
2467    
2468  =item wikiPage  =item wikiPage
2469    
2470  Name of the wiki page to be popped up when the hint maek is clicked.  Name of the wiki page to be popped up when the hint mark is clicked.
2471    
2472  =item hintText  =item hintText
2473    
# Line 2489  Line 2489 
2489      my $quotedText = $hintText;      my $quotedText = $hintText;
2490      $quotedText =~ s/'/\\'/g;      $quotedText =~ s/'/\\'/g;
2491      # Convert the wiki page name to a URL.      # Convert the wiki page name to a URL.
2492      my $wikiURL = ucfirst $wikiPage;      my $wikiURL = join("", map { ucfirst $_ } split /\s+/, $wikiPage);
2493      $wikiURL =~ s/ /_/g;      $wikiURL = "wiki/view.cgi/FIG/$wikiURL";
     $wikiURL = "../wiki/index.php/$wikiURL";  
2494      # Create the html.      # Create the html.
2495      my $retVal = "&nbsp;<input type=\"button\" class=\"hintbutton\" onMouseOver=\"javascript:if (!this.tooltip) { " .      my $retVal = "&nbsp;<input type=\"button\" class=\"hintbutton\" onMouseOver=\"javascript:if (!this.tooltip) { " .
2496                   "this.tooltip = new Popup_Tooltip(this, 'Search Hint', '$quotedText', '', 1); this.tooltip.addHandler(); } " .                   "this.tooltip = new Popup_Tooltip(this, 'Search Hint', '$quotedText', '', 1); this.tooltip.addHandler(); } " .

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.40

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3