From 124c362d8ebb8d914a04093a76ae9f10fed541f6 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Fri, 28 Mar 2014 21:05:31 +0100 Subject: [PATCH] added announcements to the mainPage --- template/main.tpl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/template/main.tpl b/template/main.tpl index c4de86cc..4aaa282b 100644 --- a/template/main.tpl +++ b/template/main.tpl @@ -10,12 +10,20 @@ .news-img1 { position: absolute; left: 60px; top: 155px; width: 172px; height: 17px } .news-img2 { position: absolute; left: 246px; top: 48px; width: 145px; height: 127px } .news-talent { position: absolute; left: 240px; top: 29px; width: 152px; height: 146px } + .announcement { margin: auto; max-width: 1200px; padding: 0px 15px 15px 15px } {/literal}
+ +{if !empty($announcements)} + {foreach from=$announcements item=item} + {include file='bricks/announcement.tpl' an=$item} + {/foreach} +{/if} +