[pLog-svn] r2267 - templates/trunk/pastel-blocks

jondaley at devel.plogworld.net jondaley at devel.plogworld.net
Thu Jun 23 12:17:50 GMT 2005


Author: jondaley
Date: 2005-06-23 12:17:49 +0000 (Thu, 23 Jun 2005)
New Revision: 2267

Modified:
   templates/trunk/pastel-blocks/block-archives.template
   templates/trunk/pastel-blocks/block-calendar.template
   templates/trunk/pastel-blocks/block-categories.template
   templates/trunk/pastel-blocks/block-links.template
   templates/trunk/pastel-blocks/block-recently.template
   templates/trunk/pastel-blocks/block-resources.template
   templates/trunk/pastel-blocks/block-search.template
   templates/trunk/pastel-blocks/block-syndicate.template
   templates/trunk/pastel-blocks/error.template
   templates/trunk/pastel-blocks/header.template
   templates/trunk/pastel-blocks/postandcomments.template
   templates/trunk/pastel-blocks/searchresults.template
Log:
author's changes.  http://bugs.plogworld.net/view.php?id=586

Modified: templates/trunk/pastel-blocks/block-archives.template
===================================================================
--- templates/trunk/pastel-blocks/block-archives.template	2005-06-22 21:22:24 UTC (rev 2266)
+++ templates/trunk/pastel-blocks/block-archives.template	2005-06-23 12:17:49 UTC (rev 2267)
@@ -1,6 +1,6 @@
     <div class="block-shadow">
      <div class="block-main">
-      <div class="box-purple">
+      <div class="{cycle values="box-red,box-blue,box-orange,box-teal,box-purple,box-green"}">
        <div class="block-archives">
 
        <div class="block-title">

Modified: templates/trunk/pastel-blocks/block-calendar.template
===================================================================
--- templates/trunk/pastel-blocks/block-calendar.template	2005-06-22 21:22:24 UTC (rev 2266)
+++ templates/trunk/pastel-blocks/block-calendar.template	2005-06-23 12:17:49 UTC (rev 2267)
@@ -1,6 +1,6 @@
     <div class="block-shadow">
      <div class="block-main">
-      <div class="box-red">
+      <div class="{cycle values="box-red,box-blue,box-orange,box-teal,box-purple,box-green"}">
        <div class="block-calendar">
 
         <div class="block-title">

Modified: templates/trunk/pastel-blocks/block-categories.template
===================================================================
--- templates/trunk/pastel-blocks/block-categories.template	2005-06-22 21:22:24 UTC (rev 2266)
+++ templates/trunk/pastel-blocks/block-categories.template	2005-06-23 12:17:49 UTC (rev 2267)
@@ -1,6 +1,6 @@
     <div class="block-shadow">
      <div class="block-main">
-      <div class="box-orange">
+      <div class="{cycle values="box-red,box-blue,box-orange,box-teal,box-purple,box-green"}">
        <div class="block-categories">
 
         <div class="block-title">

Modified: templates/trunk/pastel-blocks/block-links.template
===================================================================
--- templates/trunk/pastel-blocks/block-links.template	2005-06-22 21:22:24 UTC (rev 2266)
+++ templates/trunk/pastel-blocks/block-links.template	2005-06-23 12:17:49 UTC (rev 2267)
@@ -1,6 +1,6 @@
     <div class="block-shadow">
      <div class="block-main">
-      <div class="box-blue">
+      <div class="{cycle values="box-red,box-blue,box-orange,box-teal,box-purple,box-green"}">
        <div class="block-links">
 
        <div class="block-title">

Modified: templates/trunk/pastel-blocks/block-recently.template
===================================================================
--- templates/trunk/pastel-blocks/block-recently.template	2005-06-22 21:22:24 UTC (rev 2266)
+++ templates/trunk/pastel-blocks/block-recently.template	2005-06-23 12:17:49 UTC (rev 2267)
@@ -1,6 +1,6 @@
     <div class="block-shadow">
      <div class="block-main">
-      <div class="box-teal">
+      <div class="{cycle values="box-red,box-blue,box-orange,box-teal,box-purple,box-green"}">
        <div class="block-recently">
 
         <div class="block-title">

Modified: templates/trunk/pastel-blocks/block-resources.template
===================================================================
--- templates/trunk/pastel-blocks/block-resources.template	2005-06-22 21:22:24 UTC (rev 2266)
+++ templates/trunk/pastel-blocks/block-resources.template	2005-06-23 12:17:49 UTC (rev 2267)
@@ -2,7 +2,7 @@
 
     <div class="block-shadow">
      <div class="block-main">
-      <div class="box-red">
+      <div class="{cycle values="box-red,box-blue,box-orange,box-teal,box-purple,box-green"}">
        <div class="block-archives">
 
        <div class="block-title">

Modified: templates/trunk/pastel-blocks/block-search.template
===================================================================
--- templates/trunk/pastel-blocks/block-search.template	2005-06-22 21:22:24 UTC (rev 2266)
+++ templates/trunk/pastel-blocks/block-search.template	2005-06-23 12:17:49 UTC (rev 2267)
@@ -1,18 +1,24 @@
    <div class="block-shadow">
     <div class="block-main">
-     <div class="box-green">
+      <div class="{cycle values="box-red,box-blue,box-orange,box-teal,box-purple,box-green"}">
       <div class="block-search">
-       <div class="block-title">
-        <div class="block-header">{$locale->tr("search")}</div>
+
+       <div class="block-title">     
+        <div class="block-header">{$locale->tr("search")}
+        </div>
        </div>
-	<form id="search_form" method="post" action="{$url->getIndexUrl()}">
-	<div>
-	<label for="searchTerms"><input type="text" id="searchTerms" name="searchTerms" value="" size="14" /></label>
-	<input type="submit" name="Search" value="{$locale->tr("search_s")}" class="button" />
-	<input type="hidden" name="op" value="Search" />
-	<input type="hidden" name="blogId" value="{$blog->getId()}" />   
-	</div>
-	</form>
+
+         <form id="search_form" method="post" action="{$url->getIndexUrl()}">
+          <div>
+           <label for="searchTerms">
+           <input type="text" id="searchTerms" name="searchTerms" value="" size="14" />
+           </label><br/><br/>
+           <input type="submit" name="Search" value="{$locale->tr("search_s")}" class="button" />
+           <input type="hidden" name="op" value="Search" />
+           <input type="hidden" name="blogId" value="{$blog->getId()}" />   
+          </div>
+         </form>
+ 
        </div>
       </div>
      </div>

Modified: templates/trunk/pastel-blocks/block-syndicate.template
===================================================================
--- templates/trunk/pastel-blocks/block-syndicate.template	2005-06-22 21:22:24 UTC (rev 2266)
+++ templates/trunk/pastel-blocks/block-syndicate.template	2005-06-23 12:17:49 UTC (rev 2267)
@@ -1,19 +1,19 @@
-   <div class="block-shadow">
-    <div class="block-main">
-     <div class="box-green">
-      <div class="block-syndicate">
+    <div class="block-shadow">
+     <div class="block-main">
+      <div class="{cycle values="box-red,box-blue,box-orange,box-teal,box-purple,box-green"}">
+       <div class="block-syndicate">
 
-       <div class="block-title">
-        <div class="block-header">{$locale->tr("syndicate")}</div>
-       </div>
+        <div class="block-title">
+         <div class="block-header">{$locale->tr("syndicate")}</div>
+        </div>
 
-        <p>
-         <a class="rsslink" title="Add to My Yahoo." href="http://add.my.yahoo.com/rss?url={$url->rssLink("rss10")}"><img src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo2.gif" style="border:0px;" alt="add to My Yahoo" /></a><br/><br/>
-         <a class="rsslink" title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}"><img src="{$url->getUrl("/imgs/rss090_logo.gif")}" style="border:0px;" alt="RSS 0.90" /></a><br/><br/>
-         <a class="rsslink" title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}"><img src="{$url->getUrl("/imgs/rss10_logo.gif")}" style="border:0px;" alt="RSS 1.0" /></a><br/><br/>
-         <a class="rsslink" title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}"><img src="{$url->getUrl("/imgs/rss20_logo.gif")}" style="border:0px;" alt="RSS 2.0" /></a><br/><br/>
-         <a class="rsslink" title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}"><img src="{$url->getUrl("/imgs/atom_logo.png")}" style="border:0px;" alt="Atom 0.3" /></a><br/><br/>	
-        </p><br/>
+         <p>
+          <a class="rsslink" title="Add to My Yahoo." href="http://add.my.yahoo.com/rss?url={$url->rssLink("rss10")}"><img src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo2.gif" style="border:0px;" alt="add to My Yahoo" /></a><br/><br/>
+          <a class="rsslink" title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}"><img src="{$url->getUrl("/imgs/rss090_logo.gif")}" style="border:0px;" alt="RSS 0.90" /></a><br/><br/>
+          <a class="rsslink" title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}"><img src="{$url->getUrl("/imgs/rss10_logo.gif")}" style="border:0px;" alt="RSS 1.0" /></a><br/><br/>
+          <a class="rsslink" title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}"><img src="{$url->getUrl("/imgs/rss20_logo.gif")}" style="border:0px;" alt="RSS 2.0" /></a><br/><br/>
+          <a class="rsslink" title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}"><img src="{$url->getUrl("/imgs/atom_logo.png")}" style="border:0px;" alt="Atom 0.3" /></a><br/><br/>	
+         </p><br/>
 
        </div>
       </div>

Modified: templates/trunk/pastel-blocks/error.template
===================================================================
--- templates/trunk/pastel-blocks/error.template	2005-06-22 21:22:24 UTC (rev 2266)
+++ templates/trunk/pastel-blocks/error.template	2005-06-23 12:17:49 UTC (rev 2267)
@@ -8,7 +8,7 @@
         <br/>
         <span class="error">{$locale->tr("error")}</span><br/><br/>
         {$locale->tr($message)}<br/><br/>
-<a href="javascript:history.go(-1)">{$locale->tr("back")}</a>
+        <a href="javascript:history.go(-1)">{$locale->tr("back")}</a><br/><br/>
 
        </div>
       </div>

Modified: templates/trunk/pastel-blocks/header.template
===================================================================
--- templates/trunk/pastel-blocks/header.template	2005-06-22 21:22:24 UTC (rev 2266)
+++ templates/trunk/pastel-blocks/header.template	2005-06-23 12:17:49 UTC (rev 2267)
@@ -49,16 +49,17 @@
   <div class="column"
        id="left">
 
-{include file="$blogtemplate/block-search.template"}
 {include file="$blogtemplate/block-calendar.template"}
 {include file="$blogtemplate/block-links.template"}
+{include file="$blogtemplate/block-recently.template"}
 {include file="$blogtemplate/block-categories.template"}
-{include file="$blogtemplate/block-recently.template"}
-{include file="$blogtemplate/block-archives.template"}
 {include file="$blogtemplate/block-syndicate.template"}
+{include file="$blogtemplate/block-search.template"}
 {include file="$blogtemplate/block-resources.template"}
+{include file="$blogtemplate/block-archives.template"}
 
 
+
   </div>
 
   <div class="column"

Modified: templates/trunk/pastel-blocks/postandcomments.template
===================================================================
--- templates/trunk/pastel-blocks/postandcomments.template	2005-06-22 21:22:24 UTC (rev 2266)
+++ templates/trunk/pastel-blocks/postandcomments.template	2005-06-23 12:17:49 UTC (rev 2267)
@@ -9,8 +9,8 @@
         <span class="prevnext">
    
          <br/>
-{assign var=nextpost value=$post->getNextArticle()}
-{assign var=prevpost value=$post->getPrevArticle()}
+         {assign var=nextpost value=$post->getNextArticle()}
+         {assign var=prevpost value=$post->getPrevArticle()}
          {if $prevpost == true}
           <a href="{$url->postPermalink($prevpost)}" title="Previous post: {$prevpost->getTopic()}">&larr; Previous Entry</a>
             {if $nextpost == true}  <img alt="|" class="seperator" src="{$url->getTemplateFile("/sp.gif")}"/>  {/if}

Modified: templates/trunk/pastel-blocks/searchresults.template
===================================================================
--- templates/trunk/pastel-blocks/searchresults.template	2005-06-22 21:22:24 UTC (rev 2266)
+++ templates/trunk/pastel-blocks/searchresults.template	2005-06-23 12:17:49 UTC (rev 2267)
@@ -12,7 +12,7 @@
      </div>
     </div>
 
-   <div id="SearchResults">
+   <div id="searchresults">
     {foreach from=$searchresults item=result}
     <div class="block-shadow">
      <div class="block-main">
@@ -22,7 +22,7 @@
         <div class="entry-headboard">
          <div class="entry-header">
           <img alt="star" src="{$url->getTemplateFile("/star.gif")}"/> 
-         <a href="{$url->postPermalink($article)}">{$article->getTopic()}</a>
+          {$article->getTopic()}
          </div>
          <div class="entry-date">
          {assign var="postDate" value=$article->getDateObject()}
@@ -37,7 +37,13 @@
        <div class="entry-footer">
         {foreach name=categories from=$article->getCategories() item=postCategory}
 		<a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
-	{/foreach} 
+	  {/foreach} 
+        <img alt="|" class="seperator" src="{$url->getTemplateFile("sp.gif")}"/> 
+        <a href="{$url->postPermalink($article)}">{$locale->tr("comment on this")} ({$article->getTotalComments()})</a> 
+        <img alt="|" class="seperator" src="{$url->getTemplateFile("sp.gif")}"/> 
+        <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($article)}">{$locale->tr("permalink")}</a> 
+        <img alt="|" class="seperator" src="{$url->getTemplateFile("sp.gif")}"/> 
+        <a href="{$url->postTrackbackStatsLink($article)}">{$locale->tr("trackbacks")} ({$article->getNumTrackbacks()})</a>
        </div>
       </div>
      </div>




More information about the pLog-svn mailing list