summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/classes
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/classes')
-rw-r--r--src/usr/local/www/classes/Form.class.php77
-rw-r--r--src/usr/local/www/classes/Form/Button.class.php76
-rw-r--r--src/usr/local/www/classes/Form/Checkbox.class.php79
-rw-r--r--src/usr/local/www/classes/Form/Element.class.php79
-rw-r--r--src/usr/local/www/classes/Form/Group.class.php80
-rw-r--r--src/usr/local/www/classes/Form/Input.class.php80
-rw-r--r--src/usr/local/www/classes/Form/IpAddress.class.php77
-rw-r--r--src/usr/local/www/classes/Form/MultiCheckbox.class.php78
-rw-r--r--src/usr/local/www/classes/Form/MultiCheckboxGroup.class.php78
-rw-r--r--src/usr/local/www/classes/Form/Section.class.php77
-rw-r--r--src/usr/local/www/classes/Form/Select.class.php77
-rw-r--r--src/usr/local/www/classes/Form/StaticText.class.php79
-rw-r--r--src/usr/local/www/classes/Form/Textarea.class.php78
-rw-r--r--src/usr/local/www/classes/Modal.class.php54
-rw-r--r--src/usr/local/www/classes/autoload.inc.php54
15 files changed, 779 insertions, 344 deletions
diff --git a/src/usr/local/www/classes/Form.class.php b/src/usr/local/www/classes/Form.class.php
index 2285865..5c67b2a 100644
--- a/src/usr/local/www/classes/Form.class.php
+++ b/src/usr/local/www/classes/Form.class.php
@@ -1,31 +1,56 @@
<?php
/*
- Form.class.php
-
- Copyright (C) 2015 Sjon Hortensius
- All rights reserved.
-
- 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.
-
- 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.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
+ * Form.class.php
+ *
+ * part of pfsense (https://www.pfsense.org)
+ * copyright (c) 2015 sjon hortensius
+ * copyright (c) 2015-2016 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:
+ *
+ * 1. redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. the names "pfsense" and "pfsense project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. for written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. products derived from this software may not be called "pfsense"
+ * nor may "pfsense" appear in their names without prior written
+ * permission of the electric sheep fencing, llc.
+ *
+ * 6. redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * purpose are disclaimed. in no event shall the pfsense project or
+ * its contributors be liable for any direct, indirect, incidental,
+ * special, exemplary, or consequential damages (including, but
+ * not limited to, procurement of substitute goods or services;
+ * loss of use, data, or profits; or business interruption)
+ * however caused and on any theory of liability, whether in contract,
+ * strict liability, or tort (including negligence or otherwise)
+ * arising in any way out of the use of this software, even if advised
+ * of the possibility of such damage.
+ */
class Form extends Form_Element
{
diff --git a/src/usr/local/www/classes/Form/Button.class.php b/src/usr/local/www/classes/Form/Button.class.php
index 85fd428..082f889 100644
--- a/src/usr/local/www/classes/Form/Button.class.php
+++ b/src/usr/local/www/classes/Form/Button.class.php
@@ -1,31 +1,57 @@
<?php
/*
- Button.class.php
+ * Button.class.php
+ *
+ * part of pfSense (https://www.pfsense.org)
+ * Copyright (C) 2015 Sjon Hortensius
+ * Copyright (c) 2015-2016 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:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. The names "pfSense" and "pfSense Project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. For written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. Products derived from this software may not be called "pfSense"
+ * nor may "pfSense" appear in their names without prior written
+ * permission of the Electric Sheep Fencing, LLC.
+ *
+ * 6. Redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE pfSense PROJECT OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
- Copyright (C) 2015 Sjon Hortensius
- All rights reserved.
-
- 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.
-
- 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.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
class Form_Button extends Form_Input
{
protected $_tagSelfClosing = false;
diff --git a/src/usr/local/www/classes/Form/Checkbox.class.php b/src/usr/local/www/classes/Form/Checkbox.class.php
index af258a4..42fb276 100644
--- a/src/usr/local/www/classes/Form/Checkbox.class.php
+++ b/src/usr/local/www/classes/Form/Checkbox.class.php
@@ -1,31 +1,56 @@
<?php
/*
- Checkbox.class.php
-
- Copyright (C) 2015 Sjon Hortensius
- All rights reserved.
-
- 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.
-
- 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.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
+ * Checkbox.class.php
+ *
+ * part of pfSense (https://www.pfsense.org)
+ * Copyright (C) 2015 Sjon Hortensius
+ * Copyright (c) 2015-2016 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:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. The names "pfSense" and "pfSense Project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. For written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. Products derived from this software may not be called "pfSense"
+ * nor may "pfSense" appear in their names without prior written
+ * permission of the Electric Sheep Fencing, LLC.
+ *
+ * 6. Redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE pfSense PROJECT OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
class Form_Checkbox extends Form_Input
{
@@ -68,4 +93,4 @@ class Form_Checkbox extends Form_Input
return '<label class="chkboxlbl">'. $input .' '. htmlspecialchars(gettext($this->_description)) .'</label>';
}
-} \ No newline at end of file
+}
diff --git a/src/usr/local/www/classes/Form/Element.class.php b/src/usr/local/www/classes/Form/Element.class.php
index 163c14b..f85bfbd 100644
--- a/src/usr/local/www/classes/Form/Element.class.php
+++ b/src/usr/local/www/classes/Form/Element.class.php
@@ -1,31 +1,56 @@
<?php
/*
- Element.class.php
-
- Copyright (C) 2015 Sjon Hortensius
- All rights reserved.
-
- 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.
-
- 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.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
+ * Element.class.php
+ *
+ * part of pfSense (https://www.pfsense.org)
+ * Copyright (C) 2015 Sjon Hortensius
+ * Copyright (c) 2015-2016 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:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. The names "pfSense" and "pfSense Project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. For written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. Products derived from this software may not be called "pfSense"
+ * nor may "pfSense" appear in their names without prior written
+ * permission of the Electric Sheep Fencing, LLC.
+ *
+ * 6. Redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE pfSense PROJECT OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
class Form_Element
{
@@ -106,4 +131,4 @@ class Form_Element
{
$this->_parent = $parent;
}
-} \ No newline at end of file
+}
diff --git a/src/usr/local/www/classes/Form/Group.class.php b/src/usr/local/www/classes/Form/Group.class.php
index 813ace9..fdbc4b8 100644
--- a/src/usr/local/www/classes/Form/Group.class.php
+++ b/src/usr/local/www/classes/Form/Group.class.php
@@ -1,31 +1,57 @@
<?php
/*
- Group.class.php
-
- Copyright (C) 2015 Sjon Hortensius
- All rights reserved.
-
- 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.
-
- 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.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
+ * Group.class.php
+ *
+ * part of pfsense (https://www.pfsense.org)
+ * copyright (c) 2015 sjon hortensius
+ * copyright (c) 2015-2016 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:
+ *
+ * 1. redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. the names "pfsense" and "pfsense project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. for written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. products derived from this software may not be called "pfsense"
+ * nor may "pfsense" appear in their names without prior written
+ * permission of the electric sheep fencing, llc.
+ *
+ * 6. redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * purpose are disclaimed. in no event shall the pfsense project or
+ * its contributors be liable for any direct, indirect, incidental,
+ * special, exemplary, or consequential damages (including, but
+ * not limited to, procurement of substitute goods or services;
+ * loss of use, data, or profits; or business interruption)
+ * however caused and on any theory of liability, whether in contract,
+ * strict liability, or tort (including negligence or otherwise)
+ * arising in any way out of the use of this software, even if advised
+ * of the possibility of such damage.
+ */
+
class Form_Group extends Form_Element
{
protected $_tagName = 'div';
@@ -162,4 +188,4 @@ EOT;
</div>
EOT;
}
-} \ No newline at end of file
+}
diff --git a/src/usr/local/www/classes/Form/Input.class.php b/src/usr/local/www/classes/Form/Input.class.php
index 8b73c9a..cb35b5f 100644
--- a/src/usr/local/www/classes/Form/Input.class.php
+++ b/src/usr/local/www/classes/Form/Input.class.php
@@ -1,31 +1,57 @@
<?php
/*
- Input.class.php
-
- Copyright (C) 2015 Sjon Hortensius
- All rights reserved.
-
- 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.
-
- 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.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
+ * Input.class.php
+ *
+ * part of pfsense (https://www.pfsense.org)
+ * copyright (c) 2015 sjon hortensius
+ * copyright (c) 2015-2016 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:
+ *
+ * 1. redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. the names "pfsense" and "pfsense project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. for written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. products derived from this software may not be called "pfsense"
+ * nor may "pfsense" appear in their names without prior written
+ * permission of the electric sheep fencing, llc.
+ *
+ * 6. redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * purpose are disclaimed. in no event shall the pfsense project or
+ * its contributors be liable for any direct, indirect, incidental,
+ * special, exemplary, or consequential damages (including, but
+ * not limited to, procurement of substitute goods or services;
+ * loss of use, data, or profits; or business interruption)
+ * however caused and on any theory of liability, whether in contract,
+ * strict liability, or tort (including negligence or otherwise)
+ * arising in any way out of the use of this software, even if advised
+ * of the possibility of such damage.
+ */
+
class Form_Input extends Form_Element
{
public $column;
@@ -266,4 +292,4 @@ class Form_Input extends Form_Element
</div>
EOT;
}
-} \ No newline at end of file
+}
diff --git a/src/usr/local/www/classes/Form/IpAddress.class.php b/src/usr/local/www/classes/Form/IpAddress.class.php
index f68493d..76cedd8 100644
--- a/src/usr/local/www/classes/Form/IpAddress.class.php
+++ b/src/usr/local/www/classes/Form/IpAddress.class.php
@@ -1,31 +1,56 @@
<?php
/*
- IpAddress.class.php
-
- Copyright (C) 2015 Sjon Hortensius
- All rights reserved.
-
- 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.
-
- 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.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
+ * IpAddress.class.php
+ *
+ * part of pfsense (https://www.pfsense.org)
+ * copyright (c) 2015 sjon hortensius
+ * copyright (c) 2015-2016 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:
+ *
+ * 1. redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. the names "pfsense" and "pfsense project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. for written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. products derived from this software may not be called "pfsense"
+ * nor may "pfsense" appear in their names without prior written
+ * permission of the electric sheep fencing, llc.
+ *
+ * 6. redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * purpose are disclaimed. in no event shall the pfsense project or
+ * its contributors be liable for any direct, indirect, incidental,
+ * special, exemplary, or consequential damages (including, but
+ * not limited to, procurement of substitute goods or services;
+ * loss of use, data, or profits; or business interruption)
+ * however caused and on any theory of liability, whether in contract,
+ * strict liability, or tort (including negligence or otherwise)
+ * arising in any way out of the use of this software, even if advised
+ * of the possibility of such damage.
+ */
class Form_IpAddress extends Form_Input
{
diff --git a/src/usr/local/www/classes/Form/MultiCheckbox.class.php b/src/usr/local/www/classes/Form/MultiCheckbox.class.php
index 9310977..2962c12 100644
--- a/src/usr/local/www/classes/Form/MultiCheckbox.class.php
+++ b/src/usr/local/www/classes/Form/MultiCheckbox.class.php
@@ -1,31 +1,57 @@
<?php
/*
- Form_MultiCheckbox.class.php
+ * MultiCheckbox.class.php
+ *
+ * part of pfsense (https://www.pfsense.org)
+ * copyright (c) 2015 sjon hortensius
+ * copyright (c) 2015-2016 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:
+ *
+ * 1. redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. the names "pfsense" and "pfsense project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. for written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. products derived from this software may not be called "pfsense"
+ * nor may "pfsense" appear in their names without prior written
+ * permission of the electric sheep fencing, llc.
+ *
+ * 6. redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * purpose are disclaimed. in no event shall the pfsense project or
+ * its contributors be liable for any direct, indirect, incidental,
+ * special, exemplary, or consequential damages (including, but
+ * not limited to, procurement of substitute goods or services;
+ * loss of use, data, or profits; or business interruption)
+ * however caused and on any theory of liability, whether in contract,
+ * strict liability, or tort (including negligence or otherwise)
+ * arising in any way out of the use of this software, even if advised
+ * of the possibility of such damage.
+ */
- Copyright (C) 2015 Sjon Hortensius
- All rights reserved.
-
- 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.
-
- 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.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
class Form_MultiCheckbox extends Form_Checkbox
{
public function setHelp($help, array $params = array())
@@ -37,4 +63,4 @@ class Form_MultiCheckbox extends Form_Checkbox
{
return (string)$this->_getInput();
}
-} \ No newline at end of file
+}
diff --git a/src/usr/local/www/classes/Form/MultiCheckboxGroup.class.php b/src/usr/local/www/classes/Form/MultiCheckboxGroup.class.php
index c04bf07..ae7c452 100644
--- a/src/usr/local/www/classes/Form/MultiCheckboxGroup.class.php
+++ b/src/usr/local/www/classes/Form/MultiCheckboxGroup.class.php
@@ -1,31 +1,57 @@
<?php
/*
- Form_MultiCheckboxGroup.class.php
+ * MultiCheckboxGroup.class.php
+ *
+ * part of pfsense (https://www.pfsense.org)
+ * copyright (c) 2015 sjon hortensius
+ * copyright (c) 2015-2016 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:
+ *
+ * 1. redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. the names "pfsense" and "pfsense project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. for written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. products derived from this software may not be called "pfsense"
+ * nor may "pfsense" appear in their names without prior written
+ * permission of the electric sheep fencing, llc.
+ *
+ * 6. redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * purpose are disclaimed. in no event shall the pfsense project or
+ * its contributors be liable for any direct, indirect, incidental,
+ * special, exemplary, or consequential damages (including, but
+ * not limited to, procurement of substitute goods or services;
+ * loss of use, data, or profits; or business interruption)
+ * however caused and on any theory of liability, whether in contract,
+ * strict liability, or tort (including negligence or otherwise)
+ * arising in any way out of the use of this software, even if advised
+ * of the possibility of such damage.
+ */
- Copyright (C) 2015 Sjon Hortensius
- All rights reserved.
-
- 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.
-
- 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.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
class Form_MultiCheckboxGroup extends Form_Group
{
public function add(Form_MultiCheckbox $input)
@@ -61,4 +87,4 @@ class Form_MultiCheckboxGroup extends Form_Group
</div>
EOT;
}
-} \ No newline at end of file
+}
diff --git a/src/usr/local/www/classes/Form/Section.class.php b/src/usr/local/www/classes/Form/Section.class.php
index f1c00c9..9b051d9 100644
--- a/src/usr/local/www/classes/Form/Section.class.php
+++ b/src/usr/local/www/classes/Form/Section.class.php
@@ -1,31 +1,56 @@
<?php
/*
- Section.class.php
-
- Copyright (C) 2015 Sjon Hortensius
- All rights reserved.
-
- 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.
-
- 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.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
+ * Section.class.php
+ *
+ * part of pfsense (https://www.pfsense.org)
+ * copyright (c) 2015 sjon hortensius
+ * copyright (c) 2015-2016 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:
+ *
+ * 1. redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. the names "pfsense" and "pfsense project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. for written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. products derived from this software may not be called "pfsense"
+ * nor may "pfsense" appear in their names without prior written
+ * permission of the electric sheep fencing, llc.
+ *
+ * 6. redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * purpose are disclaimed. in no event shall the pfsense project or
+ * its contributors be liable for any direct, indirect, incidental,
+ * special, exemplary, or consequential damages (including, but
+ * not limited to, procurement of substitute goods or services;
+ * loss of use, data, or profits; or business interruption)
+ * however caused and on any theory of liability, whether in contract,
+ * strict liability, or tort (including negligence or otherwise)
+ * arising in any way out of the use of this software, even if advised
+ * of the possibility of such damage.
+ */
class Form_Section extends Form_Element
{
diff --git a/src/usr/local/www/classes/Form/Select.class.php b/src/usr/local/www/classes/Form/Select.class.php
index 13c49f7..0d3c62f 100644
--- a/src/usr/local/www/classes/Form/Select.class.php
+++ b/src/usr/local/www/classes/Form/Select.class.php
@@ -1,31 +1,56 @@
<?php
/*
- Select.class.php
-
- Copyright (C) 2015 Sjon Hortensius
- All rights reserved.
-
- 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.
-
- 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.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
+ * Select.class.php
+ *
+ * part of pfsense (https://www.pfsense.org)
+ * copyright (c) 2015 sjon hortensius
+ * copyright (c) 2015-2016 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:
+ *
+ * 1. redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. the names "pfsense" and "pfsense project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. for written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. products derived from this software may not be called "pfsense"
+ * nor may "pfsense" appear in their names without prior written
+ * permission of the electric sheep fencing, llc.
+ *
+ * 6. redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * purpose are disclaimed. in no event shall the pfsense project or
+ * its contributors be liable for any direct, indirect, incidental,
+ * special, exemplary, or consequential damages (including, but
+ * not limited to, procurement of substitute goods or services;
+ * loss of use, data, or profits; or business interruption)
+ * however caused and on any theory of liability, whether in contract,
+ * strict liability, or tort (including negligence or otherwise)
+ * arising in any way out of the use of this software, even if advised
+ * of the possibility of such damage.
+ */
class Form_Select extends Form_Input
{
diff --git a/src/usr/local/www/classes/Form/StaticText.class.php b/src/usr/local/www/classes/Form/StaticText.class.php
index b6f7983..95fcdbd 100644
--- a/src/usr/local/www/classes/Form/StaticText.class.php
+++ b/src/usr/local/www/classes/Form/StaticText.class.php
@@ -1,31 +1,56 @@
<?php
/*
- StaticText.class.php
-
- Copyright (C) 2015 Sjon Hortensius
- All rights reserved.
-
- 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.
-
- 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.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
+ * StaticText.class.php
+ *
+ * part of pfsense (https://www.pfsense.org)
+ * copyright (c) 2015 sjon hortensius
+ * copyright (c) 2015-2016 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:
+ *
+ * 1. redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. the names "pfsense" and "pfsense project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. for written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. products derived from this software may not be called "pfsense"
+ * nor may "pfsense" appear in their names without prior written
+ * permission of the electric sheep fencing, llc.
+ *
+ * 6. redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * purpose are disclaimed. in no event shall the pfsense project or
+ * its contributors be liable for any direct, indirect, incidental,
+ * special, exemplary, or consequential damages (including, but
+ * not limited to, procurement of substitute goods or services;
+ * loss of use, data, or profits; or business interruption)
+ * however caused and on any theory of liability, whether in contract,
+ * strict liability, or tort (including negligence or otherwise)
+ * arising in any way out of the use of this software, even if advised
+ * of the possibility of such damage.
+ */
class Form_StaticText extends Form_Input
{
@@ -42,4 +67,4 @@ class Form_StaticText extends Form_Input
{
return $this->_text;
}
-} \ No newline at end of file
+}
diff --git a/src/usr/local/www/classes/Form/Textarea.class.php b/src/usr/local/www/classes/Form/Textarea.class.php
index f38fd85..9014151 100644
--- a/src/usr/local/www/classes/Form/Textarea.class.php
+++ b/src/usr/local/www/classes/Form/Textarea.class.php
@@ -1,31 +1,57 @@
<?php
/*
- Textarea.class.php
+ * Textarea.class.php
+ *
+ * part of pfsense (https://www.pfsense.org)
+ * copyright (c) 2015 sjon hortensius
+ * copyright (c) 2015-2016 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:
+ *
+ * 1. redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. the names "pfsense" and "pfsense project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. for written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. products derived from this software may not be called "pfsense"
+ * nor may "pfsense" appear in their names without prior written
+ * permission of the electric sheep fencing, llc.
+ *
+ * 6. redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * purpose are disclaimed. in no event shall the pfsense project or
+ * its contributors be liable for any direct, indirect, incidental,
+ * special, exemplary, or consequential damages (including, but
+ * not limited to, procurement of substitute goods or services;
+ * loss of use, data, or profits; or business interruption)
+ * however caused and on any theory of liability, whether in contract,
+ * strict liability, or tort (including negligence or otherwise)
+ * arising in any way out of the use of this software, even if advised
+ * of the possibility of such damage.
+ */
- Copyright (C) 2015 Sjon Hortensius
- All rights reserved.
-
- 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.
-
- 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.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-*/
class Form_Textarea extends Form_Input
{
protected $_tagName = 'textarea';
@@ -65,4 +91,4 @@ class Form_Textarea extends Form_Input
{$element}{$value}</textarea>
EOT;
}
-} \ No newline at end of file
+}
diff --git a/src/usr/local/www/classes/Modal.class.php b/src/usr/local/www/classes/Modal.class.php
index 44b22b1..1b8d43d 100644
--- a/src/usr/local/www/classes/Modal.class.php
+++ b/src/usr/local/www/classes/Modal.class.php
@@ -1,4 +1,56 @@
<?php
+/*
+ * Modal.class.php
+ *
+ * part of pfsense (https://www.pfsense.org)
+ * copyright (c) 2015 sjon hortensius
+ * copyright (c) 2015-2016 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:
+ *
+ * 1. redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. the names "pfsense" and "pfsense project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. for written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. products derived from this software may not be called "pfsense"
+ * nor may "pfsense" appear in their names without prior written
+ * permission of the electric sheep fencing, llc.
+ *
+ * 6. redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * purpose are disclaimed. in no event shall the pfsense project or
+ * its contributors be liable for any direct, indirect, incidental,
+ * special, exemplary, or consequential damages (including, but
+ * not limited to, procurement of substitute goods or services;
+ * loss of use, data, or profits; or business interruption)
+ * however caused and on any theory of liability, whether in contract,
+ * strict liability, or tort (including negligence or otherwise)
+ * arising in any way out of the use of this software, even if advised
+ * of the possibility of such damage.
+ */
class Modal extends Form_Section
{
@@ -62,4 +114,4 @@ class Modal extends Form_Section
</div>
EOT;
}
-} \ No newline at end of file
+}
diff --git a/src/usr/local/www/classes/autoload.inc.php b/src/usr/local/www/classes/autoload.inc.php
index f6ad1b8..f47926c 100644
--- a/src/usr/local/www/classes/autoload.inc.php
+++ b/src/usr/local/www/classes/autoload.inc.php
@@ -1,4 +1,56 @@
<?php
+/*
+ * autoload.inc.php
+ *
+ * part of pfsense (https://www.pfsense.org)
+ * copyright (c) 2015-2016 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:
+ *
+ * 1. redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 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.
+ *
+ * 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/).
+ *
+ * 4. the names "pfsense" and "pfsense project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. for written permission, please contact
+ * coreteam@pfsense.org.
+ *
+ * 5. products derived from this software may not be called "pfsense"
+ * nor may "pfsense" appear in their names without prior written
+ * permission of the electric sheep fencing, llc.
+ *
+ * 6. redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ *
+ * "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
+ * purpose are disclaimed. in no event shall the pfsense project or
+ * its contributors be liable for any direct, indirect, incidental,
+ * special, exemplary, or consequential damages (including, but
+ * not limited to, procurement of substitute goods or services;
+ * loss of use, data, or profits; or business interruption)
+ * however caused and on any theory of liability, whether in contract,
+ * strict liability, or tort (including negligence or otherwise)
+ * arising in any way out of the use of this software, even if advised
+ * of the possibility of such damage.
+ */
+
function pfsense_www_class_autoloader($classname) {
// Convert classname to match filename conventions
$filename = str_replace('_', '/', $classname);
@@ -9,4 +61,4 @@ function pfsense_www_class_autoloader($classname) {
require_once($filepath);
}
}
-spl_autoload_register('pfsense_www_class_autoloader'); \ No newline at end of file
+spl_autoload_register('pfsense_www_class_autoloader');
OpenPOWER on IntegriCloud