aboutsummaryrefslogtreecommitdiffstats
path: root/mod/message.php
diff options
context:
space:
mode:
authorAlexander Kampmann <programmer@nurfuerspam.de>2012-03-09 12:17:19 +0100
committerAlexander Kampmann <programmer@nurfuerspam.de>2012-03-09 12:17:19 +0100
commitaf34cf019c5742abadab19586f3931353d8d3ff8 (patch)
treee788b55ff2bbe256d62e517d04ef25e8630313b3 /mod/message.php
parentf84c191f8df126b95d8a41f70e785a9592018390 (diff)
parent42d622d6bfb5768205573cb6b149340d28f46886 (diff)
downloadvolse-hubzilla-af34cf019c5742abadab19586f3931353d8d3ff8.tar.gz
volse-hubzilla-af34cf019c5742abadab19586f3931353d8d3ff8.tar.bz2
volse-hubzilla-af34cf019c5742abadab19586f3931353d8d3ff8.zip
Merge branch 'master' of git://github.com/friendica/friendica
Diffstat (limited to 'mod/message.php')
-rwxr-xr-xmod/message.php6
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:')
));