public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] Syntax fixes in several CGIs
@ 2020-12-29 12:50 Matthias Fischer
  2020-12-29 13:50 ` Aw: " Bernhard Bitsch
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Fischer @ 2020-12-29 12:50 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 5722 bytes --]

Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
---
 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 <<END
 
 <tr><td colspan=2>Von oder zum Anrufer mit der ID/Nummer:<td colspan=2><input type=text name=number size=20 maxlength=100 value="$cgiparams{'number'}">
 
-<tr><td align=center colspan=4><input type=submit name='ACTION' value=$Lang::tr{'update'}>
+<tr><td align=center colspan=4><input type=submit name='ACTION' value='$Lang::tr{'update'}'>
 </table>
 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
 
 	<tr><td align=center>
 	<p><input type=text name=save_path value=$conf_file size=25>
-	<p><input type=submit name=ACTION value=$Lang::tr{'save'}>
+	<p><input type=submit name=ACTION value='$Lang::tr{'save'}'>
 	</table>
 
 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
 						<input type='hidden' name='DEVICE' value='$deviceline[0]' />
 						<input type='hidden' name='FS' value='$deviceline[1]' />
 						<input type='hidden' name='PATH' value='$deviceline[2]' />
-						<input type='hidden' name='ACTION' value=$Lang::tr{'delete'} />
+						<input type='hidden' name='ACTION' value='$Lang::tr{'delete'}' />
 						<input type='image' alt='$Lang::tr{'delete'}' title='$Lang::tr{'delete'}' src='/images/delete.gif' />
 					</form></td></tr>
 END
@@ -228,7 +228,7 @@ END
 				<td align="center">
 					<input type='hidden' name='DEVICE' value='$partitionline[0]' />
 					<input type='hidden' name='UUID' value='$partitionline[2]' />
-					<input type='hidden' name='ACTION' value=$Lang::tr{'add'} />
+					<input type='hidden' name='ACTION' value='$Lang::tr{'add'}' />
 					<input type='image' alt='$Lang::tr{'add'}' title='$Lang::tr{'add'}' src='/images/add.gif' />
 				</form></td></tr>
 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 <<END;
 		<form method='post' action='$ENV{'SCRIPT_NAME'}'>
 			<input type='checkbox' name='gpl_accepted' value='1'/> $Lang::tr{'gpl i accept these terms and conditions'}.
 			<br/ >
-			<input type='submit' name='ACTION' value=$Lang::tr{'yes'} />
+			<input type='submit' name='ACTION' value='$Lang::tr{'yes'}' />
 		</form>
 	</p>
 	<a href='http://www.gnu.org/licenses/translations.html' target='_blank'>$Lang::tr{'gpl unofficial translation of the general public license v3'}</a>
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 <<END
 <tr>
-	<td align='center' colspan='2' ><input type='submit' name='ACTION' value=$Lang::tr{'save'} /></td>
+	<td align='center' colspan='2' ><input type='submit' name='ACTION' value='$Lang::tr{'save'}' /></td>
 </tr>
 </table>
 </form>
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
 <br />
 <table width='100%' cellspacing='0'>
 <tr><td align='right'><form method='post' action='$ENV{'SCRIPT_NAME'}'>
-<input type='submit' name='ACTION' value=$Lang::tr{'save'} />
+<input type='submit' name='ACTION' value='$Lang::tr{'save'}' />
 </form></td></tr>
 </table>
 </form>
@@ -345,7 +345,7 @@ print <<END;
 		<tr><td width='15%' align='left'>	<select name='POLICY' style="width: 100px">
 		<option value='MODE1' $selected{'POLICY'}{'MODE1'}>$Lang::tr{'fwdfw pol block'}</option>
 		<option value='MODE2' $selected{'POLICY'}{'MODE2'}>$Lang::tr{'fwdfw pol allow'}</option></select>
-	    <input type='submit' name='ACTION' value=$Lang::tr{'save'} /><input type='hidden' name='defpol' value='1'></td>
+	    <input type='submit' name='ACTION' value='$Lang::tr{'save'}' /><input type='hidden' name='defpol' value='1'></td>
 END
 	print "</tr></table></form>";
 	print"<br><br>";
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 <<END
 <tr><td align='left'>Downstream in KB:</td><td><input type='text' name='DOWNSTREAM' value='$upnpsettings{'DOWNSTREAM'}' size="30" /></td></tr>
 <tr><td align='left'>Upstream in KB:</td><td><input type='text' name='UPSTREAM' value='$upnpsettings{'UPSTREAM'}' size="30" /></td></tr>
 <tr><td align='left' colspan='2'><br /></td></tr>
-<tr><td colspan='2' align='center'>	<input type='hidden' name='ACTION' value=$Lang::tr{'save'} />
+<tr><td colspan='2' align='center'>	<input type='hidden' name='ACTION' value='$Lang::tr{'save'}' />
 <input type='image' alt='$Lang::tr{'save'}' title='$Lang::tr{'save'}' src='/images/floppy.gif' /></td></tr>
 </table></form>
 END
-- 
2.18.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-12-30 10:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-29 12:50 [PATCH] Syntax fixes in several CGIs Matthias Fischer
2020-12-29 13:50 ` Aw: " Bernhard Bitsch
2020-12-29 16:51   ` Matthias Fischer
2020-12-29 19:52     ` Aw: " Bernhard Bitsch
2020-12-30  7:31       ` Matthias Fischer
2020-12-30 10:44     ` Leo Hofmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox