diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-06-17 16:46:51 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-06-17 16:46:51 +0000 |
commit | d57dc52041c5fdb5b4bec42d58a9791b84686d1f (patch) | |
tree | 6c82c8d4f306b3f1cc3cb64a7e437fb4d1139051 /views/default/input/button.php | |
parent | af7cac705174546ca6684749538e206aa509bb98 (diff) | |
download | elgg-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/button.php')
-rw-r--r-- | views/default/input/button.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/button.php b/views/default/input/button.php index 6ee4adc0d..5f48fe6a3 100644 --- a/views/default/input/button.php +++ b/views/default/input/button.php @@ -38,4 +38,4 @@ if (isset($vars['src'])) $src = "src=\"{$vars['src']}\""; if (strpos($src,$CONFIG->wwwroot)===false) $src = ""; // blank src if trying to access an offsite image. ?> -<input name="<?php echo $vars['internalname']; ?>" type="<?php echo $type; ?>" class="<?php echo $class; ?>" <?php echo $vars['js']; ?> value="<?php echo $value; ?>" <?php echo $src; ?> />
\ No newline at end of file +<input name="<?php echo $vars['internalname']; ?>" <?php if (isset($vars['internalid'])) echo "id=\"{$vars['internalid']}\""; ?> type="<?php echo $type; ?>" class="<?php echo $class; ?>" <?php echo $vars['js']; ?> value="<?php echo $value; ?>" <?php echo $src; ?> />
\ No newline at end of file |