diff --git a/root/usr/share/smanager/themes/default/templates/back_tape_configure.html.ep b/root/usr/share/smanager/themes/default/templates/back_tape_configure.html.ep index 850e4ad..7085045 100644 --- a/root/usr/share/smanager/themes/default/templates/back_tape_configure.html.ep +++ b/root/usr/share/smanager/themes/default/templates/back_tape_configure.html.ep @@ -2,80 +2,80 @@ % content_for 'module' => begin -
- %= dumper $c->current_route - %= dumper $bac_datas -
++ %= dumper $c->current_route + %= dumper $bac_datas +
% } - % if ( stash 'error' ) { -- - %=l 'bac_ENABLE_TAPE_BACKUP' - - % if ( $bac_datas->{status} eq 'checked' ) { - - %} else { - %= check_box 'Tapebackup' - %} - -
++ + %= 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_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' - -
+ + %= 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' + +
- %= dumper $c->current_route - %= dumper $bac_datas -
++ %= dumper $c->current_route + %= dumper $bac_datas +
% } - % if ( stash 'error' ) { -- %= dumper $c->current_route - %= dumper $bac_datas -
++ %= dumper $c->current_route + %= dumper $bac_datas +
% } - % if ( stash 'error' ) { -- %= dumper $c->current_route - %= dumper $bac_datas -
++ %= dumper $c->current_route + %= dumper $bac_datas +
% } - % if ( stash 'error' ) { -- - %=l 'bac_ENABLE_WORKSTN_BACKUP' - - % if ( $bac_datas->{status} eq 'checked' ) { - - %} else { - %= check_box 'Workstnbackup' - %} - +
+ + %= l 'bac_ENABLE_WORKSTN_BACKUP' + + % if ( $bac_datas->{status} eq 'checked' ) { + + % } else { + %= check_box 'Workstnbackup' + % } + -
-- %=l 'bac_NUMBER_OF_SETS' - - % param 'SetsNumber' => $bac_datas->{setsNumber} unless param 'SetsNumber'; - %= text_field 'SetsNumber', size => '3' - - %=l 'bac_NUMBER_OF_FILES_IN_SET' - - % param 'Filesinset' => $bac_datas->{filesinset} unless param 'Filesinset'; - %= text_field 'Filesinset', size => '3' -
++ %= l 'bac_NUMBER_OF_SETS' + + % param 'SetsNumber' => $bac_datas->{setsNumber} unless param 'SetsNumber'; + %= text_field 'SetsNumber', size => '3' + + %= l 'bac_NUMBER_OF_FILES_IN_SET' + + % param 'Filesinset' => $bac_datas->{filesinset} unless param 'Filesinset'; + %= text_field 'Filesinset', size => '3' +
-- - %=l 'bac_WORKSTN_BACKUP_TIME' - - % param 'BackupwkHour' => $bac_datas->{hour} unless param 'BackupwkHour'; - %= text_field 'BackupwkHour', size => '2' - % param 'BackupwkMin' => $bac_datas->{min} unless param 'BackupwkMin'; - %= text_field 'BackupwkMin', size => '2' - - %=l 'AM/PM:' - - % param 'BackupwkAMPM' => $bac_datas->{ampm} unless param 'BackupwkAMPM'; - %= select_field 'BackupwkAMPM' => ['AM', 'PM'], class => 'input' - -
++ + %= l 'bac_WORKSTN_BACKUP_TIME' + + % param 'BackupwkHour' => $bac_datas->{hour} unless param 'BackupwkHour'; + %= text_field 'BackupwkHour', size => '2' + % param 'BackupwkMin' => $bac_datas->{min} unless param 'BackupwkMin'; + %= text_field 'BackupwkMin', size => '2' + + %= l 'AM/PM:' + + % param 'BackupwkAMPM' => $bac_datas->{ampm} unless param 'BackupwkAMPM'; + %= select_field 'BackupwkAMPM' => [ 'AM', 'PM' ], class => 'input' + +
-- %=l 'bac_WORKSTN_TIMEOUT' - - % param 'BackupwkTimeout' => $bac_datas->{timeout} unless param 'BackupwkTimeout'; - %= text_field 'BackupwkTimeout', size => '2' - - %=l 'bac_INC_ONLY_TIMEOUT' - - % if ( $bac_datas->{incOnlyTimeout} eq 'checked' ) { - - %} else { - %= check_box 'IncOnlyTimeout' - %} -
++ %= l 'bac_WORKSTN_TIMEOUT' + + % param 'BackupwkTimeout' => $bac_datas->{timeout} unless param 'BackupwkTimeout'; + %= text_field 'BackupwkTimeout', size => '2' + + %= l 'bac_INC_ONLY_TIMEOUT' + + % if ( $bac_datas->{incOnlyTimeout} eq 'checked' ) { + + % } else { + %= check_box 'IncOnlyTimeout' + % } +
-- - %=l 'bac_COMPRESSION_LEVEL' - - % param 'Compression' => $bac_datas->{compression} unless param 'Compression'; - %= text_field 'Compression', size => '1' - - %=l 'bac_FULL_ONLY_ON' - - % param 'Dof' => $bac_datas->{dof} unless param 'Dof'; - %= select_field 'Dof' => $c->get_dow_list(), class => 'input' -
+ + %= l 'bac_COMPRESSION_LEVEL' + + % param 'Compression' => $bac_datas->{compression} unless param 'Compression'; + %= text_field 'Compression', size => '1' + + %= l 'bac_FULL_ONLY_ON' + + % param 'Dof' => $bac_datas->{dof} unless param 'Dof'; + %= select_field 'Dof' => $c->get_dow_list(), class => 'input' +
- %= dumper $c->current_route - %= dumper $bac_datas -
++ %= dumper $c->current_route + %= dumper $bac_datas +
% } - % if ( stash 'error' ) { -- %= dumper $c->current_route - %= dumper $bac_datas -
++ %= dumper $c->current_route + %= dumper $bac_datas +
% } - % if ( stash 'error' ) { -- %= $c->render_to_string(inline => $bac_datas->{restore_log}) -
- %=l 'bac_YOU_MUST_REBOOT' -
- %= hidden_field 'Function' => $bac_datas->{'function'} - %= submit_button $c->l('bac_REBOOT'), class => 'action' - % end ++ %= l 'bac_YOU_MUST_REBOOT' +
+ %= hidden_field 'Function' => $bac_datas->{'function'} + %= submit_button $c->l('bac_REBOOT'), class => 'action' + % end- %= dumper $c->current_route - %= dumper $bac_datas -
++ %= dumper $c->current_route + %= dumper $bac_datas +
% } - % if ( stash 'error' ) { -- %= dumper $c->current_route - %= dumper $bac_datas -
++ %= dumper $c->current_route + %= dumper $bac_datas +
% } - % if ( stash 'error' ) { -- %= dumper $c->current_route - %= dumper $bac_datas -
++ %= dumper $c->current_route + %= dumper $bac_datas +
% } - % if ( stash 'error' ) { -- %= dumper $c->current_route - %= dumper $bac_datas -
++ %= dumper $c->current_route + %= dumper $bac_datas +
% } - % if ( stash 'error' ) { -- %=l 'bac_CHECK_TO_VERIFY_FULL_RESTORE' - - %= check_box 'Verifyall' -
+ %= l 'bac_CHECK_TO_VERIFY_FULL_RESTORE' + + %= check_box 'Verifyall' +
- %= dumper $c->current_route - %= dumper $bac_datas->{function} - -
++ %= dumper $c->current_route + %= dumper $bac_datas->{function} + +
% } - % if ( stash 'error' ) { -- %= dumper $c->current_route - %= dumper $bac_datas -
++ %= dumper $c->current_route + %= dumper $bac_datas +
% } - % if ( stash 'warning' ) { -- %=l 'bac_TAPE_BACKUPS', - - %= $c->l(uc($bac_datas->{'backupStatus'})).'.' - - % if ( $bac_datas->{'backupStatus'} eq 'enabled' ) { - %= $c->l('bac_BACKUPS_RUN_AT') - - %= $bac_datas->{'backupTime'} - - %= $c->l('bac_REMINDER_MESSAGE_AT') - - %= $bac_datas->{'reminderTime'} - - %} -
- %=l 'bac_WORKSTN_BACKUPS', - - %= $c->l(uc($bac_datas->{'backupwkStatus'})).'.' - - % if ( $bac_datas->{'backupwkStatus'} eq 'enabled' ) { - %= $c->l('bac_WKBACKUPS_RUN_AT') - - %= $bac_datas->{'backupwkTime'} - - %} +
+ %= l 'bac_TAPE_BACKUPS', + + %= $c->l( uc( $bac_datas->{'backupStatus'} ) ) . '.' + + % if ( $bac_datas->{'backupStatus'} eq 'enabled' ) { + %= $c->l('bac_BACKUPS_RUN_AT') + + %= $bac_datas->{'backupTime'} + + %= $c->l('bac_REMINDER_MESSAGE_AT') + + %= $bac_datas->{'reminderTime'} + + % } +
+ %= l 'bac_WORKSTN_BACKUPS', + + %= $c->l( uc( $bac_datas->{'backupwkStatus'} ) ) . '.' + + % if ( $bac_datas->{'backupwkStatus'} eq 'enabled' ) { + %= $c->l('bac_WKBACKUPS_RUN_AT') + + %= $bac_datas->{'backupwkTime'} + + % } -
- %=l 'bac_SELECT_AN_ACTION' - - % param 'Function' => $bac_datas->{function} unless param 'Function'; - %= select_field 'Function' => $c->get_function_options(), class => 'input' -
++ %= l 'bac_SELECT_AN_ACTION' + + % param 'Function' => $bac_datas->{function} unless param 'Function'; + %= select_field 'Function' => $c->get_function_options(), class => 'input' +
-
- (DBG)route: <%= $c->current_route %>
- (DBG)trt: <%= $bugr_datas->{trt} %>
-
+ (DBG)route: <%= $c->current_route %>
+ (DBG)trt: <%= $bugr_datas->{trt} %>
+
- %=l ('bugr_SME_EXPERIENCE') + %= l('bugr_SME_EXPERIENCE')
- %=l ('bugr_USE_TEMPLATE') -: https://wiki.koozali.org/Bugzilla_Help#Reporting_Bugs. -
- %=l ('bugr_PLEASE_REPORT_HERE') -: https://bugs.koozali.org. -
- %=l ('bugr_FOLLOWING_REPORT_MIGHT_HELP') -
- %=l ('bugr_REPORT_CONTENT') + %= l('bugr_USE_TEMPLATE') + : https://wiki.koozali.org/Bugzilla_Help#Reporting_Bugs. +
+ %= l('bugr_PLEASE_REPORT_HERE') + : https://bugs.koozali.org. +
+ %= l('bugr_FOLLOWING_REPORT_MIGHT_HELP') +
+ %= l('bugr_REPORT_CONTENT')
- %=l ('bugr_DONATING') +
+ %= l('bugr_DONATING')
- %=l ('bugr_AWARE_SME')
+ %= l('bugr_AWARE_SME')
- %=l ('bugr_YOUR_HELP')
+ %= l('bugr_YOUR_HELP')
- %=l ('bugr_CONSIDER_DONATING')
+ %= l('bugr_CONSIDER_DONATING')
-
- (DBG)route: <%= $c->current_route %>
- (DBG)trt: <%= $bugr_datas->{trt} %>
-
+ (DBG)route: <%= $c->current_route %>
+ (DBG)trt: <%= $bugr_datas->{trt} %>
+
(DBG)route: <%= $c->current_route %>
- (DBG)FsS stat: <%= $clm_datas->{FilesystemScan}%>
- (DBG)Quar stat: <%=$clm_datas->{Quarantine} %>
-
(DBG)route: <%= $c->current_route %>
+ (DBG)FsS stat: <%= $clm_datas->{FilesystemScan} %>
+ (DBG)Quar stat: <%= $clm_datas->{Quarantine} %>
+
- - %=l 'clm_LABEL_FILESYSTEM_SCAN_PERIOD' - - % param 'FilesystemScan' => $clm_datas->{FilesystemScan} unless param 'FilesystemScan'; - %= select_field 'FilesystemScan' => [[ (l 'clm_DAILY') => 'daily'], [ (l 'clm_NEVER') => 'disabled'], [ (l 'clm_WEEKLY') => 'weekly']], class => 'input' - -
-
-
- %=l 'clm_LABEL_QUARANTINE'
-
- % param 'Quarantine' => $clm_datas->{Quarantine} unless param 'Quarantine';
- %= select_field 'Quarantine' => [[ (l 'ENABLED') => 'enabled'], [ (l 'DISABLED') => 'disabled']], class => 'input'
-
-
-
-
- %=l 'clm_LABEL_CLAM_VERSIONS'
-
- %= $clm_datas->{clam_versions}
-
-
-
+ + %= l 'clm_LABEL_FILESYSTEM_SCAN_PERIOD' + + % param 'FilesystemScan' => $clm_datas->{FilesystemScan} unless param 'FilesystemScan'; + %= select_field 'FilesystemScan' => [ [ ( l 'clm_DAILY' ) => 'daily' ], [ ( l 'clm_NEVER' ) => 'disabled' ], [ ( l 'clm_WEEKLY' ) => 'weekly' ] ], class => 'input'; + +
+
+
+ %= l 'clm_LABEL_QUARANTINE'
+
+ % param 'Quarantine' => $clm_datas->{Quarantine} unless param 'Quarantine';
+ %= select_field 'Quarantine' => [ [ ( l 'ENABLED' ) => 'enabled' ], [ ( l 'DISABLED' ) => 'disabled' ] ], class => 'input';
+
+
+
+
+ %= l 'clm_LABEL_CLAM_VERSIONS'
+
+ %= $clm_datas->{clam_versions}
+
+
+
- %= dumper $c->current_route - %= dumper $dat_data -
- % } ++ %= dumper $c->current_route + %= dumper $dat_data +
+ % } - %if ($c->stash('first')) { -- %=$c->render_to_string(inline =>$c->l($c->stash('first'))) -
- %} elsif ($c->stash('success')) { -+ %= $c->render_to_string( inline => $c->l( $c->stash('first') ) ) +
+ % } elsif ($c->stash('success')) { +- %= $c->l('dat_NTP_CONFIGURE_DESC') -
-+ %= $c->l('dat_NTP_CONFIGURE_DESC') +
+- %= $c->l('dat_NTP_DISABLE_DESC') -
-<%= $title %>
<%= $modul %>- %= link_to Initial => '/' + %= link_to Initial => '/'
-
- (DBG)route: <%= $c->current_route %>
- (DBG)dir. access: <%= $dir_datas->{access}%>
-
+ (DBG)route: <%= $c->current_route %>
+ (DBG)dir. access: <%= $dir_datas->{access} %>
+
- - %= l('dir_LABEL_ROOT'), class => 'label' - - %= $dir_datas->{root}, class => 'data' - -
-
- %=l 'dir_DESC_DIRECTORY_ACCESS', class => 'desc'
-
-
- %=l 'dir_DIRECTORY_ACCESS', class => 'label'
-
- % param 'access' => $dir_datas->{access} unless param 'access';
- %= select_field 'access' => [[ (l 'NETWORKS_ALLOW_LOCAL') => 'private'], [ (l 'NETWORKS_ALLOW_PUBLIC') => 'public']], class => 'input', id => 'access'
-
-
- %=l 'dir_DESC_DEPARTMENT', class => 'desc'
-
-
- %=l 'dir_DEPARTMENT', class => 'label'
-
- %= text_field 'department' => $dir_datas->{department}, class => 'input'
-
-
- - %=l 'dir_COMPANY', class => 'label' - - %= text_field 'company', $dir_datas->{company}, class => 'input' - -
- - %=l 'dir_STREET', class => 'label' - - %= text_field 'street' => $dir_datas->{street}, class => 'input' - -
- - %=l 'dir_CITY', class => 'label' - - %= text_field 'city', $dir_datas->{city}, class => 'input' - -
- - %=l 'dir_PHONENUMBER', class => 'label' - - %= text_field 'phonenumber', $dir_datas->{phonenumber}, class => 'input' - -
-
- %=l 'dir_DESC_EXISTING', class => 'desc'
-
-
- %=l 'dir_EXISTING', class => 'label'
-
- %= select_field 'existing'=> [[ (l 'dir_LEAVE') => 'leave'], [ (l 'dir_UPDATE') => 'update' ]], class => 'input'
-
-
-
- %= submit_button "$btn", class => 'action'
-
+ + %= l('dir_LABEL_ROOT'), class => 'label' + + %= $dir_datas->{root}, class => 'data' + +
+
+ %= l 'dir_DESC_DIRECTORY_ACCESS', class => 'desc'
+
+
+ %= l 'dir_DIRECTORY_ACCESS', class => 'label'
+
+ % param 'access' => $dir_datas->{access} unless param 'access';
+ %= select_field 'access' => [ [ ( l 'NETWORKS_ALLOW_LOCAL' ) => 'private' ], [ ( l 'NETWORKS_ALLOW_PUBLIC' ) => 'public' ] ], class => 'input', id => 'access';
+
+
+ %= l 'dir_DESC_DEPARTMENT', class => 'desc'
+
+
+ %= l 'dir_DEPARTMENT', class => 'label'
+
+ %= text_field 'department' => $dir_datas->{department}, class => 'input'
+
+
+ + %= l 'dir_COMPANY', class => 'label' + + %= text_field 'company', $dir_datas->{company}, class => 'input' + +
+ + %= l 'dir_STREET', class => 'label' + + %= text_field 'street' => $dir_datas->{street}, class => 'input' + +
+ + %= l 'dir_CITY', class => 'label' + + %= text_field 'city', $dir_datas->{city}, class => 'input' + +
+ + %= l 'dir_PHONENUMBER', class => 'label' + + %= text_field 'phonenumber', $dir_datas->{phonenumber}, class => 'input' + +
+
+ %= l 'dir_DESC_EXISTING', class => 'desc'
+
+
+ %= l 'dir_EXISTING', class => 'label'
+
+ %= select_field 'existing' => [ [ ( l 'dir_LEAVE' ) => 'leave' ], [ ( l 'dir_UPDATE' ) => 'update' ] ], class => 'input';
+
+
+
+ %= submit_button "$btn", class => 'action'
+
- %= dumper $c->current_route - %= dumper $dom_datas -
++ %= dumper $c->current_route + %= dumper $dom_datas +
% } - - % if ( stash 'error' ) { -+% } - %if ($c->stash('first')) { -%= dumper $c->current_route %= dumper $mai_data->{trt} -- % } - -<%=$title%>
- - % if ( stash('modul')) { - %= $c->render_to_string(inline => stash('modul') ); +
- %=$c->render_to_string(inline =>$c->l($c->stash('first'))) -
++ %= $c->render_to_string( inline => $c->l( $c->stash('first') ) ) +
+ + % } elsif ($c->stash('success')) { +- %= dumper $c->current_route -
++ %= dumper $c->current_route +
% } - % if ( stash 'error' ) { -If the legacy panel does not appear, then you may not be logged into the original Server manager.
You can log in by clicking here. Or by clicking on the "Legacy SM" button at the top of the window.
If the legacy panel does not appear, then you may not be logged into the original Server manager.
You can log in by clicking here. Or by clicking on the "Legacy SM" button at the top of the window.
dev
Oups !!!
- The page you were requesting
- "<%= $self->req->url->path || '/' %>"
- caused en exception !!
-
dev
+
dev
Oups !!!
+ The page you were requesting
+ "<%= $self->req->url->path || '/' %>"
+ caused en exception !!
+
dev
- %= link_to Back => '/' + %= link_to Back => '/'
-- %= dumper $c->current_route - %= dumper $grp_datas -
++ %= dumper $c->current_route + %= dumper $grp_datas +
% } - % if ( stash 'error' ) { -- %= dumper $c->current_route - %= dumper $hos_datas -
++ %= dumper $c->current_route + %= dumper $hos_datas +
% } - -- %= dumper $c->current_route - %= dumper $iba_datas -
++ %= dumper $c->current_route + %= dumper $iba_datas +
% } - % if ( stash 'error' ) { -- %= dumper $c->current_route -
- % } + % if (config->{debug} == 1) { ++ %= dumper $c->current_route +
+ % }
+
+
+
%= $modul -
+- %= dumper $c->current_route - %= dumper $c->stash("ret") - %= dumper $c->param("localnetwork"); - %= dumper $c->stash("ln_datas"); - %= dumper $c->param("deletehost"); -
++ %= dumper $c->current_route + %= dumper $c->stash("ret") + %= dumper $c->param("localnetwork"); + %= dumper $c->stash("ln_datas"); + %= dumper $c->param("deletehost"); +
% } - -- %= dumper $c->current_route - %if ( stash 'trt' ) { - %= dumper stash 'trt' - %} -
- %} + % if ( config 'debug' ) { ++ %= dumper $c->current_route + % if ( stash 'trt' ) { + %= dumper stash 'trt' + % } +
+ % } -% if ( stash 'error' ) { -- %=l 'USER_NAME' - - %= text_field 'Username' -
- -% if ( $trt ne 'RESET' ) { -
- %=l 'PASSWORD'
-
- %= password_field 'Password', id => 'id_password', autocomplete => 'current-password', class=>'sme-password'
- % if (config 'hasJquery') {
- %#
- % }
-
+ %= l 'USER_NAME' + + %= text_field 'Username' +
+ + % if ( $trt ne 'RESET' ) { +
+ %= l 'PASSWORD'
+
+ %= password_field 'Password', id => 'id_password', autocomplete => 'current-password', class => 'sme-password';
+ % if (config 'hasJquery') {
+ %#
+ % }
+
- Debug Info: -
<%= dumper $c->current_route %>- +
+ Debug Info: +
<%= dumper $c->current_route %>+ % } - - % if (stash 'error') { -
dev
Oups !!!
- The page you were requesting
- "<%= $self->req->url->path || '/' %>"
- could not be found.
-
dev
- %= link_to Initial => '/Initial'
+
dev
Oups !!!
+ The page you were requesting
+ "<%= $self->req->url->path || '/' %>"
+ could not be found.
+
dev
+ %= link_to Initial => '/Initial'
- The page you were requesting
- "<%= $self->req->url->path || '/' %>"
- could not be found.
+
+ The page you were requesting
+ "<%= $self->req->url->path || '/' %>"
+ could not be found.
- %= link_to Welcome => '/'
-
-
+
- %= $c->l('dom_REMOVE_DESCRIPTION', $dom_datas->{domain}, $dom_datas->{description}); -
- -- %= l('dom_ABOUT_TO_REMOVE') -
++ %= $c->l( 'dom_REMOVE_DESCRIPTION', $dom_datas->{domain}, $dom_datas->{description} ); +
-
-
- %= submit_button "$btn", class => 'action'
-
+ %= l('dom_ABOUT_TO_REMOVE') +
+ +
+
+ %= submit_button "$btn", class => 'action'
+
-
- %= submit_button "$btn", class => 'action'
-
- %=l 'DOMAIN_NAME' - | -- %=l 'DESCRIPTION_BRIEF' - | -- %=l 'dom_CONTENT' - | -- %=l 'dom_LABEL_NAMESERVERS' - | -- %=l 'ACTION' - | -
---|---|---|---|---|
- <%= $c->render_to_string(inline => $actionModify) %> <%= $c->render_to_string(inline => $actionRemove) %> - | -
+
+ %= submit_button "$btn", class => 'action'
+
+ %= l 'DOMAIN_NAME' + | ++ %= l 'DESCRIPTION_BRIEF' + | ++ %= l 'dom_CONTENT' + | ++ %= l 'dom_LABEL_NAMESERVERS' + | ++ %= l 'ACTION' + | +
---|---|---|---|---|
+ <%= $c->render_to_string( inline => $actionModify ) %> <%= $c->render_to_string( inline => $actionRemove ) %> + | +
- - %=l 'dom_LABEL_CORPORATE_DNS_SECONDARY' - - %= $dom_datas->{forwarder2} - -
- % } + %= hidden_field 'trt' => 'ADD' -- %= submit_button "$btn2", class => 'action' -
- %= hidden_field 'trt' => 'UP2' - % end + %= form_for '/domains' => ( method => 'POST' ) => begin + + ++ + %= l 'dom_LABEL_CORPORATE_DNS_PRIMARY' + + %= $dom_datas->{forwarder} + +
+ + % if ($dom_datas->{forwarder2}) { ++ + %= l 'dom_LABEL_CORPORATE_DNS_SECONDARY' + + %= $dom_datas->{forwarder2} + +
+ % } + ++ %= submit_button "$btn2", class => 'action' +
+ %= hidden_field 'trt' => 'UP2' + % end -
- %=l 'dom_DESC_CORPORATE_DNS'
-
+ %= l 'dom_DESC_CORPORATE_DNS'
+
- - %=l 'dom_LABEL_CORPORATE_DNS_PRIMARY' - - % param 'Forwarder' => $dom_datas->{forwarder} unless param 'Forwarder'; - %= text_field 'Forwarder', class => 'input' - -
++ + %= l 'dom_LABEL_CORPORATE_DNS_PRIMARY' + + % param 'Forwarder' => $dom_datas->{forwarder} unless param 'Forwarder'; + %= text_field 'Forwarder', class => 'input' + +
-- - %=l 'dom_LABEL_CORPORATE_DNS_SECONDARY', class => 'label' - - % param 'Forwarder2' => $dom_datas->{forwarder2} unless param 'Forwarder2'; - %= text_field 'Forwarder2', class => 'input' - -
++ + %= l 'dom_LABEL_CORPORATE_DNS_SECONDARY', class => 'label' + + % param 'Forwarder2' => $dom_datas->{forwarder2} unless param 'Forwarder2'; + %= text_field 'Forwarder2', class => 'input' + +
-- %= submit_button "$btn", class => 'action' -
++ %= submit_button "$btn", class => 'action' +
- %= hidden_field 'trt' => $dom_datas->{trt} - - %end + %= hidden_field 'trt' => $dom_datas->{trt} + + % end-
+
-
- %=l 'DOMAIN_NAME', class => 'label'
-
- % if ( $dom_datas->{trt} eq "ADD" ) {
- % param 'Domain' => $dom_datas->{domain} unless param 'Domain';
- %= text_field 'Domain', class => 'input'
- % } else {
- %= hidden_field 'Domain' => $dom_datas->{domain}
- %= $dom_datas->{domain}, class => 'data'
- % }
-
-
+
+ %= l 'DOMAIN_NAME', class => 'label'
+
+ % if ( $dom_datas->{trt} eq "ADD" ) {
+ % param 'Domain' => $dom_datas->{domain} unless param 'Domain';
+ %= text_field 'Domain', class => 'input'
+ % } else {
+ %= hidden_field 'Domain' => $dom_datas->{domain}
+ %= $dom_datas->{domain}, class => 'data'
+ % }
+
+
-
- %=l 'DESCRIPTION_BRIEF', class => 'label'
-
- % param 'Description' => $dom_datas->{description} unless param 'Description';
- %= text_field 'Description', class => 'input'
-
-
+
+ %= l 'DESCRIPTION_BRIEF', class => 'label'
+
+ % param 'Description' => $dom_datas->{description} unless param 'Description';
+ %= text_field 'Description', class => 'input'
+
+
- %=l 'dom_CONTENT_FIELD_DESCRIPTION'
-
-
- %= $c->l('dom_CONTENT', '');
-
- % param 'Content' => $dom_datas->{content} unless param 'Content';
- %= select_field 'Content', $c->content_options_list(), class => 'input'
-
-
+ %= l 'dom_CONTENT_FIELD_DESCRIPTION'
+
+
+ %= $c->l( 'dom_CONTENT', '' );
+
+ % param 'Content' => $dom_datas->{content} unless param 'Content';
+ %= select_field 'Content', $c->content_options_list(), class => 'input'
+
+
- %=l 'dom_DESC_NAMESERVERS'
-
-
- %=l 'dom_LABEL_NAMESERVERS', class => 'label'
-
- % param 'Nameservers' => $dom_datas->{nameservers} unless param 'Nameservers';
- %= select_field 'Nameservers', $c->nameserver_options_list(), class => 'input'
-
-
+ %= l 'dom_DESC_NAMESERVERS'
+
+
+ %= l 'dom_LABEL_NAMESERVERS', class => 'label'
+
+ % param 'Nameservers' => $dom_datas->{nameservers} unless param 'Nameservers';
+ %= select_field 'Nameservers', $c->nameserver_options_list(), class => 'input'
+
+
- %= submit_button "$btn", class => 'action'
-
+ %= submit_button "$btn", class => 'action'
+
- %= submit_button "$btn", class => 'action'
-
+ %= submit_button "$btn", class => 'action'
+
- %=l 'GROUP' - | -- %=l 'DESCRIPTION' - | -- %=l 'ACTION' - | -
---|
- %my $modify_text = l('MODIFY'); # Localized text - %my $csrf_token = "TOKEN"; # CSRF token for security - %my $group_name = $group->key; # group name extracted from the data structure - %my $actionModify = qq{ - % - % - % - %}; - %my $remove_text = l('REMOVE'); # Localized text - %my $csrf_token = "TOKEN"; # CSRF token for security - %my $group_name = $group->key; # group name extracted from the data structure - %my $actionRemove = qq{ - % - % - % - %}; - <%= $c->render_to_string(inline => $actionModify) %> <%= $c->render_to_string(inline => $actionRemove) %> - | -
- - %=l 'GROUP_NAME', class => 'label' - - %= $grp_datas->{group}, class => 'data' - -
++ + %= l 'GROUP_NAME', class => 'label' + + %= $grp_datas->{group}, class => 'data' + +
-
- %=l 'grp_GROUP_DESC_EXPL'
-
-
- %=l 'grp_GROUP_DESC', class => 'label'
-
- % param 'groupDesc' => $grp_datas->{description} unless param 'groupDesc';
- %= text_field 'groupDesc', class => 'input'
-
-
+ %= l 'grp_GROUP_DESC_EXPL'
+
+
+ %= l 'grp_GROUP_DESC', class => 'label'
+
+ % param 'groupDesc' => $grp_datas->{description} unless param 'groupDesc';
+ %= text_field 'groupDesc', class => 'input'
+
+
-
- %=l 'GROUP_MEMBERS', class => 'label'
-
-
+
+ %= l 'GROUP_MEMBERS', class => 'label'
+
+
-
- % if ( $members->{'admin'} ) {
- %= check_box 'groupMembers', value => 'admin', checked => undef
- %} else {
- %= check_box 'groupMembers' => 'admin'
- %}
- Administrator (admin)
-
+
+
+ % if ( $members->{'admin'} ) {
+ %= check_box 'groupMembers', value => 'admin', checked => undef
+ % } else {
+ %= check_box 'groupMembers' => 'admin'
+ % }
+ Administrator (admin)
+
- % my $users = $c->gen_users_list();
- % foreach my $key ( sort keys %$users )
- % {
- % if ( $members->{ $key } ) {
-
-
- %} else {
- %= check_box 'groupMembers' => $key
- %}
- %=$users->{$key} . " (" . $key . ")"
-
- % }
+ % my $users = $c->gen_users_list();
+ % foreach my $key ( sort keys %$users )
+ % {
+ % if ( $members->{ $key } ) {
+
+
+ % } else {
+ %= check_box 'groupMembers' => $key
+ % }
+ %= $users->{$key} . " (" . $key . ")"
+
+ % }
-
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
-
+
- %= $c->l('hos_REMOVE_PAGE_DESCRIPTION', $hos_datas->{hostname}); -
- -- %=l 'hos_ABOUT_TO_REMOVE' -
++ %= $c->l( 'hos_REMOVE_PAGE_DESCRIPTION', $hos_datas->{hostname} ); +
-
-
- %= submit_button "$btn", class => 'action'
-
+ %= l 'hos_ABOUT_TO_REMOVE' +
- %= hidden_field 'trt' => $hos_datas->{trt} - %= hidden_field 'Hostname' => $hos_datas->{hostname} +
+
+ %= submit_button "$btn", class => 'action'
+
- %= submit_button "$btn", class => 'action'
-
+ %= submit_button "$btn", class => 'action'
+
- %= $c->l('hos_CURRENT_HOSTNAMES_FOR_LOCAL_DOMAIN', $domain);
-
- %=l 'hos_HOSTNAME' - | -- %=l 'hos_HOSTTYPE' - | -- %=l 'IP_ADDRESS_OR_FQDN' - | -- %=l 'hos_ETHERNET_ADDRESS' - | -- %=l 'COMMENT' - | -- %=l 'ACTION' - | -
---|
- %my ($actionModify, $actionRemove) = ' '; - %my $static = $_->{'static'} || "no"; - %if ($static ne 'yes') { - %my $modify_text = l('MODIFY'); # Localized text - %my $csrf_token = "TOKEN"; # CSRF token for security - %my $hostentries_name = $_->{'HostName'}; # hostentries name extracted from the data structure - %$actionModify = qq{ - % - % - % - %}; - %my $remove_text = l('REMOVE'); # Localized text - %$csrf_token = "TOKEN"; # CSRF token for security - %#my $hostentries_name = $_->{'HostName'}; # hostentries name extracted from the data structure - %$actionRemove = qq{ - % - % - % - %}; - %} - <%= $c->render_to_string(inline => $actionModify) %> <%= $c->render_to_string(inline => $actionRemove) %> - | -
- %=l 'hos_LOCAL_PAGE_DESCRIPTION' -
++ %= l 'hos_LOCAL_PAGE_DESCRIPTION' +
-- %=l 'hos_LOCAL_IP_DESCRIPTION' -
++ %= l 'hos_LOCAL_IP_DESCRIPTION' +
-- - %=l 'hos_LOCAL_IP', class => 'label' - - % param 'Internalip' => $hos_datas->{internalip} unless param 'Internalip'; - %= text_field 'Internalip', class => 'input' - -
++ + %= l 'hos_LOCAL_IP', class => 'label' + + % param 'Internalip' => $hos_datas->{internalip} unless param 'Internalip'; + %= text_field 'Internalip', class => 'input' + +
-- %=l 'hos_ETHERNET_ADDRESS_DESCRIPTION' -
++ %= l 'hos_ETHERNET_ADDRESS_DESCRIPTION' +
-- - %=l 'hos_ETHERNET_ADDRESS', class => 'label' - - % param 'Macaddress' => $hos_datas->{macaddress} unless param 'Macaddress'; - %= text_field 'Macaddress', class => 'input' - -
++ + %= l 'hos_ETHERNET_ADDRESS', class => 'label' + + % param 'Macaddress' => $hos_datas->{macaddress} unless param 'Macaddress'; + %= text_field 'Macaddress', class => 'input' + +
-
- %= submit_button "$btn", class => 'action'
-
+ %= submit_button "$btn", class => 'action'
+
- %=l 'hos_HOSTNAME_DESCRIPTION' -
++ %= l 'hos_HOSTNAME_DESCRIPTION' +
-- - %=l 'hos_HOSTNAME', class => 'label' - - % if ( $hos_datas->{trt} eq "ADD" ) { - % param 'Name' => $hos_datas->{name} unless param 'Name'; - %= text_field 'Name', class => 'input' - % } else { - %= hidden_field 'Name' => $hos_datas->{name} - %= $hos_datas->{name}, class => 'data' - % } - -
++ + %= l 'hos_HOSTNAME', class => 'label' + + % if ( $hos_datas->{trt} eq "ADD" ) { + % param 'Name' => $hos_datas->{name} unless param 'Name'; + %= text_field 'Name', class => 'input' + % } else { + %= hidden_field 'Name' => $hos_datas->{name} + %= $hos_datas->{name}, class => 'data' + % } + +
-- - %=l 'DOMAIN', class => 'label' - - % if ( $hos_datas->{trt} eq "ADD" ) { - % param 'Domain' => $hos_datas->{domain} unless param 'Domain'; - %= select_field 'Domain', $c->domains_list(), class => 'input' - % } else { - %= hidden_field 'Domain' => $hos_datas->{domain} - %= $hos_datas->{domain}, class => 'data' - % } - -
++ + %= l 'DOMAIN', class => 'label' + + % if ( $hos_datas->{trt} eq "ADD" ) { + % param 'Domain' => $hos_datas->{domain} unless param 'Domain'; + %= select_field 'Domain', $c->domains_list(), class => 'input' + % } else { + %= hidden_field 'Domain' => $hos_datas->{domain} + %= $hos_datas->{domain}, class => 'data' + % } + +
-- - %= $c->l('COMMENT', ''); - - % param 'Comment' => $hos_datas->{comment} unless param 'Comment'; - %= text_field 'Comment', class => 'input' - -
++ + %= $c->l( 'COMMENT', '' ); + + % param 'Comment' => $hos_datas->{comment} unless param 'Comment'; + %= text_field 'Comment', class => 'input' + +
-- - %=l 'LOCATION', class => 'label' - - % param 'Hosttype' => $hos_datas->{hosttype} unless param 'Hosttype'; - %= select_field 'Hosttype', $c->hosttype_list(), class => 'input' - -
++ + %= l 'LOCATION', class => 'label' + + % param 'Hosttype' => $hos_datas->{hosttype} unless param 'Hosttype'; + %= select_field 'Hosttype', $c->hosttype_list(), class => 'input' + +
-
- %= submit_button "$btn", class => 'action'
-
+ %= submit_button "$btn", class => 'action'
+
- %=l 'hos_REMOTE_PAGE_DESCRIPTION' -
++ %= l 'hos_REMOTE_PAGE_DESCRIPTION' +
-- - %=l 'IP_ADDRESS_OR_FQDN', class => 'label' - - % param 'Externalip' => $hos_datas->{externalip} unless param 'Externalip'; - %= text_field 'Externalip', class => 'input' - -
++ + %= l 'IP_ADDRESS_OR_FQDN', class => 'label' + + % param 'Externalip' => $hos_datas->{externalip} unless param 'Externalip'; + %= text_field 'Externalip', class => 'input' + +
-
- %= submit_button "$btn", class => 'action'
-
+ %= submit_button "$btn", class => 'action'
+
-
- %= submit_button "$btn", class => 'action' -
+ % my $btn = l('REMOVE'); + %= form_for '/ibaysd' => ( method => 'POST' ) => begin ++
+ %= submit_button "$btn", class => 'action' +
- %= hidden_field 'trt' => $iba_datas->{trt} - %= hidden_field 'ibay' => $iba_datas->{ibay} + %= hidden_field 'trt' => $iba_datas->{trt} + %= hidden_field 'ibay' => $iba_datas->{ibay} - % end + % end
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
- %=l 'iba_FIRSTPAGE_DESC'
-
-
- %=l 'NAME' - | -- %=l 'DESCRIPTION' - | -- %=l 'ACTION' - | -
---|
+ %= l 'NAME' + | ++ %= l 'DESCRIPTION' + | ++ %= l 'ACTION' + | +
---|---|---|
- %my ($actionModify, $actionResetPw, $actionRemove) = ' '; - %if ($modifiable eq 'yes') { - %my $modify_text = l('MODIFY'); # Localized text - %my $csrf_token = "TOKEN"; # CSRF token for security - %my $ibays_entry_name = $ibay->key; # ibays_entry name extracted from the data structure - %$actionModify = qq{ - % - % - % - %}; - %} - - %if ($passwordable eq 'yes') { - %my $password_text = l('PASSWORD_RESET'); # Localized text - %my $csrf_token = "TOKEN"; # CSRF token for security - %my $ibays_entry_name = $ibay->key; # ibays_entry name extracted from the data structure - %if ($ibay->prop('PasswordSet') ne 'yes' && $needPassword) { - %$actionResetPw = qq{ - % - % - % - %}; - %} else { - %$actionResetPw = qq{ - % - % - % - %}; - %} - - %} + %= t td => ( class => 'sme-border' ) => $ibay->key + %= t td => ( class => 'sme-border' ) => $ibay->prop('Name') + | + % my ( $actionModify, $actionResetPw, $actionRemove ) = ' '; + % if ($modifiable eq 'yes') { + % my $modify_text = l('MODIFY'); # Localized text + % my $csrf_token = "TOKEN"; # CSRF token for security + % my $ibays_entry_name = $ibay->key; # ibays_entry name extracted from the data structure + % $actionModify = qq{ + % + % + % + % }; + % } - %if ($removable eq 'yes') { - %my $remove_text = l('REMOVE'); # Localized text - %my $csrf_token = "TOKEN"; # CSRF token for security - %my $ibays_entry_name = $ibay->key; # ibays_entry name extracted from the data structure - %$actionRemove = qq{ - % - % - % - %}; - %} - <%= $c->render_to_string(inline => $actionModify) %> - <%= $c->render_to_string(inline => $actionResetPw)%> - <%= $c->render_to_string(inline => $actionRemove) %> - | -
-
- - %=l 'PASSWORD_NEW', class => 'label' - - %= password_field 'newPass', class => 'input' , class=>'sme-password' - -
+ %= form_for '/ibaysd' => ( method => 'POST' ) => begin ++
- - %=l 'PASSWORD_VERIFY_NEW', class => 'label' - - %= password_field 'newPassVerify', class => 'input', class=>'sme-password' - -
+
-
- %= submit_button "$btn", class => 'action'
-
+ + %= l 'PASSWORD_NEW', class => 'label' + + %= password_field 'newPass', class => 'input', class => 'sme-password' + +
- %= hidden_field 'trt' => $iba_datas->{trt} - %= hidden_field 'ibay' => $iba_datas->{ibay} - - % end ++ + %= l 'PASSWORD_VERIFY_NEW', class => 'label' + + %= password_field 'newPassVerify', class => 'input', class => 'sme-password' + +
-
+
+ %= submit_button "$btn", class => 'action'
+
-
+
- - %=l 'iba_NAME_LABEL', class => 'label' - - % if ( $iba_datas->{trt} eq 'ADD' ) { - % param 'ibay' => $iba_datas->{ibay} unless param 'ibay'; - %= text_field 'ibay', class => 'input' - % } else { - % $btn = l('SAVE'); - %= $iba_datas->{ibay}, class => 'data' - % } - -
++ + %= l 'iba_NAME_LABEL', class => 'label' + + % if ( $iba_datas->{trt} eq 'ADD' ) { + % param 'ibay' => $iba_datas->{ibay} unless param 'ibay'; + %= text_field 'ibay', class => 'input' + % } else { + % $btn = l('SAVE'); + %= $iba_datas->{ibay}, class => 'data' + % } + +
-- - %=l 'DESCRIPTION', class => 'label' - - % param 'ibayDesc' => $iba_datas->{description} unless param 'ibayDesc'; - %= text_field 'ibayDesc', class => 'input' - -
++ + %= l 'DESCRIPTION', class => 'label' + + % param 'ibayDesc' => $iba_datas->{description} unless param 'ibayDesc'; + %= text_field 'ibayDesc', class => 'input' + +
-
-
- %=l 'GROUP'
-
- % param 'group' => $iba_datas->{group} unless param 'group';
- %= select_field 'group' => $c->group_list_m(), class => 'input'
-
-
-
+
+ %= l 'GROUP'
+
+ % param 'group' => $iba_datas->{group} unless param 'group';
+ %= select_field 'group' => $c->group_list_m(), class => 'input'
+
+
+
-
- %=l 'iba_USER_ACCESS'
-
- % param 'userAccess' => $iba_datas->{userAccess} unless param 'userAccess';
- %= select_field 'userAccess' => $c->userAccess_list_m(), class => 'input'
-
-
-
-
+
+ %= l 'iba_USER_ACCESS'
+
+ % param 'userAccess' => $iba_datas->{userAccess} unless param 'userAccess';
+ %= select_field 'userAccess' => $c->userAccess_list_m(), class => 'input'
-
-
- %=l 'iba_PUBLIC_ACCESS'
-
- % param 'publicAccess' => $iba_datas->{publicAccess} unless param 'publicAccess';
- %= select_field 'publicAccess' => $c->publicAccess_list_m(), class => 'input'
-
-
-
+
+
-
- %=l 'iba_ALLOW_DYNAMIC_CONTENT'
-
- % param 'CgiBin' => $iba_datas->{CgiBin} unless param 'CgiBin';
- %= select_field 'CgiBin' => [[ (l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => 'input'
-
-
-
+
+ %= l 'iba_PUBLIC_ACCESS'
+
+ % param 'publicAccess' => $iba_datas->{publicAccess} unless param 'publicAccess';
+ %= select_field 'publicAccess' => $c->publicAccess_list_m(), class => 'input'
+
+
+
-
- %=l 'iba_HTTPS_Only'
-
- % param 'SSL' => $iba_datas->{SSL} unless param 'SSL';
- %= select_field 'SSL' => [[ (l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => 'input'
-
-
-
+
+ %= l 'iba_ALLOW_DYNAMIC_CONTENT'
+
+ % param 'CgiBin' => $iba_datas->{CgiBin} unless param 'CgiBin';
+ %= select_field 'CgiBin' => [ [ ( l 'DISABLED' ) => 'disabled' ], [ ( l 'ENABLED' ) => 'enabled' ] ], class => 'input';
+
+
+
-
- %= submit_button $btn, class => 'action'
-
+
+ %= l 'iba_HTTPS_Only'
+
+ % param 'SSL' => $iba_datas->{SSL} unless param 'SSL';
+ %= select_field 'SSL' => [ [ ( l 'DISABLED' ) => 'disabled' ], [ ( l 'ENABLED' ) => 'enabled' ] ], class => 'input';
+
+
+
+
+ %= submit_button $btn, class => 'action'
+
- %= dumper { ret_data => \%ret } -
- % } + % if ($c->app->config->{debug}) { ++ %= dumper { ret_data => \%ret } +
+ % } - % if ($ret{ret} eq "") { - %=l "ln_FIRSTPAGE_DESC" - % } elsif (index($ret{ret},"SUCCESS") != -1) { -- %= dumper $c->current_route - %= dumper $c->stash("ret") -
- % } + % if (config->{debug} == 1) { ++ %= dumper $c->current_route + %= dumper $c->stash("ret") +
+ % } - %= form_for '/localnetworksb' => (method => 'POST') => begin -- %= $c->render_to_string(inline => l('ln_ADD_DESC')); -
-
- %= submit_button "$btn", class => 'action'
-
+ %= $c->render_to_string( inline => l('ln_ADD_DESC') ); +
+
+ %= submit_button "$btn", class => 'action'
+
+ % my $btn = l('REMOVE'); + % my $deletehosts = $ln_datas->{deletehosts}; + % my $subnet = $ln_datas->{subnet}; + % my $router = $ln_datas->{router}; + + % if (config->{debug} == 1) { ++ % } + + %= form_for '/localnetworkse' => ( method => 'POST' ) => begin +%= dumper $c->current_route %= dumper $c->stash("ret") %= dumper %$ln_datas %= dumper $deletehosts -+
+ %= l "ln_REMOVE_DESC" +
- %=l "ln_REMOVE_DESC" -
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
+ % if ($c->app->config->{debug}) { ++ % } - % if ($ret{ret} eq "") { - %=l "ln_FIRSTPAGE_DESC" - % } elsif (index($ret{ret},"SUCCESS") != -1) { -%= dumper { ret_data => \%ret } -- % } +
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
- %=l 'NETWORK' - | -- %=l 'ln_SUBNET_MASK' - | +
---|
+ %= l 'NETWORK' + | ++ %= l 'ln_SUBNET_MASK' + | -- %=l 'ln_NUMBER_OF_HOSTS' - | ++ %= l 'ln_NUMBER_OF_HOSTS' + | -- %=l 'ROUTER' - | ++ %= l 'ROUTER' + | -- %=l 'ACTION' - | -
---|---|---|---|---|---|---|
<%= $c->render_to_string(inline => $actionRemove) %> | -
+ %# + % if (config->{debug} == 1) { ++ % } + % my $btn = l('SAVE'); + % $c->param( Selected => undef ); #This may need deleting for a params panel - only needed for a table -%= dumper $mai_data -- % } - % my $btn = l('SAVE'); - % $c->param(Selected => undef); #This may need deleting for a params panel - only needed for a table +
- %=l 'mai_LABEL_POP_ACCESS_CONTROL' - - % param 'POPAccess' => $c->get_current_pop3_access() unless param 'POPAccess'; - %= select_field 'POPAccess' => $c->get_pop_opt(), class => 'input' -
++ %= l 'mai_LABEL_POP_ACCESS_CONTROL' + + % param 'POPAccess' => $c->get_current_pop3_access() unless param 'POPAccess'; + %= select_field 'POPAccess' => $c->get_pop_opt(), class => 'input' +
- %=l 'mai_DESC_IMAP_ACCESS_CONTROL' + %= l 'mai_DESC_IMAP_ACCESS_CONTROL' -- %=l 'mai_LABEL_IMAP_ACCESS_CONTROL' - - % param 'IMAPAccess' => $c->get_current_imap_access() unless param 'IMAPAccess'; - %= select_field 'IMAPAccess' => $c->get_imap_opt(), class => 'input' -
++ %= l 'mai_LABEL_IMAP_ACCESS_CONTROL' + + % param 'IMAPAccess' => $c->get_current_imap_access() unless param 'IMAPAccess'; + %= select_field 'IMAPAccess' => $c->get_imap_opt(), class => 'input' +
- %=l 'mai_DESC_WEBMAIL' + %= l 'mai_DESC_WEBMAIL' -- %=l 'mai_LABEL_WEBMAIL' - - % param 'WebMail' => $c->get_current_webmail_status() unless param 'WebMail'; - %= select_field 'WebMail' => $c->get_webmail_opt(), class => 'input' -
++ %= l 'mai_LABEL_WEBMAIL' + + % param 'WebMail' => $c->get_current_webmail_status() unless param 'WebMail'; + %= select_field 'WebMail' => $c->get_webmail_opt(), class => 'input' +
- %# .... - %# Probably finally by a submit. - %= submit_button $btn, class => 'action' - %end -+ %# + % if (config->{debug} == 1) { ++ % } + % my $btn = l('SAVE'); + % $c->param( Selected => undef ); #This may need deleting for a params panel - only needed for a table -%= dumper $mai_data -- % } - % my $btn = l('SAVE'); - % $c->param(Selected => undef); #This may need deleting for a params panel - only needed for a table +
- %=l 'mai_LABEL_UNKNOWN' - - % param 'EmailUnknownUser' => $mai_data->{emailunknownuser} unless param 'EmailUnknownUser'; - %= select_field 'EmailUnknownUser' => $c->get_emailunknownuser_opt(), class => 'input' -
++ %= l 'mai_LABEL_UNKNOWN' + + % param 'EmailUnknownUser' => $mai_data->{emailunknownuser} unless param 'EmailUnknownUser'; + %= select_field 'EmailUnknownUser' => $c->get_emailunknownuser_opt(), class => 'input' +
- -- %=l 'mai_LABEL_DELEGATE' - - % param 'DelegateMailServer' => $mai_data->{delegatemailserver} unless param 'DelegateMailServer'; - %= text_field 'DelegateMailServer', class => 'input' -
++ %= l 'mai_LABEL_DELEGATE' + + % param 'DelegateMailServer' => $mai_data->{delegatemailserver} unless param 'DelegateMailServer'; + %= text_field 'DelegateMailServer', class => 'input' +
- -- %=l 'mai_LABEL_SMARTHOST' - - % param 'SMTPSmartHost' => $mai_data->{smtpsmarthost} unless param 'SMTPSmartHost'; - %= text_field 'SMTPSmartHost', class => 'input' -
++ %= l 'mai_LABEL_SMARTHOST' + + % param 'SMTPSmartHost' => $mai_data->{smtpsmarthost} unless param 'SMTPSmartHost'; + %= text_field 'SMTPSmartHost', class => 'input' +
-- %=l 'mai_LABEL_SMARTHOST_SMTPAUTH_STATUS' - - % param 'SMTPAUTHPROXY_status' => $mai_data->{smtpauthproxystatus} unless param 'SMTPAUTHPROXY_status'; - %= select_field 'SMTPAUTHPROXY_status' => [[(l 'DISABLED') => 'disabled'], [(l 'ENABLED') => 'enabled']], class => 'input' -
++ %= l 'mai_LABEL_SMARTHOST_SMTPAUTH_STATUS' + + % param 'SMTPAUTHPROXY_status' => $mai_data->{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_data->{smtpauthproxyuserid} unless param 'SMTPAUTHPROXY_Userid'; - %= text_field 'SMTPAUTHPROXY_Userid', class => 'input' -
++ %= l 'mai_LABEL_SMARTHOST_SMTPAUTH_USERID' + + % param 'SMTPAUTHPROXY_Userid' => $mai_data->{smtpauthproxyuserid} unless param 'SMTPAUTHPROXY_Userid'; + %= text_field 'SMTPAUTHPROXY_Userid', class => 'input' +
-- %=l 'mai_LABEL_SMARTHOST_SMTPAUTH_PASSWD' - - % param 'SMTPAUTHPROXY_Passwd' => $mai_data->{smtpauthproxypassword} unless param 'SMTPAUTHPROXY_Passwd'; - %= password_field 'SMTPAUTHPROXY_Passwd', class => 'input' -
++ %= l 'mai_LABEL_SMARTHOST_SMTPAUTH_PASSWD' + + % param 'SMTPAUTHPROXY_Passwd' => $mai_data->{smtpauthproxypassword} unless param 'SMTPAUTHPROXY_Passwd'; + %= password_field 'SMTPAUTHPROXY_Passwd', class => 'input' +
- %# .... - %# Probably finally by a submit. - %= submit_button $btn, class => 'action' - %end -+ %# + % if (config->{debug} == 1) { ++ % } + % my $btn = l('SAVE'); + % $c->param( Selected => undef ); #This may need deleting for a params panel - only needed for a table -%= dumper $mai_data -- % } - % my $btn = l('SAVE'); - % $c->param(Selected => undef); #This may need deleting for a params panel - only needed for a table +
- %=l 'mai_LABEL_VIRUS_SCAN'
-
- % param 'VirusStatus' => $mai_data->{virusstatus} unless param 'VirusStatus';
- %= select_field 'VirusStatus' => [[(l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => 'input'
-
+ %= l 'mai_LABEL_VIRUS_SCAN'
+
+ % param 'VirusStatus' => $mai_data->{virusstatus} unless param 'VirusStatus';
+ %= select_field 'VirusStatus' => [ [ ( l 'DISABLED' ) => 'disabled' ], [ ( l 'ENABLED' ) => 'enabled' ] ], class => 'input';
+
- %=l 'mai_LABEL_SPAM_SCAN' - - % param 'Spamstatus' => $mai_data->{spamstatus} unless param 'Spamstatus'; - %= select_field 'Spamstatus' => [[(l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => 'input' -
++ %= l 'mai_LABEL_SPAM_SCAN' + + % param 'Spamstatus' => $mai_data->{spamstatus} unless param 'Spamstatus'; + %= select_field 'Spamstatus' => [ [ ( l 'DISABLED' ) => 'disabled' ], [ ( l 'ENABLED' ) => 'enabled' ] ], class => 'input'; +
-- %=l 'mai_LABEL_SPAM_SENSITIVITY' - - % param 'SpamSensitivity' => $mai_data->{spamsensitivity} unless param 'SpamSensitivity'; - %= select_field 'SpamSensitivity' => $c->get_spam_sensitivity_opt(), class => 'input' -
++ %= l 'mai_LABEL_SPAM_SENSITIVITY' + + % param 'SpamSensitivity' => $mai_data->{spamsensitivity} unless param 'SpamSensitivity'; + %= select_field 'SpamSensitivity' => $c->get_spam_sensitivity_opt(), class => 'input' +
-- %=l 'mai_LABEL_SPAM_TAGLEVEL' - - % param 'SpamTagLevel' => $mai_data->{spamtaglevel} unless param 'SpamTagLevel'; - %= select_field 'SpamTagLevel' => $c->get_spam_level_options(), class => 'input' -
++ %= l 'mai_LABEL_SPAM_TAGLEVEL' + + % param 'SpamTagLevel' => $mai_data->{spamtaglevel} unless param 'SpamTagLevel'; + %= select_field 'SpamTagLevel' => $c->get_spam_level_options(), class => 'input' +
-- %=l 'mai_LABEL_SPAM_REJECTLEVEL' - - % param 'SpamRejectLevel' => $mai_data->{spamrejectlevel} unless param 'SpamRejectLevel'; - %= select_field 'SpamRejectLevel' => $c->get_spam_level_options(), class => 'input' -
++ %= l 'mai_LABEL_SPAM_REJECTLEVEL' + + % param 'SpamRejectLevel' => $mai_data->{spamrejectlevel} unless param 'SpamRejectLevel'; + %= select_field 'SpamRejectLevel' => $c->get_spam_level_options(), class => 'input' +
-- %=l 'mai_LABEL_SORTSPAM' - - % param 'SpamSortSpam' => $mai_data->{spamsortspam} unless param 'SpamSortSpam'; - %= select_field 'SpamSortSpam' => [[(l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => 'input' -
++ %= l 'mai_LABEL_SORTSPAM' + + % param 'SpamSortSpam' => $mai_data->{spamsortspam} unless param 'SpamSortSpam'; + %= select_field 'SpamSortSpam' => [ [ ( l 'DISABLED' ) => 'disabled' ], [ ( l 'ENABLED' ) => 'enabled' ] ], class => 'input'; +
- %=l 'mai_DESC_SPAM_SUBJECT' + %= l 'mai_DESC_SPAM_SUBJECT' -- %=l 'mai_LABEL_SPAM_SUBJECTTAG' - - % param 'SpamSubjectTag' => $mai_data->{spamsubjecttag} unless param 'SpamSubjectTag'; - %= select_field 'SpamSubjectTag' => [[(l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => 'input' -
++ %= l 'mai_LABEL_SPAM_SUBJECTTAG' + + % param 'SpamSubjectTag' => $mai_data->{spamsubjecttag} unless param 'SpamSubjectTag'; + %= select_field 'SpamSubjectTag' => [ [ ( l 'DISABLED' ) => 'disabled' ], [ ( l 'ENABLED' ) => 'enabled' ] ], class => 'input'; +
-- %=l 'mai_LABEL_SPAM_SUBJECT' - - % param 'SpamSubject' => $mai_data->{spamsubject} unless param 'SpamSubject'; - %= text_field 'SpamSubject' => class => 'input' -
++ %= l 'mai_LABEL_SPAM_SUBJECT' + + % param 'SpamSubject' => $mai_data->{spamsubject} unless param 'SpamSubject'; + %= text_field 'SpamSubject' => class => 'input' +
- %=l 'mai_DESC_BLOCK_EXECUTABLE_CONTENT' + %= l 'mai_DESC_BLOCK_EXECUTABLE_CONTENT' -- %=l 'mai_LABEL_CONTENT_TO_BLOCK' - - % param 'BlockExecutableContent' => $c->get_patterns_current_opt() unless param 'BlockExecutableContent'; - %= select_field 'BlockExecutableContent' => $c->get_patterns_opt(), class => 'input', multiple => "1" -
++ %= l 'mai_LABEL_CONTENT_TO_BLOCK' + + % param 'BlockExecutableContent' => $c->get_patterns_current_opt() unless param 'BlockExecutableContent'; + %= select_field 'BlockExecutableContent' => $c->get_patterns_opt(), class => 'input', multiple => "1"; +
- %# .... - %# Probably finally by a submit. - %= submit_button $btn, class => 'action' - %end -+ %# + % if (config->{debug} == 1) { +%= dumper $mai_data- % } - % $c->param(Selected => undef); #This may need deleting for a params panel - only needed for a table - % my $btn = l('Modify'); -
-
- %=l 'mai_LABEL_POP_ACCESS_CONTROL' - - %= $c->get_current_pop3_access( TRUE ) -
+ + % } + % $c->param( Selected => undef ); #This may need deleting for a params panel - only needed for a table + % my $btn = l('Modify'); ++ %= l 'mai_LABEL_POP_ACCESS_CONTROL' + + %= $c->get_current_pop3_access(TRUE) +
-- %=l 'mai_LABEL_IMAP_ACCESS_CONTROL' - - %= $c->get_current_imap_access( TRUE ) -
++ %= l 'mai_LABEL_IMAP_ACCESS_CONTROL' + + %= $c->get_current_imap_access(TRUE) +
-- %=l 'mai_LABEL_WEBMAIL' - - %= $c->get_current_webmail_status( TRUE ) -
++ %= l 'mai_LABEL_WEBMAIL' + + %= $c->get_current_webmail_status(TRUE) +
-- %=l 'mai_LABEL_VIRUS_SCAN' - - %= $c->get_virus_status(TRUE) -
-- %=l 'mai_LABEL_SPAM_SCAN' - - %= $c->get_spam_status(TRUE) -
++ %= l 'mai_LABEL_VIRUS_SCAN' + + %= $c->get_virus_status(TRUE) +
-- %=l 'mai_LABEL_BLOCK_EXECUTABLE_CONTENT' - - %= $c->get_patterns_status(TRUE) -
++ %= l 'mai_LABEL_SPAM_SCAN' + + %= $c->get_spam_status(TRUE) +
-+ %= l 'mai_LABEL_BLOCK_EXECUTABLE_CONTENT' + + %= $c->get_patterns_status(TRUE) +
- %= hidden_field 'trt' => 'FIL' - % end -- %=l 'mai_LABEL_MODE' - - %= $mai_data->{fetchmailmethod} -
- - % my $smtp_mesg; + %= hidden_field 'trt' => 'FIL' + % end +- %= sprintf($smtp_mesg,$c->get_db_prop('qpsmtpd','TCPPort',25)); - - %= $c->get_current_smtp_auth( TRUE ) -
++ %= l 'mai_LABEL_MODE' + + %= $mai_data->{fetchmailmethod} +
- % $smtp_mesg=l('mai_SMTPS_SSL/TLS'); -- %= sprintf($smtp_mesg,$c->get_db_prop('sqpsmtpd','TCPPort',465)); - - %= $c->get_current_smtp_ssl_auth( TRUE, 's', FALSE ) -
+ % my $smtp_mesg; - % $smtp_mesg=l 'mai_Submission_port'; -- %= sprintf($smtp_mesg,$c->get_db_prop('uqpsmtpd','TCPPort',587)); - - %= $c->get_current_smtp_ssl_auth( TRUE,'u', FALSE ) -
-+ %= sprintf( $smtp_mesg, $c->get_db_prop( 'qpsmtpd', 'TCPPort', 25 ) ); + + %= $c->get_current_smtp_auth(TRUE) +
-+ %= sprintf( $smtp_mesg, $c->get_db_prop( 'sqpsmtpd', 'TCPPort', 465 ) ); + + %= $c->get_current_smtp_ssl_auth( TRUE, 's', FALSE ) +
- %= hidden_field 'trt' => 'REC' - % end -+ %= sprintf( $smtp_mesg, $c->get_db_prop( 'uqpsmtpd', 'TCPPort', 587 ) ); + + %= $c->get_current_smtp_ssl_auth( TRUE, 'u', FALSE ) +
+- %=l 'mai_LABEL_UNKNOWN' - - %= $c->get_emailunknownuser_status( TRUE ) -
+- %=l 'mai_LABEL_DELEGATE' - - %= $c->get_value('DelegateMailServer') -
+ %= hidden_field 'trt' => 'REC' + % end +- %=l 'mai_LABEL_SMARTHOST' - - %= $c->get_value('SMTPSmartHost') -
++ %= l 'mai_LABEL_UNKNOWN' + + %= $c->get_emailunknownuser_status(TRUE) +
-+ %= l 'mai_LABEL_DELEGATE' + + %= $c->get_value('DelegateMailServer') +
- %= hidden_field 'trt' => 'DEL' - % end -+ %= l 'mai_LABEL_SMARTHOST' + + %= $c->get_value('SMTPSmartHost') +
+ ++ %# + % if (config->{debug} == 1) { ++ % } + % my $btn = l('SAVE'); + % $c->param( Selected => undef ); #This may need deleting for a params panel - only needed for a table -%= dumper $mai_data -- % } - % my $btn = l('SAVE'); - % $c->param(Selected => undef); #This may need deleting for a params panel - only needed for a table +
- %=l 'mai_LABEL_MODE' - - % param 'FetchmailMethod' => $mai_data->{fetchmailmethod} unless param 'FetchmailMethod'; - - %= select_field 'FetchmailMethod' => $c->get_retrieval_opt(), class => 'input' -
+ + --> + %= select_field 'FetchmailMethod' => $c->get_retrieval_opt(), class => 'input' + - %#=l 'mai_DESC_SMTP_AUTH_CONTROL' -- %= sprintf($smtp_mesg,$c->get_db_prop('qpsmtpd','TCPPort',25)); - - % param 'SMTPAuth' => $c->get_current_smtp_auth( FALSE ) unless param 'SMTPAuth'; - - %= select_field 'SMTPAuth' => $c->get_smtp_auth_opt(), class => 'input' -
+ + --> + %= select_field 'SMTPAuth' => $c->get_smtp_auth_opt(), class => 'input' + - % my $smtp_mesg=l('SMTPS SSL/TLS auth: port %u status:'); -- %= sprintf($smtp_mesg,$c->get_db_prop('sqpsmtpd','TCPPort',465)); - - % param 'sSMTPAuth' => $c->get_current_smtp_ssl_auth(FALSE,'s', TRUE) unless param 'sSMTPAuth'; - - %= select_field 'sSMTPAuth' => $c->get_smtp_ssl_auth_opt(), class => 'input' -
+ % my $smtp_mesg = l('SMTPS SSL/TLS auth: port %u status:'); +
+ %= sprintf( $smtp_mesg, $c->get_db_prop( 'sqpsmtpd', 'TCPPort', 465 ) );
+
+ % param 'sSMTPAuth' => $c->get_current_smtp_ssl_auth( FALSE, 's', TRUE ) unless param 'sSMTPAuth';
- %my $smtp_mesg=l('Submission port %u status:');
-
- %= sprintf($smtp_mesg,$c->get_db_prop('uqpsmtpd','TCPPort',587));
-
- % param 'uSMTPAuth' => $c->get_current_smtp_ssl_auth(FALSE,'u', TRUE) unless param 'uSMTPAuth';
-
- %= select_field 'uSMTPAuth' => $c->get_smtp_ssl_auth_opt(), class => 'input'
-
- %=l 'mai_LABEL_SECONDARY' - - % param 'SecondaryMailServer' => $mai_data->{secondarymailserver} unless param 'SecondaryMailServer'; - %= text_field 'SecondaryMailServer', class => 'input' -
++ %= l 'mai_LABEL_SECONDARY' + + % param 'SecondaryMailServer' => $mai_data->{secondarymailserver} unless param 'SecondaryMailServer'; + %= text_field 'SecondaryMailServer', class => 'input' +
- %=l 'mai_DESC_FETCH_PERIOD' + %= l 'mai_DESC_FETCH_PERIOD' -- %=l 'mai_LABEL_FETCH_PERIOD' - - % param 'FreqOffice' => $mai_data->{freqoffice} unless param 'FreqOffice'; - %= select_field 'FreqOffice' => $c->fetchmail_freq(), class => 'input' -
++ %= l 'mai_LABEL_FETCH_PERIOD' + + % param 'FreqOffice' => $mai_data->{freqoffice} unless param 'FreqOffice'; + %= select_field 'FreqOffice' => $c->fetchmail_freq(), class => 'input' +
-- %=l 'mai_LABEL_FETCH_PERIOD_NIGHTS' - - % param 'FreqOutside' => $mai_data->{freqoutside} unless param 'FreqOutside'; - %= select_field 'FreqOutside' => $c->fetchmail_freq(), class => 'input' -
++ %= l 'mai_LABEL_FETCH_PERIOD_NIGHTS' + + % param 'FreqOutside' => $mai_data->{freqoutside} unless param 'FreqOutside'; + %= select_field 'FreqOutside' => $c->fetchmail_freq(), class => 'input' +
-- %=l 'mai_LABEL_FETCH_PERIOD_WEEKENDS' - - % param 'FreqWeekend' => $mai_data->{freqweekend} unless param 'FreqWeekend'; - %= select_field 'FreqWeekend' => $c->fetchmail_freq(), class => 'input' -
++ %= l 'mai_LABEL_FETCH_PERIOD_WEEKENDS' + + % param 'FreqWeekend' => $mai_data->{freqweekend} unless param 'FreqWeekend'; + %= select_field 'FreqWeekend' => $c->fetchmail_freq(), class => 'input' +
-- %=l 'mai_LABEL_POP_ACCOUNT' - - % param 'SecondaryMailAccount' => $mai_data->{secondarymailaccount} unless param 'SecondaryMailAccount'; - %= text_field 'SecondaryMailAccount', class => 'input' -
++ %= l 'mai_LABEL_POP_ACCOUNT' + + % param 'SecondaryMailAccount' => $mai_data->{secondarymailaccount} unless param 'SecondaryMailAccount'; + %= text_field 'SecondaryMailAccount', class => 'input' +
-- %=l 'mai_LABEL_POP_PASS' - - % param 'SecondaryMailPassword' => $mai_data->{secondarymailpassword} unless param 'SecondaryMailPassword'; - %= password_field 'SecondaryMailPassword', class => 'input' -
++ %= l 'mai_LABEL_POP_PASS' + + % param 'SecondaryMailPassword' => $mai_data->{secondarymailpassword} unless param 'SecondaryMailPassword'; + %= password_field 'SecondaryMailPassword', class => 'input' +
-- %=l 'mai_LABEL_SORT_METHOD' - - % param 'SpecifyHeader' => $mai_data->{specifyheader} unless param 'SpecifyHeader'; - %= select_field 'SpecifyHeader' => [[(l 'mai_DEFAULT') => 'off'], [(l 'mai_SPECIFY_BELOW') => 'on']], class => 'input' -
++ %= l 'mai_LABEL_SORT_METHOD' + + % param 'SpecifyHeader' => $mai_data->{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_data->{secondarymailenvelope} unless param 'SecondaryMailEnvelope'; - %= text_field 'SecondaryMailEnvelope', class => 'input' -
++ %= l 'mai_LABEL_SORT_HEADER' + + % param 'SecondaryMailEnvelope' => $mai_data->{secondarymailenvelope} unless param 'SecondaryMailEnvelope'; + %= text_field 'SecondaryMailEnvelope', class => 'input' +
- %# .... - %# Probably finally by a submit. - %= submit_button $btn, class => 'action' - %end -< %= $title % >
< %= $title % >
- %= link_to Welcome => '/' -
+ Aliquam autem blandit decet in jus loquor quidne saluto te. Eu meus voco wisi. Abico defui euismod huic jumentum lobortis mos vulpes. Causa eros feugiat hendrerit illum luctus nimis quidem valetudo. Elit ex obruo tation usitas vero. Abigo dolus hendrerit huic iriure jumentum letalis lobortis melior nulla. Blandit causa immitto iriure metuo nutus pagus ut voco. ++ %= link_to Welcome => '/' +
+ % if ($c->app->config->{debug}) { ++ % } - % if ($ret{ret} eq "") { + % if ($ret{ret} eq "") { - % } elsif (index($ret{ret},"SUCCESS") != -1) { -%= dumper { ret_data => \%ret } -- % } +
- %=l "pf_SUMMARY_ADD_DESC" -
-
- %= submit_button "$btn", class => 'action'
-
+ %= l "pf_SUMMARY_ADD_DESC" +
+
+ %= submit_button "$btn", class => 'action'
+
+ % my $btn = l('REMOVE'); + % my $proto = $pf_datas->{proto}; + % my $sport = $pf_datas->{sport}; + % my $dport = $pf_datas->{dport}; + % my $dhost = $pf_datas->{dhost}; + % my $cmmnt = $pf_datas->{cmmnt}; + % my $allow = $pf_datas->{allow}; + + % if (config->{debug} == 1) { ++ % } - %end + %= form_for '/portforwardinge' => ( method => 'POST' ) => begin +%= dumper $c->current_route %= dumper $c->stash("ret") %= dumper %$pf_datas -- % } - - %= form_for '/portforwardinge' => (method => 'POST') => begin -
- %= l "pf_SUMMARY_REMOVE_DESC" -
- - %=l "pf_LABEL_PROTOCOL" - - %=$proto -
- - %=l "pf_LABEL_SOURCE_PORT" - - %=$sport -
- - %=l "pf_LABEL_DESTINATION_HOST" - - - %=$dport -
- - %=l "pf_LABEL_DESTINATION_PORT" - - - %=$dhost -
- - %=l "pf_RULE_COMMENT" - - - %=$cmmnt -
- - %=l "pf_ALLOW_HOSTS" - - - %=$allow -
- %#} - %= hidden_field sport=>$sport - %= hidden_field proto=>$proto -
- %= submit_button "$btn", class => 'action' - +
+ % if ($c->app->config->{debug}) { ++ % } - % if ($ret{ret} eq "") { - %=l "pf_FIRST_PAGE_DESCRIPTION" - % } elsif (index($ret{ret},"SUCCESS") != -1) { -%= dumper { ret_data => \%ret } -- % } +
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
- %=l 'pf_LABEL_PROTOCOL' - | -- %=l 'pf_LABEL_SOURCE_PORT' - | -- %=l 'pf_LABEL_DESTINATION_HOST' - | -- %=l 'pf_LABEL_DESTINATION_PORT' - | -- %=l 'pf_ALLOW_HOSTS' - | -- %=l 'pf_RULE_COMMENT' - | -- %=l 'ACTION' - | -
---|
+ %= l 'pf_LABEL_PROTOCOL' + | ++ %= l 'pf_LABEL_SOURCE_PORT' + | ++ %= l 'pf_LABEL_DESTINATION_HOST' + | ++ %= l 'pf_LABEL_DESTINATION_PORT' + | ++ %= l 'pf_ALLOW_HOSTS' + | ++ %= l 'pf_RULE_COMMENT' + | ++ %= l 'ACTION' + | +
---|---|---|---|---|---|---|
- %my $remove_text = l('REMOVE'); # Localized text - %my $csrf_token = "TOKEN"; # CSRF token for security - %my $actionRemove = qq{ - % - % - % - %}; - <%= $c->render_to_string(inline => $actionRemove) %> - | -
-
+
- - %=l 'prt_PRINTER_NAME', class => 'label' - - %= text_field 'Name', class => 'input' - -
++ + %= l 'prt_PRINTER_NAME', class => 'label' + + %= text_field 'Name', class => 'input' + +
-- - %=l 'DESCRIPTION_BRIEF', class => 'label' - - %= text_field 'Description', class => 'input' - -
++ + %= l 'DESCRIPTION_BRIEF', class => 'label' + + %= text_field 'Description', class => 'input' + +
-- - %=l 'LOCATION', class => 'label' - - %= select_field 'Location' => $c->printerLocation_list(), class => 'input' - -
++ + %= l 'LOCATION', class => 'label' + + %= select_field 'Location' => $c->printerLocation_list(), class => 'input' + +
-
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
-
- %=l 'NAME' - | -- %=l 'DESCRIPTION' - | -- %=l 'LOCATION' - | -- %=l 'prt_REMOTE_ADDRESS' - | -- %=l 'prt_REMOTE_NAME' - | -- %=l 'ACTION' - | -
---|
- %my $remove_text = l('REMOVE'); # Localized text - %my $csrf_token = "TOKEN"; # CSRF token for security - %my $printer_name = $printer->key; - %my $actionRemove = qq{ - % - % - % - %}; - <%= $c->render_to_string(inline => $actionRemove) %> - | -
-
- - %=l 'prt_HOSTNAME_OR_IP', class => 'label' - - %= text_field 'Address', class => 'input' - -
+ %= form_for '/printers2' => ( method => 'POST' ) => begin ++
- - %=l 'prt_REMOTE_NAME_DESC', class => 'label' - - %= text_field 'RemoteName' => 'raw', class => 'input' - -
+
-
- %= submit_button "$btn", class => 'action'
-
+ + %= l 'prt_HOSTNAME_OR_IP', class => 'label' + + %= text_field 'Address', class => 'input' + +
- %= hidden_field 'trt' => $prt_datas->{trt} - %= hidden_field 'Name' => $prt_datas->{name} - %= hidden_field 'Description' => $prt_datas->{description} - %= hidden_field 'Location' => $prt_datas->{location} - - % end ++ + %= l 'prt_REMOTE_NAME_DESC', class => 'label' + + %= text_field 'RemoteName' => 'raw', class => 'input' + +
+ +
+
+ %= submit_button "$btn", class => 'action'
+
-
+
- - %=l 'pse_PSEUDONYM_NAME', class => 'label' - - %= text_field 'Pseudonym', class => 'input' - -
++ + %= l 'pse_PSEUDONYM_NAME', class => 'label' + + %= text_field 'Pseudonym', class => 'input' + +
-- - %=l 'pse_SELECT_ACCOUNT', class => 'label' - - %= select_field 'Account' => $c->existing_accounts_list(), class => 'input' - -
++ + %= l 'pse_SELECT_ACCOUNT', class => 'label' + + %= select_field 'Account' => $c->existing_accounts_list(), class => 'input' + +
-
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
-
+
- %= $c->render_to_string(inline => l('pse_ABOUT_TO_REMOVE', $pse_datas->{pseudonym})); +
+ %= $c->render_to_string( inline => l( 'pse_ABOUT_TO_REMOVE', $pse_datas->{pseudonym} ) ); -
+ -
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
- %= submit_button "$btn", class => 'action'
-
+ %= submit_button "$btn", class => 'action'
+
- %=l 'pse_PSEUDONYM' - | -- %=l 'pse_USER_OR_GROUP' - | -- %=l 'ACTION' - | - -
---|
+ %= l 'pse_PSEUDONYM' + | ++ %= l 'pse_USER_OR_GROUP' + | ++ %= l 'ACTION' + | + +- %my ($actionModify, $actionRemove) = ' '; - %if ($modifiable eq 'yes') { - %my $modify_text = l('MODIFY'); # Localized text - %my $csrf_token = "TOKEN"; # CSRF token for security - %my $pseudonyms_entry_name = $pseudonym->key; # pseudonyms_entry name extracted from the data structure - %$actionModify = qq{ - % - % - % - %}; - %} + % foreach my $pseudonym (@$pseudonyms) + % { + % my $modifiable = $pseudonym->prop('Changeable') || 'yes'; + % my $removable = $pseudonym->prop('Removable') || 'yes'; - %if ($removable eq 'yes') { - %my $remove_text = l('REMOVE'); # Localized text - %my $csrf_token = "TOKEN"; # CSRF token for security - %my $pseudonyms_entry_name = $pseudonym->key; # pseudonyms_entry name extracted from the data structure - %$actionRemove = qq{ - % - % - % - %}; - %} - <%= $c->render_to_string(inline => $actionModify) %> <%= $c->render_to_string(inline => $actionRemove) %> + % my $account = $pseudonym->prop('Account'); + % $account = "Administrator" if ( $account eq "admin" ); + % $account = $c->l("pse_EVERYONE") if ( $account eq "shared" ); - | - - % } - -
---|
-
+
- - %=l 'pse_PSEUDONYM_NAME', class => 'label' - - %= $pse_datas->{pseudonym}, class => 'data' - -
++ + %= l 'pse_PSEUDONYM_NAME', class => 'label' + + %= $pse_datas->{pseudonym}, class => 'data' + +
-- - %=l 'pse_SELECT_ACCOUNT', class => 'label' - - % param 'Account' => $pse_datas->{account} unless param 'Account'; - %= select_field 'Account' => $c->existing_accounts_list(), class => 'input' - -
++ + %= l 'pse_SELECT_ACCOUNT', class => 'label' + + % param 'Account' => $pse_datas->{account} unless param 'Account'; + %= select_field 'Account' => $c->existing_accounts_list(), class => 'input' + +
- %if ( $c->is_pseudonym_not_removable( $pse_datas->{pseudonym} ) ) { + % if ( $c->is_pseudonym_not_removable( $pse_datas->{pseudonym} ) ) { -- - %=l 'pse_SELECT_INTERNAL', class => 'label' - - % param 'Internal' => $pse_datas->{internal} unless param 'Internal'; - %= select_field 'Internal' => [ [(l 'YES') => 'YES'], [(l 'NO') => 'NO'] ], class => 'input' - -
++ + %= l 'pse_SELECT_INTERNAL', class => 'label' + + % param 'Internal' => $pse_datas->{internal} unless param 'Internal'; + %= select_field 'Internal' => [ [ ( l 'YES' ) => 'YES' ], [ ( l 'NO' ) => 'NO' ] ], class => 'input'; + +
- %} - -- %= submit_button "$btn", class => 'action' -
+ % } - %= hidden_field 'trt' => $pse_datas->{trt} - %= hidden_field 'Pseudonym' => $pse_datas->{pseudonym} - - %end ++ %= submit_button "$btn", class => 'action' +
+ + %= hidden_field 'trt' => $pse_datas->{trt} + %= hidden_field 'Pseudonym' => $pse_datas->{pseudonym} + + % end- % my $modul = $c->render_to_string(inline => $c->l('quo_QUOTA_DESC')); - %= $modul - -
+ % my $modul = $c->render_to_string( inline => $c->l('quo_QUOTA_DESC') );
+ %= $modul
-
- % my $numUsers = @$userAccounts;
- % if ($numUsers == 0){
- %=l 'ACCOUNT_USER_NONE'
- % } else {
+
- %=l 'ACCOUNT' - | -- %=l 'USER_NAME' - | -- %= $limit - | -- %= $absolute - | -- %= $current - | -- %=l 'ACTION' - | -
---|
- %my $modify_text = l('MODIFY'); # Localized text - %my $csrf_token = "TOKEN"; # CSRF token for security - %my $quota_user_name = $user->key; # quotas_entry name extracted from the data structure - %my $actionModify = qq{ - % - % - % - %}; - <%= $c->render_to_string(inline => $actionModify) %> - | -
-
+
- %=l 'quo_USER' - %= "$name (\"$userid\")" - %=l 'quo_CURRENTLY_HAS' - %= $ic - %=l 'quo_FILES' - %=l 'quo_OCCUPYING' - %= $c->toMB($bc) - %=l 'quo_MEGABYTES' -
- -- %=l 'quo_INSTRUCTIONS' -
++ %= l 'quo_USER' + %= "$name (\"$userid\")" + %= l 'quo_CURRENTLY_HAS' + %= $ic + %= l 'quo_FILES' + %= l 'quo_OCCUPYING' + %= $c->toMB($bc) + %= l 'quo_MEGABYTES' +
-- - %=l 'quo_USER', class => 'label' - - %= $name, class => 'input' - -
++ %= l 'quo_INSTRUCTIONS' +
-- - %=l 'quo_LIMIT_WITH_GRACE', class => 'label' - - % param 'Soft' => $quo_datas->{softlim} unless param 'Soft'; - %= text_field 'Soft', class => 'input' - -
++ + %= l 'quo_USER', class => 'label' + + %= $name, class => 'input' + +
-- - %=l 'quo_ABS_LIMIT', class => 'label' - - % param 'Hard' => $quo_datas->{hardlim} unless param 'Hard'; - %= text_field 'Hard', class => 'input' - -
++ + %= l 'quo_LIMIT_WITH_GRACE', class => 'label' + + % param 'Soft' => $quo_datas->{softlim} unless param 'Soft'; + %= text_field 'Soft', class => 'input' + +
-
-
- %= submit_button "$btn", class => 'action'
-
+ + %= l 'quo_ABS_LIMIT', class => 'label' + + % param 'Hard' => $quo_datas->{hardlim} unless param 'Hard'; + %= text_field 'Hard', class => 'input' + +
- %= hidden_field 'trt' => $quo_datas->{trt} - %= hidden_field 'user' => $quo_datas->{user} - - % end +
+
+ %= submit_button "$btn", class => 'action'
+
-
+
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
- %= $c->render_to_string(inline => $c->l('usr_FIRSTPAGE_DESC'))
-
-
- %=l 'ACCOUNT' - | -- %=l 'USER_NAME' - | -- %=l 'usr_VPN_CLIENT_ACCESS' - | -- %=l 'usr_FORWARDING_ADDRESS' - | -- %=l 'ACTION' - | -
---|
+ %= l 'ACCOUNT' + | ++ %= l 'USER_NAME' + | ++ %= l 'usr_VPN_CLIENT_ACCESS' + | ++ %= l 'usr_FORWARDING_ADDRESS' + | ++ %= l 'ACTION' + | +
---|---|---|---|---|
- <%= $c->render_to_string(inline => $actionModify) %> - <%= $c->render_to_string(inline => $actionResetPw) %> - <%= $c->render_to_string(inline => $actionLock) %> - <%= $c->render_to_string(inline => $actionRemove) %> - <%= $c->render_to_string(inline => $actionroundcube) %> - | -
-
+
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
-
- % my $strength = uc($usr_datas->{passwdstrength});
- <%= $c->render_to_string( inline => l('usr_'.$strength.'_PASSWORD_DESCRIPTION',$usr_datas->{passwdlength})) %>
-
- <%= $c->render_to_string( inline => l('usr_PASSWORD_WIKI')) %>
+ %= form_for '/useraccountsd' => ( method => 'POST' ) => begin
+
+
+ % my $strength = uc( $usr_datas->{passwdstrength} );
+ <%= $c->render_to_string( inline => l( 'usr_' . $strength . '_PASSWORD_DESCRIPTION', $usr_datas->{passwdlength} ) ); %>
+
+ <%= $c->render_to_string( inline => l('usr_PASSWORD_WIKI') ) %>
- - %=l 'PASSWORD_NEW', class => 'label' - - %= password_field 'newPass', class => 'input', class=>'sme-password' - -
++ + %= l 'PASSWORD_NEW', class => 'label' + + %= password_field 'newPass', class => 'input', class => 'sme-password' + +
-- - %=l 'PASSWORD_VERIFY_NEW', class => 'label' - - %= password_field 'newPassVerify', class => 'input', class=>'sme-password' - -
++ + %= l 'PASSWORD_VERIFY_NEW', class => 'label' + + %= password_field 'newPassVerify', class => 'input', class => 'sme-password' + +
-
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
- %= l 'usr_SYSTEM_PASSWORD_DESCRIPTION' -
- -
- % my $strength = uc($usr_datas->{passwdstrength});
- <%= $c->render_to_string( inline => l('usr_'.$strength.'_PASSWORD_DESCRIPTION',$usr_datas->{passwdlength})) %>
-
- <%= $c->render_to_string( inline => l('usr_PASSWORD_WIKI')) %>
+ %= form_for '/useraccountsd' => ( method => 'POST' ) => begin
+
+ %= l 'usr_SYSTEM_PASSWORD_DESCRIPTION' +
+ +
+ % my $strength = uc( $usr_datas->{passwdstrength} );
+ <%= $c->render_to_string( inline => l( 'usr_' . $strength . '_PASSWORD_DESCRIPTION', $usr_datas->{passwdlength} ) ); %>
+
+ <%= $c->render_to_string( inline => l('usr_PASSWORD_WIKI') ) %>
- - %=l 'usr_CURRENT_SYSTEM_PASSWORD', class => 'label' - - %= password_field 'CurPass', class => 'input', class=>'sme-password' - -
++ + %= l 'usr_CURRENT_SYSTEM_PASSWORD', class => 'label' + + %= password_field 'CurPass', class => 'input', class => 'sme-password' + +
-- - %=l 'usr_NEW_SYSTEM_PASSWORD', class => 'label' - - %= password_field 'Pass', class => 'input', class=>'sme-password' - -
++ + %= l 'usr_NEW_SYSTEM_PASSWORD', class => 'label' + + %= password_field 'Pass', class => 'input', class => 'sme-password' + +
-- - %=l 'usr_NEW_SYSTEM_PASSWORD_VERIFY', class => 'label' - - %= password_field 'PassVerify', class => 'input', class=>'sme-password' - -
++ + %= l 'usr_NEW_SYSTEM_PASSWORD_VERIFY', class => 'label' + + %= password_field 'PassVerify', class => 'input', class => 'sme-password' + +
-
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
-
+
- - %=l 'usr_ACCOUNT_NAME' - - % if ( $usr_datas->{trt} eq 'ADD' ) { - % param 'user' => $usr_datas->{user} unless param 'user'; - %= text_field 'user', class => 'input' - % } else { - % $btn = l('SAVE'); - %= $usr_datas->{user}, class => 'data' - % } - -
++ + %= l 'usr_ACCOUNT_NAME' + + % if ( $usr_datas->{trt} eq 'ADD' ) { + % param 'user' => $usr_datas->{user} unless param 'user'; + %= text_field 'user', class => 'input' + % } else { + % $btn = l('SAVE'); + %= $usr_datas->{user}, class => 'data' + % } + +
-- - %=l 'usr_FIRSTNAME' - - % param 'FirstName' => $usr_datas->{firstname} unless param 'FirstName'; - %= text_field 'FirstName', class => 'input' - -
-- - %=l 'usr_LASTNAME' - - % param 'LastName' => $usr_datas->{lastname} unless param 'LastName'; - %= text_field 'LastName', class => 'input' - -
++ + %= l 'usr_FIRSTNAME' + + % param 'FirstName' => $usr_datas->{firstname} unless param 'FirstName'; + %= text_field 'FirstName', class => 'input' + +
++ + %= l 'usr_LASTNAME' + + % param 'LastName' => $usr_datas->{lastname} unless param 'LastName'; + %= text_field 'LastName', class => 'input' + +
-- - %=l 'usr_DEPARTMENT' - - % param 'Dept' => $usr_datas->{dept} unless param 'Dept'; - %= text_field 'Dept', class => 'input' - -
-- - %=l 'usr_COMPANY' - - % param 'Company' => $usr_datas->{company} unless param 'Company'; - %= text_field 'Company', class => 'input' - -
-- - %=l 'usr_STREET_ADDRESS' - - % param 'Street' => $usr_datas->{street} unless param 'Street'; - %= text_field 'Street', class => 'input' - -
-- - %=l 'usr_CITY' - - % param 'City' => $usr_datas->{city} unless param 'City'; - %= text_field 'City', class => 'input' - -
-- - %=l 'usr_PHONE_NUMBER' - - % param 'Phone' => $usr_datas->{phone} unless param 'Phone'; - %= text_field 'Phone', class => 'input' - -
-- - %=l 'usr_EMAIL_DELIVERY' - - % param 'EmailForward' => $usr_datas->{emailforward} unless param 'EmailForward'; - %= select_field 'EmailForward' => $c->emailForward_list(), class => 'input' - -
-- - %=l 'usr_FORWARDING_ADDRESS' - - % param 'ForwardAddress' => $usr_datas->{forwardaddress} unless param 'ForwardAddress'; - %= text_field 'ForwardAddress', class => 'input' - -
++ + %= l 'usr_DEPARTMENT' + + % param 'Dept' => $usr_datas->{dept} unless param 'Dept'; + %= text_field 'Dept', class => 'input' + +
++ + %= l 'usr_COMPANY' + + % param 'Company' => $usr_datas->{company} unless param 'Company'; + %= text_field 'Company', class => 'input' + +
++ + %= l 'usr_STREET_ADDRESS' + + % param 'Street' => $usr_datas->{street} unless param 'Street'; + %= text_field 'Street', class => 'input' + +
++ + %= l 'usr_CITY' + + % param 'City' => $usr_datas->{city} unless param 'City'; + %= text_field 'City', class => 'input' + +
++ + %= l 'usr_PHONE_NUMBER' + + % param 'Phone' => $usr_datas->{phone} unless param 'Phone'; + %= text_field 'Phone', class => 'input' + +
++ + %= l 'usr_EMAIL_DELIVERY' + + % param 'EmailForward' => $usr_datas->{emailforward} unless param 'EmailForward'; + %= select_field 'EmailForward' => $c->emailForward_list(), class => 'input' + +
++ + %= l 'usr_FORWARDING_ADDRESS' + + % param 'ForwardAddress' => $usr_datas->{forwardaddress} unless param 'ForwardAddress'; + %= text_field 'ForwardAddress', class => 'input' + +
-- - %=l 'usr_VPN_CLIENT_ACCESS' - - % param 'VPNClientAccess' => $usr_datas->{vpnclientaccess} unless param 'VPNClientAccess'; - %= select_field 'VPNClientAccess' => [[ (l 'NO') => 'no'], [ (l 'YES') => 'yes']], class => 'input' - -
++ + %= l 'usr_VPN_CLIENT_ACCESS' + + % param 'VPNClientAccess' => $usr_datas->{vpnclientaccess} unless param 'VPNClientAccess'; + %= select_field 'VPNClientAccess' => [ [ ( l 'NO' ) => 'no' ], [ ( l 'YES' ) => 'yes' ] ], class => 'input'; + +
- % if ( $usr_datas->{trt} eq 'UPD' and $c->ipsec_for_acct eq 'OK' ) { - % my $btn2 = $c->l('DOWNLOAD'); - %= form_for '/useraccountso' => (method => 'POST') => begin -- - %=l 'usr_LABEL_IPSECRW_DOWNLOAD' - - %= submit_button $btn2, class => 'action' - -
- %= hidden_field 'trt' => 'CRT' - %= hidden_field 'user' => $usr_datas->{user} - %end - % } - - % my @groups = @{$c->get_groups()}; - % if ( @groups ) { -
-
- %=l 'usr_GROUP_MEMBERSHIPS'
-
-
-
-
-
-
-
-
- % foreach my $g ( @groups) {
- % my $user = $usr_datas->{user};
- % my $groupname = $g->key();
- % my $description = $g->prop('Description');
- % my $checked = '';
- % if ( $user and $c->is_user_in_group($user, $groupname) ) {
- % $checked = 'checked';
- % }
-
- %=l 'usr_MEMBER'
-
- %=l 'GROUP'
-
- %=l 'DESCRIPTION'
-
-
-
- % }
-
-
- % if ( $checked eq 'checked' ) {
-
-
- %} else {
- %= check_box 'groupMemberships' => $groupname
- %}
-
-
- %= t td => (class => 'sme-border') => $groupname
- %= t td => (class => 'sme-border') => "$description"
-
-
- %= submit_button $btn, class => 'action'
-
+ + %= l 'usr_LABEL_IPSECRW_DOWNLOAD' + + %= submit_button $btn2, class => 'action' + +
+ %= hidden_field 'trt' => 'CRT' + %= hidden_field 'user' => $usr_datas->{user} % end + % } + + % my @groups = @{ $c->get_groups() }; + % if ( @groups ) { +
+
+ %= l 'usr_GROUP_MEMBERSHIPS'
+
+
+
+
+
+
+
+
+ % foreach my $g ( @groups) {
+ % my $user = $usr_datas->{user};
+ % my $groupname = $g->key();
+ % my $description = $g->prop('Description');
+ % my $checked = '';
+ % if ( $user and $c->is_user_in_group($user, $groupname) ) {
+ % $checked = 'checked';
+ % }
+
+ %= l 'usr_MEMBER'
+
+ %= l 'GROUP'
+
+ %= l 'DESCRIPTION'
+
+
+
+ % }
+
+
+ % if ( $checked eq 'checked' ) {
+
+
+ % } else {
+ %= check_box 'groupMemberships' => $groupname
+ % }
+
+
+ %= t td => ( class => 'sme-border' ) => $groupname
+ %= t td => ( class => 'sme-border' ) => "$description"
+
+
+ %= submit_button $btn, class => 'action'
+
-
+
- - %=l 'usr_ACCOUNT_NAME' - - % $btn = l('SAVE'); - %= $usr_datas->{user}, class => 'data' - -
++ + %= l 'usr_ACCOUNT_NAME' + + % $btn = l('SAVE'); + %= $usr_datas->{user}, class => 'data' + +
-- - %=l 'usr_FIRSTNAME' - - % param 'FirstName' => $usr_datas->{firstname} unless param 'FirstName'; - %= text_field 'FirstName', class => 'input' - -
-- - %=l 'usr_LASTNAME' - - % param 'LastName' => $usr_datas->{lastname} unless param 'LastName'; - %= text_field 'LastName', class => 'input' - -
++ + %= l 'usr_FIRSTNAME' + + % param 'FirstName' => $usr_datas->{firstname} unless param 'FirstName'; + %= text_field 'FirstName', class => 'input' + +
++ + %= l 'usr_LASTNAME' + + % param 'LastName' => $usr_datas->{lastname} unless param 'LastName'; + %= text_field 'LastName', class => 'input' + +
-- - %=l 'usr_EMAIL_DELIVERY' - - % param 'EmailForward' => $usr_datas->{emailforward} unless param 'EmailForward'; - %= select_field 'EmailForward' => $c->emailForward_list(), class => 'input' - -
-- - %=l 'usr_FORWARDING_ADDRESS' - - % param 'ForwardAddress' => $usr_datas->{forwardaddress} unless param 'ForwardAddress'; - %= text_field 'ForwardAddress', class => 'input' - -
++ + %= l 'usr_EMAIL_DELIVERY' + + % param 'EmailForward' => $usr_datas->{emailforward} unless param 'EmailForward'; + %= select_field 'EmailForward' => $c->emailForward_list(), class => 'input' + +
++ + %= l 'usr_FORWARDING_ADDRESS' + + % param 'ForwardAddress' => $usr_datas->{forwardaddress} unless param 'ForwardAddress'; + %= text_field 'ForwardAddress', class => 'input' + +
-- - %=l 'usr_VPN_CLIENT_ACCESS' - - % param 'VPNClientAccess' => $usr_datas->{vpnclientaccess} unless param 'VPNClientAccess'; - %= select_field 'VPNClientAccess' => [[ (l 'NO') => 'no'], [ (l 'YES') => 'yes']], class => 'input' - -
++ + %= l 'usr_VPN_CLIENT_ACCESS' + + % param 'VPNClientAccess' => $usr_datas->{vpnclientaccess} unless param 'VPNClientAccess'; + %= select_field 'VPNClientAccess' => [ [ ( l 'NO' ) => 'no' ], [ ( l 'YES' ) => 'yes' ] ], class => 'input'; + +
- % if ( $c->ipsec_for_acct eq 'OK' ) { - % my $btn2 = $c->l('DOWNLOAD'); - %= form_for '/useraccountso' => (method => 'POST') => begin -- - %=l 'usr_LABEL_IPSECRW_DOWNLOAD' - - %= submit_button $btn2, class => 'action' - -
- %= hidden_field 'trt' => 'CRT' + % if ( $c->ipsec_for_acct eq 'OK' ) { + % my $btn2 = $c->l('DOWNLOAD'); + %= form_for '/useraccountso' => ( method => 'POST' ) => begin ++ + %= l 'usr_LABEL_IPSECRW_DOWNLOAD' + + %= submit_button $btn2, class => 'action' + +
+ %= hidden_field 'trt' => 'CRT' %= hidden_field 'user' => $usr_datas->{user} - %end - % } + % end + % } -
-
- %= submit_button $btn, class => 'action'
-
+
+ %= submit_button $btn, class => 'action'
+
- %= dumper "
+ %= dumper "
- %= dumper $c->current_route - %= dumper $prt_datas -
- %} + % if (config->{debug} == 1) { ++ %= dumper $c->current_route + %= dumper $prt_datas +
+ % } - % if ( stash 'error' ) { -(DBG)route: <%= $c->current_route %>
- (DBG)ht stat: <%= $prx_datas->{http_proxy_status}%>
- (DBG)sm stat: <%=$prx_datas->{smtp_proxy_status} %>
-
(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}
-
-
-
+ %= 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};
+
+
+
- %= dumper $c->current_route - %= dumper $pse_datas -
++ %= dumper $c->current_route + %= dumper $pse_datas +
% } - - % if ( stash 'error' ) { -
- (DBG)route: <%= $c->current_route %>
-
- - %=l 'qma_REPORT_TYPE' - - - %= select_field 'report_type' => $c->reportType_list(), id => 'analysis_type' - -
+
+ (DBG)route: <%= $c->current_route %>
+
+ + %= l 'qma_REPORT_TYPE' + + + %= select_field 'report_type' => $c->reportType_list(), id => 'analysis_type' + +
- -- %= dumper $c->current_route - %= dumper $quo_datas -
++ %= dumper $c->current_route + %= dumper $quo_datas +
% } - % if ( stash 'error' ) { -
- (DBG)route: <%= $c->current_route %>
-
+ (DBG)route: <%= $c->current_route %>
+
- %= $c->render_to_string(inline => $c->l('rbo_DESCRIPTION'))
-
+
+ %= $c->render_to_string( inline => $c->l('rbo_DESCRIPTION') )
+
-
- %=l 'rbo_LABEL_REBOOT'
-
-
- %= select_field 'function' => $c->rebootFunction_list()
-
-
- %= dumper $c->current_route - %= dumper $rma_datas -
++ %= dumper $c->current_route + %= dumper $rma_datas +
% } --
+
- %=l 'NETWORK' - | - %=l 'SUBNET_MASK' - | - %=l 'NUM_OF_HOSTS' - | - %=l 'REMOVE' - |
---|
+ %= l 'NETWORK' + | + %= l 'SUBNET_MASK' + | + %= l 'NUM_OF_HOSTS' + | + %= l 'REMOVE' + |
---|---|---|---|
'> | -'> | + + % } - -
- %=l 'rvw_SERVER_MODE' - - %= $rvw_datas->{servermode} -
- -- %=l 'rvw_LOCAL_IP_ADDRESS_SUBNET_MASK' - - %= $rvw_datas->{localip} -
- - % if ( $rvw_datas->{publicip} ) { -- %=l 'rvw_INTERNET_VISIBLE_ADDRESS' - - %= $rvw_datas->{publicip} -
- % } - -- %=l 'rvw_GATEWAY' - - %= $rvw_datas->{gateway} - %= $rvw_datas->{serveronly} -
- -- %=l 'rvw_ADDITIONAL_LOCAL_NETWORKS' - | - %= $c->render_to_string( inline => $rvw_datas->{addlocalnetworks} ); - |
- - %=l 'rvw_DHCP_SERVER' - - | - %= $rvw_datas->{dhcpserver} - - |
- %=l 'rvw_DNS_SERVER' - - %= $rvw_datas->{dnsserver} -
- -- %=l 'rvw_WEB_SERVER' - - %= $rvw_datas->{webserver} -
- -- %=l 'rvw_PROXY_SERVER' - - %= $rvw_datas->{proxyserver} -
- -- %=l 'rvw_FTP_SERVER' - - %= $rvw_datas->{ftpserver} -
++ %= l 'rvw_SERVER_MODE' + + %= $rvw_datas->{servermode} +
-- %=l 'rvw_SMTP_POP_AND_IMAP_MAIL_SERVERS' - - %= $rvw_datas->{smtpserver} -
++ %= l 'rvw_LOCAL_IP_ADDRESS_SUBNET_MASK' + + %= $rvw_datas->{localip} +
-- %=l 'rvw_PRIMARY_DOMAIN' - - %= $rvw_datas->{domainname} -
- - -- %=l 'rvw_VIRTUAL_DOMAINS' - | - - %= $rvw_datas->{virtualdomains} - |
- %=l 'rvw_PRIMARY_WEB_SITE' - - %= $rvw_datas->{primarywebsite} -
- -- %=l 'rvw_SERVER_MANAGER' - - %= $rvw_datas->{servermanager} -
- -- %=l 'rvw_USER_PASSWORD_PANEL' - - %= $rvw_datas->{usermanager} -
- -- %=l 'rvw_EMAIL_ADDRESSES' - | - %= $rvw_datas->{emailaddresses} - |
+ %= l 'rvw_INTERNET_VISIBLE_ADDRESS' + + %= $rvw_datas->{publicip} +
+ % } - % end ++ %= l 'rvw_GATEWAY' + + %= $rvw_datas->{gateway} + %= $rvw_datas->{serveronly} +
+ ++ %= l 'rvw_ADDITIONAL_LOCAL_NETWORKS' + | + %= $c->render_to_string( inline => $rvw_datas->{addlocalnetworks} ); + |
+ + %= l 'rvw_DHCP_SERVER' + + | + %= $rvw_datas->{dhcpserver} + + |
+ %= l 'rvw_DNS_SERVER' + + %= $rvw_datas->{dnsserver} +
+ ++ %= l 'rvw_WEB_SERVER' + + %= $rvw_datas->{webserver} +
+ ++ %= l 'rvw_PROXY_SERVER' + + %= $rvw_datas->{proxyserver} +
+ ++ %= l 'rvw_FTP_SERVER' + + %= $rvw_datas->{ftpserver} +
+ ++ %= l 'rvw_SMTP_POP_AND_IMAP_MAIL_SERVERS' + + %= $rvw_datas->{smtpserver} +
+ ++ %= l 'rvw_PRIMARY_DOMAIN' + + %= $rvw_datas->{domainname} +
+ + ++ %= l 'rvw_VIRTUAL_DOMAINS' + | + + %= $rvw_datas->{virtualdomains} + |
+ %= l 'rvw_PRIMARY_WEB_SITE' + + %= $rvw_datas->{primarywebsite} +
+ ++ %= l 'rvw_SERVER_MANAGER' + + %= $rvw_datas->{servermanager} +
+ ++ %= l 'rvw_USER_PASSWORD_PANEL' + + %= $rvw_datas->{usermanager} +
+ ++ %= l 'rvw_EMAIL_ADDRESSES' + | + %= $rvw_datas->{emailaddresses} + |
- %= dumper $c->current_route -
++ %= dumper $c->current_route +
% } - % if ( stash 'error' ) { -If the Webmail panel does not appear after logging in, then please check your password.
If the Webmail panel does not appear after logging in, then please check your password.
< %= $title % >
- %= dumper $c->current_route - %= dumper $usr_datas -
++ %= dumper $c->current_route + %= dumper $usr_datas +
% } - -- %= dumper $c->current_route - %= dumper $pwd_datas -
++ %= dumper $c->current_route + %= dumper $pwd_datas +
% } -+ % my $btn = l('pwd_PASSWORD_CHANGE'); + % my $url = '/userpassword'; + %= $c->render_to_string( inline => l('pwd_DESCRIPTION') );
- % my $btn = l('pwd_PASSWORD_CHANGE'); - % my $url = '/userpassword'; - %= $c->render_to_string( inline => l('pwd_DESCRIPTION')); - -
- % my $strength = uc($pwd_datas->{passwdstrength});
- <%= $c->render_to_string( inline => l('pwd_'.$strength.'_PASSWORD_DESCRIPTION',$pwd_datas->{passwdlength})) %>
-
- <%= $c->render_to_string( inline => l('pwd_PASSWORD_WIKI')) %>
+ % my $strength = uc( $pwd_datas->{passwdstrength} );
+ <%= $c->render_to_string( inline => l( 'pwd_' . $strength . '_PASSWORD_DESCRIPTION', $pwd_datas->{passwdlength} ) ); %>
+
+ <%= $c->render_to_string( inline => l('pwd_PASSWORD_WIKI') ) %>
- %= l 'pwd_YOUR_ACCOUNT'
-
- %= $pwd_datas->{Account}
-
- %= hidden_field 'User' => $pwd_datas->{Account}
- %= hidden_field 'Trt' => $pwd_datas->{trt}
- %= hidden_field 'jwt' => $pwd_datas->{jwt}
-
+ %= l 'pwd_YOUR_ACCOUNT'
+
+ %= $pwd_datas->{Account}
+
+ %= hidden_field 'User' => $pwd_datas->{Account}
+ %= hidden_field 'Trt' => $pwd_datas->{trt}
+ %= hidden_field 'jwt' => $pwd_datas->{jwt}
+
- %= l 'pwd_PASSWORD_OLD'
-
- %= password_field 'Oldpass', class => 'input', class=>'sme-password'
-
-
+ %= l 'pwd_PASSWORD_OLD'
+
+ %= password_field 'Oldpass', class => 'input', class => 'sme-password'
+
+
- %=l 'pwd_PASSWORD_NEW'
-
- %= password_field 'Pass', class => 'input', class=>'sme-password'
-
-
+ %= l 'pwd_PASSWORD_NEW'
+
+ %= password_field 'Pass', class => 'input', class => 'sme-password'
+
+
- %=l 'pwd_PASSWORD_VERIFY_NEW'
-
- %= password_field 'Passverify', class => 'input', class=>'sme-password'
-
-
+ %= l 'pwd_PASSWORD_VERIFY_NEW'
+
+ %= password_field 'Passverify', class => 'input', class => 'sme-password'
+
+
-
- %= submit_button "$btn", class => 'action'
-
+
+ %= submit_button "$btn", class => 'action'
+
- (DBG)route: <%= $c->current_route %>
-
+ (DBG)route: <%= $c->current_route %>
+
- %=l 'log_FIRSTPAGE_DESC'
-
-
- %=l 'log_LOG_FILE_SELECT_DESC'
-
- % param 'Filename' => 'messages';
-
- %= select_field 'Filename' => $c->findlogFiles(), class => 'input'
-
-
+ %= l 'log_FIRSTPAGE_DESC'
+
+
+ %= l 'log_LOG_FILE_SELECT_DESC'
+
+ % param 'Filename' => 'messages';
+
+ %= select_field 'Filename' => $c->findlogFiles(), class => 'input'
+
+
- %=l 'log_FILTER_PATTERN_DESC'
-
-
- %=l 'log_FILTER_PATTERN_LABEL'
-
- %= text_field 'Matchpattern', class => 'input'
-
-
+ %= l 'log_FILTER_PATTERN_DESC'
+
+
+ %= l 'log_FILTER_PATTERN_LABEL'
+
+ %= text_field 'Matchpattern', class => 'input'
+
+
- %=l 'log_MATCH_PATTERN_DESC'
-
-
- %=l 'log_MATCH_PATTERN_LABEL'
-
- %= text_field 'Highlightpattern', class => 'input'
-
-
+ %= l 'log_MATCH_PATTERN_DESC'
+
+
+ %= l 'log_MATCH_PATTERN_LABEL'
+
+ %= text_field 'Highlightpattern', class => 'input'
+
+
- %=l 'log_OP_DESC'
-
-
- %=l 'log_OP_LABEL'
-
- %if ($log_datas->{'default_op'} eq 'download') {
- % param 'Operation' => 'download';
- %}
- %= select_field 'Operation' => [[(l 'log_VIEW') => 'view'],[(l 'DOWNLOAD') => 'download']], class => 'input'
-
-
+ %= l 'log_OP_DESC'
+
+
+ %= l 'log_OP_LABEL'
+
+ % if ($log_datas->{'default_op'} eq 'download') {
+ % param 'Operation' => 'download';
+ % }
+ %= select_field 'Operation' => [ [ ( l 'log_VIEW' ) => 'view' ], [ ( l 'DOWNLOAD' ) => 'download' ] ], class => 'input';
+
+
- %=l 'log_END_DESC' -
++ %= l 'log_END_DESC' +
- %= submit_button "$btn", class => 'action' - % end + %= submit_button "$btn", class => 'action' + % end
- (DBG)route: <%= $c->current_route %>
- (DBG)trt: <%= $log_datas->{trt} %>
-
+ (DBG)route: <%= $c->current_route %>
+ (DBG)trt: <%= $log_datas->{trt} %>
+
+
<% my $btn = l('log_REFRESH'); %> - %= form_for 'viewlogfilesr' => (method => 'POST') => begin - %= submit_button "$btn", class => 'action' - %= hidden_field 'trt' => $log_datas->{trt} - %= hidden_field 'Filename' => $log_datas->{filename} - %= hidden_field 'Matchpattern' => $log_datas->{matchpattern} - %= hidden_field 'Highlightpattern' => $log_datas->{highlightpattern} - %= hidden_field 'Operation' => $log_datas->{operation} + %= form_for 'viewlogfilesr' => ( method => 'POST' ) => begin + %= submit_button "$btn", class => 'action' + %= hidden_field 'trt' => $log_datas->{trt} + %= hidden_field 'Filename' => $log_datas->{filename} + %= hidden_field 'Matchpattern' => $log_datas->{matchpattern} + %= hidden_field 'Highlightpattern' => $log_datas->{highlightpattern} + %= hidden_field 'Operation' => $log_datas->{operation} % end -
Index on line - Welcome page
-Cogo diam enim ibidem paulatim pertineo velit. Comis patria pertineo secundum. Aliquip laoreet quibus zelus. Gravis incassum interdico iustum lucidus neo os paratus. Autem causa haero pneum similis sudo vindico. Iusto molior neque oppeto. Ideo minim nibh refoveo veniam vereor virtus. Appellatio pala scisco. + Cogo diam enim ibidem paulatim pertineo velit. Comis patria pertineo secundum. Aliquip laoreet quibus zelus. Gravis incassum interdico iustum lucidus neo os paratus. Autem causa haero pneum similis sudo vindico. Iusto molior neque oppeto. Ideo minim nibh refoveo veniam vereor virtus. Appellatio pala scisco. -Caecus esse exputo ideo laoreet valde. Appellatio feugiat haero jus lucidus tum valetudo vulputate. Amet illum imputo volutpat. Acsi adipiscing brevitas facilisi illum laoreet lobortis lucidus sagaciter uxor. Defui dolor hos luptatum quadrum saluto verto vicis wisi. + Caecus esse exputo ideo laoreet valde. Appellatio feugiat haero jus lucidus tum valetudo vulputate. Amet illum imputo volutpat. Acsi adipiscing brevitas facilisi illum laoreet lobortis lucidus sagaciter uxor. Defui dolor hos luptatum quadrum saluto verto vicis wisi. -Acsi ideo pagus ymo. Ea jugis lobortis nimis utrum veniam vereor. Aliquip amet autem gilvus hos iaceo loquor natu pagus refoveo. Adipiscing laoreet probo tation tum vero. Enim minim ymo. Dolore imputo iusto iustum lobortis meus molior vulputate. Dolor immitto iustum jumentum olim pagus saluto uxor zelus. Capto commodo eu euismod. Duis ille nunc premo quidem tamen ulciscor wisi. + Acsi ideo pagus ymo. Ea jugis lobortis nimis utrum veniam vereor. Aliquip amet autem gilvus hos iaceo loquor natu pagus refoveo. Adipiscing laoreet probo tation tum vero. Enim minim ymo. Dolore imputo iusto iustum lobortis meus molior vulputate. Dolor immitto iustum jumentum olim pagus saluto uxor zelus. Capto commodo eu euismod. Duis ille nunc premo quidem tamen ulciscor wisi. -Abdo abico damnum dolor et facilisi incassum melior populus saepius. Commodo conventio ex exputo pagus quae valetudo. Eligo jumentum lobortis suscipit tamen torqueo validus venio voco. Letalis molior tego tincidunt tum. Bene iriure melior natu obruo os te voco. Ea oppeto refoveo tum. Consectetuer dolus ut. + Abdo abico damnum dolor et facilisi incassum melior populus saepius. Commodo conventio ex exputo pagus quae valetudo. Eligo jumentum lobortis suscipit tamen torqueo validus venio voco. Letalis molior tego tincidunt tum. Bene iriure melior natu obruo os te voco. Ea oppeto refoveo tum. Consectetuer dolus ut. -Abdo abigo aptent commoveo inhibeo molior nibh plaga pneum zelus. Conventio genitus neo nulla patria pneum saluto velit voco. Abigo defui dolore humo nulla nunc. Autem commodo erat gemino nisl olim pecus ratis tego. Fere luctus nunc sit. Bene humo imputo paulatim suscipit. Aliquam diam dolor feugiat gravis imputo lucidus modo nulla obruo. Ea macto melior neo qui ratis velit. + Abdo abigo aptent commoveo inhibeo molior nibh plaga pneum zelus. Conventio genitus neo nulla patria pneum saluto velit voco. Abigo defui dolore humo nulla nunc. Autem commodo erat gemino nisl olim pecus ratis tego. Fere luctus nunc sit. Bene humo imputo paulatim suscipit. Aliquam diam dolor feugiat gravis imputo lucidus modo nulla obruo. Ea macto melior neo qui ratis velit.
- %= l ('MESS_TEST','toto') + %= l( 'MESS_TEST', 'toto' )- %= link_to Initial => '/' + %= link_to Initial => '/'
- %= link_to Manual => '/manual' + %= link_to Manual => '/manual'
- %= link_to Welcome => '/welcome' - Accueil. + %= link_to Welcome => '/welcome' + Accueil.
- -% use SrvMngr::Navigation2; -% my %nav = %{SrvMngr::navigation2->getNavigation( $c->languages() )}; - - -% end \ No newline at end of file + +
dev
What else !!!
- The page you were requesting
- "<%= $self->req->url->path || '/' %>"
- could not be found.
-
dev
+
dev
What else !!!
+ The page you were requesting
+ "<%= $self->req->url->path || '/' %>"
+ could not be found.
+
dev
- %= link_to Welcome => '/' + %= link_to Welcome => '/'
-
- (DBG)route: <%= $c->current_route %>
- (DBG)pdc: <%= $wkg_datas->{ServerRole}%>
- (DBG)roam: <%= $wkg_datas->{RoamingProfiles}%>
-
+ (DBG)route: <%= $c->current_route %>
+ (DBG)pdc: <%= $wkg_datas->{ServerRole} %>
+ (DBG)roam: <%= $wkg_datas->{RoamingProfiles} %>
+
- %=l 'wkg_DESC_WORKGROUP', class => 'desc'
-
-
- %=l 'wkg_LABEL_WORKGROUP', class => 'label'
-
- %= text_field 'Workgroup' => $wkg_datas->{Workgroup}, class => 'input' , pattern=>".{1,15}", title=>"Limited to 15 characters by the NETBIOS"
-
-
- %=l 'wkg_DESC_SERVERNAME', class => 'desc'
-
-
- %=l 'wkg_LABEL_SERVERNAME', class => 'label'
-
- %= text_field 'ServerName' => $wkg_datas->{ServerName}, class => 'input'
-
-
- %= $c->render_to_string(inline => l 'wkg_DESC_PDC')
-
-
- %=l 'wkg_LABEL_PDC', class => 'label'
-
- % param 'ServerRole' => $wkg_datas->{ServerRole} unless param 'ServerRole';
- %= select_field 'ServerRole' => [[ (l 'YES') => 'PDC'], [ (l 'NO') => 'WS']], class => 'input'
-
-
- %= $c->render_to_string(inline => l 'wkg_DESC_ROAM')
-
-
- %=l 'wkg_LABEL_ROAM', class => 'label'
-
- % param 'RoamingProfiles' => $wkg_datas->{RoamingProfiles} unless param 'RoamingProfiles';
- %= select_field 'RoamingProfiles' => [[ (l 'YES') => 'yes'], [ (l 'NO') => 'no']], class => 'input'
-
-
-
- %= submit_button "$btn", class => 'action'
-
+ %= l 'wkg_DESC_WORKGROUP', class => 'desc'
+
+
+ %= l 'wkg_LABEL_WORKGROUP', class => 'label'
+
+ %= text_field 'Workgroup' => $wkg_datas->{Workgroup}, class => 'input', pattern => ".{1,15}", title => "Limited to 15 characters by the NETBIOS";
+
+
+ %= l 'wkg_DESC_SERVERNAME', class => 'desc'
+
+
+ %= l 'wkg_LABEL_SERVERNAME', class => 'label'
+
+ %= text_field 'ServerName' => $wkg_datas->{ServerName}, class => 'input'
+
+
+ %= $c->render_to_string( inline => l 'wkg_DESC_PDC' )
+
+
+ %= l 'wkg_LABEL_PDC', class => 'label'
+
+ % param 'ServerRole' => $wkg_datas->{ServerRole} unless param 'ServerRole';
+ %= select_field 'ServerRole' => [ [ ( l 'YES' ) => 'PDC' ], [ ( l 'NO' ) => 'WS' ] ], class => 'input';
+
+
+ %= $c->render_to_string( inline => l 'wkg_DESC_ROAM' )
+
+
+ %= l 'wkg_LABEL_ROAM', class => 'label'
+
+ % param 'RoamingProfiles' => $wkg_datas->{RoamingProfiles} unless param 'RoamingProfiles';
+ %= select_field 'RoamingProfiles' => [ [ ( l 'YES' ) => 'yes' ], [ ( l 'NO' ) => 'no' ] ], class => 'input';
+
+
+
+ %= submit_button "$btn", class => 'action'
+
- %= dumper $c->current_route - %= dumper $yum_datas -
++ %= dumper $c->current_route + %= dumper $yum_datas +
% } - -- %=l 'yum_LABEL_YUM_STATUS' - - %= $c->get_status('status', 'localise') -
- -- %=l 'yum_LABEL_YUM_PACKAGEFUNCTIONS' - - %= $c->get_status('PackageFunctions', 'localise') -
- -- %=l 'yum_LABEL_YUM_DELTARPMPROCESS' - - %= $c->get_status('DeltaRpmProcess', 'localise') -
- -- %=l 'yum_LABEL_YUM_DOWNLOADONLY' - - %= $c->get_status('DownloadOnly', 'localise') -
- -- %=l 'yum_LABEL_YUM_AUTOINSTALLUPDATES' - - %= $c->get_status('AutoInstallUpdates', 'localise') -
- - %= hidden_field 'trt' => 'CONF' -+ %= l 'yum_LABEL_YUM_STATUS' + + %= $c->get_status( 'status', 'localise' ) +
+ ++ %= l 'yum_LABEL_YUM_PACKAGEFUNCTIONS' + + %= $c->get_status( 'PackageFunctions', 'localise' ) +
+ ++ %= l 'yum_LABEL_YUM_DELTARPMPROCESS' + + %= $c->get_status( 'DeltaRpmProcess', 'localise' ) +
+ ++ %= l 'yum_LABEL_YUM_DOWNLOADONLY' + + %= $c->get_status( 'DownloadOnly', 'localise' ) +
+ ++ %= l 'yum_LABEL_YUM_AUTOINSTALLUPDATES' + + %= $c->get_status( 'AutoInstallUpdates', 'localise' ) +
+ + %= hidden_field 'trt' => 'CONF' +- %= dumper $c->current_route - %= dumper $yum_datas -
++ %= dumper $c->current_route + %= dumper $yum_datas +
% } - -- %=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() -
+ %= 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_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_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_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_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_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_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_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_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_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']] -
++ %= 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' +- %= dumper $c->current_route - %= dumper $yum_datas -
++ %= dumper $c->current_route + %= dumper $yum_datas +
% } - -- %=l 'yum_LABEL_AVAILABLE_GROUPS' - - % param 'SelectedGroups' => $c->get_names2('updates','group') unless param 'SelectedGroups'; - %= select_field 'SelectedGroups' => $c->get_options2('available', 'group'), class => 'input', multiple => "1" -
- %} -- %=l 'yum_LABEL_AVAILABLE_PACKAGES' - - % param 'SelectedPackages' => $c->get_names2('updates','package') unless param 'SelectedPackages'; - %= select_field 'SelectedPackages' => $c->get_options2('available', 'package'), class => 'input', multiple => "1" -
- %} + %= l 'yum_DESC_AVAILABLE_GROUPS' ++ %= l 'yum_LABEL_AVAILABLE_GROUPS' + + % param 'SelectedGroups' => $c->get_names2( 'updates', 'group' ) unless param 'SelectedGroups'; + %= select_field 'SelectedGroups' => $c->get_options2( 'available', 'group' ), class => 'input', multiple => "1"; +
+ % } ++ %= l 'yum_LABEL_AVAILABLE_PACKAGES' + + % param 'SelectedPackages' => $c->get_names2( 'updates', 'package' ) unless param 'SelectedPackages'; + %= select_field 'SelectedPackages' => $c->get_options2( 'available', 'package' ), class => 'input', multiple => "1"; +
+ % } - + - %= hidden_field 'trt' => 'INST' -- %= dumper $c->current_route - %= dumper $yum_datas -
++ %= dumper $c->current_route + %= dumper $yum_datas +
% } - -- %= dumper $c->current_route - %= dumper $yum_datas -
++ %= dumper $c->current_route + %= dumper $yum_datas +
% } -- %= dumper $c->current_route - %= dumper $yum_datas -
++ %= dumper $c->current_route + %= dumper $yum_datas +
% } - -- %=l 'yum_LABEL_INSTALLED_GROUPS' - - %= select_field 'SelectedGroups' => $c->get_options2('installed', 'group'), class => 'input', multiple => "1" -
- %} -- %=l 'yum_LABEL_INSTALLED_PACKAGES' - - %= select_field 'SelectedPackages' => $c->get_options2('installed', 'package'), class => 'input', multiple => "1" -
- %} + %= l 'yum_DESC_INSTALLED_GROUPS' ++ %= l 'yum_LABEL_INSTALLED_GROUPS' + + %= select_field 'SelectedGroups' => $c->get_options2( 'installed', 'group' ), class => 'input', multiple => "1"; +
+ % } ++ %= l 'yum_LABEL_INSTALLED_PACKAGES' + + %= select_field 'SelectedPackages' => $c->get_options2( 'installed', 'package' ), class => 'input', multiple => "1"; +
+ % } - + - %= hidden_field 'trt' => 'REMO' -- %= dumper $c->current_route - %= dumper $yum_datas -
++ %= dumper $c->current_route + %= dumper $yum_datas +
% } - -- %=l 'yum_LABEL_AVAILABLE_UPDATES' - - % param 'SelectedPackages' => $c->get_names2('updates','package') unless param 'SelectedPackages'; - %= select_field 'SelectedPackages' => $c->get_options2('updates', 'package'), class => 'input', multiple => "1" -
+ %= l 'yum_DESC_AVAILABLE_UPDATES' - ++ %= l 'yum_LABEL_AVAILABLE_UPDATES' + + % param 'SelectedPackages' => $c->get_names2( 'updates', 'package' ) unless param 'SelectedPackages'; + %= select_field 'SelectedPackages' => $c->get_options2( 'updates', 'package' ), class => 'input', multiple => "1"; +
- %= hidden_field 'trt' => 'UPDT' -