Bug 9850: Offline Circ Help Files for 3.12
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / result.tt
index 2f46119..11ecd18 100644 (file)
@@ -1,13 +1,11 @@
 [% INCLUDE 'doc-head-open.inc' %]
-<title>Koha &rsaquo; Serials &rsaquo; Search Results</title>
+<title>Koha &rsaquo; Serials &rsaquo; Search results</title>
 [% INCLUDE 'doc-head-close.inc' %]
-<script type="text/javascript" language="javascript">
+<script type="text/javascript">
 //<![CDATA[
 function GetIt(bibno,title)
 {
-    title = title.replace(/\?/,"\?");
-    title = title.replace(/"/,"\"");
-    title = title.replace(/'/,"\'");
+    title = title.parents('tr').find('.title').text();
     opener.document.f.biblionumber.value = bibno;
     opener.document.f.title.value = title;
     window.close();
@@ -15,7 +13,7 @@ function GetIt(bibno,title)
 //]]>
 </script>
 </head>
-<body>
+<body id="ser_result" class="ser">
 
 <div id="doc" class="yui-t7">
    <div id="bd">
@@ -29,11 +27,12 @@ function GetIt(bibno,title)
        <th>Author</th>
        <th>Publisher</th>
        <th>Publication year</th>
+       <th>ISSN</th>
           <th>&nbsp;</th>
     </tr>
     [% FOREACH resultsloo IN resultsloop %]
         <tr>
-            <td>[% resultsloo.title |html %] [% resultsloo.subtitle |html %]
+            <td class="title">[% resultsloo.title |html %] [% resultsloo.subtitle |html %]
             </td>
             <td>
                 [% resultsloo.author |html %]
@@ -44,7 +43,11 @@ function GetIt(bibno,title)
             <td>
                 [% resultsloo.publicationyear |html %]
             </td>
-                       <td><a href="#" onclick="GetIt('[% resultsloo.biblionumber %]','[% resultsloo.title |url %]');" title="Choose this record">Choose</a></td>
+            <td>
+                [% resultsloo.issn |html %]
+            </td>
+
+                       <td><a href="#" onclick="GetIt('[% resultsloo.biblionumber %]',$(this));" title="Choose this record">Choose</a></td>
         </tr>
     [% END %]
     </table>