Changeset

181:15bc93c85a08

mod_muc_log_http: remove the rest of the old default theme
author Thilo Cestonaro <thilo@cestona.ro>
date Thu, 17 Jun 2010 11:24:02 +0200
parents 180:f29be6c49501
children 182:43d9e0944276 183:9d4fd01443eb
files mod_muc_log_http/muc_log_http/themes/default/day_body.html mod_muc_log_http/muc_log_http/themes/default/day_time.html mod_muc_log_http/muc_log_http/themes/default/doc.html
diffstat 3 files changed, 0 insertions(+), 93 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_log_http/muc_log_http/themes/default/day_body.html	Thu Jun 17 11:22:08 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<h2>Logs for ###JID### on 20###YEAR###/###MONTH###/###DAY###</h2>
-<p>###TITLE_STUFF###</p>
-<span class="join_link"><a href="http://speeqe.com/room/###JID###/" target="_blank">Join room via speeqe.com</a></span><br />
-###PREVIOUS_LINK###   ###NEXT_LINK###<br />
-<input type="checkbox" onclick="showHide('joinLeave')" ###JOIN_CHECKED###/>show/hide joins and leaves</input>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-<input type="checkbox" onclick="showHide('status')" ###STATUS_CHECKED###/>show/hide status changes</input>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-<input type="checkbox" onclick="javascript:changeTimeDisplay()" />show time in local time, rather than in UTC</input>
-<hr /><div id="main" style="overflow: auto;">
-###DAY_STUFF###
-</div><hr />
--- a/mod_muc_log_http/muc_log_http/themes/default/day_time.html	Thu Jun 17 11:22:08 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<a name="###TIME###" href="####TIME###" class="timestuff">[<span name="time" id="###UTC###">###TIME###</span>]</a> 
--- a/mod_muc_log_http/muc_log_http/themes/default/doc.html	Thu Jun 17 11:22:08 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-<html>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
-<head>
-	<title>muc_log</title>
-</head>
-<script type="text/javascript"><!--
-var utc = true;
-var timezoneOffset = (parseInt((new Date()).getTimezoneOffset()) * 60) * (-1);
-function changeTimeDisplay() {
-    var eles = document.getElementsByName("time");
-    utc = !utc;
-    for (var i = 0; i < eles.length; i++) {
-        var tmp = eles[i].id.split(":");
-        var d;
-        if(tmp.length == 3) {
-            if(!utc)
-                tmp[2] = Number(tmp[2]) + timezoneOffset;
-            d = new Date(0, 0, 0, Number(tmp[0]), Number(tmp[1]), Number(tmp[2]));
-        }
-        else {
-            if(!utc)
-                tmp[0] = Number(tmp[0]) + timezoneOffset;
-            d = new Date(0, 0, 0, 0, 0, Number(tmp[0]));
-        }
-        
-        eles[i].innerHTML = (d.getHours() <= 9 ? "0" + d.getHours() : d.getHours()) + ":";
-        eles[i].innerHTML += (d.getMinutes() <= 9 ? "0" + d.getMinutes() : d.getMinutes()) + ":";
-        eles[i].innerHTML += (d.getSeconds() <= 9 ? "0" + d.getSeconds() : d.getSeconds());
-    }
-}
-
-function showHide(name) {
-	var eles = document.getElementsByName(name);
-	for (var i = 0; i < eles.length; i++) {
-		eles[i].style.display = eles[i].style.display != "none" ? "none" : "";
-	}
-}
---></script>
-<style type="text/css">
-<!--
-.day { font: 12px Verdana; height: 17px; }
-.weekday { font: 10px Verdana; height: 17px; color: #FFFFFF; background-color: #000000; }
-.timestuff {color: #AAAAAA; text-decoration: none;}
-.muc_join {color: #009900; font-style: italic;}
-.muc_leave {color: #009900; font-style: italic;}
-.muc_statusChange {color: #009900; font-style: italic;}
-.muc_title {color: #BBBBBB; font-size: 32px;}
-.muc_titleChange {color: #009900; font-style: italic;}
-.muc_kick {color: #009900; font-style: italic;}
-.muc_bann {color: #009900; font-style: italic;}
-.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>
-###BODY_STUFF###
-</body>
-<script><!--
-window.captureEvents(Event.RESIZE | Event.LOAD);
-window.onresize = resize;
-window.onload = load;
-function load(e) {
-	resize(e);
-}
-
-function resize(e) {
-	var ele = document.getElementById("main");
-	ele.style.height = window.innerHeight - ele.offsetTop - 25;
-	
-	var yearDivs = document.getElemetsByName("yearDiv");
-	if(yearDivs) {
-		for each (var year in yearDivs) {
-			year.style.width = window.innerWidth - year.style.padding;
-		}
-	}
-}
-
---></script>
-</html>