* Tue Oct 07 2025 Brian Read <brianr@koozali.org> 1.0.0-16.sme

- Apply change from startform to start_form and endform to end_form to CGI panels [SME: 12775-87]
This commit is contained in:
2025-10-08 06:35:22 +01:00
parent 6435c1254f
commit c1eb6b7a3c
2 changed files with 12 additions and 9 deletions

View File

@@ -161,7 +161,7 @@ foreach (sort keys %projects)
print $q->startform (-method => 'POST', -action => $q->url (-absolute => 1));
print $q->start_form (-method => 'POST', -action => $q->url (-absolute => 1));
print $q->p ($q->a ({href => $q->url (-absolute => 1) . "?state=create"},
'Click here'),
@@ -230,7 +230,7 @@ END_TEXT
esmith::cgi::genHeaderNonCacheable ($q, \%conf, 'Create a new web share');
print $q->startform (-method => 'POST', -action => $q->url (-absolute => 1));
print $q->start_form (-method => 'POST', -action => $q->url (-absolute => 1));
print $q->p ($q->a ({href => $q->url (-absolute => 1)},
'Click here'),
@@ -274,7 +274,7 @@ END_TEXT
print $q->hidden (-name => 'state', -override => 1, -default => 'createShare');
print $q->endform;
print $q->end_form;
esmith::cgi::genFooter ($q);
}
@@ -334,7 +334,7 @@ END_TEXT
esmith::cgi::genHeaderNonCacheable ($q, \%conf, "Add user to web share: $project");
print $q->startform (-method => 'POST', -action => $q->url (-absolute => 1));
print $q->start_form (-method => 'POST', -action => $q->url (-absolute => 1));
print $q->p ($q->a ({href => $q->url (-absolute => 1)},
'Click here'),
@@ -364,7 +364,7 @@ END_TEXT
print $q->hidden (-name => 'state', -override => 1, -default => 'createUser');
print $q->endform;
print $q->end_form;
esmith::cgi::genFooter ($q);
return;
}
@@ -448,7 +448,7 @@ sub deleteUser ($)
esmith::cgi::genHeaderNonCacheable ($q, \%conf, "View/Delete Web share users: $project");
print $q->startform
print $q->start_form
(-method => 'POST', -action => $q->url (-absolute => 1));
print $q->p ($q->a ({href => $q->url (-absolute => 1)},
@@ -550,7 +550,7 @@ sub deleteProject ($)
esmith::cgi::genHeaderNonCacheable ($q, \%conf, 'Delete Web share project');
print $q->startform
print $q->start_form
(-method => 'POST', -action => $q->url (-absolute => 1));
print $q->p ($q->a ({href => $q->url (-absolute => 1)},
@@ -570,7 +570,7 @@ sub deleteProject ($)
-default => 'performDelete');
}
print $q->endform;
print $q->end_form;
esmith::cgi::genFooter ($q);
return;
}

View File

@@ -6,7 +6,7 @@ Summary: Webshare addon for SME Server
%define name smeserver-webshare
Name: %{name}
%define version 1.0.0
%define release 15
%define release 16
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@@ -21,6 +21,9 @@ Obsoletes: devinfo-mitel-webshare dmc-mitel-webshare
%changelog
* Tue Oct 07 2025 Brian Read <brianr@koozali.org> 1.0.0-16.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 <trevor@batley.id.au> 1.0.0-15.sme
- Fix e-smith references in smeserver-webshare [SME: 12732]