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

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

% } % if ( stash "error" ) {
%= $c->render_to_string(inline => stash "error")
%}

<%= $title%>

%=l "bac_ENABLE_DISABLE_TAPE"


%= $c->render_to_string(inline => (l "bac_TAPE_CONFIG_DESC")) %= form_for "/backupd" => (method => "POST") => begin

%=l "bac_ENABLE_TAPE_BACKUP" % if ( $bac_datas->{status} eq "checked" ) { %} else { %= check_box "Tapebackup" %}

%=l "bac_TAPE_BACKUP_TIME" % param "BackupHour" => $bac_datas->{backupHour} unless param "BackupHour"; %= text_field "BackupHour", size => "2" % param "BackupMin" => $bac_datas->{backupMin} unless param "BackupMin"; %= text_field "BackupMin", size => "2" %=l "AM/PM:" % param "BackupAMPM" => $bac_datas->{backupAMPM} unless param "BackupAMPM"; %= select_field "BackupAMPM" => ["AM", "PM"], class => "input"

%=l "bac_LOAD_TAPE_REMINDER_TIME" % param "ReminderHour" => $bac_datas->{reminderHour} unless param "ReminderHour"; %= text_field "ReminderHour", size => "2" % param "ReminderMin" => $bac_datas->{reminderMin} unless param "ReminderMin"; %= text_field "ReminderMin", size => "2" %=l "AM/PM:" % param "ReminderAMPM" => $bac_datas->{reminderAMPM} unless param "ReminderAMPM"; %= select_field "ReminderAMPM" => ["AM", "PM"], class => "input"


%= hidden_field "Function" => $bac_datas->{"function"} %= submit_button $c->l("Update"), class => "action" % end
% end