diff --git a/templates/components/box.tpl b/templates/components/box.tpl index f628aae4..e989c8ff 100644 --- a/templates/components/box.tpl +++ b/templates/components/box.tpl @@ -1,15 +1,15 @@ -
+<{if $article}article{else}section{/if} class="box" {if $id}id="{$id}"{/if}> {if $head} -
+
{$head} -
+ {/if} {if $intro} -
+
{$intro} -
+ {/if} -
+
{$content} -
-
+ + diff --git a/templates/components/roundbox.tpl b/templates/components/roundbox.tpl index 68122a80..e31cfce5 100644 --- a/templates/components/roundbox.tpl +++ b/templates/components/roundbox.tpl @@ -1,10 +1,10 @@ -
+
{if $header} -
+
{$header} -
+ {/if} -
+
{$content} -
-
+ + diff --git a/templates/pages/news.tpl b/templates/pages/news.tpl index db9b4b25..370b4fa4 100644 --- a/templates/pages/news.tpl +++ b/templates/pages/news.tpl @@ -13,7 +13,7 @@ {$news->getContent()} {/capture} - {include "components/box.tpl" id=$id head=$smarty.capture.head content=$smarty.capture.content} + {include "components/box.tpl" id=$id head=$smarty.capture.head content=$smarty.capture.content article="true"} {/foreach} {* Only show the 'more news' link if we're on the main page *}