aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/widget
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-14 23:09:07 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-14 23:09:07 +0000
commitcaf11e94744c49e1b1533b45f0a44d0aa97704df (patch)
tree84992eac9d790704c6b832b55046faa26f0e9ed6 /views/default/object/widget
parentbd28cf062af5f516e8c1b273577a530fc215255b (diff)
downloadelgg-caf11e94744c49e1b1533b45f0a44d0aa97704df.tar.gz
elgg-caf11e94744c49e1b1533b45f0a44d0aa97704df.tar.bz2
Refs #3112: Pulled out widget gear icon into elgg-icon-gear, which widgets now use
git-svn-id: http://code.elgg.org/elgg/trunk@8710 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/object/widget')
-rw-r--r--views/default/object/widget/elements/controls.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/default/object/widget/elements/controls.php b/views/default/object/widget/elements/controls.php
index 5b794c1f7..a421d4d41 100644
--- a/views/default/object/widget/elements/controls.php
+++ b/views/default/object/widget/elements/controls.php
@@ -19,9 +19,9 @@ $collapse_link = elgg_view('output/url', $params);
$delete_link = $edit_link = '';
if ($widget->canEdit()) {
$params = array(
- 'text' => ' ',
+ 'text' => elgg_view_icon('delete'),
'title' => elgg_echo('widget:delete', array($widget->getTitle())),
- 'href' => elgg_get_site_url() . "action/widgets/delete?guid=$widget->guid",
+ 'href' => "action/widgets/delete?guid=$widget->guid",
'is_action' => true,
'class' => 'elgg-widget-delete-button',
'id' => "elgg-widget-delete-button-$widget->guid"
@@ -30,10 +30,10 @@ if ($widget->canEdit()) {
if ($show_edit) {
$params = array(
- 'text' => ' ',
+ 'text' => elgg_view_icon('gear'),
'title' => elgg_echo('widget:edit'),
'href' => "#widget-edit-$widget->guid",
- 'class' => "elgg-widget-edit-button elgg-toggler",
+ 'class' => "elgg-toggler elgg-widget-edit-button",
);
$edit_link = elgg_view('output/url', $params);
}