[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.39, Tue Feb 5 05:43:46 2008 UTC
# 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 2490  Line 2490 
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 = ucfirst $wikiPage;
2493      $wikiURL =~ s/ /_/g;      $wikiURL =~ s/ //g;
2494      $wikiURL = "../wiki/index.php/$wikiURL";      $wikiURL = "wiki/view.cgi/FIG/$wikiURL";
2495      # Create the html.      # Create the html.
2496      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) { " .
2497                   "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.39

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3