aboutsummaryrefslogtreecommitdiffstats
path: root/mod/message.php
diff options
context:
space:
mode:
authorZach Prezkuta <fermion@gmx.com>2013-01-06 19:34:54 -0700
committerZach Prezkuta <fermion@gmx.com>2013-01-06 19:34:54 -0700
commitb4a95460e65dbadaf074a414a9e3d9367e109f19 (patch)
treec5a88652557bf5e6ba18b6c1d6edc09740960736 /mod/message.php
parent4281a95cbcc6a6bc2eae9ec0b393af9b0ec7b739 (diff)
downloadvolse-hubzilla-b4a95460e65dbadaf074a414a9e3d9367e109f19.tar.gz
volse-hubzilla-b4a95460e65dbadaf074a414a9e3d9367e109f19.tar.bz2
volse-hubzilla-b4a95460e65dbadaf074a414a9e3d9367e109f19.zip
fix show-stopping bugs
Diffstat (limited to 'mod/message.php')
-rw-r--r--mod/message.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/message.php b/mod/message.php
index 1a1ce4813..9e5e09e99 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -362,7 +362,7 @@ function message_content(&$a) {
$rr['to'] = find_xchan_in_array($rr['to_xchan'],$c);
$rr['seen'] = (($rr['mail_flags'] & MAIL_SEEN) ? 1 : "");
- if($a->theme['template_engine'] === 'internal') {
+ if($a->get_template_engine() === 'internal') {
$from_name_e = template_escape($rr['from']['xchan_name']);
$subject_e = template_escape((($rr['seen']) ? $rr['title'] : '<strong>' . $rr['title'] . '</strong>'));
$body_e = template_escape($rr['body']);
@@ -449,7 +449,7 @@ function message_content(&$a) {
$a->page['htmlhead'] .= replace_macros($tpl, array(
'$nickname' => $channel['channel_addr'],
- '$baseurl' => $a->get_baseurl(true)
+ '$baseurl' => $a->get_baseurl(true),
'$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'),
'$linkurl' => t('Please enter a link URL:')
));
@@ -470,7 +470,7 @@ logger('message: ' . print_r($message,true));
// if($extracted['images'])
// $message['body'] = item_redir_and_replace_images($extracted['body'], $extracted['images'], $message['contact-id']);
- if($a->theme['template_engine'] === 'internal') {
+ if($a->get_template_engine() === 'internal') {
$from_name_e = template_escape($message['from']['xchan_name']);
$subject_e = template_escape($message['title']);
$body_e = template_escape(smilies(bbcode($message['body'])));
@@ -508,7 +508,7 @@ logger('message: ' . print_r($message,true));
$select = $message[$recp]['xchan_name'] . '<input type="hidden" name="messageto" value="' . $message[$recp]['xchan_hash'] . '" />';
$parent = '<input type="hidden" name="replyto" value="' . $message['parent_uri'] . '" />';
- if($a->theme['template_engine'] === 'internal') {
+ if($a->get_template_engine() === 'internal') {
$subjtxt_e = template_escape($message['title']);
}
else {