From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard Bitsch To: development@lists.ipfire.org Subject: Aw: [PATCH] Syntax fixes in several CGIs Date: Tue, 29 Dec 2020 14:50:49 +0100 Message-ID: In-Reply-To: <20201229125011.23920-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5930667461874130457==" List-Id: --===============5930667461874130457== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, to avoid possible mis-interpretation by Perl we do not need to set the hash t= ags in '. For example value=3D'$Lang::tr{'update'}' can read value=3D'$Lang::tr{update}' In most locations we use the stringifying, it is just cosmetic. Thus an overa= ll editing is not needed. Greets, Bernhard > Gesendet: Dienstag, 29. Dezember 2020 um 13:50 Uhr > Von: "Matthias Fischer" > An: development(a)lists.ipfire.org > Betreff: [PATCH] Syntax fixes in several CGIs > > Signed-off-by: Matthias Fischer > --- > html/cgi-bin/asterisk/calls.cgi | 2 +- > html/cgi-bin/asterisk/conf.cgi | 2 +- > html/cgi-bin/extrahd.cgi | 4 ++-- > html/cgi-bin/gpl.cgi | 2 +- > html/cgi-bin/hardwaregraphs.cgi | 2 +- > html/cgi-bin/optionsfw.cgi | 4 ++-- > html/cgi-bin/upnp.cgi | 2 +- > 7 files changed, 9 insertions(+), 9 deletions(-) > > diff --git a/html/cgi-bin/asterisk/calls.cgi b/html/cgi-bin/asterisk/calls.= cgi > index c5877b2ea..a7635f2ec 100644 > --- a/html/cgi-bin/asterisk/calls.cgi > +++ b/html/cgi-bin/asterisk/calls.cgi > @@ -73,7 +73,7 @@ print < > Von oder zum Anrufer mit der ID/Nummer: > > - > + > > END > ; > diff --git a/html/cgi-bin/asterisk/conf.cgi b/html/cgi-bin/asterisk/conf.cgi > index 2dd8cf0a8..ab5011f21 100644 > --- a/html/cgi-bin/asterisk/conf.cgi > +++ b/html/cgi-bin/asterisk/conf.cgi > @@ -77,7 +77,7 @@ print < > >

> -

> +

> > > END > diff --git a/html/cgi-bin/extrahd.cgi b/html/cgi-bin/extrahd.cgi > index da1efb2dd..aaf42baff 100644 > --- a/html/cgi-bin/extrahd.cgi > +++ b/html/cgi-bin/extrahd.cgi > @@ -156,7 +156,7 @@ END > > > > - > + > > > END > @@ -228,7 +228,7 @@ END > > > > - > + > > > END > diff --git a/html/cgi-bin/gpl.cgi b/html/cgi-bin/gpl.cgi > index 94187ce7a..be1ea2639 100644 > --- a/html/cgi-bin/gpl.cgi > +++ b/html/cgi-bin/gpl.cgi > @@ -71,7 +71,7 @@ print <

> $Lang::tr{= 'gpl i accept these terms and conditions'}. >
> - > + >
>

> $Lang::tr{'gpl unofficial translation of the general public license v3'} > diff --git a/html/cgi-bin/hardwaregraphs.cgi b/html/cgi-bin/hardwaregraphs.= cgi > index e582acfb9..5c677d815 100644 > --- a/html/cgi-bin/hardwaregraphs.cgi > +++ b/html/cgi-bin/hardwaregraphs.cgi > @@ -167,7 +167,7 @@ END > > print < > - > + > > > > diff --git a/html/cgi-bin/optionsfw.cgi b/html/cgi-bin/optionsfw.cgi > index 47aba59cb..8c996802c 100644 > --- a/html/cgi-bin/optionsfw.cgi > +++ b/html/cgi-bin/optionsfw.cgi > @@ -323,7 +323,7 @@ END >
> > >
> - > + >
> > @@ -345,7 +345,7 @@ print < > - > + = > END > print ""; > print"

"; > diff --git a/html/cgi-bin/upnp.cgi b/html/cgi-bin/upnp.cgi > index 07dfa2677..5d99d0ed7 100644 > --- a/html/cgi-bin/upnp.cgi > +++ b/html/cgi-bin/upnp.cgi > @@ -163,7 +163,7 @@ print < Downstream in KB: > Upstream in KB: >
> - > + > > > END > -- > 2.18.0 > > --===============5930667461874130457==--