% layout 'default', title => "Sme server 2 - emaildeliver"; % content_for 'module' => begin
%= dumper $c->current_route %= dumper $mai_datas
% } % if ( stash 'error' ) {%=l 'mai_LABEL_UNKNOWN' % param 'EmailUnknownUser' => $mai_datas->{emailunknownuser} unless param 'EmailUnknownUser'; %= select_field 'EmailUnknownUser' => $c->get_emailunknownuser_opt(), class => 'input'
%=l 'mai_LABEL_DELEGATE' % param 'DelegateMailServer' => $mai_datas->{delegatemailserver} unless param 'DelegateMailServer'; %= text_field 'DelegateMailServer', class => 'input'
%=l 'mai_LABEL_SMARTHOST' % param 'SMTPSmartHost' => $mai_datas->{smtpsmarthost} unless param 'SMTPSmartHost'; %= text_field 'SMTPSmartHost', class => 'input'
%=l 'mai_LABEL_SMARTHOST_SMTPAUTH_STATUS' % param 'SMTPAUTHPROXY_status' => $mai_datas->{smtpauthproxystatus} unless param 'SMTPAUTHPROXY_status'; %= select_field 'SMTPAUTHPROXY_status' => [[(l 'DISABLED') => 'disabled'], [(l 'ENABLED') => 'enabled']], class => 'input'
%=l 'mai_LABEL_SMARTHOST_SMTPAUTH_USERID' % param 'SMTPAUTHPROXY_Userid' => $mai_datas->{smtpauthproxyuserid} unless param 'SMTPAUTHPROXY_Userid'; %= text_field 'SMTPAUTHPROXY_Userid', class => 'input'
%=l 'mai_LABEL_SMARTHOST_SMTPAUTH_PASSWD' % param 'SMTPAUTHPROXY_Passwd' => $mai_datas->{smtpauthproxypassword} unless param 'SMTPAUTHPROXY_Passwd'; %= password_field 'SMTPAUTHPROXY_Passwd', class => 'input'
% my $btn = l('SAVE'); %= submit_button "$btn", class => 'action' %= hidden_field 'trt' => 'DEL' % end