Page MenuHomeIn-Portal Phabricator

custom
No OneTemporary

File Metadata

Created
Sat, Feb 1, 11:42 AM
Index: branches/RC/custom/units/sections/sections_config.php
===================================================================
--- branches/RC/custom/units/sections/sections_config.php (revision 9082)
+++ branches/RC/custom/units/sections/sections_config.php (revision 9083)
@@ -1,56 +1,52 @@
<?php
// INSERT INTO `inp_Modules` VALUES ('Custom', 'custom/', 'custom-sections', '4.0.1', 1, 3, 'custom/', 0, 0);
-
- $config = Array(
- 'Prefix' => 'custom-sections',
-
- 'ConfigPriority' => 2,
-
- 'EventHandlerClass' => Array('class' => 'CustomEventHandler', 'file' => 'custom_eh.php', 'build_event' => 'OnBuild'), // for OnAfterConfigRead event
- 'TagProcessorClass' => Array('class' => 'kDBTagProcessor', 'file' => '', 'build_event' => 'OnBuild'), // for tree drawing
-
- 'RegisterClasses' => Array (
-// Array ('pseudo' => 'c_TagProcessor', 'class' => 'ECategoriesTagProcessor', 'file' => 'categories_tp.php'),
-// Array ('pseudo' => 'u_EventHandler', 'class' => 'EUsersEventHandler', 'file' => 'users_event_handler.php'),
- ),
-
-// 'ReplacementTemplates' => Array (
-// 'incs/image_blocks' => 'in-custom/incs/image_blocks',
-// 'in-news/articles/articles_edit' => 'in-custom/articles/articles_edit',
-// 'in-portal/categories/categories_edit' => 'custom/categories/categories_edit',
-// ),
-
- 'Hooks' => Array(
- /*Array(
- 'Mode' => hAFTER,
- 'Conditional' => false,
- 'HookToPrefix' => 'c',
- 'HookToSpecial' => '*',
- 'HookToEvent' => Array('OnAfterConfigRead'),
- 'DoPrefix' => '',
- 'DoSpecial' => '*',
- 'DoEvent' => 'OnModifyCategoriesConfig',
- ),*/
- ),
-
- 'PermSection' => Array('main' => 'custom:items_list',),
-
- 'TitlePresets' => Array(
- 'tree_in-custom' => Array('format' => '!la_Text_Version! '.$this->Application->findModule('Name', 'Custom', 'Version')),
- ),
-
- 'Sections' => Array (
- 'custom' => Array (
- 'parent' => 'in-portal:root',
- 'icon' => 'custom',
- 'label' => 'la_title_In-Custom',
- 'url' => Array('t' => 'sections_list', 'pass_section' => true, 'pass' => 'm'),
- 'permissions' => Array('view'),
- 'priority' => 3.9,
- 'type' => stTREE,
- ),
- ),
-
+
+ $config = Array (
+ 'Prefix' => 'custom-sections',
+
+ 'ConfigPriority' => 2,
+
+ 'EventHandlerClass' => Array('class' => 'CustomEventHandler', 'file' => 'custom_eh.php', 'build_event' => 'OnBuild'), // for OnAfterConfigRead event
+ 'TagProcessorClass' => Array('class' => 'kDBTagProcessor', 'file' => '', 'build_event' => 'OnBuild'), // for tree drawing
+
+ 'RegisterClasses' => Array (
+// Array ('pseudo' => 'c_TagProcessor', 'class' => 'ECategoriesTagProcessor', 'file' => 'categories_tp.php'),
+// Array ('pseudo' => 'u_EventHandler', 'class' => 'EUsersEventHandler', 'file' => 'users_event_handler.php'),
+ ),
+
+// 'ReplacementTemplates' => Array (
+// 'incs/image_blocks' => 'in-custom/incs/image_blocks',
+// 'in-news/articles/articles_edit' => 'in-custom/articles/articles_edit',
+// 'in-portal/categories/categories_edit' => 'custom/categories/categories_edit',
+// ),
+
+ 'Hooks' => Array (
+ /*Array (
+ 'Mode' => hAFTER,
+ 'Conditional' => false,
+ 'HookToPrefix' => 'c',
+ 'HookToSpecial' => '*',
+ 'HookToEvent' => Array('OnAfterConfigRead'),
+ 'DoPrefix' => '',
+ 'DoSpecial' => '*',
+ 'DoEvent' => 'OnModifyCategoriesConfig',
+ ),*/
+ ),
+
+ 'PermSection' => Array('main' => 'custom:items_list',),
+
+ 'Sections' => Array (
+ 'custom' => Array (
+ 'parent' => 'in-portal:root',
+ 'icon' => 'custom',
+ 'label' => 'la_title_In-Custom',
+ 'url' => Array('t' => 'sections_list', 'pass_section' => true, 'pass' => 'm'),
+ 'permissions' => Array('view'),
+ 'priority' => 3.9,
+ 'type' => stTREE,
+ ),
+ ),
+
);
?>
Property changes on: branches/RC/custom/units/sections/sections_config.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1.2.1
\ No newline at end of property
+1.1.2.2
\ No newline at end of property

Event Timeline