aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/text.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-17 16:46:51 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-17 16:46:51 +0000
commitd57dc52041c5fdb5b4bec42d58a9791b84686d1f (patch)
tree6c82c8d4f306b3f1cc3cb64a7e437fb4d1139051 /views/default/input/text.php
parentaf7cac705174546ca6684749538e206aa509bb98 (diff)
downloadelgg-d57dc52041c5fdb5b4bec42d58a9791b84686d1f.tar.gz
elgg-d57dc52041c5fdb5b4bec42d58a9791b84686d1f.tar.bz2
Closes #540: input/* views have internalid attribute.
git-svn-id: https://code.elgg.org/elgg/trunk@3342 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/text.php')
-rw-r--r--views/default/input/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/text.php b/views/default/input/text.php
index 94559afd6..dfe7265da 100644
--- a/views/default/input/text.php
+++ b/views/default/input/text.php
@@ -24,4 +24,4 @@
?>
-<input type="text" <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo htmlentities($vars['value'], ENT_QUOTES, 'UTF-8'); ?>" class="<?php echo $class ?>"/> \ No newline at end of file
+<input type="text" <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" <?php if (isset($vars['internalid'])) echo "id=\"{$vars['internalid']}\""; ?> value="<?php echo htmlentities($vars['value'], ENT_QUOTES, 'UTF-8'); ?>" class="<?php echo $class ?>"/> \ No newline at end of file