aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editwebpage.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-04-09 21:13:40 -0700
committerfriendica <info@friendica.com>2014-04-09 21:13:40 -0700
commit8d8d73924224f1f3862bffa4822b7d62600afd62 (patch)
treeeb83b0491fe69a2d712e8b3e898448ec363529a2 /mod/editwebpage.php
parent795d74171358abe23cc4be01dac0e48d04ee46b4 (diff)
parent5d5ff22b1dc551863342d2c7c7f44607bbd44777 (diff)
downloadvolse-hubzilla-8d8d73924224f1f3862bffa4822b7d62600afd62.tar.gz
volse-hubzilla-8d8d73924224f1f3862bffa4822b7d62600afd62.tar.bz2
volse-hubzilla-8d8d73924224f1f3862bffa4822b7d62600afd62.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'mod/editwebpage.php')
-rw-r--r--mod/editwebpage.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/mod/editwebpage.php b/mod/editwebpage.php
index e9c8f5c37..38aef4a8b 100644
--- a/mod/editwebpage.php
+++ b/mod/editwebpage.php
@@ -156,10 +156,9 @@ function editwebpage_content(&$a) {
'$post_id' => $post_id,
'$baseurl' => $a->get_baseurl(),
'$defloc' => $itm[0]['location'],
- '$visitor' => ($is_owner) ? 'block' : 'none',
+ '$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,
@@ -177,7 +176,7 @@ function editwebpage_content(&$a) {
'$jotplugins' => $jotplugins,
'$sourceapp' => t($a->sourcename),
'$defexpire' => '',
- '$feature_expire' => 'none',
+ '$feature_expire' => false,
'$expires' => t('Set expiration date'),
));