aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editpost.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/editpost.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/editpost.php')
-rw-r--r--mod/editpost.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/editpost.php b/mod/editpost.php
index 8c4117e7a..938c12083 100644
--- a/mod/editpost.php
+++ b/mod/editpost.php
@@ -125,7 +125,7 @@ function editpost_content(&$a) {
'$post_id' => $post_id,
'$baseurl' => $a->get_baseurl(),
'$defloc' => $channel['channel_location'],
- '$visitor' => 'none',
+ '$visitor' => false,
'$pvisit' => 'none',
'$public' => t('Public post'),
'$jotnets' => $jotnets,
@@ -143,9 +143,9 @@ function editpost_content(&$a) {
'$sourceapp' => t($a->sourcename),
'$catsenabled' => $catsenabled,
'$defexpire' => datetime_convert('UTC', date_default_timezone_get(),$itm[0]['expires']),
- '$feature_expire' => ((feature_enabled(get_app()->profile['profile_uid'],'content_expire') && (! $webpage)) ? 'block' : 'none'),
+ '$feature_expire' => ((feature_enabled(get_app()->profile['profile_uid'],'content_expire') && (! $webpage)) ? true : false),
'$expires' => t('Set expiration date'),
- '$feature_encrypt' => ((feature_enabled(get_app()->profile['profile_uid'],'content_encrypt') && (! $webpage)) ? 'block' : 'none'),
+ '$feature_encrypt' => ((feature_enabled(get_app()->profile['profile_uid'],'content_encrypt') && (! $webpage)) ? true : false),
'$encrypt' => t('Encrypt text'),
'$cipher' => $cipher,
'$expiryModalOK' => t('OK'),