diff options
author | Scott Ullrich <sullrich@gmail.com> | 2011-07-17 16:29:36 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2011-07-17 16:29:36 -0400 |
commit | 1db196b214279af6a399f5f8ea63888c2adf7a81 (patch) | |
tree | 8114f41dd06384c2b7b219777f7eb14b7b1ad525 /usr/local/www/firewall_rules.php | |
parent | 0040bcfa59fe882a86b3c07c88685565cf2f17ec (diff) | |
download | pfsense-1db196b214279af6a399f5f8ea63888c2adf7a81.zip pfsense-1db196b214279af6a399f5f8ea63888c2adf7a81.tar.gz |
Adding hooks
Diffstat (limited to 'usr/local/www/firewall_rules.php')
-rwxr-xr-x | usr/local/www/firewall_rules.php | 40 |
1 files changed, 25 insertions, 15 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php index 1aaea16..a9da825 100755 --- a/usr/local/www/firewall_rules.php +++ b/usr/local/www/firewall_rules.php @@ -340,21 +340,27 @@ if($_REQUEST['undodrag']) { <tr> <td> <div id="mainarea"> - <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> - <tr id="frheader"> - <td width="3%" class="list"> </td> - <td width="5%" class="list"> </td> - <td width="3%" class="listhdrr"><?=gettext("ID");?></td> - <td width="6%" class="listhdrr"><?=gettext("Proto");?></td> - <td width="12%" class="listhdrr"><?=gettext("Source");?></td> - <td width="6%" class="listhdrr"><?=gettext("Port");?></td> - <td width="12%" class="listhdrr"><?=gettext("Destination");?></td> - <td width="6%" class="listhdrr"><?=gettext("Port");?></td> - <td width="5%" class="listhdrr"><?=gettext("Gateway");?></td> - <td width="8%" class="listhdrr"><?=gettext("Queue");?></td> - <td width="5%" class="listhdrr"><?=gettext("Schedule");?></td> - <td width="19%" class="listhdr"><?=gettext("Description");?></td> - <td width="10%" class="list"> + <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> + <tr id="frheader"> + <td width="3%" class="list"> </td> + <td width="5%" class="list"> </td> +<?php + pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_id_tablehead"); +?> + <td width="3%" class="listhdrr"><?=gettext("ID");?></td> + <td width="6%" class="listhdrr"><?=gettext("Proto");?></td> + <td width="12%" class="listhdrr"><?=gettext("Source");?></td> + <td width="6%" class="listhdrr"><?=gettext("Port");?></td> + <td width="12%" class="listhdrr"><?=gettext("Destination");?></td> + <td width="6%" class="listhdrr"><?=gettext("Port");?></td> + <td width="5%" class="listhdrr"><?=gettext("Gateway");?></td> + <td width="8%" class="listhdrr"><?=gettext("Queue");?></td> + <td width="5%" class="listhdrr"><?=gettext("Schedule");?></td> +<?php + pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_schedule_tablehead"); +?> + <td width="19%" class="listhdr"><?=gettext("Description");?></td> + <td width="10%" class="list"> <table border="0" cellspacing="0" cellpadding="1"> <tr> <?php @@ -681,6 +687,7 @@ if($_REQUEST['undodrag']) { $printicon = true; } } + pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_id_tr"); ?> <td class="listlr" onClick="fr_toggle(<?=$nrules;?>)" id="frd<?=$nrules;?>" ondblclick="document.location='firewall_rules_edit.php?id=<?=$i;?>';"> <?=$textss;?><?php if (isset($filterent['id'])) echo $filterent['id']; else echo ""; ?><?=$textse;?> @@ -740,6 +747,9 @@ if($_REQUEST['undodrag']) { <td class="listr" onClick="fr_toggle(<?=$nrules;?>)" id="frd<?=$nrules;?>" ondblclick="document.location='firewall_rules_edit.php?id=<?=$i;?>';"><font color="black"> <?php if ($printicon) { ?><img src="./themes/<?= $g['theme']; ?>/images/icons/<?php echo $image; ?>.gif" title="<?php echo $alttext;?>" border="0"><?php } ?> <?=$textss;?><?php echo $schedule_span_begin;?><?=htmlspecialchars($filterent['sched']);?><?php echo $schedule_span_end; ?><?=$textse;?> </td> +<?php + pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_descr_tr"); +?> <td class="listbg" onClick="fr_toggle(<?=$nrules;?>)" ondblclick="document.location='firewall_rules_edit.php?id=<?=$i;?>';" class="descr"> <?=$textss;?><?=htmlspecialchars($filterent['descr']);?> <?=$textse;?> </td> |