[Koha-patches] [PATCH 67/92] Markup cleanup on subscription catalog search form and results page

Henri-Damien LAURENT henridamien.laurent at biblibre.com
Tue Dec 22 01:21:00 CET 2009


From: Owen Leonard <oleonard at myacpl.org>

---
 .../prog/en/modules/serials/result.tmpl            |   20 ++++++++------------
 .../modules/serials/subscription-bib-search.tmpl   |   19 +++++++++++--------
 2 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tmpl
index af12ff2..b1559a0 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tmpl
@@ -1,5 +1,5 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha &rsaquo; Search Results</title>
+<title>Koha &rsaquo; Serials &rsaquo; Search Results</title>
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 <script type="text/javascript" language="javascript">
 //<![CDATA[
@@ -21,23 +21,19 @@ function GetIt(bibno,title)
    <div id="bd">
 	
 
-<h1>Search results from <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></h1>
 <!-- TMPL_IF NAME="total"-->
+<h1>Search results from <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></h1>
 <table>
     <tr>
        <th>Title</th>
        <th>Author</th>
-       <th>publisher</th>
+       <th>Publisher</th>
        <th>Publication year</th>
+	   <th>&nbsp;</th>
     </tr>
     <!-- TMPL_LOOP NAME="resultsloop" -->
         <tr>
-            <td>
-                <a href="#" onclick="GetIt('<!-- TMPL_VAR NAME="biblionumber" -->','<!-- TMPL_VAR escape="URL" NAME="title" -->');" title="Get this one !">
-                    <!-- TMPL_VAR NAME="title" escape="html" -->
-                </a>
-                <br />
-                <small><!-- TMPL_VAR ESCAPE="HTML" NAME="subtitle" --></small>
+            <td><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR ESCAPE="HTML" NAME="subtitle" -->
             </td>
             <td>
                 <!-- TMPL_VAR ESCAPE="HTML" NAME="author" -->
@@ -48,6 +44,7 @@ function GetIt(bibno,title)
             <td>
                 <!-- TMPL_VAR ESCAPE="HTML" NAME="publicationyear" -->
             </td>
+			<td><a href="#" onclick="GetIt('<!-- TMPL_VAR NAME="biblionumber" -->','<!-- TMPL_VAR escape="URL" NAME="title" -->');" title="Choose this record">Choose</a></td>
         </tr>
     <!-- /TMPL_LOOP -->
     </table>
@@ -60,9 +57,8 @@ function GetIt(bibno,title)
 <!-- TMPL_IF NAME="displaynext" -->
 <a href="/cgi-bin/koha/serials/subscription-bib-search.pl?op=do_search&amp;type=intranet&amp;startfrom=<!-- TMPL_VAR ESCAPE="URL" NAME="startfromnext" -->&amp;q=<!-- TMPL_VAR ESCAPE="URL" NAME="query" -->">&gt;&gt;</a>
 <!-- /TMPL_IF -->
-<br/>
-<a href="subscription-bib-search.pl">Search for another Biblio</a>
-<a class="button" href="#" onclick="window.close()">  Close</a>
+<p><a href="subscription-bib-search.pl">Search for another record</a></p>
+<fieldset class="action"><a class="button close" href="#">Close</a></fieldset>
 </div>
 
 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tmpl
index ed16b01..d010cd5 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tmpl
@@ -1,5 +1,5 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha &rsaquo; Serials</title>
+<title>Koha &rsaquo; Serials &rsaquo; Catalog search</title>
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 </head>
 <body>
@@ -15,12 +15,14 @@
 <form name="f" action="/cgi-bin/koha/serials/subscription-bib-search.pl" method="get">
     <input type="hidden" name="op" value="do_search" />
     <input type="hidden" name="type" value="intranet" />
-    <label for="q">Keyword</label>
-    <input type="text" id="q"  name="q" />
+	<fieldset class="rows">
+	<ol>
+    <li><label for="q">Keyword: </label>
+    <input type="text" id="q"  name="q" /></li>
     
     <!-- ITEMTYPE LIMITS -->
-        <p>Limit type to: 
-        <select name="itemtypelimit">
+        <li><label for="itemtypelimit">Limit type to: </label>
+        <select name="itemtypelimit" id="itemtypelimit">
 	    <option value="">All</option>
         <!--TMPL_LOOP Name="itemtypeloop"-->
             <option value="<!--TMPL_VAR Name="code" -->">
@@ -28,10 +30,11 @@
             </option>
         <!--/TMPL_LOOP-->
         </select>
-        </p>
+        </li>
     <!-- /ITEMTYPE LIMITS -->
-
-    <input type="submit" value="Search" />
+	</ol>
+</fieldset>
+<fieldset class="action"><input type="submit" value="Search" /></fieldset>
 
 
 </form>
-- 
1.6.3.3




More information about the Koha-patches mailing list