Functions | |
| void | display_note (long msgnum) |
| display sticky notes | |
| void | updatenote (void) |
| This gets called by the Ajax.InPlaceEditor when we save a note. | |
| void display_note | ( | long | msgnum | ) |
display sticky notes
| msgnum | the citadel mesage number |
Fill the buffer
Now sanitize the buffer
Make it HTML-happy and print it.
Offer in-place editing.
Definition at line 17 of file notes.c.
References safestrncpy(), serv_getln(), serv_printf(), stresc(), and wprintf().
| void updatenote | ( | void | ) |
This gets called by the Ajax.InPlaceEditor when we save a note.
Fill the buffer
Now sanitize the buffer
Make it HTML-happy and print it.
Definition at line 82 of file notes.c.
References begin_ajax_response(), bstr(), end_ajax_response(), serv_getln(), serv_printf(), serv_puts(), stresc(), text_to_server(), and wprintf().
Referenced by session_loop().
1.5.2