root/ip/trunk/privmsg.php
| 155 | 157 | ||
|---|---|---|---|
596 | $user_id_from = $privmsg['user_id_1']; | 596 | $user_id_from = $privmsg['user_id_1']; |
597 | $username_to = colorize_username($privmsg['user_id_2'], $privmsg['username_2'], $privmsg['user_color_2'], $privmsg['user_active_2']); | 597 | $username_to = colorize_username($privmsg['user_id_2'], $privmsg['username_2'], $privmsg['user_color_2'], $privmsg['user_active_2']); |
598 | $user_id_to = $privmsg['user_id_2']; | 598 | $user_id_to = $privmsg['user_id_2']; |
599 | |||
600 | // Needed for attachments... do not remove! | ||
601 | $template_to_parse = 'privmsgs_read_body.tpl'; | ||
602 | $template->set_filenames(array('body' => $template_to_parse)); | ||
599 | init_display_pm_attachments($privmsg['privmsgs_attachment']); | 603 | init_display_pm_attachments($privmsg['privmsgs_attachment']); |
600 | 604 | ||
601 | $post_date = create_date_ip($config['default_dateformat'], $privmsg['privmsgs_date'], $config['board_timezone']); | 605 | $post_date = create_date_ip($config['default_dateformat'], $privmsg['privmsgs_date'], $config['board_timezone']); |
... | ... | ||
786 | ) | 790 | ) |
787 | ); | 791 | ); |
788 | 792 | ||
789 | full_page_generation('privmsgs_read_body.tpl', $lang['Read_pm'], '', ''); | 793 | full_page_generation($template_to_parse, $lang['Read_pm'], '', ''); |
790 | } | 794 | } |
791 | elseif (($delete && $mark_list) || $delete_all) | 795 | elseif (($delete && $mark_list) || $delete_all) |
792 | { | 796 | { |
Download diff