Mercurial > prosody-modules
comparison mod_muc_log_http/mod_muc_log_http.lua @ 106:f535306535f9
mod_muc_log_http: Changed some headlines and fixed a typo.
| author | fthiessen@lins0r.bbi7.heide |
|---|---|
| date | Sat, 05 Dec 2009 18:44:47 +0100 |
| parents | dc0fe152cadc |
| children |
comparison
equal
deleted
inserted
replaced
| 104:dc0fe152cadc | 106:f535306535f9 |
|---|---|
| 92 --></script> | 92 --></script> |
| 93 </html>]]; | 93 </html>]]; |
| 94 | 94 |
| 95 html.components = {}; | 95 html.components = {}; |
| 96 html.components.bit = [[<a href="###COMPONENT###/">###COMPONENT###</a><br />]] | 96 html.components.bit = [[<a href="###COMPONENT###/">###COMPONENT###</a><br />]] |
| 97 html.components.body = [[<h2>MUC hosts available on this server:</h2><hr /><p> | 97 html.components.body = [[<h2>Available Multi-User Chats:</h2><hr /><p> |
| 98 ###COMPONENTS_STUFF### | 98 ###COMPONENTS_STUFF### |
| 99 </p><hr />]]; | 99 </p><hr />]]; |
| 100 | 100 |
| 101 html.rooms = {}; | 101 html.rooms = {}; |
| 102 html.rooms.bit = [[<a href="###ROOM###/">###ROOM###</a><br />]] | 102 html.rooms.bit = [[<a href="###ROOM###/">###ROOM###</a><br />]] |
| 103 html.rooms.body = [[<h2>Rooms hosted on MUC host: ###COMPONENT###</h2><hr /><p> | 103 html.rooms.body = [[<h2>Available rooms on ###COMPONENT###:</h2><hr /><p> |
| 104 ###ROOMS_STUFF### | 104 ###ROOMS_STUFF### |
| 105 </p><hr />]]; | 105 </p><hr />]]; |
| 106 | 106 |
| 107 html.days = {}; | 107 html.days = {}; |
| 108 html.days.bit = [[<a href="###BARE_DAY###/">###DAY###</a><br />]]; | 108 html.days.bit = [[<a href="###BARE_DAY###/">###DAY###</a><br />]]; |
| 109 html.days.body = [[<h2>available logged days of room: ###JID###</h2><hr /><div id="main" style="overflow: auto;"> | 109 html.days.body = [[<h2>Available days for ###JID###:</h2><hr /><div id="main" style="overflow: auto;"> |
| 110 ###DAYS_STUFF### | 110 ###DAYS_STUFF### |
| 111 </div><hr />]]; | 111 </div><hr />]]; |
| 112 | 112 |
| 113 html.day = {}; | 113 html.day = {}; |
| 114 html.day.title = [[Subject: <font class="muc_title">###TITLE###</font>]]; | 114 html.day.title = [[Subject: <font class="muc_title">###TITLE###</font>]]; |
| 115 html.day.time = [[<a name="###TIME###" href="####TIME###" class="timestuff">[###TIME###]</a> ]]; -- the one ####TIME### need to stay! it will evaluate to e.g. #09:10:56 which is an anker then | 115 html.day.time = [[<a name="###TIME###" href="####TIME###" class="timestuff">[###TIME###]</a> ]]; -- the one ####TIME### need to stay! it will evaluate to e.g. #09:10:56 which is an anker then |
| 116 html.day.presence = {}; | 116 html.day.presence = {}; |
| 117 html.day.presence.join = [[<div name="joinLeave" style="display: ###SHOWHIDE###;">###TIME_STUFF###<font class="muc_join"> *** ###NICK### joins the room</font><br /></div>]]; | 117 html.day.presence.join = [[<div name="joinLeave" style="display: ###SHOWHIDE###;">###TIME_STUFF###<font class="muc_join"> *** ###NICK### has joined the room</font><br /></div>]]; |
| 118 html.day.presence.leave = [[<div name="joinLeave" style="display: ###SHOWHIDE###;">###TIME_STUFF###<font class="muc_leave"> *** ###NICK### leaves the room</font><br /></div>]]; | 118 html.day.presence.leave = [[<div name="joinLeave" style="display: ###SHOWHIDE###;">###TIME_STUFF###<font class="muc_leave"> *** ###NICK### has left the room</font><br /></div>]]; |
| 119 html.day.presence.statusText = [[ and his status message is "###STATUS###"]]; | 119 html.day.presence.statusText = [[ and his status message is "###STATUS###"]]; |
| 120 html.day.presence.statusChange = [[<div name="status" style="display: ###SHOWHIDE###;">###TIME_STUFF###<font class="muc_statusChange"> *** ###NICK### shows now as "###SHOW###"###STATUS_STUFF###</font><br /></div>]]; | 120 html.day.presence.statusChange = [[<div name="status" style="display: ###SHOWHIDE###;">###TIME_STUFF###<font class="muc_statusChange"> *** ###NICK### shows as "###SHOW###"###STATUS_STUFF###</font><br /></div>]]; |
| 121 html.day.message = [[###TIME_STUFF###<font class="muc_msg_nick"><###NICK###></font> ###MSG###<br />]]; | 121 html.day.message = [[###TIME_STUFF###<font class="muc_msg_nick"><###NICK###></font> ###MSG###<br />]]; |
| 122 html.day.message_me = [[###TIME_STUFF###<font class="muc_msg_me">*###NICK### ###MSG###</font><br />]]; | 122 html.day.message_me = [[###TIME_STUFF###<font class="muc_msg_me">*###NICK### ###MSG###</font><br />]]; |
| 123 html.day.titleChange = [[###TIME_STUFF###<font class="muc_titleChange"> *** ###NICK### changed the title to "###TITLE###"</font><br />]]; | 123 html.day.titleChange = [[###TIME_STUFF###<font class="muc_titleChange"> *** ###NICK### changed the title to "###TITLE###"</font><br />]]; |
| 124 html.day.reason = [[, the reason was "###REASON###"]] | 124 html.day.reason = [[, the reason was "###REASON###"]] |
| 125 html.day.kick = [[###TIME_STUFF###<font class="muc_kick"> *** ###VICTIM### got kicked###REASON_STUFF###</font><br />]]; | 125 html.day.kick = [[###TIME_STUFF###<font class="muc_kick"> *** ###VICTIM### got kicked###REASON_STUFF###</font><br />]]; |
| 126 html.day.bann = [[###TIME_STUFF###<font class="muc_bann"> *** ###VICTIM### got banned###REASON_STUFF###</font><br />]]; | 126 html.day.bann = [[###TIME_STUFF###<font class="muc_bann"> *** ###VICTIM### got banned###REASON_STUFF###</font><br />]]; |
| 127 html.day.day_link = [[<a href="../###DAY###/">###TEXT###</a>]] | 127 html.day.day_link = [[<a href="../###DAY###/">###TEXT###</a>]] |
| 128 html.day.body = [[<h2>Logs of room ###JID### of 20###YEAR###/###MONTH###/###DAY###</h2> | 128 html.day.body = [[<h2>Logs for ###JID### on 20###YEAR###/###MONTH###/###DAY###</h2> |
| 129 <p>###TITLE_STUFF###</p> | 129 <p>###TITLE_STUFF###</p> |
| 130 <font class="join_link"><a href="http://speeqe.com/room/###JID###/" target="_blank">Join room now via speeqe.com!</a></font><br /> | 130 <font class="join_link"><a href="http://speeqe.com/room/###JID###/" target="_blank">Join room via speeqe.com</a></font><br /> |
| 131 ###PREVIOUS_LINK### ###NEXT_LINK###<br /> | 131 ###PREVIOUS_LINK### ###NEXT_LINK###<br /> |
| 132 <input type="checkbox" onclick="showHide('joinLeave')" ###JOIN_CHECKED###/>show/hide joins and Leaves</button> | 132 <input type="checkbox" onclick="showHide('joinLeave')" ###JOIN_CHECKED###/>show/hide joins and leaves</button> |
| 133 <input type="checkbox" onclick="showHide('status')" ###STATUS_CHECKED###/>show/hide status changes</button> | 133 <input type="checkbox" onclick="showHide('status')" ###STATUS_CHECKED###/>show/hide status changes</button> |
| 134 <hr /><div id="main" style="overflow: auto;"> | 134 <hr /><div id="main" style="overflow: auto;"> |
| 135 ###DAY_STUFF### | 135 ###DAY_STUFF### |
| 136 </div><hr /> | 136 </div><hr /> |
| 137 ]]; | 137 ]]; |
