diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 21:22:20 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 21:22:20 +0000 |
commit | 8784c7282009b9cd14b166d57617525424ef94a5 (patch) | |
tree | aa4949f2a1b28d3bd3e6a05fe396d54a8ba4c0f4 /views/default/layout/objects/widget | |
parent | 9c1ca0412bc94fa00494ce8bc46c6a8d4e66c4b2 (diff) | |
download | elgg-8784c7282009b9cd14b166d57617525424ef94a5.tar.gz elgg-8784c7282009b9cd14b166d57617525424ef94a5.tar.bz2 |
namespaced the widget code
git-svn-id: http://code.elgg.org/elgg/trunk@7693 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/objects/widget')
-rw-r--r-- | views/default/layout/objects/widget/controls.php | 14 | ||||
-rw-r--r-- | views/default/layout/objects/widget/settings.php | 2 |
2 files changed, 8 insertions, 8 deletions
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, |