\n" ;
my $COLS = 1 ;
print "",
&P4CGI::start_table("cellspacing=3 cellpadding=0") ;
my $colorCnt=0 ;
while(@MENU > 0) {
my $n ;
my @alts ;
for($n = 0;($n < $COLS) and (@MENU > 0);$n++) {
my $t = shift @MENU ;
push @alts, "$t";
} ;
my $tmp = @alts ;
my @color = (&P4CGI::BGCOLOR(),&P4CGI::BGCOLOR()) ;
# my @color = (&P4CGI::BGCOLOR(),&P4CGI::HDRFTR_BGCOLOR()) ;
print &P4CGI::table_row(-align => "left",
map {
{
-bgcolor => $color[$colorCnt++ & 1],
-text => "$_" } ; } @alts) ."\n" ;
} ;
print &P4CGI::end_table() ;
if(!&P4CGI::SHORTCUTS_ON_TOP()) {
print "$SHORTCUTS\n"
} ;
print " | " ;
print "",
&P4CGI::start_table("bgcolor=".&P4CGI::HDRFTR_BGCOLOR()." align=center cellpadding=0 cellspacing=2"),
" |
\n" ;
sub prSelection($$$$ )
{
my $cgitarget = shift @_ ;
my $desc = shift @_ ;
my $fields = shift @_ ;
my $helpTarget = shift @_ ;
print "", &P4CGI::table_row(-valign=>"bottom",
{-align=>"center",
-valign=>"bottom",
-text =>
join("\n",
&P4CGI::cgi()->startform(-action => $cgitarget,
-method => "GET"),
"$desc")},
{-align=>"left",
-valign=>"bottom",
-text => $fields},
{-align=>"left",
-text => " "},
{-align=>"left",
-valign=>"bottom",
-width=>"1",
-text => &P4CGI::cgi()->submit(-name => "ignore",
-value => "GO!")
},
{ -text => &P4CGI::cgi()->endform()
}
) ;
} ;
print "", &P4CGI::start_table("width=100% cellspacing=4") ;
my $limiter=" |