Index: trunk/core/admin_templates/categories/categories_tabs.tpl
===================================================================
diff -u
--- trunk/core/admin_templates/categories/categories_tabs.tpl (revision 0)
+++ trunk/core/admin_templates/categories/categories_tabs.tpl (revision 5102)
@@ -0,0 +1,16 @@
+
\ No newline at end of file
Index: trunk/kernel/admin_templates/categories/ci_blocks.tpl
===================================================================
diff -u
--- trunk/kernel/admin_templates/categories/ci_blocks.tpl (revision 0)
+++ trunk/kernel/admin_templates/categories/ci_blocks.tpl (revision 5102)
@@ -0,0 +1,18 @@
+
+
+
.gif" title="" width="11" height="11" align="absmiddle" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
\ No newline at end of file
Index: trunk/kernel/admin_templates/categories/categories_tabs.tpl
===================================================================
diff -u
--- trunk/kernel/admin_templates/categories/categories_tabs.tpl (revision 0)
+++ trunk/kernel/admin_templates/categories/categories_tabs.tpl (revision 5102)
@@ -0,0 +1,16 @@
+
\ No newline at end of file
Index: trunk/kernel/admin_templates/categories/categories_edit_custom.tpl
===================================================================
diff -u
--- trunk/kernel/admin_templates/categories/categories_edit_custom.tpl (revision 0)
+++ trunk/kernel/admin_templates/categories/categories_edit_custom.tpl (revision 5102)
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: trunk/core/units/categories/categories_config.php
===================================================================
diff -u -r5096 -r5102
--- trunk/core/units/categories/categories_config.php (.../categories_config.php) (revision 5096)
+++ trunk/core/units/categories/categories_config.php (.../categories_config.php) (revision 5102)
@@ -50,11 +50,11 @@
'catalog' => Array('prefixes' => Array('c_List'), 'format' => "!la_title_Categories! (#c_recordcount#)"),
- 'categories_edit' => Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_General!"),
-
- 'category_items'=> Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_Items!"),
+ 'categories_edit' => Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_General!"),
+ 'categories_properties' => Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_Properties!"),
+ 'categories_custom' => Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_Custom!"),
- 'tree_site' => Array('format' => '!la_selecting_categories!'),
+ 'tree_site' => Array('format' => '!la_selecting_categories!'),
),
'PermSection' => Array('main' => 'CATEGORY:in-portal:categories', /*'search' => 'in-portal:configuration_search',*/ 'email' => 'in-portal:configuration_email', 'custom' => 'in-portal:configuration_custom'),
@@ -206,7 +206,7 @@
'Description' => Array('type' => 'string','not_null' => '1','default' => ''),
'CreatedOn' => Array('formatter' => 'kDateFormatter', 'default'=>'#NOW#', 'not_null' => '1'),
'EditorsPick' => Array('type' => 'int','default' => ''),
- 'Status' => Array('type' => 'int','not_null' => '1','default' => '0'),
+ 'Status' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array ( 1 => 'la_Active', 2 => 'la_Pending', 0 => 'la_Disabled' ), 'use_phrases' => 1, 'not_null' => '1','default' => 2),
'Pop' => Array('type' => 'int','default' => ''),
'Priority' => Array('type' => 'int', 'not_null' => 1, 'default' => ''),
'MetaKeywords' => Array('type' => 'string','default' => ''),
@@ -217,9 +217,9 @@
'ParentPath' => Array('type' => 'string','not_null' => '1','default' => ''),
'NamedParentPath' => Array('type' => 'string','not_null' => '1','default' => ''),
'MetaDescription' => Array('type' => 'string','default' => ''),
- 'HotItem' => Array('type' => 'int','not_null' => '1','default' => '2'),
- 'NewItem' => Array('type' => 'int','not_null' => '1','default' => '2'),
- 'PopItem' => Array('type' => 'int','not_null' => '1','default' => '2'),
+ 'HotItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => '1', 'default' => 2),
+ 'NewItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => '1', 'default' => 2),
+ 'PopItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => '1', 'default' => 2),
'Modified' => Array('type' => 'int','not_null' => '1','default' => '0'),
'ModifiedById' => Array('type' => 'int','not_null' => '1','default' => '0'),
'CategoryTemplate' => Array('type' => 'string','not_null' => '1','default' => ''),
Index: trunk/kernel/admin_templates/categories/categories_edit_properties.tpl
===================================================================
diff -u
--- trunk/kernel/admin_templates/categories/categories_edit_properties.tpl (revision 0)
+++ trunk/kernel/admin_templates/categories/categories_edit_properties.tpl (revision 5102)
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: trunk/core/admin_templates/categories/categories_edit_custom.tpl
===================================================================
diff -u
--- trunk/core/admin_templates/categories/categories_edit_custom.tpl (revision 0)
+++ trunk/core/admin_templates/categories/categories_edit_custom.tpl (revision 5102)
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: trunk/core/admin_templates/categories/categories_edit_properties.tpl
===================================================================
diff -u
--- trunk/core/admin_templates/categories/categories_edit_properties.tpl (revision 0)
+++ trunk/core/admin_templates/categories/categories_edit_properties.tpl (revision 5102)
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: trunk/kernel/units/categories/categories_config.php
===================================================================
diff -u -r5096 -r5102
--- trunk/kernel/units/categories/categories_config.php (.../categories_config.php) (revision 5096)
+++ trunk/kernel/units/categories/categories_config.php (.../categories_config.php) (revision 5102)
@@ -50,11 +50,11 @@
'catalog' => Array('prefixes' => Array('c_List'), 'format' => "!la_title_Categories! (#c_recordcount#)"),
- 'categories_edit' => Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_General!"),
-
- 'category_items'=> Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_Items!"),
+ 'categories_edit' => Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_General!"),
+ 'categories_properties' => Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_Properties!"),
+ 'categories_custom' => Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_Custom!"),
- 'tree_site' => Array('format' => '!la_selecting_categories!'),
+ 'tree_site' => Array('format' => '!la_selecting_categories!'),
),
'PermSection' => Array('main' => 'CATEGORY:in-portal:categories', /*'search' => 'in-portal:configuration_search',*/ 'email' => 'in-portal:configuration_email', 'custom' => 'in-portal:configuration_custom'),
@@ -206,7 +206,7 @@
'Description' => Array('type' => 'string','not_null' => '1','default' => ''),
'CreatedOn' => Array('formatter' => 'kDateFormatter', 'default'=>'#NOW#', 'not_null' => '1'),
'EditorsPick' => Array('type' => 'int','default' => ''),
- 'Status' => Array('type' => 'int','not_null' => '1','default' => '0'),
+ 'Status' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array ( 1 => 'la_Active', 2 => 'la_Pending', 0 => 'la_Disabled' ), 'use_phrases' => 1, 'not_null' => '1','default' => 2),
'Pop' => Array('type' => 'int','default' => ''),
'Priority' => Array('type' => 'int', 'not_null' => 1, 'default' => ''),
'MetaKeywords' => Array('type' => 'string','default' => ''),
@@ -217,9 +217,9 @@
'ParentPath' => Array('type' => 'string','not_null' => '1','default' => ''),
'NamedParentPath' => Array('type' => 'string','not_null' => '1','default' => ''),
'MetaDescription' => Array('type' => 'string','default' => ''),
- 'HotItem' => Array('type' => 'int','not_null' => '1','default' => '2'),
- 'NewItem' => Array('type' => 'int','not_null' => '1','default' => '2'),
- 'PopItem' => Array('type' => 'int','not_null' => '1','default' => '2'),
+ 'HotItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => '1', 'default' => 2),
+ 'NewItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => '1', 'default' => 2),
+ 'PopItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => '1', 'default' => 2),
'Modified' => Array('type' => 'int','not_null' => '1','default' => '0'),
'ModifiedById' => Array('type' => 'int','not_null' => '1','default' => '0'),
'CategoryTemplate' => Array('type' => 'string','not_null' => '1','default' => ''),
Index: trunk/core/admin_templates/categories/categories_edit.tpl
===================================================================
diff -u
--- trunk/core/admin_templates/categories/categories_edit.tpl (revision 0)
+++ trunk/core/admin_templates/categories/categories_edit.tpl (revision 5102)
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: trunk/core/admin_templates/categories/ci_blocks.tpl
===================================================================
diff -u
--- trunk/core/admin_templates/categories/ci_blocks.tpl (revision 0)
+++ trunk/core/admin_templates/categories/ci_blocks.tpl (revision 5102)
@@ -0,0 +1,18 @@
+
+
+
.gif" title="" width="11" height="11" align="absmiddle" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
\ No newline at end of file
Index: trunk/kernel/admin_templates/categories/categories_edit.tpl
===================================================================
diff -u
--- trunk/kernel/admin_templates/categories/categories_edit.tpl (revision 0)
+++ trunk/kernel/admin_templates/categories/categories_edit.tpl (revision 5102)
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file