From 212d8abf0a22f4680640a868edd23f3c102f1d88 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 5 Jan 2008 11:22:08 +0000 Subject: [PATCH] Allow preview pane message list refresh mechanism to be forced by others git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12858 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default_advanced/read_headers.tpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/default_advanced/read_headers.tpl b/templates/default_advanced/read_headers.tpl index c38b2a38..ddcc1a73 100644 --- a/templates/default_advanced/read_headers.tpl +++ b/templates/default_advanced/read_headers.tpl @@ -122,6 +122,9 @@ extract($t); \n\n\n"; +// "pp_rr_force" = force pp_rr even if this is not the first time the message has been read +if ($show_preview_pane + && (sqGetGlobalVar('pp_rr_force', $pp_rr_force, SQ_FORM) + || (sqGetGlobalVar('pp_rr', $pp_rr, SQ_FORM) && $first_time_reading))) { + echo "\n"; } -- 2.25.1