1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Choose Adult category</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5 <script type="text/javascript">
6 $(document).ready(function() {
7 $.tablesorter.defaults.widgets = ['zebra'];
8 $("#catst").tablesorter({
10 headers: { 0: { sorter: false }}
14 <style type="text/css">
15 #custom-doc { width:29em;*width:28.3em;min-width:377px; margin:auto; text-align:left; }
20 <div id="custom-doc" class="yui-t7">
24 <script language="javascript" type="text/javascript">
25 function confirm_updatechild() {
26 var is_confirmed = window.confirm('Are you sure you want to update this child to an Adult category? This cannot be undone.');
29 window.location='/cgi-bin/koha/members/update-child.pl?op=update&borrowernumber=[% borrowernumber %]&catcode=[% catcode %]&catcode_multi=[% CATCODE_MULTI %]';
33 confirm_updatechild([% borrowernumber %]);
38 <script language="javascript" type="text/javascript">
39 self.opener.location.href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]';
48 <h3> Choose Adult category </h3>
52 <form method="post" action="update-child.pl">
63 [% FOREACH CAT_LOO IN CAT_LOOP %]
66 <input type="radio" id="catcode[% CAT_LOO.catcode %]" name="catcode" value="[% CAT_LOO.catcode %]" /></td>
67 <td>[% CAT_LOO.catcode %]</td>
68 <td><label for="catcode[% CAT_LOO.catcode %]"><strong>[% CAT_LOO.catdesc %]</strong></label></td>
73 <input type="hidden" name="op" value="update" />
74 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
75 <input type="hidden" name="catcode" value="[% catcode %]" />
76 <input type="hidden" name="cattype" value="[% cattype %]" />
77 <input type="hidden" name="catcode_multi" value="[% CATCODE_MULTI %]" />
78 <fieldset class="action"><input class="submit" type="submit" value="Submit" /> <a href="#" class="cancel close">Cancel</a></fieldset>
89 [% INCLUDE 'popup-bottom.inc' %]