From: senator Date: Thu, 10 Feb 2011 21:51:19 +0000 (-0500) Subject: start using a centrally hard-coded ctx.opac_root X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bd77f157d2eb704a6d7ac4313071e54978b4e0a0;p=evergreen%2Fequinox.git start using a centrally hard-coded ctx.opac_root --- diff --git a/Open-ILS/web/templates/default/opac/myopac/main.tt2 b/Open-ILS/web/templates/default/opac/myopac/main.tt2 index 1dfaf713d1..1c1d077116 100644 --- a/Open-ILS/web/templates/default/opac/myopac/main.tt2 +++ b/Open-ILS/web/templates/default/opac/myopac/main.tt2 @@ -48,7 +48,7 @@ - View All + View All @@ -63,7 +63,7 @@ - View All + View All diff --git a/Open-ILS/web/templates/default/opac/parts/base.tt2 b/Open-ILS/web/templates/default/opac/parts/base.tt2 index ae1dac0717..c03df65912 100644 --- a/Open-ILS/web/templates/default/opac/parts/base.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/base.tt2 @@ -6,11 +6,11 @@ href="[% ctx.media_prefix %]/css/skin/default/opac/semiauto.css" /> - [%# %] Catalog - King County Library - [% ctx.page_title %] - [% BLOCK html_head; END; # provide a default that can be overridden %] - [% PROCESS html_head %] + [%# %] + [% BLOCK html_head; END; # provide a default that can be overridden -%] + [%- PROCESS html_head -%] [% content %] diff --git a/Open-ILS/web/templates/default/opac/parts/result/table.tt2 b/Open-ILS/web/templates/default/opac/parts/result/table.tt2 index 1474fb6cdc..9db6f3262b 100644 --- a/Open-ILS/web/templates/default/opac/parts/result/table.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/result/table.tt2 @@ -30,7 +30,7 @@ [% ident = attrs.isbn_clean || attrs.upc; IF ident; %] - Image of itemImage of item
[% END %] @@ -40,7 +40,7 @@ valign="top">
[% attrs.title %]
@@ -48,7 +48,7 @@ [% attrs.author %]    [% attrs.pubdate %] @@ -139,7 +139,7 @@
place holdPlace Hold diff --git a/Open-ILS/web/templates/default/opac/parts/searchbar.tt2 b/Open-ILS/web/templates/default/opac/parts/searchbar.tt2 index 0a469ebfbc..5f3ad5d0d6 100644 --- a/Open-ILS/web/templates/default/opac/parts/searchbar.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/searchbar.tt2 @@ -1,11 +1,11 @@ [% PROCESS "default/opac/parts/org_selector.tt2" %] diff --git a/Open-ILS/web/templates/default/opac/parts/topnav.tt2 b/Open-ILS/web/templates/default/opac/parts/topnav.tt2 index 0da00a4769..2db125438d 100644 --- a/Open-ILS/web/templates/default/opac/parts/topnav.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/topnav.tt2 @@ -1,14 +1,14 @@ -[% USE money = format('$%.2f'); %] +[%- USE money = format('$%.2f'); + ctx.opac_root = '/eg/opac' -%]