summaryrefslogtreecommitdiffstats
path: root/templates/index.tpl
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-06-01 18:46:12 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-06-01 18:46:12 +0200
commitaf6dd5f8f9844596e85db25a8e97df9e08cb795c (patch)
tree8408e754dd335571635bcde041bbce69213af592 /templates/index.tpl
parentbe50d9ed4ba2b844bbc29686cee46b1dc149372a (diff)
downloadCatalog-af6dd5f8f9844596e85db25a8e97df9e08cb795c.tar.gz
Catalog-af6dd5f8f9844596e85db25a8e97df9e08cb795c.zip
Port alls sites to smarty and use the inheritance model
Diffstat (limited to 'templates/index.tpl')
-rw-r--r--templates/index.tpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/index.tpl b/templates/index.tpl
new file mode 100644
index 0000000..d787033
--- /dev/null
+++ b/templates/index.tpl
@@ -0,0 +1,17 @@
+{extends file="layout.tpl"}
+{block name=title}Home Page{/block}
+{block name=navigation}
+<dl>
+ <dt><a href="contact.php">Contact us</a></dt>
+ <dt><a href="categories.php">Categories</a></dt>
+ {if $loggedin}
+ <dt><a href="login.php?logout">Logout</a></dt>
+ {else}
+ <dt><a href="login.php">Login</a></dt>
+ {/if}
+</dl>
+{/block}
+{block name=content}
+<p>This site will rock your chair. The best products from all over the world.
+Furniture the like you have never seen. Contact us a get our catalog or login a order direct from our categories.</p>
+{/block} \ No newline at end of file