summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-04-02 09:34:31 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-04-02 12:34:43 -0300
commit0b9e4e8fa1e87e8d5af71684bf2bfebe96448514 (patch)
tree7cc1a5f581f390bef709754fb766d190dd5e8cbd /usr/local
parentf29109d03c5ea3254e64de6eda61a1a8d492eb12 (diff)
downloadpfsense-0b9e4e8fa1e87e8d5af71684bf2bfebe96448514.zip
pfsense-0b9e4e8fa1e87e8d5af71684bf2bfebe96448514.tar.gz
Save URLs and URL Table details
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_aliases_edit.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php
index 475f58b..f439648 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -191,6 +191,10 @@ if ($_POST) {
$input_errors[] = gettext("Unable to fetch usable data.");
$dont_update = true;
}
+ if ($_POST["detail0"] <> "")
+ $final_address_details[] = $_POST["detail0"];
+ else
+ $final_address_details[] = sprintf(gettext("Entry added %s"), date('r'));
}
} elseif($_POST['type'] == "url") {
$isfirst = 0;
@@ -229,6 +233,10 @@ if ($_POST) {
if(!empty($tmp) && (is_ipaddr($tmp) || is_subnet($tmp))) {
$address[] = $tmp;
$isfirst = 1;
+ if ($_POST["detail{$x}"] <> "")
+ $final_address_details[] = $_POST["detail{$x}"];
+ else
+ $final_address_details[] = sprintf(gettext("Entry added %s"), date('r'));
$address_count++;
}
}
OpenPOWER on IntegriCloud