aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-11-24 01:36:00 +0000
committerChad Little <clittle@users.sourceforge.net>2002-11-24 01:36:00 +0000
commite1c61d0eec4ecfd7e5545dd10314c9819e2de179 (patch)
treed4d34913eada1c5483976e2eabd75f1389c946ab
parent216d855de51cac0a6efd716a7209051e4f73c4cb (diff)
downloadphpicalendar-e1c61d0eec4ecfd7e5545dd10314c9819e2de179.tar.gz
phpicalendar-e1c61d0eec4ecfd7e5545dd10314c9819e2de179.tar.bz2
phpicalendar-e1c61d0eec4ecfd7e5545dd10314c9819e2de179.zip
Added BASE to javascripts.
-rw-r--r--day.php4
-rw-r--r--footer.inc.php2
-rw-r--r--month.php2
-rw-r--r--week.php5
4 files changed, 7 insertions, 6 deletions
diff --git a/day.php b/day.php
index ffc3f12..266ba42 100644
--- a/day.php
+++ b/day.php
@@ -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
diff --git a/month.php b/month.php
index c1cb6a6..a37790f 100644
--- a/month.php
+++ b/month.php
@@ -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'); ?>
diff --git a/week.php b/week.php
index db00bf4..8f212f1 100644
--- a/week.php
+++ b/week.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>

© 2014-2024 Faster IT GmbH | imprint | privacy policy