X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Fsamba.cgi;h=bfa0b89edb272fc013fb65a87543f4653af626a3;hp=74f10bd3437d515b71f1aee198d0b408fddb39a2;hb=1f99fc9845457b2d58d584adb47866a1eec8a7dc;hpb=94ce2cc1b982640f43077584d3911151911e0226 diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi index 74f10bd34..bfa0b89ed 100644 --- a/html/cgi-bin/samba.cgi +++ b/html/cgi-bin/samba.cgi @@ -816,10 +816,10 @@ END
- + +
$Lang::tr{'change passwords'}
$Lang::tr{'username'}
$Lang::tr{'username'}
$Lang::tr{'password'}
-
END @@ -844,7 +844,7 @@ END $Lang::tr{'unix group'} $Lang::tr{'unix shell'} - + END @@ -865,7 +865,7 @@ END $Lang::tr{'unix group'} $Lang::tr{'unix shell'} - + END @@ -886,27 +886,33 @@ my %shares = config("${General::swroot}/samba/shares"); print <
- - +
$Lang::tr{'manage shares'} -
$Lang::tr{'sharename'}$Lang::tr{'options'}
+ + END ; my @Shares = keys(%shares); my $lines = 0; - +my $col=""; foreach my $shareentry (sort @Shares) { chomp $shareentry; - if ($lines % 2) {print "";} else {print "";} + if ($lines % 2) { + print ""; + $col="bgcolor='$color{'color20'}'"; + } else { + print ""; + $col="bgcolor='$color{'color22'}'"; + } print <$shareentry - + -
$Lang::tr{'manage shares'}
$Lang::tr{'sharename'}$Lang::tr{'options'}
+
$shareentry
+