% layout 'default', title => "Sme server 2 - emailreceive"; % content_for 'module' => begin
%= dumper $c->current_route %= dumper $mai_datas
% } % if ( stash 'error' ) {%=l 'mai_LABEL_MODE' % param 'FetchmailMethod' => $mai_datas->{fetchmailmethod} unless param 'FetchmailMethod'; %= select_field 'FetchmailMethod' => $c->get_retrieval_opt(), class => 'input'
%=l 'mai_DESC_SMTP_AUTH_CONTROL'%=l 'mai_LABEL_SMTP_AUTH_CONTROL' % param 'SMTPAuth' => $c->get_current_smtp_auth() unless param 'SMTPAuth'; %= select_field 'SMTPAuth' => $c->get_smtp_auth_opt(), class => 'input'
%=l 'mai_LABEL_SECONDARY' % param 'SecondaryMailServer' => $mai_datas->{secondarymailserver} unless param 'SecondaryMailServer'; %= text_field 'SecondaryMailServer', class => 'input'
%=l 'mai_DESC_FETCH_PERIOD'%=l 'mai_LABEL_FETCH_PERIOD' % param 'FreqOffice' => $mai_datas->{freqoffice} unless param 'FreqOffice'; %= select_field 'FreqOffice' => $c->fetchmail_freq(), class => 'input'
%=l 'mai_LABEL_FETCH_PERIOD_NIGHTS' % param 'FreqOutside' => $mai_datas->{freqoutside} unless param 'FreqOutside'; %= select_field 'FreqOutside' => $c->fetchmail_freq(), class => 'input'
%=l 'mai_LABEL_FETCH_PERIOD_WEEKENDS' % param 'FreqWeekend' => $mai_datas->{freqweekend} unless param 'FreqWeekend'; %= select_field 'FreqWeekend' => $c->fetchmail_freq(), class => 'input'
%=l 'mai_LABEL_POP_ACCOUNT' % param 'SecondaryMailAccount' => $mai_datas->{secondarymailaccount} unless param 'SecondaryMailAccount'; %= text_field 'SecondaryMailAccount', class => 'input'
%=l 'mai_LABEL_POP_PASS' % param 'SecondaryMailPassword' => $mai_datas->{secondarymailpassword} unless param 'SecondaryMailPassword'; %= password_field 'SecondaryMailPassword', class => 'input'
%=l 'mai_LABEL_SORT_METHOD' % param 'SpecifyHeader' => $mai_datas->{specifyheader} unless param 'SpecifyHeader'; %= select_field 'SpecifyHeader' => [[(l 'mai_DEFAULT') => 'off'], [(l 'mai_SPECIFY_BELOW') => 'on']], class => 'input'
%=l 'mai_LABEL_SORT_HEADER' % param 'SecondaryMailEnvelope' => $mai_datas->{secondarymailenvelope} unless param 'SecondaryMailEnvelope'; %= text_field 'SecondaryMailEnvelope', class => 'input'
% my $btn = l('SAVE'); %= submit_button "$btn", class => 'action' %= hidden_field 'trt' => 'REC' % end