1 // Copyright (c) 2016-2022 by the citadel.org team
3 // This program is open source software. Use, duplication, or
4 // disclosure are subject to the GNU General Public License v3.
6 // Placeholder for when we add i18n later
12 var current_room = "_BASEROOM_";
14 var total_messages = 0;
18 var current_user = _("Not logged in.");
23 var can_delete_messages = 0;
24 var messages_per_page = 20;
29 // List of defined views shamelessly swiped from libcitadel headers
31 VIEW_BBS : 0, // Bulletin board view
32 VIEW_MAILBOX : 1, // Mailbox summary
33 VIEW_ADDRESSBOOK : 2, // Address book view
34 VIEW_CALENDAR : 3, // Calendar view
35 VIEW_TASKS : 4, // Tasks view
36 VIEW_NOTES : 5, // Notes view
37 VIEW_WIKI : 6, // Wiki view
38 VIEW_CALBRIEF : 7, // Brief Calendar view
39 VIEW_JOURNAL : 8, // Journal view
40 VIEW_DRAFTS : 9, // Drafts view
41 VIEW_BLOG : 10, // Blog view
42 VIEW_QUEUE : 11, // SMTP queue rooms
43 VIEW_WIKIMD : 12, // markdown wiki (no longer implemented)
46 // new mail sound (we'll make it selectable later)
47 const new_mail_sound = new Audio("/ctdl/s/sounds/hi_from_stu.wav");