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

(DBG)route: <%= $c->current_route %>
(DBG)FsS stat: <%= $clm_datas->{FilesystemScan}%>
(DBG)Quar stat: <%=$clm_datas->{Quarantine} %>

%}

<%= $title %>


<%= $modul %> <% my $btn = l('SAVE'); %> %= form_for 'clamav' => (method => 'POST') => begin

%=l 'clm_LABEL_FILESYSTEM_SCAN_PERIOD' % param 'FilesystemScan' => $clm_datas->{FilesystemScan} unless param 'FilesystemScan'; %= select_field 'FilesystemScan' => [[ (l 'clm_DAILY') => 'daily'], [ (l 'clm_NEVER') => 'disabled'], [ (l 'clm_WEEKLY') => 'weekly']], class => 'input'

%=l 'clm_LABEL_QUARANTINE' % param 'Quarantine' => $clm_datas->{Quarantine} unless param 'Quarantine'; %= select_field 'Quarantine' => [[ (l 'ENABLED') => 'enabled'], [ (l 'DISABLED') => 'disabled']], class => 'input'

%=l 'clm_LABEL_CLAM_VERSIONS' %= $clm_datas->{clam_versions}

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