Index: trunk/core/admin_templates/themes/themes_edit_tabs.tpl
===================================================================
diff -u
--- trunk/core/admin_templates/themes/themes_edit_tabs.tpl (revision 0)
+++ trunk/core/admin_templates/themes/themes_edit_tabs.tpl (revision 8071)
@@ -0,0 +1,12 @@
+
\ No newline at end of file
Index: trunk/core/units/themes/themes_config.php
===================================================================
diff -u -r8069 -r8071
--- trunk/core/units/themes/themes_config.php (.../themes_config.php) (revision 8069)
+++ trunk/core/units/themes/themes_config.php (.../themes_config.php) (revision 8071)
@@ -59,12 +59,12 @@
),
'Fields' => Array(
'ThemeId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0),
- 'Name' => Array('type' => 'string','not_null' => '1','default' => ''),
+ 'Name' => Array('type' => 'string','not_null' => 1, 'required' => 1, 'default' => ''),
'Enabled' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1=>'la_Enabled', 0=>'la_Disabled'), 'use_phrases'=>1, 'not_null' => 1, 'default' => 1),
'Description' => Array('type' => 'string','default' => null),
'PrimaryTheme' => Array('type' => 'int', 'not_null' => 1, 'default' => 0),
'CacheTimeout' => Array('type' => 'int', 'not_null' => 1, 'default' => 0),
- 'StylesheetId' => 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),
),
'Grids' => Array(
Index: trunk/core/admin_templates/themes/themes_edit.tpl
===================================================================
diff -u
--- trunk/core/admin_templates/themes/themes_edit.tpl (revision 0)
+++ trunk/core/admin_templates/themes/themes_edit.tpl (revision 8071)
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+
+
+
+
+