]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/t/mailsummary_json.html
Templatize email list interface.
[citadel.git] / webcit / static / t / mailsummary_json.html
index 3369d45706c8c40c89f7998e6204bafc22135374..0129a48ca1efc72ca9c26606374e7378f6467f3f 100644 (file)
@@ -1,5 +1,7 @@
-{ "nummsgs": <?READLOOP:TOTALMSGS>,
-"startmsg": <?READLOOP:STARTMSG>,
-"roomname": "<?ROOMNAME>",
-"msgs": [ <?ITERATE("MAIL:SUMM:MSGS","mailsummary_json_section"," ",B"startmsg",B"maxmsgs")> ]
-}
\ No newline at end of file
+{ "nummsgs": <?BSTR("__READLOOP:TOTALMSGS")>,
+"newmsgs": <?BSTR("__READLOOP:NEWMSGS")>,
+"startmsg": <?BSTR("__READLOOP:STARTMSG")>,
+"roomname": "<?THISROOM:NAME("J")>",
+"msgs": [ <?ITERATE("MAIL:SUMM:MSGS", ="mailsummary_json_section",
+B("startmsg"), 0, B("stopmsg"))> ]
+}