quattro: hide acl button in edit post

fix #1780
This commit is contained in:
fabrixxm
2015-12-04 19:29:13 +01:00
parent 4e53df7c71
commit f44846555a
2 changed files with 8 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ function editpost_content(&$a) {
$tpl = get_markup_template("jot.tpl");
if(($group) || (is_array($a->user) && ((strlen($a->user['allow_cid'])) || (strlen($a->user['allow_gid'])) || (strlen($a->user['deny_cid'])) || (strlen($a->user['deny_gid'])))))
$lockstate = 'lock';
else
@@ -99,10 +99,11 @@ function editpost_content(&$a) {
call_hooks('jot_tool', $jotplugins);
//call_hooks('jot_networks', $jotnets);
//$tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins));
$o .= replace_macros($tpl,array(
'$is_edit' => true,
'$return_path' => $_SESSION['return_url'],
'$action' => 'item',
'$share' => t('Save'),