|
Lines 6-11
Link Here
|
| 6 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
6 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 7 |
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery.js"></script> |
7 |
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery.js"></script> |
| 8 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/staff-global.css" /> |
8 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/staff-global.css" /> |
|
|
9 |
<script type="text/javascript"> |
| 10 |
function _(s) { return s; } |
| 11 |
$(document).ready(function() { |
| 12 |
$('form').each(function() { |
| 13 |
$(this).submit(function() { |
| 14 |
var value = $(this).find('input[type="radio"][name="dir"]:checked').val(); |
| 15 |
if (!value) { |
| 16 |
alert(_("Please select the destination of file")); |
| 17 |
return false; |
| 18 |
} |
| 19 |
}); |
| 20 |
}) |
| 21 |
}); |
| 22 |
</script> |
| 9 |
|
23 |
|
| 10 |
</head> |
24 |
</head> |
| 11 |
<body> |
25 |
<body> |
|
Lines 59-64
Link Here
|
| 59 |
<p>Configuration variable 'upload_path' is not configured.</p> |
73 |
<p>Configuration variable 'upload_path' is not configured.</p> |
| 60 |
<p>Please configure it in your koha-conf.xml</p> |
74 |
<p>Please configure it in your koha-conf.xml</p> |
| 61 |
[% ELSE %] |
75 |
[% ELSE %] |
|
|
76 |
[% IF (error_no_dir_selected) %] |
| 77 |
<p class="error">Error: You have to select the destination of uploaded file.<p> |
| 78 |
[% END %] |
| 62 |
<h2>Please select the file to upload : </h2> |
79 |
<h2>Please select the file to upload : </h2> |
| 63 |
<form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/cataloguing/plugin_launcher.pl"> |
80 |
<form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/cataloguing/plugin_launcher.pl"> |
| 64 |
[% filefield %] |
81 |
[% filefield %] |
| 65 |
- |
|
|