diff options
author | Michael Vogel <icarus@dabo.de> | 2012-03-09 11:41:23 +0100 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-03-09 11:41:23 +0100 |
commit | 11c29e0cba4f521c5f37d963109c4807af8bccae (patch) | |
tree | 3dde72ce8528cfa9cc6111098585623b5971b605 /mod/message.php | |
parent | 52ea842e872cc004fd012496c828e9fb6186bec9 (diff) | |
parent | 2ce78253aeda8672e12f18f0963f52cd4a35e546 (diff) | |
download | volse-hubzilla-11c29e0cba4f521c5f37d963109c4807af8bccae.tar.gz volse-hubzilla-11c29e0cba4f521c5f37d963109c4807af8bccae.tar.bz2 volse-hubzilla-11c29e0cba4f521c5f37d963109c4807af8bccae.zip |
Merge commit 'upstream/master'
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 4b494e906..91db5baef 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:') )); |