Преглед изворни кода

Display event message in popup. Patch by Patrick van Zweden

Thijs Kinkhorst пре 22 година
родитељ
комит
f065ad90dc
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      plugins/calendar/calendar.php

+ 1 - 1
plugins/calendar/calendar.php

@@ -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;