aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/objects/widget.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-30 21:34:53 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-30 21:34:53 +0000
commit0f41ed53843e0f0e5d8257e72be6bec15a5f5b1b (patch)
treea1b2a95686ac9009f87b2c177b087ad0c6efae79 /views/default/layout/objects/widget.php
parentdc21869c31ec39fc48e6d045462a09aed568fe40 (diff)
downloadelgg-0f41ed53843e0f0e5d8257e72be6bec15a5f5b1b.tar.gz
elgg-0f41ed53843e0f0e5d8257e72be6bec15a5f5b1b.tar.bz2
allow anyone to minimize a widget
git-svn-id: http://code.elgg.org/elgg/trunk@7779 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/objects/widget.php')
-rw-r--r--views/default/layout/objects/widget.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/views/default/layout/objects/widget.php b/views/default/layout/objects/widget.php
index 1ba274aa6..d9a0681af 100644
--- a/views/default/layout/objects/widget.php
+++ b/views/default/layout/objects/widget.php
@@ -28,9 +28,7 @@ $widget_instance = "elgg-widget-instance-$handler";
<h3><?php echo $title; ?></h3>
</div>
<?php
- if ($can_edit) {
- echo elgg_view('layout/objects/widget/controls', array('widget' => $widget));
- }
+ echo elgg_view('layout/objects/widget/controls', array('widget' => $widget));
?>
<div class="elgg-widget-container">
<?php