aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/file.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/file.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/file.php')
-rw-r--r--views/default/input/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/file.php b/views/default/input/file.php
index 103159566..5dde370a2 100644
--- a/views/default/input/file.php
+++ b/views/default/input/file.php
@@ -21,4 +21,4 @@
}
?>
-<input type="file" size="30" <?php echo $vars['js']; ?>name="<?php echo $vars['internalname']; ?>" /> \ No newline at end of file
+<input type="file" size="30" <?php echo $vars['js']; ?>name="<?php echo $vars['internalname']; ?>" <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> /> \ No newline at end of file