- <?
- /**
- * Setup of the Component system constants
- * Use the default value if not defined
- *
- * @package component
- * @filesource
- * @see HTML_COMPONENT_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 REJSEPLANEN_TEXT Language specific stuff
- */
- if (!defined('REJSEPLANEN_TEXT')) {
- define('REJSEPLANEN_TEXT','REJSEPLANEN_TEXT');
- }
- if (!defined('REJSEPLANEN_FROM')) {
- define('REJSEPLANEN_FROM','REJSEPLANEN_FROM');
- }
- if (!defined('REJSEPLANEN_TO')) {
- define('REJSEPLANEN_TO','REJSEPLANEN_TO');
- }
- if (!defined('REJSEPLANEN_SUBMIT')) {
- define('REJSEPLANEN_SUBMIT','REJSEPLANEN_SUBMIT');
- }
- if (!defined('REJSEPLANEN_HELP')) {
- define('REJSEPLANEN_HELP','REJSEPLANEN_HELP');
- }
- if (!defined('REJSEPLANEN_INFO')) {
- define('REJSEPLANEN_INFO','REJSEPLANEN_INFO');
- }
- if (!defined('IMAGE_ROTATOR_LINK')) {
- define('IMAGE_ROTATOR_LINK',DEFAULT_IMAGE_ROTATOR_LINK);
- }
-
- /**
- * @global CACHE_COMPONENT Setup the Cache Component flag
- */
- if (!defined('CACHE_COMPONENT')) {
- define('CACHE_COMPONENT', DEFAULT_CACHE_COMPONENT);
- }
-
- /**
- * This is where the Cache Component files are written, Must be chmod 0777 on nix systems
- * @global CACHE_COMPONENT_PATH The Cache Component Path to use
- */
- if (!defined('CACHE_COMPONENT_PATH')) {
- define('CACHE_COMPONENT_PATH', DEFAULT_CACHE_COMPONENT_PATH);
- }
-
- /**
- * Choose, which layout components to show when printing
- * @global COMPONENT_SHOW_PRINTER The Component to Show when Printing
- */
- if (!defined('COMPONENT_SHOW_PRINTER')) {
- define('COMPONENT_SHOW_PRINTER' ,
- COMPONENT_SHOW_NONE ); // Show Printer Components
- }
-
- /**
- * Choose, which layout components to show
- * or extract info from GET/POST
- * @global COMPONENT_SHOW The Component to Show
- */
- if (!defined('COMPONENT_SHOW')) {
- define('COMPONENT_SHOW' ,
- //COMPONENT_SHOW_ALL | // Use default
-
- COMPONENT_SHOW_GOOGLE |
- COMPONENT_SHOW_REFERER |
- COMPONENT_SHOW_JOE_JUBII |
- COMPONENT_SHOW_XML_LIST_VIEW |
- COMPONENT_SHOW_XML_FORM_VIEW |
- COMPONENT_SHOW_SOURCE_CODE |
- COMPONENT_SHOW_EMAIL_VIEW |
- COMPONENT_SHOW_POSTNO_VIEW |
- COMPONENT_SHOW_IMAGEROTATOR |
- COMPONENT_SHOW_BANNERROTATOR |
- COMPONENT_SHOW_CONTENTS |
- COMPONENT_SHOW_SOURCE |
- COMPONENT_SHOW_CONTENT_DATE |
- COMPONENT_SHOW_REJSEPLANEN |
- COMPONENT_SHOW_NONE );
- }
-
-
- ?>