[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.1, Thu Jun 7 15:05:39 2007 UTC revision 1.2, Mon Jul 16 16:07:05 2007 UTC
# Line 38  Line 38 
38    
39      # build menu      # build menu
40      my $menu = WebMenu->new();      my $menu = WebMenu->new();
41      $menu->add_category('Navigate', 'index.cgi?page=Home');      $menu->add_category('»Navigate', '?page=Home');
42      $menu->add_entry('Navigate', 'Search', 'index.cgi?page=Home');      $menu->add_entry('»Navigate', 'Search', '?page=Home');
43      $menu->add_entry('Navigate', 'Functional Roles', 'index.cgi?page=FunctionalRole');      $menu->add_entry('»Navigate', 'Functional Roles', '?page=FunctionalRole');
44      $menu->add_entry('Navigate', 'Subsystems', 'index.cgi?page=Subsystem');      $menu->add_entry('»Navigate', 'Subsystems', '?page=Subsystem');
45      $menu->add_entry('Navigate', 'Organisms', 'index.cgi?page=Organism');      $menu->add_entry('»Navigate', 'Organisms', '?page=OrganismSelect');
46      $menu->add_entry('Navigate', 'Annotations', 'index.cgi?page=Annotation');      $menu->add_entry('»Navigate', 'Annotations', '?page=Annotation');
47      $menu->add_category('Help', 'http://biofiler.mcs.anl.gov', 'help');      $menu->add_category('»Help', 'http://biofiler.mcs.anl.gov', 'help', undef, 98);
48      $menu->add_entry('Help', 'What is the SEED', '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', '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', 'www.theseed.org');      $menu->add_entry('»Help', 'Submitting Data to SEED', 'http://www.theseed.org');
51      $menu->add_entry('Help', 'Contact', 'www.theseed.org');      $menu->add_entry('»Help', 'Contact', 'http://www.theseed.org');
52      $menu->add_entry('Help', 'Register', 'www.theseed.org');      $menu->add_entry('»Help', 'Register', '?page=Register');
53      $menu->add_category('Logout', 'index.cgi?action=perform_logout', undef, ['login']);      $menu->add_category('»Logout', '?page=Home&action=perform_logout', undef, ['login'], 99);
54    
55      # initialize application      # initialize application
56      my $WebApp = WebApplication->new( { id => 'SeedViewer',      my $WebApp = WebApplication->new( { id => 'SeedViewer',
# Line 60  Line 60 
60                                          default  => 'Home',                                          default  => 'Home',
61                                        } );                                        } );
62    
63        #my $search_master = DBMaster->new(-database => 'SeedDB');
64        #my $search_component = $WebApp->register_component('Search', 'MenuSearch');
65        #$search_component->db($search_master);
66        #$search_component->add_category('Functional Role', 'FunctionalRole');
67        #$search_component->add_category('Subsystem');
68        #$search_component->add_category('Organism');
69        #$search_component->add_category('Annotation', undef, 'Function');
70    
71      # run application      # run application
72      $WebApp->run();      $WebApp->run();
73    

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3