Sessions explorer: set default skin, and do not converted already converted &

environments/ppa-mbqj77/deployments/1
Clément Oudot 15 years ago
parent c37033b81a
commit b182e74247
  1. 5
      modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Sessions.pm

@ -56,6 +56,9 @@ sub new {
foreach ( keys %$localconf );
}
# Load default skin if no other specified
$self->{managerSkin} ||= 'default';
# Now try to load Apache::Session module
eval "use $globalStorage";
$class->abort( "Unable to load $globalStorage", $@ ) if ($@);
@ -586,9 +589,9 @@ sub _ipclasses {
# @return HTML string
sub htmlquote {
my $s = shift;
$s =~ s/&/&/g;
$s =~ s/</&lt;/g;
$s =~ s/>/&gt;/g;
$s =~ s/&/&amp;/g;
return $s;
}

Loading…
Cancel
Save