summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-04 19:02:47 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-04 19:02:47 +0000
commit8f56c03f5e097d31ba940e6f97f65e0e23ae3861 (patch)
tree0624ef414512552a6fae36649696cff45e202637 /templates
parentd7790a08d8d457bf07d0277fc9fda3811faf2362 (diff)
issue13, if user jumps into from an external link, immediatley display the photo index according the tag selection provided
git-svn-id: file:///var/lib/svn/phpfspot/trunk@162 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'templates')
-rw-r--r--templates/index.tpl2
-rw-r--r--templates/photo_index.tpl4
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/index.tpl b/templates/index.tpl
index c00a591..3cad8ba 100644
--- a/templates/index.tpl
+++ b/templates/index.tpl
@@ -1,5 +1,5 @@
{include file="header.tpl"}
- <body onload="refreshAvailableTags(); refreshSelectedTags();">
+ <body onload="init_phpfspot();">
<div id="frame">
<table>
<tr>
diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl
index ee11a4f..8111b1b 100644
--- a/templates/photo_index.tpl
+++ b/templates/photo_index.tpl
@@ -21,7 +21,9 @@
{/if}
</td>
<td class="index_header" style="text-align: right;">
- <a href="{$extern_link}">Extern</a>
+ {if $extern_link }
+ <a href="{$extern_link}">Extern</a>
+ {/if}
<img src="resources/photo_index.png" alt="photo index" />
</td>
</tr>