[pLog-svn] r4034 - plog/branches/lifetype-1.1.1/templates/summary
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sat Sep 23 18:31:57 GMT 2006
Author: oscar
Date: 2006-09-23 18:31:57 +0000 (Sat, 23 Sep 2006)
New Revision: 4034
Modified:
plog/branches/lifetype-1.1.1/templates/summary/blog.template
plog/branches/lifetype-1.1.1/templates/summary/blogslist.template
Log:
blogslist.template is now using blog.template instead of an exact copy of the same smarty code
Modified: plog/branches/lifetype-1.1.1/templates/summary/blog.template
===================================================================
--- plog/branches/lifetype-1.1.1/templates/summary/blog.template 2006-09-23 18:25:08 UTC (rev 4033)
+++ plog/branches/lifetype-1.1.1/templates/summary/blog.template 2006-09-23 18:31:57 UTC (rev 4034)
@@ -8,8 +8,7 @@
<a href="?op=BlogProfile&blogId={$blog->getId()}"> ? </a>
</h3>
<div class="subtitle">
- {if $category}{$locale->tr("category")}: {$category->getName()}{/if}<br/>
- {$locale->tr("updated")} {$locale->formatDate($updateDate,"%e %B %Y")}
+ {if $category}{$locale->tr("category")}: {$category->getName()}{/if}
</div>
<p>
{$blog->getAbout()|strip_tags}
Modified: plog/branches/lifetype-1.1.1/templates/summary/blogslist.template
===================================================================
--- plog/branches/lifetype-1.1.1/templates/summary/blogslist.template 2006-09-23 18:25:08 UTC (rev 4033)
+++ plog/branches/lifetype-1.1.1/templates/summary/blogslist.template 2006-09-23 18:31:57 UTC (rev 4034)
@@ -37,25 +37,9 @@
{/if}
</h4>
{/if}
+
{foreach from=$blogs item=blog}
- {assign var="owner" value=$blog->getOwnerInfo()}
- {assign var="url" value=$blog->getBlogRequestGenerator()}
- {assign var=category value=$blog->getBlogCategory()}
- <h3>
- <a href="{$url->blogLink()}">{$blog->getBlog()|strip_tags}</a>
- <a href="?op=BlogProfile&blogId={$blog->getId()}"> ? </a>
- </h3>
- <div class="subtitle">
- {if $category}{$locale->tr("category")}: {$category->getName()}{/if}
- </div>
- <p>
- {$blog->getAbout()|strip_tags}
- </p>
- <div class="bloginfo">
- {$locale->tr("users")}
- {assign var=blogUsers value=$blog->getUsersInfo()}
- <a href="?op=UserProfile&userId={$owner->getId()}">{$owner->getUsername()|strip_tags}</a>{foreach from=$blogUsers item=blogUser name=blogUsersLoop}{if $owner->getId() != $blogUser->getId()}, <a href="?op=UserProfile&userId={$blogUser->getId()}">{$blogUser->getUsername()|strip_tags}</a>{/if}{/foreach}
- </div>
+ {include file="summary/blog.template"}
{/foreach}
{pager style="links"}
</div>
More information about the pLog-svn
mailing list