From 10f233a2e2a11416413585ceadafa0d7b07988bc Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 8 Aug 2008 12:14:17 +0000 Subject: Refs #211: Two forms converted + extra functionality to input views git-svn-id: https://code.elgg.org/elgg/trunk@1790 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/input/button.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'views/default/input/button.php') diff --git a/views/default/input/button.php b/views/default/input/button.php index 2249158e6..e646998ea 100644 --- a/views/default/input/button.php +++ b/views/default/input/button.php @@ -20,6 +20,9 @@ */ global $CONFIG; + + $class = $vars['class']; + if (!$class) $class = "submit_button"; $type = strtolower($vars['type']); switch ($type) @@ -35,4 +38,4 @@ $src = $vars['src']; if (strpos($src,$CONFIG->wwwroot)===false) $src = ""; // blank src if trying to access an offsite image. ?> - value="" src="" /> \ No newline at end of file + value="" src="" class="" /> \ No newline at end of file -- cgit v1.2.3