5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Access files</title>
7 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="tools_access_files" class="tools">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'cat-search.inc' %]
13 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › Access files</div>
15 <div class="main container-fluid">
17 <div class="col-sm-10 col-sm-push-2">
22 [% IF ( error_no_dir ) %]
23 <div class="dialog alert"><strong>Error: </strong>Files could not be found because the "access_dir" option was not set in "koha-conf.xml". Contact your system administrator to add this option.</div>
25 [% IF ( files_loop ) %]
31 <th class="title-string">Date last modified</th>
35 [% FOREACH file IN files_loop %]
37 <td><a href="/cgi-bin/koha/tools/access_files.pl?id=[% file.id |url %]">[% file.name | html %]</a></td>
38 <td align="right">[% file.size | html %]</td>
39 <td><span title="[% file.date | html %]">[% file.date | $KohaDates %]</span></td>
45 <div class="dialog message">No files found.</div>
50 </div> <!-- /.col-sm-10.col-sm-push-2 -->
52 <div class="col-sm-2 col-sm-pull-10">
54 [% INCLUDE 'tools-menu.inc' %]
56 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
60 [% MACRO jsinclude BLOCK %]
61 [% Asset.js("js/tools-menu.js") | $raw %]
62 [% INCLUDE 'datatables.inc' %]
64 $(document).ready(function() {
65 $("#files").dataTable($.extend(true, {}, dataTablesDefaults, {
67 { "aTargets": [ -1 ], "asSorting" : [ "desc", "asc" ], "bSearchable": false },
68 { "sType": "title-string", "aTargets" : [ "title-string" ] }
76 [% INCLUDE 'intranet-bottom.inc' %]