% layout 'default', title => "Sme server 2 - proxy"; % content_for 'module' => begin
(DBG)route: <%= $c->current_route %>
(DBG)ht stat: <%= $prx_datas->{http_proxy_status}%>
(DBG)sm stat: <%=$prx_datas->{smtp_proxy_status} %>
%=l 'prx_HTTP_PROXY_STATUS_DESCRIPTION'
%=l 'prx_HTTP_PROXY_STATUS_LABEL'
% param 'http_proxy_status' => $prx_datas->{http_proxy_status} unless param 'http_proxy_status';
%= select_field 'http_proxy_status' => [[ (l 'ENABLED') => 'enabled'], [ (l 'DISABLED') => 'disabled']], class => 'input', id => 'htproxstat'
%=l 'prx_SMTP_PROXY_STATUS_DESCRIPTION'
%=l 'prx_SMTP_PROXY_STATUS_LABEL'
% param 'smtp_proxy_status' => $prx_datas->{smtp_proxy_status} unless param 'smtp_proxy_status';
%= select_field 'smtp_proxy_status' => [[ (l 'ENABLED') => 'transparent'], [ (l 'DISABLED') => 'disabled'], [ (l 'prx_BLOCKED') => 'blocked']], class => 'input', id => 'smproxstat', default => $prx_datas->{smtp_proxy_status}