5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Access files</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 [% Asset.css("css/datatables.css") | $raw %]
10 <body id="tools_access_files" class="tools">
11 [% INCLUDE 'header.inc' %]
12 [% INCLUDE 'cat-search.inc' %]
14 <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>
16 <div class="main container-fluid">
18 <div class="col-sm-10 col-sm-push-2">
23 [% IF ( error_no_dir ) %]
24 <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>
26 [% IF ( files_loop ) %]
32 <th class="title-string">Date last modified</th>
36 [% FOREACH file IN files_loop %]
38 <td><a href="/cgi-bin/koha/tools/access_files.pl?id=[% file.id |url %]">[% file.name | html %]</a></td>
39 <td align="right">[% file.size | html %]</td>
40 <td><span title="[% file.date | html %]">[% file.date | $KohaDates %]</span></td>
46 <div class="dialog message">No files found.</div>
51 </div> <!-- /.col-sm-10.col-sm-push-2 -->
53 <div class="col-sm-2 col-sm-pull-10">
55 [% INCLUDE 'tools-menu.inc' %]
57 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
61 [% MACRO jsinclude BLOCK %]
62 [% Asset.js("js/tools-menu.js") | $raw %]
63 [% INCLUDE 'datatables.inc' %]
65 $(document).ready(function() {
66 $("#files").dataTable($.extend(true, {}, dataTablesDefaults, {
68 { "aTargets": [ -1 ], "asSorting" : [ "desc", "asc" ], "bSearchable": false },
69 { "sType": "title-string", "aTargets" : [ "title-string" ] }
77 [% INCLUDE 'intranet-bottom.inc' %]