aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-10-27 18:13:58 +0000
committerChad Little <clittle@users.sourceforge.net>2002-10-27 18:13:58 +0000
commit96b192f7a40bc9a5a28c1adeddfc62d3407a48ea (patch)
treea2919ec9ce2ec0f2da34acfbb4a0b9aeff90b6be
parentf8e16d8753d668998dacdb8567b639e84b3a4123 (diff)
downloadphpicalendar-96b192f7a40bc9a5a28c1adeddfc62d3407a48ea.tar.gz
phpicalendar-96b192f7a40bc9a5a28c1adeddfc62d3407a48ea.tar.bz2
phpicalendar-96b192f7a40bc9a5a28c1adeddfc62d3407a48ea.zip
Fixed parse error in config
-rw-r--r--config.inc.php2
-rw-r--r--print.php33
2 files changed, 29 insertions, 6 deletions
diff --git a/config.inc.php b/config.inc.php
index a55fc72..571e717 100644
--- a/config.inc.php
+++ b/config.inc.php
@@ -21,7 +21,7 @@ $allday_week_lines = '1'; // Number of lines to wrap each event title in al
$week_events_lines = '1'; // Number of lines to wrap each event title in the 'Tommorrow's events' box, 0 means display all lines.
$timezone = ''; // Set timezone. Read TIMEZONES file for more information
$default_path = 'http://ical.silter.org/phpicalendar';
-$tmp_dir = '/tmp' // The temporary directory on your system (/tmp is fine for UNIXes including OS X)
+$tmp_dir = '/tmp'; // The temporary directory on your system (/tmp is fine for UNIXes including OS X)
// Yes/No questions --- 'yes' means Yes, anything else means no. 'yes' must be lowercase.
$save_parsed_cals = 'no'; // Recommended 'yes'. Saves a copy of the cal in /tmp after it's been parsed. Improves performence.
diff --git a/print.php b/print.php
index 3acebe0..312820b 100644
--- a/print.php
+++ b/print.php
@@ -37,12 +37,35 @@ if ($printview == 'day') {
<link rel="stylesheet" type="text/css" href="styles/<?php echo $style_sheet.'/default.css'; ?>">
</head>
<body bgcolor="#FFFFFF">
-<center><table border="0" width="737" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="calborder">
+<center>
+<table border="0" width="737" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="calborder">
<tr>
- <td align="left" valign="top" width="1%" class="sideback"><?php echo "<img src=\"images/spacer.gif\" alt=\"right\" height=\"22\" border=\"0\" align=\"left\">"; ?></td>
- <td align="center" width="98%" class="sideback"><font class="G10BOLD"><?php echo $print_title; ?></font></td>
- <td align="right" valign="top" width="1%" class="sideback">&nbsp;</td>
- </tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="left" width="90" class="navback">&nbsp;</td>
+ <td class="navback">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="right" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"print.php?cal=$cal&getdate=$prev&printview=$printview\"><img src=\"styles/$style_sheet/left_day.gif\" alt=\"\" border=\"0\" align=\"right\"></a>"; ?></td>
+ <td align="center" width="20%" class="navback" nowrap valign="middle"><font class="H20"><?php echo $print_title; ?></font></td>
+ <td align="left" width="40%" class="navback"><?php echo "<a class=\"psf\" href=\"print.php?cal=$cal&getdate=$next&printview=$printview\"><img src=\"styles/$style_sheet/right_day.gif\" alt=\"\" border=\"0\" align=\"left\"></a>"; ?></td>
+ </tr>
+ </table>
+ </td>
+ <td align="right" width="90" class="navback">
+ <table width="90" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><?php echo '<a class="psf" href="print.php?cal='.$cal.'&getdate='.$getdate.'&printview=day"><img src="styles/'.$style_sheet.'/day_on.gif" alt="" border="0"></td>'; ?>
+ <td><?php echo '<a class="psf" href="print.php?cal='.$cal.'&getdate='.$getdate.'&printview=week"><img src="styles/'.$style_sheet.'/week_on.gif" alt="" border="0"></td>'; ?>
+ <td><?php echo '<a class="psf" href="print.php?cal='.$cal.'&getdate='.$getdate.'&printview=month"><img src="styles/'.$style_sheet.'/month_on.gif" alt="" border="0"></td>'; ?>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
<tr>
<td colspan="3"><img src="images/spacer.gif" width="1" height="5"></td>
</tr>

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