memberentryC.tmpl:add test to modify link name
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / authorities / detail.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 Koha -- Authority details
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!-- TMPL_INCLUDE NAME="menu-authorities.inc" -->
7
8 <h1 class="authority">Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
9
10 <div id="authorities_detail_actions">
11   <ul>
12     <li><a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">Edit</a></li>
13
14 <!-- TMPL_UNLESS name="count" -->
15     <li><a href="javascript:confirm_deletion()">Delete</a></li>
16 <!-- /TMPL_UNLESS -->
17
18     <li><a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR NAME="authid" -->')" class="button authority">Print</a></li>
19
20     <li><a href="../search.marc/search.pl?type=intranet&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=" class="button authority"><!-- TMPL_VAR name="count" --> biblios</li>
21   </ul>
22 </div>
23
24 <div id="authorities_detail_details">
25 <!-- TMPL_LOOP NAME="0XX" -->
26   <table>
27     <tr>
28       <th colspan="2"><!-- TMPL_VAR NAME="tag" --></th>
29     </tr>
30   <!-- TMPL_LOOP NAME="subfield" -->
31     <tr>
32       <td><!-- TMPL_VAR NAME="marc_subfield" --> <!-- TMPL_VAR NAME="marc_lib" --></td>
33       <td><!-- TMPL_VAR NAME="marc_value" --></td>
34     </tr>
35   <!-- /TMPL_LOOP --> <!-- subfield -->
36   </table>
37 <!-- /TMPL_LOOP --> <!-- tag -->
38 </div>
39         
40 <script language="JavaScript" type="text/javascript">
41
42 function confirm_deletion() {
43         var is_confirmed = confirm('Are you sure you want to delete this authority?');
44         if (is_confirmed) {
45                 window.location="authorities-home.pl?op=delete&amp;authid=<!-- TMPL_VAR NAME="authid" -->";
46         }
47 }
48 function Dopop(link) {
49         newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
50 }
51 </script>
52
53 <!-- TMPL_INCLUDE name="intranet-bottom.inc" -->