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