Lines 20-28
Link Here
|
20 |
# You should have received a copy of the GNU General Public License along |
20 |
# You should have received a copy of the GNU General Public License along |
21 |
# with Koha; if not, write to the Free Software Foundation, Inc., |
21 |
# with Koha; if not, write to the Free Software Foundation, Inc., |
22 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
22 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
23 |
|
23 |
use Modern::Perl; |
24 |
use strict; |
|
|
25 |
use warnings; |
26 |
|
24 |
|
27 |
use C4::Auth; |
25 |
use C4::Auth; |
28 |
use CGI; |
26 |
use CGI; |
Lines 41-48
my ($template, $borrowernumber, $cookie)
Link Here
|
41 |
= get_template_and_user({template_name => "tools/access_files.tt", |
39 |
= get_template_and_user({template_name => "tools/access_files.tt", |
42 |
query => $input, |
40 |
query => $input, |
43 |
type => "intranet", |
41 |
type => "intranet", |
44 |
authnotrequired => 0, |
42 |
authnotrequired => 0, |
45 |
flagsrequired => { tools => 'access_files' }, |
43 |
flagsrequired => { tools => 'access_files' }, |
46 |
}); |
44 |
}); |
47 |
|
45 |
|
48 |
unless(@directories) { |
46 |
unless(@directories) { |
49 |
- |
|
|