aboutsummaryrefslogtreecommitdiffstats
path: root/mod/mail.php
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-04-10 13:54:34 +1000
committerRedMatrix <info@friendica.com>2014-04-10 13:54:34 +1000
commit5d5ff22b1dc551863342d2c7c7f44607bbd44777 (patch)
tree236e1999b23db046106b8b54f9cea4b43d1b120d /mod/mail.php
parent46ed2570b80d7468dc6e875ccb02f533f9cbd139 (diff)
parentb88a7fc23a185a6ecfbc451bddc7da33ea2c4d4c (diff)
downloadvolse-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/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,