Commit fb7d6f14 authored by Clément OUDOT's avatar Clément OUDOT

Fix default jquery-ui theme for sessions explorer

parent 0e1eb2ac
......@@ -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;
......@@ -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" />
......
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