[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-authoritie... [rel_2_2]

Joshua Ferraro jmf at kados.org
Mon Mar 6 20:44:37 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Joshua Ferraro <kados at savannah.gnu.org>	06/03/06 19:44:37

Modified files:
	koha-tmpl/opac-tmpl/npl/en: opac-authorities-home.tmpl 
	                            opac-authoritiessearchresultlist.tmpl 

Log message:
	add support for authorities in OPAC

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/opac-tmpl/npl/en/opac-authorities-home.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.1&tr2=1.1.2.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiessearchresultlist.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.1&tr2=1.1.2.2&r1=text&r2=text

Patches:
Index: koha/koha-tmpl/opac-tmpl/npl/en/opac-authorities-home.tmpl
diff -u koha/koha-tmpl/opac-tmpl/npl/en/opac-authorities-home.tmpl:1.1.2.1 koha/koha-tmpl/opac-tmpl/npl/en/opac-authorities-home.tmpl:1.1.2.2
--- koha/koha-tmpl/opac-tmpl/npl/en/opac-authorities-home.tmpl:1.1.2.1	Sat Mar  4 03:19:25 2006
+++ koha/koha-tmpl/opac-tmpl/npl/en/opac-authorities-home.tmpl	Mon Mar  6 19:44:37 2006
@@ -48,21 +48,6 @@
 		</p>
 	</div>
 </form>
-<div class="details">
-<h2>Add authority</h2>
-<form name="f2" method="post" action="authorities.pl">
-	<p><label for="authtypecode">Authority type</label>
-	<select name="authtypecode" id="authtypecode">
-		<!-- TMPL_LOOP name="authtypesloop" -->
-			<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->>
-				<!-- TMPL_VAR name="authtypetext" -->
-			</option>
-		<!-- /TMPL_LOOP -->
-	</select>
-	<input type="submit" value="Add" class="submit">
-	</p>
-</form>
-</div>
 
 </div>
 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
Index: koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiessearchresultlist.tmpl
diff -u koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiessearchresultlist.tmpl:1.1.2.1 koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiessearchresultlist.tmpl:1.1.2.2
--- koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiessearchresultlist.tmpl:1.1.2.1	Sat Mar  4 03:19:25 2006
+++ koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiessearchresultlist.tmpl	Mon Mar  6 19:44:37 2006
@@ -33,29 +33,30 @@
 <div class="searchresults">
 		<table>
 			<tr>
-				<th>Summary</th>
 				<!-- TMPL_UNLESS name="isEDITORS" -->
-					<th>Used in</th>
+					<th width="10%"># of Bib Records</th>
 				<!-- /TMPL_UNLESS -->
-				<th>View</th>
-				<th>Delete</th>
+				<th width="70%">Authorized Headings</th>
+				<th width="10%">Type of Heading</th>
+				<th width="10%">Full Authorized Heading</th>				
 			</tr>
 			<!-- TMPL_LOOP NAME="result" -->
 				<tr>
-					<td><!-- TMPL_VAR NAME="summary" --></td>
+
 					<!-- TMPL_UNLESS name="isEDITORS" -->
 						<td>
-							<a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding="><!-- TMPL_VAR NAME="used" --> biblio(s)</a>
+							<!-- <a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding="><!-- TMPL_VAR NAME="used" --></a> --> <!-- TMPL_VAR NAME="used" -->
 						</td>
 					<!-- /TMPL_UNLESS -->
-					<td>
-						<a href="opac-authoritiesdetail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">View Authority Record: <!-- TMPL_VAR NAME="authid" --></a>
-					</td>
+					<td><!-- TMPL_VAR NAME="summary" --></td>
+
 						<td>
-							<!-- TMPL_UNLESS name="used" -->
-							<a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="authid" -->)">Delete</a>
-							<!-- /TMPL_UNLESS -->
+					<!-- TMPL_VAR NAME="authtype" -->
 						</td>
+						<td>
+						                                                <a href="opac-authoritiesdetail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">View Full Heading</a>             
+												                                        </td>
+
 				</tr>
 			<!-- /TMPL_LOOP -->
 		</table>





More information about the Koha-cvs mailing list