aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/blocks.php1
-rw-r--r--mod/editblock.php1
-rw-r--r--mod/editlayout.php1
-rw-r--r--mod/editpost.php1
-rw-r--r--mod/editwebpage.php3
-rw-r--r--mod/layouts.php1
6 files changed, 3 insertions, 5 deletions
diff --git a/mod/blocks.php b/mod/blocks.php
index 343653ac4..74a980c25 100644
--- a/mod/blocks.php
+++ b/mod/blocks.php
@@ -60,6 +60,7 @@ require_once ('include/conversation.php');
'nickname' => $a->profile['channel_address'],
'lockstate' => (($group || $cid || $channel['channel_allow_cid'] || $channel['channel_allow_gid'] || $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'),
'bang' => (($group || $cid) ? '!' : ''),
+ 'showacl' => false,
'visitor' => true,
'mimetype' => 'choose',
'ptlabel' => t('Block Name'),
diff --git a/mod/editblock.php b/mod/editblock.php
index 8aca9e1f4..507050eb0 100644
--- a/mod/editblock.php
+++ b/mod/editblock.php
@@ -126,7 +126,6 @@ function editblock_content(&$a) {
'$baseurl' => $a->get_baseurl(),
'$defloc' => $channel['channel_location'],
'$visitor' => false,
- '$pvisit' => 'none',
'$public' => t('Public post'),
'$jotnets' => $jotnets,
'$title' => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'),
diff --git a/mod/editlayout.php b/mod/editlayout.php
index 4d0c00293..da681cf34 100644
--- a/mod/editlayout.php
+++ b/mod/editlayout.php
@@ -120,7 +120,6 @@ function editlayout_content(&$a) {
'$baseurl' => $a->get_baseurl(),
'$defloc' => $channel['channel_location'],
'$visitor' => false,
- '$pvisit' => 'none',
'$public' => t('Public post'),
'$jotnets' => $jotnets,
'$title' => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'),
diff --git a/mod/editpost.php b/mod/editpost.php
index 938c12083..6556405e3 100644
--- a/mod/editpost.php
+++ b/mod/editpost.php
@@ -126,7 +126,6 @@ function editpost_content(&$a) {
'$baseurl' => $a->get_baseurl(),
'$defloc' => $channel['channel_location'],
'$visitor' => false,
- '$pvisit' => 'none',
'$public' => t('Public post'),
'$jotnets' => $jotnets,
'$title' => htmlspecialchars($itm[0]['title'],ENT_COMPAT,'UTF-8'),
diff --git a/mod/editwebpage.php b/mod/editwebpage.php
index 5b6d91784..38aef4a8b 100644
--- a/mod/editwebpage.php
+++ b/mod/editwebpage.php
@@ -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,
diff --git a/mod/layouts.php b/mod/layouts.php
index 3fbb63ed4..318e6e29f 100644
--- a/mod/layouts.php
+++ b/mod/layouts.php
@@ -78,6 +78,7 @@ function layouts_content(&$a) {
'nickname' => $a->profile['channel_address'],
'lockstate' => (($group || $cid || $channel['channel_allow_cid'] || $channel['channel_allow_gid'] || $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'),
'bang' => (($group || $cid) ? '!' : ''),
+ 'showacl' => false,
'visitor' => false,
'nopreview' => 1,
'ptlabel' => t('Layout Name'),