<api_secret_passphrase>__API_SECRET__</api_secret_passphrase>
<!-- Accessible directory from the staff client, uncomment the following line and define a valid path to let the intranet user access it-->
- <!-- <access_dir></access_dir> -->
+ <!--
+ <access_dirs>
+ <access_dir></access_dir>
+ <access_dir></access_dir>
+ </access_dirs>
+ -->
<!-- true type font mapping according to type from $font_types in C4/Creators/Lib.pm -->
<ttf>
<api_secret_passphrase>CHANGEME</api_secret_passphrase>
<!-- Accessible directory from the staff client, uncomment the following line and define a valid path to let the intranet user access it-->
- <!-- <access_dir></access_dir> -->
+ <!--
+ <access_dirs>
+ <access_dir></access_dir>
+ <access_dir></access_dir>
+ </access_dirs>
+ -->
<!-- true type font mapping accoding to type from $font_types in C4/Creators/Lib.pm -->
<ttf>
</div>
-<<<<<<< 3dd4c261c3d9d152edb12ead6b10b71b44418eab
<div class="col-xs-6"><h2>Top lists</h2>
<ul>
<li><a href="/cgi-bin/koha/reports/bor_issues_top.pl">Patrons with the most checkouts</a></li>
+[% USE Asset %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Report/log files</title>
[% INCLUDE 'doc-head-close.inc' %]
-<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
+[% Asset.css("css/datatables.css") %]
</head>
<body>
[% INCLUDE 'header.inc' %]
</div>
[% MACRO jsinclude BLOCK %]
- <script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu_[% KOHA_VERSION %].js"></script>
+ [% Asset.js("js/tools-menu.js") %]
[% INCLUDE 'datatables.inc' %]
<script type="text/javascript">
//<![CDATA[
my $input = new CGI;
my $file_id = $input->param("id");
-my $access_dir = C4::Context->config('access_dir');
-my @directories = $access_dir ? (ref $access_dir ? @{$access_dir} : ($access_dir)) : ();
+my $access_dirs = C4::Context->config('access_dirs');
+
+my @directories;
+
+if ($access_dirs){
+ if (ref $access_dirs->{access_dir} ){
+ @directories = @{$access_dirs->{access_dir}};
+ } else {
+ @directories =($access_dirs->{access_dir});
+ }
+} else {
+ @directories = ();
+}
my ($template, $borrowernumber, $cookie)
= get_template_and_user({template_name => "tools/access_files.tt",