From 7862547b2ebd4c830b8c155e6f09cab1f41ce48d Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Mon, 4 Jun 2007 18:41:16 +0000 Subject: [PATCH 1/1] initial import of smarty templates git-svn-id: file:///var/lib/svn/phpfspot/trunk@3 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- templates/body.tpl | 29 +++++++++++++++++++++++++++++ templates/footer.tpl | 1 + templates/header.tpl | 7 +++++++ templates/index.tpl | 6 ++++++ templates/tags.tpl | 6 ++++++ 5 files changed, 49 insertions(+) create mode 100644 templates/body.tpl create mode 100644 templates/footer.tpl create mode 100644 templates/header.tpl create mode 100644 templates/index.tpl create mode 100644 templates/tags.tpl diff --git a/templates/body.tpl b/templates/body.tpl new file mode 100644 index 0000000..7b2812d --- /dev/null +++ b/templates/body.tpl @@ -0,0 +1,29 @@ +
+Picture Viewer + + + + + + + + + + +
+ +
+ { if $previous_url == "" } +   + { else } + Previous + { /if } +   + { if $next_url == "" } +   + { else } + Next + { /if} +
+ +
diff --git a/templates/footer.tpl b/templates/footer.tpl new file mode 100644 index 0000000..5f85cab --- /dev/null +++ b/templates/footer.tpl @@ -0,0 +1 @@ + diff --git a/templates/header.tpl b/templates/header.tpl new file mode 100644 index 0000000..0ead6cb --- /dev/null +++ b/templates/header.tpl @@ -0,0 +1,7 @@ + + + + + {$page_title} + + diff --git a/templates/index.tpl b/templates/index.tpl new file mode 100644 index 0000000..eeb1de7 --- /dev/null +++ b/templates/index.tpl @@ -0,0 +1,6 @@ +{include file="header.tpl"} + + {include file="tags.tpl"} + {include file="body.tpl"} + +{include file="footer.tpl"} diff --git a/templates/tags.tpl b/templates/tags.tpl new file mode 100644 index 0000000..52751e2 --- /dev/null +++ b/templates/tags.tpl @@ -0,0 +1,6 @@ +
+ The following tags are available:
+{foreach from=$tags item=tag } + {$tag} +{/foreach} +
-- 2.25.1