1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Choose Adult category</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <style type="text/css">
5 #custom-doc { width:29em;*width:28.3em;min-width:377px; margin:auto; text-align:left; }
10 <div id="custom-doc" class="yui-t7">
13 <!--TMPL_IF NAME="CONFIRM" -->
14 <script language="javascript" type="text/javascript">
15 function confirm_updatechild() {
16 var is_confirmed = window.confirm('Are you sure you want to update this child to an Adult category? This cannot be undone.');
19 window.location='/cgi-bin/koha/members/update-child.pl?op=update&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&catcode=<!-- TMPL_VAR NAME="catcode" -->&catcode_multi=<!-- TMPL_VAR NAME="CATCODE_MULTI" -->';
23 confirm_updatechild(<!-- TMPL_VAR NAME="borrowernumber" -->);
27 <!--TMPL_IF NAME="SUCCESS" -->
28 <script language="javascript" type="text/javascript">
29 self.opener.location.href='/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->';
36 <!--TMPL_IF NAME="MULTI" -->
38 <h3> Choose Adult category </h3>
40 <!--TMPL_IF NAME="CAT_LOOP" -->
42 <form method="post" action="update-child.pl">
50 <!-- TMPL_LOOP NAME="CAT_LOOP" -->
53 <input type="radio" id="catcode<!-- TMPL_VAR NAME="catcode" -->" name="catcode" value="<!-- TMPL_VAR NAME="catcode" -->" />
54 <td><!-- TMPL_VAR NAME="catcode" --></td>
55 <td><label for="catcode<!-- TMPL_VAR NAME="catcode" -->"><strong><!-- TMPL_VAR NAME="catdesc" --></strong></label></td>
59 <input type="hidden" name="op" value="update" />
60 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
61 <input type="hidden" name="catcode" value="<!-- TMPL_VAR NAME="catcode" -->" />
62 <input type="hidden" name="cattype" value="<!-- TMPL_VAR NAME="cattype" -->" />
63 <input type="hidden" name="catcode_multi" value="<!-- TMPL_VAR NAME="CATCODE_MULTI" -->" />
64 <fieldset class="action"><input class="submit" type="submit" value="Submit" /> <a href="#" class="cancel close">Cancel</a></fieldset>
75 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->