From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer <michael.tremer@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH 33/54] samba: Add tbl class to all <table>s Date: Tue, 13 Oct 2020 16:07:51 +0000 Message-ID: <20201013160812.27754-33-michael.tremer@ipfire.org> In-Reply-To: <20201013160812.27754-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7162929880101448935==" List-Id: <development.lists.ipfire.org> --===============7162929880101448935== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org> --- html/cgi-bin/samba.cgi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi index 1619045cc..73f2c4d39 100644 --- a/html/cgi-bin/samba.cgi +++ b/html/cgi-bin/samba.cgi @@ -230,7 +230,7 @@ my %servicenames =3D ( ); =20 print <<END; - <table width=3D'95%' cellspacing=3D'0'> + <table class=3D"tbl" width=3D'95%' cellspacing=3D'0'> <tr bgcolor=3D'$color{'color20'}'> <td colspan=3D'2' align=3D'left'><b>$Lang::tr{'all services'}</b></td> </tr> @@ -250,7 +250,7 @@ END print <<END </table> <br /> -<table width=3D'95%' cellspacing=3D'0'> +<table class=3D"tbl" width=3D'95%' cellspacing=3D'0'> <tr><td align=3D'left' width=3D'40%' /> <td align=3D'center' ><form method=3D'post' action=3D'$ENV{'SCRIPT_NAME'}'><= input type=3D'hidden' name=3D'ACTION' value=3D'smbstart' /><input type=3D'ima= ge' alt=3D'$Lang::tr{'smbstart'}' title=3D'$Lang::tr{'smbstart'}' src=3D'/ima= ges/go-up.png' /></form></td> <td align=3D'center' ><form method=3D'post' action=3D'$ENV{'SCRIPT_NAME'}'><= input type=3D'hidden' name=3D'ACTION' value=3D'smbstop' /><input type=3D'imag= e' alt=3D'$Lang::tr{'smbstop'}' title=3D'$Lang::tr{'smbstop'}' src=3D'/images= /go-down.png' /></form></td> @@ -258,7 +258,7 @@ print <<END </table> <br /> <form method=3D'post' action=3D'$ENV{'SCRIPT_NAME'}'> -<table width=3D'95%' cellspacing=3D'0'> +<table class=3D"tbl" width=3D'95%' cellspacing=3D'0'> <tr bgcolor=3D'$color{'color20'}'><td colspan=3D'2' align=3D'left'><b>$Lang:= :tr{'basic options'}</b></td></tr> <tr><td align=3D'left' width=3D'40%'>$Lang::tr{'workgroup'}</td><td align=3D= 'left'><input type=3D'text' name=3D'WORKGRP' value=3D'$sambasettings{'WORKGRP= '}' size=3D"30" /></td></tr> <tr><td align=3D'left'><br /></td><td></td></tr> @@ -323,7 +323,7 @@ if ($sambasettings{'SECURITY'} eq 'user') print <<END <a name=3D"$Lang::tr{'accounting'}"></a> <br /> - <table width=3D'95%' cellspacing=3D'0'> + <table class=3D"tbl" width=3D'95%' cellspacing=3D'0'> <tr><td colspan=3D'6' align=3D'left'></td></tr> <tr><td bgcolor=3D'$color{'color20'}' colspan=3D'7' align=3D'left'><b>$Lang= ::tr{'accounting'}</b></td></tr> <tr><td align=3D'left'><u>$Lang::tr{'username'}</u></td><td align=3D'left'>= <u>$Lang::tr{'password'}</u></td> @@ -522,7 +522,7 @@ if ($sambasettings{'SECURITY'} eq "ADS") { <form method=3D"POST" action=3D"$ENV{'SCRIPT_NAME'}"> <input type=3D"hidden" name=3D"ACTION" value=3D"join"> =20 - <table width=3D"95%"> + <table class=3D"tbl" width=3D"95%"> <tbody> <tr> <td width=3D"40%"> @@ -573,7 +573,7 @@ my %shares =3D config("${General::swroot}/samba/shares"); print <<END <a name=3D"$Lang::tr{'manage shares'}"></a> <br /> -<table width=3D'95%' cellspacing=3D'0' class=3D'tbl'> +<table class=3D"tbl" width=3D'95%' cellspacing=3D'0' class=3D'tbl'> <tr><th bgcolor=3D'$color{'color20'}' colspan=3D'3' align=3D'left'><b>$Lang:= :tr{'manage shares'}</b></th></tr> <tr><th align=3D'left'><u>$Lang::tr{'sharename'}</u></th><th colspan=3D'2' w= idth=3D"5%" align=3D'center'><u>$Lang::tr{'options'}</u></th></tr> END @@ -707,7 +707,7 @@ if ($sambasettings{'ACTION'} eq 'smbsharechange') =20 print <<END <br /> -<table width=3D'95%' cellspacing=3D'0'> +<table class=3D"tbl" width=3D'95%' cellspacing=3D'0'> <tr><td bgcolor=3D'$color{'color20'}' colspan=3D'3' align=3D'left'><b>$Lang:= :tr{'samba status'}</b></td></tr> <tr><td align=3D'left'><small><pre>$Status</pre></small></td></tr> </table> --=20 2.20.1 --===============7162929880101448935==--