From 54907f013349a8cbaa5e9544d1d7f7bf865f0662 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Mon, 18 Dec 2023 23:34:04 +0700 Subject: [PATCH] Updated --- search.php | 1 + styles/templates/default/search_results.tpl | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/search.php b/search.php index 0eb356cd..66c8b7a8 100644 --- a/search.php +++ b/search.php @@ -832,6 +832,7 @@ else 'TOPIC_AUTHOR' => profile_url(array('username' => $topic['first_username'], 'user_id' => $topic['first_user_id'], 'user_rank' => $topic['first_user_rank'])), 'LAST_POSTER' => profile_url(array('username' => $topic['last_username'], 'user_id' => $topic['last_user_id'], 'user_rank' => $topic['last_user_rank'])), 'LAST_POST_TIME' => bb_date($topic['topic_last_post_time']), + 'LAST_POST_TIME_RAW' => $topic['topic_last_post_time'], 'LAST_POST_ID' => $topic['topic_last_post_id'], )); } diff --git a/styles/templates/default/search_results.tpl b/styles/templates/default/search_results.tpl index d1bb1b95..3d6eef3c 100644 --- a/styles/templates/default/search_results.tpl +++ b/styles/templates/default/search_results.tpl @@ -152,7 +152,7 @@ function show_edit_options () {L_TOPICS} {L_AUTHOR} {L_REPLIES_SHORT} - {L_LASTPOST} + {L_LASTPOST} @@ -181,6 +181,7 @@ function show_edit_options () {t.TOPIC_AUTHOR} {t.REPLIES} + {t.LAST_POST_TIME_RAW}

{t.LAST_POST_TIME}

{t.LAST_POSTER}