From 2d9d51b877624f04635a380616d48cf7fd50aedb Mon Sep 17 00:00:00 2001 From: Robert Scott James <rjames93@sucs.org> Date: Mon, 27 Jan 2014 13:16:29 +0000 Subject: [PATCH] Added a news creation option to the top of the page M news.tpl --- templates/news.tpl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates/news.tpl b/templates/news.tpl index 3055216..f8847b1 100644 --- a/templates/news.tpl +++ b/templates/news.tpl @@ -1,3 +1,12 @@ +{if $editable} +<div class="edit"> +<ul> +<li><a href="?action=create">Create</a></li> +</ul> +<div class="clear"></div> +</div> +{/if} + <div id="news"> {foreach name=news from=$news key=itemnum item=item} <div class="box"> -- GitLab