From 3d626e7fd24a64e8938c516dab2631ce6190e902 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 21 Nov 2011 15:44:40 -0500 Subject: [PATCH] TPac; support context-genereted refresh content If the tpac context object contains a "refresh" attribute, it will be used as the content attribute in a element in the page head. If present, it will override the default refresh content for the authentication timeout. While we're in there, let's use the more correct form of the content attribute: content="x; url=foo" Signed-off-by: Bill Erickson --- Open-ILS/src/templates/opac/parts/base.tt2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/base.tt2 b/Open-ILS/src/templates/opac/parts/base.tt2 index 239ab30bea..1721a9cbf1 100644 --- a/Open-ILS/src/templates/opac/parts/base.tt2 +++ b/Open-ILS/src/templates/opac/parts/base.tt2 @@ -2,8 +2,10 @@ - [% IF ctx.authtime %] - + [% IF ctx.refresh %] + + [% ELSIF ctx.authtime %] + [% END %] -- 2.11.0