- <?
- /**
- * Setup of the Layout system constants
- * Use the default value if not defined
- *
- * @package layout
- * @filesource
- * @see HTML_LAYOUT_RESOURCE_PATH/Setup.php
- * @copyright (c) http://Finn-Rasmussen.com
- * @license http://Finn-Rasmussen.com/license/ myPHP License conditions
- * @author http://Finn-Rasmussen.com
- * @version 1.9
- * @since 21-oct-2005
- */
-
- /**
- * @global LINK_TEXT_HOME The Language specific stuff
- */
- if (!defined('LINK_TEXT_HOME')) {
- define('LINK_TEXT_HOME', 'Home');
- }
- if (!defined('TEXT_LOCATOR')) {
- define('TEXT_LOCATOR', 'You are here');
- }
- if (!defined('LINK_TITLE_VISIT_US')) {
- define('LINK_TITLE_VISIT_US', 'Visit Us at ');
- }
- if (!defined('LINK_TEXT_COPYRIGHT')) {
- define('LINK_TEXT_COPYRIGHT', 'Copyright (c) http://Finn-Rasmussen.com');
- }
- if (!defined('LINK_TITLE_COPYRIGHT')) {
- define('LINK_TITLE_COPYRIGHT','Copyright (c) http://Finn-Rasmussen.com');
- }
- if (!defined('TEXT_COMPANY_PROFILE')) {
- define('TEXT_COMPANY_PROFILE','Company Profile');
- }
- if (!defined('LINK_TEXT_CONTACT_US')) {
- define('LINK_TEXT_CONTACT_US','Contact@Us');
- }
- if (!defined('LINK_TITLE_CONTACT_US')) {
- define('LINK_TITLE_CONTACT_US','Mail to us');
- }
- if (!defined('LINK_TEXT_CUSTOMER_PROFILE')) {
- define('LINK_TEXT_CUSTOMER_PROFILE','Customer Profile');
- }
- if (!defined('LINK_TEXT_UPDATE')) {
- define('LINK_TEXT_UPDATE','Update');
- }
- if (!defined('LINK_TITLE_UPDATE')) {
- define('LINK_TITLE_UPDATE','Update');
- }
- if (!defined('LINK_TITLE_HOME')) {
- define('LINK_TITLE_HOME', 'Home');
- }
- if (!defined('LINK_TEXT_SEARCH')) {
- define('LINK_TEXT_SEARCH', 'Search');
- }
- if (!defined('LINK_TITLE_SEARCH')) {
- define('LINK_TITLE_SEARCH', 'Search');
- }
- if (!defined('LINK_TEXT_COMPANY_PROFILE')) {
- define('LINK_TEXT_COMPANY_PROFILE','Profile');
- }
- if (!defined('LINK_TITLE_COMPANY_PROFILE')) {
- define('LINK_TITLE_COMPANY_PROFILE','Company Profile');
- }
- if (!defined('LINK_TEXT_PRINT')) {
- define('LINK_TEXT_PRINT','Print');
- }
- if (!defined('LINK_TITLE_PRINT')) {
- define('LINK_TITLE_PRINT','Printer friendly page');
- }
-
- /**
- * Choose, which layout components to show when printing
- * @global LAYOUT_SHOW_PRINTER The Layout to Show when Printing
- */
- if (!defined('LAYOUT_SHOW_PRINTER')) {
- define('LAYOUT_SHOW_PRINTER' ,
- //LAYOUT_SHOW_BANNER |
- //LAYOUT_SHOW_COMPANY |
-
- LAYOUT_SHOW_FIRMA |
- //LAYOUT_SHOW_WEBMASTER |
-
- LAYOUT_SHOW_COPYRIGHT |
- LAYOUT_SHOW_NONE ); // Show Printer Components
- }
-
- /**
- * Choose, which layout components to show
- * or extract info from GET/POST
- * @global LAYOUT_SHOW The Layout to Show
- */
- if (!defined('LAYOUT_SHOW')) {
- define('LAYOUT_SHOW' ,
- //LAYOUT_SHOW_ALL | // Use default
-
- LAYOUT_SHOW_BANNER |
- LAYOUT_SHOW_BANNERIF |
- LAYOUT_SHOW_LINE |
- LAYOUT_SHOW_LOCATOR |
- //LAYOUT_SHOW_WEBMASTER |
-
- LAYOUT_SHOW_PROFILE |
- //LAYOUT_SHOW_CUSTOMER |
- //LAYOUT_SHOW_COMPANY |
- //LAYOUT_SHOW_FIRMA |
-
- LAYOUT_SHOW_FOOTER |
- LAYOUT_SHOW_COPYRIGHT |
- LAYOUT_SHOW_TOP |
- //LAYOUT_SHOW_BRANDING |
-
- LAYOUT_SHOW_NONE );
- }
-
- /**
- * @global CACHE_LAYOUT The Cache Layout flag
- */
- if (!defined('CACHE_LAYOUT')) {
- define('CACHE_LAYOUT', DEFAULT_CACHE_LAYOUT);
- }
-
- /**
- * @global CACHE_LAYOUT_PATH The Cache Layout Path to use. This is where the Cache Layout files are written, Must be chmod 0777 on nix systems
- */
- if (!defined('CACHE_LAYOUT_PATH')) {
- define('CACHE_LAYOUT_PATH', DEFAULT_CACHE_LAYOUT_PATH);
- }
-
- ?>