diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 22:51:23 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 22:51:23 +0000 |
commit | 1f68d84ee83efd73ce5fec5af7a14a1fb234977a (patch) | |
tree | c218e5282a9c536e921b35c2a8448c04cb4a8f05 /views/default/layout/objects | |
parent | 8784c7282009b9cd14b166d57617525424ef94a5 (diff) | |
download | elgg-1f68d84ee83efd73ce5fec5af7a14a1fb234977a.tar.gz elgg-1f68d84ee83efd73ce5fec5af7a14a1fb234977a.tar.bz2 |
fixed a few bugs and updated the widget code
git-svn-id: http://code.elgg.org/elgg/trunk@7694 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/objects')
-rw-r--r-- | views/default/layout/objects/widget/controls.php | 7 | ||||
-rw-r--r-- | views/default/layout/objects/widget/settings.php | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/views/default/layout/objects/widget/controls.php b/views/default/layout/objects/widget/controls.php index b07a42e22..79e434f1a 100644 --- a/views/default/layout/objects/widget/controls.php +++ b/views/default/layout/objects/widget/controls.php @@ -12,7 +12,8 @@ $params = array( 'text' => ' ', 'href' => "#", 'class' => 'elgg-widget-collapse-button', - 'internalid' => "elgg-widget-collapse-button-$widget->guid" +// 'internalid' => "elgg-toggler-widget-$widget->guid" +// 'internalid' => "elgg-widget-collapse-button-$widget->guid" ); $collapse_link = elgg_view('output/url', $params); @@ -30,8 +31,8 @@ $params = array( 'text' => ' ', 'title' => elgg_echo('widget:edit'), 'href' => "#", - 'class' => 'elgg-widget-edit-button', - 'internalid' => "elgg-widget-edit-button-$widget->guid" + 'class' => 'elgg-widget-edit-button elgg-toggle', + 'internalid' => "elgg-toggler-widget-$widget->guid" ); $edit_link = elgg_view('output/url', $params); diff --git a/views/default/layout/objects/widget/settings.php b/views/default/layout/objects/widget/settings.php index c1e00c3f1..8020983c6 100644 --- a/views/default/layout/objects/widget/settings.php +++ b/views/default/layout/objects/widget/settings.php @@ -33,7 +33,7 @@ $body = <<<___END ___END; ?> -<div class="elgg-widget-edit"> +<div class="elgg-widget-edit" id="elgg-togglee-widget-<?php echo $widget->guid; ?>"> <?php $params = array( 'body' => $body, |