AntonLV 10 lat temu
rodzic
commit
52ace87401

+ 1 - 0
studio/template/scripts/BxBaseStudioPermissionsLevels.php

@@ -409,6 +409,7 @@ class BxBaseStudioPermissionsLevels extends BxDolStudioPermissionsLevels
                     'caption' => _t('_adm_prm_txt_level_description'),
                     'info' => _t('_adm_prm_dsc_level_description'),
                     'value' => isset($aLevel['description']) ? $aLevel['description'] : '_adm_prm_txt_level',
+                	'code' => 1,
                     'db' => array (
                         'pass' => 'XssHtml',
                     )

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

@@ -105,9 +105,10 @@ class BxBaseStudioPolyglotEtemplates extends BxDolStudioPolyglotEtemplates
                     'caption' => _t('_adm_pgt_txt_etemplates_body'),
                     'info' => _t('_adm_pgt_dsc_etemplates_body'),
                     'value' => $aEtemplate['body'],
+                	'code' => 1,
                     'required' => '1',
                     'db' => array (
-                        'pass' => 'Xss',
+                        'pass' => 'XssHtml',
                     ),
                     'checker' => array (
                         'func' => 'AvailTranslatable',

+ 1 - 0
studio/template/scripts/BxBaseStudioPolyglotKeys.php

@@ -71,6 +71,7 @@ class BxBaseStudioPolyglotKeys extends BxDolStudioPolyglotKeys
                 'name' => $sName,
                 'caption' => $aLanguage['title'],
                 'value' => '',
+            	'code' => 1,
                 'db' => array (
                     'pass' => 'XssHtml',
                 ),