aboutsummaryrefslogtreecommitdiff
path: root/views/default/input
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-04 15:12:21 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-04 15:12:21 +0000
commit053480d718c7613d4b778350b757b9e35f9d8f54 (patch)
tree910512f2226b297233cf629f78fcbaa430170835 /views/default/input
parent0f53ed87dc17446f295f7333c05c65ceec0bc528 (diff)
downloadelgg-053480d718c7613d4b778350b757b9e35f9d8f54.tar.gz
elgg-053480d718c7613d4b778350b757b9e35f9d8f54.tar.bz2
Added class to input/button. Fixes #618
git-svn-id: https://code.elgg.org/elgg/trunk@2645 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input')
-rw-r--r--views/default/input/button.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/input/button.php b/views/default/input/button.php
index 08d96d900..198f29dcf 100644
--- a/views/default/input/button.php
+++ b/views/default/input/button.php
@@ -38,4 +38,4 @@
if (isset($vars['src'])) $src = $vars['src'];
if (strpos($src,$CONFIG->wwwroot)===false) $src = ""; // blank src if trying to access an offsite image.
?>
-<input type="<?php echo $type; ?>" <?php echo $vars['js']; ?> value="<?php echo $value; ?>" src="<?php echo $src; ?>" /> \ No newline at end of file
+<input type="<?php echo $type; ?>" class="<?php echo $class; ?>" <?php echo $vars['js']; ?> value="<?php echo $value; ?>" src="<?php echo $src; ?>" /> \ No newline at end of file