Lines 268-276
Link Here
|
268 |
[% END %] |
268 |
[% END %] |
269 |
<form method="post" id="picture-upload" style="display:none;" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data"> |
269 |
<form method="post" id="picture-upload" style="display:none;" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data"> |
270 |
[% IF ( patron.image ) %] |
270 |
[% IF ( patron.image ) %] |
271 |
<div class="hint">To update the image for [% patron.title | html %] [% patron.surname | html %], select a new image file and click 'Upload.' <br />Click the 'Delete' button to remove the current image.</div> |
271 |
<div class="hint">To update the image for [% patron.title %] [% patron.firstname | html %] [% patron.surname | html %], select a new image file and click 'Upload.' <br />Click the 'Delete' button to remove the current image.</div> |
272 |
[% ELSE %] |
272 |
[% ELSE %] |
273 |
<div class="hint">[% patron.title %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title %] [% patron.surname | html %], enter the name of an image file to upload.</div> |
273 |
<div class="hint">[% patron.title %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title %] [% patron.firstname | html %] [% patron.surname | html %], enter the name of an image file to upload.</div> |
274 |
[% END %] |
274 |
[% END %] |
275 |
<p>Only PNG, GIF, JPEG, XPM formats are supported.</p> |
275 |
<p>Only PNG, GIF, JPEG, XPM formats are supported.</p> |
276 |
<label for="uploadfile">Select the file to upload: </label> |
276 |
<label for="uploadfile">Select the file to upload: </label> |
Lines 883-889
Link Here
|
883 |
"bPaginate": false |
883 |
"bPaginate": false |
884 |
})); |
884 |
})); |
885 |
[% IF ( patron.image ) %] |
885 |
[% IF ( patron.image ) %] |
886 |
$('#delpicture').click(function(){ |
886 |
$("body").on("click", "#delpicture", function(){ |
887 |
return confirm(_("Are you sure you want to delete this patron image? This cannot be undone.")); |
887 |
return confirm(_("Are you sure you want to delete this patron image? This cannot be undone.")); |
888 |
}); |
888 |
}); |
889 |
$('#manage-patron-image').find("input[value*=Upload]").click(function(){ |
889 |
$('#manage-patron-image').find("input[value*=Upload]").click(function(){ |
890 |
- |
|
|