[Bio] / SeedViewer / seedviewer.cgi Repository:
ViewVC logotype

Diff of /SeedViewer/seedviewer.cgi

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

revision 1.15, Sun Mar 23 16:04:27 2008 UTC revision 1.16, Tue Apr 29 20:39:07 2008 UTC
# Line 16  Line 16 
16    
17  if ($@)  if ($@)
18  {  {
19        my $error = $@;
20      my $cgi = new CGI();      my $cgi = new CGI();
21    
22      print $cgi->header();      print $cgi->header();
23      print $cgi->start_html();      print $cgi->start_html();
24    
25      # print out the error      # print out the error
26        Trace("Script error: $error") if T(0);
27      print '<pre>'.$@.'</pre>';      print '<pre>'.$@.'</pre>';
28    
29      print $cgi->end_html();      print $cgi->end_html();
# Line 32  Line 34 
34    
35      # initialize cgi      # initialize cgi
36      my $cgi = new CGI();      my $cgi = new CGI();
     ETracing($cgi);  
37    
38      # initialize layout      # initialize layout
39      # Use the template file for the current mode-- NMPDR or SEED      # Use the template file for the current mode-- NMPDR or SEED
# Line 53  Line 54 
54      $layout->add_css('./Html/commonviewer.css');      $layout->add_css('./Html/commonviewer.css');
55      # Add the normal style.      # Add the normal style.
56      $layout->add_css('./Html/default.css');      $layout->add_css('./Html/default.css');
     # add site meter  
     my $site_meter = $FIG_Config::site_meter;  
     if ($site_meter) {  
         $layout->add_javascript("http://s20.sitemeter.com/js/counter.js?site=s20nmpdr");  
     }  
   
57      # build menu      # build menu
58      my $menu;      my $menu;
59      $menu = WebMenu->new();      $menu = WebMenu->new();

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3