]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
WIO: minor changes
authorStephan Feddersen <sfeddersen@ipfire.org>
Tue, 18 Jul 2017 19:26:34 +0000 (21:26 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Aug 2017 10:45:54 +0000 (11:45 +0100)
correct typo in wio.en.pl language file
add button in wio.cgi to change to systems logs (section wio)

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/wio/lang/wio.en.pl
src/wio/wio.cgi

index 154e64fabce658c82d2edef803578e55394f084f..17312a7594fd943f0851f0b99cfe14c9ea9e1638 100644 (file)
 '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',
index e7bf7e2a32cd537efb5dc5f61a2a08f5209ee4d5..631e468f102c8e1bcfd5250f7e82d3287cafa274 100644 (file)
@@ -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>
 ";