From f2471dc871cf17855557f68dd34d27079a7bd233 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Wed, 8 Oct 2025 06:12:44 +0100 Subject: [PATCH] * Tue Oct 07 2025 Brian Read 1.4-10.sme - Apply change from startform to start_form and endform to end_form to CGI panels [SME: 12775-87] --- root/etc/e-smith/web/functions/userpanel-initial | 2 +- root/etc/e-smith/web/functions/userpanelaccess | 4 ++-- smeserver-userpanel.spec | 8 +++++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/root/etc/e-smith/web/functions/userpanel-initial b/root/etc/e-smith/web/functions/userpanel-initial index 59d6607..fc92bfa 100644 --- a/root/etc/e-smith/web/functions/userpanel-initial +++ b/root/etc/e-smith/web/functions/userpanel-initial @@ -129,7 +129,7 @@ redistribute this software. EOF -print $q->endform; +print $q->end_form; esmith::cgi::genFooter ($q); diff --git a/root/etc/e-smith/web/functions/userpanelaccess b/root/etc/e-smith/web/functions/userpanelaccess index d618820..f9eb3cc 100644 --- a/root/etc/e-smith/web/functions/userpanelaccess +++ b/root/etc/e-smith/web/functions/userpanelaccess @@ -332,7 +332,7 @@ sub modifyAccess ($) esmith::cgi::genHeaderNonCacheable ($q, \%conf, 'Modify user-manager access'); print - $q->startform (-method => 'POST', -action => $q->url (-absolute => 1)); + $q->start_form (-method => 'POST', -action => $q->url (-absolute => 1)); my $acct = $q->param ('acct'); @@ -374,7 +374,7 @@ sub modifyAccess ($) } - print $q->endform; + print $q->end_form; esmith::cgi::genFooter ($q); return; } diff --git a/smeserver-userpanel.spec b/smeserver-userpanel.spec index ce2f1d5..127bea9 100644 --- a/smeserver-userpanel.spec +++ b/smeserver-userpanel.spec @@ -6,7 +6,7 @@ Summary: Provide a user panel to let users to change delegated server settings. %define name smeserver-userpanel Name: %{name} %define version 1.4 -%define release 8 +%define release 10 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -31,6 +31,12 @@ userpanels available in seperate rpms. Panels can be delegated at user, group or global levels %changelog +* Tue Oct 07 2025 Brian Read 1.4-10.sme +- Apply change from startform to start_form and endform to end_form to CGI panels [SME: 12775-87] + +* Tue Oct 07 2025 Brian Read 1.4-9.sme +- Apply change from startform to start_form and endform to end_form to CGI panels [SME: 12775-87] + * Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley 1.4-8.sme - Fix e-smith references in smeserver-userpanel [SME: 12732]