From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 37/54] samba: Remove more legends Date: Tue, 13 Oct 2020 16:07:55 +0000 Message-ID: <20201013160812.27754-37-michael.tremer@ipfire.org> In-Reply-To: <20201013160812.27754-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3330862162291186176==" List-Id: --===============3330862162291186176== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable These are not helpful and any documentation should be living in the wiki Signed-off-by: Michael Tremer --- html/cgi-bin/samba.cgi | 51 +++--------------------------------------- 1 file changed, 3 insertions(+), 48 deletions(-) diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi index 3f0bcf39f..59e397747 100644 --- a/html/cgi-bin/samba.cgi +++ b/html/cgi-bin/samba.cgi @@ -480,37 +480,11 @@ END
-END -; - - print <
- -
- + END ; =20 - if ($sambasettings{'ACTION'} eq 'usercaption') - { - print < - - - - - - - = - <= td align=3D'left'>$Lang::tr{'deactivate user'} - - -
$Lang::tr{'caption'}
$Lang::tr{'add user'}
<= /td>$Lang::tr{'pc add'}
$Lang::tr{'delete user'}
$Lang::tr{'delete pc'}
$Lang::tr{'activate user'}
$Lang::tr{'change passwords'}
$Lang::tr{'save config'}
-END -; - } - if ($sambasettings{'ACTION'} eq 'userchangepw') { my $username =3D "$sambasettings{'NAME'}"; @@ -683,31 +657,12 @@ print < -
- - -
END ; =20 -if ($sambasettings{'ACTION'} eq 'sharecaption') - { - print < - - - - = - - -
$Lang::tr{'caption'}
<= /td>$Lang::tr{'add share'}
$Lang::tr{'edit share'}
$Lang::tr{'save config'}
$Lang::tr{'delete share'}
-END -; - } - -if ($sambasettings{'ACTION'} eq 'shareadd' || $sambasettings{'ACTION'} eq 'o= ptioncaption' ) +if ($sambasettings{'ACTION'} eq 'shareadd') { print < @@ -725,7 +680,7 @@ END ; } =20 -if ($sambasettings{'ACTION'} eq 'sharechange' || $sambasettings{'ACTION'} eq= 'optioncaption2' ) +if ($sambasettings{'ACTION'} eq 'sharechange') { my $shareoption =3D $shares{$sambasettings{'NAME'}}; print <