aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 19:48:05 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 19:48:05 +0000
commita13b91d36ac72f0045a03402dc7040a226102ff5 (patch)
tree3ca3c2e4917926351a3f724d3eada836aa674f51 /mod
parent6b41bd72667ce810257a6ed35f090d3c702fb59e (diff)
downloadelgg-a13b91d36ac72f0045a03402dc7040a226102ff5.tar.gz
elgg-a13b91d36ac72f0045a03402dc7040a226102ff5.tar.bz2
Fixes #3032: toggler pattern is now <a href="#target" class="elgg-toggler">...</a> Wow, so much nicer.
git-svn-id: http://code.elgg.org/elgg/trunk@8538 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rwxr-xr-xmod/profile/views/default/profile/owner_block.php4
-rw-r--r--mod/reportedcontent/views/default/object/reported_content.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/mod/profile/views/default/profile/owner_block.php b/mod/profile/views/default/profile/owner_block.php
index e458469e4..b8f912649 100755
--- a/mod/profile/views/default/profile/owner_block.php
+++ b/mod/profile/views/default/profile/owner_block.php
@@ -33,8 +33,8 @@ if (elgg_is_logged_in() && $actions) {
$admin_links = '';
if (elgg_is_admin_logged_in() && elgg_get_logged_in_user_guid() != elgg_get_page_owner_guid()) {
$admin_links = '<ul class="profile-admin-menu-wrapper">';
- $admin_links .= '<li><a class="elgg-toggler elgg-toggles-admin-menu">Admin options&hellip;</a>';
- $admin_links .= '<ul class="profile-admin-menu" id="admin-menu">';
+ $admin_links .= '<li><a class="elgg-toggler href="#profile-menu-admin">Admin options&hellip;</a>';
+ $admin_links .= '<ul class="profile-admin-menu" id="profile-menu-admin">';
foreach ($admin as $menu_item) {
$admin_links .= elgg_view('navigation/menu/elements/item', array('item' => $menu_item));
}
diff --git a/mod/reportedcontent/views/default/object/reported_content.php b/mod/reportedcontent/views/default/object/reported_content.php
index 9ac878ab4..044a40012 100644
--- a/mod/reportedcontent/views/default/object/reported_content.php
+++ b/mod/reportedcontent/views/default/object/reported_content.php
@@ -55,9 +55,9 @@ if ($report->state == 'archived') {
<?php echo $report->title; ?>
<br />
<?php echo elgg_view('output/url', array(
- 'href' => '#',
+ 'href' => "#report-$report->guid",
'text' => elgg_echo('reportedcontent:moreinfo'),
- 'class' => "elgg-toggler elgg-toggles-report-$report->guid",
+ 'class' => "elgg-toggler",
));
?>
</p>