Use relative URLs for 'old catalogue' link.
authorRick Scott <rick@shadowspar.dyndns.org>
Wed, 6 Feb 2013 18:44:03 +0000 (13:44 -0500)
committerDan Scott <dscott@laurentian.ca>
Wed, 8 May 2013 15:25:36 +0000 (11:25 -0400)
Change the 'old catalogue' links to use relative instead of absolute URLs.
This way, clicking them on a test site (eg algoma-test.concat.ca) keeps you
on that site instead of sending you to prod.

Signed-off-by: Rick Scott <rick@shadowspar.dyndns.org>
Open-ILS/src/templates_algoma/opac/parts/footer.tt2
Open-ILS/src/templates_algoma/opac/parts/topnav_links.tt2

index 12865f9..a23bc0f 100644 (file)
@@ -4,7 +4,7 @@
     <a href="http://archives.algomau.ca">[% l('Archives') %]</a> &nbsp;|&nbsp;
     <a href="http://library.algomau.ca/main/?q=node/275">[% l('Contact Us') %]</a> &nbsp;|&nbsp;
     <a href="http://library.algomau.ca/main/?q=node/533">[% l('Hours') %]</a> &nbsp;|&nbsp;
-    <a href="http://algoma.concat.ca/opac/en-CA/skin/algoma/xml/index.xml?l=111">[% l('Old catalogue') %] </a> 
+    <a href="/opac/en-CA/skin/algoma/xml/index.xml?l=111">[% l('Old catalogue') %] </a> 
     [% IF ctx.timing %]
     <div id="timing">
         [% FOR event IN ctx.timing %]
index eadc267..9863a14 100644 (file)
@@ -5,7 +5,7 @@
             <a href="http://archives.algomau.ca">[% l('Archives') %]</a>
             <a href="http://library.algomau.ca/main/?q=node/275">[% l('Contact Us') %]</a>
             <a href="http://library.algomau.ca/main/?q=node/533">[% l('Hours') %]</a>
-            <a href="http://algoma.concat.ca/opac/en-CA/skin/algoma/xml/index.xml?l=111">[% l('Old catalogue') %]</a>
+            <a href="/opac/en-CA/skin/algoma/xml/index.xml?l=111">[% l('Old catalogue') %]</a>
         </div>
     </div>
 </div>