# HG changeset patch # User Thilo Cestonaro # Date 1260304181 -3600 # Node ID 4c2b35e3d97906034c2e08cbc6782f2f9c3d9922 # Parent 0e4e000e3de94fa70823443242db5f4568d675a5 mod_muc_log_http: corrected the merged stuff diff -r 0e4e000e3de9 -r 4c2b35e3d979 mod_muc_log_http/muc_log_http/mod_muc_log_http.lua --- a/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua Tue Dec 08 21:24:26 2009 +0100 +++ b/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua Tue Dec 08 21:29:41 2009 +0100 @@ -38,126 +38,7 @@ * Default templates for the html output. ]]-- local html = {}; -<<<<<<< local local theme = "default"; -======= -html.doc = [[ - - - muc_log - - - - -###BODY_STUFF### - - -]]; - -html.components = {}; -html.components.bit = [[###COMPONENT###
]] -html.components.body = [[

Available Multi-User Chats:


-###COMPONENTS_STUFF### -


]]; - -html.rooms = {}; -html.rooms.bit = [[###ROOM###
]] -html.rooms.body = [[

Available rooms on ###COMPONENT###:


-###ROOMS_STUFF### -


]]; - -html.days = {}; -html.days.bit = [[###DAY###
]]; -html.days.body = [[

Available days for ###JID###:


-###DAYS_STUFF### -

]]; - -html.day = {}; -html.day.title = [[Subject: ###TITLE###]]; -html.day.time = [[[###TIME###] ]]; -- the one ####TIME### need to stay! it will evaluate to e.g. #09:10:56 which is an anker then -html.day.presence = {}; -html.day.presence.join = [[
###TIME_STUFF### *** ###NICK### has joined the room
]]; -html.day.presence.leave = [[
###TIME_STUFF### *** ###NICK### has left the room
]]; -html.day.presence.statusText = [[ and his status message is "###STATUS###"]]; -html.day.presence.statusChange = [[
###TIME_STUFF### *** ###NICK### shows as "###SHOW###"###STATUS_STUFF###
]]; -html.day.message = [[###TIME_STUFF###<###NICK###> ###MSG###
]]; -html.day.message_me = [[###TIME_STUFF###*###NICK### ###MSG###
]]; -html.day.titleChange = [[###TIME_STUFF### *** ###NICK### changed the title to "###TITLE###"
]]; -html.day.reason = [[, the reason was "###REASON###"]] -html.day.kick = [[###TIME_STUFF### *** ###VICTIM### got kicked###REASON_STUFF###
]]; -html.day.bann = [[###TIME_STUFF### *** ###VICTIM### got banned###REASON_STUFF###
]]; -html.day.day_link = [[###TEXT###]] -html.day.body = [[

Logs for ###JID### on 20###YEAR###/###MONTH###/###DAY###

-

###TITLE_STUFF###

-Join room via speeqe.com
-###PREVIOUS_LINK### ###NEXT_LINK###
-show/hide joins and leaves       -show/hide status changes -
-###DAY_STUFF### -

-]]; - --- Calendar stuff -html.year = {}; -html.year.title = [[
###YEAR###
]]; - -html.month = {}; -html.month.header = [[ - - - -###WEEKDAYS### -]]; -html.month.weekDay = [[ ]]; -html.month.emptyDay = [[ ]]; -html.month.day = [[ ]]; -html.month.footer = [[

###TITLE###

###DAY### ###DAY###
]]; - ->>>>>>> other local function checkDatastorePathExists(node, host, today, create) create = create or false;