aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editwebpage.php
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-04-08 22:07:06 +0200
committermarijus <mario@mariovavti.com>2014-04-08 22:07:06 +0200
commit9f621dac85c1c417b17d031e3ca2798c6b63ece7 (patch)
tree14697666c99d828f903772ae5bc4cb66373957ca /mod/editwebpage.php
parent95751dddff2b1b7a2074d37a5b3102f256842ae4 (diff)
downloadvolse-hubzilla-9f621dac85c1c417b17d031e3ca2798c6b63ece7.tar.gz
volse-hubzilla-9f621dac85c1c417b17d031e3ca2798c6b63ece7.tar.bz2
volse-hubzilla-9f621dac85c1c417b17d031e3ca2798c6b63ece7.zip
change the way jot tools are displayed/hidden
Diffstat (limited to 'mod/editwebpage.php')
-rw-r--r--mod/editwebpage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/editwebpage.php b/mod/editwebpage.php
index e9c8f5c37..5b6d91784 100644
--- a/mod/editwebpage.php
+++ b/mod/editwebpage.php
@@ -156,7 +156,7 @@ 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',
@@ -177,7 +177,7 @@ function editwebpage_content(&$a) {
'$jotplugins' => $jotplugins,
'$sourceapp' => t($a->sourcename),
'$defexpire' => '',
- '$feature_expire' => 'none',
+ '$feature_expire' => false,
'$expires' => t('Set expiration date'),
));