changeset 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 f8904351d6a3
children f68a781efe81
files mod_muc_log_http/muc_log_http/mod_muc_log_http.lua mod_muc_log_http/muc_log_http/themes/default/doc.html mod_muc_log_http/muc_log_http/themes/default/month_header.html mod_muc_log_http/muc_log_http/themes/default/year_title.html
diffstat 4 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua	Mon Jan 04 14:10:32 2010 +0000
+++ b/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua	Mon Jan 04 14:20:48 2010 +0000
@@ -195,12 +195,12 @@
             end
         end
         if i < days + 1 then
-            local tmp = tostring("<font color='#DDDDDD'>"..tostring(i).."</font>");
+            local tmp = tostring("<span style='color:#DDDDDD'>"..tostring(i).."</span>");
             if dayCallback ~= nil and dayCallback.callback ~= nil then
                 tmp = dayCallback.callback(dayCallback.path, i, month, year);
             end
 			if tmp == nil then
-            	tmp = tostring("<font color='#DDDDDD'>"..tostring(i).."</font>");
+            	tmp = tostring("<span style='color:#DDDDDD'>"..tostring(i).."</span>");
 			else
 				logAvailableForMinimumOneDay = true;
 			end
--- a/mod_muc_log_http/muc_log_http/themes/default/doc.html	Mon Jan 04 14:10:32 2010 +0000
+++ b/mod_muc_log_http/muc_log_http/themes/default/doc.html	Mon Jan 04 14:20:48 2010 +0000
@@ -26,6 +26,8 @@
 .muc_msg_nick {color: #0000AA;}
 .muc_msg_me {color: #0000AA;}
 .join_link {font-height: 9px;}
+.month_title {font: 10pt Verdana;}
+.year_title {font: bold 16px Verdana;}
 //-->
 </style>
 <body>
@@ -52,4 +54,4 @@
 }
 
 --></script>
-</html>
\ No newline at end of file
+</html>
--- a/mod_muc_log_http/muc_log_http/themes/default/month_header.html	Mon Jan 04 14:10:32 2010 +0000
+++ b/mod_muc_log_http/muc_log_http/themes/default/month_header.html	Mon Jan 04 14:20:48 2010 +0000
@@ -1,5 +1,5 @@
 <table rules="groups" cellpadding="5">
-<thead><tr><td colspan="7"><center><H2><font size="2" face="Verdana">###TITLE###</font></H2></center></td></tr></thead>
+<thead><tr><td colspan="7"><center><H2><span class="month_title">###TITLE###</span></H2></center></td></tr></thead>
 <tbody style="border: solid black 1px;">
 <tr>
 ###WEEKDAYS###</tr>
--- a/mod_muc_log_http/muc_log_http/themes/default/year_title.html	Mon Jan 04 14:10:32 2010 +0000
+++ b/mod_muc_log_http/muc_log_http/themes/default/year_title.html	Mon Jan 04 14:20:48 2010 +0000
@@ -1,1 +1,1 @@
-<center><font style="font: bold 16px Verdana;"><a name="###YEAR###">###YEAR###</a></font></center>
\ No newline at end of file
+<center><span class="year_title"><a name="###YEAR###">###YEAR###</a></span></center>