Changeset View
Changeset View
Standalone View
Standalone View
branches/5.3.x/core/units/site_domains/site_domains_config.php
Show All 25 Lines | |||||
'QueryString' => Array ( | 'QueryString' => Array ( | ||||
1 => 'id', | 1 => 'id', | ||||
2 => 'Page', | 2 => 'Page', | ||||
3 => 'event', | 3 => 'event', | ||||
4 => 'mode', | 4 => 'mode', | ||||
), | ), | ||||
'IDField' => 'DomainId', | 'IDField' => 'DomainId', | ||||
'StatusField' => array('Status'), | |||||
'TableName' => TABLE_PREFIX . 'SiteDomains', | 'TableName' => TABLE_PREFIX . 'SiteDomains', | ||||
'TitleField' => 'DomainName', | 'TitleField' => 'DomainName', | ||||
'TitlePresets' => Array ( | 'TitlePresets' => Array ( | ||||
'default' => Array ( | 'default' => Array ( | ||||
'new_status_labels' => Array ('site-domain' => '!la_title_AddingSiteDomain!'), | 'new_status_labels' => Array ('site-domain' => '!la_title_AddingSiteDomain!'), | ||||
'edit_status_labels' => Array ('site-domain' => '!la_title_EditingSiteDomain!'), | 'edit_status_labels' => Array ('site-domain' => '!la_title_EditingSiteDomain!'), | ||||
), | ), | ||||
'site_domain_list' => Array ( | 'site_domain_list' => Array ( | ||||
'prefixes' => Array ('site-domain_List'), 'format' => "!la_title_SiteDomains!", | 'prefixes' => Array ('site-domain_List'), 'format' => "!la_title_SiteDomains!", | ||||
'toolbar_buttons' => Array ('new_item', 'edit', 'delete', 'view', 'dbl-click'), | 'toolbar_buttons' => Array ('new_item', 'edit', 'delete', 'approve', 'decline', 'view', 'dbl-click'), | ||||
), | ), | ||||
'site_domain_edit' => Array ( | 'site_domain_edit' => Array ( | ||||
'prefixes' => Array ('site-domain'), 'format' => "#site-domain_status# '#site-domain_titlefield#' - !la_title_General!", | 'prefixes' => Array ('site-domain'), 'format' => "#site-domain_status# '#site-domain_titlefield#' - !la_title_General!", | ||||
'toolbar_buttons' => Array ('select', 'cancel', 'reset_edit', 'prev', 'next'), | 'toolbar_buttons' => Array ('select', 'cancel', 'reset_edit', 'prev', 'next'), | ||||
), | ), | ||||
), | ), | ||||
▲ Show 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | |||||
'DomainIPRange' => Array ('type' => 'string', 'default' => NULL), | 'DomainIPRange' => Array ('type' => 'string', 'default' => NULL), | ||||
'ExternalUrl' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), | 'ExternalUrl' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), | ||||
'RedirectOnIPMatch' => Array ( | 'RedirectOnIPMatch' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', 'options' => Array (0 => 'la_Disabled', 1 => 'la_opt_CurrentDomain', 2 => 'la_opt_ExternalUrl'), 'use_phrases' => 1, | 'formatter' => 'kOptionsFormatter', 'options' => Array (0 => 'la_Disabled', 1 => 'la_opt_CurrentDomain', 2 => 'la_opt_ExternalUrl'), 'use_phrases' => 1, | ||||
'not_null' => 1, 'default' => 0 | 'not_null' => 1, 'default' => 0 | ||||
), | ), | ||||
'Priority' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'Priority' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'Status' => array( | |||||
'type' => 'int', | |||||
'formatter' => 'kOptionsFormatter', 'options' => array( | |||||
STATUS_ACTIVE => 'la_Enabled', | |||||
STATUS_DISABLED => 'la_Disabled', | |||||
), 'use_phrases' => 1, | |||||
'not_null' => 1, 'required' => 1, 'default' => STATUS_ACTIVE, | |||||
), | |||||
), | ), | ||||
'Grids' => Array ( | 'Grids' => Array ( | ||||
'Default' => Array ( | 'Default' => Array ( | ||||
'Icons' => Array ('default' => 'icon16_item.png'), | 'Icons' => Array( | ||||
'default' => 'icon16_item.png', | |||||
STATUS_DISABLED => 'icon16_disabled.png', | |||||
STATUS_ACTIVE => 'icon16_item.png', | |||||
), | |||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'DomainId' => Array ('title' => 'column:la_fld_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 70, ), | 'DomainId' => Array ('title' => 'column:la_fld_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 70, ), | ||||
'DomainName' => Array ('filter_block' => 'grid_like_filter', 'width' => 250, ), | 'DomainName' => Array ('filter_block' => 'grid_like_filter', 'width' => 250, ), | ||||
'SSLDomainName' => Array ('filter_block' => 'grid_like_filter', 'width' => 250, ), | 'SSLDomainName' => Array ('filter_block' => 'grid_like_filter', 'width' => 250, ), | ||||
'Country' => Array ('filter_block' => 'grid_options_filter', 'width' => 250, ), | 'Country' => Array ('filter_block' => 'grid_options_filter', 'width' => 250, ), | ||||
'PrimaryLanguageId' => Array ('title' => 'column:la_fld_Language', 'filter_block' => 'grid_options_filter', 'width' => 250, ), | 'PrimaryLanguageId' => Array ('title' => 'column:la_fld_Language', 'filter_block' => 'grid_options_filter', 'width' => 250, ), | ||||
'PrimaryThemeId' => Array ('title' => 'column:la_fld_Theme', 'filter_block' => 'grid_options_filter', 'width' => 250, ), | 'PrimaryThemeId' => Array ('title' => 'column:la_fld_Theme', 'filter_block' => 'grid_options_filter', 'width' => 250, ), | ||||
'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 70, ), | 'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 70, ), | ||||
'Status' => array('filter_block' => 'grid_options_filter'), | |||||
), | ), | ||||
), | ), | ||||
), | ), | ||||
); | ); | ||||
No newline at end of file |