diff options
Diffstat (limited to 'views/default/layout/objects')
-rw-r--r-- | views/default/layout/objects/widget.php | 12 | ||||
-rw-r--r-- | views/default/layout/objects/widget/controls.php | 14 | ||||
-rw-r--r-- | views/default/layout/objects/widget/settings.php | 2 |
3 files changed, 14 insertions, 14 deletions
diff --git a/views/default/layout/objects/widget.php b/views/default/layout/objects/widget.php index d109693e1..1ba274aa6 100644 --- a/views/default/layout/objects/widget.php +++ b/views/default/layout/objects/widget.php @@ -19,12 +19,12 @@ $title = $widget->getTitle(); $can_edit = $widget->canEdit(); -$widget_id = "widget-$widget->guid"; -$widget_instance = "widget-instance-$handler"; +$widget_id = "elgg-widget-$widget->guid"; +$widget_instance = "elgg-widget-instance-$handler"; ?> -<div class="widget draggable <?php echo $widget_instance?>" id="<?php echo $widget_id; ?>"> - <div class="widget-title drag-handle"> +<div class="elgg-widget draggable <?php echo $widget_instance?>" id="<?php echo $widget_id; ?>"> + <div class="elgg-widget-title drag-handle"> <h3><?php echo $title; ?></h3> </div> <?php @@ -32,13 +32,13 @@ $widget_instance = "widget-instance-$handler"; echo elgg_view('layout/objects/widget/controls', array('widget' => $widget)); } ?> - <div class="widget-container"> + <div class="elgg-widget-container"> <?php if ($can_edit) { echo elgg_view('layout/objects/widget/settings', array('widget' => $widget)); } ?> - <div class="widget-content"> + <div class="elgg-widget-content"> <?php if (elgg_view_exists("widgets/$handler/content")) { echo elgg_view("widgets/$handler/content", $vars); diff --git a/views/default/layout/objects/widget/controls.php b/views/default/layout/objects/widget/controls.php index 5e6aaf193..b07a42e22 100644 --- a/views/default/layout/objects/widget/controls.php +++ b/views/default/layout/objects/widget/controls.php @@ -11,8 +11,8 @@ $widget = $vars['widget']; $params = array( 'text' => ' ', 'href' => "#", - 'class' => 'widget-collapse-button', - 'internalid' => "widget-collapse-button_$widget->guid" + 'class' => 'elgg-widget-collapse-button', + 'internalid' => "elgg-widget-collapse-button-$widget->guid" ); $collapse_link = elgg_view('output/url', $params); @@ -21,8 +21,8 @@ $params = array( 'title' => elgg_echo('widget:delete', array($widget->getTitle())), 'href' => elgg_get_site_url() . "action/widgets/delete?guid=$widget->guid", 'is_action' => true, - 'class' => 'widget-delete-button', - 'internalid' => "widget-delete-button_$widget->guid" + 'class' => 'elgg-widget-delete-button', + 'internalid' => "elgg-widget-delete-button-$widget->guid" ); $delete_link = elgg_view('output/url', $params); @@ -30,13 +30,13 @@ $params = array( 'text' => ' ', 'title' => elgg_echo('widget:edit'), 'href' => "#", - 'class' => 'widget-edit-button', - 'internalid' => "widget-edit-button_$widget->guid" + 'class' => 'elgg-widget-edit-button', + 'internalid' => "elgg-widget-edit-button-$widget->guid" ); $edit_link = elgg_view('output/url', $params); echo <<<___END -<div class="widget-controls"> +<div class="elgg-widget-controls"> $collapse_link $delete_link $edit_link diff --git a/views/default/layout/objects/widget/settings.php b/views/default/layout/objects/widget/settings.php index 5814e5821..c1e00c3f1 100644 --- a/views/default/layout/objects/widget/settings.php +++ b/views/default/layout/objects/widget/settings.php @@ -33,7 +33,7 @@ $body = <<<___END ___END; ?> -<div class="widget-edit"> +<div class="elgg-widget-edit"> <?php $params = array( 'body' => $body, |