% my %d = ( % delay_0 => l('no time limit'), % delay_1 => l('24 hours'), % delay_365 => l('1 year') % );
% if (defined(config('broadcast_message'))) {
<%= config('broadcast_message') %>
% } % if (stash('invitation')) {
<%= l('The link(s) of your file(s) will automatically be sent by mail to %1 (%2)', stash('invitation')->ldap_user, stash('invitation')->ldap_user_mail) %>
% } % if (stop_upload) {
<%= l('Sorry, the uploading is currently disabled. Please try again later.') %>
% }
% if (!stop_upload) {
<%= 'disabled="disabled"' if config('force_burn_after_reading') %>>
% if (config('allow_pwd_on_files') && (!stash('invitation'))) {
% }

<%= l('Drop files here') %>

<%= l('or') %>

% use Number::Bytes::Human qw(format_bytes);

<%= l('Information about delays') %>

<%= l('If you choose a delay, the file will be deleted after that delay.') %>
<%= l('Don\'t worry: if a user begins to download the file before the expiration and the download ends after the expiration, he will be able to get the file.') %>

% if (defined(config('delay_for_size'))) {

<%= l('This server sets limitations according to the file size. The expiration delay of your file will be the minimum between what you choose and the following limitations:') %>

% }
% } % if (defined stash('invitation')) { %= javascript '/partial/index.js?token=' . stash('invitation')->token % } else { %= javascript '/partial/index.js' % } %= javascript '/js/lufi-upload.js', type => 'module'