aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/objects
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-16 22:15:01 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-16 22:15:01 +0000
commit8e28d88c621a600b144f028ea9cbf28023b69745 (patch)
treec962f99085f6ccb5711bec99e05f2c0a15052148 /views/default/layout/objects
parente45c0d4a62e6bc0f5aa2cd0522987123a9b457c7 (diff)
downloadelgg-8e28d88c621a600b144f028ea9cbf28023b69745.tar.gz
elgg-8e28d88c621a600b144f028ea9cbf28023b69745.tar.bz2
Fixes #2915. Can edit widget settings again.
git-svn-id: http://code.elgg.org/elgg/trunk@8265 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/objects')
-rw-r--r--views/default/layout/objects/widget/settings.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/views/default/layout/objects/widget/settings.php b/views/default/layout/objects/widget/settings.php
index 3e97d3dd5..05cc7b5ce 100644
--- a/views/default/layout/objects/widget/settings.php
+++ b/views/default/layout/objects/widget/settings.php
@@ -1,11 +1,13 @@
-<?php
+<?php
/**
- *
+ * Elgg widget edit settings
+ *
+ * @uses $vars['widget']
*/
+$widget = elgg_extract('widget', $vars);
?>
-<div class="elgg-widget-edit" id="elgg-togglee-widget-<?php echo $widget->guid; ?>">
+<div class="elgg-widget-edit" id="elgg-togglee-widget-<?php echo $widget->guid; ?>">
<?php echo elgg_view_form('widgets/save', array(), $vars); ?>
-
</div>