aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/controls.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-19 20:43:48 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-19 20:43:48 +0000
commit3b46665b3f4ee10e9d2778033ea7180cca7571eb (patch)
tree6cbea6da55887db7bbd587df9b7e4d8cb209cea2 /views/default/widgets/controls.php
parentf42382e0bff1692e2ddcd1c8eb316836e3020f1e (diff)
downloadelgg-3b46665b3f4ee10e9d2778033ea7180cca7571eb.tar.gz
elgg-3b46665b3f4ee10e9d2778033ea7180cca7571eb.tar.bz2
saving widget settings
git-svn-id: http://code.elgg.org/elgg/trunk@7350 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/widgets/controls.php')
-rw-r--r--views/default/widgets/controls.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/views/default/widgets/controls.php b/views/default/widgets/controls.php
index 881057969..891a53595 100644
--- a/views/default/widgets/controls.php
+++ b/views/default/widgets/controls.php
@@ -10,17 +10,18 @@ $widget = $vars['widget'];
$params = array(
'text' => 'delete',
- 'href' => '#', //elgg_get_site_url() . "action/widgets/delete?guid=$widget->guid",
+ 'href' => elgg_get_site_url() . "action/widgets/delete?guid=$widget->guid",
'is_action' => true,
- 'class' => 'widget_delete',
- 'internalid' => "widget_delete_$widget->guid"
+ 'class' => 'widget_delete_button',
+ 'internalid' => "widget_delete_button_$widget->guid"
);
$delete_link = elgg_view('output/url', $params);
$params = array(
'text' => 'edit',
- 'href' => elgg_get_site_url() . "#",
- 'is_action' => true,
+ 'href' => "#",
+ 'class' => 'widget_edit_button',
+ 'internalid' => "widget_edit_button_$widget->guid"
);
$edit_link = elgg_view('output/url', $params);