diff options
author | Charlie Root <root@pfsense.localdomain> | 2012-06-16 17:58:51 +0000 |
---|---|---|
committer | Charlie Root <root@pfsense.localdomain> | 2012-06-16 17:58:51 +0000 |
commit | 4e8854c66ae2e4e40d46a1b2c33c27538b6d2f4c (patch) | |
tree | d98ec5039fc4a217fbe6efde91fcf8065aaba679 /usr/local/www/firewall_rules.php | |
parent | 2229d94e840239fee85c8583081c17aa74bf8425 (diff) | |
download | pfsense-4e8854c66ae2e4e40d46a1b2c33c27538b6d2f4c.zip pfsense-4e8854c66ae2e4e40d46a1b2c33c27538b6d2f4c.tar.gz |
improve alias popup in firewall_rules
include url_table list up to 10000 items
read alias only on mouseover
use table to list columns
show edit shortcut
show total items value on popup description
Diffstat (limited to 'usr/local/www/firewall_rules.php')
-rwxr-xr-x | usr/local/www/firewall_rules.php | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php index 5656de8..dd6c90f 100755 --- a/usr/local/www/firewall_rules.php +++ b/usr/local/www/firewall_rules.php @@ -294,11 +294,6 @@ if (isset($_POST['del_x'])) { $closehead = false; include("head.inc"); - -echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript/domTT/domLib.js\"></script>"; -echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript/domTT/domTT.js\"></script>"; -echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript/domTT/behaviour.js\"></script>"; -echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript/domTT/fadomatic.js\"></script>"; ?> <link rel="stylesheet" href="/javascript/chosen/chosen.css" /> </head> @@ -410,7 +405,7 @@ if($_REQUEST['undodrag']) { <tr valign="top" id="antilockout"> <td class="list"> </td> <td class="listt" align="center"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_pass.gif" width="11" height="11" border="0"></td> - <td class="listlr" style="background-color: #E0E0E0"></td> + <td class="listlr" style="background-color: #E0E0E0"> </td> <?php pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_id_tr_antilockout"); ?> @@ -421,7 +416,7 @@ if($_REQUEST['undodrag']) { <td class="listr" style="background-color: #E0E0E0"><?= $alports ?></td> <td class="listr" style="background-color: #E0E0E0">*</td> <td class="listr" style="background-color: #E0E0E0">*</td> - <td class="listr" style="background-color: #E0E0E0"></td> + <td class="listr" style="background-color: #E0E0E0"> </td> <td class="listbg"><?=gettext("Anti-Lockout Rule");?></td> <td valign="middle" nowrap class="list"> <table border="0" cellspacing="0" cellpadding="1"> @@ -442,7 +437,7 @@ if($_REQUEST['undodrag']) { <tr valign="top" id="frrfc1918"> <td class="list"> </td> <td class="listt" align="center"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_block.gif" width="11" height="11" border="0"></td> - <td class="listlr" style="background-color: #E0E0E0"></td> + <td class="listlr" style="background-color: #E0E0E0"> </td> <td class="listr" style="background-color: #E0E0E0">*</td> <td class="listr" style="background-color: #E0E0E0"><?=gettext("RFC 1918 networks");?></td> <td class="listr" style="background-color: #E0E0E0">*</td> @@ -450,7 +445,7 @@ if($_REQUEST['undodrag']) { <td class="listr" style="background-color: #E0E0E0">*</td> <td class="listr" style="background-color: #E0E0E0">*</td> <td class="listr" style="background-color: #E0E0E0">*</td> - <td class="listr" style="background-color: #E0E0E0"></td> + <td class="listr" style="background-color: #E0E0E0"> </td> <td class="listbg"><?=gettext("Block private networks");?></td> <td valign="middle" nowrap class="list"> <table border="0" cellspacing="0" cellpadding="1"> @@ -470,7 +465,7 @@ if($_REQUEST['undodrag']) { <tr valign="top" id="frrfc1918"> <td class="list"> </td> <td class="listt" align="center"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_block.gif" width="11" height="11" border="0"></td> - <td class="listlr" style="background-color: #E0E0E0"></td> + <td class="listlr" style="background-color: #E0E0E0"> </td> <td class="listr" style="background-color: #E0E0E0">*</td> <td class="listr" style="background-color: #E0E0E0"><?=gettext("Reserved/not assigned by IANA");?></td> <td class="listr" style="background-color: #E0E0E0">*</td> @@ -697,7 +692,7 @@ if($_REQUEST['undodrag']) { } ?> <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;?> + <?=$textss;?><?php if (isset($filterent['id'])) echo $filterent['id']." "; else echo " "; ?><?=$textse;?> </td> <?php pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_id_tr"); |