diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/datetime.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/datetime.html.ep index 8c3d2d0..b0c5114 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/datetime.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/datetime.html.ep @@ -4,133 +4,205 @@
- %= dumper $c->current_route - %= dumper $dat_datas -
+ % if (config->{debug} == 0) { ++ <%= dumper $c->current_route %> + <%= dumper $dat_datas %> +% } % if ( stash 'error' ) { -
- %= hidden_field 'Old_ntpstatus' => $dat_datas->{ntpstatus}; +
+ <%= dumper $c->current_route %> + <%= dumper $dat_datas %> ++ % } + + % if ( stash 'error' ) { +
- %= dumper $c->current_route - %= dumper $mai_datas -
++ <%= dumper $c->current_route %> + <= dumper $mai_datas %> +% } % if ( stash 'error' ) { -
- - %=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_WEBMAIL' - - - %= $c->get_current_webmail_status( TRUE ) - -
- - % my $btn = l('mai_DESC_STATE_ACCESS_BUTTON'); -- - %=l 'mai_LABEL_VIRUS_SCAN' - - - %= $c->get_virus_status(TRUE) - -
- -- - %=l 'mai_LABEL_SPAM_SCAN' - - - %= $c->get_spam_status(TRUE) - -
- -- - %=l 'mai_LABEL_BLOCK_EXECUTABLE_CONTENT' - - - %= $c->get_patterns_status(TRUE) - -
- - % my $btn = l('mai_DESC_STATE_FILTERING_BUTTON'); -- - %=l 'mai_LABEL_MODE' - - - %= $mai_datas->{fetchmailmethod} - -
- - % my $smtp_mesg; - - % $smtp_mesg=l('SMTP port %u allow client to authenticate:'); -- - %= sprintf($smtp_mesg,$c->get_db_prop('qpsmtpd','TCPPort',25)); - - - %= $c->get_current_smtp_auth( TRUE ) - -
- - % $smtp_mesg=l('SMTPS SSL/TLS auth: port %u status:'); -- - %= sprintf($smtp_mesg,$c->get_db_prop('sqpsmtpd','TCPPort',465)); - - - %= $c->get_current_smtp_ssl_auth( TRUE, 's', FALSE ) - -
- - % $smtp_mesg=l 'Submission port %u status:'; -- - %= 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 ) - -
+ + ++ <%= dumper $c->current_route %> + <%= dumper $iba_datas %> +% } % if ( stash 'error' ) {