- <?
- /**
- * The Define resource file.
- * Defines the Layout system constants for the myPHP System
- * This file must be included before all other includes.
- *
- * @package layout
- * @filesource
- * @see HTML_LAYOUT_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_LAYOUT_SHOW The Request Layout Show Parameter
- */
- define('REQUEST_LAYOUT_SHOW' , 'layoutLAYOUT_SHOW');
-
- /**
- * @global LAYOUT_LINE_HEIGH_SMALL The Layout Line Height
- */
- define('LAYOUT_LINE_HEIGH_SMALL', '5');
-
- /**
- * @global LAYOUT_LINE_HEIGH_LARGE The Layout Line Height
- */
- define('LAYOUT_LINE_HEIGH_LARGE', '8');
-
- /**
- * Choose, which layout components to show
- * i.e. $layout = LAYOUT_SHOW_BANNER | LAYOUT_SHOW_COPYRIGHT;
- * @global LAYOUT_SHOW_ALL The Layout Show
- */
- define('LAYOUT_SHOW_ALL' ,0xFFFF); // Show All Components
- define('LAYOUT_SHOW_NONE' ,0x0001); // Show No Components
- define('LAYOUT_SHOW_BANNER' ,0x0002); // Show the Banner
- define('LAYOUT_SHOW_LOCATOR' ,0x0004); // Show the Locator menu
- define('LAYOUT_SHOW_WEBMASTER' ,0x0008); // Show the Webmaster
- define('LAYOUT_SHOW_CUSTOMER' ,0x0010); // Show the Customer info
- define('LAYOUT_SHOW_COMPANY' ,0x0020); // Show the Company Info
- define('LAYOUT_SHOW_FOOTER' ,0x0040); // Show the Footer
- define('LAYOUT_SHOW_COPYRIGHT' ,0x0080); // Show the Copyright notice
- define('LAYOUT_SHOW_BANNERIF' ,0x0100); // Show the Banner IFRAME
- define('LAYOUT_SHOW_LINE' ,0x0200); // Show the Line component
- define('LAYOUT_SHOW_PROFILE' ,0x0400); // Show the Company Profile
- define('LAYOUT_SHOW_TOP' ,0x0800); // Show the Top Banner
- define('LAYOUT_SHOW_BRANDING' ,0x1000); // Show the Branding top
- define('LAYOUT_SHOW_FIRMA' ,0x2000); // Show the Firma Info
- define('LAYOUT_SHOW_SPARE1' ,0x4000); //
- define('LAYOUT_SHOW_SPARE2' ,0x8000); //
-
- $DEFINE_LAYOUT_SHOW =
- array(
- 'ARRAY_NAME'=>'$DEFINE_LAYOUT_SHOW',
- 'LAYOUT_SHOW_BANNER'=>LAYOUT_SHOW_BANNER,
- 'LAYOUT_SHOW_LOCATOR'=>LAYOUT_SHOW_LOCATOR,
- 'LAYOUT_SHOW_WEBMASTER'=>LAYOUT_SHOW_WEBMASTER,
- 'LAYOUT_SHOW_CUSTOMER'=>LAYOUT_SHOW_CUSTOMER,
- 'LAYOUT_SHOW_COMPANY'=>LAYOUT_SHOW_COMPANY,
- 'LAYOUT_SHOW_FOOTER'=>LAYOUT_SHOW_FOOTER,
- 'LAYOUT_SHOW_COPYRIGHT'=>LAYOUT_SHOW_COPYRIGHT,
- 'LAYOUT_SHOW_BANNERIF'=>LAYOUT_SHOW_BANNERIF,
- 'LAYOUT_SHOW_LINE'=>LAYOUT_SHOW_LINE,
- 'LAYOUT_SHOW_PROFILE'=>LAYOUT_SHOW_PROFILE,
- 'LAYOUT_SHOW_TOP'=>LAYOUT_SHOW_TOP,
- 'LAYOUT_SHOW_BRANDING'=>LAYOUT_SHOW_BRANDING,
- 'LAYOUT_SHOW_FIRMA'=>LAYOUT_SHOW_FIRMA,
- 'LAYOUT_SHOW_SPARE1'=>LAYOUT_SHOW_SPARE1,
- 'LAYOUT_SHOW_SPARE2'=>LAYOUT_SHOW_SPARE2,
- );
-
- define('DESIGN_TYPE_TEXT' , 0x0000);
- define('DESIGN_TYPE_CHECKBOX', 0x0001);
- define('DESIGN_TYPE_RADIO' , 0x0002);
- define('DESIGN_TYPE_DEC2BIN' , 0x0003);
- define('DESIGN_TYPE_DEC2HEX' , 0x0004);
-
- define('THE_CUSTOMER_DOMAIN_NAME', 'Demo of your domain name. I.e. '.ucfirst(DOMAIN_NAME));
- ?>