firewall: Update the re-read button.

Change to a more meaningful description and remove the
big green box.
This commit is contained in:
Michael Tremer
2013-10-22 16:44:43 +02:00
parent d8d7dd3bd8
commit 85d6e8a910
3 changed files with 27 additions and 9 deletions

View File

@@ -457,14 +457,32 @@ if ($fwdfwsettings{'ACTION'} eq '' or $fwdfwsettings{'ACTION'} eq 'reset')
sub addrule
{
&error;
if (-f "${General::swroot}/forward/reread"){
print "<table border='1' rules='groups' bgcolor='lightgreen' width='100%'><form method='post'><td><div style='font-size:11pt; font-weight: bold;vertical-align: middle; '><input type='submit' name='ACTION' value='$Lang::tr{'fwdfw reread'}' style='font-face: Comic Sans MS; color: green; font-weight: bold; font-size: 14pt;'>&nbsp &nbsp $Lang::tr{'fwhost reread'}</div></td></tr></table></form><br>";
}
&Header::openbox('100%', 'left', $Lang::tr{'fwdfw menu'});
print "<form method='post'>";
print "<table border='0'>";
print "<tr><td><input type='submit' name='ACTION' value='$Lang::tr{'fwdfw newrule'}'></td>";
print"</tr></table></form><hr>";
print <<END;
<form method="POST" action="">
<table border='0' width="100%">
<tr>
<td>
<input type='submit' name='ACTION' value='$Lang::tr{'fwdfw newrule'}'>
</td>
<td align="right">
END
if (-f "${General::swroot}/forward/reread") {
print <<END;
<input type='submit' name='ACTION' value='$Lang::tr{'fwdfw reread'}' style='font-weight: bold; color: green;'>
END
}
print <<END;
</td>
</tr>
</table>
</form>
<hr>
END
&Header::closebox();
&viewtablerule;
}

View File

@@ -963,7 +963,7 @@
'fwdfw pol text1' => 'Firewall-Standardverhalten für von der Firewall selbst initiierte Verbindungen.',
'fwdfw pol title' => 'Standardverhalten der Firewall',
'fwdfw red' => 'ROT',
'fwdfw reread' => 'Übernehmen',
'fwdfw reread' => 'Änderungen übernehmen',
'fwdfw rule action' => 'Regelaktion:',
'fwdfw rule activate' => 'Regel aktivieren',
'fwdfw rulepos' => 'Regelposition',

View File

@@ -988,7 +988,7 @@
'fwdfw pol text1' => 'Sets the default firewall behaviour for connections initiated by the firewall itself. Attention! You may lock yourself out.',
'fwdfw pol title' => 'Default firewall behaviour',
'fwdfw red' => 'RED',
'fwdfw reread' => 'Apply',
'fwdfw reread' => 'Apply changes',
'fwdfw rule action' => 'Rule action:',
'fwdfw rule activate' => 'Activate rule',
'fwdfw rulepos' => 'Rule position',