[Koha-patches] [PATCH] Some minor markup corrections to opac authorities pages. Some fixes to address Bug 2620.

Owen Leonard oleonard at myacpl.org
Tue Oct 7 20:51:07 CEST 2008


---
 .../prog/en/modules/opac-authoritiesdetail.tmpl    |   18 ++++++++----------
 .../modules/opac-authoritiessearchresultlist.tmpl  |   16 +++++++---------
 2 files changed, 15 insertions(+), 19 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tmpl
index fcbbea6..2c04327 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tmpl
@@ -27,13 +27,13 @@ function showChildren(mynumber) {
 <!--/TMPL_IF-->
 </head>
 <body>
-<!-- TMPL_INCLUDE name="masthead.inc" -->
 
 <div id="doc3" class="yui-t1">
    <div id="bd">
+<!-- TMPL_INCLUDE name="masthead.inc" -->
 	<div id="yui-main">
 	<div class="yui-b"><div class="yui-g">
-
+<div class="container">
 
 <!-- TMPL_IF Name="displayhierarchy"-->
 
@@ -60,12 +60,10 @@ function showChildren(mynumber) {
 <!--/TMPL_LOOP-->
 </div>
 <!-- /TMPL_IF -->
-<div class="tabbed">
-	<h1>Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
-	<a href="opac-search.pl?type=opac&amp;q=<!-- TMPL_VAR NAME="authid" -->&amp;idx=an"><!-- TMPL_VAR name="count" --> biblios</a>
-</div>
-<table border="0"><!-- TMPL_LOOP name="0XX" -->
-        <tr noborder ><td colspan="3" class="marctag"><b><!-- TMPL_VAR name="tag" --></b></td></tr>
+<h1>Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
+	<p>Used in <a href="opac-search.pl?type=opac&amp;q=<!-- TMPL_VAR NAME="authid" -->&amp;idx=an"><!-- TMPL_VAR name="count" --> records</a></p>
+<table><!-- TMPL_LOOP name="0XX" -->
+        <tr><td colspan="3" class="marctag"><b><!-- TMPL_VAR name="tag" --></b></td></tr>
         <!-- TMPL_LOOP name="subfield" -->
                 <tr><td class="marcsubfieldletter" ><!-- TMPL_VAR name="marc_subfield" --></td>
                     <td class="marcsubfieldname" ><!-- TMPL_VAR name="marc_lib" --></td>
@@ -79,11 +77,11 @@ function showChildren(mynumber) {
 </div>
 </div>
 </div>
+<!-- TMPL_IF NAME="OpacNav" -->
 <div class="yui-b">
 <div class="container">
 <!--TMPL_INCLUDE NAME="navigation.inc" -->
-<!-- TMPL_INCLUDE name="usermenu.inc" -->
-</div>
 </div>
+</div><!-- /TMPL_IF -->
 </div>
 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
\ No newline at end of file
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tmpl
index 9b8f877..457ae65 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tmpl
@@ -29,9 +29,9 @@
 		</div>
 		<div id="results">
 			<!-- TMPL_IF name="total" -->
-			&nbsp;<b>Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></b><br><br>
+			<b>Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></b>
 			<!-- TMPL_ELSE -->
-			&nbsp;No results found.<br>
+			No results found.
 			<!-- /TMPL_IF -->
 		</div>
 
@@ -39,12 +39,12 @@
 <div class="searchresults">
 		<table>
 			<tr>
-				<th width="70%">Authorized Headings</th>
-				<th width="10%">Type of Heading</th>
+				<th>Authorized Headings</th>
+				<th>Type of Heading</th>
 				<!-- TMPL_UNLESS name="isEDITORS" -->
-					<th width="10%">Biblio records</th>
+					<th>Biblio records</th>
 				<!-- /TMPL_UNLESS -->
-				<th width="10%">Full Heading</th>				
+				<th>Full Heading</th>				
 			</tr>
 			<!-- TMPL_LOOP NAME="result" -->
 				<tr>
@@ -55,7 +55,7 @@
 						</td>
 					<!-- TMPL_UNLESS name="isEDITORS" -->
 						<td>
-							 <a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;op=do_search&amp;q=an=<!--TMPL_VAR Name="authid" -->" class="button authority"><!-- TMPL_VAR NAME="used" --> biblios</a>
+							 <a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;op=do_search&amp;q=an=<!--TMPL_VAR Name="authid" -->"><!-- TMPL_VAR NAME="used" --> biblios</a>
 						</td>
 					<!-- /TMPL_UNLESS -->
 						<td>
@@ -66,7 +66,6 @@
 		</table>
 	</div>
 	<div id="resultnumber">
-		<p>
 			<!-- TMPL_IF name="displayprev" -->
 				<a href="opac-authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=opac&amp;op=do_search&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&amp;orderby=<!-- TMPL_VAR name="orderby" -->">&lt;&lt;</a>
 			<!-- /TMPL_IF -->
@@ -78,7 +77,6 @@
 			<!-- TMPL_IF name="displaynext" -->
 				<a href="opac-authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=opac&amp;op=do_search&amp;authtypecode=<!-- TMPL_VAR name="authtypecode" -->&amp;orderby=<!-- TMPL_VAR name="orderby" -->">&gt;&gt;</a>
 				<!-- /TMPL_IF -->
-		</p>
 	</div>	
 			<!-- /TMPL_IF -->
 </div>
-- 
1.5.5.GIT




More information about the Koha-patches mailing list