aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-11-02 06:17:55 +0000
committerChad Little <clittle@users.sourceforge.net>2002-11-02 06:17:55 +0000
commit01b111e13861069874bb3e0d8d46d885789b5fb5 (patch)
tree1dd8d4245e0283c954c5f4c4aa4657c2b79b4993
parentbe6ba2fc065a5995af43c3c69d291f76e422e816 (diff)
downloadphpicalendar-01b111e13861069874bb3e0d8d46d885789b5fb5.tar.gz
phpicalendar-01b111e13861069874bb3e0d8d46d885789b5fb5.tar.bz2
phpicalendar-01b111e13861069874bb3e0d8d46d885789b5fb5.zip
Added header.inc.php
-rw-r--r--config.inc.php1
-rw-r--r--day.php1
-rw-r--r--footer.inc.php2
-rw-r--r--header.inc.php2
-rw-r--r--month.php1
-rw-r--r--print.php1
-rw-r--r--rss/index.php1
-rw-r--r--search.php1
-rw-r--r--week.php1
-rw-r--r--year.php1
10 files changed, 10 insertions, 2 deletions
diff --git a/config.inc.php b/config.inc.php
index ea68a5f..50e7e00 100644
--- a/config.inc.php
+++ b/config.inc.php
@@ -34,6 +34,7 @@ $use_color_cals = 'yes'; // Display each calendar in the pop-up as a differe
$daysofweek_dayview = 'no'; // Display the days of the week in day.php view.
$enable_rss = 'yes'; // Enable RSS access to your calendars (good thing).
$show_search = 'yes'; // Show the search box in the sidebar.
+$header_always = 'no'; // Set to yes to have header on print.php
$blacklisted_cals[] = ''; // Fill in between the quotes the name of the calendars
$blacklisted_cals[] = ''; // you wish to 'blacklist' or that you don't want to show up in your calendar
diff --git a/day.php b/day.php
index b4bbe06..df1f7ba 100644
--- a/day.php
+++ b/day.php
@@ -54,6 +54,7 @@ if (is_array($master_array[($getdate)])) {
<?php include ('./functions/event.js'); ?>
</head>
<body bgcolor="#FFFFFF">
+<?php include ('./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 4ee0979..9d39f65 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 $version_lang</a>"; if ($enable_rss == 'yes') { echo "<br>\n"; 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/\">PHP iCalendar 0.8.1</a>"; if ($enable_rss == 'yes') { echo "<br>\n"; 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/header.inc.php b/header.inc.php
index 8f994dc..dd04060 100644
--- a/header.inc.php
+++ b/header.inc.php
@@ -1 +1 @@
-<?php $header_always = 'no'; // Set to 'yes' if you want the header on EVERY page, even print view. ?> <-- Add what html you want to appear on the top of every page below --> \ No newline at end of file
+<?php /* Begin Custom Header */ ?> <?php /* End Custom Header */ ?> \ No newline at end of file
diff --git a/month.php b/month.php
index 3d0fed9..65b3542 100644
--- a/month.php
+++ b/month.php
@@ -52,6 +52,7 @@
<?php include "functions/event.js"; ?>
</head>
<body>
+<?php include ('./header.inc.php'); ?>
<center>
<table width="735" border="0" cellspacing="0" cellpadding="0" class="calborder">
<tr>
diff --git a/print.php b/print.php
index 97b3a29..9cd627c 100644
--- a/print.php
+++ b/print.php
@@ -47,6 +47,7 @@ if ($printview == 'day') {
<link rel="stylesheet" type="text/css" href="styles/<?php echo $style_sheet.'/default.css'; ?>">
</head>
<body bgcolor="#FFFFFF">
+<?php if ($header_always == 'yes') include ('./header.inc.php'); ?>
<center>
<table border="0" width="700" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="calborder">
<tr>
diff --git a/rss/index.php b/rss/index.php
index 341d44c..7491658 100644
--- a/rss/index.php
+++ b/rss/index.php
@@ -14,6 +14,7 @@ $default_path = 'http://'.$HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_V
<link rel="stylesheet" type="text/css" href="<?php echo BASE."styles/$style_sheet/default.css"; ?>">
</head>
<body bgcolor="#FFFFFF">
+<?php include ('./header.inc.php'); ?>
<center>
<table border="0" width="700" cellspacing="0" cellpadding="0">
<tr>
diff --git a/search.php b/search.php
index b0f70e7..37c87cd 100644
--- a/search.php
+++ b/search.php
@@ -97,6 +97,7 @@ $search_took = number_format(($search_ended-$search_started),3);
<link rel="stylesheet" type="text/css" href="styles/<?php echo $style_sheet.'/default.css'; ?>">
</head>
<body bgcolor="#FFFFFF">
+<?php include ('./header.inc.php'); ?>
<center>
<table border="0" width="700" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="calborder">
<tr>
diff --git a/week.php b/week.php
index a7bb38b..28dc50d 100644
--- a/week.php
+++ b/week.php
@@ -59,6 +59,7 @@ for ($i=0;$i<7;$i++) {
<?php include "functions/event.js"; ?>
</head>
<body bgcolor="#FFFFFF">
+<?php include ('./header.inc.php'); ?>
<center>
<table border="0" width="720" cellspacing="0" cellpadding="0">
<tr>
diff --git a/year.php b/year.php
index d634ac9..f40b732 100644
--- a/year.php
+++ b/year.php
@@ -32,6 +32,7 @@ $thisday2 = localizeDate($dateFormat_week_list, $unix_time);
<meta name="generator" content="BBEdit 6.5.3">
</head>
<body>
+<?php include ('./header.inc.php'); ?>
<center>
<table width="676" border="0" cellspacing="0" cellpadding="0" class="calborder">
<tr>

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