Use multiValuesSeparator in sessions explorer

environments/ppa-mbqj77/deployments/1
Clément Oudot 15 years ago
parent d9c4b44c4b
commit 656a1d7ff9
  1. 6
      modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Sessions.pm

@ -56,6 +56,9 @@ sub new {
$class->abort( "Unable to load $globalStorage", $@ ) if ($@);
$self->{managerSkin} = "default" unless defined $self->{managerSkin};
$self->{multiValuesSeparator} ||= "; ";
return $self;
}
@ -247,7 +250,8 @@ sub process {
"<input type=\"button\" onclick=\"del('$id');\" value=\"Effacer la session\" /><p><b>Session d&eacute;marr&eacute;e le</b> "
. localtime( $h{_utime} )
. '</p><p><b>Membre des groupes SSO :</b><ul>';
print "<li>$_</li>" foreach ( sort split /\s+/, $h{groups} );
print "<li>$_</li>"
foreach ( sort split $self->{multiValuesSeparator}, $h{groups} );
print '</ul></p>';
print
'<p><b>Attributs et macros :</b></p><table border="0" witdh="100%">';

Loading…
Cancel
Save