diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-11-02 06:17:55 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-11-02 06:17:55 +0000 |
commit | 01b111e13861069874bb3e0d8d46d885789b5fb5 (patch) | |
tree | 1dd8d4245e0283c954c5f4c4aa4657c2b79b4993 | |
parent | be6ba2fc065a5995af43c3c69d291f76e422e816 (diff) | |
download | phpicalendar-01b111e13861069874bb3e0d8d46d885789b5fb5.tar.gz phpicalendar-01b111e13861069874bb3e0d8d46d885789b5fb5.tar.bz2 phpicalendar-01b111e13861069874bb3e0d8d46d885789b5fb5.zip |
Added header.inc.php
-rw-r--r-- | config.inc.php | 1 | ||||
-rw-r--r-- | day.php | 1 | ||||
-rw-r--r-- | footer.inc.php | 2 | ||||
-rw-r--r-- | header.inc.php | 2 | ||||
-rw-r--r-- | month.php | 1 | ||||
-rw-r--r-- | print.php | 1 | ||||
-rw-r--r-- | rss/index.php | 1 | ||||
-rw-r--r-- | search.php | 1 | ||||
-rw-r--r-- | week.php | 1 | ||||
-rw-r--r-- | year.php | 1 |
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 @@ -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 @@ -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> @@ -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> @@ -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> @@ -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> @@ -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> |