aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/page_elements/content_header_member.php10
-rw-r--r--views/default/page_elements/title.php8
2 files changed, 4 insertions, 14 deletions
diff --git a/views/default/page_elements/content_header_member.php b/views/default/page_elements/content_header_member.php
index 0a75bb7f5..f90c87384 100644
--- a/views/default/page_elements/content_header_member.php
+++ b/views/default/page_elements/content_header_member.php
@@ -12,14 +12,4 @@ $user_name = elgg_view_title($user->name . "'s " . elgg_echo($type));
<div class="content_header_title">
<?php echo $user_name; ?>
</div>
-<!--
- <div class="content_header_options">
- <?php // if we're on bookmarks
- if((get_context() == 'bookmarks') && ($user instanceof ElggGroup)) {
- $upload_link = "<a href=\"{$vars['url']}pg/{$type}/{$user->username}/add\" class='action_button'>" . elgg_echo($type . ':new') . "</a>";
- echo $upload_link;
- }
- ?>
- </div>
--->
</div> \ No newline at end of file
diff --git a/views/default/page_elements/title.php b/views/default/page_elements/title.php
index 99bc0fc6d..5f8f7a762 100644
--- a/views/default/page_elements/title.php
+++ b/views/default/page_elements/title.php
@@ -15,24 +15,24 @@ if (!empty($submenu)) {
if (($_SESSION['guid']) && ($page_owner && $page_owner_user->guid != $_SESSION['user']->getGUID())) {
$info = "<h2>" . $vars['title'] . "</h2>";
if($page_owner_user instanceOf ElggGroup) {
- $display = "<div id=\"content_area_group_title\">" . $info . "</div>";
+ $display = $info;
} else {
$display = $info;
}
if (!empty($submenu) && $vars['submenu'] == true) {
// plugins can extend this to add menu options
- $display .= "<div id=\"owner_block_submenu\">" . $submenu . "</div>";
+ $display .= "<div class='submenu extended'>" . $submenu . "</div>";
}
} else {
$info = "<h2>" . $vars['title'] . "</h2>";
if($page_owner_user instanceOf ElggGroup) {
- $display = "<div id=\"content_area_group_title\">" . $info . "</div>";
+ $display = $info;
} else {
$display = $info;
}
if (!empty($submenu) && $vars['submenu'] == true) {
// plugins can extend this to add menu options
- $display .= "<div id=\"owner_block_submenu\">" . $submenu . "</div>";
+ $display .= "<div class='submenu extended'>" . $submenu . "</div>";
}
}