[pLog-svn] r6372 - templates/branches/lifetype-1.2/unported/Mac-Stripe
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Mon Apr 28 16:15:50 EDT 2008
Author: jondaley
Date: 2008-04-28 16:15:50 -0400 (Mon, 28 Apr 2008)
New Revision: 6372
Added:
templates/branches/lifetype-1.2/unported/Mac-Stripe/searchresults.template
Modified:
templates/branches/lifetype-1.2/unported/Mac-Stripe/footer.template
templates/branches/lifetype-1.2/unported/Mac-Stripe/post.template
Log:
ported to 1.2
Modified: templates/branches/lifetype-1.2/unported/Mac-Stripe/footer.template
===================================================================
--- templates/branches/lifetype-1.2/unported/Mac-Stripe/footer.template 2008-04-28 20:13:23 UTC (rev 6371)
+++ templates/branches/lifetype-1.2/unported/Mac-Stripe/footer.template 2008-04-28 20:15:50 UTC (rev 6372)
@@ -6,7 +6,7 @@
<div class="sidetitle">{$locale->tr("search")}</div>
<div class="side">
<form name="search_form" method="post" action="{$url->getIndexUrl()}">
- <input type="text" name="searchTerms" value="" size="14" /><br/>
+ <input type="text" name="searchTerms" value="" size="14" />
<input type="hidden" name="op" value="Search" />
<input type="hidden" name="blogId" value="{$blog->getId()}"/>
<input type="submit" name="Search" value="{$locale->tr("search")}" />
Modified: templates/branches/lifetype-1.2/unported/Mac-Stripe/post.template
===================================================================
--- templates/branches/lifetype-1.2/unported/Mac-Stripe/post.template 2008-04-28 20:13:23 UTC (rev 6371)
+++ templates/branches/lifetype-1.2/unported/Mac-Stripe/post.template 2008-04-28 20:15:50 UTC (rev 6372)
@@ -14,7 +14,8 @@
::
{if $post->getCommentsEnabled()}
<a href="{$url->postPermalink($post)}">{$locale->tr("comments")}
-({$post->getNumComments()})</a>::
+({$post->getNumComments()})</a>
+::
{/if}
<a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>
Copied: templates/branches/lifetype-1.2/unported/Mac-Stripe/searchresults.template (from rev 6319, plog/branches/lifetype-1.2/templates/standard/searchresults.template)
===================================================================
--- templates/branches/lifetype-1.2/unported/Mac-Stripe/searchresults.template (rev 0)
+++ templates/branches/lifetype-1.2/unported/Mac-Stripe/searchresults.template 2008-04-28 20:15:50 UTC (rev 6372)
@@ -0,0 +1,22 @@
+{include file="$blogtemplate/header.template"}
+ <h2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
+ <div id="SearchResults">
+ {foreach from=$searchresults item=result}
+
+
+ {assign var=article value=$result->getArticle()}
+ <h3><a href="{$url->postPermalink($article)}">{$article->getTopic()}</a></h3>
+ <p class="searchArticle">
+ {$article->getText()|strip_tags|truncate:300:"...":false}
+ </p>
+ <p class="footer">
+ {foreach name=categories from=$article->getCategories()
+ item=postCategory}
+ <a href="{$url->categoryLink($postCategory)}">
+ {$postCategory->getName()}</a>{if
+ !$smarty.foreach.categories.last}, {/if}
+ {/foreach}
+ </p>
+ {/foreach}
+ </div>
+{include file="$blogtemplate/footer.template"}
More information about the pLog-svn
mailing list