picwall: link directly to the target URL (not the permalink)

This commit is contained in:
nodiscc 2015-03-08 00:53:05 +01:00
parent 3ef1da28e8
commit 4a1a1190a6
2 changed files with 1 additions and 2 deletions

View File

@ -1271,7 +1271,6 @@ function renderPage()
if ($thumb!='') // Only output links which have a thumbnail.
{
$link['thumbnail']=$thumb; // Thumbnail HTML code.
$link['permalink']=$permalink;
$linksToDisplay[]=$link; // Add to array.
}
}

View File

@ -9,7 +9,7 @@
<div id="picwall_container">
{loop="linksToDisplay"}
<div class="picwall_pictureframe">
{$value.thumbnail}<a href="{$value.permalink}"><span class="info">{$value.title|htmlspecialchars}</span></a>
{$value.thumbnail}<a href="{$value.url}"><span class="info">{$value.title|htmlspecialchars}</span></a>
</div>
{/loop}
</div>