From 81475ed443e6be34f2b5c722b6e7eaf332d60661 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 24 Mar 2016 16:35:54 -0400 Subject: [PATCH] JBAS-1132 Self-contained page / doctype Avoid using the standard TPAC wrapper so the card app form can define its own to avoid IE quirks mode. Also, the wrapper loaded some stuff the page doesn't need. Signed-off-by: Bill Erickson --- KCLS/openils/var/templates_kcls/opac/register.tt2 | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/KCLS/openils/var/templates_kcls/opac/register.tt2 b/KCLS/openils/var/templates_kcls/opac/register.tt2 index 0af79b895f..3126f93bd2 100644 --- a/KCLS/openils/var/templates_kcls/opac/register.tt2 +++ b/KCLS/openils/var/templates_kcls/opac/register.tt2 @@ -1,7 +1,6 @@ [%- PROCESS "opac/parts/header.tt2"; PROCESS "opac/parts/org_selector.tt2"; PROCESS "opac/parts/state_selector.tt2"; - WRAPPER "opac/parts/base.tt2"; ctx.page_title = l("Request Library Card"); # for privacy, reload the page after (default) 5 minutes @@ -48,8 +47,15 @@ END; # input_field() %] - + + + + + + [% l('[_1]', ctx.page_title) %] + [% INCLUDE 'opac/parts/goog_analytics.tt2' %] + + + + +[% ctx.register_header %] +
@@ -467,5 +478,8 @@ END; # input_field()
-[% END %] +[% ctx.register_footer %] + + + -- 2.11.0