Comparison

mod_muc_log/mod_muc_log.lua @ 89:24c734c09982

mod_muc_log: Changed absolute URL paths to be relative.
author Waqas Hussain <waqas20@gmail.com>
date Tue, 10 Nov 2009 13:19:27 +0500
parent 88:d8cdbebb58f2
child 90:d6521ebea967
comparison
equal deleted inserted replaced
88:d8cdbebb58f2 89:24c734c09982
60 ###BODY_STUFF### 60 ###BODY_STUFF###
61 </body> 61 </body>
62 </html>]]; 62 </html>]];
63 63
64 html.components = {}; 64 html.components = {};
65 html.components.bit = [[<a href="/muc_log/###COMPONENT###/">###COMPONENT###</a><br />]] 65 html.components.bit = [[<a href="###COMPONENT###/">###COMPONENT###</a><br />]]
66 html.components.body = [[<h2>MUC hosts available on this server:</h2><hr /><p> 66 html.components.body = [[<h2>MUC hosts available on this server:</h2><hr /><p>
67 ###COMPONENTS_STUFF### 67 ###COMPONENTS_STUFF###
68 </p><hr />]]; 68 </p><hr />]];
69 69
70 html.rooms = {}; 70 html.rooms = {};
71 html.rooms.bit = [[<a href="/muc_log/###COMPONENT###/###ROOM###">###ROOM###</a><br />]] 71 html.rooms.bit = [[<a href="###ROOM###/">###ROOM###</a><br />]]
72 html.rooms.body = [[<h2>Rooms hosted on MUC host: ###COMPONENT###</h2><hr /><p> 72 html.rooms.body = [[<h2>Rooms hosted on MUC host: ###COMPONENT###</h2><hr /><p>
73 ###ROOMS_STUFF### 73 ###ROOMS_STUFF###
74 </p><hr />]]; 74 </p><hr />]];
75 75
76 html.days = {}; 76 html.days = {};
77 html.days.bit = [[<a href="/muc_log/###COMPONENT###/###ROOM###/?year=###YEAR###&month=###MONTH###&day=###DAY###">20###YEAR###/###MONTH###/###DAY###</a><br />]]; 77 html.days.bit = [[<a href="./?year=###YEAR###&month=###MONTH###&day=###DAY###">20###YEAR###/###MONTH###/###DAY###</a><br />]];
78 html.days.body = [[<h2>available logged days of room: ###JID###</h2><hr /><p> 78 html.days.body = [[<h2>available logged days of room: ###JID###</h2><hr /><p>
79 ###DAYS_STUFF### 79 ###DAYS_STUFF###
80 </p><hr />]]; 80 </p><hr />]];
81 81
82 html.day = {}; 82 html.day = {};