Apply the fixes required by craftsman for integrated Google Book Preview. Part of #50
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 8 Mar 2009 17:04:34 +0000 (17:04 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 8 Mar 2009 17:04:34 +0000 (17:04 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12468 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/craftsman/xml/page_rdetail.xml
Open-ILS/web/opac/skin/craftsman/xml/rdetail/rdetail_extras.xml
Open-ILS/web/opac/skin/craftsman/xml/result/result_table.xml

index f9731fb..b07c283 100644 (file)
@@ -6,6 +6,8 @@
        <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/holds.js'></script>
        <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/cn_browse.js'></script>
        <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/skin/default/js/container.js'></script>
+       <script src='http://www.google.com/jsapi' type='text/javascript' language='javascript'></script>
+       <script type='text/javascript' src='http://books.google.com/books/api.js?key=notsupplied&amp;v=0&amp;callback=google.loader.callbacks.books'></script>
 
        <script language='javascript' type='text/javascript'>
                config.ids.rdetail = {};
index 1cf8755..75b369a 100644 (file)
@@ -19,6 +19,9 @@
                                <td id='rdetail_excerpt_link' class='hide_me'>
                                        <a href='javascript:rdetailShowExtra("excerpt");' class='classic_link'>&rdetail.extras.excerpt;</a>
                                </td>
+                               <td id='rdetail_preview_link' class='hide_me'>
+                                       <a href='javascript:rdetailShowExtra("preview");' class='classic_link'>&rdetail.extras.preview;</a>
+                               </td>
                                <td id='rdetail_anotes_link' class='hide_me'>
                                        <a href='javascript:rdetailShowExtra("anotes");' class='classic_link'>&rdetail.extras.author.notes;</a>
                                </td>
@@ -51,6 +54,8 @@
 
                <div id='rdetail_excerpt_div' class='rdetail_extras_div hide_me'> </div>
 
+               <div id='rdetail_preview_div' class='rdetail_extras_div hide_me'> </div>
+
                <div id='rdetail_anotes_div' class='rdetail_extras_div hide_me'> </div>
 
                <div id='rdetail_marc_div' class='rdetail_extras_div hide_me'> 
index d7c2bf9..3a4dac2 100644 (file)
@@ -84,7 +84,7 @@
                                                                                </abbr>
 
                                                                            <!-- Empty span used for creating Google Book Search-->
-                                                                           <span name="googleBooks" class="hide_me">
+                                                                           <span name="googleBooksLink" class="hide_me">
                                                                                    <a style='padding-left: 8px;' class='classic_link' name="googleBooks-link">&result.googleBooks.browse;</a>
                                                                            </span>