From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer <michael.tremer@ipfire.org> To: development@lists.ipfire.org Subject: Re: [PATCH] optionsfw.cgi: Cosmetic fix - centered 'Save...' buttons Date: Mon, 28 Dec 2020 14:21:33 +0100 Message-ID: <79C18509-5DB1-4139-A7E4-0484969D1339@ipfire.org> In-Reply-To: <20201227151636.6210-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6607284655705731045==" List-Id: <development.lists.ipfire.org> --===============6607284655705731045== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, > On 27 Dec 2020, at 16:16, Matthias Fischer <matthias.fischer(a)ipfire.org> = wrote: >=20 > Center 'Save' and 'Save And Restart' buttons as in most of the > other pages. Yes that is a good idea. However, you are changing the string on the button which is not part of any t= ranslation. -Michael >=20 > Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org> > --- > html/cgi-bin/optionsfw.cgi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/html/cgi-bin/optionsfw.cgi b/html/cgi-bin/optionsfw.cgi > index 8771a85ba..78e7710f5 100644 > --- a/html/cgi-bin/optionsfw.cgi > +++ b/html/cgi-bin/optionsfw.cgi > @@ -394,7 +394,7 @@ END >=20 > <br /> > <table width=3D'100%' cellspacing=3D'0'> > -<tr><td align=3D'right'><form method=3D'post' action=3D'$ENV{'SCRIPT_NAME'= }'> > +<tr><td align=3D'center'><form method=3D'post' action=3D'$ENV{'SCRIPT_NAME= '}'> > <input type=3D'submit' name=3D'ACTION' value=3D'$Lang::tr{'save'}' /> > <input type=3D'submit' name=3D'ACTION' value=3D'$Lang::tr{'fw settings save= and restart'}' /> > </form></td></tr> > --=20 > 2.18.0 >=20 --===============6607284655705731045==--