public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stephan Feddersen <sfeddersen@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] WIO: minor changes
Date: Tue, 18 Jul 2017 21:26:34 +0200	[thread overview]
Message-ID: <1500405994-2270-1-git-send-email-sfeddersen@ipfire.org> (raw)

[-- 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


                 reply	other threads:[~2017-07-18 19:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1500405994-2270-1-git-send-email-sfeddersen@ipfire.org \
    --to=sfeddersen@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox