aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-27 20:56:29 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-27 20:56:29 +0000
commit932108c2d90575364e9fd4813d2b3e0c7ab16287 (patch)
treea66823a0cc4b0dd9da5f405b5ded1548e70d5785
parent21740bdeca83b469a7ec4c67da1aa6c02b2c2465 (diff)
downloadphpicalendar-932108c2d90575364e9fd4813d2b3e0c7ab16287.tar.gz
phpicalendar-932108c2d90575364e9fd4813d2b3e0c7ab16287.tar.bz2
phpicalendar-932108c2d90575364e9fd4813d2b3e0c7ab16287.zip
Fixed PC viewing errors, added back button for print.php.
-rw-r--r--month.php2
-rw-r--r--month_bottom.php4
-rw-r--r--print.php6
-rw-r--r--rss/index.php2
-rw-r--r--sidebar.php2
-rw-r--r--styles/green/back.gifbin0 -> 424 bytes
-rw-r--r--styles/grey/back.gifbin0 -> 427 bytes
-rw-r--r--styles/orange/back.gifbin0 -> 425 bytes
-rw-r--r--styles/red/back.gifbin0 -> 423 bytes
-rw-r--r--styles/silver/back.gifbin0 -> 419 bytes
-rw-r--r--styles/tan/back.gifbin0 -> 428 bytes
11 files changed, 8 insertions, 8 deletions
diff --git a/month.php b/month.php
index 967c9f3..3554b93 100644
--- a/month.php
+++ b/month.php
@@ -154,7 +154,7 @@
$event_end = '';
echo "<td><font class=\"V10\"><center><a class=\"psf\" href=\"javascript:openEventInfo('$event_text2', '$calendar_name2', '$event_start', '$event_end', '$description')\"><i>$event_text</i></a></center></font></td>\n";
} else {
- echo "<td><a class=\"psf\" href=\"javascript:openEventInfo('$event_text2', '$calendar_name2', '$event_start', '$event_end', '$description')\"><font class=\"V9\">&nbsp;$event_start2 $event_text</font></a></td>\n";
+ echo "<td align=\"left\" valign=\"top\"><a class=\"psf\" href=\"javascript:openEventInfo('$event_text2', '$calendar_name2', '$event_start', '$event_end', '$description')\"><font class=\"V9\">&nbsp;$event_start2 $event_text</font></a></td>\n";
}
echo "</tr>\n";
echo "</table>\n";
diff --git a/month_bottom.php b/month_bottom.php
index 24a9801..925bd6f 100644
--- a/month_bottom.php
+++ b/month_bottom.php
@@ -389,8 +389,8 @@
$event_end = '';
}
echo "<tr>\n";
- echo "<td width =\"160\" class=\"montheventline\" nowrap><font $fontclass>&nbsp;<a class=\"psf\" href=\"day.php?cal=$cal&getdate=$key\">$dayofmonth</a></font> <font class=\"V9G\">($event_start)</font></td>\n";
- echo "<td colspan=\"2\">\n";
+ echo "<td align=\"left\" valign=\"top\" width =\"160\" class=\"montheventline\" nowrap><font $fontclass>&nbsp;<a class=\"psf\" href=\"day.php?cal=$cal&getdate=$key\">$dayofmonth</a></font> <font class=\"V9G\">($event_start)</font></td>\n";
+ echo "<td align=\"left\" valign=\"top\" colspan=\"2\">\n";
echo "&nbsp;<a class=\"psf\" href=\"javascript:openEventInfo('$event_text2', '$calendar_name', '$event_start2', '$event_end', '$description')\"><font class=\"G10B\">$event_text</font></a>\n";
echo "</td>\n";
echo "</tr>\n";
diff --git a/print.php b/print.php
index b00ccdb..b06d4e9 100644
--- a/print.php
+++ b/print.php
@@ -45,12 +45,12 @@ if ($printview == 'day') {
</head>
<body bgcolor="#FFFFFF">
<center>
-<table border="0" width="737" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="calborder">
+<table border="0" width="700" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="calborder">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td align="left" width="90" class="navback">&nbsp;</td>
+ <td align="left" width="90" class="navback"><?php echo '<a href="'.$printview.'.php?cal='.$cal.'&getdate='.$getdate.'"><img src="styles/'.$style_sheet.'/back.gif" alt="" border="0" align="left"></a>'; ?></td>
<td class="navback">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
@@ -95,7 +95,7 @@ if ($printview == 'day') {
$dayofmonth = strtotime ($key);
$dayofmonth = localizeDate ($dateFormat_day, $dayofmonth);
echo "<tr><td width=\"10\"><img src=\"images/spacer.gif\" width=\"10\" height=\"1\"></td>\n";
- echo "<td colspan=\"2\"><font class=\"V12\"><b>$dayofmonth</b></font></td></tr>";
+ echo "<td align=\"left\" colspan=\"2\"><font class=\"V12\"><b>$dayofmonth</b></font></td></tr>";
echo "<tr><td colspan=\"3\"><img src=\"images/spacer.gif\" width=\"1\" height=\"5\"></td></tr>\n";
// Pull out each day
diff --git a/rss/index.php b/rss/index.php
index 50ec607..8944232 100644
--- a/rss/index.php
+++ b/rss/index.php
@@ -35,7 +35,7 @@ include(BASE.'functions/ical_parser.php');
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
<tr>
<td width="2%"></td>
- <td width="98%" valign="top">
+ <td width="98%" valign="top" align="left">
<br>
<?php echo "$this_site_is_lang "; ?><a class="psf" href="http://www.oreillynet.com/rss/">RSS 0.91 enabled</a>.<br>
<br>
diff --git a/sidebar.php b/sidebar.php
index b4ef667..6ec77c1 100644
--- a/sidebar.php
+++ b/sidebar.php
@@ -189,7 +189,7 @@
$event_text = word_wrap($event_text, 21, $tomorrows_events_lines);
echo "<tr>\n";
echo "<td width=\"1%\"><img src=\"images/spacer.gif\" width=\"4\" height=\"1\"></td>";
- echo "<td colspan=\"6\" class=\"G10B\">\n";
+ echo "<td colspan=\"6\" class=\"G10B\" align=\"left\">\n";
if (!isset($val["event_start"])) {
$event_start = $all_day_lang;
$event_end = '';
diff --git a/styles/green/back.gif b/styles/green/back.gif
new file mode 100644
index 0000000..0925494
--- /dev/null
+++ b/styles/green/back.gif
Binary files differ
diff --git a/styles/grey/back.gif b/styles/grey/back.gif
new file mode 100644
index 0000000..bd561ae
--- /dev/null
+++ b/styles/grey/back.gif
Binary files differ
diff --git a/styles/orange/back.gif b/styles/orange/back.gif
new file mode 100644
index 0000000..eeebc50
--- /dev/null
+++ b/styles/orange/back.gif
Binary files differ
diff --git a/styles/red/back.gif b/styles/red/back.gif
new file mode 100644
index 0000000..5a61268
--- /dev/null
+++ b/styles/red/back.gif
Binary files differ
diff --git a/styles/silver/back.gif b/styles/silver/back.gif
new file mode 100644
index 0000000..92bf518
--- /dev/null
+++ b/styles/silver/back.gif
Binary files differ
diff --git a/styles/tan/back.gif b/styles/tan/back.gif
new file mode 100644
index 0000000..b234efe
--- /dev/null
+++ b/styles/tan/back.gif
Binary files differ

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