From 7f01270ba106937300cf491927839d3428360d0a Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 5 Oct 2010 10:53:40 +0000 Subject: moved installation to its own viewtype git-svn-id: http://code.elgg.org/elgg/trunk@7010 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/failsafe/input/access.php | 49 ------------------------------- views/failsafe/input/button.php | 53 ---------------------------------- views/failsafe/input/checkboxes.php | 50 -------------------------------- views/failsafe/input/form.php | 53 ---------------------------------- views/failsafe/input/hidden.php | 18 ------------ views/failsafe/input/longtext.php | 24 --------------- views/failsafe/input/password.php | 23 --------------- views/failsafe/input/pulldown.php | 45 ----------------------------- views/failsafe/input/reset.php | 26 ----------------- views/failsafe/input/securitytoken.php | 17 ----------- views/failsafe/input/submit.php | 26 ----------------- views/failsafe/input/text.php | 26 ----------------- 12 files changed, 410 deletions(-) delete mode 100644 views/failsafe/input/access.php delete mode 100644 views/failsafe/input/button.php delete mode 100644 views/failsafe/input/checkboxes.php delete mode 100644 views/failsafe/input/form.php delete mode 100644 views/failsafe/input/hidden.php delete mode 100644 views/failsafe/input/longtext.php delete mode 100644 views/failsafe/input/password.php delete mode 100644 views/failsafe/input/pulldown.php delete mode 100644 views/failsafe/input/reset.php delete mode 100644 views/failsafe/input/securitytoken.php delete mode 100644 views/failsafe/input/submit.php delete mode 100644 views/failsafe/input/text.php (limited to 'views/failsafe/input') diff --git a/views/failsafe/input/access.php b/views/failsafe/input/access.php deleted file mode 100644 index a57014840..000000000 --- a/views/failsafe/input/access.php +++ /dev/null @@ -1,49 +0,0 @@ - 0) { - - ?> - - - - wwwroot)===false) { - $src = ""; -} -?> - value="" src="" class="" /> \ No newline at end of file diff --git a/views/failsafe/input/checkboxes.php b/views/failsafe/input/checkboxes.php deleted file mode 100644 index 0792f09ce..000000000 --- a/views/failsafe/input/checkboxes.php +++ /dev/null @@ -1,50 +0,0 @@ - $option) { - //if (!in_array($option,$vars['value'])) { - if (is_array($vars['value'])) { - if (!in_array($option,$vars['value'])) { - $selected = ""; - } else { - $selected = "checked = \"checked\""; - } - } else { - if ($option != $vars['value']) { - $selected = ""; - } else { - $selected = "checked = \"checked\""; - } - } - - // handle indexed array where label is not specified - // @todo deprecate in Elgg 1.8 - if (is_integer($label)) { - $label = $option; - } - - $disabled = ""; - if ($vars['disabled']) { - $disabled = ' disabled="yes" '; - } - echo "
"; -} \ No newline at end of file diff --git a/views/failsafe/input/form.php b/views/failsafe/input/form.php deleted file mode 100644 index 35e718adb..000000000 --- a/views/failsafe/input/form.php +++ /dev/null @@ -1,53 +0,0 @@ - -
id="" name="" action="" method="" > - - -
\ No newline at end of file diff --git a/views/failsafe/input/hidden.php b/views/failsafe/input/hidden.php deleted file mode 100644 index dd5c8bb98..000000000 --- a/views/failsafe/input/hidden.php +++ /dev/null @@ -1,18 +0,0 @@ - - name="" value="" /> \ No newline at end of file diff --git a/views/failsafe/input/longtext.php b/views/failsafe/input/longtext.php deleted file mode 100644 index 9da3d8276..000000000 --- a/views/failsafe/input/longtext.php +++ /dev/null @@ -1,24 +0,0 @@ - - - \ No newline at end of file diff --git a/views/failsafe/input/password.php b/views/failsafe/input/password.php deleted file mode 100644 index 461f77955..000000000 --- a/views/failsafe/input/password.php +++ /dev/null @@ -1,23 +0,0 @@ - - - name="" value="" class="" /> diff --git a/views/failsafe/input/pulldown.php b/views/failsafe/input/pulldown.php deleted file mode 100644 index 6ad12eec4..000000000 --- a/views/failsafe/input/pulldown.php +++ /dev/null @@ -1,45 +0,0 @@ - "option" where "value" is an internal name and "option" is - * the value displayed on the button. Replaces $vars['options'] when defined. - */ - - -$class = $vars['class']; -if (!$class) { - $class = "input-pulldown"; -} -?> - \ No newline at end of file diff --git a/views/failsafe/input/reset.php b/views/failsafe/input/reset.php deleted file mode 100644 index bb8d278c3..000000000 --- a/views/failsafe/input/reset.php +++ /dev/null @@ -1,26 +0,0 @@ - '__elgg_token', 'value' => $token)); -echo elgg_view('input/hidden', array('internalname' => '__elgg_ts', 'value' => $ts)); diff --git a/views/failsafe/input/submit.php b/views/failsafe/input/submit.php deleted file mode 100644 index cfa7989d0..000000000 --- a/views/failsafe/input/submit.php +++ /dev/null @@ -1,26 +0,0 @@ - - name="" value="" class=""/> \ No newline at end of file -- cgit v1.2.3