From b5d6de3bcf3d72f092b4be41a07d385b43c05f85 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Wed, 22 Jan 2025 11:53:21 +0000 Subject: [PATCH] Update to work for Mojo 9.39 - config accessed through plugin not global hash --- .../themes/default/templates/back_tape_configure.html.ep | 2 +- .../themes/default/templates/back_tape_restore.html.ep | 2 +- .../themes/default/templates/back_workstn_configure.html.ep | 2 +- .../themes/default/templates/back_workstn_configure1.html.ep | 2 +- .../themes/default/templates/back_workstn_restore.html.ep | 2 +- .../themes/default/templates/back_workstn_restore1.html.ep | 2 +- .../themes/default/templates/back_workstn_sel_restore.html.ep | 2 +- .../default/templates/back_workstn_sel_restore1.html.ep | 2 +- .../default/templates/back_workstn_sel_restore2.html.ep | 2 +- .../themes/default/templates/back_workstn_verify.html.ep | 2 +- .../themes/default/templates/back_workstn_verify1.html.ep | 2 +- .../share/smanager/themes/default/templates/backup.html.ep | 2 +- .../share/smanager/themes/default/templates/bugreport.html.ep | 2 +- .../smanager/themes/default/templates/bugreport2.html.ep | 2 +- .../share/smanager/themes/default/templates/clamav.html.ep | 2 +- .../share/smanager/themes/default/templates/datetime.html.ep | 2 +- .../share/smanager/themes/default/templates/directory.html.ep | 2 +- .../share/smanager/themes/default/templates/domains.html.ep | 2 +- .../smanager/themes/default/templates/emailaccess.html.ep | 2 +- .../smanager/themes/default/templates/emaildeliver.html.ep | 2 +- .../smanager/themes/default/templates/emailfilter.html.ep | 2 +- .../smanager/themes/default/templates/emailreceive.html.ep | 2 +- .../smanager/themes/default/templates/emailsettings.html.ep | 2 +- .../share/smanager/themes/default/templates/embedded.html.ep | 2 +- .../share/smanager/themes/default/templates/groups.html.ep | 2 +- .../smanager/themes/default/templates/hostentries.html.ep | 2 +- .../usr/share/smanager/themes/default/templates/ibays.html.ep | 2 +- .../share/smanager/themes/default/templates/initial.html.ep | 4 ++-- .../smanager/themes/default/templates/letsencrypt.html.ep | 2 +- .../smanager/themes/default/templates/localnetworks.html.ep | 2 +- .../share/smanager/themes/default/templates/module.html.ep | 2 +- .../themes/default/templates/partials/_footer.html.ep | 1 + .../smanager/themes/default/templates/partials/_info.html.ep | 4 ++-- .../default/templates/partials/_lets_CHECKALLDOMAINS.html.ep | 2 +- .../templates/partials/_lets_CHECKALLENABLEDDOMAINS.html.ep | 2 +- .../default/templates/partials/_lets_CHECKONEDOMAIN.html.ep | 2 +- .../themes/default/templates/partials/_lets_LIST.html.ep | 2 +- .../themes/default/templates/partials/_lets_PARAMS.html.ep | 2 +- .../themes/default/templates/partials/_ln_add.html.ep | 2 +- .../themes/default/templates/partials/_ln_del.html.ep | 2 +- .../themes/default/templates/partials/_ln_list.html.ep | 2 +- .../themes/default/templates/partials/_pf_add.html.ep | 2 +- .../themes/default/templates/partials/_pf_del.html.ep | 2 +- .../smanager/themes/default/templates/portforwarding.html.ep | 2 +- .../share/smanager/themes/default/templates/printers.html.ep | 2 +- .../usr/share/smanager/themes/default/templates/proxy.html.ep | 2 +- .../smanager/themes/default/templates/pseudonyms.html.ep | 2 +- .../smanager/themes/default/templates/qmailanalog.html.ep | 2 +- .../usr/share/smanager/themes/default/templates/quota.html.ep | 2 +- .../share/smanager/themes/default/templates/reboot.html.ep | 2 +- .../smanager/themes/default/templates/remoteaccess.html.ep | 2 +- .../share/smanager/themes/default/templates/roundcube.html.ep | 2 +- .../smanager/themes/default/templates/useraccounts.html.ep | 2 +- .../smanager/themes/default/templates/userpassword.html.ep | 2 +- .../smanager/themes/default/templates/viewlogfiles.html.ep | 2 +- .../smanager/themes/default/templates/viewlogfiles2.html.ep | 2 +- .../share/smanager/themes/default/templates/workgroup.html.ep | 2 +- root/usr/share/smanager/themes/default/templates/yum.html.ep | 2 +- .../share/smanager/themes/default/templates/yumconfig.html.ep | 2 +- .../smanager/themes/default/templates/yuminstall.html.ep | 2 +- .../smanager/themes/default/templates/yumlogfile.html.ep | 2 +- .../smanager/themes/default/templates/yumpostupg.html.ep | 2 +- .../share/smanager/themes/default/templates/yumremove.html.ep | 2 +- .../share/smanager/themes/default/templates/yumupdate.html.ep | 2 +- 64 files changed, 66 insertions(+), 65 deletions(-) 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 21e2d4d..4a33b98 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 @@ -3,7 +3,7 @@ % content_for 'module' => begin
- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $bac_datas diff --git a/root/usr/share/smanager/themes/default/templates/back_tape_restore.html.ep b/root/usr/share/smanager/themes/default/templates/back_tape_restore.html.ep index abeea88..d1ac87f 100644 --- a/root/usr/share/smanager/themes/default/templates/back_tape_restore.html.ep +++ b/root/usr/share/smanager/themes/default/templates/back_tape_restore.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $bac_datas diff --git a/root/usr/share/smanager/themes/default/templates/back_workstn_configure.html.ep b/root/usr/share/smanager/themes/default/templates/back_workstn_configure.html.ep index 2b49665..3f28766 100644 --- a/root/usr/share/smanager/themes/default/templates/back_workstn_configure.html.ep +++ b/root/usr/share/smanager/themes/default/templates/back_workstn_configure.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $bac_datas diff --git a/root/usr/share/smanager/themes/default/templates/back_workstn_configure1.html.ep b/root/usr/share/smanager/themes/default/templates/back_workstn_configure1.html.ep index 14fa34c..dfd06bc 100644 --- a/root/usr/share/smanager/themes/default/templates/back_workstn_configure1.html.ep +++ b/root/usr/share/smanager/themes/default/templates/back_workstn_configure1.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $bac_datas diff --git a/root/usr/share/smanager/themes/default/templates/back_workstn_restore.html.ep b/root/usr/share/smanager/themes/default/templates/back_workstn_restore.html.ep index 1973578..1671d75 100644 --- a/root/usr/share/smanager/themes/default/templates/back_workstn_restore.html.ep +++ b/root/usr/share/smanager/themes/default/templates/back_workstn_restore.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $bac_datas diff --git a/root/usr/share/smanager/themes/default/templates/back_workstn_restore1.html.ep b/root/usr/share/smanager/themes/default/templates/back_workstn_restore1.html.ep index 3f8ddda..20b3ccb 100644 --- a/root/usr/share/smanager/themes/default/templates/back_workstn_restore1.html.ep +++ b/root/usr/share/smanager/themes/default/templates/back_workstn_restore1.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $bac_datas diff --git a/root/usr/share/smanager/themes/default/templates/back_workstn_sel_restore.html.ep b/root/usr/share/smanager/themes/default/templates/back_workstn_sel_restore.html.ep index 224cb81..99c765d 100644 --- a/root/usr/share/smanager/themes/default/templates/back_workstn_sel_restore.html.ep +++ b/root/usr/share/smanager/themes/default/templates/back_workstn_sel_restore.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $bac_datas diff --git a/root/usr/share/smanager/themes/default/templates/back_workstn_sel_restore1.html.ep b/root/usr/share/smanager/themes/default/templates/back_workstn_sel_restore1.html.ep index 0a258f2..fd1d5dc 100644 --- a/root/usr/share/smanager/themes/default/templates/back_workstn_sel_restore1.html.ep +++ b/root/usr/share/smanager/themes/default/templates/back_workstn_sel_restore1.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $bac_datas diff --git a/root/usr/share/smanager/themes/default/templates/back_workstn_sel_restore2.html.ep b/root/usr/share/smanager/themes/default/templates/back_workstn_sel_restore2.html.ep index e7fd079..85999c6 100644 --- a/root/usr/share/smanager/themes/default/templates/back_workstn_sel_restore2.html.ep +++ b/root/usr/share/smanager/themes/default/templates/back_workstn_sel_restore2.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $bac_datas diff --git a/root/usr/share/smanager/themes/default/templates/back_workstn_verify.html.ep b/root/usr/share/smanager/themes/default/templates/back_workstn_verify.html.ep index 771ef24..1eb3bb8 100644 --- a/root/usr/share/smanager/themes/default/templates/back_workstn_verify.html.ep +++ b/root/usr/share/smanager/themes/default/templates/back_workstn_verify.html.ep @@ -2,7 +2,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $bac_datas diff --git a/root/usr/share/smanager/themes/default/templates/back_workstn_verify1.html.ep b/root/usr/share/smanager/themes/default/templates/back_workstn_verify1.html.ep index 773d267..83a1672 100644 --- a/root/usr/share/smanager/themes/default/templates/back_workstn_verify1.html.ep +++ b/root/usr/share/smanager/themes/default/templates/back_workstn_verify1.html.ep @@ -2,7 +2,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $bac_datas->{function} diff --git a/root/usr/share/smanager/themes/default/templates/backup.html.ep b/root/usr/share/smanager/themes/default/templates/backup.html.ep index 0a6a696..9f1c570 100644 --- a/root/usr/share/smanager/themes/default/templates/backup.html.ep +++ b/root/usr/share/smanager/themes/default/templates/backup.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $bac_datas diff --git a/root/usr/share/smanager/themes/default/templates/bugreport.html.ep b/root/usr/share/smanager/themes/default/templates/bugreport.html.ep index 5aceec2..f410e6d 100644 --- a/root/usr/share/smanager/themes/default/templates/bugreport.html.ep +++ b/root/usr/share/smanager/themes/default/templates/bugreport.html.ep @@ -4,7 +4,7 @@

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

(DBG)route: <%= $c->current_route %>
(DBG)trt: <%= $bugr_datas->{trt} %>
diff --git a/root/usr/share/smanager/themes/default/templates/bugreport2.html.ep b/root/usr/share/smanager/themes/default/templates/bugreport2.html.ep index de882f7..98c9eec 100644 --- a/root/usr/share/smanager/themes/default/templates/bugreport2.html.ep +++ b/root/usr/share/smanager/themes/default/templates/bugreport2.html.ep @@ -4,7 +4,7 @@

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

(DBG)route: <%= $c->current_route %>
(DBG)trt: <%= $bugr_datas->{trt} %>
diff --git a/root/usr/share/smanager/themes/default/templates/clamav.html.ep b/root/usr/share/smanager/themes/default/templates/clamav.html.ep index 4b84ece..cecacdb 100644 --- a/root/usr/share/smanager/themes/default/templates/clamav.html.ep +++ b/root/usr/share/smanager/themes/default/templates/clamav.html.ep @@ -2,7 +2,7 @@ % content_for 'module' => begin

- %if ($config->{debug} == 1) { + %if (config->{debug} == 1) {

(DBG)route: <%= $c->current_route %>
(DBG)FsS stat: <%= $clm_datas->{FilesystemScan}%>
(DBG)Quar stat: <%=$clm_datas->{Quarantine} %> diff --git a/root/usr/share/smanager/themes/default/templates/datetime.html.ep b/root/usr/share/smanager/themes/default/templates/datetime.html.ep index 4e0f459..7b17642 100644 --- a/root/usr/share/smanager/themes/default/templates/datetime.html.ep +++ b/root/usr/share/smanager/themes/default/templates/datetime.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $dat_datas diff --git a/root/usr/share/smanager/themes/default/templates/directory.html.ep b/root/usr/share/smanager/themes/default/templates/directory.html.ep index 3aa9db3..773247e 100644 --- a/root/usr/share/smanager/themes/default/templates/directory.html.ep +++ b/root/usr/share/smanager/themes/default/templates/directory.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- %if ($config->{debug} == 1) { + %if (config->{debug} == 1) {

(DBG)route: <%= $c->current_route %>
(DBG)dir. access: <%= $dir_datas->{access}%>
diff --git a/root/usr/share/smanager/themes/default/templates/domains.html.ep b/root/usr/share/smanager/themes/default/templates/domains.html.ep index 259d86c..8357cfa 100644 --- a/root/usr/share/smanager/themes/default/templates/domains.html.ep +++ b/root/usr/share/smanager/themes/default/templates/domains.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $dom_datas diff --git a/root/usr/share/smanager/themes/default/templates/emailaccess.html.ep b/root/usr/share/smanager/themes/default/templates/emailaccess.html.ep index 38eb372..54c6cfb 100644 --- a/root/usr/share/smanager/themes/default/templates/emailaccess.html.ep +++ b/root/usr/share/smanager/themes/default/templates/emailaccess.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $mai_datas diff --git a/root/usr/share/smanager/themes/default/templates/emaildeliver.html.ep b/root/usr/share/smanager/themes/default/templates/emaildeliver.html.ep index b758120..d60b5aa 100644 --- a/root/usr/share/smanager/themes/default/templates/emaildeliver.html.ep +++ b/root/usr/share/smanager/themes/default/templates/emaildeliver.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $mai_datas diff --git a/root/usr/share/smanager/themes/default/templates/emailfilter.html.ep b/root/usr/share/smanager/themes/default/templates/emailfilter.html.ep index 01ea3ad..c31aaa8 100644 --- a/root/usr/share/smanager/themes/default/templates/emailfilter.html.ep +++ b/root/usr/share/smanager/themes/default/templates/emailfilter.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $mai_datas diff --git a/root/usr/share/smanager/themes/default/templates/emailreceive.html.ep b/root/usr/share/smanager/themes/default/templates/emailreceive.html.ep index e81c912..cb0c5f4 100644 --- a/root/usr/share/smanager/themes/default/templates/emailreceive.html.ep +++ b/root/usr/share/smanager/themes/default/templates/emailreceive.html.ep @@ -7,7 +7,7 @@

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $mai_datas diff --git a/root/usr/share/smanager/themes/default/templates/emailsettings.html.ep b/root/usr/share/smanager/themes/default/templates/emailsettings.html.ep index 8ac0746..cbca93f 100644 --- a/root/usr/share/smanager/themes/default/templates/emailsettings.html.ep +++ b/root/usr/share/smanager/themes/default/templates/emailsettings.html.ep @@ -7,7 +7,7 @@

- % if ($config->{debug} == TRUE) { + % if (config->{debug} == TRUE) {

%= dumper $c->current_route %= dumper $mai_datas diff --git a/root/usr/share/smanager/themes/default/templates/embedded.html.ep b/root/usr/share/smanager/themes/default/templates/embedded.html.ep index 62785c3..6560eb5 100644 --- a/root/usr/share/smanager/themes/default/templates/embedded.html.ep +++ b/root/usr/share/smanager/themes/default/templates/embedded.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route

diff --git a/root/usr/share/smanager/themes/default/templates/groups.html.ep b/root/usr/share/smanager/themes/default/templates/groups.html.ep index da7df24..d9e91d7 100644 --- a/root/usr/share/smanager/themes/default/templates/groups.html.ep +++ b/root/usr/share/smanager/themes/default/templates/groups.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin
- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $grp_datas diff --git a/root/usr/share/smanager/themes/default/templates/hostentries.html.ep b/root/usr/share/smanager/themes/default/templates/hostentries.html.ep index 256e847..386d1c9 100644 --- a/root/usr/share/smanager/themes/default/templates/hostentries.html.ep +++ b/root/usr/share/smanager/themes/default/templates/hostentries.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $hos_datas diff --git a/root/usr/share/smanager/themes/default/templates/ibays.html.ep b/root/usr/share/smanager/themes/default/templates/ibays.html.ep index ed547ae..73948d9 100644 --- a/root/usr/share/smanager/themes/default/templates/ibays.html.ep +++ b/root/usr/share/smanager/themes/default/templates/ibays.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $iba_datas diff --git a/root/usr/share/smanager/themes/default/templates/initial.html.ep b/root/usr/share/smanager/themes/default/templates/initial.html.ep index 5031d37..43e3ce0 100644 --- a/root/usr/share/smanager/themes/default/templates/initial.html.ep +++ b/root/usr/share/smanager/themes/default/templates/initial.html.ep @@ -2,7 +2,7 @@ % content_for 'module' => begin - % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route

@@ -25,4 +25,4 @@

-% end +% end \ No newline at end of file diff --git a/root/usr/share/smanager/themes/default/templates/letsencrypt.html.ep b/root/usr/share/smanager/themes/default/templates/letsencrypt.html.ep index b6558b0..5224ada 100644 --- a/root/usr/share/smanager/themes/default/templates/letsencrypt.html.ep +++ b/root/usr/share/smanager/themes/default/templates/letsencrypt.html.ep @@ -7,7 +7,7 @@ %= stylesheet '/css/letsencrypt.css'
- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {
 		%= dumper $c->current_route
 		%= dumper $lets_data->{trt}
diff --git a/root/usr/share/smanager/themes/default/templates/localnetworks.html.ep b/root/usr/share/smanager/themes/default/templates/localnetworks.html.ep
index 82241b5..72b5f4e 100644
--- a/root/usr/share/smanager/themes/default/templates/localnetworks.html.ep
+++ b/root/usr/share/smanager/themes/default/templates/localnetworks.html.ep
@@ -3,7 +3,7 @@
 % content_for 'module' => begin
 
- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $c->stash("ret") diff --git a/root/usr/share/smanager/themes/default/templates/module.html.ep b/root/usr/share/smanager/themes/default/templates/module.html.ep index e09e787..9eef738 100644 --- a/root/usr/share/smanager/themes/default/templates/module.html.ep +++ b/root/usr/share/smanager/themes/default/templates/module.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route

diff --git a/root/usr/share/smanager/themes/default/templates/partials/_footer.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_footer.html.ep index 6d13c32..11c4af2 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_footer.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_footer.html.ep @@ -4,6 +4,7 @@ % if ( $c->is_logged_in ) { SME Server <%= session 'releaseVersion' %>-<%= $c->app->VERSION %> Manager II + <%= Mojolicious->VERSION %> % }
Copyright 1999-2006 Mitel Corporation
%= session 'copyRight' diff --git a/root/usr/share/smanager/themes/default/templates/partials/_info.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_info.html.ep index 424cf28..f145583 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_info.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_info.html.ep @@ -8,9 +8,9 @@ Warning: a reconfigure and reboot is required before proceeding! Failure to do so now may leave your system in an unknown state!
<% } %> - <% if ( $c->session->{Access} eq 'public' && (($config->{debug} ne '0') || ($config->{mode} ne 'production')) ) { %> + <% if ( $c->session->{Access} eq 'public' && ((config->{debug} ne '0') || (config->{mode} ne 'production')) ) { %>
Warning: Development or debug mode enabled AND public access is offered !
<% } %> -
+
\ No newline at end of file diff --git a/root/usr/share/smanager/themes/default/templates/partials/_lets_CHECKALLDOMAINS.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_lets_CHECKALLDOMAINS.html.ep index 7a02235..69f6508 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_lets_CHECKALLDOMAINS.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_lets_CHECKALLDOMAINS.html.ep @@ -7,7 +7,7 @@ SelectInput(); }; - % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {
 			%= dumper $lets_data
 		
diff --git a/root/usr/share/smanager/themes/default/templates/partials/_lets_CHECKALLENABLEDDOMAINS.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_lets_CHECKALLENABLEDDOMAINS.html.ep index 9123a33..2b9f24d 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_lets_CHECKALLENABLEDDOMAINS.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_lets_CHECKALLENABLEDDOMAINS.html.ep @@ -7,7 +7,7 @@ SelectInput(); }; - % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {
 			%= dumper $lets_data
 		
diff --git a/root/usr/share/smanager/themes/default/templates/partials/_lets_CHECKONEDOMAIN.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_lets_CHECKONEDOMAIN.html.ep index d05c3e6..c578ea4 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_lets_CHECKONEDOMAIN.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_lets_CHECKONEDOMAIN.html.ep @@ -7,7 +7,7 @@ SelectInput(); }; - % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {
 			%= dumper $lets_data
 		
diff --git a/root/usr/share/smanager/themes/default/templates/partials/_lets_LIST.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_lets_LIST.html.ep index aacb2cd..9ebcbaa 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_lets_LIST.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_lets_LIST.html.ep @@ -7,7 +7,7 @@ SelectInput(); }; - % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {
 			%= dumper $lets_data
 		
diff --git a/root/usr/share/smanager/themes/default/templates/partials/_lets_PARAMS.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_lets_PARAMS.html.ep index 2dfb0ba..7950547 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_lets_PARAMS.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_lets_PARAMS.html.ep @@ -7,7 +7,7 @@ SelectInput(); }; - % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {
 			%= dumper $lets_data
 		
diff --git a/root/usr/share/smanager/themes/default/templates/partials/_ln_add.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_ln_add.html.ep index ce99ef1..7722c58 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_ln_add.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_ln_add.html.ep @@ -30,7 +30,7 @@ % my $btn = l('ADD'); % my $network_db = esmith::NetworksDB->open(); - % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $c->stash("ret") diff --git a/root/usr/share/smanager/themes/default/templates/partials/_ln_del.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_ln_del.html.ep index f5afaea..738ae37 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_ln_del.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_ln_del.html.ep @@ -5,7 +5,7 @@ % my $subnet = $ln_datas->{subnet}; % my $router = $ln_datas->{router}; - % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $c->stash("ret") diff --git a/root/usr/share/smanager/themes/default/templates/partials/_ln_list.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_ln_list.html.ep index fa8501e..2541d33 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_ln_list.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_ln_list.html.ep @@ -7,7 +7,7 @@ % unless (length($retref)) {%ret = (ret=>"");} % else {%ret = %$retref;} - % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper "Ret:".$ret{ret};

diff --git a/root/usr/share/smanager/themes/default/templates/partials/_pf_add.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_pf_add.html.ep index aadddc9..f4b1c6f 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_pf_add.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_pf_add.html.ep @@ -29,7 +29,7 @@
% my $btn = l('ADD'); - % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $c->stash("ret") diff --git a/root/usr/share/smanager/themes/default/templates/partials/_pf_del.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_pf_del.html.ep index d344eb7..37fe576 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_pf_del.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_pf_del.html.ep @@ -8,7 +8,7 @@ % my $cmmnt = $pf_datas->{cmmnt}; % my $allow = $pf_datas->{allow}; - % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $c->stash("ret") diff --git a/root/usr/share/smanager/themes/default/templates/portforwarding.html.ep b/root/usr/share/smanager/themes/default/templates/portforwarding.html.ep index 0b83539..1f2116b 100644 --- a/root/usr/share/smanager/themes/default/templates/portforwarding.html.ep +++ b/root/usr/share/smanager/themes/default/templates/portforwarding.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper "".$c->current_route %= dumper $c->stash("ret") diff --git a/root/usr/share/smanager/themes/default/templates/printers.html.ep b/root/usr/share/smanager/themes/default/templates/printers.html.ep index d55e732..a171cd0 100644 --- a/root/usr/share/smanager/themes/default/templates/printers.html.ep +++ b/root/usr/share/smanager/themes/default/templates/printers.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- %if ($config->{debug} == 1) { + %if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $prt_datas diff --git a/root/usr/share/smanager/themes/default/templates/proxy.html.ep b/root/usr/share/smanager/themes/default/templates/proxy.html.ep index c464394..321ca15 100644 --- a/root/usr/share/smanager/themes/default/templates/proxy.html.ep +++ b/root/usr/share/smanager/themes/default/templates/proxy.html.ep @@ -2,7 +2,7 @@ % content_for 'module' => begin

- %if ($config->{debug} == 1) { + %if (config->{debug} == 1) {

(DBG)route: <%= $c->current_route %>
(DBG)ht stat: <%= $prx_datas->{http_proxy_status}%>
(DBG)sm stat: <%=$prx_datas->{smtp_proxy_status} %> diff --git a/root/usr/share/smanager/themes/default/templates/pseudonyms.html.ep b/root/usr/share/smanager/themes/default/templates/pseudonyms.html.ep index d4d316f..fc9f8e4 100644 --- a/root/usr/share/smanager/themes/default/templates/pseudonyms.html.ep +++ b/root/usr/share/smanager/themes/default/templates/pseudonyms.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $pse_datas diff --git a/root/usr/share/smanager/themes/default/templates/qmailanalog.html.ep b/root/usr/share/smanager/themes/default/templates/qmailanalog.html.ep index 46747eb..8ae5edb 100644 --- a/root/usr/share/smanager/themes/default/templates/qmailanalog.html.ep +++ b/root/usr/share/smanager/themes/default/templates/qmailanalog.html.ep @@ -2,7 +2,7 @@ % content_for 'module' => begin

- %if ($config->{debug} == 1) { + %if (config->{debug} == 1) {

(DBG)route: <%= $c->current_route %>

diff --git a/root/usr/share/smanager/themes/default/templates/quota.html.ep b/root/usr/share/smanager/themes/default/templates/quota.html.ep index c32a416..5f3779a 100644 --- a/root/usr/share/smanager/themes/default/templates/quota.html.ep +++ b/root/usr/share/smanager/themes/default/templates/quota.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin
- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $quo_datas diff --git a/root/usr/share/smanager/themes/default/templates/reboot.html.ep b/root/usr/share/smanager/themes/default/templates/reboot.html.ep index 0044cc2..d7ac157 100644 --- a/root/usr/share/smanager/themes/default/templates/reboot.html.ep +++ b/root/usr/share/smanager/themes/default/templates/reboot.html.ep @@ -4,7 +4,7 @@

- %if ($config->{debug} == 1) { + %if (config->{debug} == 1) {

(DBG)route: <%= $c->current_route %>

diff --git a/root/usr/share/smanager/themes/default/templates/remoteaccess.html.ep b/root/usr/share/smanager/themes/default/templates/remoteaccess.html.ep index 55161ba..35f9b9f 100644 --- a/root/usr/share/smanager/themes/default/templates/remoteaccess.html.ep +++ b/root/usr/share/smanager/themes/default/templates/remoteaccess.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin
- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $rma_datas diff --git a/root/usr/share/smanager/themes/default/templates/roundcube.html.ep b/root/usr/share/smanager/themes/default/templates/roundcube.html.ep index 92a968d..515f233 100644 --- a/root/usr/share/smanager/themes/default/templates/roundcube.html.ep +++ b/root/usr/share/smanager/themes/default/templates/roundcube.html.ep @@ -4,7 +4,7 @@

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route

diff --git a/root/usr/share/smanager/themes/default/templates/useraccounts.html.ep b/root/usr/share/smanager/themes/default/templates/useraccounts.html.ep index 10f0e9a..9b0d703 100644 --- a/root/usr/share/smanager/themes/default/templates/useraccounts.html.ep +++ b/root/usr/share/smanager/themes/default/templates/useraccounts.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin
- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $usr_datas diff --git a/root/usr/share/smanager/themes/default/templates/userpassword.html.ep b/root/usr/share/smanager/themes/default/templates/userpassword.html.ep index 9e946e3..240dc36 100644 --- a/root/usr/share/smanager/themes/default/templates/userpassword.html.ep +++ b/root/usr/share/smanager/themes/default/templates/userpassword.html.ep @@ -4,7 +4,7 @@

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $pwd_datas diff --git a/root/usr/share/smanager/themes/default/templates/viewlogfiles.html.ep b/root/usr/share/smanager/themes/default/templates/viewlogfiles.html.ep index 17ed199..aa97f43 100644 --- a/root/usr/share/smanager/themes/default/templates/viewlogfiles.html.ep +++ b/root/usr/share/smanager/themes/default/templates/viewlogfiles.html.ep @@ -2,7 +2,7 @@ % content_for 'module' => begin

- %if ($config->{debug} == 1) { + %if (config->{debug} == 1) {

(DBG)route: <%= $c->current_route %>

diff --git a/root/usr/share/smanager/themes/default/templates/viewlogfiles2.html.ep b/root/usr/share/smanager/themes/default/templates/viewlogfiles2.html.ep index 3aa8870..dde2cdf 100644 --- a/root/usr/share/smanager/themes/default/templates/viewlogfiles2.html.ep +++ b/root/usr/share/smanager/themes/default/templates/viewlogfiles2.html.ep @@ -4,7 +4,7 @@
- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

(DBG)route: <%= $c->current_route %>
(DBG)trt: <%= $log_datas->{trt} %>
diff --git a/root/usr/share/smanager/themes/default/templates/workgroup.html.ep b/root/usr/share/smanager/themes/default/templates/workgroup.html.ep index 904df17..1698bce 100644 --- a/root/usr/share/smanager/themes/default/templates/workgroup.html.ep +++ b/root/usr/share/smanager/themes/default/templates/workgroup.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- %if ($config->{debug} == 1) { + %if (config->{debug} == 1) {

(DBG)route: <%= $c->current_route %>
(DBG)pdc: <%= $wkg_datas->{ServerRole}%>
diff --git a/root/usr/share/smanager/themes/default/templates/yum.html.ep b/root/usr/share/smanager/themes/default/templates/yum.html.ep index 82ceff7..1aeeaba 100644 --- a/root/usr/share/smanager/themes/default/templates/yum.html.ep +++ b/root/usr/share/smanager/themes/default/templates/yum.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $yum_datas diff --git a/root/usr/share/smanager/themes/default/templates/yumconfig.html.ep b/root/usr/share/smanager/themes/default/templates/yumconfig.html.ep index be52d7b..f8bf80a 100644 --- a/root/usr/share/smanager/themes/default/templates/yumconfig.html.ep +++ b/root/usr/share/smanager/themes/default/templates/yumconfig.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $yum_datas diff --git a/root/usr/share/smanager/themes/default/templates/yuminstall.html.ep b/root/usr/share/smanager/themes/default/templates/yuminstall.html.ep index c92c4ce..e64ce02 100644 --- a/root/usr/share/smanager/themes/default/templates/yuminstall.html.ep +++ b/root/usr/share/smanager/themes/default/templates/yuminstall.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $yum_datas diff --git a/root/usr/share/smanager/themes/default/templates/yumlogfile.html.ep b/root/usr/share/smanager/themes/default/templates/yumlogfile.html.ep index 6bc36df..f615da2 100644 --- a/root/usr/share/smanager/themes/default/templates/yumlogfile.html.ep +++ b/root/usr/share/smanager/themes/default/templates/yumlogfile.html.ep @@ -7,7 +7,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $yum_datas diff --git a/root/usr/share/smanager/themes/default/templates/yumpostupg.html.ep b/root/usr/share/smanager/themes/default/templates/yumpostupg.html.ep index 1c12b81..1db3f6a 100644 --- a/root/usr/share/smanager/themes/default/templates/yumpostupg.html.ep +++ b/root/usr/share/smanager/themes/default/templates/yumpostupg.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $yum_datas diff --git a/root/usr/share/smanager/themes/default/templates/yumremove.html.ep b/root/usr/share/smanager/themes/default/templates/yumremove.html.ep index ce7b20d..538fc5c 100644 --- a/root/usr/share/smanager/themes/default/templates/yumremove.html.ep +++ b/root/usr/share/smanager/themes/default/templates/yumremove.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $yum_datas diff --git a/root/usr/share/smanager/themes/default/templates/yumupdate.html.ep b/root/usr/share/smanager/themes/default/templates/yumupdate.html.ep index 4a46047..cf74d55 100644 --- a/root/usr/share/smanager/themes/default/templates/yumupdate.html.ep +++ b/root/usr/share/smanager/themes/default/templates/yumupdate.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

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