Changeset View
Changeset View
Standalone View
Standalone View
core/units/admin/admin_config.php
Context not available. | |||||
defined('FULL_PATH') or die('restricted access!'); | defined('FULL_PATH') or die('restricted access!'); | ||||
$config = Array ( | $config = array( | ||||
alex: You shouldn't do any massive unrelated changes unless `arc lint` complains about them. So… | |||||
alexUnsubmitted Not Done ReplyNot done. alex: Not done. | |||||
'Prefix' => 'adm', | 'Prefix' => 'adm', | ||||
'ItemClass' => Array ('class' => 'kDBItem', 'file' => '', 'build_event' => 'OnItemBuild'), | 'ItemClass' => array('class' => 'kDBItem', 'file' => '', 'build_event' => 'OnItemBuild'), | ||||
'EventHandlerClass' => Array ('class' => 'AdminEventsHandler', 'file' => 'admin_events_handler.php', 'build_event' => 'OnBuild'), | 'EventHandlerClass' => array('class' => 'AdminEventsHandler', 'file' => 'admin_events_handler.php', 'build_event' => 'OnBuild'), | ||||
'TagProcessorClass' => Array ('class' => 'AdminTagProcessor', 'file' => 'admin_tag_processor.php', 'build_event' => 'OnBuild'), | 'TagProcessorClass' => array('class' => 'AdminTagProcessor', 'file' => 'admin_tag_processor.php', 'build_event' => 'OnBuild'), | ||||
'AutoLoad' => false, // because defaults to `true` | 'AutoLoad' => false, // because defaults to `true` | ||||
'QueryString' => Array ( | 'QueryString' => array( | ||||
1 => 'event', | 1 => 'event', | ||||
), | ), | ||||
'ScheduledTasks' => Array ( | 'ScheduledTasks' => array( | ||||
'optimize_performance' => Array ('EventName' => 'OnOptimizePerformance', 'RunSchedule' => '0 0 * * *'), | 'optimize_performance' => array('EventName' => 'OnOptimizePerformance', 'RunSchedule' => '0 0 * * *'), | ||||
'pre_resize_images' => Array ('EventName' => 'OnPreResizeImages', 'RunSchedule' => '0 * * * *'), | 'pre_resize_images' => array('EventName' => 'OnPreResizeImages', 'RunSchedule' => '0 * * * *'), | ||||
), | ), | ||||
'TitlePresets' => Array ( | 'TitlePresets' => array( | ||||
'tree_root' => Array ('format' => '!la_section_overview!'), | 'tree_root' => array('format' => '!la_section_overview!'), | ||||
'tree_reports' => Array ('format' => '!la_section_overview!'), | 'tree_reports' => array('format' => '!la_section_overview!'), | ||||
'tree_system' => Array ('format' => '!la_section_overview!'), | 'tree_system' => array('format' => '!la_section_overview!'), | ||||
'tree_tools' => Array ('format' => '!la_section_overview!'), | 'tree_tools' => array('format' => '!la_section_overview!'), | ||||
'system_tools' => Array ('format' => '!la_title_SystemTools!'), | 'system_tools' => array('format' => '!la_title_SystemTools!'), | ||||
'backup' => Array ('format' => '!la_performing_backup! - !la_Step! <span id="step_number"></span>'), | 'backup' => array('format' => '!la_performing_backup! - !la_Step! <span id="step_number"></span>'), | ||||
'import' => Array ('format' => '!la_performing_import! - !la_Step! <span id="step_number"></span>'), | 'import' => array('format' => '!la_performing_import! - !la_Step! <span id="step_number"></span>'), | ||||
'restore' => Array ('format' => '!la_performing_restore! - !la_Step! <span id="step_number"></span>'), | 'restore' => array('format' => '!la_performing_restore! - !la_Step! <span id="step_number"></span>'), | ||||
'server_info' => Array ('format' => '!la_tab_ServerInfo!'), | 'server_info' => array('format' => '!la_tab_ServerInfo!'), | ||||
'sql_query' => Array ('format' => '!la_tab_QueryDB!'), | 'sql_query' => array('format' => '!la_tab_QueryDB!'), | ||||
'no_permissions' => Array ('format' => '!la_title_NoPermissions!'), | 'no_permissions' => array('format' => '!la_title_NoPermissions!'), | ||||
'error_fatal' => array('format' => '!la_title_ServerError!'), | |||||
'column_picker' => Array ('format' => '!la_title_ColumnPicker!'), | 'column_picker' => array('format' => '!la_title_ColumnPicker!'), | ||||
'csv_export' => Array ('format' => '!la_title_CSVExport!'), | 'csv_export' => array('format' => '!la_title_CSVExport!'), | ||||
'csv_import' => Array ('format' => '!la_title_CSVImport!'), | 'csv_import' => array('format' => '!la_title_CSVImport!'), | ||||
), | ), | ||||
'PermSection' => Array ('main' => 'in-portal:service'), | 'PermSection' => array('main' => 'in-portal:service'), | ||||
'Sections' => Array ( | 'Sections' => array( | ||||
'in-portal:root' => Array ( | 'in-portal:root' => array( | ||||
'parent' => null, | 'parent' => null, | ||||
'icon' => 'site', | 'icon' => 'site', | ||||
'label' => 'SITE_NAME', | 'label' => 'SITE_NAME', | ||||
'url' => Array ('t' => 'index', 'pass' => 'm'), | 'url' => array('t' => 'index', 'pass' => 'm'), | ||||
'permissions' => Array ('view'), | 'permissions' => array('view'), | ||||
'priority' => 0, | 'priority' => 0, | ||||
'container' => true, | 'container' => true, | ||||
'type' => stTREE, | 'type' => stTREE, | ||||
'icon_module' => 'core', | 'icon_module' => 'core', | ||||
), | ), | ||||
'in-portal:service' => Array ( | 'in-portal:service' => array( | ||||
'parent' => 'in-portal:tools', | 'parent' => 'in-portal:tools', | ||||
'icon' => 'service', | 'icon' => 'service', | ||||
'label' => 'la_tab_Service', | 'label' => 'la_tab_Service', | ||||
'url' => Array ('t' => 'tools/system_tools', 'pass' => 'm'), | 'url' => array('t' => 'tools/system_tools', 'pass' => 'm'), | ||||
'permissions' => Array ('view', 'edit'), | 'permissions' => array('view', 'edit'), | ||||
'priority' => 6, | 'priority' => 6, | ||||
'type' => stTREE, | 'type' => stTREE, | ||||
), | ), | ||||
), | ), | ||||
'ListSQLs' => Array ( | 'ListSQLs' => array( | ||||
'' => '', // to prevent warning | '' => '', // To prevent warning. | ||||
), | ), | ||||
'Fields' => Array (), // we need empty array because kernel doesn't use virtual fields else | 'Fields' => array(), // We need empty array because kernel doesn't use virtual fields else. | ||||
'VirtualFields' => Array ( | 'VirtualFields' => array( | ||||
'ImportFile' => Array ( | 'ImportFile' => array( | ||||
'type' => 'string', | 'type' => 'string', | ||||
'formatter' => 'kUploadFormatter', 'max_size' => MAX_UPLOAD_SIZE, // in Bytes ! | 'formatter' => 'kUploadFormatter', 'max_size' => MAX_UPLOAD_SIZE, // in Bytes ! | ||||
'error_msgs' => Array ( | 'error_msgs' => array( | ||||
'cant_open_file' => '!la_error_CantOpenFile!', | 'cant_open_file' => '!la_error_CantOpenFile!', | ||||
'no_matching_columns' => '!la_error_NoMatchingColumns!', | 'no_matching_columns' => '!la_error_NoMatchingColumns!', | ||||
), | ), | ||||
Context not available. | |||||
'default' => null, | 'default' => null, | ||||
), | ), | ||||
'Content' => Array ('type' => 'string', 'default' => ''), | 'Content' => array('type' => 'string', 'default' => ''), | ||||
), | ), | ||||
); | ); | ||||
No newline at end of file | |||||
Context not available. |
You shouldn't do any massive unrelated changes unless arc lint complains about them. So please revert.