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="[% interface %]/[% theme %]/en/css/datatables.css" />
5 <script type="text/javascript" src="[% interface %]/[% theme %]/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
6 [% INCLUDE 'datatables-strings.inc' %]
7 <script type="text/javascript" src="[% interface %]/[% theme %]/en/js/datatables.js"></script>
8 <script type="text/javascript">
9 $(document).ready(function() {
10 $("#catst").dataTable($.extend(true, {}, dataTablesDefaults, {
12 "aaSorting": [[ 2, "asc" ]],
14 { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }
20 <style type="text/css">
21 #custom-doc { width:29em;*width:28.3em;min-width:377px; margin:auto; text-align:left; }
24 <body id="pat_update-child" class="pat">
26 <div id="custom-doc" class="yui-t7">
30 <script type="text/javascript">
31 function confirm_updatechild() {
32 var is_confirmed = window.confirm('Are you sure you want to update this child to an Adult category? This cannot be undone.');
35 window.location='/cgi-bin/koha/members/update-child.pl?op=update&borrowernumber=[% borrowernumber %]&catcode=[% catcode %]&catcode_multi=[% CATCODE_MULTI %]';
39 confirm_updatechild([% borrowernumber %]);
44 <script type="text/javascript">
45 self.opener.location.href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]';
54 <h3> Choose Adult category </h3>
58 <form method="post" action="update-child.pl">
69 [% FOREACH CAT_LOO IN CAT_LOOP %]
72 <input type="radio" id="catcode[% CAT_LOO.catcode %]" name="catcode" value="[% CAT_LOO.catcode %]" /></td>
73 <td>[% CAT_LOO.catcode %]</td>
74 <td><label for="catcode[% CAT_LOO.catcode %]"><strong>[% CAT_LOO.catdesc %]</strong></label></td>
79 <input type="hidden" name="op" value="update" />
80 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
81 <input type="hidden" name="catcode" value="[% catcode %]" />
82 <input type="hidden" name="cattype" value="[% cattype %]" />
83 <input type="hidden" name="catcode_multi" value="[% CATCODE_MULTI %]" />
84 <fieldset class="action"><input class="submit" type="submit" value="Submit" /> <a href="#" class="cancel close">Cancel</a></fieldset>
95 [% INCLUDE 'popup-bottom.inc' %]