Index: branches/5.3.x/core/units/email_templates/email_templates_config.php =================================================================== diff -u -N -r16323 -r16389 --- branches/5.3.x/core/units/email_templates/email_templates_config.php (.../email_templates_config.php) (revision 16323) +++ branches/5.3.x/core/units/email_templates/email_templates_config.php (.../email_templates_config.php) (revision 16389) @@ -1,6 +1,6 @@ Array ('main' => 'in-portal:configemail'), 'Sections' => Array ( - 'in-portal:configemail' => Array ( - 'parent' => 'in-portal:site', - 'icon' => 'email_templates', - 'label' => 'la_title_EmailTemplates', - 'url' => Array ('t' => 'languages/email_template_list', 'pass' => 'm'), - 'permissions' => Array ('view', 'add', 'edit', 'delete'), - 'priority' => 5, - 'type' => stTREE, + 'in-portal:configemail' => Array ( + 'parent' => 'in-portal:site', + 'icon' => 'email_templates', + 'label' => 'la_title_EmailTemplates', + 'url' => Array ('t' => 'languages/email_template_list', 'pass' => 'm'), + 'permissions' => Array ('view', 'add', 'edit', 'delete'), + 'priority' => 5, + 'type' => stTREE, ), ), @@ -122,9 +122,9 @@ 'Fields' => Array ( 'TemplateId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), - 'TemplateName' => Array ('type' => 'string', 'not_null' => 1, 'unique' => Array ('Type'), 'required' => 1, 'default' => ''), + 'TemplateName' => Array ('type' => 'string', 'not_null' => 1, 'unique' => Array ('Type'), 'required' => 1, 'default' => ''), 'Headers' => Array ('type' => 'string', 'default' => NULL), - 'ReplacementTags' => Array ('type' => 'string', 'default' => NULL), + 'ReplacementTags' => Array ('type' => 'string', 'default' => NULL), 'AllowChangingSender' => Array ( 'type' => 'int', @@ -163,7 +163,7 @@ ), 'Recipients' => Array ('type' => 'string', 'default' => NULL), - 'Subject' => Array ( + 'Subject' => Array ( 'type' => 'string', 'formatter' => 'kMultiLanguage', 'db_type' => 'text', 'error_msgs' => Array ('parsing_error' => '!la_error_ParsingError!'), @@ -190,34 +190,34 @@ 'not_null' => 1, 'default' => 0 ), - 'Enabled' => Array ( - 'type' => 'int', - 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, - 'not_null' => 1, 'default' => 1 - ), + 'Enabled' => Array ( + 'type' => 'int', + 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, + 'not_null' => 1, 'default' => 1 + ), - 'FrontEndOnly' => Array ( - 'type' => 'int', - 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, - 'not_null' => 1, 'default' => 0 - ), + 'FrontEndOnly' => Array ( + 'type' => 'int', + 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, + 'not_null' => 1, 'default' => 0 + ), - 'Module' => Array ( - 'type' => 'string', - 'formatter' => 'kOptionsFormatter', 'options' => Array (), - 'not_null' => 1, 'required' => 1, 'default' => 'Core' - ), + 'Module' => Array ( + 'type' => 'string', + 'formatter' => 'kOptionsFormatter', 'options' => Array (), + 'not_null' => 1, 'required' => 1, 'default' => 'Core' + ), - 'Description' => Array ('type' => 'string', 'default' => NULL), + 'Description' => Array ('type' => 'string', 'default' => NULL), - 'Type' => Array ( - 'type' => 'int', - 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Text_Admin', 0 => 'la_Text_User'), 'use_phrases' => 1, - 'not_null' => 1, 'unique' => Array ('TemplateName'), 'required' => 1, 'default' => 0 - ), + 'Type' => Array ( + 'type' => 'int', + 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Text_Admin', 0 => 'la_Text_User'), 'use_phrases' => 1, + 'not_null' => 1, 'unique' => Array ('TemplateName'), 'required' => 1, 'default' => 0 + ), 'LastChanged' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => NULL), 'BindToSystemEvent' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), - ), + ), 'VirtualFields' => Array ( 'RecipientType' => Array ( @@ -265,7 +265,7 @@ ), ), - 'Grids' => Array ( + 'Grids' => Array ( // used on "Email Events" tab in language editing in "Regional" section 'Default' => Array ( 'Icons' => Array ( @@ -274,13 +274,13 @@ 1 => 'icon16_item.png', ), 'Fields' => Array ( - 'TemplateId' => Array ('title' => 'column:la_fld_Id', 'filter_block' => 'grid_range_filter', 'width' => 70, ), - 'Description' => Array ('filter_block' => 'grid_like_filter', 'width' => 250, ), - 'TemplateName' => Array ('filter_block' => 'grid_like_filter', 'width' => 250, ), - 'Module' => Array ('filter_block' => 'grid_multioptions_filter', 'width' => 100, ), - 'Type' => Array ('filter_block' => 'grid_options_filter', 'width' => 120, ), - 'Enabled' => Array ('title' => 'column:la_fld_Status', 'filter_block' => 'grid_options_filter', 'width' => 80, ), - 'LastChanged' => Array ('title' => 'column:la_fld_Modified', 'filter_block' => 'grid_date_range_filter', 'width' => 150), + 'TemplateId' => Array ('title' => 'column:la_fld_Id', 'filter_block' => 'grid_range_filter', 'width' => 70, ), + 'Description' => Array ('filter_block' => 'grid_like_filter', 'width' => 250, ), + 'TemplateName' => Array ('filter_block' => 'grid_like_filter', 'width' => 250, ), + 'Module' => Array ('filter_block' => 'grid_multioptions_filter', 'width' => 100, ), + 'Type' => Array ('filter_block' => 'grid_options_filter', 'width' => 120, ), + 'Enabled' => Array ('title' => 'column:la_fld_Status', 'filter_block' => 'grid_options_filter', 'width' => 80, ), + 'LastChanged' => Array ('title' => 'column:la_fld_Modified', 'filter_block' => 'grid_date_range_filter', 'width' => 150), ), ),