]> code.citadel.org Git - citadel.git/blobdiff - webcit/notes.c
* collect sender / read / unread information for calendar items
[citadel.git] / webcit / notes.c
index ffd6f33af9ce8a9e67d9f9723764cd9122652302..3896d11cfe21588ca2e3d2bb8110dd36966412dd 100644 (file)
@@ -14,7 +14,7 @@
  * \brief display sticky notes
  * \param msgnum the citadel mesage number
  */
-void display_note(long msgnum)
+void display_note(long msgnum, int unread)
 {
        char buf[SIZ];
        char notetext[SIZ];
@@ -68,11 +68,11 @@ void display_note(long msgnum)
                wprintf ("</script>\n");
        }
        else {
-               wprintf ("<IMG ALIGN=MIDDLE src=\"static/storenotes_48x.gif\" id=\"note_%s\" ", msgnum); 
+               wprintf ("<IMG ALIGN=MIDDLE src=\"static/storenotes_48x.gif\" id=\"note_%ld\" ", msgnum); 
                wprintf ("class=\"notes\">\n");
                wprintf ("<script type=\"text/javascript\">\n");
 //             wprintf ("//<![CDATA[\n");
-               wprintf ("new Draggable (\"note_%s\", {revert:true})\n", msgnum);
+               wprintf ("new Draggable (\"note_%ld\", {revert:true})\n", msgnum);
 //             wprintf ("//]]>\n");
                wprintf ("</script>\n");
        }