[pLog-svn] r3580 - plog/trunk/templates/summary
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Wed Jun 14 17:51:00 GMT 2006
Author: oscar
Date: 2006-06-14 17:51:00 +0000 (Wed, 14 Jun 2006)
New Revision: 3580
Modified:
plog/trunk/templates/summary/index.template
Log:
fixed issue 950 (http://bugs.lifetype.net/view.php?id=950) -- long blog names are not wrapped
Modified: plog/trunk/templates/summary/index.template
===================================================================
--- plog/trunk/templates/summary/index.template 2006-06-14 17:38:44 UTC (rev 3579)
+++ plog/trunk/templates/summary/index.template 2006-06-14 17:51:00 UTC (rev 3580)
@@ -29,7 +29,7 @@
{foreach from=$recentBlogs item=blog}
{assign var="url" value=$blog->getBlogRequestGenerator()}
{** remove this if you're having problems with blogs in encondings other than iso-8859-1 **}
- <li class="item"><a href="{$url->blogLink()}">{$blog->getBlog()|strip_tags}</a></li>
+ <li class="item"><a href="{$url->blogLink()}">{$blog->getBlog()|strip_tags|utf8_truncate:24}</a></li>
{/foreach}
</ul>
{/if}
@@ -82,7 +82,7 @@
<ul class="itemList">
{foreach from=$activeBlogs item=blog}
{assign var="url" value=$blog->getBlogRequestGenerator()}
- <li class="item"><a href="{$url->blogLink()}">{$blog->getBlog()|strip_tags}</a></li>
+ <li class="item"><a href="{$url->blogLink()}">{$blog->getBlog()|strip_tags|utf8_truncate:24}</a></li>
{/foreach}
</ul>
{/if}
More information about the pLog-svn
mailing list