Revision 0fb885bc
Added by Carlos Eduardo Ramos almost 15 years ago
usr/local/www/firewall_rules_edit.php | ||
---|---|---|
832 | 832 |
</tr> |
833 | 833 |
</table> |
834 | 834 |
<br /> |
835 |
<span class="vexpl"><?=gettext("Specify the source port or port range for this rule."); ?> <b><?=gettext("This is usually"); ?> <em><?=gettext("random"); ?></em> <?=gettext("and almost never equal to the destination port range (and should usually be"); ?> "<?=gettext("any"); ?>").</b>")."<br />".<?=gettext("Hint: you can leave the"); ?> <em><?=gettext("'to'"); ?></em> <?=gettext("field empty if you only want to filter a single port.");?></span><br/>
|
|
835 |
<span class="vexpl"><?=gettext("Specify the source port or port range for this rule."); ?> <b><?=gettext("This is usually"); ?> <em><?=gettext("random"); ?></em> <?=gettext("and almost never equal to the destination port range (and should usually be"); ?> "<?=gettext("any"); ?>").</b>")."<br />".<?=gettext("Hint: you can leave the"); ?> <em><?=gettext("\"to\""); ?></em> <?=gettext("field empty if you only want to filter a single port.");?></span><br/>
|
|
836 | 836 |
</td> |
837 | 837 |
</tr> |
838 | 838 |
<tr> |
... | ... | |
936 | 936 |
<input name="log" type="checkbox" id="log" value="yes" <?php if ($pconfig['log']) echo "checked"; ?>> |
937 | 937 |
<strong><?=gettext("Log packets that are handled by this rule");?></strong> |
938 | 938 |
<br /> |
939 |
<span class="vexpl"><?=gettext("Hint: the firewall has limited local log space. Don't turn on logging for everything. If you want to do a lot of logging, consider using a remote syslog server (see the"); ?> <a href="diag_logs_settings.php"><?=gettext("Diagnostics: System logs: Settings"); ?></a> <?=gettext("page).");?></span>
|
|
939 |
<span class="vexpl"><?=gettext("Hint: the firewall has limited local log space. Don't turn on logging for everything. If you want to do a lot of logging, consider using a remote syslog server"); ?> (<?=gettext("see the"); ?> <a href="diag_logs_settings.php"><?=gettext("Diagnostics: System logs: Settings"); ?></a> <?=gettext("page"); ?>).</span>
|
|
940 | 940 |
</td> |
941 | 941 |
</tr> |
942 | 942 |
<tr> |
... | ... | |
1002 | 1002 |
<td width="22%" valign="top" class="vncell"><?=gettext("Diffserv Code Point");?></td> |
1003 | 1003 |
<td width="78%" class="vtable"> |
1004 | 1004 |
<div id="dsadv" name="dsadv" <? if ($pconfig['dscp']) echo "style='display:none'"; ?>> |
1005 |
<input type="button" onClick="show_dsdiv();" value="Advanced"> - <?=gettext("Show advanced option");?>
|
|
1005 |
<input type="button" onClick="show_dsdiv();" value="<?=gettext("Advanced"); ?>"> - <?=gettext("Show advanced option");?>
|
|
1006 | 1006 |
</div> |
1007 | 1007 |
<div id="dsdivmain" name="dsdivmain" <? if (empty($pconfig['dscp'])) echo "style='display:none'"; ?>> |
1008 | 1008 |
<select name="dscp" id="dscp"> |
... | ... | |
1018 | 1018 |
<td width="22%" valign="top" class="vncell"><?=gettext("Advanced Options");?></td> |
1019 | 1019 |
<td width="78%" class="vtable"> |
1020 | 1020 |
<div id="aoadv" name="aoadv"> |
1021 |
<input type="button" onClick="show_aodiv();" value="Advanced"> - <?=gettext("Show advanced option");?>
|
|
1021 |
<input type="button" onClick="show_aodiv();" value="<?=gettext("Advanced"); ?>"> - <?=gettext("Show advanced option");?>
|
|
1022 | 1022 |
</div> |
1023 | 1023 |
<div id="aodivmain" name="aodivmain" style="display:none"> |
1024 | 1024 |
<input type="checkbox" id="allowopts" value="yes" name="allowopts"<?php if($pconfig['allowopts'] == true) echo " checked"; ?>> |
... | ... | |
1060 | 1060 |
<td width="22%" valign="top" class="vncell"><?=gettext("TCP flags");?></td> |
1061 | 1061 |
<td width="78%" class="vtable"> |
1062 | 1062 |
<div id="showtcpflagsbox" <? if ($pconfig['tcpflags_any'] || $pconfig['tcpflags1'] || $pconfig['tcpflags2']) echo "style='display:none'"; ?>> |
1063 |
<input type="button" onClick="show_advanced_tcpflags()" value="Advanced"></input> - <?=gettext("Show advanced option");?></a>
|
|
1063 |
<input type="button" onClick="show_advanced_tcpflags()" value="<?=gettext("Advanced"); ?>"></input> - <?=gettext("Show advanced option");?></a>
|
|
1064 | 1064 |
</div> |
1065 | 1065 |
<div id="showtcpflagsadv" <? if (empty($pconfig['tcpflags_any']) && empty($pconfig['tcpflags1']) && empty($pconfig['tcpflags2'])) echo "style='display:none'"; ?>> |
1066 | 1066 |
<div id="tcpheader" name="tcpheader"> |
... | ... | |
1102 | 1102 |
<td width="22%" valign="top" class="vncell"><?=gettext("State Type");?></td> |
1103 | 1103 |
<td width="78%" class="vtable"> |
1104 | 1104 |
<div id="showadvstatebox" <? if (!empty($pconfig['statetype']) && $pconfig['statetype'] != "keep state") echo "style='display:none'"; ?>> |
1105 |
<input type="button" onClick="show_advanced_state()" value="Advanced"></input> - <?=gettext("Show advanced option");?></a>
|
|
1105 |
<input type="button" onClick="show_advanced_state()" value="<?=gettext("Advanced"); ?>"></input> - <?=gettext("Show advanced option");?></a>
|
|
1106 | 1106 |
</div> |
1107 | 1107 |
<div id="showstateadv" <? if (empty($pconfig['statetype']) || $pconfig['statetype'] == "keep state") echo "style='display:none'"; ?>> |
1108 | 1108 |
<select name="statetype"> |
... | ... | |
1126 | 1126 |
<td width="22%" valign="top" class="vncell"><?=gettext("No XMLRPC Sync");?></td> |
1127 | 1127 |
<td width="78%" class="vtable"> |
1128 | 1128 |
<div id="showadvnoxmlrpcsyncbox" <? if ($pconfig['nosync']) echo "style='display:none'"; ?>> |
1129 |
<input type="button" onClick="show_advanced_noxmlrpc()" value="Advanced"></input> - <?=gettext("Show advanced option");?></a>
|
|
1129 |
<input type="button" onClick="show_advanced_noxmlrpc()" value="<?=gettext("Advanced"); ?>"></input> - <?=gettext("Show advanced option");?></a>
|
|
1130 | 1130 |
</div> |
1131 | 1131 |
<div id="shownoxmlrpcadv" <? if (empty($pconfig['nosync'])) echo "style='display:none'"; ?>> |
1132 | 1132 |
<input type="checkbox" name="nosync"<?php if($pconfig['nosync']) echo " CHECKED"; ?>><br> |
... | ... | |
1149 | 1149 |
<td width="22%" valign="top" class="vncell"><?=gettext("Schedule");?></td> |
1150 | 1150 |
<td width="78%" class="vtable"> |
1151 | 1151 |
<div id="showadvschedulebox" <? if (!empty($pconfig['sched'])) echo "style='display:none'"; ?>> |
1152 |
<input type="button" onClick="show_advanced_schedule()" value="Advanced"></input> - <?=gettext("Show advanced option");?></a>
|
|
1152 |
<input type="button" onClick="show_advanced_schedule()" value="<?=gettext("Advanced"); ?>"></input> - <?=gettext("Show advanced option");?></a>
|
|
1153 | 1153 |
</div> |
1154 | 1154 |
<div id="showscheduleadv" <? if (empty($pconfig['sched'])) echo "style='display:none'"; ?>> |
1155 | 1155 |
<select name='sched'> |
... | ... | |
1176 | 1176 |
<td width="22%" valign="top" class="vncell"><?=gettext("Gateway");?></td> |
1177 | 1177 |
<td width="78%" class="vtable"> |
1178 | 1178 |
<div id="showadvgatewaybox" <? if (!empty($pconfig['gateway'])) echo "style='display:none'"; ?>> |
1179 |
<input type="button" onClick="show_advanced_gateway()" value="Advanced"></input> - <?=gettext("Show advanced option");?></a>
|
|
1179 |
<input type="button" onClick="show_advanced_gateway()" value="<?=gettext("Advanced"); ?>"></input> - <?=gettext("Show advanced option");?></a>
|
|
1180 | 1180 |
</div> |
1181 | 1181 |
<div id="showgatewayadv" <? if (empty($pconfig['gateway'])) echo "style='display:none'"; ?>> |
1182 | 1182 |
<select name='gateway'> |
... | ... | |
1217 | 1217 |
<td width="22%" valign="top" class="vncell"><?=gettext("In/Out");?></td> |
1218 | 1218 |
<td width="78%" class="vtable"> |
1219 | 1219 |
<div id="showadvinoutbox" <? if (!empty($pconfig['dnpipe'])) echo "style='display:none'"; ?>> |
1220 |
<input type="button" onClick="show_advanced_inout()" value="Advanced"></input> - <?=gettext("Show advanced option");?></a>
|
|
1220 |
<input type="button" onClick="show_advanced_inout()" value="<?=gettext("Advanced"); ?>"></input> - <?=gettext("Show advanced option");?></a>
|
|
1221 | 1221 |
</div> |
1222 | 1222 |
<div id="showinoutadv" <? if (empty($pconfig['dnpipe'])) echo "style='display:none'"; ?>> |
1223 | 1223 |
<select name="dnpipe"> |
... | ... | |
1267 | 1267 |
<td width="22%" valign="top" class="vncell"><?=gettext("Ackqueue/Queue");?></td> |
1268 | 1268 |
<td width="78%" class="vtable"> |
1269 | 1269 |
<div id="showadvackqueuebox" <? if (!empty($pconfig['defaultqueue'])) echo "style='display:none'"; ?>> |
1270 |
<input type="button" onClick="show_advanced_ackqueue()" value="Advanced"></input> - <?=gettext("Show advanced option");?></a>
|
|
1270 |
<input type="button" onClick="show_advanced_ackqueue()" value="<?=gettext("Advanced"); ?>"></input> - <?=gettext("Show advanced option");?></a>
|
|
1271 | 1271 |
</div> |
1272 | 1272 |
<div id="showackqueueadv" <? if (empty($pconfig['defaultqueue'])) echo "style='display:none'"; ?>> |
1273 | 1273 |
<select name="ackqueue"> |
... | ... | |
1315 | 1315 |
<td width="22%" valign="top" class="vncell"><?=gettext("Layer7");?></td> |
1316 | 1316 |
<td width="78%" class="vtable"> |
1317 | 1317 |
<div id="showadvlayer7box" <? if (!empty($pconfig['l7container'])) echo "style='display:none'"; ?>> |
1318 |
<input type="button" onClick="show_advanced_layer7()" value="Advanced"></input> - <?=gettext("Show advanced option");?></a>
|
|
1318 |
<input type="button" onClick="show_advanced_layer7()" value="<?=gettext("Advanced"); ?>"></input> - <?=gettext("Show advanced option");?></a>
|
|
1319 | 1319 |
</div> |
1320 | 1320 |
<div id="showlayer7adv" <? if (empty($pconfig['l7container'])) echo "style='display:none'"; ?>> |
1321 | 1321 |
<select name="l7container"> |
Also available in: Unified diff
Checked gettext() implementation on firewall_rules_edit.php