aboutsummaryrefslogtreecommitdiff
path: root/views/installation/input/checkbox.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-10-21 07:14:51 -0400
committerCash Costello <cash.costello@gmail.com>2011-10-21 07:14:51 -0400
commit4f5d7c0e9d231a9558cf9d4e681351f3bf1b20f2 (patch)
tree0779d4f8a2f1ed074b975076372406042029985c /views/installation/input/checkbox.php
parentbd08504b16ee636eda1b30676799efc22a915613 (diff)
downloadelgg-4f5d7c0e9d231a9558cf9d4e681351f3bf1b20f2.tar.gz
elgg-4f5d7c0e9d231a9558cf9d4e681351f3bf1b20f2.tar.bz2
cleaned up input views for installation so that no notices are thrown
Diffstat (limited to 'views/installation/input/checkbox.php')
-rw-r--r--views/installation/input/checkbox.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/views/installation/input/checkbox.php b/views/installation/input/checkbox.php
index 378eae6fd..6fbe25169 100644
--- a/views/installation/input/checkbox.php
+++ b/views/installation/input/checkbox.php
@@ -5,15 +5,9 @@
*
* @uses $var['name']
* @uses $vars['value']
- * @uses $vars['id']
* @uses $vars['class']
*/
-if (isset($vars['id'])) {
- $id = "id=\"{$vars['id']}\"";
-} else {
- $id = '';
-}
if (isset($vars['class'])) {
$id = "class=\"{$vars['class']}\"";
@@ -27,4 +21,4 @@ if (!isset($vars['value'])) {
?>
-<input type="checkbox" <?php echo $id; ?> <?php echo $class; ?> name="<?php echo $vars['name']; ?>" value="<?php echo $vars['value']; ?>" /> \ No newline at end of file
+<input type="checkbox" <?php echo $class; ?> name="<?php echo $vars['name']; ?>" value="<?php echo $vars['value']; ?>" /> \ No newline at end of file