Remove require_once

1.10.x
jmontoya 10 years ago
parent bcacb3839d
commit a4ff0f2ad8
  1. 2
      main/inc/lib/formvalidator/Element/DatePicker.php
  2. 2
      main/inc/lib/formvalidator/Element/DateRangePicker.php
  3. 1
      main/inc/lib/formvalidator/Element/DateTimePicker.php
  4. 2
      main/inc/lib/formvalidator/Element/Number.php
  5. 2
      main/inc/lib/formvalidator/Element/datepicker_old.php
  6. 2
      main/inc/lib/formvalidator/Element/datepickerdate.php
  7. 4
      main/inc/lib/formvalidator/Element/receivers.php
  8. 3
      main/inc/lib/formvalidator/Element/select_ajax.php
  9. 1
      main/inc/lib/formvalidator/Element/select_language.php
  10. 1
      main/inc/lib/formvalidator/Element/select_theme.php
  11. 5
      main/inc/lib/formvalidator/Element/style_button.php
  12. 5
      main/inc/lib/formvalidator/Element/style_reset_button.php
  13. 5
      main/inc/lib/formvalidator/Element/style_submit_button.php
  14. 3
      main/inc/lib/formvalidator/Rule/CompareFields.php
  15. 1
      main/inc/lib/formvalidator/Rule/Date.php
  16. 2
      main/inc/lib/formvalidator/Rule/DateCompare.php
  17. 2
      main/inc/lib/formvalidator/Rule/DateTimeRule.php
  18. 1
      main/inc/lib/formvalidator/Rule/HTML.php
  19. 1
      main/inc/lib/formvalidator/Rule/MobilePhoneNumber.php
  20. 2
      main/inc/lib/formvalidator/Rule/MultipleRequired.php
  21. 1
      main/inc/lib/formvalidator/Rule/Url.php
  22. 2
      main/inc/lib/formvalidator/Rule/Username.php
  23. 1
      main/inc/lib/formvalidator/Rule/UsernameAvailable.php
  24. 4
      main/inc/lib/pear/HTML/QuickForm/advmultiselect.php
  25. 9
      main/inc/lib/pear/HTML/QuickForm/date.php
  26. 5
      main/inc/lib/pear/HTML/QuickForm/group.php
  27. 5
      main/inc/lib/pear/HTML/QuickForm/html.php
  28. 65
      main/inc/lib/pear/HTML/QuickForm/input.php
  29. 5
      main/inc/lib/pear/HTML/QuickForm/radio.php
  30. 5
      main/inc/lib/pear/HTML/QuickForm/select.php
  31. 5
      main/inc/lib/pear/HTML/QuickForm/static.php
  32. 5
      main/inc/lib/pear/HTML/QuickForm/text.php

@ -1,8 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once 'HTML/QuickForm/date.php';
/**
* Form element to select a date and hour (with popup datepicker)
*

@ -1,8 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once 'HTML/QuickForm/date.php';
/**
* Form element to select a date and hour (with popup datepicker)
*/

@ -1,6 +1,5 @@
<?php
/* For licensing terms, see /license.txt */
require_once 'HTML/QuickForm/date.php';
/**
* Form element to select a date and hour (with popup datepicker)

@ -1,8 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once 'HTML/QuickForm/text.php';
/**
* Form element to select a date and hour (with popup datepicker)
*

@ -1,6 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once ('HTML/QuickForm/date.php');
/**
* Form element to select a date and hour (with popup datepicker)
*/

@ -1,6 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once ('HTML/QuickForm/date.php');
/**
* Form element to select a date and hour (with popup datepicker)
*/

@ -1,8 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once 'HTML/QuickForm/group.php';
require_once 'HTML/QuickForm/radio.php';
require_once 'HTML/QuickForm/advmultiselect.php';
/**
* Form element to select receivers
* This element contains 1 radio-buttons. One with label 'everybody' and one

@ -1,9 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once 'HTML/QuickForm/select.php';
require_once 'HTML/QuickForm/html.php';
/**
* A drop down list with all languages to use with QuickForm
*/

@ -1,7 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once 'HTML/QuickForm/select.php';
/**
* A dropdownlist with all languages to use with QuickForm
*/

@ -1,7 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once 'HTML/QuickForm/select.php';
/**
* A dropdownlist with all themes to use with QuickForm
*/

@ -22,11 +22,6 @@
* @link http://pear.php.net/package/HTML_QuickForm
*/
/**
* Base class for form elements
*/
require_once 'HTML/QuickForm/element.php';
/**
* Base class for <button></button> form elements
*

@ -22,11 +22,6 @@
* @link http://pear.php.net/package/HTML_QuickForm
*/
/**
* Base class for <input /> form elements
*/
require_once 'style_button.php';
/**
* HTML class for a submit type element
*

@ -22,11 +22,6 @@
* @link http://pear.php.net/package/HTML_QuickForm
*/
/**
* Base class for <input /> form elements
*/
require_once 'style_button.php';
/**
* HTML class for a submit type element
*

@ -1,5 +1,6 @@
<?php
require_once 'HTML/QuickForm/Rule.php';
/* For licensing terms, see /license.txt */
/**
* QuickForm rule to check a date
*/

@ -1,7 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
/** @author Bart Mollet, Julio Montoya */
require_once 'HTML/QuickForm/Rule.php';
/**
* Class HTML_QuickForm_Rule_Date

@ -1,8 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once 'HTML/QuickForm/Rule/Compare.php';
/**
* Class HTML_QuickForm_Rule_DateCompare
* @author Julio Montoya

@ -1,8 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once 'HTML/QuickForm/Rule.php';
/**
* Class DateTimeRule
* @author Julio Montoya

@ -1,7 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once 'HTML/QuickForm/Rule.php';
require_once api_get_path(SYS_PATH).'main/inc/lib/kses-0.2.2/kses.php';
/**

@ -3,7 +3,6 @@
/**
* Abstract base class for QuickForm validation rules
*/
require_once 'HTML/QuickForm/Rule.php';
/**
* Validate telephones

@ -11,8 +11,6 @@
// | Authors: Eric Marguin <e.marguin@elixir-interactive.com> |
// +----------------------------------------------------------------------+
require_once('HTML/QuickForm/Rule.php');
/**
* Required elements validation
* @version 1.0

@ -3,7 +3,6 @@
/**
* Abstract base class for QuickForm validation rules
*/
require_once 'HTML/QuickForm/Rule.php';
/**
* Validate urls

@ -1,8 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once 'HTML/QuickForm/Rule.php';
/**
* QuickForm rule to check if a username is of the correct format
*/

@ -1,7 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
require_once 'HTML/QuickForm/Rule.php';
/**
* QuickForm rule to check if a username is available
*/

@ -40,10 +40,6 @@
* @link http://pear.php.net/package/HTML_QuickForm_advmultiselect
* @since File available since Release 0.4.0
*/
/**
* Code
*/
require_once 'HTML/QuickForm/select.php';
/**
* Basic error codes

@ -21,15 +21,6 @@
* @link http://pear.php.net/package/HTML_QuickForm
*/
/**
* Class for a group of form elements
*/
require_once 'HTML/QuickForm/group.php';
/**
* Class for <select></select> elements
*/
require_once 'HTML/QuickForm/select.php';
/**
* Class for a group of elements used to input dates (and times).
*

@ -23,11 +23,6 @@
* @link http://pear.php.net/package/HTML_QuickForm
*/
/**
* Base class for form elements
*/
require_once 'HTML/QuickForm/element.php';
/**
* HTML class for a form element group
*

@ -21,11 +21,6 @@
* @link http://pear.php.net/package/HTML_QuickForm
*/
/**
* HTML class for static data
*/
require_once 'HTML/QuickForm/static.php';
/**
* A pseudo-element used for adding raw HTML to form
*

@ -1,41 +1,36 @@
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* Base class for <input /> form elements
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.01 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_01.txt If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
*
* @category HTML
* @package HTML_QuickForm
* @author Adam Daniel <adaniel1@eesus.jnj.com>
* @author Bertrand Mansion <bmansion@mamasam.com>
* @copyright 2001-2009 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: input.php,v 1.10 2009/04/04 21:34:03 avb Exp $
* @link http://pear.php.net/package/HTML_QuickForm
*/
/**
* Base class for form elements
*/
require_once 'HTML/QuickForm/element.php';
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* Base class for <input /> form elements
* Base class for <input /> form elements
*
* @category HTML
* @package HTML_QuickForm
* @author Adam Daniel <adaniel1@eesus.jnj.com>
* @author Bertrand Mansion <bmansion@mamasam.com>
* @version Release: 3.2.11
* @since 1.0
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.01 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_01.txt If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
*
* @category HTML
* @package HTML_QuickForm
* @author Adam Daniel <adaniel1@eesus.jnj.com>
* @author Bertrand Mansion <bmansion@mamasam.com>
* @copyright 2001-2009 The PHP Group
* @license http://www.php.net/license/3_01.txt PHP License 3.01
* @version CVS: $Id: input.php,v 1.10 2009/04/04 21:34:03 avb Exp $
* @link http://pear.php.net/package/HTML_QuickForm
*/
/**
* Base class for <input /> form elements
*
* @category HTML
* @package HTML_QuickForm
* @author Adam Daniel <adaniel1@eesus.jnj.com>
* @author Bertrand Mansion <bmansion@mamasam.com>
* @version Release: 3.2.11
* @since 1.0
* @abstract
*/
class HTML_QuickForm_input extends HTML_QuickForm_element
@ -163,7 +158,7 @@ class HTML_QuickForm_input extends HTML_QuickForm_element
*
* @param string $event Name of event
* @param mixed $arg event arguments
* @param object &$caller calling object
* @param object &$caller calling object
* @since 1.0
* @access public
* @return void

@ -22,11 +22,6 @@
* @link http://pear.php.net/package/HTML_QuickForm
*/
/**
* Base class for <input /> form elements
*/
require_once 'HTML/QuickForm/input.php';
/**
* HTML class for a radio type element
*

@ -23,11 +23,6 @@
* @link http://pear.php.net/package/HTML_QuickForm
*/
/**
* Base class for form elements
*/
require_once 'HTML/QuickForm/element.php';
/**
* Class to dynamically create an HTML SELECT
*

@ -21,11 +21,6 @@
* @link http://pear.php.net/package/HTML_QuickForm
*/
/**
* Base class for form elements
*/
require_once 'HTML/QuickForm/element.php';
/**
* HTML class for static data
*

@ -22,11 +22,6 @@
* @link http://pear.php.net/package/HTML_QuickForm
*/
/**
* Base class for <input /> form elements
*/
require_once 'HTML/QuickForm/input.php';
/**
* HTML class for a text field
*

Loading…
Cancel
Save