Changeset View
Changeset View
Standalone View
Standalone View
branches/5.3.x/core/units/email_templates/email_templates_config.php
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | |||||
'email_template_list' => Array ( | 'email_template_list' => Array ( | ||||
'prefixes' => Array ('email-template_List'), 'format' => "!la_title_EmailTemplates!", | 'prefixes' => Array ('email-template_List'), 'format' => "!la_title_EmailTemplates!", | ||||
'toolbar_buttons' => Array ('new_item', 'edit', 'delete', 'approve', 'decline', 'frontend_mail', 'export', 'process', 'view', 'dbl-click'), | 'toolbar_buttons' => Array ('new_item', 'edit', 'delete', 'approve', 'decline', 'frontend_mail', 'export', 'process', 'view', 'dbl-click'), | ||||
), | ), | ||||
'email_template_edit' => Array ( | 'email_template_edit' => Array ( | ||||
'prefixes' => Array ('email-template'), | 'prefixes' => Array ('email-template'), | ||||
'format' => '#email-template_status# - #email-template_titlefield# - !la_section_General!', | 'format' => '#email-template_status# - #email-template_titlefield# - !la_section_General!', | ||||
'toolbar_buttons' => Array ('select', 'cancel', 'reset_edit', 'prev', 'next'), | 'toolbar_buttons' => Array ('select', 'setprimary', 'cancel', 'reset_edit', 'prev', 'next'), | ||||
), | ), | ||||
'email_template_edit_settings' => Array ( | 'email_template_edit_settings' => Array ( | ||||
'prefixes' => Array ('email-template'), | 'prefixes' => Array ('email-template'), | ||||
'format' => '#email-template_status# - #email-template_titlefield# - !la_section_Settings!', | 'format' => '#email-template_status# - #email-template_titlefield# - !la_section_Settings!', | ||||
'toolbar_buttons' => Array ('select', 'cancel', 'reset_edit', 'prev', 'next'), | 'toolbar_buttons' => Array ('select', 'cancel', 'reset_edit', 'prev', 'next'), | ||||
), | ), | ||||
// for mass mailing | // for mass mailing | ||||
'email_send_form' => Array ('prefixes' => Array (), 'format' => '!la_title_SendEmail!'), | 'email_send_form' => Array ('prefixes' => Array (), 'format' => '!la_title_SendEmail!'), | ||||
), | ), | ||||
'EditTabPresets' => Array ( | 'EditTabPresets' => Array ( | ||||
'Default' => Array ( | 'Default' => Array ( | ||||
'general' => Array ('title' => 'la_tab_General', 't' => 'languages/email_template_edit', 'priority' => 1), | 'general' => Array ('title' => 'la_tab_General', 't' => 'languages/email_template_edit', 'priority' => 1), | ||||
'settings' => Array ('title' => 'la_tab_Settings', 't' => 'languages/email_template_settings', 'priority' => 2), | 'settings' => Array ('title' => 'la_tab_Settings', 't' => 'languages/email_template_settings', 'priority' => 2), | ||||
), | ), | ||||
), | ), | ||||
'CheckSimulatniousEdit' => true, | |||||
'PermSection' => Array ('main' => 'in-portal:configemail'), | 'PermSection' => Array ('main' => 'in-portal:configemail'), | ||||
'Sections' => Array ( | 'Sections' => Array ( | ||||
'in-portal:configemail' => Array ( | 'in-portal:configemail' => Array ( | ||||
'parent' => 'in-portal:site', | 'parent' => 'in-portal:site', | ||||
'icon' => 'email_templates', | 'icon' => 'email_templates', | ||||
'label' => 'la_title_EmailTemplates', | 'label' => 'la_title_EmailTemplates', | ||||
'url' => Array ('t' => 'languages/email_template_list', 'pass' => 'm'), | 'url' => Array ('t' => 'languages/email_template_list', 'pass' => 'm'), | ||||
'permissions' => Array ('view', 'add', 'edit', 'delete'), | 'permissions' => Array ('view', 'add', 'edit', 'delete'), | ||||
'priority' => 5, | 'priority' => 5, | ||||
'type' => stTREE, | 'type' => stTREE, | ||||
), | ), | ||||
), | ), | ||||
'TableName' => TABLE_PREFIX . 'EmailTemplates', | 'TableName' => TABLE_PREFIX . 'EmailTemplates', | ||||
'CalculatedFields' => Array ( | |||||
'' => Array ( | |||||
'SourceSubject' => 'l%4$s_Subject', | |||||
'SourceHtmlBody' => 'l%4$s_HtmlBody', | |||||
'SourcePlainTextBody' => 'l%4$s_PlainTextBody', | |||||
'CurrentSubject' => 'l%5$s_Subject', | |||||
'CurrentHtmlBody' => 'l%5$s_HtmlBody', | |||||
'CurrentPlainTextBody' => 'l%5$s_PlainTextBody', | |||||
'TranslationInSync' => 'IF(l%5$s_TranslateFrom = 0, 1, 0)', | |||||
'TranslateFromLanguage' => 'l%5$s_TranslateFrom', | |||||
), | |||||
), | |||||
'ListSQLs' => Array ( | 'ListSQLs' => Array ( | ||||
'' => ' SELECT %1$s.* %2$s FROM %1$s', | '' => ' SELECT %1$s.* %2$s | ||||
FROM %1$s', | |||||
), | ), | ||||
'ListSortings' => Array ( | 'ListSortings' => Array ( | ||||
'' => Array ( | '' => Array ( | ||||
'ForcedSorting' => Array ('Enabled' => 'desc'), | 'ForcedSorting' => Array ('Enabled' => 'desc'), | ||||
'Sorting' => Array ('TemplateName' => 'asc'), | 'Sorting' => Array ('TemplateName' => 'asc'), | ||||
), | ), | ||||
'module' => Array ( | 'module' => Array ( | ||||
▲ Show 20 Lines • Show All 61 Lines • ▼ Show 20 Line(s) | |||||
'PlainTextBody' => Array ( | 'PlainTextBody' => Array ( | ||||
'type' => 'string', | 'type' => 'string', | ||||
'formatter' => 'kMultiLanguage', 'db_type' => 'longtext', | 'formatter' => 'kMultiLanguage', 'db_type' => 'longtext', | ||||
'error_msgs' => Array ('parsing_error' => '!la_error_ParsingError!'), | 'error_msgs' => Array ('parsing_error' => '!la_error_ParsingError!'), | ||||
'default' => null | 'default' => null | ||||
), | ), | ||||
'TranslateFrom' => Array ( | |||||
'type' => 'int', | |||||
'formatter' => 'kMultiLanguage', 'db_type' => 'int', 'index_type' => 'int', | |||||
'not_null' => 1, 'default' => 0 | |||||
), | |||||
'Enabled' => Array ( | 'Enabled' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, | 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, | ||||
'not_null' => 1, 'default' => 1 | 'not_null' => 1, 'default' => 1 | ||||
), | ), | ||||
'FrontEndOnly' => Array ( | 'FrontEndOnly' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
Show All 38 Lines | |||||
'invalid_group' => '!la_error_GroupNotFound!', | 'invalid_group' => '!la_error_GroupNotFound!', | ||||
), | ), | ||||
'default' => '' | 'default' => '' | ||||
), | ), | ||||
'Tag' => Array ('type' => 'string', 'default' => ''), | 'Tag' => Array ('type' => 'string', 'default' => ''), | ||||
'Replacement' => Array ('type' => 'string', 'default' => ''), | 'Replacement' => Array ('type' => 'string', 'default' => ''), | ||||
'ReplacementTagsXML' => Array ('type' => 'string', 'default' => ''), | 'ReplacementTagsXML' => Array ('type' => 'string', 'default' => ''), | ||||
'SourceSubject' => Array ('type' => 'string', 'default' => ''), | |||||
'SourceHtmlBody' => Array ('type' => 'string', 'default' => ''), | |||||
'SourcePlainTextBody' => Array ('type' => 'string', 'default' => ''), | |||||
'CurrentSubject' => Array ('type' => 'string', 'default' => ''), | |||||
'CurrentHtmlBody' => Array ('type' => 'string', 'default' => ''), | |||||
'CurrentPlainTextBody' => Array ('type' => 'string', 'default' => ''), | |||||
'TranslationInSync' => Array ( | |||||
'type' => 'int', | |||||
'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, | |||||
'default' => 0, | |||||
), | |||||
'TranslateFromLanguage' => Array ( | |||||
'type' => 'int', | |||||
'formatter' => 'kOptionsFormatter', 'options_sql' => 'SELECT %s FROM ' . TABLE_PREFIX . 'Languages ORDER BY PackName', 'option_title_field' => 'PackName', 'option_key_field' => 'LanguageId', | |||||
'default' => 0, | |||||
), | |||||
), | ), | ||||
'Grids' => Array ( | 'Grids' => Array ( | ||||
// used on "Email Events" tab in language editing in "Regional" section | // used on "Email Events" tab in language editing in "Regional" section | ||||
'Default' => Array ( | 'Default' => Array ( | ||||
'Icons' => Array ( | 'Icons' => Array ( | ||||
'default' => 'icon16_item.png', | 'default' => 'icon16_item.png', | ||||
0 => 'icon16_disabled.png', | 0 => 'icon16_disabled.png', | ||||
Show All 15 Lines | |||||
'Icons' => Array ( | 'Icons' => Array ( | ||||
'default' => 'icon16_item.png', | 'default' => 'icon16_item.png', | ||||
0 => 'icon16_disabled.png', | 0 => 'icon16_disabled.png', | ||||
1 => 'icon16_item.png', | 1 => 'icon16_item.png', | ||||
), | ), | ||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'TemplateId' => Array ('title' => 'column:la_fld_Id', 'filter_block' => 'grid_range_filter', 'width' => 60, ), | 'TemplateId' => Array ('title' => 'column:la_fld_Id', 'filter_block' => 'grid_range_filter', 'width' => 60, ), | ||||
'TemplateName' => Array ('filter_block' => 'grid_like_combo_filter', 'width' => 250, ), | 'TemplateName' => Array ('filter_block' => 'grid_like_combo_filter', 'width' => 250, ), | ||||
'Subject' => Array ('filter_block' => 'grid_like_filter', 'no_special' => 0, 'width' => 300, ), | 'CurrentSubject' => Array ('title' => 'column:la_fld_Subject', 'filter_block' => 'grid_like_filter', 'no_special' => 0, 'width' => 300, ), | ||||
'Description' => Array ('filter_block' => 'grid_like_filter', 'width' => 250, ), | 'Description' => Array ('filter_block' => 'grid_like_filter', 'width' => 250, ), | ||||
'Type' => Array ('filter_block' => 'grid_options_filter', 'width' => 60, ), | 'Type' => Array ('filter_block' => 'grid_options_filter', 'width' => 60, ), | ||||
'Enabled' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | 'Enabled' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | ||||
'Module' => Array ('filter_block' => 'grid_multioptions_filter', 'width' => 100, ), | 'Module' => Array ('filter_block' => 'grid_multioptions_filter', 'width' => 100, ), | ||||
'FrontEndOnly' => Array ('filter_block' => 'grid_options_filter', 'width' => 120, 'hidden' => 1), | 'FrontEndOnly' => Array ('filter_block' => 'grid_options_filter', 'width' => 120, 'hidden' => 1), | ||||
'LastChanged' => Array ('title' => 'column:la_fld_Modified', 'filter_block' => 'grid_date_range_filter', 'width' => 150), | 'LastChanged' => Array ('title' => 'column:la_fld_Modified', 'filter_block' => 'grid_date_range_filter', 'width' => 150), | ||||
'TranslationInSync' => Array ('filter_block' => 'grid_options_filter', 'width' => 100, 'hidden' => 1), | |||||
'TranslateFromLanguage' => Array ('filter_block' => 'grid_multioptions_filter', 'width' => 100, 'hidden' => 1), | |||||
), | ), | ||||
), | ), | ||||
), | ), | ||||
); | ); | ||||
No newline at end of file |