From 55224802c1f0048591e41c270441f66404e3450a Mon Sep 17 00:00:00 2001 From: Lewis <15088984+lewis-wf@users.noreply.github.com> Date: Sat, 27 Jan 2024 17:58:20 +0000 Subject: [PATCH 1/3] Trying to fix the 404 issue --- controlpanel/bobguiAdminister.php | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/controlpanel/bobguiAdminister.php b/controlpanel/bobguiAdminister.php index 2a211a1..04d8ca1 100644 --- a/controlpanel/bobguiAdminister.php +++ b/controlpanel/bobguiAdminister.php @@ -200,12 +200,6 @@ public function actions () 'description' => 'Submit / view votes', 'authentication' => false, ), - 'feedback' => array ( - 'tab' => '', - 'icon' => 'email', - 'description' => 'Feedback', - 'authentication' => false, - ), 'organisation' => array ( 'description' => false, 'authentication' => true, @@ -622,7 +616,7 @@ function about () # Assemble the HTML $html = "
We hope to answer all your questions here about how to set up votes, and what is and is not possible.
If you have any questions, please do not hesitate to baseUrl}/feedback.html\">contact the System Administrator.
We hope to answer all your questions here about how to set up votes, and what is and is not possible.
If you have any questions, please do not hesitate to contact the System Administrator.
Jump below to:
{$this->settings['faqAdditionalEntry'][1]}
" : '') . "We welcome any baseUrl}/feedback.html\">feedback on this system or this documentation, including any suggestions for improvement.
"; +We welcome any feedback on this system or this documentation, including any suggestions for improvement.
"; # Show the HTML echo $html; @@ -722,7 +716,7 @@ function security () -If you have questions on any points not mentioned in the documentation, do baseUrl}/feedback.html\">get in touch and we will update the documentation.
+If you have questions on any points not mentioned in the documentation, do get in touch and we will update the documentation.
"; # Show the HTML @@ -1854,7 +1848,7 @@ private function understandText ($ballotUrl = false)This page aims to describe, for the benefit of the Returning Officer, how the voting process works.
" . ($ballotUrl ? '' : "You'll get a customised version of these instructions (containing links), via the Administer page, if/when you've created a vote.
") . "The main public baseUrl}/about.html\"> How it works page gives more information, but the main information of relevance to the Returning Officer is as follows:
-If, having read all of this page, you have any questions, please do baseUrl}/feedback.html\">contact us.
+If, having read all of this page, you have any questions, please do contact us.
" . ($organisations ? "If you think you should be the manager for a {$providerMetadata[$providerId]['typeSingularUcfirst']} not listed here" : "You do not appear to be not registered as the manager for any {$providerMetadata[$providerId]['typeSingularUcfirst']}.
If you think you should be") . ", please " . ($providerMetadata[$providerId]['managerClaimFormLocation'] ? "use the {$providerMetadata[$providerId]['typeSingularUcfirst']} manager claim form elsewhere on the website.
" . ($organisations ? "If you think you should be the manager for a {$providerMetadata[$providerId]['typeSingularUcfirst']} not listed here" : "You do not appear to be not registered as the manager for any {$providerMetadata[$providerId]['typeSingularUcfirst']}.
If you think you should be") . ", please " . ($providerMetadata[$providerId]['managerClaimFormLocation'] ? "use the {$providerMetadata[$providerId]['typeSingularUcfirst']} manager claim form elsewhere on the website.
We hope to answer all your questions here about how to set up votes, and what is and is not possible.
If you have any questions, please do not hesitate to contact the System Administrator.
We hope to answer all your questions here about how to set up votes, and what is and is not possible.
If you have any questions, please do not hesitate to contact the System Administrator.
Jump below to:
{$this->settings['faqAdditionalEntry'][1]}
" : '') . "We welcome any feedback on this system or this documentation, including any suggestions for improvement.
"; +We welcome any feedback on this system or this documentation, including any suggestions for improvement.
"; # Show the HTML echo $html; @@ -716,7 +716,7 @@ function security () -If you have questions on any points not mentioned in the documentation, do get in touch and we will update the documentation.
+If you have questions on any points not mentioned in the documentation, do get in touch and we will update the documentation.
"; # Show the HTML @@ -1848,7 +1848,7 @@ private function understandText ($ballotUrl = false)This page aims to describe, for the benefit of the Returning Officer, how the voting process works.
" . ($ballotUrl ? '' : "You'll get a customised version of these instructions (containing links), via the Administer page, if/when you've created a vote.
") . "The main public baseUrl}/about.html\"> How it works page gives more information, but the main information of relevance to the Returning Officer is as follows:
-If, having read all of this page, you have any questions, please do contact us.
+If, having read all of this page, you have any questions, please do contact us.
" . ($organisations ? "If you think you should be the manager for a {$providerMetadata[$providerId]['typeSingularUcfirst']} not listed here" : "You do not appear to be not registered as the manager for any {$providerMetadata[$providerId]['typeSingularUcfirst']}.
If you think you should be") . ", please " . ($providerMetadata[$providerId]['managerClaimFormLocation'] ? "use the {$providerMetadata[$providerId]['typeSingularUcfirst']} manager claim form elsewhere on the website.
" . ($organisations ? "If you think you should be the manager for a {$providerMetadata[$providerId]['typeSingularUcfirst']} not listed here" : "You do not appear to be not registered as the manager for any {$providerMetadata[$providerId]['typeSingularUcfirst']}.
If you think you should be") . ", please " . ($providerMetadata[$providerId]['managerClaimFormLocation'] ? "use the {$providerMetadata[$providerId]['typeSingularUcfirst']} manager claim form elsewhere on the website.
We hope to answer all your questions here about how to set up votes, and what is and is not possible.
If you have any questions, please do not hesitate to contact the System Administrator.
We hope to answer all your questions here about how to set up votes, and what is and is not possible.
If you have any questions, please do not hesitate to contact the System Administrator.
Jump below to:
{$this->settings['faqAdditionalEntry'][1]}
" : '') . "We welcome any feedback on this system or this documentation, including any suggestions for improvement.
"; +We welcome any feedback on this system or this documentation, including any suggestions for improvement.
"; # Show the HTML echo $html; @@ -716,7 +716,7 @@ function security () -If you have questions on any points not mentioned in the documentation, do get in touch and we will update the documentation.
+If you have questions on any points not mentioned in the documentation, do get in touch and we will update the documentation.
"; # Show the HTML @@ -1848,7 +1848,7 @@ private function understandText ($ballotUrl = false)This page aims to describe, for the benefit of the Returning Officer, how the voting process works.
" . ($ballotUrl ? '' : "You'll get a customised version of these instructions (containing links), via the Administer page, if/when you've created a vote.
") . "The main public baseUrl}/about.html\"> How it works page gives more information, but the main information of relevance to the Returning Officer is as follows:
-If, having read all of this page, you have any questions, please do contact us.
+If, having read all of this page, you have any questions, please do contact us.
" . ($organisations ? "If you think you should be the manager for a {$providerMetadata[$providerId]['typeSingularUcfirst']} not listed here" : "You do not appear to be not registered as the manager for any {$providerMetadata[$providerId]['typeSingularUcfirst']}.
If you think you should be") . ", please " . ($providerMetadata[$providerId]['managerClaimFormLocation'] ? "use the {$providerMetadata[$providerId]['typeSingularUcfirst']} manager claim form elsewhere on the website.
" . ($organisations ? "If you think you should be the manager for a {$providerMetadata[$providerId]['typeSingularUcfirst']} not listed here" : "You do not appear to be not registered as the manager for any {$providerMetadata[$providerId]['typeSingularUcfirst']}.
If you think you should be") . ", please " . ($providerMetadata[$providerId]['managerClaimFormLocation'] ? "use the {$providerMetadata[$providerId]['typeSingularUcfirst']} manager claim form elsewhere on the website.