[pLog-svn] r6327 - templates/branches/lifetype-1.2/MinimaPlus

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Mon Apr 28 08:38:20 EDT 2008


Author: jondaley
Date: 2008-04-28 08:38:20 -0400 (Mon, 28 Apr 2008)
New Revision: 6327

Modified:
   templates/branches/lifetype-1.2/MinimaPlus/favicon.ico
   templates/branches/lifetype-1.2/MinimaPlus/main.template
   templates/branches/lifetype-1.2/MinimaPlus/nicetitle.css
   templates/branches/lifetype-1.2/MinimaPlus/nicetitle.js
   templates/branches/lifetype-1.2/MinimaPlus/postandcomments.template
   templates/branches/lifetype-1.2/MinimaPlus/style.css
Log:
removed dos carriage returns and execute bit


Property changes on: templates/branches/lifetype-1.2/MinimaPlus/favicon.ico
___________________________________________________________________
Name: svn:executable
   - *

Modified: templates/branches/lifetype-1.2/MinimaPlus/main.template
===================================================================
--- templates/branches/lifetype-1.2/MinimaPlus/main.template	2008-04-28 12:36:42 UTC (rev 6326)
+++ templates/branches/lifetype-1.2/MinimaPlus/main.template	2008-04-28 12:38:20 UTC (rev 6327)
@@ -1,8 +1,8 @@
-{include file="$blogtemplate/header.template"}
-	<!-- Loop Start -->
-		{foreach from=$posts item=post}
-			{include file="$blogtemplate/post.template"}
-		{/foreach}
-{pager style="links"}
-{include file="$blogtemplate/links.template"}
+{include file="$blogtemplate/header.template"}
+	<!-- Loop Start -->
+		{foreach from=$posts item=post}
+			{include file="$blogtemplate/post.template"}
+		{/foreach}
+{pager style="links"}
+{include file="$blogtemplate/links.template"}
 {include file="$blogtemplate/footer.template"}
\ No newline at end of file

Modified: templates/branches/lifetype-1.2/MinimaPlus/nicetitle.css
===================================================================
--- templates/branches/lifetype-1.2/MinimaPlus/nicetitle.css	2008-04-28 12:36:42 UTC (rev 6326)
+++ templates/branches/lifetype-1.2/MinimaPlus/nicetitle.css	2008-04-28 12:38:20 UTC (rev 6327)
@@ -1,28 +1,28 @@
-div.nicetitle {
-	background-color: #4A4F65;
-	color: #fff;
-	font: bold 13px "Trebuchet MS", Verdana, Arial, sans-serif;
-	left: 0;
-	padding: 4px;
-	position: absolute;
-	text-align: left;
-	top: 0;
-	width: 25em;
-	z-index: 20;
-
-	}
-
-div.nicetitle p {
-    margin: 0;
-	padding: 0 3px;
-}
-
-div.nicetitle p.destination {
-    font-size: 9px;
-    padding-top: 3px;
-	text-align: left;
-}
-
-div.nicetitle p span.accesskey {
-	color: #d17e62;
-}
+div.nicetitle {
+	background-color: #4A4F65;
+	color: #fff;
+	font: bold 13px "Trebuchet MS", Verdana, Arial, sans-serif;
+	left: 0;
+	padding: 4px;
+	position: absolute;
+	text-align: left;
+	top: 0;
+	width: 25em;
+	z-index: 20;
+
+	}
+
+div.nicetitle p {
+    margin: 0;
+	padding: 0 3px;
+}
+
+div.nicetitle p.destination {
+    font-size: 9px;
+    padding-top: 3px;
+	text-align: left;
+}
+
+div.nicetitle p span.accesskey {
+	color: #d17e62;
+}

Modified: templates/branches/lifetype-1.2/MinimaPlus/nicetitle.js
===================================================================
--- templates/branches/lifetype-1.2/MinimaPlus/nicetitle.js	2008-04-28 12:36:42 UTC (rev 6326)
+++ templates/branches/lifetype-1.2/MinimaPlus/nicetitle.js	2008-04-28 12:38:20 UTC (rev 6327)
@@ -1,346 +1,346 @@
-// original code by Stuart Langridge 2003-11
-// with additions to the code by other good people
-// http://www.kryogenix.org/code/browser/nicetitle/
-// thank you, sir
-
-// modified by Peter Janes 2003-03-25
-// http://peterjanes.ca/blog/archives/2003/03/25/nicetitles-for-ins-and-del
-// added in ins and del tags
-
-// modified by Dunstan Orchard 2003-11-18
-// http://1976design.com/blog/
-// added in accesskey information
-// tried ever-so-hard, but couldn't work out how to do what Ethan did
-
-// final genius touch by by Ethan Marcotte 2003-11-18
-// http://www.sidesh0w.com/
-// worked out how to delay showing the popups to make them more like the browser's own
-
-
-// set the namespace
-var XHTMLNS = 'http://www.w3.org/1999/xhtml';
-var CURRENT_NICE_TITLE;
-
-// browser sniff
-var browser = new Browser();
-
-
-
-// determine browser and version.
-function Browser()
-	{
-	var ua, s, i;
-
-	this.isIE = false;
-	this.isNS = false;
-	this.version = null;
-
-	ua = navigator.userAgent;
-
-	s = 'MSIE';
-	if ((i = ua.indexOf(s)) >= 0)
-		{
-		this.isIE = true;
-		this.version = parseFloat(ua.substr(i + s.length));
-		return;
-		}
-
-	s = 'Netscape6/';
-	if ((i = ua.indexOf(s)) >= 0)
-		{
-		this.isNS = true;
-		this.version = parseFloat(ua.substr(i + s.length));
-		return;
-		}
-
-	// treat any other 'Gecko' browser as NS 6.1.
-	s = 'Gecko';
-	if ((i = ua.indexOf(s)) >= 0)
-		{
-		this.isNS = true;
-		this.version = 6.1;
-		return;
-		}
-	}
-
-
-
-// 2003-11-19 sidesh0w
-// set delay vars to emulate normal hover delay
-var delay;
-var interval = 0.20;
-
-
-
-// this function runs on window load
-// it runs through all the links on the page as starts listening for actions
-function makeNiceTitles()
-	{
-	if (!document.createElement || !document.getElementsByTagName) return;
-	if (!document.createElementNS)
-		{
-		document.createElementNS = function(ns, elt)
-			{
-			return document.createElement(elt);
-			}
-		}
-
-	// do regular links
-	if (!document.links)
-		{
-		document.links = document.getElementsByTagName('a');
-		}
-	for (var ti=0; ti<document.links.length; ti++)
-		{
-		var lnk = document.links[ti];
-		if (lnk.title)
-			{
-			lnk.setAttribute('nicetitle', lnk.title);
-			lnk.removeAttribute('title');
-			addEvent(lnk, 'mouseover', showDelay);
-			addEvent(lnk, 'mouseout', hideNiceTitle);
-			addEvent(lnk, 'focus', showDelay);
-			addEvent(lnk, 'blur', hideNiceTitle);
-			}
-		}
-
-	// 2003-03-25 Peter Janes
-	// do ins and del tags
-	var tags = new Array(2);
-	tags[0] = document.getElementsByTagName('ins');
-	tags[1] = document.getElementsByTagName('del');
-	for (var tt=0; tt<tags.length; tt++)
-		{
-		if (tags[tt])
-			{
-			for (var ti=0; ti<tags[tt].length; ti++)
-				{
-				var tag = tags[tt][ti];
-				if (tag.dateTime)
-					{
-					var strDate = tag.dateTime;
-					// HTML/ISO8601 date: yyyy-mm-ddThh:mm:ssTZD (Z, -hh:mm, +hh:mm)
-					var month = strDate.substring(5,7);
-					var day = strDate.substring(8,10);
-					if (month[0] == '0')
-						{
-						month = month[1];
-						}
-					if (day[0] == '0')
-						{
-						day = day[1];
-						}
-					var dtIns = new Date(strDate.substring(0,4), month-1, day, strDate.substring(11,13), strDate.substring(14,16), strDate.substring(17,19));
-					tag.setAttribute('nicetitle', (tt == 0 ? 'Added' : 'Deleted') + ' on ' + dtIns.toString());
-					addEvent(tag, 'mouseover', showDelay);
-					addEvent(tag, 'mouseout', hideNiceTitle);
-					addEvent(tag, 'focus', showDelay);
-					addEvent(tag, 'blur', hideNiceTitle);
-					}
-				}
-			}
-		}
-	}
-
-
-
-// by Scott Andrew
-// add an eventlistener to browsers that can do it somehow.
-function addEvent(obj, evType, fn)
-	{
-	if (obj.addEventListener)
-		{
-		obj.addEventListener(evType, fn, true);
-		return true;
-		}
-	else if (obj.attachEvent)
-		{
-		var r = obj.attachEvent('on'+evType, fn);
-		return r;
-		}
-	else
-		{
-		return false;
-		}
-	}
-
-
-
-function findPosition(oLink)
-	{
-	if (oLink.offsetParent)
-		{
-		for (var posX = 0, posY = 0; oLink.offsetParent; oLink = oLink.offsetParent)
-			{
-			posX += oLink.offsetLeft;
-			posY += oLink.offsetTop;
-			}
-		return [posX, posY];
-		}
-	else
-		{
-		return [oLink.x, oLink.y];
-		}
-	}
-
-
-
-function getParent(el, pTagName)
-	{
-	if (el == null)
-		{
-		return null;
-		}
-	// gecko bug, supposed to be uppercase
-	else if (el.nodeType == 1 && el.tagName.toLowerCase() == pTagName.toLowerCase())
-		{
-		return el;
-		}
-	else
-		{
-		return getParent(el.parentNode, pTagName);
-		}
-	}
-
-
-
-// 2003-11-19 sidesh0w
-// trailerpark wrapper function
-function showDelay(e)
-	{
-    if (window.event && window.event.srcElement)
-		{
-        lnk = window.event.srcElement
-		}
-	else if (e && e.target)
-		{
-        lnk = e.target
-		}
-    if (!lnk) return;
-
-	// lnk is a textnode or an elementnode that's not ins/del
-    if (lnk.nodeType == 3 || (lnk.nodeType == 1 && lnk.tagName.toLowerCase() != 'ins' && lnk.tagName.toLowerCase() != 'del'))
-		{
-		// ascend parents until we hit a link
-		lnk = getParent(lnk, 'a');
-		}
-	
-	delay = setTimeout("showNiceTitle(lnk)", interval * 1000);
-	}
-
-
-
-// build and show the nice titles
-function showNiceTitle(link)
-	{
-    if (CURRENT_NICE_TITLE) hideNiceTitle(CURRENT_NICE_TITLE);
-    if (!document.getElementsByTagName) return;
-
-    nicetitle = lnk.getAttribute('nicetitle');
-    
-    var d = document.createElementNS(XHTMLNS, 'div');
-    d.className = 'nicetitle';
-    tnt = document.createTextNode(nicetitle);
-    pat = document.createElementNS(XHTMLNS, 'p');
-    pat.className = 'titletext';
-    pat.appendChild(tnt);
-
-	// 2003-11-18 Dunstan Orchard
-	// added in accesskey info
-	if (lnk.accessKey)
-		{
-        axs = document.createTextNode(' [' + lnk.accessKey + ']');
-		axsk = document.createElementNS(XHTMLNS, 'span');
-        axsk.className = 'accesskey';
-        axsk.appendChild(axs);
-		pat.appendChild(axsk);
-		}
-    d.appendChild(pat);
-
-    if (lnk.href)
-		{
-        tnd = document.createTextNode(lnk.href);
-        pad = document.createElementNS(XHTMLNS, 'p');
-        pad.className = 'destination';
-        pad.appendChild(tnd);
-        d.appendChild(pad);
-		}
-    
-    STD_WIDTH = 300;
-
-	if (lnk.href)
-		{
-        h = lnk.href.length;
-		}
-	else
-		{
-		h = nicetitle.length;
-		}
-	
-    if (nicetitle.length)
-		{
-		t = nicetitle.length;
-		}
-	
-    h_pixels = h*6;
-	t_pixels = t*10;
-    
-    if (h_pixels > STD_WIDTH)
-		{
-        w = h_pixels;
-		}
-	else if ((STD_WIDTH>t_pixels) && (t_pixels>h_pixels))
-		{
-        w = t_pixels;
-		}
-	else if ((STD_WIDTH>t_pixels) && (h_pixels>t_pixels))
-		{
-        w = h_pixels;
-		}
-	else
-		{
-        w = STD_WIDTH;
-		}
-        
-    d.style.width = w + 'px';    
-
-    mpos = findPosition(lnk);
-    mx = mpos[0];
-    my = mpos[1];
-    
-    d.style.left = (mx+15) + 'px';
-    d.style.top = (my+35) + 'px';
-
-    if (window.innerWidth && ((mx+w) > window.innerWidth))
-		{
-        d.style.left = (window.innerWidth - w - 25) + 'px';
-		}
-    if (document.body.scrollWidth && ((mx+w) > document.body.scrollWidth))
-		{
-        d.style.left = (document.body.scrollWidth - w - 25) + 'px';
-		}
-    
-    document.getElementsByTagName('body')[0].appendChild(d);
-
-    CURRENT_NICE_TITLE = d;
-	}
-
-
-
-
-function hideNiceTitle(e)
-	{
-	// 2003-11-19 sidesh0w
-	// clearTimeout 
-	if (delay) clearTimeout(delay);
-	if (!document.getElementsByTagName) return;
-	if (CURRENT_NICE_TITLE)
-		{
-		document.getElementsByTagName('body')[0].removeChild(CURRENT_NICE_TITLE);
-		CURRENT_NICE_TITLE = null;
-		}
-	}
-
-window.onload = function(e) {
-makeNiceTitles();
-}
+// original code by Stuart Langridge 2003-11
+// with additions to the code by other good people
+// http://www.kryogenix.org/code/browser/nicetitle/
+// thank you, sir
+
+// modified by Peter Janes 2003-03-25
+// http://peterjanes.ca/blog/archives/2003/03/25/nicetitles-for-ins-and-del
+// added in ins and del tags
+
+// modified by Dunstan Orchard 2003-11-18
+// http://1976design.com/blog/
+// added in accesskey information
+// tried ever-so-hard, but couldn't work out how to do what Ethan did
+
+// final genius touch by by Ethan Marcotte 2003-11-18
+// http://www.sidesh0w.com/
+// worked out how to delay showing the popups to make them more like the browser's own
+
+
+// set the namespace
+var XHTMLNS = 'http://www.w3.org/1999/xhtml';
+var CURRENT_NICE_TITLE;
+
+// browser sniff
+var browser = new Browser();
+
+
+
+// determine browser and version.
+function Browser()
+	{
+	var ua, s, i;
+
+	this.isIE = false;
+	this.isNS = false;
+	this.version = null;
+
+	ua = navigator.userAgent;
+
+	s = 'MSIE';
+	if ((i = ua.indexOf(s)) >= 0)
+		{
+		this.isIE = true;
+		this.version = parseFloat(ua.substr(i + s.length));
+		return;
+		}
+
+	s = 'Netscape6/';
+	if ((i = ua.indexOf(s)) >= 0)
+		{
+		this.isNS = true;
+		this.version = parseFloat(ua.substr(i + s.length));
+		return;
+		}
+
+	// treat any other 'Gecko' browser as NS 6.1.
+	s = 'Gecko';
+	if ((i = ua.indexOf(s)) >= 0)
+		{
+		this.isNS = true;
+		this.version = 6.1;
+		return;
+		}
+	}
+
+
+
+// 2003-11-19 sidesh0w
+// set delay vars to emulate normal hover delay
+var delay;
+var interval = 0.20;
+
+
+
+// this function runs on window load
+// it runs through all the links on the page as starts listening for actions
+function makeNiceTitles()
+	{
+	if (!document.createElement || !document.getElementsByTagName) return;
+	if (!document.createElementNS)
+		{
+		document.createElementNS = function(ns, elt)
+			{
+			return document.createElement(elt);
+			}
+		}
+
+	// do regular links
+	if (!document.links)
+		{
+		document.links = document.getElementsByTagName('a');
+		}
+	for (var ti=0; ti<document.links.length; ti++)
+		{
+		var lnk = document.links[ti];
+		if (lnk.title)
+			{
+			lnk.setAttribute('nicetitle', lnk.title);
+			lnk.removeAttribute('title');
+			addEvent(lnk, 'mouseover', showDelay);
+			addEvent(lnk, 'mouseout', hideNiceTitle);
+			addEvent(lnk, 'focus', showDelay);
+			addEvent(lnk, 'blur', hideNiceTitle);
+			}
+		}
+
+	// 2003-03-25 Peter Janes
+	// do ins and del tags
+	var tags = new Array(2);
+	tags[0] = document.getElementsByTagName('ins');
+	tags[1] = document.getElementsByTagName('del');
+	for (var tt=0; tt<tags.length; tt++)
+		{
+		if (tags[tt])
+			{
+			for (var ti=0; ti<tags[tt].length; ti++)
+				{
+				var tag = tags[tt][ti];
+				if (tag.dateTime)
+					{
+					var strDate = tag.dateTime;
+					// HTML/ISO8601 date: yyyy-mm-ddThh:mm:ssTZD (Z, -hh:mm, +hh:mm)
+					var month = strDate.substring(5,7);
+					var day = strDate.substring(8,10);
+					if (month[0] == '0')
+						{
+						month = month[1];
+						}
+					if (day[0] == '0')
+						{
+						day = day[1];
+						}
+					var dtIns = new Date(strDate.substring(0,4), month-1, day, strDate.substring(11,13), strDate.substring(14,16), strDate.substring(17,19));
+					tag.setAttribute('nicetitle', (tt == 0 ? 'Added' : 'Deleted') + ' on ' + dtIns.toString());
+					addEvent(tag, 'mouseover', showDelay);
+					addEvent(tag, 'mouseout', hideNiceTitle);
+					addEvent(tag, 'focus', showDelay);
+					addEvent(tag, 'blur', hideNiceTitle);
+					}
+				}
+			}
+		}
+	}
+
+
+
+// by Scott Andrew
+// add an eventlistener to browsers that can do it somehow.
+function addEvent(obj, evType, fn)
+	{
+	if (obj.addEventListener)
+		{
+		obj.addEventListener(evType, fn, true);
+		return true;
+		}
+	else if (obj.attachEvent)
+		{
+		var r = obj.attachEvent('on'+evType, fn);
+		return r;
+		}
+	else
+		{
+		return false;
+		}
+	}
+
+
+
+function findPosition(oLink)
+	{
+	if (oLink.offsetParent)
+		{
+		for (var posX = 0, posY = 0; oLink.offsetParent; oLink = oLink.offsetParent)
+			{
+			posX += oLink.offsetLeft;
+			posY += oLink.offsetTop;
+			}
+		return [posX, posY];
+		}
+	else
+		{
+		return [oLink.x, oLink.y];
+		}
+	}
+
+
+
+function getParent(el, pTagName)
+	{
+	if (el == null)
+		{
+		return null;
+		}
+	// gecko bug, supposed to be uppercase
+	else if (el.nodeType == 1 && el.tagName.toLowerCase() == pTagName.toLowerCase())
+		{
+		return el;
+		}
+	else
+		{
+		return getParent(el.parentNode, pTagName);
+		}
+	}
+
+
+
+// 2003-11-19 sidesh0w
+// trailerpark wrapper function
+function showDelay(e)
+	{
+    if (window.event && window.event.srcElement)
+		{
+        lnk = window.event.srcElement
+		}
+	else if (e && e.target)
+		{
+        lnk = e.target
+		}
+    if (!lnk) return;
+
+	// lnk is a textnode or an elementnode that's not ins/del
+    if (lnk.nodeType == 3 || (lnk.nodeType == 1 && lnk.tagName.toLowerCase() != 'ins' && lnk.tagName.toLowerCase() != 'del'))
+		{
+		// ascend parents until we hit a link
+		lnk = getParent(lnk, 'a');
+		}
+	
+	delay = setTimeout("showNiceTitle(lnk)", interval * 1000);
+	}
+
+
+
+// build and show the nice titles
+function showNiceTitle(link)
+	{
+    if (CURRENT_NICE_TITLE) hideNiceTitle(CURRENT_NICE_TITLE);
+    if (!document.getElementsByTagName) return;
+
+    nicetitle = lnk.getAttribute('nicetitle');
+    
+    var d = document.createElementNS(XHTMLNS, 'div');
+    d.className = 'nicetitle';
+    tnt = document.createTextNode(nicetitle);
+    pat = document.createElementNS(XHTMLNS, 'p');
+    pat.className = 'titletext';
+    pat.appendChild(tnt);
+
+	// 2003-11-18 Dunstan Orchard
+	// added in accesskey info
+	if (lnk.accessKey)
+		{
+        axs = document.createTextNode(' [' + lnk.accessKey + ']');
+		axsk = document.createElementNS(XHTMLNS, 'span');
+        axsk.className = 'accesskey';
+        axsk.appendChild(axs);
+		pat.appendChild(axsk);
+		}
+    d.appendChild(pat);
+
+    if (lnk.href)
+		{
+        tnd = document.createTextNode(lnk.href);
+        pad = document.createElementNS(XHTMLNS, 'p');
+        pad.className = 'destination';
+        pad.appendChild(tnd);
+        d.appendChild(pad);
+		}
+    
+    STD_WIDTH = 300;
+
+	if (lnk.href)
+		{
+        h = lnk.href.length;
+		}
+	else
+		{
+		h = nicetitle.length;
+		}
+	
+    if (nicetitle.length)
+		{
+		t = nicetitle.length;
+		}
+	
+    h_pixels = h*6;
+	t_pixels = t*10;
+    
+    if (h_pixels > STD_WIDTH)
+		{
+        w = h_pixels;
+		}
+	else if ((STD_WIDTH>t_pixels) && (t_pixels>h_pixels))
+		{
+        w = t_pixels;
+		}
+	else if ((STD_WIDTH>t_pixels) && (h_pixels>t_pixels))
+		{
+        w = h_pixels;
+		}
+	else
+		{
+        w = STD_WIDTH;
+		}
+        
+    d.style.width = w + 'px';    
+
+    mpos = findPosition(lnk);
+    mx = mpos[0];
+    my = mpos[1];
+    
+    d.style.left = (mx+15) + 'px';
+    d.style.top = (my+35) + 'px';
+
+    if (window.innerWidth && ((mx+w) > window.innerWidth))
+		{
+        d.style.left = (window.innerWidth - w - 25) + 'px';
+		}
+    if (document.body.scrollWidth && ((mx+w) > document.body.scrollWidth))
+		{
+        d.style.left = (document.body.scrollWidth - w - 25) + 'px';
+		}
+    
+    document.getElementsByTagName('body')[0].appendChild(d);
+
+    CURRENT_NICE_TITLE = d;
+	}
+
+
+
+
+function hideNiceTitle(e)
+	{
+	// 2003-11-19 sidesh0w
+	// clearTimeout 
+	if (delay) clearTimeout(delay);
+	if (!document.getElementsByTagName) return;
+	if (CURRENT_NICE_TITLE)
+		{
+		document.getElementsByTagName('body')[0].removeChild(CURRENT_NICE_TITLE);
+		CURRENT_NICE_TITLE = null;
+		}
+	}
+
+window.onload = function(e) {
+makeNiceTitles();
+}

Modified: templates/branches/lifetype-1.2/MinimaPlus/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/MinimaPlus/postandcomments.template	2008-04-28 12:36:42 UTC (rev 6326)
+++ templates/branches/lifetype-1.2/MinimaPlus/postandcomments.template	2008-04-28 12:38:20 UTC (rev 6327)
@@ -1,35 +1,35 @@
-{include file="$blogtemplate/header.template"}
-{assign var="postDate" value=$post->getDateObject()}
-{assign var="postOwner" value=$post->getUserInfo()}
-
-<!-- {$url->postTrackbackLink($post)} -->
-
-	<!-- Begin .post -->
-	<div class="post">
-		<h3 class="post-title"><a href="{$url->postPermalink($post)}" style="text-decoration:none;" rel="bookmark" title="Permanent Link: {$post->getTopic()}">{$post->getTopic()}</a></h3>
-		<br>
-	{foreach name=categories from=$post->getCategories() item=postcategory}
-		<p class="post-footer">
-	<em><a href="{$url->categoryLink($postcategory)}" title="View all posts in {$postcategory->getName()}" rel="category tag">{$postcategory->getName()}</a></em>
-	</p>
-				{if !$smarty.foreach.categories.last}, {/if}
-			{/foreach}
-		
-		<div class="post-body">
-			<div>
-				<p>{$post->getText()}</p>
-			</div>
-		</div>
-		
-		<p class="post-footer">
-			<em>posted by {$postOwner->getUsername()} on 
-			<a href="{$url->postPermalink($post)}" title="permanent link">{$locale->formatDate($postDate,"%m/%d,%Y")}</a> @ {$locale->formatDate($postDate,"%H:%M")}</em> | <a class="comment-link" href="http://phys.idv.tw/wp/?p=1#comments"><em><a href="{$url->postPermalink($post)}#comments">{$post->getNumComments()} Comments</a></em></a>
-		</p>
-	</div>
-
-<!-- End .post -->	
-<!-- Show All Comments -->
-{include file="$blogtemplate/comments.template"}
-
-{include file="$blogtemplate/links.template"}
-{include file="$blogtemplate/footer.template"}
+{include file="$blogtemplate/header.template"}
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+
+<!-- {$url->postTrackbackLink($post)} -->
+
+	<!-- Begin .post -->
+	<div class="post">
+		<h3 class="post-title"><a href="{$url->postPermalink($post)}" style="text-decoration:none;" rel="bookmark" title="Permanent Link: {$post->getTopic()}">{$post->getTopic()}</a></h3>
+		<br>
+	{foreach name=categories from=$post->getCategories() item=postcategory}
+		<p class="post-footer">
+	<em><a href="{$url->categoryLink($postcategory)}" title="View all posts in {$postcategory->getName()}" rel="category tag">{$postcategory->getName()}</a></em>
+	</p>
+				{if !$smarty.foreach.categories.last}, {/if}
+			{/foreach}
+		
+		<div class="post-body">
+			<div>
+				<p>{$post->getText()}</p>
+			</div>
+		</div>
+		
+		<p class="post-footer">
+			<em>posted by {$postOwner->getUsername()} on 
+			<a href="{$url->postPermalink($post)}" title="permanent link">{$locale->formatDate($postDate,"%m/%d,%Y")}</a> @ {$locale->formatDate($postDate,"%H:%M")}</em> | <a class="comment-link" href="http://phys.idv.tw/wp/?p=1#comments"><em><a href="{$url->postPermalink($post)}#comments">{$post->getNumComments()} Comments</a></em></a>
+		</p>
+	</div>
+
+<!-- End .post -->	
+<!-- Show All Comments -->
+{include file="$blogtemplate/comments.template"}
+
+{include file="$blogtemplate/links.template"}
+{include file="$blogtemplate/footer.template"}

Modified: templates/branches/lifetype-1.2/MinimaPlus/style.css
===================================================================
--- templates/branches/lifetype-1.2/MinimaPlus/style.css	2008-04-28 12:36:42 UTC (rev 6326)
+++ templates/branches/lifetype-1.2/MinimaPlus/style.css	2008-04-28 12:38:20 UTC (rev 6327)
@@ -1,430 +1,430 @@
-/*<body>
-
-Theme Name: Minima Plus
-Theme URI: http://www.thoughtmechanics.com/blog/
-Description: Enhancement to original blogger theme Minima by Douglas Bowman, see info below.
-Version: 1.0
-Author: Theron Parlin
-Author URI: http://www.thoughtmechanics.com/ 
-
------------------------------------------------
-Blogger Template Style
-Name:     Minima
-Designer: Douglas Bowman
-URL:      www.stopdesign.com
-Date:     26 Feb 2004
------------------------------------------------ */
-
-#blogTitle {
-	position: absolute;	
-	font-family: 'Arial Black', Sans-Serif;
-	color: #333;
-	font-size: 10pt;
-	text-transform: uppercase;
-	text-align: left;
-}
-
-#blogTitle a {
-	color: #333;
-}
-
-
-#masthead {
-margin: 0 auto;
-border: 1px solid #999;
-background-image: url(masthead.jpg);
-width: 660px;
-height: 211px;
-}
-
-#menu {
-	width: 660px;
-	height: 35px;
-	margin: 0 auto 0 auto;
-	padding-top: 2px;
-	vertical-align: bottom;
-	text-align: left;
-        background: #FEFEFE
-}
-.right {
-	float: right;
-	padding-top: 0px;
-	padding-right: 10px;
-}
-.left {
-	float: left;
-	padding-top: 0px;
-	padding-left:10px;
-}
-.commentBox {
-}
-.commentBox p {
-	padding-top: 0px;
-	margin-top: 0px;
-}
-ul.linklog {
-	margin-bottom: 0px;
-	margin-left: 0px;
-	padding-left: 20px;
-}
-ul.linklog li {
-	list-style: url(bullet.jpg);
-}
-body {
-  background: #FEFEFE url(background.jpg) repeat-y center;
-  margin:0;
-  padding:0px 20px;
-  font:x-small Georgia,Serif;
-  text-align:center;
-  color:#333;
-  font-size/* */:/**/small;
-  font-size: /**/small;
-  }
-a:link {
-  color:#58a;
-  text-decoration:none;
-  }
-a:visited {
-  color:#969;
-  text-decoration:none;
-  }
-a:hover {
-  color:#c60;
-  text-decoration:underline;
-  }
-a img {
-  border-width:0;
-  }
-
-/* Header
------------------------------------------------ */
-#header {
-  width:660px;
-  margin:0 auto 10px;
-  border:1px solid #ccc;
-  }
-#blog-title {
-  margin:5px 5px 0;
-  padding:20px 20px .25em;
-  border:1px solid #eee;
-  border-width:1px 1px 0;
-  font-size:200%;
-  line-height:1.2em;
-  font-weight:normal;
-  color:#666;
-  text-transform:uppercase;
-  letter-spacing:.2em;
-  }
-#blog-title a {
-  color:#666;
-  text-decoration:none;
-  }
-#blog-title a:hover {
-  color:#c60;
-  }
-#description {
-  margin:0 5px 5px;
-  padding:0 20px 20px;
-  border:1px solid #eee;
-  border-width:0 1px 1px;
-  max-width:700px;
-  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
-  text-transform:uppercase;
-  letter-spacing:.2em;
-  color:#999;
-  }
-
-
-/* Content
------------------------------------------------ */
-#content {
-  width:660px;
-  margin:0 auto;
-  margin-top: 1em;
-  padding:0;
-  text-align:left;
-  }
-#main {
-  padding-left: 7px;
-  width:410px;
-  float:left;
-  }
-#sidebar {
-  margin-top: .5em;
-  width:220px;
-  float:right;
-  }
-
-
-/* Headings
------------------------------------------------ */
-h2 {
-  margin:1.5em 0 .75em;
-  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
-  text-transform:uppercase;
-  letter-spacing:.2em;
-  color:#999;
-  }
-
-
-/* Posts
------------------------------------------------ */
-p {
-	font-size:10pt;
-	letter-spacing:1px;
-}
-.date-header {
-  margin:1.5em 0 .5em;
-  }
-.post {
-  margin:.5em 0 1.5em;
-  border-bottom:1px dotted #ccc;
-  padding-bottom:1.5em;
-  }
-.post-title {
-  margin:.25em 0 0;
-  padding:0 0 0px;
-  font-size:140%;
-  font-weight:normal;
-  line-height:1.4em;
-  color:#c60;
-  }
-.post-title a, .post-title a:visited, .post-title strong {
-  display:block;
-  text-decoration:none;
-  color:#c60;
-  font-weight:normal;
-  }
-.post-title strong, .post-title a:hover {
-  color:#333;
-  }
-.post div {
-  margin:0 0 .75em;
-  line-height:1.6em;
-  }
-p.post-footer {
-  margin:-.25em 0 0;
-  color:#ccc;
-  }
-.post-footer em, .comment-link {
-  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
-  text-transform:uppercase;
-  letter-spacing:.1em;
-  }
-.post-footer em {
-  font-style:normal;
-  color:#999;
-  margin-right:.6em;
-  }
-.comment-link {
-  margin-left:.6em;
-  }
-.post img {
-  padding:4px;
-  border:0px solid #ddd;
-  }
-.post blockquote {
-  margin:1em 20px;
-  color:#666;
-  font-style:italic;
-  }
-.post blockquote p {
-  margin:.75em 0;
-  }
-
-
-/* Comments
------------------------------------------------ */
-#comments h4 {
-  margin:1em 0;
-  font:bold 78%/1.6em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
-  text-transform:uppercase;
-  letter-spacing:.2em;
-  color:#999;
-  }
-#comments h4 strong {
-  font-size:130%;
-  }
-#comments-block {
-  margin:1em 0 1.5em;
-  line-height:1.6em;
-  }
-#comments-block dt {
-  margin:.5em 0;
-  }
-#comments-block dd {
-  margin:.25em 0 0;
-  }
-#comments-block dd.comment-timestamp {
-  margin:-.25em 0 2em;
-  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
-  text-transform:uppercase;
-  letter-spacing:.1em;
-  }
-#comments-block dd p {
-  margin:0 0 .75em;
-  }
-.deleted-comment {
-  font-style:italic;
-  color:gray;
-  }
-
-
-/* Sidebar Content
------------------------------------------------ */
-#sidebar ul {
-  margin:0 0 1.5em;
-  padding:0 0 1.5em;
-  padding-bottom: 1em;
-  border-bottom:1px dotted #ccc;
-  list-style:none;
-  }
-#sidebar li {
-  margin:0;
-  padding:0 0 .25em 15px;
-  text-indent:-15px;
-  line-height:1.5em;
-  }
-#sidebar p {
-  color:#666;
-  line-height:1.5em;
-  }
-
-
-
-/* Profile
------------------------------------------------ */
-
-
-#profile-container {
-  margin:0 0 1.5em;
-  border-bottom:1px dotted #ccc;
-  padding-bottom:1.5em;
-  }
-.profile-datablock {
-
-
-
-  margin:.5em 0 .5em;
-  }
-.profile-img {
-  display:inline;
-  }
-.profile-img img {
-  float:left;
-  padding:4px;
-  border:1px solid #ddd;
-  margin:0 8px 3px 0;
-  }
-.profile-data {
-  margin:0;
-  font:bold 78%/1.6em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
-  text-transform:uppercase;
-  letter-spacing:.1em;
-  }
-.profile-data strong {
-  display:none;
-  }
-.profile-textblock {
-  margin:0 0 .5em;
-  }
-.profile-link {
-  margin:0;
-  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
-  text-transform:uppercase;
-  letter-spacing:.1em;
-  }
-
-
-/* Footer
------------------------------------------------ */
-#footer {
-  width:660px;
-  clear:both;
-  margin:0 auto;
-  }
-#footer hr {
-  display:none;
-  }
-#footer p {
-  margin:0;
-  padding-top:15px;
-  font:78%/1.6em "Trebuchet MS",Trebuchet,Verdana,Sans-serif;
-  text-transform:uppercase;
-  letter-spacing:.1em;
-  }
-.pager {
-	clear:all;
-	text-align: center;
-	margin-bottom: 20px;
-	margin-top: 20px;
-	font-size: 12px;
-	padding-top: 10px;
-	padding-bottom: 10px;
-}
-.pager a, .pager a:link, .pager a:href, .pager a:hover {
- text-decoration: none;
- border: 0px;
-}
-
-.pager .pagerLinkPrevPage, .pagerLink, .pagerLinkNextPage{
-	padding: 2px 6px;
-}
-
-.pager .pagerLinkPrevPage{
-	margin-right:20px;
-}
-.pager .pagerLinkNextPage {
-	margin-left:20px;
-}
-
-.pager .pagerCurrent {
-	padding: 2px 6px; 
-	border-color: #999; 
-	font-weight: bold; 
-	font-size: 13px; 
-	vertical-align: top; 
-	background: #fff; 
-	color: #FF0084;	
-}
+/*<body>
 
+Theme Name: Minima Plus
+Theme URI: http://www.thoughtmechanics.com/blog/
+Description: Enhancement to original blogger theme Minima by Douglas Bowman, see info below.
+Version: 1.0
+Author: Theron Parlin
+Author URI: http://www.thoughtmechanics.com/ 
+
+-----------------------------------------------
+Blogger Template Style
+Name:     Minima
+Designer: Douglas Bowman
+URL:      www.stopdesign.com
+Date:     26 Feb 2004
+----------------------------------------------- */
+
+#blogTitle {
+	position: absolute;	
+	font-family: 'Arial Black', Sans-Serif;
+	color: #333;
+	font-size: 10pt;
+	text-transform: uppercase;
+	text-align: left;
+}
+
+#blogTitle a {
+	color: #333;
+}
+
+
+#masthead {
+margin: 0 auto;
+border: 1px solid #999;
+background-image: url(masthead.jpg);
+width: 660px;
+height: 211px;
+}
+
+#menu {
+	width: 660px;
+	height: 35px;
+	margin: 0 auto 0 auto;
+	padding-top: 2px;
+	vertical-align: bottom;
+	text-align: left;
+        background: #FEFEFE
+}
+.right {
+	float: right;
+	padding-top: 0px;
+	padding-right: 10px;
+}
+.left {
+	float: left;
+	padding-top: 0px;
+	padding-left:10px;
+}
+.commentBox {
+}
+.commentBox p {
+	padding-top: 0px;
+	margin-top: 0px;
+}
+ul.linklog {
+	margin-bottom: 0px;
+	margin-left: 0px;
+	padding-left: 20px;
+}
+ul.linklog li {
+	list-style: url(bullet.jpg);
+}
+body {
+  background: #FEFEFE url(background.jpg) repeat-y center;
+  margin:0;
+  padding:0px 20px;
+  font:x-small Georgia,Serif;
+  text-align:center;
+  color:#333;
+  font-size/* */:/**/small;
+  font-size: /**/small;
+  }
+a:link {
+  color:#58a;
+  text-decoration:none;
+  }
+a:visited {
+  color:#969;
+  text-decoration:none;
+  }
+a:hover {
+  color:#c60;
+  text-decoration:underline;
+  }
+a img {
+  border-width:0;
+  }
+
+/* Header
+----------------------------------------------- */
+#header {
+  width:660px;
+  margin:0 auto 10px;
+  border:1px solid #ccc;
+  }
+#blog-title {
+  margin:5px 5px 0;
+  padding:20px 20px .25em;
+  border:1px solid #eee;
+  border-width:1px 1px 0;
+  font-size:200%;
+  line-height:1.2em;
+  font-weight:normal;
+  color:#666;
+  text-transform:uppercase;
+  letter-spacing:.2em;
+  }
+#blog-title a {
+  color:#666;
+  text-decoration:none;
+  }
+#blog-title a:hover {
+  color:#c60;
+  }
+#description {
+  margin:0 5px 5px;
+  padding:0 20px 20px;
+  border:1px solid #eee;
+  border-width:0 1px 1px;
+  max-width:700px;
+  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
+  text-transform:uppercase;
+  letter-spacing:.2em;
+  color:#999;
+  }
+
+
+/* Content
+----------------------------------------------- */
+#content {
+  width:660px;
+  margin:0 auto;
+  margin-top: 1em;
+  padding:0;
+  text-align:left;
+  }
+#main {
+  padding-left: 7px;
+  width:410px;
+  float:left;
+  }
+#sidebar {
+  margin-top: .5em;
+  width:220px;
+  float:right;
+  }
+
+
+/* Headings
+----------------------------------------------- */
+h2 {
+  margin:1.5em 0 .75em;
+  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
+  text-transform:uppercase;
+  letter-spacing:.2em;
+  color:#999;
+  }
+
+
+/* Posts
+----------------------------------------------- */
+p {
+	font-size:10pt;
+	letter-spacing:1px;
+}
+.date-header {
+  margin:1.5em 0 .5em;
+  }
+.post {
+  margin:.5em 0 1.5em;
+  border-bottom:1px dotted #ccc;
+  padding-bottom:1.5em;
+  }
+.post-title {
+  margin:.25em 0 0;
+  padding:0 0 0px;
+  font-size:140%;
+  font-weight:normal;
+  line-height:1.4em;
+  color:#c60;
+  }
+.post-title a, .post-title a:visited, .post-title strong {
+  display:block;
+  text-decoration:none;
+  color:#c60;
+  font-weight:normal;
+  }
+.post-title strong, .post-title a:hover {
+  color:#333;
+  }
+.post div {
+  margin:0 0 .75em;
+  line-height:1.6em;
+  }
+p.post-footer {
+  margin:-.25em 0 0;
+  color:#ccc;
+  }
+.post-footer em, .comment-link {
+  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
+  text-transform:uppercase;
+  letter-spacing:.1em;
+  }
+.post-footer em {
+  font-style:normal;
+  color:#999;
+  margin-right:.6em;
+  }
+.comment-link {
+  margin-left:.6em;
+  }
+.post img {
+  padding:4px;
+  border:0px solid #ddd;
+  }
+.post blockquote {
+  margin:1em 20px;
+  color:#666;
+  font-style:italic;
+  }
+.post blockquote p {
+  margin:.75em 0;
+  }
+
+
+/* Comments
+----------------------------------------------- */
+#comments h4 {
+  margin:1em 0;
+  font:bold 78%/1.6em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
+  text-transform:uppercase;
+  letter-spacing:.2em;
+  color:#999;
+  }
+#comments h4 strong {
+  font-size:130%;
+  }
+#comments-block {
+  margin:1em 0 1.5em;
+  line-height:1.6em;
+  }
+#comments-block dt {
+  margin:.5em 0;
+  }
+#comments-block dd {
+  margin:.25em 0 0;
+  }
+#comments-block dd.comment-timestamp {
+  margin:-.25em 0 2em;
+  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
+  text-transform:uppercase;
+  letter-spacing:.1em;
+  }
+#comments-block dd p {
+  margin:0 0 .75em;
+  }
+.deleted-comment {
+  font-style:italic;
+  color:gray;
+  }
+
+
+/* Sidebar Content
+----------------------------------------------- */
+#sidebar ul {
+  margin:0 0 1.5em;
+  padding:0 0 1.5em;
+  padding-bottom: 1em;
+  border-bottom:1px dotted #ccc;
+  list-style:none;
+  }
+#sidebar li {
+  margin:0;
+  padding:0 0 .25em 15px;
+  text-indent:-15px;
+  line-height:1.5em;
+  }
+#sidebar p {
+  color:#666;
+  line-height:1.5em;
+  }
+
+
+
+/* Profile
+----------------------------------------------- */
+
+
+#profile-container {
+  margin:0 0 1.5em;
+  border-bottom:1px dotted #ccc;
+  padding-bottom:1.5em;
+  }
+.profile-datablock {
+
+
+
+  margin:.5em 0 .5em;
+  }
+.profile-img {
+  display:inline;
+  }
+.profile-img img {
+  float:left;
+  padding:4px;
+  border:1px solid #ddd;
+  margin:0 8px 3px 0;
+  }
+.profile-data {
+  margin:0;
+  font:bold 78%/1.6em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
+  text-transform:uppercase;
+  letter-spacing:.1em;
+  }
+.profile-data strong {
+  display:none;
+  }
+.profile-textblock {
+  margin:0 0 .5em;
+  }
+.profile-link {
+  margin:0;
+  font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif;
+  text-transform:uppercase;
+  letter-spacing:.1em;
+  }
+
+
+/* Footer
+----------------------------------------------- */
+#footer {
+  width:660px;
+  clear:both;
+  margin:0 auto;
+  }
+#footer hr {
+  display:none;
+  }
+#footer p {
+  margin:0;
+  padding-top:15px;
+  font:78%/1.6em "Trebuchet MS",Trebuchet,Verdana,Sans-serif;
+  text-transform:uppercase;
+  letter-spacing:.1em;
+  }
+.pager {
+	clear:all;
+	text-align: center;
+	margin-bottom: 20px;
+	margin-top: 20px;
+	font-size: 12px;
+	padding-top: 10px;
+	padding-bottom: 10px;
+}
+.pager a, .pager a:link, .pager a:href, .pager a:hover {
+ text-decoration: none;
+ border: 0px;
+}
+
+.pager .pagerLinkPrevPage, .pagerLink, .pagerLinkNextPage{
+	padding: 2px 6px;
+}
+
+.pager .pagerLinkPrevPage{
+	margin-right:20px;
+}
+.pager .pagerLinkNextPage {
+	margin-left:20px;
+}
+
+.pager .pagerCurrent {
+	padding: 2px 6px; 
+	border-color: #999; 
+	font-weight: bold; 
+	font-size: 13px; 
+	vertical-align: top; 
+	background: #fff; 
+	color: #FF0084;	
+}
+
 /* comment form */
-
-#CommentForm fieldset {
-	border:2px solid #d4d0cd; 
-	padding-top:10px; 
-	margin-top:10px; 
-	padding-left:10px; 
-	padding-bottom:10px;
-}
-
-#CommentForm legend {
-	color:#000;
-	padding:2px 4px 2px 4px;
-	background-color: #ffffff;
-	font-weight : bold;
-}
-
-#CommentForm label {
-	width:13em;
-	float:left;
-	display:block;
-	clear:both; 
-	margin-top:8px;
-	margin-bottom:0px;
-}
-	
+
+#CommentForm fieldset {
+	border:2px solid #d4d0cd; 
+	padding-top:10px; 
+	margin-top:10px; 
+	padding-left:10px; 
+	padding-bottom:10px;
+}
+
+#CommentForm legend {
+	color:#000;
+	padding:2px 4px 2px 4px;
+	background-color: #ffffff;
+	font-weight : bold;
+}
+
+#CommentForm label {
+	width:13em;
+	float:left;
+	display:block;
+	clear:both; 
+	margin-top:8px;
+	margin-bottom:0px;
+}
+	
 #CommentForm div {
-    clear:both;
+    clear:both;
 	margin-top:8px;
-	margin-bottom:8px;
-}
+	margin-bottom:8px;
+}
 #CommentForm input, textarea {
-    width: 200px;
-}	
-#Submit {
-	margin-top:8px;
-	margin-bottom:8px;
-	margin-left:6em;
-}
-	
+    width: 200px;
+}	
+#Submit {
+	margin-top:8px;
+	margin-bottom:8px;
+	margin-left:6em;
+}
+	



More information about the pLog-svn mailing list