From bdacb612f3fffa967ef6fda89c081fb7a59894d2 Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 11 Mar 2010 18:07:26 +0000 Subject: Added breadcrumb support and updated the mods with old-style breadcrumbs. git-svn-id: http://code.elgg.org/elgg/trunk@5366 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page_elements/breadcrumbs.php | 26 ---------------- views/default/page_elements/content_header.php | 41 +++++++++++++++----------- 2 files changed, 24 insertions(+), 43 deletions(-) delete mode 100644 views/default/page_elements/breadcrumbs.php (limited to 'views/default/page_elements') diff --git a/views/default/page_elements/breadcrumbs.php b/views/default/page_elements/breadcrumbs.php deleted file mode 100644 index 165a6c7dd..000000000 --- a/views/default/page_elements/breadcrumbs.php +++ /dev/null @@ -1,26 +0,0 @@ - - \ No newline at end of file diff --git a/views/default/page_elements/content_header.php b/views/default/page_elements/content_header.php index 9d7bea08a..95e754d59 100644 --- a/views/default/page_elements/content_header.php +++ b/views/default/page_elements/content_header.php @@ -1,44 +1,51 @@ "; @@ -47,10 +54,10 @@ if(isloggedin()) { $location_filter .= ""; $location_filter .= ""; $location_filter = "
".$location_filter."
"; - + // action buttons if(get_context() != 'bookmarks'){ - $url = $CONFIG->wwwroot . "pg/{$type}/". $page_owner->username . "/new/"; + $url = $CONFIG->wwwroot . "pg/{$type}/". $page_owner->username . "/new"; } else { $url = $CONFIG->wwwroot . "pg/{$type}/". $page_owner->username . "/add"; } @@ -61,7 +68,7 @@ if(isloggedin()) { // if we're on an action page - we'll just have a simple page title, and no filter menu $title = "
".elgg_view_title($title = elgg_echo($type . ':add'))."
"; } -} +} ?>
-- cgit v1.2.3