Display event message in popup. Patch by Patrick van Zweden
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 21 Dec 2002 16:40:21 +0000 (16:40 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 21 Dec 2002 16:40:21 +0000 (16:40 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4300 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/calendar/calendar.php

index a0fcc4e9335cb4bd5768303aae455ea7c9f1386c..9300f9f531272a0c17a0f41e8f875482bebd014d 100644 (file)
@@ -116,7 +116,7 @@ function drawmonthview() {
                 $i=0;
                 while ($calfoo = each($calendardata[$cdate])) {
                     $calbar = $calendardata[$cdate][$calfoo['key']];
-                    echo ($calbar['priority']==1) ? "<FONT COLOR=\"$color[1]\">$calbar[title]</FONT><br>\n" : "$calbar[title]<br>\n";
+                    echo ($calbar['priority']==1) ? "<a href=\"#\" style=\"text-decoration:none; color: $color[1]\" title=\"$calbar[message]\">$calbar[title]</a><br>\n" : "<a href=\"#\" style=\"text-decoration:none; color: $color[6]\" title=\"$calbar[message]\">$calbar[title]</a><br>\n";
                     $i=$i+1;
                     if($i==2){
                         break;