From a3192d8b18d40a8761adb65d752d909ca7dcd0cb Mon Sep 17 00:00:00 2001 From: Suki Date: Thu, 5 Mar 2015 12:21:36 -0600 Subject: [PATCH 01/12] Signed-off-by: Suki --- Sources/Display.php | 2 +- Themes/default/Display.template.php | 8 +++ Themes/default/languages/index.english.php | 1 + Themes/default/scripts/topic.js | 82 ++++++++++++++++++++-- 4 files changed, 88 insertions(+), 5 deletions(-) diff --git a/Sources/Display.php b/Sources/Display.php index e69ce7bca0..6381b90535 100644 --- a/Sources/Display.php +++ b/Sources/Display.php @@ -961,7 +961,7 @@ function Display() $context['topic_notification'] = !empty($user_info['id']) ? $topicinfo['notify_prefs'] : array(); // 0 => unwatched, 1 => normal, 2 => receive alerts, 3 => receive emails $context['topic_notification_mode'] = !$user_info['is_guest'] ? ($context['topic_unwatched'] ? 0 : ($topicinfo['notify_prefs']['pref'] & 0x02 ? 3 : ($topicinfo['notify_prefs']['pref'] & 0x01 ? 2 : 1))) : 0; - + $attachments = array(); // If there _are_ messages here... (probably an error otherwise :!) diff --git a/Themes/default/Display.template.php b/Themes/default/Display.template.php index 983a3e87c6..9989497f44 100644 --- a/Themes/default/Display.template.php +++ b/Themes/default/Display.template.php @@ -697,6 +697,11 @@ function template_single_post($message) echo '