diff options
author | friendica <info@friendica.com> | 2014-04-09 21:13:40 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-04-09 21:13:40 -0700 |
commit | 8d8d73924224f1f3862bffa4822b7d62600afd62 (patch) | |
tree | eb83b0491fe69a2d712e8b3e898448ec363529a2 /mod/mail.php | |
parent | 795d74171358abe23cc4be01dac0e48d04ee46b4 (diff) | |
parent | 5d5ff22b1dc551863342d2c7c7f44607bbd44777 (diff) | |
download | volse-hubzilla-8d8d73924224f1f3862bffa4822b7d62600afd62.tar.gz volse-hubzilla-8d8d73924224f1f3862bffa4822b7d62600afd62.tar.bz2 volse-hubzilla-8d8d73924224f1f3862bffa4822b7d62600afd62.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'mod/mail.php')
-rw-r--r-- | mod/mail.php | 8 |
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, |