public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] WIO: minor changes
@ 2017-07-18 19:26 Stephan Feddersen
  0 siblings, 0 replies; only message in thread
From: Stephan Feddersen @ 2017-07-18 19:26 UTC (permalink / raw)
  To: development

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

correct typo in wio.en.pl language file
add button in wio.cgi to change to systems logs (section wio)
---
 src/wio/lang/wio.en.pl | 2 +-
 src/wio/wio.cgi        | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/wio/lang/wio.en.pl b/src/wio/lang/wio.en.pl
index 154e64f..17312a7 100644
--- a/src/wio/lang/wio.en.pl
+++ b/src/wio/lang/wio.en.pl
@@ -123,7 +123,7 @@
 'wio_mail_smail' => 'collected mail',
 'wio_mail_email' => 'single mails',
 'wio_mail_ovpnrw' => 'enable OpenVPN RW and IPSec Statusmails ?',
-'wio_edit_set' => 'configuration',
+'wio_edit_set' => 'Configuration',
 'wio_service' => 'Service:',
 'wio_dyndns_success' => 'DynDNS IP identified and registered!',
 'wio_remove_all' => 'remove all clients',
diff --git a/src/wio/wio.cgi b/src/wio/wio.cgi
index e7bf7e2..631e468 100644
--- a/src/wio/wio.cgi
+++ b/src/wio/wio.cgi
@@ -1955,9 +1955,9 @@ if ( $wiosettings{'ENABLE'} eq 'on' && !$errormessage && $wiosettings{'ACTION'}
 print"
 <table border='0' width='100%' bordercolor='$Header::bordercolour' cellspacing='0' cellpadding='0' style='border-collapse: collapse'>
 <tr bgcolor='$color{'color22'}'>
-	<td colspan='3' align='right'></td>
-	<td width='20%' align='right'><form method='post' action='$ENV{'SCRIPT_NAME'}' enctype='multipart/form-data'><input type='hidden' name='ACTION' value='$Lang::tr{'edit'}1' /><input type='submit' name='SUBMIT' value='$Lang::tr{'wio_edit_set'}' /></form></td>
-	<form method='post' action='$ENV{'SCRIPT_NAME'}' enctype='multipart/form-data'>\n
+	<td colspan='2' align='right'></td>
+	<td width='10%' align='right'><form method='post' action='/cgi-bin/logs.cgi/log.dat' enctype='multipart/form-data'><input type='hidden' name='SECTION' value='wio' /><input type='submit' name='SUBMIT' value='$Lang::tr{'system logs'}' /></form></td>
+	<td width='10%' align='right'><form method='post' action='$ENV{'SCRIPT_NAME'}' enctype='multipart/form-data'><input type='hidden' name='ACTION' value='$Lang::tr{'edit'}1' /><input type='submit' name='SUBMIT' value='$Lang::tr{'wio_edit_set'}' /></form></td>
 </tr>
 </table>
 ";
-- 
2.7.4


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-18 19:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-18 19:26 [PATCH] WIO: minor changes Stephan Feddersen

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