aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/button.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-23 16:19:50 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-23 16:19:50 +0000
commit6ed2d4f162a2e71c0977ca6b08fb591d2d71a86d (patch)
tree7155e90b1d586d251a4ca640b51700155c22e0d5 /views/default/input/button.php
parent02a1bdd5ee3fe1ea4eb93fc8c6b9f3a4478e3215 (diff)
downloadelgg-6ed2d4f162a2e71c0977ca6b08fb591d2d71a86d.tar.gz
elgg-6ed2d4f162a2e71c0977ca6b08fb591d2d71a86d.tar.bz2
Every occurrence of elgg-button-$type needs an elgg-button base class declaration -- or should we remove that requirement?
git-svn-id: http://code.elgg.org/elgg/trunk@8444 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/button.php')
-rw-r--r--views/default/input/button.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/input/button.php b/views/default/input/button.php
index 52a85ace6..b1a884c77 100644
--- a/views/default/input/button.php
+++ b/views/default/input/button.php
@@ -6,11 +6,13 @@
* @subpackage Core
*
* @uses $vars['src'] Src of an image
+ *
+ * @todo Handle classes better
*/
$defaults = array(
'type' => 'button',
- 'class' => 'elgg-button-submit',
+ 'class' => 'elgg-button elgg-button-action',
);
$vars = array_merge($defaults, $vars);