From f7e481dd72c7c1b24de52647712f449e9aa9c7e7 Mon Sep 17 00:00:00 2001 From: stilez Date: Tue, 25 Feb 2014 19:48:41 +0000 Subject: Port dropdowns: Put port no. after descrip At the moment, even if a port number is entered, it's re-displayed only as a port name when editing. Users who don't have port names -> numbers lookup memorised can't easily confirm when editing a rule, that the port is as intended. Then, when they return to firewall_rules.php the same rules have ports displayed as numbers not names (inconsistent). This small UI edit changes the port dropdowns from just the name "NetBIOS-NS" to "NetBIOS-NS (137)" and shows the very well known port number, for ease of use. --- usr/local/www/firewall_rules_edit.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr') diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 8526bc4..9eafdd3 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -1025,7 +1025,7 @@ include("head.inc"); $wkportdesc): ?> - + autocomplete='off' class="formfldalias" name="srcbeginport_cust" id="srcbeginport_cust" type="text" size="5" value="" /> @@ -1038,7 +1038,7 @@ include("head.inc"); $wkportdesc): ?> - + autocomplete='off' class="formfldalias" name="srcendport_cust" id="srcendport_cust" type="text" size="5" value="" /> @@ -1123,7 +1123,7 @@ $i--): ?> $wkportdesc): ?> - + autocomplete='off' class="formfldalias" name="dstbeginport_cust" id="dstbeginport_cust" type="text" size="5" value="" /> @@ -1136,7 +1136,7 @@ $i--): ?> $wkportdesc): ?> - + autocomplete='off' class="formfldalias" name="dstendport_cust" id="dstendport_cust" type="text" size="5" value="" /> -- cgit v1.1