Pārlūkot izejas kodu

#53 - Check files' headers and footers.

AntonLV 12 gadi atpakaļ
vecāks
revīzija
7d887fc41e
100 mainītis faili ar 222 papildinājumiem un 228 dzēšanām
  1. 2 2
      studio/classes/BxDolStudioBuilderPage.php
  2. 2 2
      studio/classes/BxDolStudioBuilderPageQuery.php
  3. 2 2
      studio/classes/BxDolStudioDashboard.php
  4. 2 2
      studio/classes/BxDolStudioDesign.php
  5. 2 2
      studio/classes/BxDolStudioDesigner.php
  6. 2 2
      studio/classes/BxDolStudioDesignerQuery.php
  7. 2 2
      studio/classes/BxDolStudioDesigns.php
  8. 2 2
      studio/classes/BxDolStudioDesignsQuery.php
  9. 2 2
      studio/classes/BxDolStudioForm.php
  10. 2 2
      studio/classes/BxDolStudioForms.php
  11. 3 3
      studio/classes/BxDolStudioFormsDisplays.php
  12. 3 3
      studio/classes/BxDolStudioFormsField.php
  13. 3 3
      studio/classes/BxDolStudioFormsFields.php
  14. 3 3
      studio/classes/BxDolStudioFormsForms.php
  15. 3 3
      studio/classes/BxDolStudioFormsPreLists.php
  16. 3 3
      studio/classes/BxDolStudioFormsPreValues.php
  17. 2 2
      studio/classes/BxDolStudioFormsQuery.php
  18. 1 2
      studio/classes/BxDolStudioGrid.php
  19. 2 2
      studio/classes/BxDolStudioInstaller.php
  20. 2 2
      studio/classes/BxDolStudioInstallerQuery.php
  21. 1 2
      studio/classes/BxDolStudioInstallerUtils.php
  22. 1 2
      studio/classes/BxDolStudioJson.php
  23. 2 2
      studio/classes/BxDolStudioLanguage.php
  24. 2 2
      studio/classes/BxDolStudioLanguages.php
  25. 2 2
      studio/classes/BxDolStudioLanguagesQuery.php
  26. 1 2
      studio/classes/BxDolStudioLanguagesUtils.php
  27. 3 3
      studio/classes/BxDolStudioLanguagesUtilsQuery.php
  28. 2 2
      studio/classes/BxDolStudioLauncher.php
  29. 3 3
      studio/classes/BxDolStudioMenu.php
  30. 2 2
      studio/classes/BxDolStudioMenuTop.php
  31. 2 2
      studio/classes/BxDolStudioModule.php
  32. 2 2
      studio/classes/BxDolStudioModules.php
  33. 2 2
      studio/classes/BxDolStudioModulesQuery.php
  34. 2 2
      studio/classes/BxDolStudioNavigation.php
  35. 3 3
      studio/classes/BxDolStudioNavigationImport.php
  36. 3 3
      studio/classes/BxDolStudioNavigationItems.php
  37. 3 3
      studio/classes/BxDolStudioNavigationMenus.php
  38. 2 2
      studio/classes/BxDolStudioNavigationQuery.php
  39. 3 3
      studio/classes/BxDolStudioNavigationSets.php
  40. 1 2
      studio/classes/BxDolStudioOAuth.php
  41. 2 2
      studio/classes/BxDolStudioPage.php
  42. 2 2
      studio/classes/BxDolStudioPageQuery.php
  43. 2 2
      studio/classes/BxDolStudioPermissions.php
  44. 3 3
      studio/classes/BxDolStudioPermissionsActions.php
  45. 3 3
      studio/classes/BxDolStudioPermissionsLevels.php
  46. 3 3
      studio/classes/BxDolStudioPermissionsQuery.php
  47. 2 2
      studio/classes/BxDolStudioPolyglot.php
  48. 3 3
      studio/classes/BxDolStudioPolyglotEtemplates.php
  49. 3 3
      studio/classes/BxDolStudioPolyglotKeys.php
  50. 2 2
      studio/classes/BxDolStudioPolyglotQuery.php
  51. 2 2
      studio/classes/BxDolStudioSettings.php
  52. 2 2
      studio/classes/BxDolStudioSettingsQuery.php
  53. 2 2
      studio/classes/BxDolStudioStore.php
  54. 2 2
      studio/classes/BxDolStudioStoreQuery.php
  55. 2 2
      studio/classes/BxDolStudioTemplate.php
  56. 1 0
      studio/classes/BxDolStudioTools.php
  57. 2 2
      studio/classes/BxDolStudioUpdater.php
  58. 2 2
      studio/classes/BxDolStudioUtils.php
  59. 2 2
      studio/classes/BxDolStudioWidgets.php
  60. 2 2
      studio/classes/BxDolStudioWidgetsQuery.php
  61. 2 3
      studio/inc/utils.inc.php
  62. 2 2
      studio/template/scripts/BxBaseStudioBuilderPage.php
  63. 1 2
      studio/template/scripts/BxBaseStudioConfig.php
  64. 2 2
      studio/template/scripts/BxBaseStudioDashboard.php
  65. 2 2
      studio/template/scripts/BxBaseStudioDesign.php
  66. 2 2
      studio/template/scripts/BxBaseStudioDesigner.php
  67. 2 2
      studio/template/scripts/BxBaseStudioDesigns.php
  68. 2 2
      studio/template/scripts/BxBaseStudioFormView.php
  69. 2 2
      studio/template/scripts/BxBaseStudioForms.php
  70. 3 3
      studio/template/scripts/BxBaseStudioFormsDisplays.php
  71. 3 3
      studio/template/scripts/BxBaseStudioFormsField.php
  72. 2 2
      studio/template/scripts/BxBaseStudioFormsFields.php
  73. 3 3
      studio/template/scripts/BxBaseStudioFormsForms.php
  74. 3 3
      studio/template/scripts/BxBaseStudioFormsPreLists.php
  75. 3 3
      studio/template/scripts/BxBaseStudioFormsPreValues.php
  76. 2 2
      studio/template/scripts/BxBaseStudioFunctions.php
  77. 3 3
      studio/template/scripts/BxBaseStudioGrid.php
  78. 3 3
      studio/template/scripts/BxBaseStudioGridNavigation.php
  79. 2 2
      studio/template/scripts/BxBaseStudioLanguage.php
  80. 2 2
      studio/template/scripts/BxBaseStudioLanguages.php
  81. 2 2
      studio/template/scripts/BxBaseStudioLauncher.php
  82. 3 3
      studio/template/scripts/BxBaseStudioMenu.php
  83. 2 2
      studio/template/scripts/BxBaseStudioMenuTop.php
  84. 2 2
      studio/template/scripts/BxBaseStudioModule.php
  85. 2 2
      studio/template/scripts/BxBaseStudioModules.php
  86. 2 2
      studio/template/scripts/BxBaseStudioNavigation.php
  87. 2 2
      studio/template/scripts/BxBaseStudioNavigationImport.php
  88. 2 2
      studio/template/scripts/BxBaseStudioNavigationItems.php
  89. 2 2
      studio/template/scripts/BxBaseStudioNavigationMenus.php
  90. 3 3
      studio/template/scripts/BxBaseStudioNavigationSets.php
  91. 2 2
      studio/template/scripts/BxBaseStudioPage.php
  92. 2 2
      studio/template/scripts/BxBaseStudioPermissions.php
  93. 3 3
      studio/template/scripts/BxBaseStudioPermissionsActions.php
  94. 2 2
      studio/template/scripts/BxBaseStudioPermissionsLevels.php
  95. 2 2
      studio/template/scripts/BxBaseStudioPolyglot.php
  96. 3 3
      studio/template/scripts/BxBaseStudioPolyglotEtemplates.php
  97. 3 3
      studio/template/scripts/BxBaseStudioPolyglotKeys.php
  98. 2 2
      studio/template/scripts/BxBaseStudioSettings.php
  99. 2 2
      studio/template/scripts/BxBaseStudioStore.php
  100. 2 2
      studio/template/scripts/BxBaseStudioWidgets.php

+ 2 - 2
studio/classes/BxDolStudioBuilderPage.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioPage');
 bx_import('BxDolStudioBuilderPageQuery');
@@ -156,4 +155,5 @@ class BxDolStudioBuilderPage extends BxTemplStudioPage {
         return BxDolStudioUtils::getModuleIcon($sName);
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioBuilderPageQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioPageQuery');
 
@@ -297,4 +296,5 @@ class BxDolStudioBuilderPageQuery extends BxDolStudioPageQuery {
         return $this->getPairs($sSql, 'object', 'title');
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioDashboard.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioPage');
 bx_import('BxDolStudioStoreQuery');
@@ -100,4 +99,5 @@ class BxDolStudioDashboard extends BxTemplStudioPage {
 		return $iTotalSize;
 	}
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioDesign.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolModuleQuery');
 bx_import('BxTemplStudioPage');
@@ -107,4 +106,5 @@ class BxDolStudioDesign extends BxTemplStudioPage {
         return $aResult;
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioDesigner.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioPage');
 bx_import('BxDolStudioDesignerQuery');
@@ -133,4 +132,5 @@ class BxDolStudioDesigner extends BxTemplStudioPage {
         return $this->getJsResult('_adm_dsg_scs_save', true, true, BX_DOL_URL_STUDIO . 'designer.php?page=' . BX_DOL_STUDIO_DSG_TYPE_ICON);
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioDesignerQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioPageQuery');
 
@@ -15,4 +14,5 @@ class BxDolStudioDesignerQuery extends BxDolStudioPageQuery {
         parent::__construct();
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioDesigns.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioModules');
 bx_import('BxTemplStudioFunctions');
@@ -25,4 +24,5 @@ class BxDolStudioDesigns extends BxTemplStudioModules {
         $this->sParamPrefix = 'dsn';
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioDesignsQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioPageQuery');
 
@@ -66,4 +65,5 @@ class BxDolStudioDesignsQuery extends BxDolStudioPageQuery {
         return (int)$this->getOne("SELECT FOUND_ROWS()");
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioForm.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxBaseFormView');
 bx_import('BxDolStudioTemplate');
@@ -195,4 +194,5 @@ class BxDolStudioFormCheckerHelper extends BxDolFormCheckerHelper {
     	return strlen($sVal) > 0 && BxDolModuleQuery::getInstance()->isEnabled($sVal);
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioForms.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioPage');
 bx_import('BxDolStudioFormsQuery');
@@ -66,4 +65,5 @@ class BxDolStudioForms extends BxTemplStudioPage {
         return bx_gen_method_name($sValue);
     }
 }
+
 /** @} */

+ 3 - 3
studio/classes/BxDolStudioFormsDisplays.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGrid');
 bx_import('BxDolStudioTemplate');
@@ -42,4 +41,5 @@ class BxDolStudioFormsDisplays extends BxTemplStudioGrid {
         return parent::_getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage); 
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/classes/BxDolStudioFormsField.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDol');
 bx_import('BxDolGrid');
@@ -90,4 +89,5 @@ class BxDolStudioFormsField extends BxDol {
         return BxDolStudioUtils::addInArray($aInput, $sKey, $aValues);
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/classes/BxDolStudioFormsFields.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGrid');
 bx_import('BxDolStudioTemplate');
@@ -51,4 +50,5 @@ class BxDolStudioFormsFields extends BxTemplStudioGrid {
         return parent::_getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage);
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/classes/BxDolStudioFormsForms.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGrid');
 bx_import('BxDolStudioTemplate');
@@ -30,4 +29,5 @@ class BxDolStudioFormsForms extends BxTemplStudioGrid {
         return parent::_getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage); 
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/classes/BxDolStudioFormsPreLists.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGrid');
 bx_import('BxDolStudioTemplate');
@@ -38,4 +37,5 @@ class BxDolStudioFormsPreLists extends BxTemplStudioGrid {
         return $aResults;
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/classes/BxDolStudioFormsPreValues.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGrid');
 bx_import('BxDolStudioTemplate');
@@ -44,4 +43,5 @@ class BxDolStudioFormsPreValues extends BxTemplStudioGrid {
         return parent::_getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage);
     }
 }
-/** @} */
+
+/** @} */

+ 2 - 2
studio/classes/BxDolStudioFormsQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolDb');
 
@@ -437,4 +436,5 @@ class BxDolStudioFormsQuery extends BxDolDb {
         $this->query($sSql);
     }
 }
+
 /** @} */

+ 1 - 2
studio/classes/BxDolStudioGrid.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplGrid');
 bx_import('BxDolStudioUtils');

+ 2 - 2
studio/classes/BxDolStudioInstaller.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolInstallerUtils');
 bx_import('BxDolStudioInstallerQuery');
@@ -810,4 +809,5 @@ class BxDolStudioInstaller extends BxDolInstallerUtils {
         return $oFile;
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioInstallerQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolModuleQuery');
 
@@ -47,4 +46,5 @@ class BxDolStudioInstallerQuery extends BxDolModuleQuery {
 		return $iId; 
     }
 }
+
 /** @} */

+ 1 - 2
studio/classes/BxDolStudioInstallerUtils.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolInstallerUtils');
 

+ 1 - 2
studio/classes/BxDolStudioJson.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 class BxDolStudioJson extends BxDol implements iBxDolSingleton {
     public function __construct() {

+ 2 - 2
studio/classes/BxDolStudioLanguage.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolModuleQuery');
 bx_import('BxTemplStudioPage');
@@ -106,4 +105,5 @@ class BxDolStudioLanguage extends BxTemplStudioPage {
         return $aResult;
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioLanguages.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioModules');
 bx_import('BxTemplStudioFunctions');
@@ -25,4 +24,5 @@ class BxDolStudioLanguages extends BxTemplStudioModules {
         $this->sParamPrefix = 'lang';
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioLanguagesQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioPolyglotQuery');
 
@@ -15,4 +14,5 @@ class BxDolStudioLanguagesQuery extends BxDolStudioPolyglotQuery {
         parent::__construct();
     }
 }
+
 /** @} */

+ 1 - 2
studio/classes/BxDolStudioLanguagesUtils.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolLanguages');
 bx_import('BxDolXmlParser');

+ 3 - 3
studio/classes/BxDolStudioLanguagesUtilsQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolLanguagesQuery');
 
@@ -168,4 +167,5 @@ class BxDolStudioLanguagesUtilsQuery extends BxDolLanguagesQuery {
         $this->query($sQuery);
     }
 }
-/** @} */
+
+/** @} */

+ 2 - 2
studio/classes/BxDolStudioLauncher.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolModuleQuery');
 bx_import('BxTemplStudioWidgets');
@@ -59,4 +58,5 @@ class BxDolStudioLauncher extends BxTemplStudioWidgets {
         return (int)$aModule['enabled'] == 1;
     }
 }
+
 /** @} */

+ 3 - 3
studio/classes/BxDolStudioMenu.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxBaseMenu');
 
@@ -15,4 +14,5 @@ class BxDolStudioMenu extends BxBaseMenu {
         parent::__construct ($aObject, $oTemplate !== false ? $oTemplate : BxDolStudioTemplate::getInstance());
     }
 }
-/** @} */
+
+/** @} */

+ 2 - 2
studio/classes/BxDolStudioMenuTop.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDol');
 bx_import('BxBaseStudioLauncher');
@@ -79,4 +78,5 @@ class BxDolStudioMenuTop extends BxDol {
         );
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioModule.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioPage');
 bx_import('BxDolStudioModulesQuery');
@@ -94,4 +93,5 @@ class BxDolStudioModule extends BxTemplStudioPage {
         return $aResult;
     }    
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioModules.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDol');
 bx_import('BxDolStudioModulesQuery');
@@ -76,4 +75,5 @@ class BxDolStudioModules extends BxDol {
         }
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioModulesQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolModuleQuery');
 
@@ -15,4 +14,5 @@ class BxDolStudioModulesQuery extends BxDolModuleQuery {
         parent::__construct();
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioNavigation.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioPage');
 bx_import('BxDolStudioNavigationQuery');
@@ -56,4 +55,5 @@ class BxDolStudioNavigation extends BxTemplStudioPage {
         }
     }
 }
+
 /** @} */

+ 3 - 3
studio/classes/BxDolStudioNavigationImport.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGridNavigation');
 bx_import('BxDolStudioTemplate');
@@ -42,4 +41,5 @@ class BxDolStudioNavigationImport extends BxTemplStudioGridNavigation {
         return parent::_getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage);
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/classes/BxDolStudioNavigationItems.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGrid');
 bx_import('BxDolStudioTemplate');
@@ -71,4 +70,5 @@ class BxDolStudioNavigationItems extends BxTemplStudioGrid {
         return parent::_getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage);
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/classes/BxDolStudioNavigationMenus.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGridNavigation');
 bx_import('BxDolStudioTemplate');
@@ -29,4 +28,5 @@ class BxDolStudioNavigationMenus extends BxTemplStudioGridNavigation {
         return parent::_getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage); 
     }
 }
-/** @} */
+
+/** @} */

+ 2 - 2
studio/classes/BxDolStudioNavigationQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolDb');
 
@@ -248,4 +247,5 @@ class BxDolStudioNavigationQuery extends BxDolDb {
         return (int)$this->getOne($sSql);
     }
 }
+
 /** @} */

+ 3 - 3
studio/classes/BxDolStudioNavigationSets.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGridNavigation');
 bx_import('BxDolStudioTemplate');
@@ -29,4 +28,5 @@ class BxDolStudioNavigationSets extends BxTemplStudioGridNavigation {
         return parent::_getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage); 
     }
 }
-/** @} */
+
+/** @} */

+ 1 - 2
studio/classes/BxDolStudioOAuth.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 class BxDolStudioOAuth extends BxDol implements iBxDolSingleton {
 	protected $sKey;

+ 2 - 2
studio/classes/BxDolStudioPage.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDol');
 bx_import('BxDolStudioUtils');
@@ -121,4 +120,5 @@ class BxDolStudioPage extends BxDol {
         return BxDolStudioUtils::getModules($bShowCustom, $bShowSystem);
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioPageQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolDb');
 
@@ -102,4 +101,5 @@ class BxDolStudioPageQuery extends BxDolDb {
         return $bResult;
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioPermissions.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioPage');
 bx_import('BxDolStudioPermissionsQuery');
@@ -50,4 +49,5 @@ class BxDolStudioPermissions extends BxTemplStudioPage {
         }
     }
 }
+
 /** @} */

+ 3 - 3
studio/classes/BxDolStudioPermissionsActions.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGrid');
 bx_import('BxDolStudioTemplate');
@@ -54,4 +53,5 @@ class BxDolStudioPermissionsActions extends BxTemplStudioGrid {
         return $aActions; 
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/classes/BxDolStudioPermissionsLevels.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGrid');
 bx_import('BxDolStudioTemplate');
@@ -52,4 +51,5 @@ class BxDolStudioPermissionsLevels extends BxTemplStudioGrid {
         return 'yes' == $mixedState ? true : false;
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/classes/BxDolStudioPermissionsQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolAclQuery');
 
@@ -106,4 +105,5 @@ class BxDolStudioPermissionsQuery extends BxDolAclQuery {
         return (int)$this->query("DELETE FROM `sys_acl_matrix` WHERE 1 " . $sWhereClause) > 0;
     }
 }
-/** @} */
+
+/** @} */

+ 2 - 2
studio/classes/BxDolStudioPolyglot.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioPage');
 bx_import('BxDolStudioPolyglotQuery');
@@ -84,4 +83,5 @@ class BxDolStudioPolyglot extends BxTemplStudioPage {
         }
     }
 }
+
 /** @} */

+ 3 - 3
studio/classes/BxDolStudioPolyglotEtemplates.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGrid');
 bx_import('BxDolStudioTemplate');
@@ -30,4 +29,5 @@ class BxDolStudioPolyglotEtemplates extends BxTemplStudioGrid {
         return parent::_getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage); 
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/classes/BxDolStudioPolyglotKeys.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGrid');
 bx_import('BxDolStudioTemplate');
@@ -97,4 +96,5 @@ class BxDolStudioPolyglotKeys extends BxTemplStudioGrid {
         return $aResults;
     }
 }
-/** @} */
+
+/** @} */

+ 2 - 2
studio/classes/BxDolStudioPolyglotQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioLanguagesUtilsQuery');
 
@@ -80,4 +79,5 @@ class BxDolStudioPolyglotQuery extends BxDolStudioLanguagesUtilsQuery {
         return (int)$this->getOne("SELECT FOUND_ROWS()");
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioSettings.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioPage');
 bx_import('BxDolStudioSettingsQuery');
@@ -136,4 +135,5 @@ class BxDolStudioSettings extends BxTemplStudioPage {
         return $mixedValue;
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioSettingsQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioPageQuery');
 
@@ -156,4 +155,5 @@ class BxDolStudioSettingsQuery extends BxDolStudioPageQuery {
         return (int)$this->getOne("SELECT FOUND_ROWS()");
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioStore.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioPage');
 bx_import('BxDolStudioStoreQuery');
@@ -391,4 +390,5 @@ class BxDolStudioStore extends BxTemplStudioPage {
     	return isset($this->aAlias[$sType][$sAlias]) ? $this->aAlias[$sType][$sAlias] : $sAlias;
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioStoreQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioModulesQuery');
 
@@ -15,4 +14,5 @@ class BxDolStudioStoreQuery extends BxDolStudioModulesQuery {
         parent::__construct();
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioTemplate.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 define('BX_DOL_STUDIO_TEMPLATE_DEFAULT_CODE', 'uni');
 
@@ -215,4 +214,5 @@ class BxDolStudioTemplate extends BxDolTemplate implements iBxDolSingleton {
         exit;
     }
 }
+
 /** @} */

+ 1 - 0
studio/classes/BxDolStudioTools.php

@@ -281,4 +281,5 @@ EOF;
         return $bRet;
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioUpdater.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioInstaller');
 
@@ -152,4 +151,5 @@ class BxDolStudioUpdater extends BxDolStudioInstaller {
         return true;
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioUtils.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDol');
 
@@ -155,4 +154,5 @@ class BxDolStudioUtils extends BxDol {
         return $aOutput;
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioWidgets.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioPage');
 bx_import('BxDolStudioWidgetsQuery');
@@ -37,4 +36,5 @@ class BxDolStudioWidgets extends BxTemplStudioPage {
         return true;
     }
 }
+
 /** @} */

+ 2 - 2
studio/classes/BxDolStudioWidgetsQuery.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -6,7 +6,6 @@
  * @defgroup    DolphinStudio Dolphin Studio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioPageQuery');
 
@@ -96,4 +95,5 @@ class BxDolStudioWidgetsQuery extends BxDolStudioPageQuery implements iBxDolSing
         return (int)$this->getOne("SELECT FOUND_ROWS()");
     }
 }
+
 /** @} */

+ 2 - 3
studio/inc/utils.inc.php

@@ -1,11 +1,9 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * @package     Dolphin Core
  * @copyright   Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * @license     CC-BY - http://creativecommons.org/licenses/by/3.0/
  */
-defined('BX_DOL') or die('hack attempt');
-
 
 /*
  * Returns unique SID for communication with BoonEx Unity.
@@ -34,4 +32,5 @@ function bx_array_insert($aInsert, $aSource, $sKey, $iDirection = 1) {
 
 	return array_slice($aSource, 0, $iPosition, true) + $aInsert + array_slice($aSource, $iPosition, NULL, true); 
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioBuilderPage.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioUtils');
 bx_import('BxDolStudioBuilderPage');
@@ -1549,4 +1548,5 @@ class BxBaseStudioBuilderPage extends BxDolStudioBuilderPage {
 		);
     }
 }
+
 /** @} */

+ 1 - 2
studio/template/scripts/BxBaseStudioConfig.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplConfig');
 

+ 2 - 2
studio/template/scripts/BxBaseStudioDashboard.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioDashboard');
 
@@ -81,4 +80,5 @@ class BxBaseStudioDashboard extends BxDolStudioDashboard {
     	));
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioDesign.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioTemplate');
 bx_import('BxDolStudioDesign');
@@ -82,4 +81,5 @@ class BxBaseStudioDesign extends BxDolStudioDesign {
         return $oTemplate->parseHtmlByName('design.html', $aTmplVars);
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioDesigner.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplPaginate');
 bx_import('BxDolStudioDesigner');
@@ -298,4 +297,5 @@ class BxBaseStudioDesigner extends BxDolStudioDesigner {
         return $oTemplate->parseHtmlByName('designer.html', $aTmplVars);
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioDesigns.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioDesigns');
 bx_import('BxTemplStudioFormView');
@@ -24,4 +23,5 @@ class BxBaseStudioDesigns extends BxDolStudioDesigns {
         return array('jquery.anim.js', 'page.js', 'designs.js');
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioFormView.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioForm');
 
@@ -194,4 +193,5 @@ class BxBaseStudioFormView extends BxDolStudioForm {
         return $sInput . $sControl;
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioForms.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioForms');
 
@@ -174,4 +173,5 @@ class BxBaseStudioForms extends BxDolStudioForms {
         return array('content' => BxDolStudioTemplate::getInstance()->parseHtmlByName('forms_select.html', array('bx_repeat:options' => $aTmplVars)));
     }
 }
+
 /** @} */

+ 3 - 3
studio/template/scripts/BxBaseStudioFormsDisplays.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioFormsDisplays');
 bx_import('BxTemplStudioFormView');
@@ -232,4 +231,5 @@ class BxBaseStudioFormsDisplays extends BxDolStudioFormsDisplays {
         return  $sContent;
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/template/scripts/BxBaseStudioFormsField.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioTemplate');
 bx_import('BxDolStudioFormsField');
@@ -1291,4 +1290,5 @@ class BxBaseStudioFormsFieldCaptcha extends BxBaseStudioFormsFieldText {
         );
     }
 }
-/** @} */
+
+/** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioFormsFields.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioFormsFields');
 bx_import('BxTemplStudioFormsField');
@@ -427,4 +426,5 @@ class BxBaseStudioFormsFields extends BxDolStudioFormsFields {
         return  $sContent;
     }
 }
+
 /** @} */

+ 3 - 3
studio/template/scripts/BxBaseStudioFormsForms.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioFormsForms');
 bx_import('BxTemplStudioFormView');
@@ -213,4 +212,5 @@ class BxBaseStudioFormsForms extends BxDolStudioFormsForms {
         return  $sContent;
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/template/scripts/BxBaseStudioFormsPreLists.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioFormsPreLists');
 bx_import('BxTemplStudioFormView');
@@ -339,4 +338,5 @@ class BxBaseStudioFormsPreLists extends BxDolStudioFormsPreLists {
         return $aList['module'] == BX_DOL_STUDIO_MODULE_CUSTOM;
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/template/scripts/BxBaseStudioFormsPreValues.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioFormsPreValues');
 bx_import('BxTemplStudioFormView');
@@ -437,4 +436,5 @@ class BxBaseStudioFormsPreValues extends BxDolStudioFormsPreValues {
         return is_numeric($mixedValue) && (int)$mixedValue >= 1 && (int)$mixedValue <= BX_DOL_STUDIO_FIELD_PRE_VALUE_INT_MAX;
     }
 }
-/** @} */
+
+/** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioFunctions.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioTemplate');
 bx_import('BxBaseFunctions');
@@ -115,4 +114,5 @@ class BxBaseStudioFunctions extends BxBaseFunctions implements iBxDolSingleton {
 	    $oTemplate->getPageCode();
 	}
 }
+
 /** @} */

+ 3 - 3
studio/template/scripts/BxBaseStudioGrid.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioGrid');
 
@@ -70,4 +69,5 @@ class BxBaseStudioGrid extends BxDolStudioGrid {
         return $aItem;
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/template/scripts/BxBaseStudioGridNavigation.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxTemplStudioGrid');
 
@@ -61,4 +60,5 @@ class BxBaseStudioGridNavigation extends BxTemplStudioGrid {
         return $oForm->genRow($aInputSearch);
     }
 }
-/** @} */
+
+/** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioLanguage.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioTemplate');
 bx_import('BxDolStudioLanguage');
@@ -84,4 +83,5 @@ class BxBaseStudioLanguage extends BxDolStudioLanguage {
         return $oTemplate->parseHtmlByName('language.html', $aTmplVars);
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioLanguages.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioLanguages');
 bx_import('BxTemplStudioFunctions');
@@ -23,4 +22,5 @@ class BxBaseStudioLanguages extends BxDolStudioLanguages {
         return array('jquery.anim.js', 'page.js', 'languages.js');
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioLauncher.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 define('BX_DOL_STUDIO_LAUNCHER_JS_OBJECT', 'oBxDolStudioLauncher');
 
@@ -65,4 +64,5 @@ class BxBaseStudioLauncher extends BxDolStudioLauncher {
         ));
     }
 }
+
 /** @} */

+ 3 - 3
studio/template/scripts/BxBaseStudioMenu.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioMenu');
 
@@ -25,4 +24,5 @@ class BxBaseStudioMenu extends BxDolStudioMenu {
         return isset($a['selected']) && $a['selected'] === true;
     }
 }
-/** @} */
+
+/** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioMenuTop.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioMenuTop');
 
@@ -69,4 +68,5 @@ class BxBaseStudioMenuTop extends BxDolStudioMenuTop implements iBxDolSingleton
     	return $oTemplate->parseHtmlByName('menu_top.html', array('bx_repeat:menus' => $aTmplVars));
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioModule.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioModule');
 
@@ -88,4 +87,5 @@ class BxBaseStudioModule extends BxDolStudioModule {
         return $oTemplate->parseHtmlByName('module.html', $aTmplVars);
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioModules.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioModules');
 bx_import('BxDolStudioTemplate');
@@ -39,4 +38,5 @@ class BxBaseStudioModules extends BxDolStudioModules {
         );
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioNavigation.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioNavigation');
 
@@ -117,4 +116,5 @@ class BxBaseStudioNavigation extends BxDolStudioNavigation {
         return $oTemplate->parseHtmlByName('navigation.html', $aTmplVars);
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioNavigationImport.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioNavigationImport');
 
@@ -139,4 +138,5 @@ class BxBaseStudioNavigationImport extends BxDolStudioNavigationImport {
         return $oForm->genRow($aInputSets) . $this->getModulesSelectAll('getItems') . $this->getSearchInput();
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioNavigationItems.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioNavigationItems');
 bx_import('BxTemplStudioFormView');
@@ -776,4 +775,5 @@ class BxBaseStudioNavigationItems extends BxDolStudioNavigationItems {
         ));
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioNavigationMenus.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioNavigationMenus');
 bx_import('BxTemplStudioFormView');
@@ -385,4 +384,5 @@ class BxBaseStudioNavigationMenus extends BxDolStudioNavigationMenus {
             unset($oForm->aInputs['set_title']['tr_attrs']['style']);
     }
 }
+
 /** @} */

+ 3 - 3
studio/template/scripts/BxBaseStudioNavigationSets.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioNavigationSets');
 bx_import('BxTemplStudioFormView');
@@ -330,4 +329,5 @@ class BxBaseStudioNavigationSets extends BxDolStudioNavigationSets {
         return  $this->getModulesSelectAll('getSets') . $this->getSearchInput();
     }
 }
-/** @} */
+
+/** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioPage.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioPage');
 bx_import('BxDolStudioTemplate');
@@ -281,4 +280,5 @@ class BxBaseStudioPage extends BxDolStudioPage {
         return BxDolStudioTemplate::getInstance()->_wrapInTagJsCode($sResult);
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioPermissions.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioPermissions');
 
@@ -91,4 +90,5 @@ class BxBaseStudioPermissions extends BxDolStudioPermissions {
         return $oTemplate->parseHtmlByName('permissions.html', $aTmplVars);
     }
 }
+
 /** @} */

+ 3 - 3
studio/template/scripts/BxBaseStudioPermissionsActions.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioPermissionsActions');
 bx_import('BxTemplStudioFormView');
@@ -312,4 +311,5 @@ class BxBaseStudioPermissionsActions extends BxDolStudioPermissionsActions {
         return  $sContent;
     }
 }
-/** @} */
+
+/** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioPermissionsLevels.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioPermissionsLevels');
 bx_import('BxTemplStudioFormView');
@@ -550,4 +549,5 @@ class BxBaseStudioPermissionsLevels extends BxDolStudioPermissionsLevels {
         return $iId <= BX_DOL_STUDIO_PERMISSIONS_LEVEL_ID_INT_MAX ? $iId : false;
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioPolyglot.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioPolyglot');
 
@@ -119,4 +118,5 @@ class BxBaseStudioPolyglot extends BxDolStudioPolyglot {
         return $oTemplate->parseHtmlByName('polyglot.html', $aTmplVars);
     }
 }
+
 /** @} */

+ 3 - 3
studio/template/scripts/BxBaseStudioPolyglotEtemplates.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioPolyglotEtemplates');
 bx_import('BxTemplStudioFormView');
@@ -226,4 +225,5 @@ class BxBaseStudioPolyglotEtemplates extends BxDolStudioPolyglotEtemplates {
         return  $sContent;
     }
 }
-/** @} */
+
+/** @} */

+ 3 - 3
studio/template/scripts/BxBaseStudioPolyglotKeys.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioPolyglotKeys');
 
@@ -338,4 +337,5 @@ class BxBaseStudioPolyglotKeys extends BxDolStudioPolyglotKeys {
         return $sContent;
     }
 }
-/** @} */
+
+/** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioSettings.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioTemplate');
 bx_import('BxDolStudioSettings');
@@ -251,4 +250,5 @@ class BxBaseStudioSettings extends BxDolStudioSettings {
         return $aType['icon'];
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioStore.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioStore');
 bx_import('BxTemplStudioFunctions');
@@ -597,4 +596,5 @@ class BxBaseStudioStore extends BxDolStudioStore {
         return $sResult;
     }
 }
+
 /** @} */

+ 2 - 2
studio/template/scripts/BxBaseStudioWidgets.php

@@ -1,4 +1,4 @@
-<?php
+<?php defined('BX_DOL') or die('hack attempt');
 /**
  * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  * CC-BY License - http://creativecommons.org/licenses/by/3.0/
@@ -7,7 +7,6 @@
  * @ingroup     DolphinStudio
  * @{
  */
-defined('BX_DOL') or die('hack attempt');
 
 bx_import('BxDolStudioWidgets');
 
@@ -136,4 +135,5 @@ class BxBaseStudioWidgets extends BxDolStudioWidgets {
         return $sUrl;
     }
 }
+
 /** @} */