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

Diff of /FigWebServices/feature.cgi

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

revision 1.3, Wed Oct 6 20:37:38 2004 UTC revision 1.4, Fri Oct 8 19:20:38 2004 UTC
# Line 134  Line 134 
134    
135      unshift @$html, "<TITLE>The SEED: Feature Page</TITLE>\n";      unshift @$html, "<TITLE>The SEED: Feature Page</TITLE>\n";
136      my $gs = $fig->org_of($feature);      my $gs = $fig->org_of($feature);
     if ($feature =~ /^fig\|\d+\.\d+\.peg/)  
     {  
137          if (! $fig->is_real_feature($feature))          if (! $fig->is_real_feature($feature))
138          {          {
139              push(@$html,"<h1>Sorry, $feature is an unknown identifier</h1>\n");              push(@$html,"<h1>Sorry, $feature is an unknown identifier</h1>\n");
# Line 143  Line 141 
141          else          else
142          {          {
143              push(@$html,"<h1>Feature $feature: $gs</h1>\n");              push(@$html,"<h1>Feature $feature: $gs</h1>\n");
             my $msg;  
144              my $url = $cgi->self_url();              my $url = $cgi->self_url();
             if ($cgi->param('translate')) {  
                 $url =~ s/[;&]translate(=[^;&])?//i or $url =~ s/translate(=[^;&])?[;&]//i;  
                 $msg = "Turn Off Function Translation";  
             }  
             else  
             {  
                 $url .= ";translate=1";  
                 $msg = "Translate Function Assignments";  
             }  
             #push(@$html, "<a href=\"$url\">$msg</a><br>\n");  
   
145              &display_peg($fig,$cgi,$html,$feature);              &display_peg($fig,$cgi,$html,$feature);
146          }          }
147      }      }
     else  
     {  
         &display_external($fig,$cgi,$html,$feature);  
     }  
 }  
148    
149  #==============================================================================  #==============================================================================
150  #  display_peg  #  display_peg

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3