From 8a050d435329e91cf33fc12f56c82b7a4b479d0a Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 4 May 2008 11:04:20 +0200 Subject: set everywhere the correct path to scripts, stylesheets, images, ... Signed-off-by: Andreas Unterkircher --- themes/default/templates/export.tpl | 2 +- themes/default/templates/header.tpl | 22 ++++++++-------- themes/default/templates/index.tpl | 10 ++++---- themes/default/templates/photo_index.tpl | 20 +++++++-------- themes/default/templates/search.tpl | 12 ++++----- themes/default/templates/single_photo.tpl | 42 +++++++++++++++---------------- themes/default/templates/slideshow.tpl | 16 ++++++------ themes/default/templates/tags.tpl | 4 +-- themes/default/templates/welcome.tpl | 6 ++--- 9 files changed, 67 insertions(+), 67 deletions(-) (limited to 'themes') diff --git a/themes/default/templates/export.tpl b/themes/default/templates/export.tpl index 3647863..7f6f2de 100644 --- a/themes/default/templates/export.tpl +++ b/themes/default/templates/export.tpl @@ -7,7 +7,7 @@ - +
diff --git a/themes/default/templates/header.tpl b/themes/default/templates/header.tpl index e946a5b..1cd9cb4 100644 --- a/themes/default/templates/header.tpl +++ b/themes/default/templates/header.tpl @@ -3,19 +3,19 @@ {$page_title} - - - - - + + + + + { if $use_lightbox } - - - - + + + + { /if } { if $use_autocomplete } - - + + { /if } diff --git a/themes/default/templates/index.tpl b/themes/default/templates/index.tpl index 59b4b56..468239a 100644 --- a/themes/default/templates/index.tpl +++ b/themes/default/templates/index.tpl @@ -1,10 +1,10 @@ {include file="header.tpl"} - +
-   Loading... +   Loading...
@@ -12,13 +12,13 @@
{if $slideshow_link } -  Slideshow +  Slideshow {/if} {if $extern_link } -  External Link +  External Link {/if} {if $export_link } -  Export +  Export {/if} {if $rss_link } -  RSS-Feed +  RSS-Feed {/if}
@@ -73,7 +73,7 @@ {$img_name[thumb]} { if $use_lightbox } - + { /if } @@ -89,11 +89,11 @@
{ if $next_url == "" } { if $count != 0 } - last page reached + last page reached { /if } { else } - next photo + next photo { /if}
@@ -102,11 +102,11 @@
{ if $previous_url == "" } { if $count != 0 } - first page reached + first page reached { /if } { else } - previous photo + previous photo { /if }
@@ -130,7 +130,7 @@ {section name="thumb" loop=$thumbs step=1} {if $images[thumb] } - image_urls[{counter}] = 'phpfspot_img.php?idx={$images[thumb]}&width={$width}'; + image_urls[{counter}] = '{$web_path}/phpfspot_img.php?idx={$images[thumb]}&width={$width}'; last_thumb = {$images[thumb]}; {/if} {/section} diff --git a/themes/default/templates/search.tpl b/themes/default/templates/search.tpl index f983c40..ca7042e 100644 --- a/themes/default/templates/search.tpl +++ b/themes/default/templates/search.tpl @@ -1,5 +1,5 @@ - loupeSearch: + loupeSearch:
@@ -25,7 +25,7 @@ { /if } - + @@ -34,7 +34,7 @@ - + @@ -51,15 +51,15 @@   - {$from_date} + {$from_date}   - {$to_date} + {$to_date} - + diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index 8526053..a9ecec4 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -15,50 +15,50 @@ {/if}
- - - -  Auto-Browse + + + +  Auto-Browse {if $extern_link } -  External Link +  External Link {/if} - original resolution Fullsize + original resolution Fullsize
{ if $ExifMadeWith } - camera icon Image taken with:
+ camera icon Image taken with:
{$ExifMadeWith}
{ /if } { if $ExifMadeOn } - calendar icon Image made on:
+ calendar icon Image made on:
{$ExifMadeOn}
{ /if } { if $ExifOrigResolution } - resolution icon Original resolution:
+ resolution icon Original resolution:
{$ExifOrigResolution}
{ /if } Size: {$ExifFileSize}
{ if $tags }
- available tags Tagged with:
+ available tags Tagged with:
{ foreach from=$tags key=id item=name } {$name}
{ /foreach } { /if }
{ if $prev_img } - photo icon Previous:
+ photo icon Previous:
-
+
{ /if} { if $next_img } - photo icon Next:
+ photo icon Next:
-
+
{ /if}
@@ -79,20 +79,20 @@
{ if $previous_url == "" } - first photo reached + first photo reached { else } - previous photo + previous photo { /if } - photo index + photo index { if $next_url == "" } - last photo reached + last photo reached { else } - next photo + next photo { /if}
@@ -104,9 +104,9 @@ /* lets preload to previous and the next image to speedup */ var image_next = new Image(); - image_next.src = "phpfspot_img.php?idx={$next_img}&width={$photo_width}"; + image_next.src = "{$web_path}/phpfspot_img.php?idx={$next_img}&width={$photo_width}"; var image_prev = new Image(); - image_prev.src = "phpfspot_img.php?idx={$prev_img}&width={$photo_width}"; + image_prev.src = "{$web_path}/phpfspot_img.php?idx={$prev_img}&width={$photo_width}"; --> diff --git a/themes/default/templates/slideshow.tpl b/themes/default/templates/slideshow.tpl index c5e8ba5..84b6a6b 100644 --- a/themes/default/templates/slideshow.tpl +++ b/themes/default/templates/slideshow.tpl @@ -1,14 +1,14 @@ {include file="header.tpl"} - - - - + + + +
- - - - + + + +
diff --git a/themes/default/templates/tags.tpl b/themes/default/templates/tags.tpl index 42a20ff..a4b1e0a 100644 --- a/themes/default/templates/tags.tpl +++ b/themes/default/templates/tags.tpl @@ -1,9 +1,9 @@ - available tagsAvailable Tags: + available tagsAvailable Tags:
- selected tagsSelected Tags: + selected tagsSelected Tags:   || diff --git a/themes/default/templates/welcome.tpl b/themes/default/templates/welcome.tpl index 4629fda..6e6613c 100644 --- a/themes/default/templates/welcome.tpl +++ b/themes/default/templates/welcome.tpl @@ -5,7 +5,7 @@