Page MenuHomeIn-Portal Phabricator

custom
No OneTemporary

File Metadata

Created
Tue, Apr 29, 2:23 PM
Index: branches/RC/custom/units/sections/sections_config.php
===================================================================
--- branches/RC/custom/units/sections/sections_config.php (revision 11921)
+++ branches/RC/custom/units/sections/sections_config.php (revision 11922)
@@ -1,54 +1,54 @@
<?php
// INSERT INTO `inp_Modules` VALUES ('Custom', 'custom/', 'custom-sections', '5.0.0', 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' => 'custom/incs/image_blocks',
// 'in-news/articles/articles_edit' => 'custom/articles/articles_edit',
// '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', 'email' => 'custom:configuration_email'),
'Sections' => Array (
'custom' => Array (
'parent' => 'in-portal:root',
'icon' => 'custom',
'label' => 'la_title_In-Custom',
'url' => Array ('t' => 'index', 'pass_section' => true, 'pass' => 'm'),
'permissions' => Array ('view'),
'priority' => 2.4,
'container' => true,
'type' => stTREE,
),
),
- */
+
);
\ No newline at end of file

Event Timeline