aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/layouts
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-26 08:16:19 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-26 08:16:19 -0400
commit32387e6db0c56935e93314217b52eab4d9dca016 (patch)
treecc468b538fe31a26b08516755a651e860800aef9 /views/default/page/layouts
parent2f3b6a8aebc55009f066a49b2d9aaa12dc5be008 (diff)
downloadelgg-32387e6db0c56935e93314217b52eab4d9dca016.tar.gz
elgg-32387e6db0c56935e93314217b52eab4d9dca016.tar.bz2
Fixes #3470 using rel=toggle now
Diffstat (limited to 'views/default/page/layouts')
-rw-r--r--views/default/page/layouts/widgets/add_button.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/views/default/page/layouts/widgets/add_button.php b/views/default/page/layouts/widgets/add_button.php
index a8670146b..89e83b096 100644
--- a/views/default/page/layouts/widgets/add_button.php
+++ b/views/default/page/layouts/widgets/add_button.php
@@ -4,7 +4,12 @@
*/
?>
<div class="elgg-widget-add-control">
- <a class="elgg-button elgg-button-action elgg-toggler" href="#widgets-add-panel">
- <?php echo elgg_echo('widgets:add'); ?>
- </a>
+<?php
+ echo elgg_view('output/url', array(
+ 'href' => '#widgets-add-panel',
+ 'text' => elgg_echo('widgets:add'),
+ 'class' => 'elgg-button elgg-button-action',
+ 'rel' => 'toggle',
+ ));
+?>
</div>