aboutsummaryrefslogtreecommitdiffstats
path: root/mod/mail.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/mail.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/mail.php')
-rw-r--r--mod/mail.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/mail.php b/mod/mail.php
index eb1b0ddc0..9c84872ef 100644
--- a/mod/mail.php
+++ b/mod/mail.php
@@ -222,9 +222,9 @@ function mail_content(&$a) {
'$wait' => t('Please wait'),
'$submit' => t('Submit'),
'$defexpire' => '',
- '$feature_expire' => ((feature_enabled(local_user(),'content_expire')) ? 'block' : 'none'),
+ '$feature_expire' => ((feature_enabled(local_user(),'content_expire')) ? true : false),
'$expires' => t('Set expiration date'),
- '$feature_encrypt' => ((feature_enabled(local_user(),'content_encrypt')) ? 'block' : 'none'),
+ '$feature_encrypt' => ((feature_enabled(local_user(),'content_encrypt')) ? true : false),
'$encrypt' => t('Encrypt text'),
'$cipher' => $cipher,
@@ -335,9 +335,9 @@ function mail_content(&$a) {
'$submit' => t('Submit'),
'$wait' => t('Please wait'),
'$defexpire' => '',
- '$feature_expire' => ((feature_enabled(local_user(),'content_expire')) ? 'block' : 'none'),
+ '$feature_expire' => ((feature_enabled(local_user(),'content_expire')) ? true : false),
'$expires' => t('Set expiration date'),
- '$feature_encrypt' => ((feature_enabled(local_user(),'content_encrypt')) ? 'block' : 'none'),
+ '$feature_encrypt' => ((feature_enabled(local_user(),'content_encrypt')) ? true : false),
'$encrypt' => t('Encrypt text'),
'$cipher' => $cipher,