Project

General

Profile

« Previous | Next » 

Revision 1db196b2

Added by Scott Ullrich about 14 years ago

Adding hooks

View differences:

usr/local/www/firewall_rules.php
340 340
  <tr>
341 341
    <td>
342 342
	<div id="mainarea">
343
              <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
344
                <tr id="frheader">
345
                  <td width="3%" class="list">&nbsp;</td>
346
                  <td width="5%" class="list">&nbsp;</td>
347
                  <td width="3%" class="listhdrr"><?=gettext("ID");?></td>
348
                  <td width="6%" class="listhdrr"><?=gettext("Proto");?></td>
349
                  <td width="12%" class="listhdrr"><?=gettext("Source");?></td>
350
                  <td width="6%" class="listhdrr"><?=gettext("Port");?></td>
351
                  <td width="12%" class="listhdrr"><?=gettext("Destination");?></td>
352
                  <td width="6%" class="listhdrr"><?=gettext("Port");?></td>
353
		  <td width="5%" class="listhdrr"><?=gettext("Gateway");?></td>
354
		  <td width="8%" class="listhdrr"><?=gettext("Queue");?></td>
355
		  <td width="5%" class="listhdrr"><?=gettext("Schedule");?></td>
356
                  <td width="19%" class="listhdr"><?=gettext("Description");?></td>
357
                  <td width="10%" class="list">
343
		<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
344
			<tr id="frheader">
345
			<td width="3%" class="list">&nbsp;</td>
346
			<td width="5%" class="list">&nbsp;</td>
347
<?php
348
				pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_id_tablehead");
349
?>
350
			<td width="3%" class="listhdrr"><?=gettext("ID");?></td>
351
			<td width="6%" class="listhdrr"><?=gettext("Proto");?></td>
352
			<td width="12%" class="listhdrr"><?=gettext("Source");?></td>
353
			<td width="6%" class="listhdrr"><?=gettext("Port");?></td>
354
			<td width="12%" class="listhdrr"><?=gettext("Destination");?></td>
355
			<td width="6%" class="listhdrr"><?=gettext("Port");?></td>
356
			<td width="5%" class="listhdrr"><?=gettext("Gateway");?></td>
357
			<td width="8%" class="listhdrr"><?=gettext("Queue");?></td>
358
			<td width="5%" class="listhdrr"><?=gettext("Schedule");?></td>
359
<?php
360
				pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_schedule_tablehead");
361
?>
362
			<td width="19%" class="listhdr"><?=gettext("Description");?></td>
363
			<td width="10%" class="list">
358 364
			<table border="0" cellspacing="0" cellpadding="1">
359 365
			   <tr>
360 366
				<?php
......
681 687
					 	$printicon = true;				  	
682 688
					  }
683 689
				}
690
				pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_id_tr");
684 691
				?>
685 692
                  <td class="listlr" onClick="fr_toggle(<?=$nrules;?>)" id="frd<?=$nrules;?>" ondblclick="document.location='firewall_rules_edit.php?id=<?=$i;?>';">
686 693
                    <?=$textss;?><?php if (isset($filterent['id'])) echo $filterent['id']; else echo ""; ?><?=$textse;?>
......
740 747
                  <td class="listr" onClick="fr_toggle(<?=$nrules;?>)" id="frd<?=$nrules;?>" ondblclick="document.location='firewall_rules_edit.php?id=<?=$i;?>';"><font color="black">
741 748
                    <?php if ($printicon) { ?><img src="./themes/<?= $g['theme']; ?>/images/icons/<?php echo $image; ?>.gif" title="<?php echo $alttext;?>" border="0"><?php } ?>&nbsp;<?=$textss;?><?php echo $schedule_span_begin;?><?=htmlspecialchars($filterent['sched']);?><?php echo $schedule_span_end; ?><?=$textse;?>
742 749
                  </td>
750
<?php
751
				pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_descr_tr");
752
?>
743 753
                  <td class="listbg" onClick="fr_toggle(<?=$nrules;?>)" ondblclick="document.location='firewall_rules_edit.php?id=<?=$i;?>';" class="descr">
744 754
                    <?=$textss;?><?=htmlspecialchars($filterent['descr']);?>&nbsp;<?=$textse;?>
745 755
                  </td>

Also available in: Unified diff