aboutsummaryrefslogtreecommitdiffstats
path: root/sidebar.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-11-22 19:29:41 +0000
committerChad Little <clittle@users.sourceforge.net>2002-11-22 19:29:41 +0000
commitc2d6ffedc2b46d5637be715f2f2ae1c164b5b53c (patch)
tree1d9405beb428332d56da2ab70911ff991c845a02 /sidebar.php
parent6cf8098ca9280878066e7372e1f500fe3a85ee7c (diff)
downloadphpicalendar-c2d6ffedc2b46d5637be715f2f2ae1c164b5b53c.tar.gz
phpicalendar-c2d6ffedc2b46d5637be715f2f2ae1c164b5b53c.tar.bz2
phpicalendar-c2d6ffedc2b46d5637be715f2f2ae1c164b5b53c.zip
Basic todo sorting.
Diffstat (limited to 'sidebar.php')
-rw-r--r--sidebar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/sidebar.php b/sidebar.php
index 34e93be..77f0715 100644
--- a/sidebar.php
+++ b/sidebar.php
@@ -232,7 +232,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?>
$event_text = "<S>$event_text</S>";
echo "<a class=\"psf\" href=\"javascript:openEventInfo('$event_text2', '$calendar_name2', '$event_start', '$event_end', '$description')\"><font class=\"G10B\"><img src=\"images/completed.gif\" alt=\"\" width=\"13\" height=\"11\" border=\"0\" align=\"middle\"> $event_text</font></a><br>\n";
}
- } elseif ($val['priority'] > 0) {
+ } elseif (($val['priority'] > 0) && ($val['priority'] < 10)){
echo "<a class=\"psf\" href=\"javascript:openEventInfo('$event_text2', '$calendar_name2', '$event_start', '$event_end', '$description')\"><font class=\"G10B\"><img src=\"images/important.gif\" alt=\"\" width=\"13\" height=\"11\" border=\"0\" align=\"middle\"> $event_text</font></a><br>\n";
} else {
echo "<a class=\"psf\" href=\"javascript:openEventInfo('$event_text2', '$calendar_name2', '$event_start', '$event_end', '$description')\"><font class=\"G10B\"><img src=\"images/not_completed.gif\" alt=\"\" width=\"13\" height=\"11\" border=\"0\" align=\"middle\"> $event_text</font></a><br>\n";

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