1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Choose Adult category</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
5 [% INCLUDE 'datatables.inc' %]
6 <script type="text/javascript">
7 $(document).ready(function() {
8 $("#catst").dataTable($.extend(true, {}, dataTablesDefaults, {
10 "aaSorting": [[ 2, "asc" ]],
12 { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }
18 <style type="text/css">
19 #custom-doc { width:29em;*width:28.3em;min-width:377px; margin:auto; text-align:left; }
22 <body id="pat_update-child" class="pat">
24 <div id="custom-doc" class="yui-t7">
28 <script type="text/javascript">
29 function confirm_updatechild() {
30 var is_confirmed = window.confirm('Are you sure you want to update this child to an Adult category? This cannot be undone.');
33 window.location='/cgi-bin/koha/members/update-child.pl?op=update&borrowernumber=[% borrowernumber %]&catcode=[% catcode %]&catcode_multi=[% CATCODE_MULTI %]';
37 confirm_updatechild([% borrowernumber %]);
42 <script type="text/javascript">
43 self.opener.location.href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]';
52 <h3> Choose Adult category </h3>
56 <form method="post" action="update-child.pl">
67 [% FOREACH CAT_LOO IN CAT_LOOP %]
70 <input type="radio" id="catcode[% CAT_LOO.catcode %]" name="catcode" value="[% CAT_LOO.catcode %]" /></td>
71 <td>[% CAT_LOO.catcode %]</td>
72 <td><label for="catcode[% CAT_LOO.catcode %]"><strong>[% CAT_LOO.catdesc %]</strong></label></td>
77 <input type="hidden" name="op" value="update" />
78 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
79 <input type="hidden" name="catcode" value="[% catcode %]" />
80 <input type="hidden" name="cattype" value="[% cattype %]" />
81 <input type="hidden" name="catcode_multi" value="[% CATCODE_MULTI %]" />
82 <fieldset class="action"><input class="submit" type="submit" value="Submit" /> <a href="#" class="cancel close">Cancel</a></fieldset>
93 [% INCLUDE 'popup-bottom.inc' %]