[pLog-svn] r3003 - templates/trunk/Blix

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Thu Mar 2 13:29:01 GMT 2006


Author: jondaley
Date: 2006-03-02 13:29:00 +0000 (Thu, 02 Mar 2006)
New Revision: 3003

Modified:
   templates/trunk/Blix/footer.template
   templates/trunk/Blix/post.template
   templates/trunk/Blix/postandcomments.template
Log:
removed funny characters. fixed next and previous links. Localized the string for next and previous, won't work in all languages, particularly RTL, but better than hard-coded English.

Modified: templates/trunk/Blix/footer.template
===================================================================
--- templates/trunk/Blix/footer.template	2006-03-02 03:04:50 UTC (rev 3002)
+++ templates/trunk/Blix/footer.template	2006-03-02 13:29:00 UTC (rev 3003)
@@ -3,7 +3,7 @@
 <!-- footer ................................. -->
 <div id="footer">
 
-	<p><strong>&copy; Copyright 2005 {$blog->getBlog()}. All rights reserved.</strong><br />
+	<p><strong>&copy; Copyright 2006 {$blog->getBlog()}. All rights reserved.</strong><br />
 	Design by <a href="http://www.kingcosmonaut.de/">Sebastian Schmieg</a> . Icons by <a href="http://www.graphicpush.com/blogicons/">Kevin Potts</a> . Powered by <A href="http://www.lifetype.net/">LifeType</A> .</p>
 	
 </div> <!-- /footer -->
@@ -12,4 +12,4 @@
 
 </body>
 
-</html>
\ No newline at end of file
+</html>

Modified: templates/trunk/Blix/post.template
===================================================================
--- templates/trunk/Blix/post.template	2006-03-02 03:04:50 UTC (rev 3002)
+++ templates/trunk/Blix/post.template	2006-03-02 13:29:00 UTC (rev 3003)
@@ -8,7 +8,7 @@
 			Posted to {foreach name=categories from=$post->getCategories() item=postcategory}
 					<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
 				{if !$smarty.foreach.categories.last}, {/if}
-				{/foreach} <em class="date">{$locale->formatDate($postDate,"%m/%d,%Y")}</em>
+				{/foreach} <em class="date">{$locale->formatDate($postDate,"%m/%d/%Y")}</em>
 			<span class="editlink"> <A title="{$locale->tr("admin")}" href="{$url->getAdminUrl()}">Edit</a> </span></p>
 
-		</div>
\ No newline at end of file
+		</div>

Modified: templates/trunk/Blix/postandcomments.template
===================================================================
--- templates/trunk/Blix/postandcomments.template	2006-03-02 03:04:50 UTC (rev 3002)
+++ templates/trunk/Blix/postandcomments.template	2006-03-02 13:29:00 UTC (rev 3003)
@@ -11,7 +11,7 @@
 		<h2><A href="{$url->postPermalink($post)}">{$post->getTopic()}</A></h2>
 
 		<p class="info">
-		   		<em class="date">{$locale->formatDate($postDate,"%m/%d,%Y")}</em>
+		   		<em class="date">{$locale->formatDate($postDate,"%m/%d/%Y")}</em>
 
    		   		</p>
 
@@ -24,8 +24,8 @@
 	<DIV class=feedback>
 		<DIV class=meta>Posted by {$postOwner->getUsername()} at
 			{$locale->formatDate($postDate,"%H:%M")}
-			<A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A> │
-			<A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A> │
+			<A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A>,
+			<A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A>,
 			{foreach name=categories from=$post->getCategories() item=postcategory}
 				<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
 				{if !$smarty.foreach.categories.last}, {/if}
@@ -34,12 +34,14 @@
 			<a href="{$url->blogLink()}">Back to Home</a>
 			{assign var=nextpost value=$post->getNextArticle()}
 			{assign var=prevpost value=$post->getPrevArticle()}
+			{if $prevpost == true}
+				<a href="{$url->postPermalink($prevpost)}" 
+                   title="{$locale->tr("previous_post")}: {$prevpost->getTopic()}">{$locale->tr("previous_post")}</a>
+			{/if}
 			{if $nextpost == true}
-				<a href="{$url->postPermalink($nextpost)}" title="Previous post: {$nextpost->getTopic()}">{$locale->tr("previous_post")}</a>
+				<a href="{$url->postPermalink($nextpost)}" 
+                   title="{$locale->tr("next_post")}: {$nextpost->getTopic()}">{$locale->tr("next_post")}</a>
 			{/if}
-			{if $prevpost == true}
-				<a href="{$url->postPermalink($prevpost)}" title="Next post: {$prevpost->getTopic()}">{$locale->tr("next_post")}</a>
-			{/if}
 			{* End of article_index *}
 		</DIV>
 	</DIV>
@@ -79,4 +81,4 @@
 	</div> <!-- /comments -->
 
 {include file="$blogtemplate/links.template"}
-{include file="$blogtemplate/footer.template"}
\ No newline at end of file
+{include file="$blogtemplate/footer.template"}



More information about the pLog-svn mailing list