diff options
author | Tobias Hößl <tobias@hoessl.eu> | 2012-03-09 10:00:12 +0000 |
---|---|---|
committer | Tobias Hößl <tobias@hoessl.eu> | 2012-03-09 10:00:12 +0000 |
commit | 635958e11da2f5a0d587b66968453064c2d41f13 (patch) | |
tree | 9e9b21d45551772a4aac8a54e3bafa382681ed70 /mod/message.php | |
parent | 02a9fd5dc1d1d9e848e2f406f2e13c4cf0ce228b (diff) | |
parent | 2ce78253aeda8672e12f18f0963f52cd4a35e546 (diff) | |
download | volse-hubzilla-635958e11da2f5a0d587b66968453064c2d41f13.tar.gz volse-hubzilla-635958e11da2f5a0d587b66968453064c2d41f13.tar.bz2 volse-hubzilla-635958e11da2f5a0d587b66968453064c2d41f13.zip |
Merge branch 'master' of git://github.com/friendica/friendica
Diffstat (limited to 'mod/message.php')
-rwxr-xr-x | mod/message.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/message.php b/mod/message.php index e293d62d9..9226a68fb 100755 --- a/mod/message.php +++ b/mod/message.php @@ -129,10 +129,16 @@ function message_content(&$a) { $o .= $header; + $plaintext = false; + if(intval(get_pconfig(local_user(),'system','plaintext'))) + $plaintext = true; + + $tpl = get_markup_template('msg-header.tpl'); $a->page['htmlhead'] .= replace_macros($tpl, array( '$baseurl' => $a->get_baseurl(), + '$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'), '$nickname' => $a->user['nickname'], '$linkurl' => t('Please enter a link URL:') )); |