* remove WCVIEW, we have COND:THISROOM:CURR_VIEW; TODO: is the usage in roombanner...
authorWilfried Göesgens <willi@citadel.org>
Sun, 29 Aug 2010 16:56:42 +0000 (16:56 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 29 Aug 2010 16:56:42 +0000 (16:56 +0000)
webcit/messages.c
webcit/static/t/roombanner.html

index c190e0ff8df42183da279ca0c88472f6d811e065..dd739fc5650092de222e312959b4527d2427f3fa 100644 (file)
@@ -813,7 +813,6 @@ void readloop(long oper, eCustomRoomRenderer ForceRenderer)
        /* Put some helpful data in vars for mailsummary_json */
        svputlong("READLOOP:TOTALMSGS", Stat.nummsgs);
        svputlong("READLOOP:STARTMSG", Stat.startmsg);
-       svputlong("WCVIEW", WCC->CurRoom.view);
 
        /*
         * iterate over each message. if we need to load an attachment, do it here. 
index c7963fec1c43236babc1be4b679b8e2529ca40d8..8e083d32771365ca46f0334cca1f3ab02761e0e5 100644 (file)
@@ -18,7 +18,7 @@
                                <li class="start_page"><?OFFERSTARTPAGE></li>
                                <li class="search" id="searchomatic"><?=("searchomatic")></li>
                                <li class="view"><?=("viewomatic")></li>
-                               <??("COND:SUBST", 1, "WCVIEW", "1")>
+                               <??("COND:THISROOM:CURR_VIEW", 1, #"VIEW_MAILBOX")>
                                        <li class="hidden" id="selectpage">
                                                <?_("Select page: ")> <select id="summpage"><option> </option></select>
                                        </li>