summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-06-25 07:50:08 +0000
committerfukachan <fukachan>2002-06-25 07:50:08 +0000
commit4fe2abfb0bd2d94b0ba308ccdfe147dfdc2dfbc7 (patch)
tree641652301e58d4e14b81375aa47eae9ef777f270
parent7d875012d374a55dea546d266a74f4dd2cea9767 (diff)
downloadfml8-4fe2abfb0bd2d94b0ba308ccdfe147dfdc2dfbc7.tar.gz
fml8-4fe2abfb0bd2d94b0ba308ccdfe147dfdc2dfbc7.tar.bz2
fml8-4fe2abfb0bd2d94b0ba308ccdfe147dfdc2dfbc7.zip
navigation bar tries to follow the current *command
-rw-r--r--fml/lib/FML/CGI/Admin/Menu.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/fml/lib/FML/CGI/Admin/Menu.pm b/fml/lib/FML/CGI/Admin/Menu.pm
index 8f85beaf..2636276a 100644
--- a/fml/lib/FML/CGI/Admin/Menu.pm
+++ b/fml/lib/FML/CGI/Admin/Menu.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Menu.pm,v 1.15 2002/06/22 14:37:48 fukachan Exp $
+# $FML: Menu.pm,v 1.16 2002/06/24 11:06:11 fukachan Exp $
#
package FML::CGI::Admin::Menu;
@@ -237,9 +237,13 @@ sub run_cgi_navigator
-size => 5);
print "\n<BR>\n";
+ my $command_default = $curproc->safe_param_navi_command() ||
+ $curproc->safe_param_command();
+
print " command:\n";
print scrolling_list(-name => 'navi_command',
-values => $command_list,
+ -default => [ $command_default ],
-size => 5);
print "\n<BR>\n";