2 [% USE AuthorisedValues %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Files for [% INCLUDE 'patron-title.inc' %]</title>
5 [% INCLUDE 'doc-head-close.inc' %]
7 <body id="pat_files" class="pat">
8 [% INCLUDE 'header.inc' %]
9 [% INCLUDE 'patron-search.inc' %]
11 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › Files for [% INCLUDE 'patron-title.inc' %]</div>
13 <div id="doc3" class="yui-t2">
17 [% INCLUDE 'members-toolbar.inc' %]
22 <div class="dialog alert">
23 [% IF errors.empty_upload %]The file you are attempting to upload has no contents.[% END %]
24 [% IF errors.no_file %]You did not select a file to upload.[% END %]
36 [% IF CAN_user_borrowers %]<th> </th>[% END %]
41 [% FOREACH f IN files %]
43 <td><a href="?borrowernumber=[% borrowernumber %]&op=download&file_id=[% f.file_id %]">[% f.file_name %]</a></td>
44 <td>[% f.file_type %]</td>
45 <td>[% f.file_description %]</td>
46 <td>[% f.date_uploaded | $KohaDates %]</td>
47 [% IF CAN_user_borrowers %]<td><a href="?borrowernumber=[% borrowernumber %]&op=delete&file_id=[% f.file_id %]">Delete</a></td>[% END %]
53 <div class="dialog message">
54 <p>This patron has no files attached.</p>
58 <form method="post" action="/cgi-bin/koha/members/files.pl" enctype="multipart/form-data">
59 <fieldset class="rows">
60 <legend>Upload New File</legend>
62 <li><input type="hidden" name="op" value="upload" />
63 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
64 <input type="hidden" name="MAX_FILE_SIZE" value="2000000" />
66 <label for="description">Description:</label>
67 <input name="description" id="description" type="text" /></li>
69 <li><label for="uploadfile">File:</label><input name="uploadfile" type="file" id="uploadfile" /></li>
72 <fieldset class="action"><input name="upload" type="submit" id="upload" value="Upload File" /></fieldset>
80 [% INCLUDE 'circ-menu.inc' %]
83 [% INCLUDE 'intranet-bottom.inc' %]