phpDocumentor layout
[ class tree: layout ] [ index: layout ] [ all elements ]

Source for file Setup.php

Documentation is available at Setup.php

  1. <?
  2. /**
  3. * Setup of the Layout system constants
  4. * Use the default value if not defined
  5. *
  6. * @package layout
  7. * @filesource
  8. * @see HTML_LAYOUT_RESOURCE_PATH/Setup.php
  9. * @copyright (c) http://Finn-Rasmussen.com
  10. * @license http://Finn-Rasmussen.com/license/ myPHP License conditions
  11. * @author http://Finn-Rasmussen.com
  12. * @version 1.9
  13. * @since 21-oct-2005
  14. */
  15.  
  16. /**
  17. * @global LINK_TEXT_HOME The Language specific stuff
  18. */
  19. if (!defined('LINK_TEXT_HOME')) {
  20. define('LINK_TEXT_HOME', 'Home');
  21. }
  22. if (!defined('TEXT_LOCATOR')) {
  23. define('TEXT_LOCATOR', 'You are here');
  24. }
  25. if (!defined('LINK_TITLE_VISIT_US')) {
  26. define('LINK_TITLE_VISIT_US', 'Visit Us at ');
  27. }
  28. if (!defined('LINK_TEXT_COPYRIGHT')) {
  29. define('LINK_TEXT_COPYRIGHT', 'Copyright (c) http://Finn-Rasmussen.com');
  30. }
  31. if (!defined('LINK_TITLE_COPYRIGHT')) {
  32. define('LINK_TITLE_COPYRIGHT','Copyright (c) http://Finn-Rasmussen.com');
  33. }
  34. if (!defined('TEXT_COMPANY_PROFILE')) {
  35. define('TEXT_COMPANY_PROFILE','Company Profile');
  36. }
  37. if (!defined('LINK_TEXT_CONTACT_US')) {
  38. define('LINK_TEXT_CONTACT_US','Contact@Us');
  39. }
  40. if (!defined('LINK_TITLE_CONTACT_US')) {
  41. define('LINK_TITLE_CONTACT_US','Mail to us');
  42. }
  43. if (!defined('LINK_TEXT_CUSTOMER_PROFILE')) {
  44. define('LINK_TEXT_CUSTOMER_PROFILE','Customer Profile');
  45. }
  46. if (!defined('LINK_TEXT_UPDATE')) {
  47. define('LINK_TEXT_UPDATE','Update');
  48. }
  49. if (!defined('LINK_TITLE_UPDATE')) {
  50. define('LINK_TITLE_UPDATE','Update');
  51. }
  52. if (!defined('LINK_TITLE_HOME')) {
  53. define('LINK_TITLE_HOME', 'Home');
  54. }
  55. if (!defined('LINK_TEXT_SEARCH')) {
  56. define('LINK_TEXT_SEARCH', 'Search');
  57. }
  58. if (!defined('LINK_TITLE_SEARCH')) {
  59. define('LINK_TITLE_SEARCH', 'Search');
  60. }
  61. if (!defined('LINK_TEXT_COMPANY_PROFILE')) {
  62. define('LINK_TEXT_COMPANY_PROFILE','Profile');
  63. }
  64. if (!defined('LINK_TITLE_COMPANY_PROFILE')) {
  65. define('LINK_TITLE_COMPANY_PROFILE','Company Profile');
  66. }
  67. if (!defined('LINK_TEXT_PRINT')) {
  68. define('LINK_TEXT_PRINT','Print');
  69. }
  70. if (!defined('LINK_TITLE_PRINT')) {
  71. define('LINK_TITLE_PRINT','Printer friendly page');
  72. }
  73.  
  74. /**
  75. * Choose, which layout components to show when printing
  76. * @global LAYOUT_SHOW_PRINTER The Layout to Show when Printing
  77. */
  78. if (!defined('LAYOUT_SHOW_PRINTER')) {
  79. define('LAYOUT_SHOW_PRINTER' ,
  80. //LAYOUT_SHOW_BANNER |
  81. //LAYOUT_SHOW_COMPANY |
  82. LAYOUT_SHOW_FIRMA |
  83. //LAYOUT_SHOW_WEBMASTER |
  84. LAYOUT_SHOW_COPYRIGHT |
  85. LAYOUT_SHOW_NONE ); // Show Printer Components
  86. }
  87.  
  88. /**
  89. * Choose, which layout components to show
  90. * or extract info from GET/POST
  91. * @global LAYOUT_SHOW The Layout to Show
  92. */
  93. if (!defined('LAYOUT_SHOW')) {
  94. define('LAYOUT_SHOW' ,
  95. //LAYOUT_SHOW_ALL | // Use default
  96. LAYOUT_SHOW_BANNER |
  97. LAYOUT_SHOW_BANNERIF |
  98. LAYOUT_SHOW_LINE |
  99. LAYOUT_SHOW_LOCATOR |
  100. //LAYOUT_SHOW_WEBMASTER |
  101. LAYOUT_SHOW_PROFILE |
  102. //LAYOUT_SHOW_CUSTOMER |
  103. //LAYOUT_SHOW_COMPANY |
  104. //LAYOUT_SHOW_FIRMA |
  105. LAYOUT_SHOW_FOOTER |
  106. LAYOUT_SHOW_COPYRIGHT |
  107. LAYOUT_SHOW_TOP |
  108. //LAYOUT_SHOW_BRANDING |
  109. LAYOUT_SHOW_NONE );
  110. }
  111.  
  112. /**
  113. * @global CACHE_LAYOUT The Cache Layout flag
  114. */
  115. if (!defined('CACHE_LAYOUT')) {
  116. define('CACHE_LAYOUT', DEFAULT_CACHE_LAYOUT);
  117. }
  118.  
  119. /**
  120. * @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
  121. */
  122. if (!defined('CACHE_LAYOUT_PATH')) {
  123. define('CACHE_LAYOUT_PATH', DEFAULT_CACHE_LAYOUT_PATH);
  124. }
  125.  
  126. ?>

Documentation generated on Thu, 22 Dec 2005 17:17:26 +0100 by phpDocumentor 1.3.0RC3