From: Andreas Unterkircher Date: Fri, 6 Jul 2007 18:03:49 +0000 (+0000) Subject: issue27, beginning implementation X-Git-Tag: phpfspot-1.2~167 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=3752929d2b01cf3047f8980eff8fecf0bfa93ce9 issue27, beginning implementation git-svn-id: file:///var/lib/svn/phpfspot/trunk@168 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- diff --git a/phpfspot.js b/phpfspot.js index 2132ea5..4b6a640 100644 --- a/phpfspot.js +++ b/phpfspot.js @@ -115,6 +115,11 @@ function startTagSearch(searchfor) } +function setViewMode(mode) +{ + window.alert(mode); +} + function clearSearch() { document.getElementsByName('searchfor')[0].value = ''; diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index 6c7af4a..cb079e2 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -4,7 +4,7 @@ - -
+ Photo Index, {if ! $searchfor } {if $count == 1} @@ -20,10 +20,18 @@ {/if} {/if} + +
{if $extern_link } - + {/if} + + +
@@ -31,6 +39,7 @@ +
{section name="row" loop=$rows step=1}