]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/static/js/views.js
room list renderer is now aware of which rooms are forum view:
[citadel.git] / webcit-ng / static / js / views.js
index 8895433b2b847818b7bfdfa5fc730bdaddd26de3..cfdca07ba3cf3f2563ba18051cfa5aafbb0fee2a 100644 (file)
 // GNU General Public License for more details.
 
 
-// List of defined views shamelessly swiped from libcitadel headers
-//
-var views = {
-       VIEW_BBS                : 0,    // Bulletin board view
-       VIEW_MAILBOX            : 1,    // Mailbox summary
-       VIEW_ADDRESSBOOK        : 2,    // Address book view
-       VIEW_CALENDAR           : 3,    // Calendar view
-       VIEW_TASKS              : 4,    // Tasks view
-       VIEW_NOTES              : 5,    // Notes view
-       VIEW_WIKI               : 6,    // Wiki view
-       VIEW_CALBRIEF           : 7,    // Brief Calendar view
-       VIEW_JOURNAL            : 8,    // Journal view
-       VIEW_DRAFTS             : 9,    // Drafts view
-       VIEW_BLOG               : 10,   // Blog view
-       VIEW_QUEUE              : 11,   // SMTP queue rooms
-       VIEW_WIKIMD             : 12,   // markdown wiki (no longer implemented)
-};
-
-
 // This function is the dispatcher that determines the correct view for a room,
 // and calls the correct renderer.  Greater/Less than bounds are accepted.
 function render_room_view(gt_msg, lt_msg) {