diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-08 17:41:56 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-08 17:41:56 +0000 |
commit | 30033877087a010608089b33def4869b71413f20 (patch) | |
tree | db1faed5bbcf2f9b84d79cd38ccca972aaa93742 /views/default | |
parent | b0d8cb4a7653320826ab30c49579720f33d2abc3 (diff) | |
download | elgg-30033877087a010608089b33def4869b71413f20.tar.gz elgg-30033877087a010608089b33def4869b71413f20.tar.bz2 |
updates to page_elements
git-svn-id: http://code.elgg.org/elgg/trunk@5306 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/page_elements/content_header_member.php | 10 | ||||
-rw-r--r-- | views/default/page_elements/title.php | 8 |
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>"; } } |