$savemsg=sprintf(gettext("The settings have been applied. The firewall rules are now reloading in the background.<br />You can also %s monitor %s the reload progress"),"<a href='status_filter_reload.php'>","</a>");
<?phpprint_info_box_apply(gettext("The firewall rule configuration has been changed.<br />You must apply the changes in order for them to take effect."));?>
print_info_box_apply_undo(gettext("The firewall rule configuration has been changed.<br />You must apply the changes in order for them to take effect."),"firewall_rules.php?if={$_REQUEST['if']}&dragdroporder=true&{$dragtable}");
}else{
print_info_box_apply(gettext("The firewall rule configuration has been changed.<br />You must apply the changes in order for them to take effect."));
<buttonname="del"type="submit"title="<?=gettext("delete selected rules");?>"onclick="return confirm('<?=gettext('Do you really want to delete the selected rules?');?>')"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-remove"></span></button>
<?phpendif;?>
<ahref="firewall_rules_edit.php?if=<?=htmlspecialchars($if);?>&after=-1"title="<?=gettext("add new rule");?>"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-plus"></span></a>
<spantitle="<?=gettext("move selected rules before this rule");?>"alt="move"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-arrow-left"></span></span>
<spantitle="<?=gettext("add a new rule based on this one");?>"width="17"height="17"border="0"alt="add"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-plus"></span></span>
<spantitle="<?=gettext("move selected rules before this rule");?>"alt="move"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-arrow-left"></span></span>
<spantitle="<?=gettext("add a new rule based on this one");?>"width="17"height="17"border="0"alt="add"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-plus"></span></span>
<spantitle="<?=gettext("move selected rules before this rule");?>"alt="move"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-arrow-left"></span></span>
<spantitle="<?=gettext("add a new rule based on this one");?>"width="17"height="17"border="0"alt="add"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-plus"></span></span>
<ahref="#"class="act_toggle"id="toggle_<?=$i;?>"data-toggle="tooltip"data-placement="left"title="<?=gettext("click to toggle enabled/disabled status");?>">
<buttonname="move_<?=$i;?>_x"type="submit"title="<?=gettext("move selected rules before this rule");?>"class="btn btn-default btn-xs"value="<?=$i;?>"><spanclass="glyphicon glyphicon-arrow-left"></span></button>
<ahref="firewall_rules.php?act=del&if=<?=htmlspecialchars($if);?>&id=<?=$i;?>"title="<?=gettext("delete rule");?>"onclick="return confirm('Do you really want to delete this rule?')"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-remove"></span></a>
<ahref="firewall_rules_edit.php?dup=<?=$i;?>"title="<?=gettext("add a new rule based on this one");?>"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-plus"></span></a>
<td>
<aid="move_<?=$i;?>"name="move_<?=$i;?>_x"data-toggle="tooltip"data-placement="left"title="<?=gettext("move selected rules before this rule");?>"class="act_move btn btn-default btn-xs">
<ahref="firewall_rules_edit.php?id=<?=$i;?>"data-toggle="tooltip"data-placement="left"title="<?=gettext("edit this rule");?>"class="btn btn-default btn-xs">
<spanclass="glyphicon glyphicon-pencil"></span>
</a>
<aid="del_<?=$i;?>"title="<?=gettext("delete this rule");?>"data-toggle="tooltip"class="act_delete btn btn-default btn-xs">
<spanclass="glyphicon glyphicon-remove"></span>
</a>
<ahref="firewall_rules_edit.php?dup=<?=$i;?>"class="btn btn-default btn-xs"data-toggle="tooltip"data-placement="left"title="<?=gettext("add new rule based on this one");?>">
<?=gettext("No floating rules are currently defined.");?><br/><br/>
<?phpelse:?>
<?=gettext("No rules are currently defined for this interface");?><br/>
<?=gettext("All incoming connections on this interface will be blocked until you add pass rules.");?><br/><br/>
<?phpendif;?>
<?=gettext("Click the");?><ahref="firewall_rules_edit.php?if=<?=htmlspecialchars($if);?>"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-plus"></span></a><?=gettext(" button to add a new rule.");?></span>
<?=gettext(" button to add a new rule.");?></span>
</td>
</tr>
<?phpendif;?>
<trid="fr<?=$nrules;?>">
<tdclass="list"></td>
<tdclass="list"></td>
<tdclass="list"> </td>
<tdclass="list"> </td>
<tdclass="list"> </td>
<tdclass="list"> </td>
<tdclass="list"> </td>
<tdclass="list"> </td>
<tdclass="list"> </td>
<tdclass="list"> </td>
<tdclass="list"> </td>
<tdclass="list">
<?phpif($nrules):?>
<buttonname="move_<?=$i;?>_x"type="submit"value="<?=$i;?>"title="<?=gettext("move selected rules to end");?>"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-arrow-left"></span></button>
<buttonname="del_x"type="submit"title="<?=gettext("delete selected rules");?>"onclick="return confirm('<?=gettext('Do you really want to delete the selected rules?');?>')"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-remove"></span></button>
<ahref="firewall_rules_edit.php?if=<?=htmlspecialchars($if);?>"title="<?=gettext("add new rule");?>"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-plus"></span></a>
<?phpendif;?>
<?phpelse:?>
<tr>
<tdcolspan="5"></td>
<tdcolspan="5"class="hidden-xs hidden-sm"></td>
<td>
<atype="submit"id="move_<?=$i;?>"name="move_<?=$i;?>_x"data-toggle="tooltip"data-placement="left"title="<?=gettext("move selected rules to end");?>"class="act_move btn btn-default btn-xs">
<ahref="firewall_rules_edit.php?if=<?=$selected_if;?>"class="btn btn-default btn-xs"data-toggle="tooltip"data-placement="left"title="<?=gettext("add new rule");?>">