diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-18 17:43:36 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-18 17:43:36 +0000 |
commit | 412d337ee7f1463dc4ea4cf1d23415b10749f996 (patch) | |
tree | 385fe8b798eec769f0714ed03d5ba41511354dd4 /views/default/layout/elements/page_links.php | |
parent | 17cc9374679465a035f4721eff0c3ae87225e9eb (diff) | |
download | elgg-412d337ee7f1463dc4ea4cf1d23415b10749f996.tar.gz elgg-412d337ee7f1463dc4ea4cf1d23415b10749f996.tar.bz2 |
Refs #2950: layout/elements => page/elements
git-svn-id: http://code.elgg.org/elgg/trunk@8285 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/elements/page_links.php')
-rw-r--r-- | views/default/layout/elements/page_links.php | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/views/default/layout/elements/page_links.php b/views/default/layout/elements/page_links.php deleted file mode 100644 index fb9acbfb7..000000000 --- a/views/default/layout/elements/page_links.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php -/** - * Page links: RSS link, reported content link, etc. - */ - -// Are there feeds to display? -global $autofeed; -$rss_link = ''; -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'); - - $rss_link = elgg_view('output/url', array( - 'text' => '<span class="elgg-icon elgg-icon-rss"></span>', - 'href' => $url, - 'title' => $label, - 'rel' => 'nofollow', - 'encode_text' => false, - 'class' => 'right', - )); -} - -// view to extend by plugins -$links = elgg_view('page/links', $vars); - -if ($links || $rss_link) { - echo '<div class="elgg-page-links clearfix mbm">'; - echo $rss_link; - echo $links; - echo '</div>'; -} |