kpac : hrefs for back/top links in category page
authorBill Erickson <berick@esilibrary.com>
Wed, 6 Jun 2012 17:55:21 +0000 (13:55 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 30 Jul 2012 19:05:05 +0000 (15:05 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/kpac/category.tt2

index 6ff11a1..948baa7 100644 (file)
 <div class="sub_navigation1">
     <table cellpadding="0" cellspacing="0" border="0" width="100%">
         <tr>
-            <td><a href="javascript:;"><img src="[% ctx.media_prefix %]/images/kpac/go_back_btn.png" /></a></td>
+            <td><a href="[% mkurl(ctx.home_page, {}, ['trail']) %]">
+                <img src="[% ctx.media_prefix %]/images/kpac/go_back_btn.png" /></a></td>
             <td width="100%" class="nav_mid_bg"></td>
-            <td class="to_top_btn"><a href="javascript:;"><img src="[% ctx.media_prefix %]/images/kpac/to_top_btn.png" /></a></td>
+            <td class="to_top_btn"><a href="[% mkurl(ctx.unparsed_uri) %]">
+                <img src="[% ctx.media_prefix %]/images/kpac/to_top_btn.png" /></a></td>
         </tr>
     </table>
 </div>