[pLog-svn] r4061 - in templates/trunk: 3-column-liquid Innerscape
SimpleRules aquasoft aubmach base blorange blueish blufill
bubble-blue buddha buggy cab darkfire dots drove-all-night
flower flyupsky-daytime flyupsky-evening greenmarinee
gutenberg human_condition kubrick mars-spirit mtplog outback
pastel-blocks pink_lilies reic reic1 roodoplog-2-column
roodoplog-3-column rubric silver simple_sky splat spring toni
toto unported/wordplog v4ny8_lt water_play zen
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Thu Sep 28 13:22:10 GMT 2006
Author: jondaley
Date: 2006-09-28 13:22:09 +0000 (Thu, 28 Sep 2006)
New Revision: 4061
Modified:
templates/trunk/3-column-liquid/footer.template
templates/trunk/Innerscape/album.template
templates/trunk/SimpleRules/albums.template
templates/trunk/aquasoft/albums.template
templates/trunk/aquasoft/panel.template
templates/trunk/aubmach/albums.template
templates/trunk/base/albums.template
templates/trunk/blorange/albums.template
templates/trunk/blueish/albums.template
templates/trunk/blueish/panel.template
templates/trunk/blufill/albums.template
templates/trunk/bubble-blue/header.template
templates/trunk/buddha/albums.template
templates/trunk/buggy/header.template
templates/trunk/cab/albums.template
templates/trunk/darkfire/albums.template
templates/trunk/dots/albums.template
templates/trunk/drove-all-night/albums.template
templates/trunk/flower/albums.template
templates/trunk/flyupsky-daytime/panel.template
templates/trunk/flyupsky-evening/panel.template
templates/trunk/greenmarinee/albums.template
templates/trunk/greenmarinee/panel.template
templates/trunk/gutenberg/albums.template
templates/trunk/human_condition/albums.template
templates/trunk/kubrick/albums.template
templates/trunk/kubrick/panel.template
templates/trunk/mars-spirit/albums.template
templates/trunk/mtplog/panel.template
templates/trunk/outback/albums.template
templates/trunk/pastel-blocks/album.template
templates/trunk/pink_lilies/albums.template
templates/trunk/reic/panel.template
templates/trunk/reic1/panel.template
templates/trunk/roodoplog-2-column/panel.template
templates/trunk/roodoplog-3-column/panel.template
templates/trunk/rubric/albums.template
templates/trunk/silver/albums.template
templates/trunk/simple_sky/albums.template
templates/trunk/splat/albums.template
templates/trunk/spring/main.template
templates/trunk/toni/albums.template
templates/trunk/toto/albums.template
templates/trunk/toto/panel.template
templates/trunk/toto/panel_with_comments.template
templates/trunk/unported/wordplog/albums.template
templates/trunk/v4ny8_lt/albums.template
templates/trunk/water_play/albums.template
templates/trunk/zen/albums.template
Log:
fixes http://bugs.lifetype.net/view.php?id=1074 for all templates. We should always strip_tags before truncating, else weird things happen
Modified: templates/trunk/3-column-liquid/footer.template
===================================================================
--- templates/trunk/3-column-liquid/footer.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/3-column-liquid/footer.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -30,7 +30,7 @@
<div id="sectionContent">
<ul id="recently">
{foreach from=$recentposts item=post}
- <li><a title="{$post->getText()|truncate:150:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
+ <li><a title="{$post->getText()|strip_tags|truncate:150:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
{/foreach}
</ul>
</div>
Modified: templates/trunk/Innerscape/album.template
===================================================================
--- templates/trunk/Innerscape/album.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/Innerscape/album.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -42,7 +42,7 @@
{*<a target="_blank" href="resserver.php?blogId={$blog->getId()}&resource={$resource->getFileName()}" class="highlightit">*}
<a class="highlightit" href="{$url->resourceLink($resource)}">
<img alt="{$resource->getDescription()}" style="border:0px;" src="{$url->resourcePreviewLink($resource)}" />
-<br/>{$resource->getFileName()|truncate:20:"...":true}
+<br/>{$resource->getFileName()|strip_tags|truncate:20:"...":true}
</a>
{else}
<a class="nodecoration" href="{$url->resourceLink($resource)}">
@@ -90,4 +90,4 @@
</div>
{include file="$blogtemplate/rightmenu.template"}
-{include file="$blogtemplate/footer.template"}
\ No newline at end of file
+{include file="$blogtemplate/footer.template"}
Modified: templates/trunk/SimpleRules/albums.template
===================================================================
--- templates/trunk/SimpleRules/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/SimpleRules/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,8 +10,8 @@
{$locale->tr("view")} ({$album->getNumResources()})
</a>| {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
</div>
-{$album->getDescription()|truncate:255:"..."|escape}
+{$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</div>
{/foreach}
</div>
-{include file="$blogtemplate/footer.template"}
\ No newline at end of file
+{include file="$blogtemplate/footer.template"}
Modified: templates/trunk/aquasoft/albums.template
===================================================================
--- templates/trunk/aquasoft/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/aquasoft/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -11,7 +11,7 @@
{$locale->tr("view")} ({$album->getNumResources()})
</a>| {$locale->tr("created")} {$locale->formatDate($aDate,"%d %B, %Y")}
</div>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</div>
{/foreach}
</div>
Modified: templates/trunk/aquasoft/panel.template
===================================================================
--- templates/trunk/aquasoft/panel.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/aquasoft/panel.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -42,7 +42,7 @@
<p class="rc_title">{$locale->tr("recently")}</p>
<ul class="rc_list">
{foreach from=$recentposts item=post}
- <li><a title="{$post->getText()|truncate:15:"..."|escape}"
+ <li><a title="{$post->getText()|strip_tags|truncate:15:"..."|escape}"
href="{$url->postLink($post)}">{$post->getTopic()} ({$post->getNumReads()})</a></li>
{/foreach}
</ul>
Modified: templates/trunk/aubmach/albums.template
===================================================================
--- templates/trunk/aubmach/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/aubmach/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/base/albums.template
===================================================================
--- templates/trunk/base/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/base/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/blorange/albums.template
===================================================================
--- templates/trunk/blorange/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/blorange/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/blueish/albums.template
===================================================================
--- templates/trunk/blueish/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/blueish/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -12,7 +12,7 @@
</a>| {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
</div>
</div>
-{$album->getDescription()|truncate:255:"..."|escape}
+{$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</div>
{/foreach}
</div>
Modified: templates/trunk/blueish/panel.template
===================================================================
--- templates/trunk/blueish/panel.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/blueish/panel.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -21,7 +21,7 @@
<div class="side">
<ul>
{foreach from=$recentposts item=post}
- <li><a title="{$post->getText()|truncate:15:"..."|escape}"
+ <li><a title="{$post->getText()|strip_tags|truncate:15:"..."|escape}"
href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
{/foreach}
</ul>
Modified: templates/trunk/blufill/albums.template
===================================================================
--- templates/trunk/blufill/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/blufill/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -14,7 +14,7 @@
</a>| {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
</div>
</div>
-{$album->getDescription()|truncate:255:"..."|escape}
+{$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</div>
{/foreach}
</div>
Modified: templates/trunk/bubble-blue/header.template
===================================================================
--- templates/trunk/bubble-blue/header.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/bubble-blue/header.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -45,7 +45,7 @@
</div>
<p>
{foreach from=$recentposts item=post}
- <a title="{$post->getText()|truncate:150:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a><br/>
+ <a title="{$post->getText()|strip_tags|truncate:150:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a><br/>
{/foreach}
</p>
</div>
Modified: templates/trunk/buddha/albums.template
===================================================================
--- templates/trunk/buddha/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/buddha/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/buggy/header.template
===================================================================
--- templates/trunk/buggy/header.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/buggy/header.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -38,7 +38,7 @@
<h6>{$locale->tr("recently")|lower}</h6>
{foreach from=$recentposts item=post}
- <a title="{$post->getText()|truncate:150:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a><br/>
+ <a title="{$post->getText()|strip_tags|truncate:150:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a><br/>
{/foreach}
<h5>{$locale->tr("syndicate")|lower}</h5>
<a 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/>
@@ -50,4 +50,4 @@
</div>
<div id="col2">
- <div class="content">
\ No newline at end of file
+ <div class="content">
Modified: templates/trunk/cab/albums.template
===================================================================
--- templates/trunk/cab/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/cab/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/darkfire/albums.template
===================================================================
--- templates/trunk/darkfire/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/darkfire/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/dots/albums.template
===================================================================
--- templates/trunk/dots/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/dots/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/drove-all-night/albums.template
===================================================================
--- templates/trunk/drove-all-night/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/drove-all-night/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/flower/albums.template
===================================================================
--- templates/trunk/flower/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/flower/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/flyupsky-daytime/panel.template
===================================================================
--- templates/trunk/flyupsky-daytime/panel.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/flyupsky-daytime/panel.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -24,7 +24,7 @@
<div class="side">
<ul>
{foreach from=$recentposts item=post}
-<li><a title="{$post->getText()|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
+<li><a title="{$post->getText()|strip_tags|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
{/foreach}
</ul>
</div>
Modified: templates/trunk/flyupsky-evening/panel.template
===================================================================
--- templates/trunk/flyupsky-evening/panel.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/flyupsky-evening/panel.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -24,7 +24,7 @@
<div class="side">
<ul>
{foreach from=$recentposts item=post}
-<li><a title="{$post->getText()|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
+<li><a title="{$post->getText()|strip_tags|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
{/foreach}
</ul>
</div>
Modified: templates/trunk/greenmarinee/albums.template
===================================================================
--- templates/trunk/greenmarinee/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/greenmarinee/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -5,7 +5,7 @@
{assign var="aDate" value=$album->getTimestamp()}
<div>
<h2>{$album->getName()}</h2>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
<div class="meta">
<a href="{$url->albumLink($album)}">
{$locale->tr("view")} ({$album->getNumResources()})
Modified: templates/trunk/greenmarinee/panel.template
===================================================================
--- templates/trunk/greenmarinee/panel.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/greenmarinee/panel.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -28,7 +28,7 @@
<h3>{$locale->tr("recently")}</h3>
<ul>
{foreach from=$recentposts item=rpost}
- <li><a title="{$rpost->getText()|truncate:15:"..."|escape}"
+ <li><a title="{$rpost->getText()|strip_tags|truncate:15:"..."|escape}"
href="{$url->postLink($rpost)}">{$rpost->getTopic()}</a></li>
{/foreach}
</ul>
@@ -95,4 +95,4 @@
</ul>
</div>
-</div>
\ No newline at end of file
+</div>
Modified: templates/trunk/gutenberg/albums.template
===================================================================
--- templates/trunk/gutenberg/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/gutenberg/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/human_condition/albums.template
===================================================================
--- templates/trunk/human_condition/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/human_condition/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/kubrick/albums.template
===================================================================
--- templates/trunk/kubrick/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/kubrick/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -9,7 +9,7 @@
{$locale->tr("view")} ({$album->getNumResources()})
</a>| {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
</div>
-{$album->getDescription()|truncate:255:"..."|escape}
+{$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</div>
{/foreach}
</div>
Modified: templates/trunk/kubrick/panel.template
===================================================================
--- templates/trunk/kubrick/panel.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/kubrick/panel.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -21,7 +21,7 @@
<li><h2>{$locale->tr("recently")}</h2>
<ul>
{foreach from=$recentposts item=post}
- <li><a title="{$post->getText()|truncate:15:"..."|escape}"
+ <li><a title="{$post->getText()|strip_tags|truncate:15:"..."|escape}"
href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
{/foreach}
</ul>
Modified: templates/trunk/mars-spirit/albums.template
===================================================================
--- templates/trunk/mars-spirit/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/mars-spirit/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/mtplog/panel.template
===================================================================
--- templates/trunk/mtplog/panel.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/mtplog/panel.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -19,7 +19,7 @@
</div>
<div class="side">
{foreach from=$recentposts item=post}
- <a title="{$post->getText()|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a><br />
+ <a title="{$post->getText()|strip_tags|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a><br />
{/foreach}
</div>
Modified: templates/trunk/outback/albums.template
===================================================================
--- templates/trunk/outback/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/outback/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/pastel-blocks/album.template
===================================================================
--- templates/trunk/pastel-blocks/album.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/pastel-blocks/album.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -46,7 +46,7 @@
{*<a target="_blank" href="resserver.php?blogId={$blog->getId()}&resource={$resource->getFileName()}">*}
<a class="album" href="{$url->resourceLink($resource)}">
<img alt="{$resource->getDescription()}" style="border:0px;" src="{$url->resourcePreviewLink($resource)}" />
- <br/>{$resource->getFileName()|truncate:20:"...":true}
+ <br/>{$resource->getFileName()|strip_tags|truncate:20:"...":true}
</a>
{else}
<a class="nodecoration" href="{$url->resourceLink($resource)}">
Modified: templates/trunk/pink_lilies/albums.template
===================================================================
--- templates/trunk/pink_lilies/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/pink_lilies/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/reic/panel.template
===================================================================
--- templates/trunk/reic/panel.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/reic/panel.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -22,7 +22,7 @@
<div class="side">
<ul>
{foreach from=$recentposts item=post}
-<li><a title="{$post->getText()|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
+<li><a title="{$post->getText()|strip_tags|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
{/foreach}
</ul>
</div>
Modified: templates/trunk/reic1/panel.template
===================================================================
--- templates/trunk/reic1/panel.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/reic1/panel.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -23,7 +23,7 @@
<div class="side">
<ul>
{foreach from=$recentposts item=post}
-<li><a title="{$post->getText()|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
+<li><a title="{$post->getText()|strip_tags|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
{/foreach}
</ul>
</div>
@@ -75,4 +75,4 @@
</div>
</div>
-</div>
\ No newline at end of file
+</div>
Modified: templates/trunk/roodoplog-2-column/panel.template
===================================================================
--- templates/trunk/roodoplog-2-column/panel.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/roodoplog-2-column/panel.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -17,7 +17,7 @@
</div>
<div class="side">
{foreach from=$recentposts item=post}
- <div class="sidebody"><a class="aside" title="{$post->getText()|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></div>
+ <div class="sidebody"><a class="aside" title="{$post->getText()|strip_tags|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></div>
{/foreach}
</div>
@@ -29,7 +29,7 @@
{foreach from=$comments item=comment}
{assign var=commentpostid value=$comment->getArticleId()}
{assign var=commentpost value=$recentcomments->getArticle($commentpostid)}
-<div class="sidebody"><a class="aside" title="View comments by {$comment->getUsername()}" href="{$url->postPermalink($commentpost)}#{$comment->getId()}"><b>{$comment->getUsername()}:</b>{$comment->getText()|truncate:100:"..."|strip_tags}</a></div>
+<div class="sidebody"><a class="aside" title="View comments by {$comment->getUsername()}" href="{$url->postPermalink($commentpost)}#{$comment->getId()}"><b>{$comment->getUsername()}:</b>{$comment->getText()|strip_tags|truncate:100:"..."|strip_tags}</a></div>
{/foreach}
</div>
{/if}
Modified: templates/trunk/roodoplog-3-column/panel.template
===================================================================
--- templates/trunk/roodoplog-3-column/panel.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/roodoplog-3-column/panel.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -17,7 +17,7 @@
</div>
<div class="side">
{foreach from=$recentposts item=post}
- <div class="sidebody"><a class="aside" title="{$post->getText()|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></div>
+ <div class="sidebody"><a class="aside" title="{$post->getText()|strip_tags|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></div>
{/foreach}
</div>
{if !empty($recentcomments)}
@@ -28,7 +28,7 @@
{foreach from=$comments item=comment}
{assign var=commentpostid value=$comment->getArticleId()}
{assign var=commentpost value=$recentcomments->getArticle($commentpostid)}
-<div class="sidebody"><a class="aside" title="View comments by {$comment->getUsername()}" href="{$url->postPermalink($commentpost)}#{$comment->getId()}"><b>{$comment->getUsername()}:</b>{$comment->getText()|truncate:100:"..."|strip_tags}</a></div>
+<div class="sidebody"><a class="aside" title="View comments by {$comment->getUsername()}" href="{$url->postPermalink($commentpost)}#{$comment->getId()}"><b>{$comment->getUsername()}:</b>{$comment->getText()|strip_tags|truncate:100:"..."|strip_tags}</a></div>
{/foreach}
</div>
{/if}
Modified: templates/trunk/rubric/albums.template
===================================================================
--- templates/trunk/rubric/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/rubric/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/silver/albums.template
===================================================================
--- templates/trunk/silver/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/silver/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/simple_sky/albums.template
===================================================================
--- templates/trunk/simple_sky/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/simple_sky/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/splat/albums.template
===================================================================
--- templates/trunk/splat/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/splat/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/spring/main.template
===================================================================
--- templates/trunk/spring/main.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/spring/main.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -11,7 +11,7 @@
<div id="topic"><div id="topic_l"><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></div>
</div>
<div id="post">
-{$post->getText()|truncate:300:"...":false}
+{$post->getText()|strip_tags|truncate:300:"...":false}
</div>
<div id="line"></div>
Modified: templates/trunk/toni/albums.template
===================================================================
--- templates/trunk/toni/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/toni/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/toto/albums.template
===================================================================
--- templates/trunk/toto/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/toto/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -13,7 +13,7 @@
</a>| {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
</td>
<td width="50%">
- {$album->getDescription()|truncate:255:"..."}
+ {$album->getDescription()|strip_tags|truncate:255:"..."}
</td>
</tr>
{/foreach}
Modified: templates/trunk/toto/panel.template
===================================================================
--- templates/trunk/toto/panel.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/toto/panel.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -29,7 +29,7 @@
<td>
<ul>
{foreach from=$recentposts item=post}
- <li><a title="{$post->getText()|truncate:15:"..."}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
+ <li><a title="{$post->getText()|strip_tags|truncate:15:"..."}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
{/foreach}
</ul>
</td>
Modified: templates/trunk/toto/panel_with_comments.template
===================================================================
--- templates/trunk/toto/panel_with_comments.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/toto/panel_with_comments.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -29,7 +29,7 @@
<td>
<ul>
{foreach from=$recentposts item=post}
- <li><a title="{$post->getText()|truncate:15:"..."}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
+ <li><a title="{$post->getText()|strip_tags|truncate:15:"..."}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
{/foreach}
</ul>
</td>
@@ -58,9 +58,9 @@
{assign var=postid value=$comment->getArticleId()}
{assign var=post value=$recentcomments->getCommentArticle($postid)}
{if $comment->getUserUrl()}
-<li><a href="{$url->postPermalink($post)}">{$comment->getText()|truncate:150:"..."}</a>(<a href="{$comment->getUserUrl()}">{$comment->getUsername()}</a>)</li>
+<li><a href="{$url->postPermalink($post)}">{$comment->getText()|strip_tags|truncate:150:"..."}</a>(<a href="{$comment->getUserUrl()}">{$comment->getUsername()}</a>)</li>
{else}
-<li><a href="{$url->postPermalink($post)}">{$comment->getText()|truncate:150:"..."}</a>({$comment->getUsername()})</li>
+<li><a href="{$url->postPermalink($post)}">{$comment->getText()|strip_tags|truncate:150:"..."}</a>({$comment->getUsername()})</li>
{/if}
{/foreach}
</ul>
@@ -116,4 +116,4 @@
Web Counter Powered by: <a href="http://www.digits.com/">digits.com</a> <br /><IMG SRC="http://counter.digits.com/wc/-rz/-d/5/-c/1/-f/00B000/-b/F4F4FF/-e/F4F4FF/toto.net" ALIGN="middle" WIDTH="60" HEIGHT="20" BORDER="0" HSPACE="4" VSPACE="2">
</td>
</tr>
- </table>
\ No newline at end of file
+ </table>
Modified: templates/trunk/unported/wordplog/albums.template
===================================================================
--- templates/trunk/unported/wordplog/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/unported/wordplog/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -11,7 +11,7 @@
<a href="{$url->albumLink($album)}">{$locale->tr("view")} ({$album->getNumResources()})</a> |
{$locale->tr("created")} {$locale->formatDate($aDate,"%Y/%m/%d")}
</div>
-{$album->getDescription()|truncate:255:"..."|escape}
+{$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</div>
{/foreach}
</div>
Modified: templates/trunk/v4ny8_lt/albums.template
===================================================================
--- templates/trunk/v4ny8_lt/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/v4ny8_lt/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -14,7 +14,7 @@
</a>| {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
</div>
</div>
-{$album->getDescription()|truncate:255:"..."|escape}
+{$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</div>
{/foreach}
</div>
Modified: templates/trunk/water_play/albums.template
===================================================================
--- templates/trunk/water_play/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/water_play/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
Modified: templates/trunk/zen/albums.template
===================================================================
--- templates/trunk/zen/albums.template 2006-09-28 09:21:26 UTC (rev 4060)
+++ templates/trunk/zen/albums.template 2006-09-28 13:22:09 UTC (rev 4061)
@@ -10,7 +10,7 @@
</div>
<div class="storycontent">
<p>
- {$album->getDescription()|truncate:255:"..."|escape}
+ {$album->getDescription()|strip_tags|truncate:255:"..."|escape}
</p>
</div>
<div class="feedback">
More information about the pLog-svn
mailing list