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

%= dumper $c->current_route %= dumper $yum_datas

% }

<%= $title%>

% if ( $notif ) {
%= $notif
%} %= form_for 'yumd' => (method => 'POST') => begin

%=l 'yum_LABEL_YUM_STATUS' % param 'yum_check4updates' => $c->get_status('check4updates') unless param 'yum_check4updates'; %= select_field 'yum_check4updates' => $c->get_check_freq_opt()


%=l 'yum_DESC_YUM_PACKAGEFUNCTIONS'

%=l 'yum_LABEL_YUM_PACKAGEFUNCTIONS' % param 'yum_PackageFunctions' => $c->get_status('PackageFunctions') unless param 'yum_PackageFunctions'; %= select_field 'yum_PackageFunctions' => [[ $c->l('DISABLED') => 'disabled'], [ $c->l('ENABLED') => 'enabled']]


%=l 'yum_DESC_ENABLED_REPOSITORIES'

%=l 'yum_LABEL_ENABLED_REPOSITORIES' % param 'SelectedRepositories' => $c->get_repository_current_options() unless param 'SelectedRepositories'; %= select_field 'SelectedRepositories' => $c->get_repository_options2(), class => 'input', multiple => '1'


%=l 'yum_DESC_YUM_DELTARPMPROCESS'

%=l 'yum_LABEL_YUM_DELTARPMPROCESS' % param 'yum_DeltaRpmProcess' => $c->get_status('DeltaRpmProcess') unless param 'yum_DeltaRpmProcess'; %= select_field 'yum_DeltaRpmProcess' => [[ $c->l('DISABLED') => 'disabled'], [ $c->l('ENABLED') => 'enabled']]


%=l 'yum_DESC_YUM_DOWNLOADONLY'

%=l 'yum_LABEL_YUM_DOWNLOADONLY' % param 'yum_DownloadOnly' => $c->get_status('DownloadOnly') unless param 'yum_DownloadOnly'; %= select_field 'yum_DownloadOnly' => [[ $c->l('DISABLED') => 'disabled'], [ $c->l('ENABLED') => 'enabled']]


%=l 'yum_DESC_YUM_AUTOINSTALLUPDATES'

%=l 'yum_LABEL_YUM_AUTOINSTALLUPDATES' % param 'yum_AutoInstallUpdates' => $c->get_status('AutoInstallUpdates') unless param 'yum_AutoInstallUpdates'; %= select_field 'yum_AutoInstallUpdates' => [[ $c->l('DISABLED') => 'disabled'], [ $c->l('ENABLED') => 'enabled']]

%= hidden_field 'trt' => 'CONF'
%= submit_button $c->l('SAVE'), class => 'action'
% end
% end