% layout 'default', title => "Sme server 2 - viewlogfiles"; % content_for 'module' => begin
%if ($config->{debug} == 1) {

(DBG)route: <%= $c->current_route %>

%}

<%= $title %>


<%= $notif %> <% my $btn = l('NEXT'); %> %= form_for 'viewlogfiles' => (method => 'POST') => begin

%=l 'log_FIRSTPAGE_DESC'
%=l 'log_LOG_FILE_SELECT_DESC' % param 'Filename' => 'messages'; %= select_field 'Filename' => $c->findlogFiles(), class => 'input'

%=l 'log_FILTER_PATTERN_DESC'
%=l 'log_FILTER_PATTERN_LABEL' %= text_field 'Matchpattern', class => 'input'

%=l 'log_MATCH_PATTERN_DESC'
%=l 'log_MATCH_PATTERN_LABEL' %= text_field 'Highlightpattern', class => 'input'

%=l 'log_OP_DESC'
%=l 'log_OP_LABEL' %if ($log_datas->{'default_op'} eq 'download') { % param 'Operation' => 'download'; %} %= select_field 'Operation' => [[(l 'log_VIEW') => 'view'],[(l 'DOWNLOAD') => 'download']], class => 'input'

%=l 'log_END_DESC'

%= submit_button "$btn", class => 'action' % end
%end