Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/themes/themes_config.php
Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Line(s) | |||||
'ThemeId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'ThemeId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'Name' => Array ('type' => 'string', 'not_null' => 1, 'required' => 1, 'default' => ''), | 'Name' => Array ('type' => 'string', 'not_null' => 1, 'required' => 1, 'default' => ''), | ||||
'Enabled' => Array ( | 'Enabled' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', | 'formatter' => 'kOptionsFormatter', | ||||
'options' => Array (0 => 'la_Disabled', 1 => 'la_Enabled'), | 'options' => Array (0 => 'la_Disabled', 1 => 'la_Enabled'), | ||||
'use_phrases' => 1, 'not_null' => 1, 'default' => 1, | 'use_phrases' => 1, 'not_null' => 1, 'default' => 1, | ||||
), | ), | ||||
'Description' => Array ('type' => 'string', 'formatter' => 'kFormatter', 'using_fck' => 1, 'default' => null), | 'Description' => Array ('type' => 'string', 'default' => null), | ||||
'PrimaryTheme' => Array ( | 'PrimaryTheme' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', | 'formatter' => 'kOptionsFormatter', | ||||
'options' => Array (0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, | 'options' => Array (0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, | ||||
'not_null' => 1, 'default' => 0, | 'not_null' => 1, 'default' => 0, | ||||
), | ), | ||||
'CacheTimeout' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | 'CacheTimeout' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), | ||||
'StylesheetId' => Array ('type' => 'int', /*'formatter' => 'kOptionsFormatter', 'options_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Stylesheets', 'option_key_field' => 'StylesheetId', 'option_title_field' => 'Name',*/ 'not_null' => 1, 'default' => 0), | 'StylesheetId' => Array ('type' => 'int', /*'formatter' => 'kOptionsFormatter', 'options_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Stylesheets', 'option_key_field' => 'StylesheetId', 'option_title_field' => 'Name',*/ 'not_null' => 1, 'default' => 0), | ||||
Show All 35 Lines |