From d5599246223d0223a9bd83b372fe6caf0e6cbb11 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Thu, 14 Nov 2024 14:15:26 -0500 Subject: [PATCH] * Thu Nov 14 2024 Jean-Philippe Pialasse 11.0.0-7.sme - fix startform/endform to start_form/end_form [SME: 12773] --- root/etc/e-smith/web/functions/backup | 30 +++++++++++++-------------- smeserver-backup.spec | 5 ++++- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/root/etc/e-smith/web/functions/backup b/root/etc/e-smith/web/functions/backup index 4e21c31..fa6ef22 100644 --- a/root/etc/e-smith/web/functions/backup +++ b/root/etc/e-smith/web/functions/backup @@ -316,7 +316,7 @@ sub showInitial $restore_state = 'idle'; } - print $q->startform( + print $q->start_form( -method => 'POST', -action => $q->url (-absolute => 1) ),"\n"; @@ -377,7 +377,7 @@ sub showInitial -default => 'perform' ),"\n"; - print $q->endform,"\n"; + print $q->end_form,"\n"; esmith::cgi::genFooter($fm); @@ -572,7 +572,7 @@ sub TapeBackupConfig $reminderAMPM = 'PM'; } - print $q->startform( + print $q->start_form( -method => 'POST', -action => $q->url (-absolute => 1) ); @@ -676,7 +676,7 @@ sub TapeBackupConfig -default => 'tape-configure' ); - print $q->endform; + print $q->end_form; print ''; esmith::cgi::genFooter($fm); @@ -890,7 +890,7 @@ sub tapeRestore () -default => 'tape-restore' ); - print $q->endform; + print $q->end_form; esmith::cgi::genFooter($fm); } @@ -1119,7 +1119,7 @@ sub WorkstnBackupConfig } else { print $fm->localise('WORKSTN_BACKUP_NOT_CONFIGURED'), '
' } - print $q->startform( + print $q->start_form( -method => 'POST', -action => $q->url (-absolute => 1) ); @@ -1158,7 +1158,7 @@ sub WorkstnBackupConfig ); print ''; - print $q->endform; + print $q->end_form; esmith::cgi::genFooter ($q); return; @@ -1268,7 +1268,7 @@ sub WorkstnBackupConfig1 } - print $q->startform( + print $q->start_form( -method => 'POST', -action => $q->url (-absolute => 1) ); @@ -1486,7 +1486,7 @@ sub WorkstnBackupConfig1 ); print ''; - print $q->endform; + print $q->end_form; esmith::cgi::genFooter ($q); return; @@ -1924,7 +1924,7 @@ sub workstnVerify () -default => 'workstn-verify' ); - print $q->endform; + print $q->end_form; esmith::cgi::genFooter ($q); } @@ -2279,7 +2279,7 @@ sub workstnRestore () -default => 'workstn-restore' ); - print $q->endform; + print $q->end_form; esmith::cgi::genFooter ($q); } @@ -2480,7 +2480,7 @@ sub performWorkstnRestore print $q->p ($q->b ($message)); - print $q->startform( + print $q->start_form( -method => 'POST', -action => $q->url (-absolute => 1) ); @@ -2502,7 +2502,7 @@ sub performWorkstnRestore -default => 'perform' ),"\n"; print $q->end_table,"\n"; - print $q->endform; + print $q->end_form; esmith::cgi::genFooter ($q); } @@ -2686,7 +2686,7 @@ sub workstnSelRestore() -default => 'workstn-sel-restore' ); - print $q->endform; + print $q->end_form; esmith::cgi::genFooter ($q); @@ -2843,7 +2843,7 @@ sub performWorkstnSelRestore -value => $seldatebf ); - print $q->endform; + print $q->end_form; esmith::cgi::genFooter ($q); diff --git a/smeserver-backup.spec b/smeserver-backup.spec index 7664d33..bf85f7e 100644 --- a/smeserver-backup.spec +++ b/smeserver-backup.spec @@ -4,7 +4,7 @@ Summary: smeserver module to provide the backup panel %define name smeserver-backup Name: %{name} %define version 11.0.0 -%define release 6 +%define release 7 Version: %{version} Release: %{release}%{?dist} License: Artistic @@ -32,6 +32,9 @@ Requires: smeserver-formmagick >= 1.4.0-12 Requires: nfs-utils %changelog +* Thu Nov 14 2024 Jean-Philippe Pialasse 11.0.0-7.sme +- fix startform/endform to start_form/end_form [SME: 12773] + * Thu Aug 15 2024 Jean-Philippe Pialasse 11.0.0-6.sme - failure at pre-restore [SME: 12722]