multiple acl work

This commit is contained in:
Mario Vavti
2016-08-03 21:16:57 +02:00
parent d858bd9265
commit c50bfa07ca
11 changed files with 96 additions and 43 deletions

View File

@@ -2796,6 +2796,12 @@ function expand_acl($s) {
return $ret;
}
function acl2json($s) {
$s = expand_acl($s);
$s = json_encode($s);
return $s;
}
// When editing a webpage - a dropdown is needed to select a page layout
// On submit, the pdl_select value (which is the mid of an item with item_type = ITEM_TYPE_PDL) is stored in