quickfix for private messages - needs a lot more work

This commit is contained in:
Mario Vavti
2015-09-17 19:25:13 +02:00
parent 6cd5826d21
commit 1cf404177d
5 changed files with 56 additions and 48 deletions

View File

@@ -125,8 +125,7 @@ function mail_content(&$a) {
$tpl = get_markup_template('mail_head.tpl');
$header = replace_macros($tpl, array(
'$messages' => t('Messages'),
'$tab_content' => $tab_content
'$header' => t('Messages'),
));
if((argc() == 3) && (argv(1) === 'drop')) {
@@ -160,8 +159,6 @@ function mail_content(&$a) {
if((argc() > 1) && (argv(1) === 'new')) {
$o .= $header;
$plaintext = true;
$tpl = get_markup_template('msg-header.tpl');