From 807ff805189e328f9d7e33ef29b56fc2830ec6e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be>
Date: Wed, 6 Jul 2016 05:44:07 +0200
Subject: [PATCH] Fixes #4980 Cleaned up acl remove.tpl file

---
 ihtml/themes/breezy/remove.tpl |  9 ++++---
 plugins/admin/acl/remove.tpl   | 44 ++++++++++++++++++----------------
 2 files changed, 28 insertions(+), 25 deletions(-)

diff --git a/ihtml/themes/breezy/remove.tpl b/ihtml/themes/breezy/remove.tpl
index 4bcb2e86d..c3cbaf13b 100644
--- a/ihtml/themes/breezy/remove.tpl
+++ b/ihtml/themes/breezy/remove.tpl
@@ -1,17 +1,16 @@
 <div style="font-size:18px;">
-  <img alt="" src="geticon.php?context=status&amp;icon=dialog-warning&amp;size=32"/>&nbsp;{t}Warning{/t}
+  <img alt="" src="geticon.php?context=status&amp;icon=dialog-warning&amp;size=32" class="center"/>&nbsp;{t}Warning{/t}
 </div>
 <p>
  {$intro}
- {t}This may be used by several groups. Please double check if your really want to do this since there is no way for FusionDirectory to get your data back.{/t}
+ {t}This may be used by several groups. Please double check if you really want to do this since there is no way for FusionDirectory to get your data back.{/t}
 </p>
 <p>
  {t}So - if you're sure - press 'Delete' to continue or 'Cancel' to abort.{/t}
 </p>
 
 <p class="plugbottom">
- <input type=submit name="delete_confirm" value="{msgPool type=delButton}">
+ <input type="submit" name="delete_confirm" value="{msgPool type=delButton}"/>
  &nbsp;
- <input type=submit name="delete_cancel" value="{t}Cancel{/t}">
+ <input type="submit" name="delete_cancel" value="{msgPool type=cancelButton}"/>
 </p>
-
diff --git a/plugins/admin/acl/remove.tpl b/plugins/admin/acl/remove.tpl
index 46696d286..ea079d264 100644
--- a/plugins/admin/acl/remove.tpl
+++ b/plugins/admin/acl/remove.tpl
@@ -1,24 +1,28 @@
-<div style="padding:5px;">
-  <div style="font-size:18px;">
-   <img alt="" src="geticon.php?context=status&amp;icon=dialog-warning&amp;size=48" class="center"/>&nbsp;{t}Warning{/t}
+<div class="notice">
+  <div class="msgtitle">
+    <h2>
+      <img alt="" src="geticon.php?context=status&amp;icon=dialog-warning&amp;size=32" class="center"/>&nbsp;{t}Warning: you are about to delete the ACL assignments on the following objects{/t}
+    </h2>
   </div>
-  <p>
-    <ul>
-      {foreach from=$objects item=object}
-        <li style="list-style-image:url('{$object.icon}');" title="{$object.type}">
-          {$object.name}&nbsp;(<i>{$object.dn}</i>)
-        </li>
-      {/foreach}
-    </ul>
-    {t}This includes all ACL assignments made on this node(s). If you want the list of these assignments, please cancel and open the objects.{/t}
-  </p>
+  <div>
+    <p>
+      <ul>
+        {foreach from=$objects item=object}
+          <li style="list-style-image:url('{$object.icon}');" title="{$object.type}">
+            {$object.name}&nbsp;(<i>{$object.dn}</i>)
+          </li>
+        {/foreach}
+      </ul>
+      {t}This includes all ACL assignments made on this node(s). If you want the list of these assignments, please cancel and open the objects.{/t}
+    </p>
 
-  <p>
-    {t}Press 'Delete' to continue or 'Cancel' to abort.{/t}
-  </p>
+    <p>
+     {t}Press 'Delete' to continue or 'Cancel' to abort.{/t}
+    </p>
 
-  <p class="plugbottom">
-    <input type="submit" name="delete_confirmed" value="{msgPool type=delButton}"/>
-    <input type="submit" name="delete_cancel" value="{msgPool type=cancelButton}"/>
-  </p>
+    <p class="plugbottom">
+      <input type="submit" name="delete_confirmed" value="{msgPool type=delButton}"/>
+      <input type="submit" name="delete_cancel" value="{msgPool type=cancelButton}"/>
+    </p>
+  </div>
 </div>
-- 
GitLab