diff --git a/themes/nhs/conf/app.conf b/themes/nhs/conf/app.conf index f0fff4e894..1845f6f9a5 100644 --- a/themes/nhs/conf/app.conf +++ b/themes/nhs/conf/app.conf @@ -8,7 +8,7 @@ do_content_caching = 0 # use_identifiers_in_urls = 0 -dont_enforce_access_settings = 1 +dont_enforce_access_settings = 0 disable_pdf_output = 1 disable_export_output = 1 @@ -150,6 +150,13 @@ global_template_values = { height = 100px, usewysiwygeditor = 1 }, + people_project_guide_link = { + name = People Project and Database Guide Link, + description = People Project and Database Guide Link, + width = 600px, + height = 30px, + usewysiwygeditor = 0 + }, people_page_credit = { name = People Credit Text, description = People credit text, diff --git a/themes/nhs/conf/contact.conf b/themes/nhs/conf/contact.conf index c75548fa1d..4dfa643828 100644 --- a/themes/nhs/conf/contact.conf +++ b/themes/nhs/conf/contact.conf @@ -4,7 +4,7 @@ contact_email = { research@newporthistory.org } # --- check for security arithmetic setting in form -check_security = 1 +check_security = 0 # --- array of elements appearing in form - the key is the name of the form element # --- options email_address -> set to true to check if valid email address is passed, required -> when true, required form element, label -> used to label each element in email generated by form diff --git a/themes/nhs/views/Contact/form_html.php b/themes/nhs/views/Contact/form_html.php index be1d21b186..83960b510d 100644 --- a/themes/nhs/views/Contact/form_html.php +++ b/themes/nhs/views/Contact/form_html.php @@ -94,22 +94,25 @@ -
-
-
"> - -
-
-

+ =

-
-
- -
-
+request->isLoggedIn() && defined("__CA_GOOGLE_RECAPTCHA_KEY__") && __CA_GOOGLE_RECAPTCHA_KEY__){ +?> + + +
+
+
+
-
-
- +
+
+

diff --git a/themes/nhs/views/People/index_html.php b/themes/nhs/views/People/index_html.php index b42b0e5e50..6da7e5aed2 100644 --- a/themes/nhs/views/People/index_html.php +++ b/themes/nhs/views/People/index_html.php @@ -271,17 +271,21 @@ ?>
- +getVar("people_project_guide_link")){ +?>
- +

{{{people_page_credit}}}