aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/shells/widgets
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-25 12:12:54 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-25 12:12:54 +0000
commit561c160ed8db7f418cc5ae34e04b959be5066442 (patch)
treee8ab27d862524fd2756033c7b093e268dde760ec /views/default/layout/shells/widgets
parent68213505bda10f90094f54a948a08d65d4d7a37c (diff)
downloadelgg-561c160ed8db7f418cc5ae34e04b959be5066442.tar.gz
elgg-561c160ed8db7f418cc5ae34e04b959be5066442.tar.bz2
converted widgets to modules
git-svn-id: http://code.elgg.org/elgg/trunk@7928 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/shells/widgets')
-rw-r--r--views/default/layout/shells/widgets/add_button.php6
-rw-r--r--views/default/layout/shells/widgets/add_panel.php4
2 files changed, 6 insertions, 4 deletions
diff --git a/views/default/layout/shells/widgets/add_button.php b/views/default/layout/shells/widgets/add_button.php
index 492f0f6fc..51b03edbb 100644
--- a/views/default/layout/shells/widgets/add_button.php
+++ b/views/default/layout/shells/widgets/add_button.php
@@ -3,6 +3,8 @@
* Button area for showing the add widgets panel
*/
?>
-<div class="elgg-widget-add-control elgg-toggle" id="elgg-toggler-add-widgets">
- <a class="elgg-action-button"><?php echo elgg_echo('widgets:add'); ?></a>
+<div class="elgg-widget-add-control">
+ <a class="elgg-action-button elgg-toggle" id="elgg-toggler-add-widgets">
+ <?php echo elgg_echo('widgets:add'); ?>
+ </a>
</div>
diff --git a/views/default/layout/shells/widgets/add_panel.php b/views/default/layout/shells/widgets/add_panel.php
index 2d2a05a08..ff789cbd3 100644
--- a/views/default/layout/shells/widgets/add_panel.php
+++ b/views/default/layout/shells/widgets/add_panel.php
@@ -31,10 +31,10 @@ foreach ($widgets as $column_widgets) {
$id = "elgg-widget-type-$handler";
// check if widget added and only one instance allowed
if ($widget_type->multiple == false && in_array($handler, $current_handlers)) {
- $class = 'elgg-widget-unavailable';
+ $class = 'elgg-state-unavailable';
$tooltip = elgg_echo('widget:unavailable');
} else {
- $class = 'elgg-widget-available';
+ $class = 'elgg-state-available';
$tooltip = $widget_type->description;
}