Owen Leonard
bfe6dc88d2
Many templates have instances where the path to the prog template is hard-coded. Now that interface and theme template variables are available everywhere these paths should be corrected to use them. Image paths corrected: - 'Patron image missing' image on circulation pages - 'Locked' icon on fund planning page - Tag and subfield edit icons on the authority, biblio editor, and batch item modification pages (Clone tag, delete tag, clone subfield, delete subfield, move subfield) - 'Loading' icon when importing frameworks Audio file paths corrected: - Sounds for circulation.pl and returns.pl Paths to DataTables assets corrected on: - Transfers to receive report - Holds queue report - Holds awaiting pickup report - Patron detail page (moremember.pl) - Patron circulation history - Update child to adult patron page - Process offline circulations - Catalog by item type report - Serials statistics wizard - Serial claims page - Koha news - Notices - Batch patron modifications Path to progress bar assets corrected on: - Process offline circulations page - Progressbar include file - Stage MARC imports - Manage MARC imports - Local cover image upload Other image paths: - "Approved" checkmark image on tags review page - Table sort icons on lists page - Feed icon on OPAC search result page - "Loading" image for OPAC plain MARC view Path to ratings JavaScript on OPAC detail and results pages Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Checked all the pages modified by this patch, no problems noted Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
95 lines
2.8 KiB
Text
95 lines
2.8 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Choose Adult category</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/en/css/datatables.css" />
|
|
<script type="text/javascript" src="[% interface %]/[% theme %]/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
|
|
[% INCLUDE 'datatables-strings.inc' %]
|
|
<script type="text/javascript" src="[% interface %]/[% theme %]/en/js/datatables.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
$("#catst").dataTable($.extend(true, {}, dataTablesDefaults, {
|
|
"sDom": 't',
|
|
"aaSorting": [[ 2, "asc" ]],
|
|
"aoColumnDefs": [
|
|
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }
|
|
],
|
|
"bPaginate": false
|
|
}));
|
|
});
|
|
</script>
|
|
<style type="text/css">
|
|
#custom-doc { width:29em;*width:28.3em;min-width:377px; margin:auto; text-align:left; }
|
|
</style>
|
|
</head>
|
|
<body id="pat_update-child" class="pat">
|
|
|
|
<div id="custom-doc" class="yui-t7">
|
|
<div id="bd">
|
|
|
|
[% IF ( CONFIRM ) %]
|
|
<script type="text/javascript">
|
|
function confirm_updatechild() {
|
|
var is_confirmed = window.confirm('Are you sure you want to update this child to an Adult category? This cannot be undone.');
|
|
|
|
if (is_confirmed) {
|
|
window.location='/cgi-bin/koha/members/update-child.pl?op=update&borrowernumber=[% borrowernumber %]&catcode=[% catcode %]&catcode_multi=[% CATCODE_MULTI %]';
|
|
}
|
|
}
|
|
|
|
confirm_updatechild([% borrowernumber %]);
|
|
</script>
|
|
[% END %]
|
|
|
|
[% IF ( SUCCESS ) %]
|
|
<script type="text/javascript">
|
|
self.opener.location.href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]';
|
|
window.close();
|
|
</script>
|
|
[% END %]
|
|
|
|
|
|
|
|
[% IF ( MULTI ) %]
|
|
|
|
<h3> Choose Adult category </h3>
|
|
|
|
[% IF ( CAT_LOOP ) %]
|
|
|
|
<form method="post" action="update-child.pl">
|
|
<fieldset>
|
|
<table id="catst">
|
|
<thead>
|
|
<tr>
|
|
<th> </th>
|
|
<th>Code</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
[% FOREACH CAT_LOO IN CAT_LOOP %]
|
|
<tr>
|
|
<td>
|
|
<input type="radio" id="catcode[% CAT_LOO.catcode %]" name="catcode" value="[% CAT_LOO.catcode %]" /></td>
|
|
<td>[% CAT_LOO.catcode %]</td>
|
|
<td><label for="catcode[% CAT_LOO.catcode %]"><strong>[% CAT_LOO.catdesc %]</strong></label></td>
|
|
</tr>
|
|
[% END %]
|
|
</tbody>
|
|
</table>
|
|
<input type="hidden" name="op" value="update" />
|
|
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
|
|
<input type="hidden" name="catcode" value="[% catcode %]" />
|
|
<input type="hidden" name="cattype" value="[% cattype %]" />
|
|
<input type="hidden" name="catcode_multi" value="[% CATCODE_MULTI %]" />
|
|
<fieldset class="action"><input class="submit" type="submit" value="Submit" /> <a href="#" class="cancel close">Cancel</a></fieldset>
|
|
[% END %]
|
|
</fieldset>
|
|
</form>
|
|
[% END %]
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
[% INCLUDE 'popup-bottom.inc' %]
|