From af2f3805095f8a91d85847e11faeb280fddf58c0 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 15 Feb 2011 01:27:40 +0000 Subject: Fixes #2921: converted internalname => name and internalid => id git-svn-id: http://code.elgg.org/elgg/trunk@8249 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/installation/input/access.php | 4 ++-- views/installation/input/button.php | 6 +++--- views/installation/input/checkboxes.php | 4 ++-- views/installation/input/dropdown.php | 4 ++-- views/installation/input/form.php | 8 ++++---- views/installation/input/hidden.php | 4 ++-- views/installation/input/longtext.php | 4 ++-- views/installation/input/password.php | 4 ++-- views/installation/input/securitytoken.php | 4 ++-- views/installation/input/text.php | 4 ++-- 10 files changed, 23 insertions(+), 23 deletions(-) (limited to 'views/installation/input') diff --git a/views/installation/input/access.php b/views/installation/input/access.php index ab4064ef1..3fde7295f 100644 --- a/views/installation/input/access.php +++ b/views/installation/input/access.php @@ -8,7 +8,7 @@ * * @uses $vars['value'] The current value, if any * @uses $vars['js'] Any Javascript to enter into the input tag - * @uses $vars['internalname'] The name of the input field + * @uses $vars['name'] The name of the input field * */ @@ -28,7 +28,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 81a5414c4..a69f7dbfa 100644 --- a/views/installation/input/button.php +++ b/views/installation/input/button.php @@ -9,7 +9,7 @@ * * @uses $vars['value'] The current value, if any * @uses $vars['js'] Any Javascript to enter into the input tag - * @uses $vars['internalname'] The name of the input field + * @uses $vars['name'] The name of the input field * @uses $vars['type'] Submit or reset, defaults to submit. * @uses $vars['src'] Src of an image * @@ -39,11 +39,11 @@ switch ($type) { } $value = htmlentities($vars['value'], ENT_QUOTES, 'UTF-8'); -$name = $vars['internalname']; +$name = $vars['name']; $src = $vars['src']; // blank src if trying to access an offsite image. if (strpos($src, elgg_get_site_url()) === false) { $src = ""; } ?> - value="" src="" class="" /> \ No newline at end of file + value="" src="" class="" /> \ No newline at end of file diff --git a/views/installation/input/checkboxes.php b/views/installation/input/checkboxes.php index 04533f6f5..164509831 100644 --- a/views/installation/input/checkboxes.php +++ b/views/installation/input/checkboxes.php @@ -8,7 +8,7 @@ * * @uses $vars['value'] The current value, if any * @uses $vars['js'] Any Javascript to enter into the input tag - * @uses $vars['internalname'] The name of the input field + * @uses $vars['name'] The name of the input field * @uses $vars['options'] An array of strings representing the options for the checkbox field * */ @@ -44,5 +44,5 @@ foreach($vars['options'] as $label => $option) { if ($vars['disabled']) { $disabled = ' disabled="yes" '; } - echo "
"; + echo "
"; } \ No newline at end of file diff --git a/views/installation/input/dropdown.php b/views/installation/input/dropdown.php index 11802a669..141ff65b0 100644 --- a/views/installation/input/dropdown.php +++ b/views/installation/input/dropdown.php @@ -8,7 +8,7 @@ * * @uses $vars['value'] The current value, if any * @uses $vars['js'] Any Javascript to enter into the input tag - * @uses $vars['internalname'] The name of the input field + * @uses $vars['name'] The name of the input field * @uses $vars['options'] An array of strings representing the options for the dropdown field * @uses $vars['options_values'] An associative array of "value" => "option" where "value" is an internal name and "option" is * the value displayed on the button. Replaces $vars['options'] when defined. @@ -20,7 +20,7 @@ if (!$class) { $class = "elgg-input-dropdown"; } ?> - class=""> $option) { diff --git a/views/installation/input/form.php b/views/installation/input/form.php index a4707f257..b131c9d10 100644 --- a/views/installation/input/form.php +++ b/views/installation/input/form.php @@ -14,13 +14,13 @@ * */ -if (isset($vars['internalid'])) { - $id = $vars['internalid']; +if (isset($vars['id'])) { + $id = $vars['id']; } else { $id = ''; } -if (isset($vars['internalname'])) { - $name = $vars['internalname']; +if (isset($vars['name'])) { + $name = $vars['name']; } else { $name = ''; } diff --git a/views/installation/input/hidden.php b/views/installation/input/hidden.php index 7a0798e48..c9800ebbb 100644 --- a/views/installation/input/hidden.php +++ b/views/installation/input/hidden.php @@ -9,8 +9,8 @@ * * @uses $vars['value'] The current value, if any * @uses $vars['js'] Any Javascript to enter into the input tag - * @uses $vars['internalname'] The name of the input field + * @uses $vars['name'] The name of the input field * */ ?> - name="" value="" /> \ No newline at end of file + name="" value="" /> \ No newline at end of file diff --git a/views/installation/input/longtext.php b/views/installation/input/longtext.php index a909f55f2..820a51da4 100644 --- a/views/installation/input/longtext.php +++ b/views/installation/input/longtext.php @@ -8,7 +8,7 @@ * * @uses $vars['value'] The current value, if any * @uses $vars['js'] Any Javascript to enter into the input tag - * @uses $vars['internalname'] The name of the input field + * @uses $vars['name'] The name of the input field * */ @@ -19,4 +19,4 @@ if (!$class) { ?> - \ No newline at end of file + \ No newline at end of file diff --git a/views/installation/input/password.php b/views/installation/input/password.php index 541728ee3..8ba79228d 100644 --- a/views/installation/input/password.php +++ b/views/installation/input/password.php @@ -8,7 +8,7 @@ * * @uses $vars['value'] The current value, if any * @uses $vars['js'] Any Javascript to enter into the input tag - * @uses $vars['internalname'] The name of the input field + * @uses $vars['name'] The name of the input field * */ @@ -18,4 +18,4 @@ if (!$class) { } ?> - name="" value="" class="" /> + name="" value="" class="" /> diff --git a/views/installation/input/securitytoken.php b/views/installation/input/securitytoken.php index 9a8cb1ebe..75410848a 100644 --- a/views/installation/input/securitytoken.php +++ b/views/installation/input/securitytoken.php @@ -11,5 +11,5 @@ $ts = time(); $token = generate_action_token($ts); -echo elgg_view('input/hidden', array('internalname' => '__elgg_token', 'value' => $token)); -echo elgg_view('input/hidden', array('internalname' => '__elgg_ts', 'value' => $ts)); +echo elgg_view('input/hidden', array('name' => '__elgg_token', 'value' => $token)); +echo elgg_view('input/hidden', array('name' => '__elgg_ts', 'value' => $ts)); diff --git a/views/installation/input/text.php b/views/installation/input/text.php index 73801dcf7..c59278b40 100644 --- a/views/installation/input/text.php +++ b/views/installation/input/text.php @@ -10,7 +10,7 @@ * * @uses $vars['value'] The current value, if any * @uses $vars['js'] Any Javascript to enter into the input tag - * @uses $vars['internalname'] The name of the input field + * @uses $vars['name'] The name of the input field * @uses $vars['disabled'] If true then control is read-only * @uses $vars['class'] Class override */ @@ -21,4 +21,4 @@ if (!$class) { } ?> - name="" value="" class=""/> \ No newline at end of file + name="" value="" class=""/> \ No newline at end of file -- cgit v1.2.3