4 package CXGN
::Insitu
::Toolbar
;
7 our @ISA = qw(Exporter);
8 our @EXPORT = qw
/ display_toolbar /; # symbols to export on request
12 use CXGN
::Page
::FormattingHelpers qw
/page_title_html modesel/;
17 # my $page = CXGN::Page->new();
20 ["/insitu/search.pl", "Search"],
21 ["/insitu/manage.pl", "Manage"],
22 ["/insitu/help.pl", "Help"]
36 # my ($search) = $page -> get_arguments("search");
37 # $search ||= 'unigene'; #default
41 : ($hilite =~ /home/i) ?
0
42 : ($hilite =~ /search/i) ?
1
43 : ($hilite =~ /manage/i) ?
2
44 : ($hilite =~ /help/i) ?
3
47 : print STDERR
"Invalid search type.";
50 print modesel
(\
@tabs,$tabsel); #print out the tabs
56 # my $home = "Insitu home";
57 # my $search = "Search";
58 # my $manage = "Manage";
62 # "$home" => "/insitu/",
63 # "$search" => "/insitu/search.pl",
64 # "$manage" => "/insitu/manage.pl",
65 # "$help" => "/insitu/help.pl",
67 # my @link_order = ( $home, $search, $manage, $help );
69 # print qq { <table><tr> };
71 # foreach my $k (@link_order) {
72 # my $bgcolor = "#FFFFFF";
73 # if ($hilite eq $k) {
76 # print qq { <td bgcolor="$bgcolor"><a href="$links{$k}">$k</a></td><td>|</td> }
78 # print qq { </tr></table><br /><br /> };