From 2c2ad03dce82a3fffa575a9a1233345a85e0db34 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Thu, 10 Feb 2011 01:43:36 +0000 Subject: Converted buttons to elgg-object-type naming convention. Added table of buttons to forms theming preview meant for previewing all button types and states (still have to implement those...) git-svn-id: http://code.elgg.org/elgg/trunk@8091 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/components/plugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views/default/admin/components/plugin.php') diff --git a/views/default/admin/components/plugin.php b/views/default/admin/components/plugin.php index e75c2c63e..010e8482d 100644 --- a/views/default/admin/components/plugin.php +++ b/views/default/admin/components/plugin.php @@ -83,10 +83,10 @@ if ($priority < $max_priority) { if ($can_activate) { if ($active) { $action = 'deactivate'; - $class = 'elgg-cancel-button'; + $class = 'elgg-button-cancel'; } else { $action = 'activate'; - $class = 'elgg-submit-button'; + $class = 'elgg-button-submit'; } $url = elgg_http_add_url_query_elements($actions_base . $action, array( @@ -104,7 +104,7 @@ if ($can_activate) { $action_button = elgg_view('output/url', array( 'text' => elgg_echo('admin:plugins:cannot_activate'), 'disabled' => 'disabled', - 'class' => "elgg-action-button disabled" + 'class' => "elgg-button-action disabled" )); } -- cgit v1.2.3