* Thu Nov 14 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-7.sme

- fix startform/endform to start_form/end_form [SME: 12773]
This commit is contained in:
Jean-Philippe Pialasse 2024-11-14 14:15:26 -05:00
parent 692dbe9f02
commit d559924622
2 changed files with 19 additions and 16 deletions

View File

@ -316,7 +316,7 @@ sub showInitial
$restore_state = 'idle'; $restore_state = 'idle';
} }
print $q->startform( print $q->start_form(
-method => 'POST', -method => 'POST',
-action => $q->url (-absolute => 1) -action => $q->url (-absolute => 1)
),"\n"; ),"\n";
@ -377,7 +377,7 @@ sub showInitial
-default => 'perform' -default => 'perform'
),"\n"; ),"\n";
print $q->endform,"\n"; print $q->end_form,"\n";
esmith::cgi::genFooter($fm); esmith::cgi::genFooter($fm);
@ -572,7 +572,7 @@ sub TapeBackupConfig
$reminderAMPM = 'PM'; $reminderAMPM = 'PM';
} }
print $q->startform( print $q->start_form(
-method => 'POST', -method => 'POST',
-action => $q->url (-absolute => 1) -action => $q->url (-absolute => 1)
); );
@ -676,7 +676,7 @@ sub TapeBackupConfig
-default => 'tape-configure' -default => 'tape-configure'
); );
print $q->endform; print $q->end_form;
print '</table>'; print '</table>';
esmith::cgi::genFooter($fm); esmith::cgi::genFooter($fm);
@ -890,7 +890,7 @@ sub tapeRestore ()
-default => 'tape-restore' -default => 'tape-restore'
); );
print $q->endform; print $q->end_form;
esmith::cgi::genFooter($fm); esmith::cgi::genFooter($fm);
} }
@ -1119,7 +1119,7 @@ sub WorkstnBackupConfig
} }
else { print $fm->localise('WORKSTN_BACKUP_NOT_CONFIGURED'), '<br/>' } else { print $fm->localise('WORKSTN_BACKUP_NOT_CONFIGURED'), '<br/>' }
print $q->startform( print $q->start_form(
-method => 'POST', -method => 'POST',
-action => $q->url (-absolute => 1) -action => $q->url (-absolute => 1)
); );
@ -1158,7 +1158,7 @@ sub WorkstnBackupConfig
); );
print '</table>'; print '</table>';
print $q->endform; print $q->end_form;
esmith::cgi::genFooter ($q); esmith::cgi::genFooter ($q);
return; return;
@ -1268,7 +1268,7 @@ sub WorkstnBackupConfig1
} }
print $q->startform( print $q->start_form(
-method => 'POST', -method => 'POST',
-action => $q->url (-absolute => 1) -action => $q->url (-absolute => 1)
); );
@ -1486,7 +1486,7 @@ sub WorkstnBackupConfig1
); );
print '</table>'; print '</table>';
print $q->endform; print $q->end_form;
esmith::cgi::genFooter ($q); esmith::cgi::genFooter ($q);
return; return;
@ -1924,7 +1924,7 @@ sub workstnVerify ()
-default => 'workstn-verify' -default => 'workstn-verify'
); );
print $q->endform; print $q->end_form;
esmith::cgi::genFooter ($q); esmith::cgi::genFooter ($q);
} }
@ -2279,7 +2279,7 @@ sub workstnRestore ()
-default => 'workstn-restore' -default => 'workstn-restore'
); );
print $q->endform; print $q->end_form;
esmith::cgi::genFooter ($q); esmith::cgi::genFooter ($q);
} }
@ -2480,7 +2480,7 @@ sub performWorkstnRestore
print $q->p ($q->b ($message)); print $q->p ($q->b ($message));
print $q->startform( print $q->start_form(
-method => 'POST', -method => 'POST',
-action => $q->url (-absolute => 1) -action => $q->url (-absolute => 1)
); );
@ -2502,7 +2502,7 @@ sub performWorkstnRestore
-default => 'perform' -default => 'perform'
),"\n"; ),"\n";
print $q->end_table,"\n"; print $q->end_table,"\n";
print $q->endform; print $q->end_form;
esmith::cgi::genFooter ($q); esmith::cgi::genFooter ($q);
} }
@ -2686,7 +2686,7 @@ sub workstnSelRestore()
-default => 'workstn-sel-restore' -default => 'workstn-sel-restore'
); );
print $q->endform; print $q->end_form;
esmith::cgi::genFooter ($q); esmith::cgi::genFooter ($q);
@ -2843,7 +2843,7 @@ sub performWorkstnSelRestore
-value => $seldatebf -value => $seldatebf
); );
print $q->endform; print $q->end_form;
esmith::cgi::genFooter ($q); esmith::cgi::genFooter ($q);

View File

@ -4,7 +4,7 @@ Summary: smeserver module to provide the backup panel
%define name smeserver-backup %define name smeserver-backup
Name: %{name} Name: %{name}
%define version 11.0.0 %define version 11.0.0
%define release 6 %define release 7
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: Artistic License: Artistic
@ -32,6 +32,9 @@ Requires: smeserver-formmagick >= 1.4.0-12
Requires: nfs-utils Requires: nfs-utils
%changelog %changelog
* Thu Nov 14 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-7.sme
- fix startform/endform to start_form/end_form [SME: 12773]
* Thu Aug 15 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme * Thu Aug 15 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme
- failure at pre-restore [SME: 12722] - failure at pre-restore [SME: 12722]