diff options
| author | fukachan <fukachan> | 2003-09-25 14:58:17 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2003-09-25 14:58:17 +0000 |
| commit | 88aa4e10e81358115cf1187601f2c1a4452cba42 (patch) | |
| tree | 16d5173ff8090471063774bccac900365a5c4d62 /fml/lib/FML/Process | |
| parent | 7af7705654abf98ecba1799ef2474602de873571 (diff) | |
| download | fml8-88aa4e10e81358115cf1187601f2c1a4452cba42.tar.gz fml8-88aa4e10e81358115cf1187601f2c1a4452cba42.tar.bz2 fml8-88aa4e10e81358115cf1187601f2c1a4452cba42.zip | |
use cgi.*.top for top level help
Diffstat (limited to 'fml/lib/FML/Process')
| -rw-r--r-- | fml/lib/FML/Process/CGI/Kernel.pm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/fml/lib/FML/Process/CGI/Kernel.pm b/fml/lib/FML/Process/CGI/Kernel.pm index 2e8a1434..f2b15559 100644 --- a/fml/lib/FML/Process/CGI/Kernel.pm +++ b/fml/lib/FML/Process/CGI/Kernel.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: Kernel.pm,v 1.53 2003/09/13 09:08:12 fukachan Exp $ +# $FML: Kernel.pm,v 1.54 2003/09/25 11:40:58 fukachan Exp $ # package FML::Process::CGI::Kernel; @@ -437,7 +437,15 @@ sub run_cgi_help print "</B>\n"; # top level help message - my $buf = $curproc->message_nl("cgi.top"); + my $mode = $curproc->cgi_var_cgi_mode(); + my $buf = ''; + if ($mode eq 'admin') { + $buf = $curproc->message_nl("cgi.admin.top"); + } + else { + $buf = $curproc->message_nl("cgi.ml-admin.top"); + } + print $buf; } |
