aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-03 02:18:48 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-03 02:18:48 +0000
commita1434001c76636f29a3135c44c602b8232fc93e9 (patch)
treeffb8e9fc7aa7b567108f99552544347a21cef76b
parent15bcf1518fb76476decaf23714f80237014bc8ae (diff)
downloadphpicalendar-a1434001c76636f29a3135c44c602b8232fc93e9.zip
phpicalendar-a1434001c76636f29a3135c44c602b8232fc93e9.tar.gz
phpicalendar-a1434001c76636f29a3135c44c602b8232fc93e9.tar.bz2
Initial Themes check-in for 0.6
-rw-r--r--config.inc.php2
-rw-r--r--day.php10
-rw-r--r--month.php10
-rw-r--r--month_bottom.php10
-rw-r--r--sidebar.php40
-rw-r--r--styles/green/default.css (renamed from styles/green.css)0
-rw-r--r--styles/red/default.css (renamed from styles/red.css)0
-rw-r--r--styles/silver/allday_bg.gif (renamed from images/allday_bg.gif)bin553 -> 553 bytes
-rw-r--r--styles/silver/default.css (renamed from styles/default.css)8
-rw-r--r--styles/silver/download_arrow.gif (renamed from images/download_arrow.gif)bin343 -> 343 bytes
-rw-r--r--styles/silver/grey_small.gif (renamed from images/grey_small.gif)bin136 -> 136 bytes
-rw-r--r--styles/silver/left_arrows.gif (renamed from images/left_arrows.gif)bin98 -> 98 bytes
-rw-r--r--styles/silver/left_day.gif (renamed from images/left_day.gif)bin1064 -> 1064 bytes
-rw-r--r--styles/silver/right_arrows.gif (renamed from images/right_arrows.gif)bin98 -> 98 bytes
-rw-r--r--styles/silver/right_day.gif (renamed from images/right_day.gif)bin1063 -> 1063 bytes
-rw-r--r--styles/silver/side_bg.gif (renamed from images/side_bg.gif)bin237 -> 237 bytes
-rw-r--r--styles/silver/smallicon.gif (renamed from images/smallicon.gif)bin111 -> 111 bytes
-rw-r--r--styles/silver/spacer.gifbin0 -> 807 bytes
-rw-r--r--styles/silver/time_bg.gif (renamed from images/time_bg.gif)bin964 -> 964 bytes
-rw-r--r--week.php12
20 files changed, 47 insertions, 45 deletions
diff --git a/config.inc.php b/config.inc.php
index 43f61ca..cc56c0a 100644
--- a/config.inc.php
+++ b/config.inc.php
@@ -1,6 +1,6 @@
<?php
-$style_sheet = "default.css"; // Themes support - "default.css", "red.css", "green.css"
+$style_sheet = "silver"; // Themes support
$calendar_path = "./calendars"; // path to directory with calendars
$default_view = "day"; // default view for calendars = "day", "week", "month"
$default_cal = "Home"; // exact filename of calendar without .ics
diff --git a/day.php b/day.php
index db477eb..2c05534 100644
--- a/day.php
+++ b/day.php
@@ -70,7 +70,7 @@ if ($master_array[($getdate)]) {
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title><?php echo "$calendar_name"; ?></title>
- <link rel="stylesheet" type="text/css" href="styles/<?php echo "$style_sheet"; ?>">
+ <link rel="stylesheet" type="text/css" href="styles/<?php echo "$style_sheet/default.css"; ?>">
<?php include "functions/event.js"; ?>
</head>
<body bgcolor="#FFFFFF">
@@ -83,9 +83,9 @@ if ($master_array[($getdate)]) {
<td align="center" valign="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
<tr>
- <td width="75" background="images/time_bg.gif"><?php echo "<a class=\"psf\" href=\"day.php?cal=$cal&getdate=$yesterdays_date\"><img src=\"images/left_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"left\"></a>"; ?></td>
- <td class="H20" align="center" bgcolor="#DDDDDD" background="images/time_bg.gif"><?php echo "$display_date"; ?></td>
- <td width="75" background="images/time_bg.gif"><?php echo "<a class=\"psf\" href=\"day.php?cal=$cal&getdate=$tomorrows_date\"><img src=\"images/right_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td width="75" class="navback"><?php echo "<a class=\"psf\" href=\"day.php?cal=$cal&getdate=$yesterdays_date\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"left\"></a>"; ?></td>
+ <td align="center" class="navback"><font class="H20"><?php echo "$display_date"; ?></font></td>
+ <td width="75" class="navback"><?php echo "<a class=\"psf\" href=\"day.php?cal=$cal&getdate=$tomorrows_date\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"right\"></a>"; ?></td>
</tr>
<?php
@@ -235,7 +235,7 @@ if ($master_array[($getdate)]) {
</td>
<td width="20"><img src="images/spacer.gif" width="20" height="1" alt=""></td>
<td width="160" valign="top"><?php include('./sidebar.php'); ?><center>
- <?php echo "<font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://sourceforge.net/projects/phpicalendar/\">PHP iCalendar $version_lang</a></font>"; ?></center></td>
+ <?php echo "<font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/\">PHP iCalendar $version_lang</a></font>"; ?></center></td>
</tr>
</table>
</center>
diff --git a/month.php b/month.php
index 2e83748..cb02bbb 100644
--- a/month.php
+++ b/month.php
@@ -31,7 +31,7 @@
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title><?php echo "$calendar_name"; ?></title>
- <link rel="stylesheet" type="text/css" href="styles/<?php echo "$style_sheet"; ?>">
+ <link rel="stylesheet" type="text/css" href="styles/<?php echo "$style_sheet/default.css"; ?>">
<?php include "functions/event.js"; ?>
</head>
<body>
@@ -41,9 +41,9 @@
<td align="center" valign="middle" bgcolor="white">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td width="75" background="images/time_bg.gif"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&getdate=$prev_month\"><img src=\"images/left_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"left\"></a>"; ?></td>
- <td class="H20" align="center" bgcolor="#DDDDDD" background="images/time_bg.gif"><?php echo "$display_month"; ?></td>
- <td width="75" background="images/time_bg.gif"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&getdate=$next_month\"><img src=\"images/right_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td width="75" class="navback"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&getdate=$prev_month\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"left\"></a>"; ?></td>
+ <td align="center" class="navback"><font class="H20"><?php echo "$display_month"; ?></font></td>
+ <td width="75" class="navback"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&getdate=$next_month\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"right\"></a>"; ?></td>
</tr>
</table>
</td>
@@ -176,7 +176,7 @@
<?php include "./month_bottom.php"; ?>
<br>
-<?php echo "<font class=\"V9\">$powered_by_lang <a class=\"psf\" href=\"http://sourceforge.net/projects/phpicalendar/\">PHP iCalendar $version_lang</a>"; ?>
+<?php echo "<font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/\">PHP iCalendar $version_lang</a></font>"; ?></center></td>
</center>
</body>
</html>
diff --git a/month_bottom.php b/month_bottom.php
index a9a4e4c..50fb6a7 100644
--- a/month_bottom.php
+++ b/month_bottom.php
@@ -10,9 +10,9 @@
<br>
<table border="0" width="737" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="calborder">
<tr>
- <td align="left" valign="top" bgcolor="#DDDDDD" width="1%" background="images/side_bg.gif"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&getdate=$prev_month\"><img src=\"images/left_arrows.gif\" alt=\"right\" width=\"16\" height=\"20\" border=\"0\" align=\"left\"></a>"; ?></td>
- <td bgcolor="#DDDDDD" align="center" class="G10B" background="images/side_bg.gif"><b><?php print (strftime ($dateFormat_day, strtotime($getdate))); ?></b></td>
- <td align="right" valign="top" bgcolor="#DDDDDD" width="1%" background="images/side_bg.gif"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&getdate=$next_month\"><img src=\"images/right_arrows.gif\" alt=\"right\" width=\"16\" height=\"20\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td align="left" valign="top" width="1%" class="sideback"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&getdate=$prev_month\"><img src=\"styles/$style_sheet/left_arrows.gif\" alt=\"right\" width=\"16\" height=\"20\" border=\"0\" align=\"left\"></a>"; ?></td>
+ <td align="center" class="sideback"><font class="G10B"><b><?php print (strftime ($dateFormat_day, strtotime($getdate))); ?></b></font></td>
+ <td align="right" valign="top" width="1%" class="sideback"><?php echo "<a class=\"psf\" href=\"month.php?cal=$cal&getdate=$next_month\"><img src=\"styles/$style_sheet/right_arrows.gif\" alt=\"right\" width=\"16\" height=\"20\" border=\"0\" align=\"right\"></a>"; ?></td>
</tr>
<tr>
<td colspan="3"><img src="images/spacer.gif" width="1" height="5"></td>
@@ -201,13 +201,13 @@
</tr>
<tr>
<td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
- <td width="1%" align="middle"><?php echo "<a class=\"psf\" href=\"$fullpath$cal.ics\"><img src=\"images/smallicon.gif\" alt=\"\" width=\"13\" height=\"16\" border=\"0\" align=\"middle\"></a>"; ?></td>
+ <td width="1%" align="middle"><?php echo "<a class=\"psf\" href=\"$fullpath$cal.ics\"><img src=\"styles/$style_sheet/smallicon.gif\" alt=\"\" width=\"13\" height=\"16\" border=\"0\" align=\"middle\"></a>"; ?></td>
<td width="1%"><img src="images/spacer.gif" width="3" height="1"></td>
<td colspan="4" class="G10B"><?php echo "<a class=\"psf\" href=\"$fullpath$cal.ics\">$subscribe_lang</a>"; ?></td>
</tr>
<tr>
<td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
- <td width="1%" align="middle"><?php echo "<a class=\"psf\" href=\"$filename\"><img src=\"images/download_arrow.gif\" alt=\"\" width=\"13\" height=\"16\" border=\"0\" align=\"middle\"></a>"; ?></td>
+ <td width="1%" align="middle"><?php echo "<a class=\"psf\" href=\"$filename\"><img src=\"styles/$style_sheet/download_arrow.gif\" alt=\"\" width=\"13\" height=\"16\" border=\"0\" align=\"middle\"></a>"; ?></td>
<td width="1%"><img src="images/spacer.gif" width="3" height="1"></td>
<td colspan="4" class="G10B"><?php echo "<a class=\"psf\" href=\"$filename\">$download_lang</a>"; ?></td>
</tr>
diff --git a/sidebar.php b/sidebar.php
index 3dc89cf..b261e18 100644
--- a/sidebar.php
+++ b/sidebar.php
@@ -13,9 +13,9 @@
<td valign="center" align="center">
<table width="160" border="0" cellpadding="0" cellspacing="0" class="calborder">
<tr>
- <td align="left" valign="top" bgcolor="#DDDDDD" width="1%" background="images/side_bg.gif"><?php echo "<a class=\"psf\" href=\"day.php?cal=$cal&getdate=$yesterdays_date\"><img src=\"images/left_arrows.gif\" alt=\"right\" width=\"16\" height=\"20\" border=\"0\" align=\"left\"></a>"; ?></td>
- <td bgcolor="#DDDDDD" align="center" class="G10B" width="98%" background="images/side_bg.gif"><b><?php echo "$thisday2"; ?></b></td>
- <td align="right" valign="top" bgcolor="#DDDDDD" width="1%" background="images/side_bg.gif"><?php echo "<a class=\"psf\" href=\"day.php?cal=$cal&getdate=$tomorrows_date\"><img src=\"images/right_arrows.gif\" alt=\"right\" width=\"16\" height=\"20\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td align="left" valign="top" bgcolor="#DDDDDD" width="1%" class="sideback"><?php echo "<a class=\"psf\" href=\"day.php?cal=$cal&getdate=$yesterdays_date\"><img src=\"styles/$style_sheet/left_arrows.gif\" alt=\"right\" width=\"16\" height=\"20\" border=\"0\" align=\"left\"></a>"; ?></td>
+ <td bgcolor="#DDDDDD" align="center" width="98%" class="sideback"><font class="G10B"><b><?php echo "$thisday2"; ?></b></font></td>
+ <td align="right" valign="top" bgcolor="#DDDDDD" width="1%" class="sideback"><?php echo "<a class=\"psf\" href=\"day.php?cal=$cal&getdate=$tomorrows_date\"><img src=\"styles/$style_sheet/right_arrows.gif\" alt=\"right\" width=\"16\" height=\"20\" border=\"0\" align=\"right\"></a>"; ?></td>
</tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF" align="center">
@@ -53,13 +53,13 @@
</tr>
<tr>
<td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
- <td width="1%" align="middle"><?php echo "<a class=\"psf\" href=\"$fullpath$cal.ics\"><img src=\"images/smallicon.gif\" alt=\"\" width=\"13\" height=\"16\" border=\"0\" align=\"middle\"></a>"; ?></td>
+ <td width="1%" align="middle"><?php echo "<a class=\"psf\" href=\"$fullpath$cal.ics\"><img src=\"styles/$style_sheet/smallicon.gif\" alt=\"\" width=\"13\" height=\"16\" border=\"0\" align=\"middle\"></a>"; ?></td>
<td width="1%"><img src="images/spacer.gif" width="3" height="1"></td>
<td colspan="4" class="G10B"><?php echo "<a class=\"psf\" href=\"$fullpath$cal.ics\">$subscribe_lang</a>"; ?></td>
</tr>
<tr>
<td width="1%"><img src="images/spacer.gif" width="4" height="1"></td>
- <td width="1%" align="middle"><?php echo "<a class=\"psf\" href=\"$filename\"><img src=\"images/download_arrow.gif\" alt=\"\" width=\"13\" height=\"16\" border=\"0\" align=\"middle\"></a>"; ?></td>
+ <td width="1%" align="middle"><?php echo "<a class=\"psf\" href=\"$filename\"><img src=\"styles/$style_sheet/download_arrow.gif\" alt=\"\" width=\"13\" height=\"16\" border=\"0\" align=\"middle\"></a>"; ?></td>
<td width="1%"><img src="images/spacer.gif" width="3" height="1"></td>
<td colspan="4" class="G10B"><?php echo "<a class=\"psf\" href=\"$filename\">$download_lang</a>"; ?></td>
</tr>
@@ -79,9 +79,9 @@
<td valign="center" align="center">
<table width="160" border="0" cellpadding="0" cellspacing="0" class="calborder">
<tr>
- <td align="left" valign="top" bgcolor="#DDDDDD" width="1%" background="images/side_bg.gif"><img src="images/spacer.gif" width="1" height="20"></td>
- <td bgcolor="#DDDDDD" align="center" class="G10B" width="98%" background="images/side_bg.gif"><b><?php echo "$jump_lang"; ?></b></td>
- <td align="right" valign="top" bgcolor="#DDDDDD" width="1%" background="images/side_bg.gif"></td>
+ <td align="left" valign="top" bgcolor="#DDDDDD" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <td bgcolor="#DDDDDD" align="center" width="98%" class="sideback"><font class="G10B"><b><?php echo "$jump_lang"; ?></b></font></td>
+ <td align="right" valign="top" bgcolor="#DDDDDD" width="1%" class="sideback"></td>
</tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF" align="center">
@@ -140,9 +140,9 @@
<td valign="center" align="center">
<table width="160" border="0" cellpadding="0" cellspacing="0" class="calborder">
<tr>
- <td align="left" valign="top" bgcolor="#DDDDDD" width="1%" background="images/side_bg.gif"><img src="images/spacer.gif" width="1" height="20"></td>
- <td bgcolor="#DDDDDD" align="center" width="98%" background="images/side_bg.gif"><font class="G10B"><b><?php echo "$tomorrows_lang"; ?></b></font></td>
- <td align="right" valign="top" bgcolor="#DDDDDD" width="1%" background="images/side_bg.gif"></td>
+ <td align="left" valign="top" bgcolor="#DDDDDD" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <td bgcolor="#DDDDDD" align="center" width="98%" class="sideback"><font class="G10B"><b><?php echo "$tomorrows_lang"; ?></b></font></td>
+ <td align="right" valign="top" bgcolor="#DDDDDD" width="1%" class="sideback"></td>
</tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF" align="center">
@@ -204,9 +204,9 @@
<td valign="center" align="center">
<table width="160" border="0" cellpadding="0" cellspacing="0" class="calborder">
<tr>
- <td align="left" valign="top" bgcolor="#DDDDDD" width="1" background="images/side_bg.gif"><img src="images/spacer.gif" width="1" height="20"></td>
- <td bgcolor="#DDDDDD" align="center" class="G10B" background="images/side_bg.gif"><b><?php print (strftime ($dateFormat_month, strtotime("-1 month", strtotime($getdate)))); ?></b></td>
- <td align="right" valign="top" bgcolor="#DDDDDD" width="1" background="images/side_bg.gif"></td>
+ <td align="left" valign="top" bgcolor="#DDDDDD" width="1" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <td bgcolor="#DDDDDD" align="center" class="sideback"><b><font class="G10B"><?php print (strftime ($dateFormat_month, strtotime("-1 month", strtotime($getdate)))); ?></b></font></td>
+ <td align="right" valign="top" bgcolor="#DDDDDD" width="1" class="sideback"></td>
</tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF" align="center">
@@ -284,9 +284,9 @@
<td valign="center" align="center">
<table width="160" border="0" cellpadding="0" cellspacing="0" class="calborder">
<tr>
- <td align="left" valign="top" bgcolor="#DDDDDD" width="1" background="images/side_bg.gif"><img src="images/spacer.gif" width="1" height="20"></td>
- <td bgcolor="#DDDDDD" align="center" class="G10B" background="images/side_bg.gif"><b><?php print (strftime ($dateFormat_month, strtotime($getdate))); ?></b></td>
- <td align="right" valign="top" bgcolor="#DDDDDD" width="1" background="images/side_bg.gif"></td>
+ <td align="left" valign="top" bgcolor="#DDDDDD" width="1" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <td bgcolor="#DDDDDD" align="center" class="sideback"><font class="G10B"><b><?php print (strftime ($dateFormat_month, strtotime($getdate))); ?></b></font></td>
+ <td align="right" valign="top" bgcolor="#DDDDDD" width="1" class="sideback"></td>
</tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF" align="center">
@@ -364,9 +364,9 @@
<td valign="center" align="center">
<table width="160" border="0" cellpadding="0" cellspacing="0" class="calborder">
<tr>
- <td align="left" valign="top" bgcolor="#DDDDDD" width="1" background="images/side_bg.gif"><img src="images/spacer.gif" width="1" height="20"></td>
- <td bgcolor="#DDDDDD" align="center" class="G10B" background="images/side_bg.gif"><b><?php print (strftime ($dateFormat_month, strtotime("+1 month", strtotime($getdate)))); ?></b></td>
- <td align="right" valign="top" bgcolor="#DDDDDD" width="1" background="images/side_bg.gif"></td>
+ <td align="left" valign="top" bgcolor="#DDDDDD" width="1" class="sideback"><img src="images/spacer.gif" width="1" height="20"></td>
+ <td bgcolor="#DDDDDD" align="center" class="sideback"><font class="G10B"><b><?php print (strftime ($dateFormat_month, strtotime("+1 month", strtotime($getdate)))); ?></b></font></td>
+ <td align="right" valign="top" bgcolor="#DDDDDD" width="1" class="sideback"></td>
</tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF" align="center">
diff --git a/styles/green.css b/styles/green/default.css
index 167b855..167b855 100644
--- a/styles/green.css
+++ b/styles/green/default.css
diff --git a/styles/red.css b/styles/red/default.css
index 6ad2e67..6ad2e67 100644
--- a/styles/red.css
+++ b/styles/red/default.css
diff --git a/images/allday_bg.gif b/styles/silver/allday_bg.gif
index 2af42e2..2af42e2 100644
--- a/images/allday_bg.gif
+++ b/styles/silver/allday_bg.gif
Binary files differ
diff --git a/styles/default.css b/styles/silver/default.css
index 9a17d5c..3f4a4a9 100644
--- a/styles/default.css
+++ b/styles/silver/default.css
@@ -1,4 +1,4 @@
-/* Style sheet for the blue calendar (default) */
+/* Style sheet for the silver calendar (default) */
.eventborder { background-color: #336699; border: 1px #006699 solid; }
.eventbg { background-color: #6699CC; }
@@ -10,9 +10,11 @@
.dayborder2 { border-top: 1px dashed #CCCCCC; }
.weekborder { border-top: 1px dashed #A1A5A9; border-right: 1px solid #A1A5A9; }
.weekborder2 { border-right: 1px solid #A1A5A9; }
-.timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; }
-.timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; }
+.timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; background-image: url(time_bg.gif); }
+.timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; background-image: url(time_bg.gif); }
+.navback { background-image: url(time_bg.gif); }
+.sideback { background-image: url(side_bg.gif); }
a.psf {
text-decoration: none;
diff --git a/images/download_arrow.gif b/styles/silver/download_arrow.gif
index 6108f32..6108f32 100644
--- a/images/download_arrow.gif
+++ b/styles/silver/download_arrow.gif
Binary files differ
diff --git a/images/grey_small.gif b/styles/silver/grey_small.gif
index 4f2cc9e..4f2cc9e 100644
--- a/images/grey_small.gif
+++ b/styles/silver/grey_small.gif
Binary files differ
diff --git a/images/left_arrows.gif b/styles/silver/left_arrows.gif
index 03b918c..03b918c 100644
--- a/images/left_arrows.gif
+++ b/styles/silver/left_arrows.gif
Binary files differ
diff --git a/images/left_day.gif b/styles/silver/left_day.gif
index 92996c7..92996c7 100644
--- a/images/left_day.gif
+++ b/styles/silver/left_day.gif
Binary files differ
diff --git a/images/right_arrows.gif b/styles/silver/right_arrows.gif
index 092c34d..092c34d 100644
--- a/images/right_arrows.gif
+++ b/styles/silver/right_arrows.gif
Binary files differ
diff --git a/images/right_day.gif b/styles/silver/right_day.gif
index b0e177d..b0e177d 100644
--- a/images/right_day.gif
+++ b/styles/silver/right_day.gif
Binary files differ
diff --git a/images/side_bg.gif b/styles/silver/side_bg.gif
index 67c9a3d..67c9a3d 100644
--- a/images/side_bg.gif
+++ b/styles/silver/side_bg.gif
Binary files differ
diff --git a/images/smallicon.gif b/styles/silver/smallicon.gif
index db52d9e..db52d9e 100644
--- a/images/smallicon.gif
+++ b/styles/silver/smallicon.gif
Binary files differ
diff --git a/styles/silver/spacer.gif b/styles/silver/spacer.gif
new file mode 100644
index 0000000..cd29009
--- /dev/null
+++ b/styles/silver/spacer.gif
Binary files differ
diff --git a/images/time_bg.gif b/styles/silver/time_bg.gif
index 8f1a3ee..8f1a3ee 100644
--- a/images/time_bg.gif
+++ b/styles/silver/time_bg.gif
Binary files differ
diff --git a/week.php b/week.php
index 496252a..28b5952 100644
--- a/week.php
+++ b/week.php
@@ -61,7 +61,7 @@ for ($i=0;$i<7;$i++) {
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title><?php echo "$calendar_name"; ?></title>
- <link rel="stylesheet" type="text/css" href="styles/<?php echo "$style_sheet"; ?>">
+ <link rel="stylesheet" type="text/css" href="styles/<?php echo "$style_sheet/default.css"; ?>">
<?php include "functions/event.js"; ?>
</head>
<body bgcolor="#FFFFFF">
@@ -74,9 +74,9 @@ for ($i=0;$i<7;$i++) {
<td align="center" valign="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
<tr>
- <td width="75" background="images/time_bg.gif"><?php echo "<a class=\"psf\" href=\"week.php?cal=$cal&getdate=$prev_week\"><img src=\"images/left_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"left\"></a>"; ?></td>
- <td class="H20" align="center" bgcolor="#DDDDDD" background="images/time_bg.gif"><?php echo "$display_date"; ?></td>
- <td width="75" background="images/time_bg.gif"><?php echo "<a class=\"psf\" href=\"week.php?cal=$cal&getdate=$next_week\"><img src=\"images/right_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td width="75" class="navback"><?php echo "<a class=\"psf\" href=\"week.php?cal=$cal&getdate=$prev_week\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"left\"></a>"; ?></td>
+ <td align="center" class="navback"><font class="H20"><?php echo "$display_date"; ?></font></td>
+ <td width="75" class="navback"><?php echo "<a class=\"psf\" href=\"week.php?cal=$cal&getdate=$next_week\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"\" width=\"28\" height=\"28\" border=\"0\" align=\"right\"></a>"; ?></td>
</tr>
<tr>
<td align="center" valign="top" colspan="3">
@@ -163,7 +163,7 @@ for ($i=0;$i<7;$i++) {
if (ereg("([0-9]{1,2}):00", $key)) {
echo "<tr height=\"" . $gridLength . "\">\n";
- echo "<td rowspan=\"" . (60 / $gridLength) . "\" align=\"center\" valign=\"top\" background=\"images/time_bg.gif\" width=\"60\" class=\"timeborder\">$key</td>\n";
+ echo "<td rowspan=\"" . (60 / $gridLength) . "\" align=\"center\" valign=\"top\" width=\"60\" class=\"timeborder\">$key</td>\n";
echo "<td width=\"1\" height=\"" . $gridLength . "\"></td>\n";
} else {
@@ -303,7 +303,7 @@ for ($i=0;$i<7;$i++) {
</td>
<td width="20"><img src="images/spacer.gif" width="20" height="1" alt=""></td>
<td width="160" valign="top"><?php include('./sidebar.php'); ?><center>
- <?php echo "<font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://sourceforge.net/projects/phpicalendar/\">PHP iCalendar $version_lang</a></font>"; ?></center></td>
+ <?php echo "<font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/\">PHP iCalendar $version_lang</a></font>"; ?></center></td>
</tr>
</table>
</center>

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