From af6dd5f8f9844596e85db25a8e97df9e08cb795c Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Mon, 1 Jun 2015 18:46:12 +0200 Subject: Port alls sites to smarty and use the inheritance model --- templates/categories.tpl | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 templates/categories.tpl (limited to 'templates/categories.tpl') diff --git a/templates/categories.tpl b/templates/categories.tpl new file mode 100644 index 0000000..11162a6 --- /dev/null +++ b/templates/categories.tpl @@ -0,0 +1,35 @@ +{extends file="layout.tpl"} +{block name=title}Categories{/block} +{block name=navigation} +
+
Contact us
+
Home
+ {if $loggedin} +
Logout
+ {else} +
Login
+ {/if} +
+{/block} +{block name=content} + + {foreach from=$categories item=category} + + + + {if $loggedin} + + + {/if} + + {/foreach} + {if $loggedin} + + + + + + + {/if} +
{$category->getName()}{$category->getDescription()}EditDelete
Add
+{/block} \ No newline at end of file -- cgit v1.2.3-70-g09d2