From 1a436281c5ecdf348cb3d965cfb28db04a3eedd2 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 24 Apr 2017 23:44:27 +0200 Subject: [PATCH] added template for the blocklist editor in the admin panel --- view/templates/admin_blocklist.tpl | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 view/templates/admin_blocklist.tpl diff --git a/view/templates/admin_blocklist.tpl b/view/templates/admin_blocklist.tpl new file mode 100644 index 000000000..c7ee47c59 --- /dev/null +++ b/view/templates/admin_blocklist.tpl @@ -0,0 +1,33 @@ + +
+

{{$title}} - {{$page}}

+

{{$intro}}

+

{{$public}}

+ +

{{$addtitle}}

+
+ + {{include file="field_input.tpl" field=$newurl}} + {{include file="field_input.tpl" field=$newreason}} +
+
+ + {{if $entries}} +

{{$currenttitle}}

+

{{$currentintro}}

+
+ + {{foreach $entries as $e}} + {{include file="field_input.tpl" field=$e.url}} + {{include file="field_input.tpl" field=$e.reason}} + {{include file="field_checkbox.tpl" field=$e.delete}} + {{/foreach}} +
+ {{/if}} +
+ +