diff options
author | RedMatrix <info@friendica.com> | 2014-04-10 13:54:34 +1000 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2014-04-10 13:54:34 +1000 |
commit | 5d5ff22b1dc551863342d2c7c7f44607bbd44777 (patch) | |
tree | 236e1999b23db046106b8b54f9cea4b43d1b120d /mod/editwebpage.php | |
parent | 46ed2570b80d7468dc6e875ccb02f533f9cbd139 (diff) | |
parent | b88a7fc23a185a6ecfbc451bddc7da33ea2c4d4c (diff) | |
download | volse-hubzilla-5d5ff22b1dc551863342d2c7c7f44607bbd44777.tar.gz volse-hubzilla-5d5ff22b1dc551863342d2c7c7f44607bbd44777.tar.bz2 volse-hubzilla-5d5ff22b1dc551863342d2c7c7f44607bbd44777.zip |
Merge pull request #399 from git-marijus/master
change the way jot tools are displayed/hidden
Diffstat (limited to 'mod/editwebpage.php')
-rw-r--r-- | mod/editwebpage.php | 7 |
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'), )); |