Fix default jquery-ui theme for sessions explorer

This commit is contained in:
Clément Oudot 2010-11-29 15:31:26 +00:00
parent 0e1eb2ac0a
commit fb7d6f1448
2 changed files with 4 additions and 3 deletions

View File

@ -29,6 +29,7 @@ my $cgi = Lemonldap::NG::Manager::Sessions->new(
my $skin = $cgi->{managerSkin} or $cgi->abort('managerSkin is not defined');
my $css = 'tree.css';
my $css_theme = 'ui-lightness';
my $skin_dir = 'skins';
my $main_dir = $ENV{DOCUMENT_ROOT};
@ -41,8 +42,8 @@ my $template = HTML::Template->new(
$template->param( SCRIPT_NAME => $ENV{SCRIPT_NAME} );
$template->param( TREE => $cgi->tree() );
$template->param( DIR => "$skin_dir/$skin" );
$template->param( TREE_AUTOCLOSE => $cgi->{managerTreeAutoClose} );
$template->param( CSS => $css );
$template->param( CSS_THEME => $css_theme );
print $cgi->header('text/html; charset=utf-8');
print $template->output;

View File

@ -23,8 +23,8 @@
var css_menu='<TMPL_VAR NAME="CSS">';
var css_theme='<TMPL_VAR NAME="CSS_THEME">';
var themepath='<TMPL_VAR NAME="DIR">/';
var treeautoclose='<TMPL_VAR NAME="TREE_AUTOCLOSE">';
var treejquerycss='false';
var treejquerycss='false';
var treeautoclose='false';
//]]></script>
<script src="<TMPL_VAR NAME="DIR">/js/manager.js" type="text/JavaScript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />