<script type="text/javascript" src="js/views.js"></script>
<script type="text/javascript" src="js/view_forum.js"></script>
<script type="text/javascript" src="js/view_mail.js"></script>
+<script type="text/javascript" src="js/view_calendar.js"></script>
+<script type="text/javascript" src="js/view_contacts.js"></script>
<script type="text/javascript" src="js/mail_folder_list.js"></script>
<script type="text/javascript" src="js/roomlist.js"></script>
<script type="text/javascript" src="js/user_profile.js"></script>
--- /dev/null
+// This module handles the view for "calendar" rooms.
+//
+// Copyright (c) 2016-2023 by the citadel.org team
+//
+// This program is open source software. Use, duplication, or
+// disclosure are subject to the GNU General Public License v3.
+
+
+// RENDERER FOR THIS VIEW
+function view_render_calendar() {
+ document.getElementById("ctdl-main").innerHTML = `STUB RENDERER FOR CALENDAR ROOM`;
+}
--- /dev/null
+// This module handles the view for "address book" rooms.
+//
+// Copyright (c) 2016-2023 by the citadel.org team
+//
+// This program is open source software. Use, duplication, or
+// disclosure are subject to the GNU General Public License v3.
+
+
+// RENDERER FOR THIS VIEW
+function view_render_contacts() {
+ document.getElementById("ctdl-main").innerHTML = `STUB RENDERER FOR ADDRESS BOOK`;
+}
// The "contacts" module displays rooms with the VIEW_ADDRESSBOOK view as a contacts manager.
case views.VIEW_ADDRESSBOOK:
- document.getElementById("ctdl-main").innerHTML =
- `<div class="ctdl-middle">'${current_room}' is an address book but there is no renderer.</div>`;
+ view_render_contacts();
break;
case views.VIEW_CALENDAR:
case views.VIEW_CALBRIEF:
- document.getElementById("ctdl-main").innerHTML =
- `<div class="ctdl-middle">'${current_room}' is a calendar but there is no renderer.</div>`;
+ view_render_calendar();
break;
case views.VIEW_TASKS: