Commit 57c27b3f authored by Xavier Guimard's avatar Xavier Guimard

Error in inheritance since Manager.pm has been cutted in 2 pieces: CGI is not...

Error in inheritance since Manager.pm has been cutted in 2 pieces: CGI is not in @INC in _HTML.pm so SUPER does not work.


git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/trunk@11 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 9f656ccf
This diff is collapsed.
......@@ -294,13 +294,13 @@ sub start_html {
$args{'-style'} = { -src => [ $args{'-style'} ] } if($args{'-style'} and !ref($args{'-style'}));
push @{$args{'-style'}->{'-src'}}, "$ENV{SCRIPT_NAME}?lmQuery=css";
$args{'-title'} ||= 'Lemonldap::NG Configuration';
$self->SUPER::start_html(%args);
$self->CGI::start_html(%args);
}
sub main {
# Lemonldap::Manager javascripts;
print qq#<script type="text/javascript" src="$ENV{SCRIPT_NAME}?lmQuery=libjs"></script>#;
print qq#<script type="text/javascript" src="$ENV{SCRIPT_NAME}?lmQuery=lmjs"></script>#;
print qq#<script type="text/javascript" src="$ENV{SCRIPT_NAME}?lmQuery=libjs"></script>\n#;
print qq#<script type="text/javascript" src="$ENV{SCRIPT_NAME}?lmQuery=lmjs"></script>\n#;
# HTML code
print <<EOT;
<div id='xBody'>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment