diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-11-24 01:36:00 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-11-24 01:36:00 +0000 |
commit | e1c61d0eec4ecfd7e5545dd10314c9819e2de179 (patch) | |
tree | d4d34913eada1c5483976e2eabd75f1389c946ab | |
parent | 216d855de51cac0a6efd716a7209051e4f73c4cb (diff) | |
download | phpicalendar-e1c61d0eec4ecfd7e5545dd10314c9819e2de179.tar.gz phpicalendar-e1c61d0eec4ecfd7e5545dd10314c9819e2de179.tar.bz2 phpicalendar-e1c61d0eec4ecfd7e5545dd10314c9819e2de179.zip |
Added BASE to javascripts.
-rw-r--r-- | day.php | 4 | ||||
-rw-r--r-- | footer.inc.php | 2 | ||||
-rw-r--r-- | month.php | 2 | ||||
-rw-r--r-- | week.php | 5 |
4 files changed, 7 insertions, 6 deletions
@@ -51,10 +51,10 @@ if (is_array($master_array[($getdate)])) { <meta http-equiv="content-type" content="text/html;charset=UTF-8"> <title><?php echo "$calendar_name - $display_date"; ?></title> <link rel="stylesheet" type="text/css" href="styles/<?php echo $style_sheet.'/default.css'; ?>"> - <?php include ('./functions/event.js'); ?> + <?php include (BASE.'functions/event.js'); ?> </head> <body bgcolor="#FFFFFF"> -<?php include ('./header.inc.php'); ?> +<?php include (BASE.'header.inc.php'); ?> <center> <table border="0" width="700" cellspacing="0" cellpadding="0"> <tr> diff --git a/footer.inc.php b/footer.inc.php index 4055c13..b382f72 100644 --- a/footer.inc.php +++ b/footer.inc.php @@ -1 +1 @@ -<?php
echo "<center><font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/\">PHP iCalendar 0.9 CVS</a>";
if ($enable_rss == 'yes') {
echo "<br>\n";
if ($current_view == 'rssindex') {
echo '<a style="color:gray" href="http://feeds.archive.org/validator/check?url='.$footer_check.'"><img src="../images/valid-rss.png" alt="[Valid RSS]" title="Validate my RSS feed" width="88" height="31" border="1" vspace="3" />';
} else {
echo $this_site_is_lang.' <a class="psf" href="'.BASE.'rss/">RSS-Enabled</a></font></center>';
}
}
echo '</font></center>';
?>
\ No newline at end of file +<?php
echo "<center><font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/nuke/\">PHP iCalendar 0.9 CVS</a>";
if ($enable_rss == 'yes') {
echo "<br>\n";
if ($current_view == 'rssindex') {
echo '<a style="color:gray" href="http://feeds.archive.org/validator/check?url='.$footer_check.'"><img src="'.BASE.'images/valid-rss.png" alt="[Valid RSS]" title="Validate my RSS feed" width="88" height="31" border="1" vspace="3" />';
} else {
echo $this_site_is_lang.' <a class="psf" href="'.BASE.'rss/">RSS-Enabled</a></font></center>';
}
}
echo '</font></center>';
?>
\ No newline at end of file @@ -49,7 +49,7 @@ <meta http-equiv="content-type" content="text/html;charset=UTF-8"> <title><?php echo "$calendar_name - $display_month"; ?></title> <link rel="stylesheet" type="text/css" href="styles/<?php echo "$style_sheet/default.css"; ?>"> - <?php include "functions/event.js"; ?> + <?php include (BASE.'functions/event.js'); ?> </head> <body> <?php include ('./header.inc.php'); ?> @@ -2,6 +2,7 @@ $current_view = "week"; include("./functions/ical_parser.php"); +define('BASE', './'); if ($minical_view == "current") $minical_view = "week"; $starttime = "0500"; @@ -56,10 +57,10 @@ for ($i=0;$i<7;$i++) { <meta http-equiv="content-type" content="text/html;charset=UTF-8"> <title><?php echo "$calendar_name - $display_date"; ?></title> <link rel="stylesheet" type="text/css" href="styles/<?php echo "$style_sheet/default.css"; ?>"> - <?php include "functions/event.js"; ?> + <?php include BASE.'functions/event.js'; ?> </head> <body bgcolor="#FFFFFF"> -<?php include ('./header.inc.php'); ?> +<?php include (BASE.'header.inc.php'); ?> <center> <table border="0" width="720" cellspacing="0" cellpadding="0"> <tr> |