[Bio] / WebApplication / WebComponent.pm Repository:
ViewVC logotype

Diff of /WebApplication/WebComponent.pm

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

revision 1.3, Wed Sep 3 21:01:13 2008 UTC revision 1.4, Thu Sep 4 18:59:15 2008 UTC
# Line 46  Line 46 
46      }      }
47    
48      $id = '' unless (defined $id);      $id = '' unless (defined $id);
49        my $sv_url = "$FIG_Config::cgi_url/seedviewer.cgi";
50        if (FIGRules::nmpdr_mode($application->cgi) && $FIG_Config::linkinSV) {
51            $sv_url = $FIG_Config::linkinSV;
52        }
53      my $self = { 'application' => $application,      my $self = { 'application' => $application,
54                   'id'          => $id,                   'id'          => $id,
55                   'css'         => undef,                   'css'         => undef,
56                   'svURL'       => ($FIG_Config::linkinSV || "$FIG_Config::cgi_url/seedviewer.cgi"),                   'svURL'       => $sv_url,
57                 };                 };
58      bless $self, $class;      bless $self, $class;
59    

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3