From ab237eb3f0844a1d882a57f7b29eabfbe3cfbfad Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 29 Dec 2010 14:34:23 +0000 Subject: created a new layout element - page links - holds stuff like the rss link git-svn-id: http://code.elgg.org/elgg/trunk@7743 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/layout/elements/sidebar.php | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'views/default/layout/elements/sidebar.php') diff --git a/views/default/layout/elements/sidebar.php b/views/default/layout/elements/sidebar.php index f2071adb5..93dd659f5 100644 --- a/views/default/layout/elements/sidebar.php +++ b/views/default/layout/elements/sidebar.php @@ -5,23 +5,9 @@ * @uses $vars['sidebar'] Optional content that is displayed at the bottom of sidebar */ -// Are there feeds to display? -global $autofeed; -if (isset($autofeed) && $autofeed == true) { - $url = full_url(); - if (substr_count($url,'?')) { - $url .= "&view=rss"; - } else { - $url .= "?view=rss"; - } - $url = elgg_format_url($url); - $label = elgg_echo('feed:rss'); - echo <<{$label} -END; -} +echo elgg_view('layout/elements/page_links', $vars); -echo elgg_view('layout/elements/owner_block'); +echo elgg_view('layout/elements/owner_block', $vars); echo elgg_view('navigation/sidebar_menu'); echo elgg_view_menu('page', array('sort_by' => 'name')); -- cgit v1.2.3