% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% my %d = (
% delay_0 => l('no time limit'),
% delay_1 => l('24 hours'),
% delay_365 => l('1 year')
% );
% if (config('always_encrypt')) {
<%= l('The images are encrypted on the server (Lutim does not keep the key).') %>
% }
% if (defined(stash('short'))) {
% my $url = url_for('/'.stash('short'))->to_abs();
% if (defined(stash('thumb'))) {
% }
% # Display image informations
% my $delete_url = url_for('delete', {short => stash('real_short'), token => stash('token')})->to_abs();
% # Delay modification form
% my $modify_url = url_for('modify', {short => stash('real_short'), token => stash('token')})->to_abs();
% }
% if (defined(flash('success'))) {
<%== flash('success') %>
% }
% if (defined(flash('msg'))) {
<%= l('Something bad happened') %>
<%= flash('filename') %> <%= flash('msg') %>
% }
<%= l('Drag & drop images here') %>
<%= l('-or-') %>
<%= l('Only images are allowed') %>