From 16a9991203f407d0329b4055905cb6970a6cc687 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 8 Jul 2008 10:37:30 +0000 Subject: OpenDD autodiscovery header git-svn-id: https://code.elgg.org/elgg/trunk@1332 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page_elements/header.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'views') diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php index 53f6285fb..6d9b826d4 100644 --- a/views/default/page_elements/header.php +++ b/views/default/page_elements/header.php @@ -28,15 +28,21 @@ global $autofeed; if (isset($autofeed) && $autofeed == true) { - $url = full_url(); + $url = $url2 = full_url(); if (substr_count($url,'?')) { $url .= "&view=rss"; } else { $url .= "?view=rss"; } + if (substr_count($url2,'?')) { + $url2 .= "&view=odd"; + } else { + $url2 .= "?view=odd"; + } $feedref = << + END; } else { -- cgit v1.2.3