initial import of smarty templates
authorAndreas Unterkircher <unki@netshadow.at>
Mon, 4 Jun 2007 18:41:16 +0000 (18:41 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Mon, 4 Jun 2007 18:41:16 +0000 (18:41 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@3 fa6a889d-dae6-447d-9e79-4ba9a3039384

templates/body.tpl [new file with mode: 0644]
templates/footer.tpl [new file with mode: 0644]
templates/header.tpl [new file with mode: 0644]
templates/index.tpl [new file with mode: 0644]
templates/tags.tpl [new file with mode: 0644]

diff --git a/templates/body.tpl b/templates/body.tpl
new file mode 100644 (file)
index 0000000..7b2812d
--- /dev/null
@@ -0,0 +1,29 @@
+<div id="body">
+Picture Viewer
+
+<table>
+ <tr>
+  <td colspan="3">
+   <img src="{$image_url}" />
+  </td>
+ </tr>
+ <tr>
+  <td style="text-align: left;">
+   { if $previous_url == "" }
+   &nbsp;
+   { else }
+   <a href="{$previous_url}">Previous</a>
+   { /if }
+  </td>
+  <td>&nbsp;</td>
+  <td style="text-align: right;">
+   { if $next_url == "" }
+   &nbsp;
+   { else }
+   <a href="{$next_url}">Next</a>
+   { /if}
+  </td>
+ </tr>
+</table>
+
+</div>
diff --git a/templates/footer.tpl b/templates/footer.tpl
new file mode 100644 (file)
index 0000000..5f85cab
--- /dev/null
@@ -0,0 +1 @@
+</html>
diff --git a/templates/header.tpl b/templates/header.tpl
new file mode 100644 (file)
index 0000000..0ead6cb
--- /dev/null
@@ -0,0 +1,7 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">                                                                                                                                  
+ <head>                                                                                                                                                                                              
+  <meta http-equiv="Content-Type" content="text/html; charset=charset=utf-8" />                                                                                                                      
+  <title>{$page_title}</title>
+  <script type="text/javascript" src="rpc.php?mode=init&amp;client=all"></script>                                                                                                             
+ </head>                                                                                                      
diff --git a/templates/index.tpl b/templates/index.tpl
new file mode 100644 (file)
index 0000000..eeb1de7
--- /dev/null
@@ -0,0 +1,6 @@
+{include file="header.tpl"}
+ <body>
+  {include file="tags.tpl"}
+  {include file="body.tpl"}
+ </body>
+{include file="footer.tpl"}
diff --git a/templates/tags.tpl b/templates/tags.tpl
new file mode 100644 (file)
index 0000000..52751e2
--- /dev/null
@@ -0,0 +1,6 @@
+<div id='tag'>
+ The following tags are available:<br />
+{foreach from=$tags item=tag }
+ <a href="?{$tag}">{$tag}</a>
+{/foreach}
+</div>