From 4a1a1190a6c9f72f72bce7e8989541e58f366a90 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sun, 8 Mar 2015 00:53:05 +0100 Subject: picwall: link directly to the target URL (not the permalink) --- index.php | 1 - tpl/picwall.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/index.php b/index.php index 066058e6..6189e0b8 100644 --- a/index.php +++ b/index.php @@ -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. } } diff --git a/tpl/picwall.html b/tpl/picwall.html index ea1ef420..e686afe1 100644 --- a/tpl/picwall.html +++ b/tpl/picwall.html @@ -9,7 +9,7 @@
{loop="linksToDisplay"}
- {$value.thumbnail}{$value.title|htmlspecialchars} + {$value.thumbnail}{$value.title|htmlspecialchars}
{/loop}
-- cgit v1.2.3