From ea8d451d3220b9bbcf610a3909439f4ecb5562c6 Mon Sep 17 00:00:00 2001 From: Graham Cole <chckens@sucs.org> Date: Wed, 9 Apr 2008 17:56:09 +0000 Subject: [PATCH] allow 'secondary' template var to be an array. Easier to put several things in it that way --- templates/index.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/index.tpl b/templates/index.tpl index cd4ce5a..aac0866 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -26,6 +26,8 @@ Page last modified{if $modifiedby} by <a href="/Community/Members/{$modifiedby}" </div> <div id="secondary"> -{$secondary} +{foreach from=$secondary item=widget} +{$widget} +{/foreach} </div> {/if} -- GitLab