[pLog-svn] r1454 - templates/trunk/pink_lilies

jondaley at devel.plogworld.net jondaley at devel.plogworld.net
Sun Mar 13 02:11:40 GMT 2005


Author: jondaley
Date: 2005-03-13 02:07:18 +0000 (Sun, 13 Mar 2005)
New Revision: 1454

Added:
   templates/trunk/pink_lilies/error.gif
   templates/trunk/pink_lilies/searchresults.template
Log:
added error graphic and searchresults

Added: templates/trunk/pink_lilies/error.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/pink_lilies/error.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/pink_lilies/searchresults.template
===================================================================
--- templates/trunk/pink_lilies/searchresults.template	2005-03-13 02:05:25 UTC (rev 1453)
+++ templates/trunk/pink_lilies/searchresults.template	2005-03-13 02:07:18 UTC (rev 1454)
@@ -0,0 +1,21 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+   <h2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
+   <p>
+    {foreach from=$searchresults item=result}
+     <div class="searchresult">
+      {assign var=article value=$result->getArticle()}
+      <a href="{$url->postPermalink($article)}"><h3><b>{$article->getTopic()}</b></h3></a>
+     <div align="right">{foreach name=categories from=$article->getCategories() item=postcategory}
+       <a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+     {/foreach}</div>
+      <p>
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+      </p>
+     </div>
+     <br/>
+    {/foreach}
+   </p> 
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}




More information about the pLog-svn mailing list