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.");
22 var is_trash_folder = 0;
24 var can_delete_messages = 0;
25 var messages_per_page = 20;
30 // List of defined views shamelessly swiped from libcitadel headers
32 VIEW_BBS : 0, // Bulletin board view
33 VIEW_MAILBOX : 1, // Mailbox summary
34 VIEW_ADDRESSBOOK : 2, // Address book view
35 VIEW_CALENDAR : 3, // Calendar view
36 VIEW_TASKS : 4, // Tasks view
37 VIEW_NOTES : 5, // Notes view
38 VIEW_WIKI : 6, // Wiki view
39 VIEW_CALBRIEF : 7, // Brief Calendar view
40 VIEW_JOURNAL : 8, // Journal view
41 VIEW_DRAFTS : 9, // Drafts view
42 VIEW_BLOG : 10, // Blog view
43 VIEW_QUEUE : 11, // SMTP queue rooms
44 VIEW_WIKIMD : 12, // markdown wiki (no longer implemented)
47 // new mail sound (we'll make it selectable later)
48 const new_mail_sound = new Audio("/ctdl/s/sounds/hi_from_stu.wav");