Commit 658a6927 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Revert "Fix image url rewriting in blog blocks (bug #656096)"

This reverts commit 4a47b821.
parent 1393fd5e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<tr> <tr>
<td> <td>
<h3><a href="{$WWWROOT}view/artefact.php?artefact={$post->id}&view={$options.viewid}">{$post->title}</a></h3> <h3><a href="{$WWWROOT}view/artefact.php?artefact={$post->id}&view={$options.viewid}">{$post->title}</a></h3>
<div>{$post->description|clean_html|safe|append_view_url:$options.viewid}</div> <div>{$post->description|clean_html|safe}</div>
{if $post->tags} {if $post->tags}
<div class="tags"><label>{str tag=tags}:</label> {list_tags owner=$post->owner tags=$post->tags}</div> <div class="tags"><label>{str tag=tags}:</label> {list_tags owner=$post->owner tags=$post->tags}</div>
{/if} {/if}
......
<?php
/**
* Dwoo {append_view_url} function plugin
*
* Type: function<br>
* Date: June 22, 2006<br>
* Purpose: See ArtefactTypeFolder::append_view_url
* @author Catalyst IT Ltd
* @version 1.0
*/
function Dwoo_Plugin_append_view_url(Dwoo $dwoo, $html, $viewid=null) {
return empty($viewid) ? $html : ArtefactTypeFolder::append_view_url($html, $viewid);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment