use $showacl to show/hide acl in jot.tpl - remove $pvisit and repair editblock and editlayout which still depended on it.

This commit is contained in:
marijus
2014-04-09 18:29:22 +02:00
parent 74bd772a5b
commit b88a7fc23a
8 changed files with 5 additions and 8 deletions

View File

@@ -158,8 +158,7 @@ function editwebpage_content(&$a) {
'$defloc' => $itm[0]['location'],
'$visitor' => ($is_owner) ? true : false,
'$acl' => populate_acl($itm[0]),
'$showacl' => true,
'$pvisit' => ($is_owner) ? 'block' : 'none',
'$showacl' => ($is_owner) ? true : false,
'$public' => t('Public post'),
'$jotnets' => $jotnets,
'$mimeselect' => $mimeselect,