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 <nav aria-label="Breadcrumb" class="breadcrumb">
16 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
19 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
22 <a href="#" aria-current="page">
29 <div class="main container-fluid">
31 <div class="col-sm-10 col-sm-push-2">
36 [% IF ( error_no_dir ) %]
37 <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>
39 [% IF ( files_loop ) %]
45 <th class="title-string">Date last modified</th>
49 [% FOREACH file IN files_loop %]
51 <td><a href="/cgi-bin/koha/tools/access_files.pl?id=[% file.id |url %]">[% file.name | html %]</a></td>
52 <td align="right">[% file.size | html %]</td>
53 <td><span title="[% file.date | html %]">[% file.date | $KohaDates %]</span></td>
59 <div class="dialog message">No files found.</div>
64 </div> <!-- /.col-sm-10.col-sm-push-2 -->
66 <div class="col-sm-2 col-sm-pull-10">
68 [% INCLUDE 'tools-menu.inc' %]
70 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
74 [% MACRO jsinclude BLOCK %]
75 [% Asset.js("js/tools-menu.js") | $raw %]
76 [% INCLUDE 'datatables.inc' %]
78 $(document).ready(function() {
79 $("#files").dataTable($.extend(true, {}, dataTablesDefaults, {
81 { "aTargets": [ -1 ], "asSorting" : [ "desc", "asc" ], "bSearchable": false },
82 { "sType": "title-string", "aTargets" : [ "title-string" ] }
90 [% INCLUDE 'intranet-bottom.inc' %]