comparison mod_muc_log_http/muc_log_http/mod_muc_log_http.lua @ 115:5e657a305c88

mod_muc_log_http: Replace remaining <font> tags with CSS equivalents
author Matthew Wild <mwild1@gmail.com>
date Mon, 04 Jan 2010 14:20:48 +0000
parents 4c2b35e3d979
children f68a781efe81
comparison
equal deleted inserted replaced
114:f8904351d6a3 115:5e657a305c88
193 break; 193 break;
194 end 194 end
195 end 195 end
196 end 196 end
197 if i < days + 1 then 197 if i < days + 1 then
198 local tmp = tostring("<font color='#DDDDDD'>"..tostring(i).."</font>"); 198 local tmp = tostring("<span style='color:#DDDDDD'>"..tostring(i).."</span>");
199 if dayCallback ~= nil and dayCallback.callback ~= nil then 199 if dayCallback ~= nil and dayCallback.callback ~= nil then
200 tmp = dayCallback.callback(dayCallback.path, i, month, year); 200 tmp = dayCallback.callback(dayCallback.path, i, month, year);
201 end 201 end
202 if tmp == nil then 202 if tmp == nil then
203 tmp = tostring("<font color='#DDDDDD'>"..tostring(i).."</font>"); 203 tmp = tostring("<span style='color:#DDDDDD'>"..tostring(i).."</span>");
204 else 204 else
205 logAvailableForMinimumOneDay = true; 205 logAvailableForMinimumOneDay = true;
206 end 206 end
207 htmlStr = htmlStr .. html.month.day:gsub("###DAY###", tmp) .. "\n"; 207 htmlStr = htmlStr .. html.month.day:gsub("###DAY###", tmp) .. "\n";
208 end 208 end