Adding jquery as default js library and staff-global.js for global js functions....
[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 <script language="javascript" type="text/javascript">
5 function Dopop(link) {
6     newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
7 }
8
9 function confirm_deletion(count) {
10         var is_confirmed;
11         if (count>0){
12                     is_confirmed= alert('you have [ '+ count +' ] item(s) linked \n you must delete all items before delete this biblio');
13                     }
14         else{
15                     is_confirmed= confirm('Are you sure you want to delete this biblio? ');
16         }
17
18     
19      if (is_confirmed) {
20         if (count>0){
21 //      window.location="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->";
22         }
23         else{
24         window.location="/cgi-bin/koha/cataloguing/addbiblio.pl?op=delete&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->";
25         }
26                 
27     }
28 }
29
30 </script>
31 </head>
32 <body>
33
34 <!-- TMPL_INCLUDE NAME="header.inc" -->
35 <!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
36
37 <div id="doc3" class="yui-t2">
38    
39    <div id="bd">
40         <div id="yui-main">
41         <div class="yui-b"><div class="yui-g">
42
43 <h1>MARC biblio : <!-- TMPL_VAR NAME="biblionumber" --></h1>
44
45 <!-- TMPL_INCLUDE NAME="action-catalogue.inc" -->
46
47         <div id="catalogue_ISBDdetail">
48                 <!-- TMPL_VAR NAME="ISBD" -->
49         </div>
50 </div>
51
52
53
54 </div>
55 </div>
56 </div>
57
58 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
59 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->