T-PAC: Point the Basic Catalog link to the T-PAC
authorDan Scott <dan@coffeecode.net>
Thu, 18 Aug 2011 15:04:20 +0000 (11:04 -0400)
committerDan Scott <dan@coffeecode.net>
Thu, 18 Aug 2011 15:04:20 +0000 (11:04 -0400)
Now that the T-PAC provides the base functionality (and more!) required
by the HTML-only basic catalog, but in a more extensible / skinnable
fashion, replace the link from the JSPAC to the Basic Catalog with a
link to the T-PAC - and add a reciprocal link from the T-PAC back to the
JSPAC, in case anybody wants to go that route.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/default/opac/parts/footer.tt2
Open-ILS/web/opac/skin/default/xml/footer.xml

index eb6db18..0443b97 100644 (file)
@@ -1,5 +1,9 @@
+[%- 
+    USE CGI = CGI_utf8;
+    hostname = CGI.url({'-base' => 1});
+-%]
 <div id="footer">
-    <a href="http://example.com">[% l('Bottom Link 1') %]</a> &nbsp;|&nbsp;
+    <a href="[% hostname %]">[% l('Dynamic catalog') %]</a> &nbsp;|&nbsp;
     <a href="http://example.com">[% l('Bottom Link 2') %]</a> &nbsp;|&nbsp;
     <a href="http://example.com">[% l('Bottom Link 3') %]</a> &nbsp;|&nbsp;
     <a href="http://example.com">[% l('Bottom Link 4') %]</a> &nbsp;|&nbsp;
index ab53c9d..71d77c3 100644 (file)
@@ -1,8 +1,7 @@
 <div id='copyright_block'>
                <div id='footer_links'>
                                <span class='footer_link'>
-                                       <a class='classic_link'
-                                               href='/opac/<!--#echo var="locale"-->/extras/slimpac/start.html'>&opac.basic;</a>
+                                       <a class='classic_link' href='/eg/opac/home'>&opac.basic;</a>
                                </span> 
                                <span> | </span>
                                <span class='footer_link'>