aboutsummaryrefslogtreecommitdiff
path: root/views/installation/input/password.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-10-23 10:53:26 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-10-23 10:53:26 -0700
commit5d38476faf775ce6c639d20bc685a7117d29b8f5 (patch)
tree80d28d69e5a066ba5f2e10d108175813d9432c0f /views/installation/input/password.php
parentf1be73852439f5eb7a9f6fdf1e9587f7b2346f69 (diff)
parenta18ba9dad699ca785e4d8fc37a5fe95a060584e0 (diff)
downloadelgg-5d38476faf775ce6c639d20bc685a7117d29b8f5.tar.gz
elgg-5d38476faf775ce6c639d20bc685a7117d29b8f5.tar.bz2
Merge branch 'master' of github.com:Elgg/Elgg
Diffstat (limited to 'views/installation/input/password.php')
-rw-r--r--views/installation/input/password.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/installation/input/password.php b/views/installation/input/password.php
index 18811109b..2265ab117 100644
--- a/views/installation/input/password.php
+++ b/views/installation/input/password.php
@@ -8,10 +8,10 @@
*
*/
-$class = $vars['class'];
-if (!$class) {
- $class = "input-password";
-}
+$class = "input-password";
+
+$value = htmlentities($vars['value'], ENT_QUOTES, 'UTF-8');
+
?>
-<input type="password" <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> name="<?php echo $vars['name']; ?>" <?php if (isset($vars['id'])) echo "id=\"{$vars['id']}\""; ?> value="<?php echo htmlentities($vars['value'], ENT_QUOTES, 'UTF-8'); ?>" class="<?php echo $class; ?>" />
+<input type="password" name="<?php echo $vars['name']; ?>" value="<?php echo $value; ?>" class="<?php echo $class; ?>" />