# Ugh, CGI.new/.param insists on mangling the return-to URL.
# Build the redo_url by hand.
redo_url = '/eg/opac/register';
+joiner = '?';
IF return_to;
redo_url = redo_url _ '?return-to=' _ return_to;
- SET redo_url = redo_url _ '&no-wrapper=1' IF no_wrapper;
-ELSIF no_wrapper;
- redo_url = redo_url _ '?no-wrapper=1';
+ joiner = '&';
END;
+SET redo_url = redo_url _ joiner _ 'no-wrapper=1' IF no_wrapper;
# some useful variables and MACROs for display,
# field validation, and added info display
ctx_org = ctx.physical_loc || ctx.search_ou || ctx.aou_tree.id;
-# TODO put these on the EG server?
card_url = '/images/patron_cards/';
wallet_cards = [
'2017_75_Years',
</form>
[% END # IF ctx.success %]
</div><!-- main-content-left -->
+ [% UNLESS no_wrapper %]
<div id='main-content-right'>
<h3>
<a class="blue-link"
</li>
</ul>
</div>
+ [% END %]
<div class="grid-clear"></div>
</div>
</div>