From f1f2a3c8766bbd554d654a9b6e3a0360c7e1b4b5 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 9 Dec 2012 16:21:44 +0100 Subject: [PATCH] Adds missing permission checks before displaying the style list button --- acptemplates/styleAdd.tpl | 29 ++++++++++++++++++----------- acptemplates/styleImport.tpl | 22 ++++++++++++++-------- 2 files changed, 32 insertions(+), 19 deletions(-) diff --git a/acptemplates/styleAdd.tpl b/acptemplates/styleAdd.tpl index d20b8d4f47..904b5c2249 100644 --- a/acptemplates/styleAdd.tpl +++ b/acptemplates/styleAdd.tpl @@ -50,17 +50,24 @@

{lang}wcf.global.form.{$action}.success{/lang}

{/if} -
- -
+{hascontent} +
+ +
+{/hascontent}
diff --git a/acptemplates/styleImport.tpl b/acptemplates/styleImport.tpl index 848f7d9374..3ff111b65e 100644 --- a/acptemplates/styleImport.tpl +++ b/acptemplates/styleImport.tpl @@ -10,13 +10,19 @@

{lang}wcf.global.form.add.success{/lang}

{/if} - +{hascontent} +
+ +
+{/hascontent}
@@ -45,7 +51,7 @@ {event name='fieldsets'}
- +
-- 2.20.1