messages and such
[glcas.git] / lib / plugins / www.php
index ab6bff9..2c59349 100644 (file)
@@ -119,9 +119,9 @@ function www_top()
                $msgs = msg_getMessages();
                
                foreach($msgs as $msg) {
-                       $msgtime = msg_toDate($msg["time"]);
-                       $msgcol = $msg["colour"];
-                       $msgtxt = $msg["text"];
+                       $msgtime = msg_toDate($msg["msgdate"]);
+                       $msgcol = $msg["msgcolour"];
+                       $msgtxt = $msg["msgtext"];
                        
                        echo "<tr><td><font color=\"$msgcol\">$msgtime - $msgtxt</font>";
                }