aboutsummaryrefslogtreecommitdiff
path: root/views/installation/input/access.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/access.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/access.php')
-rw-r--r--views/installation/input/access.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/views/installation/input/access.php b/views/installation/input/access.php
index 7665d8bca..c3d4713bc 100644
--- a/views/installation/input/access.php
+++ b/views/installation/input/access.php
@@ -8,12 +8,7 @@
*
*/
-if (isset($vars['class'])) {
- $class = $vars['class'];
-}
-if (!$class) {
- $class = "elgg-input-access";
-}
+$class = "elgg-input-access";
if ((!isset($vars['options'])) || (!is_array($vars['options']))) {
$vars['options'] = array();
@@ -24,7 +19,7 @@ if (is_array($vars['options']) && sizeof($vars['options']) > 0) {
?>
- <select name="<?php echo $vars['name']; ?>" <?php if ((isset($vars['disabled'])) && ($vars['disabled'])) echo ' disabled="yes" '; ?> class="<?php echo $class; ?>">
+ <select name="<?php echo $vars['name']; ?>" class="<?php echo $class; ?>">
<?php
foreach($vars['options'] as $key => $option) {
@@ -40,4 +35,4 @@ if (is_array($vars['options']) && sizeof($vars['options']) > 0) {
<?php
-} \ No newline at end of file
+}