|
|
@ -1,8 +1,9 @@ |
|
|
|
% layout 'default'; |
|
|
|
% layout 'default'; |
|
|
|
% title 'Imgbin -- Create'; |
|
|
|
% title 'Imgbin -- Create'; |
|
|
|
% stash 'styles' => 'zerobin'; |
|
|
|
% stash 'styles' => 'zerobin'; |
|
|
|
% my %times = (day => 1, week => 7, month => 30, quarter => 90, year => 395); |
|
|
|
% my %times = (day => 1, week => 7, month => 30, quarter => 90, year => 365); |
|
|
|
% my @times = map { [l($_) => $times{$_}] } sort { $times{$a} <=> $times{$b} } keys(%times); |
|
|
|
% my @times = map { [l($_) => $times{$_}] } sort { $times{$a} <=> $times{$b} } keys(%times); |
|
|
|
|
|
|
|
% param expire => $times{ config->{imgbin}->{expire} || 'year' }; |
|
|
|
<h1>Загрузить файл</h1> |
|
|
|
<h1>Загрузить файл</h1> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<%= form_for "/imgbin" => (method => 'POST', enctype => 'multipart/form-data') => begin %> |
|
|
|
<%= form_for "/imgbin" => (method => 'POST', enctype => 'multipart/form-data') => begin %> |
|
|
|