aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/password.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-22 16:39:56 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-22 16:39:56 +0000
commit4c18a0cf43c7ab7d72532ec10814d7f55ac6b477 (patch)
tree7348d115d03e7e0bb3202de72ccbc597deb57ed1 /views/default/input/password.php
parentf4efcff4412723c25ad91916e47219328af99d2e (diff)
downloadelgg-4c18a0cf43c7ab7d72532ec10814d7f55ac6b477.tar.gz
elgg-4c18a0cf43c7ab7d72532ec10814d7f55ac6b477.tar.bz2
Disabled support added to forms.
git-svn-id: https://code.elgg.org/elgg/trunk@1495 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/password.php')
-rw-r--r--views/default/input/password.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/password.php b/views/default/input/password.php
index efa0fc74b..740a1a3f0 100644
--- a/views/default/input/password.php
+++ b/views/default/input/password.php
@@ -19,4 +19,4 @@
?>
-<input type="password" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo $vars['value']; ?>" /> \ No newline at end of file
+<input type="password" <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo $vars['value']; ?>" /> \ No newline at end of file