- <?
- /**
- * The Define resource file.
- * Defines the Component system constants for the myPHP System
- * This file must be included before all other includes.
- *
- * @package component
- * @filesource
- * @see HTML_COMPONENT_RESOURCE_PATH/Define.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 REQUEST_COMPONENT_SHOW The Request Component Show Parameter
- */
- define('REQUEST_COMPONENT_SHOW' , 'componentCOMPONENT_SHOW');
-
- /**
- * Choose, which layout components to show
- * i.e. $layout = COMPONENT_SHOW_GOOGLE | COMPONENT_SHOW_JOE_JUBII;
- * @global COMPONENT_SHOW_ALL The Component Show show all
- */
- define('COMPONENT_SHOW_ALL' ,0xFFFF); // Show All Components
- define('COMPONENT_SHOW_NONE' ,0x0001); // Show No Components
- define('COMPONENT_SHOW_GOOGLE' ,0x0002); // Show the Google search box, body
- define('COMPONENT_SHOW_REFERER' ,0x0004); // Show the Content Referer info
- define('COMPONENT_SHOW_JOE_JUBII' ,0x0008); // Show the Joe Jubii email search
- define('COMPONENT_SHOW_XML_LIST_VIEW',0x0010); // Show the XML List View
- define('COMPONENT_SHOW_XML_FORM_VIEW',0x0020); // Show the XML Form View
- define('COMPONENT_SHOW_SOURCE_CODE' ,0x0040); // Show the source code
- define('COMPONENT_SHOW_EMAIL_VIEW' ,0x0080); // Show the Email View
- define('COMPONENT_SHOW_POSTNO_VIEW' ,0x0100); // Show the Postno/Phone View
- define('COMPONENT_SHOW_IMAGEROTATOR' ,0x0200); // Show the Image Rotator
- define('COMPONENT_SHOW_BANNERROTATOR',0x0400); // Show the Banner Rotator
- define('COMPONENT_SHOW_CONTENTS' ,0x0800); // Show the Main Content articles
- define('COMPONENT_SHOW_SOURCE' ,0x1000); // Show the Main Content articles
- define('COMPONENT_SHOW_CONTENT_DATE' ,0x2000); // Show the content of the day
- define('COMPONENT_SHOW_REJSEPLANEN' ,0x4000); // Show the Rejseplanen
- define('COMPONENT_SHOW_SPARE' ,0x8000); //
-
- /**
- * @global DEFINE_COMPONENT_SHOW The array of Components to Show show
- */
- $DEFINE_COMPONENT_SHOW =
- array(
- 'ARRAY_NAME'=>'$DEFINE_COMPONENT_SHOW',
- 'COMPONENT_SHOW_GOOGLE'=>COMPONENT_SHOW_GOOGLE,
- 'COMPONENT_SHOW_REFERER'=>COMPONENT_SHOW_REFERER,
- 'COMPONENT_SHOW_JOE_JUBII'=>COMPONENT_SHOW_JOE_JUBII,
- 'COMPONENT_SHOW_XML_LIST_VIEW'=>COMPONENT_SHOW_XML_LIST_VIEW,
- 'COMPONENT_SHOW_XML_FORM_VIEW'=>COMPONENT_SHOW_XML_FORM_VIEW,
- 'COMPONENT_SHOW_SOURCE_CODE'=>COMPONENT_SHOW_SOURCE_CODE,
- 'COMPONENT_SHOW_EMAIL_VIEW'=>COMPONENT_SHOW_EMAIL_VIEW,
- 'COMPONENT_SHOW_POSTNO_VIEW'=>COMPONENT_SHOW_POSTNO_VIEW,
- 'COMPONENT_SHOW_IMAGEROTATOR'=>COMPONENT_SHOW_IMAGEROTATOR,
- 'COMPONENT_SHOW_BANNERROTATOR'=>COMPONENT_SHOW_BANNERROTATOR,
- 'COMPONENT_SHOW_CONTENTS'=>COMPONENT_SHOW_CONTENTS,
- 'COMPONENT_SHOW_SOURCE'=>COMPONENT_SHOW_SOURCE,
- 'COMPONENT_SHOW_CONTENT_DATE'=>COMPONENT_SHOW_CONTENT_DATE,
- 'COMPONENT_SHOW_REJSEPLANEN'=>COMPONENT_SHOW_REJSEPLANEN,
- 'COMPONENT_SHOW_SPARE'=>COMPONENT_SHOW_SPARE,
- );
-
- ?>