mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-19 07:23:03 +02:00
firewall: Update the re-read button.
Change to a more meaningful description and remove the big green box.
This commit is contained in:
@@ -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;'>    $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;
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user