Index: branches/unlabeled/unlabeled-1.3.2/core/install/install_data.sql
===================================================================
diff -u -r7051 -r7345
--- branches/unlabeled/unlabeled-1.3.2/core/install/install_data.sql (.../install_data.sql) (revision 7051)
+++ branches/unlabeled/unlabeled-1.3.2/core/install/install_data.sql (.../install_data.sql) (revision 7345)
@@ -548,6 +548,7 @@
INSERT INTO StdDestinations VALUES (307, 2, 225, 'la_state_AK', 'AK', NULL);
INSERT INTO StdDestinations VALUES (306, 2, 225, 'la_state_AL', 'AL', NULL);
+INSERT INTO PermissionConfig (PermissionName, Description, ErrorMessage, ModuleId) VALUES ('CATEGORY.VIEW', 'lu_PermName_Category.View_desc', 'lu_PermName_Category.View_error', 'In-Portal');
INSERT INTO PermCache (CategoryId, PermId, ACL) VALUES (0, 1, '11,12,13,14,15');
INSERT INTO Permissions VALUES (0, 'LOGIN', 13, 1, 1, 0);
@@ -567,6 +568,7 @@
INSERT INTO Permissions VALUES (0, 'in-portal:configure_lang.edit', 11, 1, 1, 0);
INSERT INTO Permissions VALUES (0, 'in-portal:configure_lang.delete', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (0, 'CATEGORY.VIEW', 11, 1, 0, 0);
INSERT INTO Permissions VALUES (0, 'CATEGORY.ADD', 11, 1, 0, 0);
INSERT INTO Permissions VALUES (0, 'CATEGORY.DELETE', 11, 1, 0, 0);
INSERT INTO Permissions VALUES (0, 'CATEGORY.MODIFY', 11, 1, 0, 0);
Index: branches/unlabeled/unlabeled-1.6.2/core/units/modules/modules_config.php
===================================================================
diff -u -r5561 -r7345
--- branches/unlabeled/unlabeled-1.6.2/core/units/modules/modules_config.php (.../modules_config.php) (revision 5561)
+++ branches/unlabeled/unlabeled-1.6.2/core/units/modules/modules_config.php (.../modules_config.php) (revision 7345)
@@ -1,5 +1,5 @@
'mod',
'ItemClass' => Array('class'=>'kDBItem','file'=>'','build_event'=>'OnItemBuild'),
@@ -13,19 +13,19 @@
3 => 'event',
4 => 'mode',
),
-
+
'IDField' => 'Name',
'TitleField' => 'Name', // field, used in bluebar when editing existing item
'StatusField' => Array('Loaded'),
-
+
'TitlePresets' => Array(
'modules_list' => Array( 'prefixes' => Array('mod_List'), 'format' => "!la_title_Configuration! - !la_title_Module_Status! (#mod_recordcount#)"),
-
+
'tree_modules' => Array('format' => '!la_section_overview!'),
),
-
+
'PermSection' => Array('main' => 'in-portal:mod_status'),
-
+
'Sections' => Array(
// "Configuration" -> "Modules and Settings"
'in-portal:modules' => Array(
@@ -37,12 +37,12 @@
'priority' => 5,
'type' => stTREE,
),
-
+
'in-portal:mod_status' => Array(
'parent' => 'in-portal:modules',
'icon' => 'modules',
'label' => 'la_title_Module_Status',
- 'url' => Array('t' => 'modules/modules_list', 'pass' => 'm'),
+ 'url' => Array('t' => 'in-portal/modules/modules_list', 'pass' => 'm'),
'permissions' => Array('view', 'edit', 'advanced:approve', 'advanced:decline'),
'priority' => 1,
'type' => stTREE,
@@ -57,7 +57,7 @@
'priority' => 2,
'type' => stTREE,
),
-
+
'in-portal:tag_library' => Array(
'parent' => 'in-portal:modules',
'icon' => 'modules',
@@ -68,7 +68,7 @@
'type' => stTREE,
),
),
-
+
'TableName' => TABLE_PREFIX.'Modules',
'FilterMenu' => Array(
@@ -80,17 +80,17 @@
'disabled' => Array('label' => 'la_Disabled', 'on_sql' => '', 'off_sql' => '%1$s.Loaded != 0'),
)
),
-
+
'ListSQLs' => Array( ''=>'SELECT * FROM %s',
), // key - special, value - list select sql
'ItemSQLs' => Array( ''=>'SELECT * FROM %s',
),
- 'ListSortings' => Array(
+ 'ListSortings' => Array(
'' => Array(
'Sorting' => Array('LoadOrder' => 'asc'),
)
),
-
+
'Fields' => Array(
'Name' => Array('type' => 'string','not_null' => '1','default' => ''),
'Path' => Array('type' => 'string','not_null' => '1','default' => ''),
@@ -102,9 +102,9 @@
'RootCat' => Array('type' => 'int','not_null' => '1','default' => '0'),
'BuildDate' => Array('type' => 'double', 'formatter' => 'kDateFormatter', 'not_null' => '1','default' => ''),
),
-
+
'VirtualFields' => Array(),
-
+
'Grids' => Array(
'Default' => Array(
'Icons' => Array('default' => 'icon16_custom.gif'),
@@ -113,7 +113,7 @@
'Loaded' => Array('title' => 'la_col_Status'),
'Version' => Array('title' => 'la_col_Version'),
),
-
+
),
),
);
Index: branches/unlabeled/unlabeled-1.2.2/core/admin_templates/sections_list.tpl
===================================================================
diff -u -r7071 -r7345
--- branches/unlabeled/unlabeled-1.2.2/core/admin_templates/sections_list.tpl (.../sections_list.tpl) (revision 7071)
+++ branches/unlabeled/unlabeled-1.2.2/core/admin_templates/sections_list.tpl (.../sections_list.tpl) (revision 7345)
@@ -1,3 +1,4 @@
+
Index: branches/unlabeled/unlabeled-1.6.2/kernel/units/modules/modules_config.php
===================================================================
diff -u -r5561 -r7345
--- branches/unlabeled/unlabeled-1.6.2/kernel/units/modules/modules_config.php (.../modules_config.php) (revision 5561)
+++ branches/unlabeled/unlabeled-1.6.2/kernel/units/modules/modules_config.php (.../modules_config.php) (revision 7345)
@@ -1,5 +1,5 @@
'mod',
'ItemClass' => Array('class'=>'kDBItem','file'=>'','build_event'=>'OnItemBuild'),
@@ -13,19 +13,19 @@
3 => 'event',
4 => 'mode',
),
-
+
'IDField' => 'Name',
'TitleField' => 'Name', // field, used in bluebar when editing existing item
'StatusField' => Array('Loaded'),
-
+
'TitlePresets' => Array(
'modules_list' => Array( 'prefixes' => Array('mod_List'), 'format' => "!la_title_Configuration! - !la_title_Module_Status! (#mod_recordcount#)"),
-
+
'tree_modules' => Array('format' => '!la_section_overview!'),
),
-
+
'PermSection' => Array('main' => 'in-portal:mod_status'),
-
+
'Sections' => Array(
// "Configuration" -> "Modules and Settings"
'in-portal:modules' => Array(
@@ -37,12 +37,12 @@
'priority' => 5,
'type' => stTREE,
),
-
+
'in-portal:mod_status' => Array(
'parent' => 'in-portal:modules',
'icon' => 'modules',
'label' => 'la_title_Module_Status',
- 'url' => Array('t' => 'modules/modules_list', 'pass' => 'm'),
+ 'url' => Array('t' => 'in-portal/modules/modules_list', 'pass' => 'm'),
'permissions' => Array('view', 'edit', 'advanced:approve', 'advanced:decline'),
'priority' => 1,
'type' => stTREE,
@@ -57,7 +57,7 @@
'priority' => 2,
'type' => stTREE,
),
-
+
'in-portal:tag_library' => Array(
'parent' => 'in-portal:modules',
'icon' => 'modules',
@@ -68,7 +68,7 @@
'type' => stTREE,
),
),
-
+
'TableName' => TABLE_PREFIX.'Modules',
'FilterMenu' => Array(
@@ -80,17 +80,17 @@
'disabled' => Array('label' => 'la_Disabled', 'on_sql' => '', 'off_sql' => '%1$s.Loaded != 0'),
)
),
-
+
'ListSQLs' => Array( ''=>'SELECT * FROM %s',
), // key - special, value - list select sql
'ItemSQLs' => Array( ''=>'SELECT * FROM %s',
),
- 'ListSortings' => Array(
+ 'ListSortings' => Array(
'' => Array(
'Sorting' => Array('LoadOrder' => 'asc'),
)
),
-
+
'Fields' => Array(
'Name' => Array('type' => 'string','not_null' => '1','default' => ''),
'Path' => Array('type' => 'string','not_null' => '1','default' => ''),
@@ -102,9 +102,9 @@
'RootCat' => Array('type' => 'int','not_null' => '1','default' => '0'),
'BuildDate' => Array('type' => 'double', 'formatter' => 'kDateFormatter', 'not_null' => '1','default' => ''),
),
-
+
'VirtualFields' => Array(),
-
+
'Grids' => Array(
'Default' => Array(
'Icons' => Array('default' => 'icon16_custom.gif'),
@@ -113,7 +113,7 @@
'Loaded' => Array('title' => 'la_col_Status'),
'Version' => Array('title' => 'la_col_Version'),
),
-
+
),
),
);