aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--index.php1
-rw-r--r--tpl/picwall.html2
2 files changed, 1 insertions, 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()
1271 if ($thumb!='') // Only output links which have a thumbnail. 1271 if ($thumb!='') // Only output links which have a thumbnail.
1272 { 1272 {
1273 $link['thumbnail']=$thumb; // Thumbnail HTML code. 1273 $link['thumbnail']=$thumb; // Thumbnail HTML code.
1274 $link['permalink']=$permalink;
1275 $linksToDisplay[]=$link; // Add to array. 1274 $linksToDisplay[]=$link; // Add to array.
1276 } 1275 }
1277 } 1276 }
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 @@
9 <div id="picwall_container"> 9 <div id="picwall_container">
10 {loop="linksToDisplay"} 10 {loop="linksToDisplay"}
11 <div class="picwall_pictureframe"> 11 <div class="picwall_pictureframe">
12 {$value.thumbnail}<a href="{$value.permalink}"><span class="info">{$value.title|htmlspecialchars}</span></a> 12 {$value.thumbnail}<a href="{$value.url}"><span class="info">{$value.title|htmlspecialchars}</span></a>
13 </div> 13 </div>
14 {/loop} 14 {/loop}
15 </div> 15 </div>