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

Joshua Ferraro jmf at kados.org
Mon Apr 10 22:22:22 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Joshua Ferraro <kados at savannah.gnu.org>	06/04/10 20:22:22

Modified files:
	koha-tmpl/opac-tmpl/npl/en: opac-authoritiesdetail.tmpl 

Log message:
	making marc display of authority record a bit nicer and removing the
	options to delete etc.

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

Patches:
Index: koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiesdetail.tmpl
diff -u koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiesdetail.tmpl:1.1.2.2 koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiesdetail.tmpl:1.1.2.3
--- koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiesdetail.tmpl:1.1.2.2	Mon Apr 10 18:17:28 2006
+++ koha/koha-tmpl/opac-tmpl/npl/en/opac-authoritiesdetail.tmpl	Mon Apr 10 20:22:22 2006
@@ -6,6 +6,21 @@
 <div id="main">
 <div class="tabbed">
 	<h1>Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
+<<<<<<< opac-authoritiesdetail.tmpl
+	<a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR NAME="authid" -->')">Print</a>
+	<a href="../search.marc/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="count" --> biblios</a>
+</div>
+<table><!-- TMPL_LOOP name="0XX" -->
+        <tr><td colspan="3" class="marctag"><!-- TMPL_VAR name="tag" --></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>
+                    <td class="subfieldvalue"><!-- TMPL_VAR name="marc_value" --></td>
+                </tr>
+            <!-- /TMPL_LOOP -->
+        <!-- /TMPL_LOOP -->
+</table>
+=======
 	</div>
 
 <div name="0XX" id="0XX" class="tab" style="visibility:visible">
@@ -23,18 +38,7 @@
 		<!-- /TMPL_LOOP -->
 	<!-- /TMPL_LOOP -->
 </div>
+>>>>>>> 1.1.2.2
 </div>	
-<script language="JavaScript" type="text/javascript">
-
-function confirm_deletion() {
-	var is_confirmed = confirm('Are you sure you want to delete this authority?');
-	if (is_confirmed) {
-		window.location="authorities-home.pl?op=delete&amp;authid=<!-- TMPL_VAR NAME="authid" -->";
-	}
-}
-function Dopop(link) {
-	newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
-}
-</script>
 </body>
 </html>





More information about the Koha-cvs mailing list