You will have to run the following sql statement into your database for the ability to turn off/on Accessibility under the side box labeled Information for your web site:
This is controlled by your admin panel/ configuration/ Define Page Status
Code:
INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`, `val_function`) VALUES (NULL, 'Define Accessibility', 'DEFINE_ACCESSIBILITY_STATUS', '1', 'Enable the Defined Accessibility Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF', '25', '88', NULL, '0001-01-01 00:00:00.000000', NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\'),', NULL);
includes/modules/sideboxes/bootstrap/information.php
Code:
if (DEFINE_ACCESSIBILITY_STATUS <= 1) {
$information[] = '<a class="' . $information_classes . '" href="' .
zen_href_link(FILENAME_ACCESSIBILITY) . '">' . BOX_INFORMATION_ACCESSIBILITY . '</a>';
}
includes/templates/bootstrap/templates/tpl_accessibility_default.php
Code:
<?php
/**
* Page Template
*
* BOOTSTRAP v3.6.0
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_accessibility_default.php 3464 2006-04-19 00:07:26Z ajeh $
*/
?>
<div class="centerColumn" id="accessibility">
<h1 id="accessibilityDefaultHeading"><?php echo HEADING_TITLE; ?></h1>
<?php
if (DEFINE_ACCESSIBILITY_STATUS === '1' || DEFINE_ACCESSIBILITY_STATUS === '2') {
?>
<div id="accessibilityDefaultMainContent" class="content">
<?php
/**
* require the html_define for the accessibility page
*/
require $define_page;
?>
</div>
<?php
}
?>
<div id="privacyDefault-btn-toolbar" class="btn-toolbar my-3" role="toolbar">
<?php echo zca_back_link(); ?>
</div>
</div>
Bookmarks