Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F859835
custom
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Apr 29, 2:23 PM
Size
2 KB
Mime Type
text/x-diff
Expires
Thu, May 1, 2:23 PM (16 h, 16 m)
Engine
blob
Format
Raw Data
Handle
611571
Attached To
rMCUS Modules.Custom
custom
View Options
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
Log In to Comment