Corrections for XHTML compliance, again.
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / catalogue / ISBDdetail.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Catalogue ISBD Detail</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
7
8
9 <h1>MARC biblio : <!-- TMPL_VAR NAME="biblionumber" --></h1>
10
11 <!-- TMPL_INCLUDE NAME="action-catalogue.inc" -->
12
13         <div id="catalogue_ISBDdetail">
14                 <!-- TMPL_VAR NAME="ISBD" -->
15         </div>
16 </div>
17
18 <script language="javascript" type="text/javascript">
19 function Dopop(link) {
20     newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
21 }
22
23 function confirm_deletion(count) {
24         var is_confirmed;
25         if (count>0){
26                     is_confirmed= alert('you have [ '+ count +' ] item(s) linked \n you must delete all items before delete this biblio');
27                     }
28         else{
29                     is_confirmed= confirm('Are you sure you want to delete this biblio? ');
30         }
31
32     
33      if (is_confirmed) {
34         if (count>0){
35 //      window.location="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->";
36         }
37         else{
38         window.location="/cgi-bin/koha/cataloguing/addbiblio.pl?op=delete&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->";
39         }
40                 
41     }
42 }
43
44 </script>
45
46 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->