From 3e6c502c7209e5ae65f9952c2da7d69c7fb67723 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sat, 9 Nov 2002 07:04:21 +0000 Subject: Initial preferences check in. doesn't work. Changes to RSS index. --- rss/index.php | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) (limited to 'rss') diff --git a/rss/index.php b/rss/index.php index e2655a1..bf2e645 100644 --- a/rss/index.php +++ b/rss/index.php @@ -4,6 +4,12 @@ define('BASE','../'); $current_view = "rssindex"; include(BASE.'functions/ical_parser.php'); $default_path = 'http://'.$HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'], '/rss/')); +if (isset($HTTP_SERVER_VARS['HTTP_REFERER']) && $HTTP_SERVER_VARS['HTTP_REFERER'] != '') { + $back_page = $HTTP_SERVER_VARS['HTTP_REFERER']; +} else { + $back_page = BASE.$default_view.'.php?cal='.$cal.'&getdate='.$getdate; +} + ?> @@ -22,15 +28,32 @@ $default_path = 'http://'.$HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_V
- +
- - - + + + -
+
+ + + -- cgit v1.2.3