Lines 269-277
Link Here
|
269 |
[% END %] |
269 |
[% END %] |
270 |
<form method="post" id="picture-upload" style="display:none;" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data"> |
270 |
<form method="post" id="picture-upload" style="display:none;" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data"> |
271 |
[% IF ( patron.image ) %] |
271 |
[% IF ( patron.image ) %] |
272 |
<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> |
272 |
<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> |
273 |
[% ELSE %] |
273 |
[% ELSE %] |
274 |
<div class="hint">[% patron.title | html %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title | html %] [% patron.surname | html %], enter the name of an image file to upload.</div> |
274 |
<div class="hint">[% patron.title | html %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title | html %] [% patron.firstname | html %] [% patron.surname | html %], enter the name of an image file to upload.</div> |
275 |
[% END %] |
275 |
[% END %] |
276 |
<p>Only PNG, GIF, JPEG, XPM formats are supported.</p> |
276 |
<p>Only PNG, GIF, JPEG, XPM formats are supported.</p> |
277 |
<label for="uploadfile">Select the file to upload: </label> |
277 |
<label for="uploadfile">Select the file to upload: </label> |
Lines 858-864
Link Here
|
858 |
"bPaginate": false |
858 |
"bPaginate": false |
859 |
})); |
859 |
})); |
860 |
[% IF ( patron.image ) %] |
860 |
[% IF ( patron.image ) %] |
861 |
$('#delpicture').click(function(){ |
861 |
$("body").on("click", "#delpicture", function(){ |
862 |
return confirm(_("Are you sure you want to delete this patron image? This cannot be undone.")); |
862 |
return confirm(_("Are you sure you want to delete this patron image? This cannot be undone.")); |
863 |
}); |
863 |
}); |
864 |
$('#manage-patron-image').find("input[value*=Upload]").click(function(){ |
864 |
$('#manage-patron-image').find("input[value*=Upload]").click(function(){ |
865 |
- |
|
|