From: Bill Erickson Date: Mon, 21 Nov 2011 20:44:40 +0000 (-0500) Subject: TPac; support context-genereted refresh content X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4717c4312a9db8ff59bfb810be620dec75afbe58;p=evergreen%2Fpines.git 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 Signed-off-by: Mike Rylander --- 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 %]