LemonLDAP::NG Web SSO
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
lemonldap-ng/contribs/lemongui4webmin/FF.pl

41 lines
738 B

#!/usr/bin/perl -w
#use strict;
###################################################################
#
sub getStyle {
my $style = $_[0];
if ($style =~ /map/i) {
$_[1] = 0;
return "conf_style";
}
if ($style =~ /lectro/i) {
$_[1] = 1;
return "simpage";
}
if ($style =~ /golf/i) {
$_[1] = 2;
return "golf_style";
}
}
###################################################################
#
sub main {
my $icheck = -1;
$ch = getStyle("electro", $icheck);
print( "Resultat:\n" );
print( "-- style = $ch\n" );
print( "-- check = $icheck\n" );
}
###################################################################
#
main;
#
###################################################################