Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F772555
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
Sat, Feb 1, 11:42 AM
Size
4 KB
Mime Type
text/x-diff
Expires
Mon, Feb 3, 11:42 AM (18 h, 25 m)
Engine
blob
Format
Raw Data
Handle
555905
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 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
Log In to Comment