aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
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>