summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
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>