bugfix (security flaw) : the additem template was open AFTER doing actions
[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 &rsaquo; ISBD Details for <!-- TMPL_VAR NAME="title" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!-- TMPL_INCLUDE NAME="yui-toolbars.inc" -->
5 <script language="javascript" type="text/javascript">
6 function Dopop(link) {
7     newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
8 }
9
10 function confirm_deletion(count) {
11         var is_confirmed;
12         if (count>0){
13                     is_confirmed= alert('you have [ '+ count +' ] item(s) linked \n you must delete all items before delete this biblio');
14                     }
15         else{
16                     is_confirmed= confirm('Are you sure you want to delete this biblio? ');
17         }
18
19     
20      if (is_confirmed) {
21         if (count>0){
22 //      window.location="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->";
23         }
24         else{
25         window.location="/cgi-bin/koha/cataloguing/addbiblio.pl?op=delete&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->";
26         }
27     }
28 }
29
30 </script>
31 </head>
32 <body class="yui-skin-sam">
33
34 <!-- TMPL_INCLUDE NAME="header.inc" -->
35 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
36
37 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalogue</a>  &rsaquo; ISBD Details for <i><!-- TMPL_VAR NAME="title" --></i></div>
38
39 <div id="doc3" class="yui-t2">
40    
41    <div id="bd">
42         <div id="yui-main">
43         <div class="yui-b">
44 <!-- TMPL_INCLUDE NAME="cat-toolbar.inc" -->
45
46 <h1>MARC biblio : <!-- TMPL_VAR NAME="biblionumber" --></h1>
47
48 <!-- TMPL_INCLUDE NAME="action-catalogue.inc" -->
49
50         <div id="catalogue_ISBDdetail">
51                 <!-- TMPL_VAR NAME="ISBD" -->
52         </div>
53
54
55 </div>
56 </div>
57 <div class="yui-b">
58 <!-- TMPL_INCLUDE NAME="biblio-view-menu.inc" -->
59 <!-- TMPL_INCLUDE NAME="cat-menu.inc" -->
60 </div>
61 </div>
62 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->