2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Files for [% INCLUDE 'patron-title.inc' %]</title>
4 [% INCLUDE 'doc-head-close.inc' %]
7 [% INCLUDE 'header.inc' %]
8 [% INCLUDE 'patron-search.inc' %]
10 <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>
12 <div id="doc3" class="yui-t2">
16 [% INCLUDE 'members-toolbar.inc' %]
21 <div class="dialog alert">
22 [% IF errors.empty_upload %]The file you are attempting to upload has no contents.[% END %]
23 [% IF errors.no_file %]You did not select a file to upload.[% END %]
35 [% IF CAN_user_borrowers %]<th> </th>[% END %]
40 [% FOREACH f IN files %]
42 <td><a href="?borrowernumber=[% borrowernumber %]&op=download&file_id=[% f.file_id %]">[% f.file_name %]</a></td>
43 <td>[% f.file_type %]</td>
44 <td>[% f.file_description %]</td>
45 <td>[% f.date_uploaded | $KohaDates %]</td>
46 [% IF CAN_user_borrowers %]<td><a href="?borrowernumber=[% borrowernumber %]&op=delete&file_id=[% f.file_id %]">Delete</a></td>[% END %]
52 <div class="dialog message">
53 <p>This patron has no files attached.</p>
57 <form method="post" action="/cgi-bin/koha/members/files.pl" enctype="multipart/form-data">
58 <fieldset class="rows">
59 <legend>Upload New File</legend>
61 <li><input type="hidden" name="op" value="upload" />
62 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
63 <input type="hidden" name="MAX_FILE_SIZE" value="2000000" />
65 <label for="description">Description:</label>
66 <input name="description" id="description" type="text" /></li>
68 <li><label for="uploadfile">File:</label><input name="uploadfile" type="file" id="uploadfile" /></li>
71 <fieldset class="action"><input name="upload" type="submit" id="upload" value="Upload File" /></fieldset>
79 [% INCLUDE 'circ-menu.inc' %]
82 [% INCLUDE 'intranet-bottom.inc' %]