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.php5
2 files changed, 4 insertions, 5 deletions
diff --git a/mod/profile/views/default/profile/owner_block.php b/mod/profile/views/default/profile/owner_block.php
index 0172a2e1d..81ba8a7bf 100755
--- a/mod/profile/views/default/profile/owner_block.php
+++ b/mod/profile/views/default/profile/owner_block.php
@@ -37,8 +37,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-toggle" id="elgg-toggler-admin-menu">Admin options&hellip;</a>';
- $admin_links .= '<ul class="profile-admin-menu" id="elgg-togglee-admin-menu">';
+ $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">';
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 e755fae5b..16f9c8773 100644
--- a/mod/reportedcontent/views/default/object/reported_content.php
+++ b/mod/reportedcontent/views/default/object/reported_content.php
@@ -57,12 +57,11 @@ if ($report->state == 'archived') {
<?php echo elgg_view('output/url', array(
'href' => '#',
'text' => elgg_echo('reportedcontent:moreinfo'),
- 'class' => "elgg-toggle",
- 'id' => "elgg-toggler-report-$report->guid",
+ 'class' => "elgg-toggler elgg-toggles-report-$report->guid",
));
?>
</p>
- <div class="hidden" id="elgg-togglee-report-<?php echo $report->getGUID();?>">
+ <div class="hidden" id="report-<?php echo $report->getGUID();?>">
<p>
<b><?php echo elgg_echo('reportedcontent:objecturl'); ?>:</b>
<?php echo elgg_view('output/url', array(