aboutsummaryrefslogtreecommitdiffstats
path: root/view/acl_selectors.php
diff options
context:
space:
mode:
Diffstat (limited to 'view/acl_selectors.php')
-rw-r--r--view/acl_selectors.php39
1 files changed, 33 insertions, 6 deletions
diff --git a/view/acl_selectors.php b/view/acl_selectors.php
index 7a69fdd5a..02cc285c7 100644
--- a/view/acl_selectors.php
+++ b/view/acl_selectors.php
@@ -59,12 +59,39 @@ function contact_select($selname,$selclass,$preselected = false) {
function populate_acl() {
$o = '';
-
- $o .= "Allow Groups: " . group_select('group_allow','group_allow');
- $o .= "Allow Contacts: " . contact_select('contact_allow','contact_allow');
- $o .= "<br />\r\n";
- $o .= "Except Groups: " . group_select('group_deny','group_deny');
- $o .= "Except Contacts: " . contact_select('contact_deny','contact_deny');
+ $o .= "<div id=\"acl-wrapper\">";
+ $o .= "<div id=\"acl-permit-outer-wrapper\">";
+ $o .= "<div id=\"acl-permit-text\">Visible To:</div>";
+ $o .= "<div id=\"acl-permit-text-end\"></div>";
+ $o .= "<div id=\"acl-permit-wrapper\">";
+ $o .= "<div id=\"group_allow_wrapper\">";
+ $o .= "<label id=\"acl-allow-group-label\" for=\"group_allow\" >Groups</label>";
+ $o .= group_select('group_allow','group_allow');
+ $o .= "</div>";
+ $o .= "<div id=\"contact_allow_wrapper\">";
+ $o .= "<label id=\"acl-allow-contact-label\" for=\"contact_allow\" >Contacts</label>";
+ $o .= contact_select('contact_allow','contact_allow');
+ $o .= "</div>";
+ $o .= "</div>\r\n";
+ $o .= "<div id=\"acl-allow-end\"></div>\r\n";
+ $o .= "</div>";
+ $o .= "<div id=\"acl-deny-outer-wrapper\">";
+ $o .= "<div id=\"acl-deny-text\">Except For:</div>";
+ $o .= "<div id=\"acl-deny-text-end\"></div>";
+ $o .= "<div id=\"acl-deny-wrapper\">";
+ $o .= "<div id=\"group_deny_wrapper\" >";
+ $o .= "<label id=\"acl-deny-group-label\" for=\"group_deny\" >Groups</label>";
+ $o .= group_select('group_deny','group_deny');
+ $o .= "</div>";
+ $o .= "<div id=\"contact_deny_wrapper\" >";
+ $o .= "<label id=\"acl-deny-contact-label\" for=\"contact_deny\" >Contacts</label>";
+ $o .= contact_select('contact_deny','contact_deny');
+ $o .= "</div>";
+ $o .= "</div>\r\n";
+ $o .= "<div id=\"acl-deny-end\"></div>\r\n";
+ $o .= "</div>";
+ $o .= "</div>\r\n";
+ $o .= "<div id=\"acl-wrapper-end\"></div>";
return $o;
} \ No newline at end of file