aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/wrapper.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 22:19:11 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 22:19:11 +0000
commitb827319a8b0c17ea362bf55548557862a04f0ba9 (patch)
treeea5873d2fa2ca427323dc6ca9d1e8dff8450f8d8 /views/default/widgets/wrapper.php
parent96f880d1e535aaf47d0c67cfe3da8fca638dc00d (diff)
downloadelgg-b827319a8b0c17ea362bf55548557862a04f0ba9.tar.gz
elgg-b827319a8b0c17ea362bf55548557862a04f0ba9.tar.bz2
added collapsible state to widgets
git-svn-id: http://code.elgg.org/elgg/trunk@7392 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/widgets/wrapper.php')
-rw-r--r--views/default/widgets/wrapper.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/default/widgets/wrapper.php b/views/default/widgets/wrapper.php
index 8d589aabd..20faf85a8 100644
--- a/views/default/widgets/wrapper.php
+++ b/views/default/widgets/wrapper.php
@@ -27,12 +27,12 @@ $widget_instance = "widget_instance_$handler";
<div class="widget draggable <?php echo $widget_instance?>" id="<?php echo $widget_id; ?>">
<div class="widget_title drag_handle">
<h3><?php echo $title; ?></h3>
- <?php
- if ($can_edit) {
- echo elgg_view('widgets/controls', array('widget' => $widget));
- }
- ?>
</div>
+ <?php
+ if ($can_edit) {
+ echo elgg_view('widgets/controls', array('widget' => $widget));
+ }
+ ?>
<div class="widget_container">
<?php
if ($can_edit) {