From b7ea2e2e377568a3730ed46b8df1751cc747323f Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 14 May 2011 23:24:42 +0000 Subject: clean up installation input views git-svn-id: http://code.elgg.org/elgg/trunk@9087 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/installation/input/access.php | 6 +----- views/installation/input/button.php | 20 ++------------------ views/installation/input/checkboxes.php | 18 ------------------ views/installation/input/dropdown.php | 6 +----- views/installation/input/form.php | 30 +++++++----------------------- views/installation/input/hidden.php | 8 +------- views/installation/input/longtext.php | 22 ---------------------- views/installation/input/password.php | 6 +----- views/installation/input/reset.php | 13 ------------- views/installation/input/securitytoken.php | 15 --------------- views/installation/input/submit.php | 6 ++---- views/installation/input/text.php | 7 +------ 12 files changed, 16 insertions(+), 141 deletions(-) delete mode 100644 views/installation/input/longtext.php delete mode 100644 views/installation/input/reset.php delete mode 100644 views/installation/input/securitytoken.php (limited to 'views/installation/input') diff --git a/views/installation/input/access.php b/views/installation/input/access.php index 3fde7295f..7665d8bca 100644 --- a/views/installation/input/access.php +++ b/views/installation/input/access.php @@ -3,11 +3,7 @@ * Elgg access level input * Displays a dropdown input field * - * @package Elgg - * @subpackage Core - * * @uses $vars['value'] The current value, if any - * @uses $vars['js'] Any Javascript to enter into the input tag * @uses $vars['name'] The name of the input field * */ @@ -28,7 +24,7 @@ if (is_array($vars['options']) && sizeof($vars['options']) > 0) { ?> - class=""> $option) { diff --git a/views/installation/input/button.php b/views/installation/input/button.php index a69f7dbfa..29a37dd55 100644 --- a/views/installation/input/button.php +++ b/views/installation/input/button.php @@ -1,18 +1,10 @@ - value="" src="" class="" /> \ No newline at end of file + value="" class="" /> \ No newline at end of file diff --git a/views/installation/input/checkboxes.php b/views/installation/input/checkboxes.php index c78fe4db0..026ff04ba 100644 --- a/views/installation/input/checkboxes.php +++ b/views/installation/input/checkboxes.php @@ -3,17 +3,6 @@ * Elgg checkbox input * Displays a checkbox input field * - * @note This also includes a hidden input with the same name as the checkboxes - * to make sure something is sent to the server. The default value is 0. - * If using JS, be specific to avoid selecting the hidden default value: - * $('input[type=checkbox][name=name]') - * - * @warning Passing integers as labels does not currently work due to a - * deprecated hack that will be removed in Elgg 1.9. To use integer labels, - * the labels must be character codes: 1 would be 1 - * - * @package Elgg - * @subpackage Core * * @uses string $vars['name'] The name of the input fields * (Forced to an array by appending []) @@ -40,7 +29,6 @@ $default = (isset($vars['default'])) ? $vars['default'] : 0; $id = (isset($vars['id'])) ? $vars['id'] : ''; $disabled = (isset($vars['disabled'])) ? $vars['disabled'] : FALSE; -$js = (isset($vars['js'])) ? $vars['js'] : ''; $class = "elgg-input-checkboxes elgg-$align"; if ($additional_class) { @@ -55,18 +43,12 @@ if ($options && count($options) > 0) { echo "