aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/layout')
-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>