aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
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 'include')
-rw-r--r--include/conversation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 8803e74e7..5a7e9e2cd 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1144,9 +1144,9 @@ function status_editor($a,$x,$popup=false) {
'$source' => ((x($x,'source')) ? $x['source'] : ''),
'$jotplugins' => $jotplugins,
'$defexpire' => '',
- '$feature_expire' => ((feature_enabled($x['profile_uid'],'content_expire') && (! $webpage)) ? 'block' : 'none'),
+ '$feature_expire' => ((feature_enabled($x['profile_uid'],'content_expire') && (! $webpage)) ? true : false),
'$expires' => t('Set expiration date'),
- '$feature_encrypt' => ((feature_enabled($x['profile_uid'],'content_encrypt') && (! $webpage)) ? 'block' : 'none'),
+ '$feature_encrypt' => ((feature_enabled($x['profile_uid'],'content_encrypt') && (! $webpage)) ? true : false),
'$encrypt' => t('Encrypt text'),
'$cipher' => $cipher,
'$expiryModalOK' => t('OK'),