summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_aliases_import.php
diff options
context:
space:
mode:
authorDavid Wood <david@wood2.org.uk>2015-12-31 13:46:50 +0000
committerDavid Wood <david@wood2.org.uk>2015-12-31 13:46:50 +0000
commit60e15be211c5de855ab3d9746c78eb7296c50cde (patch)
tree862af8eaa4a8ba95af792b3c98c484e33f2bc2ca /src/usr/local/www/firewall_aliases_import.php
parent2e4cad90499f968474c4eca0852f352f1526b617 (diff)
parent8dccfb20643cfda6b55429177410e6c66fcf0bbd (diff)
downloadpfsense-60e15be211c5de855ab3d9746c78eb7296c50cde.zip
pfsense-60e15be211c5de855ab3d9746c78eb7296c50cde.tar.gz
Merge remote-tracking branch 'upstream/master' into rfc4638, fix conflict with c399d0d
Diffstat (limited to 'src/usr/local/www/firewall_aliases_import.php')
-rwxr-xr-xsrc/usr/local/www/firewall_aliases_import.php27
1 files changed, 11 insertions, 16 deletions
diff --git a/src/usr/local/www/firewall_aliases_import.php b/src/usr/local/www/firewall_aliases_import.php
index 57378d8..7260412 100755
--- a/src/usr/local/www/firewall_aliases_import.php
+++ b/src/usr/local/www/firewall_aliases_import.php
@@ -1,14 +1,12 @@
<?php
-/* $Id$ */
/*
firewall_aliases_import.php
*/
/* ====================================================================
- * Copyright (c) 2004-2015 Electric Sheep Fencing, LLC. All rights reserved.
- * Copyright (c) 2005 Scott Ullrich
+ * Copyright (c) 2004-2015 Electric Sheep Fencing, LLC. All rights reserved.
*
- * Redistribution and use in source and binary forms, with or without modification,
- * are permitted provided that the following conditions are met:
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
@@ -16,12 +14,12 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
- * distribution.
+ * distribution.
*
- * 3. All advertising materials mentioning features or use of this software
+ * 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgment:
* "This product includes software developed by the pfSense Project
- * for use in the pfSense software distribution. (http://www.pfsense.org/).
+ * for use in the pfSense software distribution. (http://www.pfsense.org/).
*
* 4. The names "pfSense" and "pfSense Project" must not be used to
* endorse or promote products derived from this software without
@@ -37,7 +35,7 @@
*
* "This product includes software developed by the pfSense Project
* for use in the pfSense software distribution (http://www.pfsense.org/).
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE pfSense PROJECT ``AS IS'' AND ANY
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
@@ -54,13 +52,10 @@
* ====================================================================
*
*/
-/*
- pfSense_MODULE: filter
-*/
##|+PRIV
##|*IDENT=page-firewall-alias-import
-##|*NAME=Firewall: Alias: Import page
+##|*NAME=Firewall: Alias: Import
##|*DESCR=Allow access to the 'Firewall: Alias: Import' page.
##|*MATCH=firewall_aliases_import.php*
##|-PRIV
@@ -193,10 +188,10 @@ if ($_POST['aliasimport'] != "") {
include("head.inc");
-if ($input_errors)
+if ($input_errors) {
print_input_errors($input_errors);
+}
-require_once('classes/Form.class.php');
$form = new Form;
$section = new Form_Section('Alias details');
@@ -231,4 +226,4 @@ $section->addInput(new Form_Textarea(
$form->add($section);
print $form;
-include("foot.inc"); \ No newline at end of file
+include("foot.inc");
OpenPOWER on IntegriCloud