From 1882c9ec068a20c7715d633723ea2d47f48d726a Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Sun, 3 Mar 2024 07:33:45 -0500 Subject: [PATCH] Changes required for accessibility page --- includes/modules/sideboxes/bootstrap/information.php | 3 +++ .../templates/bootstrap/templates/tpl_site_map_default.php | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/includes/modules/sideboxes/bootstrap/information.php b/includes/modules/sideboxes/bootstrap/information.php index 28a1ab03..2bbdfd9f 100644 --- a/includes/modules/sideboxes/bootstrap/information.php +++ b/includes/modules/sideboxes/bootstrap/information.php @@ -60,6 +60,9 @@ if (DEFINE_CONDITIONS_STATUS <= 1) { $information[] = '' . BOX_INFORMATION_CONDITIONS . ''; } +if (defined('FILENAME_ACCESSIBILITY') && (!isset($flag_show_accessibility_sidebox_link) || $flag_show_accessibility_sidebox_link == 0)) { + $information[] = '' . BOX_INFORMATION_ACCESSIBILITY . ''; +} if (DEFINE_CONTACT_US_STATUS <= 1) { $information[] = '' . BOX_INFORMATION_CONTACT . ''; } diff --git a/includes/templates/bootstrap/templates/tpl_site_map_default.php b/includes/templates/bootstrap/templates/tpl_site_map_default.php index 5e273472..639cbd09 100644 --- a/includes/templates/bootstrap/templates/tpl_site_map_default.php +++ b/includes/templates/bootstrap/templates/tpl_site_map_default.php @@ -77,6 +77,11 @@
  • ' . BOX_INFORMATION_CONDITIONS . ''; ?>
  • +
  • ' . BOX_INFORMATION_ACCESSIBILITY . ''; ?>
  • +
  • ' . BOX_INFORMATION_CONTACT . ''; ?>