[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.2, Mon Jul 16 16:07:05 2007 UTC revision 1.3, Mon Oct 8 19:32:45 2007 UTC
# Line 40  Line 40 
40      my $menu = WebMenu->new();      my $menu = WebMenu->new();
41      $menu->add_category('»Navigate', '?page=Home');      $menu->add_category('»Navigate', '?page=Home');
42      $menu->add_entry('»Navigate', 'Search', '?page=Home');      $menu->add_entry('»Navigate', 'Search', '?page=Home');
43      $menu->add_entry('»Navigate', 'Functional Roles', '?page=FunctionalRole');      $menu->add_entry('»Navigate', 'Subsystems', '?page=SubsystemSelect');
     $menu->add_entry('»Navigate', 'Subsystems', '?page=Subsystem');  
44      $menu->add_entry('»Navigate', 'Organisms', '?page=OrganismSelect');      $menu->add_entry('»Navigate', 'Organisms', '?page=OrganismSelect');
45      $menu->add_entry('»Navigate', 'Annotations', '?page=Annotation');      $menu->add_category('»Teacher', '?page=Teach', undef, ['edit', 'problem_list'], 96);
46        #$menu->add_category('»Analysis', '?page=Analysis', undef, ['login'], 97);
47      $menu->add_category('»Help', 'http://biofiler.mcs.anl.gov', 'help', undef, 98);      $menu->add_category('»Help', 'http://biofiler.mcs.anl.gov', 'help', undef, 98);
48      $menu->add_entry('»Help', 'What is the SEED', 'http://www.theseed.org');      $menu->add_entry('»Help', 'What is the SEED', 'http://www.theseed.org');
49      $menu->add_entry('»Help', 'HowTo use the SEED Viewer', 'http://www.theseed.org');      $menu->add_entry('»Help', 'HowTo use the SEED Viewer', 'http://www.theseed.org');
50      $menu->add_entry('»Help', 'Submitting Data to SEED', 'http://www.theseed.org');      $menu->add_entry('»Help', 'Submitting Data to SEED', 'http://www.theseed.org');
51      $menu->add_entry('»Help', 'Contact', 'http://www.theseed.org');      $menu->add_entry('»Help', 'Contact', 'http://www.theseed.org');
52      $menu->add_entry('»Help', 'Register', '?page=Register');      $menu->add_entry('»Help', 'Register', '?page=Register');
     $menu->add_category('»Logout', '?page=Home&action=perform_logout', undef, ['login'], 99);  
53    
54      # initialize application      # initialize application
55      my $WebApp = WebApplication->new( { id => 'SeedViewer',      my $WebApp = WebApplication->new( { id => 'SeedViewer',
# Line 60  Line 59 
59                                          default  => 'Home',                                          default  => 'Home',
60                                        } );                                        } );
61    
     #my $search_master = DBMaster->new(-database => 'SeedDB');  
     #my $search_component = $WebApp->register_component('Search', 'MenuSearch');  
     #$search_component->db($search_master);  
     #$search_component->add_category('Functional Role', 'FunctionalRole');  
     #$search_component->add_category('Subsystem');  
     #$search_component->add_category('Organism');  
     #$search_component->add_category('Annotation', undef, 'Function');  
   
62      # run application      # run application
63      $WebApp->run();      $WebApp->run();
64    

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3