aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-08-13 06:04:37 +0000
committerChad Little <clittle@users.sourceforge.net>2003-08-13 06:04:37 +0000
commitb6700444c4f9a2942fc22ab6fcc41de631b5771b (patch)
tree8684f122cd704a791ea653b73728f420ac77c2f2 /includes
parentcd1418522aef81f48a51ac6c317eb6c3ea9cadd0 (diff)
downloadphpicalendar-b6700444c4f9a2942fc22ab6fcc41de631b5771b.tar.gz
phpicalendar-b6700444c4f9a2942fc22ab6fcc41de631b5771b.tar.bz2
phpicalendar-b6700444c4f9a2942fc22ab6fcc41de631b5771b.zip
Cleanup
Diffstat (limited to 'includes')
-rw-r--r--includes/footer.inc.php2
-rw-r--r--includes/sidebar.php46
2 files changed, 17 insertions, 31 deletions
diff --git a/includes/footer.inc.php b/includes/footer.inc.php
index 63f1c5f..c8375bc 100644
--- a/includes/footer.inc.php
+++ b/includes/footer.inc.php
@@ -1,6 +1,6 @@
<?php
-echo "<center><font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/nuke/\">PHP iCalendar 0.9.2</a>";
+echo "<center><font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/nuke/\">PHP iCalendar 0.9.3</a>";
if ($enable_rss == 'yes') {
echo "<br>\n";
if ((isset($current_view)) && ($current_view == 'rssindex')) {
diff --git a/includes/sidebar.php b/includes/sidebar.php
index f68cfcb..feb0035 100644
--- a/includes/sidebar.php
+++ b/includes/sidebar.php
@@ -74,39 +74,25 @@
<td colspan="3" bgcolor="#FFFFFF" align="left">
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width="100%">
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="6" alt=" "></td>
- </tr>
- <tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
- <td colspan="6"><?php include('./functions/list_icals.php'); ?></td>
- </tr>
- <tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="5" alt=" "></td>
- </tr>
- <tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
- <td colspan="6"><?php include('./functions/list_years.php'); ?></td>
- </tr>
- <tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="5" alt=" "></td>
+ <td colspan="2"><img src="images/spacer.gif" width="21" height="6" alt=" "></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
- <td colspan="6"><?php include('./functions/list_months.php'); ?></td>
- </tr>
- <tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="5" alt=" "></td>
- </tr>
- <tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
- <td colspan="6"><?php include('./functions/list_weeks.php'); ?></td>
+ <td width="4"></td>
+ <td>
+ <?php
+ include('./functions/list_icals.php');
+ include('./functions/list_years.php');
+ include('./functions/list_months.php');
+ include('./functions/list_weeks.php');
+ ?>
+ </td>
</tr>
<?php
if ($display_custom_goto == "yes") {
?>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
- <td colspan="6" class="G10B">
+ <td width="4"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
+ <td class="G10B">
<form action="day.php" method="GET">
<input type="hidden" name="cal" value="<?php print urlencode($cal); ?>">
<input type="text" size="15" name="jumpto_day">
@@ -118,11 +104,11 @@
}
if ($show_search == 'yes') { ?>
<tr>
- <td colspan="7"><img src="images/spacer.gif" width="21" height="3" alt=" "></td>
+ <td colspan="2"><img src="images/spacer.gif" width="21" height="3" alt=" "></td>
</tr>
<tr>
- <td width="1%"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
- <td colspan="6" valign="middle" align="left"><?php echo "$search_box"; ?></td>
+ <td width="4"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
+ <td valign="middle" align="left"><?php echo "$search_box"; ?></td>
</tr>
<?php } ?>
</table>
@@ -225,7 +211,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
foreach ($vtodo_times as $val) {
$vtodo_text = stripslashes(urldecode($val["vtodo_text"]));
if ($vtodo_text != "") {
- $description = $val["description"];
+ if (isset($val["description"])) $description = $val["description"];
$completed_date = $val['completed_date'];
$status = $val["status"];
$priority = $val['priority'];

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