diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2011-10-23 10:53:26 -0700 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2011-10-23 10:53:26 -0700 |
commit | 5d38476faf775ce6c639d20bc685a7117d29b8f5 (patch) | |
tree | 80d28d69e5a066ba5f2e10d108175813d9432c0f /views/installation/input/access.php | |
parent | f1be73852439f5eb7a9f6fdf1e9587f7b2346f69 (diff) | |
parent | a18ba9dad699ca785e4d8fc37a5fe95a060584e0 (diff) | |
download | elgg-5d38476faf775ce6c639d20bc685a7117d29b8f5.tar.gz elgg-5d38476faf775ce6c639d20bc685a7117d29b8f5.tar.bz2 |
Merge branch 'master' of github.com:Elgg/Elgg
Diffstat (limited to 'views/installation/input/access.php')
-rw-r--r-- | views/installation/input/access.php | 11 |
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 +} |