From 521930af5bdcbd26afa5b1c7d960358f26c10c37 Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 21 Mar 2011 02:22:06 +0000 Subject: Refs #2090 added latest comments to bookmarks sidebar git-svn-id: http://code.elgg.org/elgg/trunk@8802 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/bookmarks/pages/bookmarks/all.php | 3 ++- mod/bookmarks/pages/bookmarks/owner.php | 3 ++- mod/bookmarks/views/default/bookmarks/sidebar.php | 9 +++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 mod/bookmarks/views/default/bookmarks/sidebar.php (limited to 'mod/bookmarks') diff --git a/mod/bookmarks/pages/bookmarks/all.php b/mod/bookmarks/pages/bookmarks/all.php index 07ae5d327..e49b25b05 100644 --- a/mod/bookmarks/pages/bookmarks/all.php +++ b/mod/bookmarks/pages/bookmarks/all.php @@ -22,7 +22,8 @@ $title = elgg_echo('bookmarks:everyone'); $body = elgg_view_layout('content', array( 'filter_context' => 'all', 'content' => $content, - 'title' => $title + 'title' => $title, + 'sidebar' => elgg_view('bookmarks/sidebar'), )); echo elgg_view_page($title, $body); \ No newline at end of file diff --git a/mod/bookmarks/pages/bookmarks/owner.php b/mod/bookmarks/pages/bookmarks/owner.php index d1564f751..f12d1d83f 100644 --- a/mod/bookmarks/pages/bookmarks/owner.php +++ b/mod/bookmarks/pages/bookmarks/owner.php @@ -34,7 +34,8 @@ if ($page_owner->getGUID() == elgg_get_logged_in_user_guid()) { $vars = array( 'filter_context' => $filter_context, 'content' => $content, - 'title' => $title + 'title' => $title, + 'sidebar' => elgg_view('bookmarks/sidebar'), ); // don't show filter if out of filter context diff --git a/mod/bookmarks/views/default/bookmarks/sidebar.php b/mod/bookmarks/views/default/bookmarks/sidebar.php new file mode 100644 index 000000000..7d77221b1 --- /dev/null +++ b/mod/bookmarks/views/default/bookmarks/sidebar.php @@ -0,0 +1,9 @@ + 'bookmarks', + 'owner_guid' => elgg_get_page_owner_guid(), +)); -- cgit v1.2.3