@@ -72,25 +72,25 @@ discard block |
||
72 | 72 | $id = $input->getOption('id'); |
73 | 73 | $date = $input->getOption('date'); |
74 | 74 | |
75 | - if ( $object == 'c' || $object == 'chunk' ) { |
|
75 | + if ($object == 'c' || $object == 'chunk') { |
|
76 | 76 | $this->seedChunks($type, $name, $id); |
77 | 77 | |
78 | - } elseif ( $object == 'p' || $object == 'plugin' ) { |
|
78 | + } elseif ($object == 'p' || $object == 'plugin') { |
|
79 | 79 | $this->seedPlugins($type, $name, $id); |
80 | 80 | |
81 | - } elseif ( $object == 'r' || $object == 'resource' ) { |
|
81 | + } elseif ($object == 'r' || $object == 'resource') { |
|
82 | 82 | $this->seedResources($type, $name, $id, $date); |
83 | 83 | |
84 | - } elseif ( $object == 's' || $object == 'snippet' ) { |
|
84 | + } elseif ($object == 's' || $object == 'snippet') { |
|
85 | 85 | $this->seedSnippets($type, $name, $id); |
86 | 86 | |
87 | - } elseif ( $object == 'x' || $object == 'systemSettings' ) { |
|
87 | + } elseif ($object == 'x' || $object == 'systemSettings') { |
|
88 | 88 | $this->seedSystemSettings($type, $name, $id, $date); |
89 | 89 | |
90 | - } elseif ( $object == 't' || $object == 'template' ) { |
|
90 | + } elseif ($object == 't' || $object == 'template') { |
|
91 | 91 | $this->seedTemplates($type, $name, $id); |
92 | 92 | |
93 | - } elseif ( $object == 'a' || $object == 'site' ) { |
|
93 | + } elseif ($object == 'a' || $object == 'site') { |
|
94 | 94 | $this->blender->makeSiteSeed($type, $name); |
95 | 95 | |
96 | 96 | } |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | $query = $this->modx->newQuery('modResource', ['id:IN' => $ids]); |
200 | 200 | $query->select(['modResource.parent']); |
201 | 201 | $query->prepare(); |
202 | - $criteria->orCondition('`modResource`.`id` IN(' . $query->toSQL() . ')'); |
|
202 | + $criteria->orCondition('`modResource`.`id` IN('.$query->toSQL().')'); |
|
203 | 203 | } |
204 | 204 | |
205 | 205 | if ($this->consoleUserInteractionHandler->promptConfirm('Would you like to include direct children?')) { |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | $query->select(['modResource.id']); |
209 | 209 | $query->prepare(); |
210 | 210 | $children_sql = $query->toSQL(); |
211 | - $criteria->orCondition('`modResource`.`id` IN(' . $children_sql . ')'); |
|
211 | + $criteria->orCondition('`modResource`.`id` IN('.$children_sql.')'); |
|
212 | 212 | |
213 | 213 | if ($this->consoleUserInteractionHandler->promptConfirm('Would you like to include direct grand children?')) { |
214 | 214 | // get grand children |
@@ -81,7 +81,7 @@ |
||
81 | 81 | } elseif ( $object == 'r' || $object == 'resource' ) { |
82 | 82 | $this->seedResources($type, $name, $id, $date); |
83 | 83 | |
84 | - } elseif ( $object == 's' || $object == 'snippet' ) { |
|
84 | + } elseif ( $object == 's' || $object == 'snippet' ) { |
|
85 | 85 | $this->seedSnippets($type, $name, $id); |
86 | 86 | |
87 | 87 | } elseif ( $object == 'x' || $object == 'systemSettings' ) { |
@@ -75,7 +75,7 @@ |
||
75 | 75 | $id = $input->getOption('id'); |
76 | 76 | $count = $input->getOption('count'); |
77 | 77 | |
78 | - if ( $input->getOption('generate') ) { |
|
78 | + if ($input->getOption('generate')) { |
|
79 | 79 | $output->writeln('Generate name: '.$name); |
80 | 80 | // create a blank migration class |
81 | 81 | $this->blender->createBlankMigrationClassFile($name, $type); |
@@ -18,10 +18,10 @@ discard block |
||
18 | 18 | |
19 | 19 | if (!$connected) { |
20 | 20 | // connect with xPDO: |
21 | - $dsnArray= \xPDO\xPDO :: parseDSN($this->modx->getOption('dsn')); |
|
21 | + $dsnArray = \xPDO\xPDO :: parseDSN($this->modx->getOption('dsn')); |
|
22 | 22 | |
23 | 23 | // Create the MODX database: |
24 | - $created= $this->modx->manager->createSourceContainer($dsnArray, $this->modx->config['username'], $this->modx->config['password']); |
|
24 | + $created = $this->modx->manager->createSourceContainer($dsnArray, $this->modx->config['username'], $this->modx->config['password']); |
|
25 | 25 | if (!$created) { |
26 | 26 | $this->addResultMessage([xPDO::LOG_LEVEL_ERROR => $this->modx->lexicon('db_err_create')]); |
27 | 27 | } else { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | |
45 | 45 | // create MODX tables |
46 | 46 | foreach ($this->modx_tables as $class) { |
47 | - if (!$dbcreated= $this->modx->manager->createObjectContainer($class)) { |
|
47 | + if (!$dbcreated = $this->modx->manager->createObjectContainer($class)) { |
|
48 | 48 | $this->addResultMessage([xPDO::LOG_LEVEL_ERROR => $this->modx->lexicon('table_err_create', ['class' => $class])]); |
49 | 49 | } else { |
50 | 50 | $this->addResultMessage([xPDO::LOG_LEVEL_DEBUG + 1 => $this->modx->lexicon('table_created', ['class' => $class])]); |
@@ -143,10 +143,10 @@ discard block |
||
143 | 143 | |
144 | 144 | // drop tables |
145 | 145 | foreach ($this->modx_tables as $class) { |
146 | - if (!$dbcreated= $this->modx->manager->removeObjectContainer($class)) { |
|
147 | - $this->results[]= [xPDO::LOG_LEVEL_ERROR => $this->modx->lexicon('table_err_remove', ['class' => $class])]; |
|
146 | + if (!$dbcreated = $this->modx->manager->removeObjectContainer($class)) { |
|
147 | + $this->results[] = [xPDO::LOG_LEVEL_ERROR => $this->modx->lexicon('table_err_remove', ['class' => $class])]; |
|
148 | 148 | } else { |
149 | - $this->results[]= [xPDO::LOG_LEVEL_DEBUG + 1 => $this->modx->lexicon('table_removed', ['class' => $class])]; |
|
149 | + $this->results[] = [xPDO::LOG_LEVEL_DEBUG + 1 => $this->modx->lexicon('table_removed', ['class' => $class])]; |
|
150 | 150 | } |
151 | 151 | } |
152 | 152 | |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | } |
242 | 242 | |
243 | 243 | /* if language != en, set cultureKey, manager_language, manager_lang_attribute to it */ |
244 | - $language = $this->getUserInstallConfigValue('language','en'); |
|
244 | + $language = $this->getUserInstallConfigValue('language', 'en'); |
|
245 | 245 | if ($language != 'en') { |
246 | 246 | /** @var \LCI\Blend\Blendable\SystemSetting $systemSetting */ |
247 | 247 | $systemSetting = $this->blender->getBlendableSystemSetting(); |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | |
281 | 281 | $maxFileSize = ini_get('upload_max_filesize'); |
282 | 282 | $maxFileSize = trim($maxFileSize); |
283 | - $last = strtolower($maxFileSize[strlen($maxFileSize)-1]); |
|
283 | + $last = strtolower($maxFileSize[strlen($maxFileSize) - 1]); |
|
284 | 284 | switch ($last) { |
285 | 285 | // The 'G' modifier is available since PHP 5.1.0 |
286 | 286 | case 'g': |
@@ -305,15 +305,15 @@ discard block |
||
305 | 305 | { |
306 | 306 | /** @var \modNamespace $namespace */ |
307 | 307 | $namespace = $this->modx->newObject('modNamespace'); |
308 | - $namespace->set('name','core'); |
|
309 | - $namespace->set('path','{core_path}'); |
|
310 | - $namespace->set('assets_path','{assets_path}'); |
|
308 | + $namespace->set('name', 'core'); |
|
309 | + $namespace->set('path', '{core_path}'); |
|
310 | + $namespace->set('assets_path', '{assets_path}'); |
|
311 | 311 | |
312 | 312 | $namespace->save(); |
313 | 313 | |
314 | 314 | /** @var \modWorkspace $workspace */ |
315 | 315 | $workspace = $this->modx->newObject('modWorkspace'); |
316 | - $workspace->fromArray(array ( |
|
316 | + $workspace->fromArray(array( |
|
317 | 317 | 'id' => 1, |
318 | 318 | 'name' => 'Default MODX workspace', |
319 | 319 | 'path' => '{core_path}', |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | |
324 | 324 | /* modx.com extras provisioner */ |
325 | 325 | $transportProvider = $this->modx->newObject('transport.modTransportProvider'); |
326 | - $transportProvider->fromArray(array ( |
|
326 | + $transportProvider->fromArray(array( |
|
327 | 327 | 'id' => 1, |
328 | 328 | 'name' => 'modx.com', |
329 | 329 | 'description' => 'The official MODX transport provider for 3rd party components.', |
@@ -340,12 +340,12 @@ discard block |
||
340 | 340 | |
341 | 341 | /* setup load only anonymous ACL */ |
342 | 342 | /** @var modAccessPolicy $loadOnly */ |
343 | - $loadOnly = $this->modx->getObject('modAccessPolicy',array( |
|
343 | + $loadOnly = $this->modx->getObject('modAccessPolicy', array( |
|
344 | 344 | 'name' => 'Load Only', |
345 | 345 | )); |
346 | 346 | if ($loadOnly) { |
347 | 347 | /** @var modAccessContext $access */ |
348 | - $access= $this->modx->newObject('modAccessContext'); |
|
348 | + $access = $this->modx->newObject('modAccessContext'); |
|
349 | 349 | $access->fromArray(array( |
350 | 350 | 'target' => 'web', |
351 | 351 | 'principal_class' => 'modUserGroup', |
@@ -361,16 +361,16 @@ discard block |
||
361 | 361 | |
362 | 362 | /* setup default admin ACLs */ |
363 | 363 | /** @var modAccessPolicy $adminPolicy */ |
364 | - $adminPolicy = $this->modx->getObject('modAccessPolicy',array( |
|
364 | + $adminPolicy = $this->modx->getObject('modAccessPolicy', array( |
|
365 | 365 | 'name' => 'Administrator', |
366 | 366 | )); |
367 | 367 | /** @var modUserGroup $adminGroup */ |
368 | - $adminGroup = $this->modx->getObject('modUserGroup',array( |
|
368 | + $adminGroup = $this->modx->getObject('modUserGroup', array( |
|
369 | 369 | 'name' => 'Administrator', |
370 | 370 | )); |
371 | 371 | if ($adminPolicy && $adminGroup) { |
372 | 372 | /** @var modAccessContext $access */ |
373 | - $access= $this->modx->newObject('modAccessContext'); |
|
373 | + $access = $this->modx->newObject('modAccessContext'); |
|
374 | 374 | $access->fromArray(array( |
375 | 375 | 'target' => 'mgr', |
376 | 376 | 'principal_class' => 'modUserGroup', |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | $access->save(); |
382 | 382 | unset($access); |
383 | 383 | |
384 | - $access= $this->modx->newObject('modAccessContext'); |
|
384 | + $access = $this->modx->newObject('modAccessContext'); |
|
385 | 385 | $access->fromArray(array( |
386 | 386 | 'target' => 'web', |
387 | 387 | 'principal_class' => 'modUserGroup', |
@@ -392,7 +392,7 @@ discard block |
||
392 | 392 | $access->save(); |
393 | 393 | unset($access); |
394 | 394 | } |
395 | - unset($adminPolicy,$adminGroup); |
|
395 | + unset($adminPolicy, $adminGroup); |
|
396 | 396 | } |
397 | 397 | |
398 | 398 | /** |
@@ -423,7 +423,7 @@ discard block |
||
423 | 423 | $userGroupMembership->set('role', 2); |
424 | 424 | $saved = $userGroupMembership->save(); |
425 | 425 | |
426 | - $user->set('primary_group',1); |
|
426 | + $user->set('primary_group', 1); |
|
427 | 427 | $user->save(); |
428 | 428 | } |
429 | 429 | if ($saved) { |
@@ -436,7 +436,7 @@ discard block |
||
436 | 436 | } |
437 | 437 | } |
438 | 438 | if (!$saved) { |
439 | - $this->addResultMessage([xPDO::LOG_LEVEL_ERROR => $this->modx->lexicon('dau_err_save').'<br />' . print_r($this->modx->errorInfo(), true)]); |
|
439 | + $this->addResultMessage([xPDO::LOG_LEVEL_ERROR => $this->modx->lexicon('dau_err_save').'<br />'.print_r($this->modx->errorInfo(), true)]); |
|
440 | 440 | } else { |
441 | 441 | $this->addResultMessage([xPDO::LOG_LEVEL_DEBUG + 1 => $this->modx->lexicon('dau_saved')]); |
442 | 442 | } |
@@ -447,7 +447,7 @@ discard block |
||
447 | 447 | protected function upAttachPolicyTemplates() |
448 | 448 | { |
449 | 449 | // replaces: _build/resolvers/resolve.policytemplates.php |
450 | - $success= false; |
|
450 | + $success = false; |
|
451 | 451 | |
452 | 452 | /* map of Template -> TemplateGroup */ |
453 | 453 | $map = [ |
@@ -463,9 +463,9 @@ discard block |
||
463 | 463 | $templates = $this->modx->getCollection('modAccessPolicyTemplate'); |
464 | 464 | foreach ($templates as $template) { |
465 | 465 | if (isset($map[$template->get('name')])) { |
466 | - $templateGroup = $this->modx->getObject('modAccessPolicyTemplateGroup',array('name' => $map[$template->get('name')])); |
|
466 | + $templateGroup = $this->modx->getObject('modAccessPolicyTemplateGroup', array('name' => $map[$template->get('name')])); |
|
467 | 467 | if ($templateGroup) { |
468 | - $template->set('template_group',$templateGroup->get('id')); |
|
468 | + $template->set('template_group', $templateGroup->get('id')); |
|
469 | 469 | $success = $template->save(); |
470 | 470 | } else { |
471 | 471 | $this->modx->log(xPDO::LOG_LEVEL_ERROR, "Core AccessPolicyTemplateGroup {$map[$template->get('name')]} is missing!"); |
@@ -481,7 +481,7 @@ discard block |
||
481 | 481 | { |
482 | 482 | // replaces: _build/resolvers/resolve.policies.php |
483 | 483 | |
484 | - $success= false; |
|
484 | + $success = false; |
|
485 | 485 | |
486 | 486 | /* map of Policy -> Template */ |
487 | 487 | $map = [ |
@@ -501,9 +501,9 @@ discard block |
||
501 | 501 | $policies = $this->modx->getCollection('modAccessPolicy'); |
502 | 502 | foreach ($policies as $policy) { |
503 | 503 | if (isset($map[$policy->get('name')])) { |
504 | - $template = $this->modx->getObject('modAccessPolicyTemplate',array('name' => $map[$policy->get('name')])); |
|
504 | + $template = $this->modx->getObject('modAccessPolicyTemplate', array('name' => $map[$policy->get('name')])); |
|
505 | 505 | if ($template) { |
506 | - $policy->set('template',$template->get('id')); |
|
506 | + $policy->set('template', $template->get('id')); |
|
507 | 507 | $success = $policy->save(); |
508 | 508 | } else { |
509 | 509 | $this->modx->log(xPDO::LOG_LEVEL_ERROR, "Core AccessPolicyTemplate {$map[$policy->get('name')]} is missing! Could not resolve AccessPolicy {$policy->get('name')}."); |
@@ -542,20 +542,20 @@ discard block |
||
542 | 542 | //$widgets = $this->modx->getCollection('modDashboardWidget'); |
543 | 543 | foreach ($map as $widgetName) { |
544 | 544 | /** @var \modDashboardWidget $widget */ |
545 | - $widget = $this->modx->getObject('modDashboardWidget',array( |
|
545 | + $widget = $this->modx->getObject('modDashboardWidget', array( |
|
546 | 546 | 'name' => $widgetName, |
547 | 547 | )); |
548 | 548 | if ($widget) { |
549 | 549 | /** @var \modDashboardWidgetPlacement $placement */ |
550 | - $placement = $this->modx->getObject('modDashboardWidgetPlacement',array( |
|
550 | + $placement = $this->modx->getObject('modDashboardWidgetPlacement', array( |
|
551 | 551 | 'widget' => $widget->get('id'), |
552 | 552 | 'dashboard' => $dashboard->get('id'), |
553 | 553 | )); |
554 | 554 | if (!$placement) { |
555 | 555 | $placement = $this->modx->newObject('modDashboardWidgetPlacement'); |
556 | - $placement->set('widget',$widget->get('id')); |
|
557 | - $placement->set('dashboard',$dashboard->get('id')); |
|
558 | - $placement->set('rank',$idx); |
|
556 | + $placement->set('widget', $widget->get('id')); |
|
557 | + $placement->set('dashboard', $dashboard->get('id')); |
|
558 | + $placement->set('rank', $idx); |
|
559 | 559 | $success = $placement->save(); |
560 | 560 | } else { |
561 | 561 | $success = true; |
@@ -569,7 +569,7 @@ discard block |
||
569 | 569 | protected function upAttachActionFields() |
570 | 570 | { |
571 | 571 | // replaces: _build/resolvers/resolve.actionfields.php |
572 | - $success= true; |
|
572 | + $success = true; |
|
573 | 573 | |
574 | 574 | $xmlFile = MODX_CORE_PATH.'model/schema/modx.action.fields.schema.xml'; |
575 | 575 | if (!file_exists($xmlFile)) return false; |
@@ -590,7 +590,7 @@ discard block |
||
590 | 590 | foreach ($action->tab as $tab) { |
591 | 591 | $tabName = (string)$tab['name']; |
592 | 592 | if ($tabName != 'modx-resource-content') { |
593 | - $tabObj = $this->modx->getObject('modActionField',array( |
|
593 | + $tabObj = $this->modx->getObject('modActionField', array( |
|
594 | 594 | 'action' => (string)$action['controller'], |
595 | 595 | 'name' => $tabName, |
596 | 596 | 'type' => 'tab', |
@@ -612,7 +612,7 @@ discard block |
||
612 | 612 | |
613 | 613 | $fieldIdx = 0; |
614 | 614 | foreach ($tab->field as $field) { |
615 | - $fieldObj = $this->modx->getObject('modActionField',array( |
|
615 | + $fieldObj = $this->modx->getObject('modActionField', array( |
|
616 | 616 | 'action' => (string)$action['controller'], |
617 | 617 | 'name' => (string)$field['name'], |
618 | 618 | 'type' => 'field', |
@@ -644,7 +644,7 @@ discard block |
||
644 | 644 | { |
645 | 645 | /** @var \modContext $webContext */ |
646 | 646 | $webContext = $this->modx->newObject('modContext'); |
647 | - $webContext->fromArray(array ( |
|
647 | + $webContext->fromArray(array( |
|
648 | 648 | 'key' => 'web', |
649 | 649 | 'name' => 'Website', |
650 | 650 | 'description' => 'The default front-end context for your web site.', |
@@ -654,7 +654,7 @@ discard block |
||
654 | 654 | |
655 | 655 | /** @var \modContext $managerContext */ |
656 | 656 | $managerContext = $this->modx->newObject('modContext'); |
657 | - $managerContext->fromArray(array ( |
|
657 | + $managerContext->fromArray(array( |
|
658 | 658 | 'key' => 'mgr', |
659 | 659 | 'name' => 'Manager', |
660 | 660 | 'description' => 'The default manager or administration context for content management activity.', |
@@ -665,7 +665,7 @@ discard block |
||
665 | 665 | protected function upInitSiteContent() |
666 | 666 | { |
667 | 667 | /* add base template and home resource */ |
668 | - $templateContent = file_get_contents($this->blender->getSeedsPath($this->getSeedsDir()) . 'base_template.tpl'); |
|
668 | + $templateContent = file_get_contents($this->blender->getSeedsPath($this->getSeedsDir()).'base_template.tpl'); |
|
669 | 669 | |
670 | 670 | $template_name = ($this->modx->lexicon('base_template') ? $this->modx->lexicon('base_template') : 'Base Template'); |
671 | 671 | /** @var \LCI\Blend\Blendable\Template $baseTemplate */ |
@@ -693,7 +693,7 @@ discard block |
||
693 | 693 | /** @var modResource $resource */ |
694 | 694 | $resource = $blendResource->getResourceFromSeedKey('index'); |
695 | 695 | $resource->set('pagetitle', (!empty($this->modx->lexicon('home')) ? $this->modx->lexicon('home') : 'Home')); |
696 | - $resource->set('longtitle', ( !empty($this->modx->lexicon('congratulations')) ? $this->modx->lexicon('congratulations') : 'Congratulations')); |
|
696 | + $resource->set('longtitle', (!empty($this->modx->lexicon('congratulations')) ? $this->modx->lexicon('congratulations') : 'Congratulations')); |
|
697 | 697 | $resource->set('template', $template->get('id')); |
698 | 698 | |
699 | 699 | if ($resource->save()) { |
@@ -572,10 +572,14 @@ |
||
572 | 572 | $success= true; |
573 | 573 | |
574 | 574 | $xmlFile = MODX_CORE_PATH.'model/schema/modx.action.fields.schema.xml'; |
575 | - if (!file_exists($xmlFile)) return false; |
|
575 | + if (!file_exists($xmlFile)) { |
|
576 | + return false; |
|
577 | + } |
|
576 | 578 | |
577 | 579 | $xml = @file_get_contents($xmlFile); |
578 | - if (empty($xml)) return false; |
|
580 | + if (empty($xml)) { |
|
581 | + return false; |
|
582 | + } |
|
579 | 583 | |
580 | 584 | $xml = @simplexml_load_string($xml); |
581 | 585 |
@@ -9,123 +9,123 @@ |
||
9 | 9 | |
10 | 10 | $policies['1']= $xpdo->newObject('modAccessPolicy'); |
11 | 11 | $policies['1']->fromArray(array ( |
12 | - 'id' => 1, |
|
13 | - 'name' => 'Resource', |
|
14 | - 'description' => 'MODX Resource Policy with all attributes.', |
|
15 | - 'parent' => 0, |
|
16 | - 'class' => '', |
|
17 | - 'data' => '{"add_children":true,"create":true,"copy":true,"delete":true,"list":true,"load":true,"move":true,"publish":true,"remove":true,"save":true,"steal_lock":true,"undelete":true,"unpublish":true,"view":true}', |
|
18 | - 'lexicon' => 'permissions', |
|
12 | + 'id' => 1, |
|
13 | + 'name' => 'Resource', |
|
14 | + 'description' => 'MODX Resource Policy with all attributes.', |
|
15 | + 'parent' => 0, |
|
16 | + 'class' => '', |
|
17 | + 'data' => '{"add_children":true,"create":true,"copy":true,"delete":true,"list":true,"load":true,"move":true,"publish":true,"remove":true,"save":true,"steal_lock":true,"undelete":true,"unpublish":true,"view":true}', |
|
18 | + 'lexicon' => 'permissions', |
|
19 | 19 | ), '', true, true); |
20 | 20 | |
21 | 21 | $policies['2']= $xpdo->newObject('modAccessPolicy'); |
22 | 22 | $policies['2']->fromArray(array ( |
23 | - 'id' => 2, |
|
24 | - 'name' => 'Administrator', |
|
25 | - 'description' => 'Context administration policy with all permissions.', |
|
26 | - 'parent' => 0, |
|
27 | - 'class' => '', |
|
28 | - 'data' => '{"about":true,"access_permissions":true,"actions":true,"change_password":true,"change_profile":true,"charsets":true,"class_map":true,"components":true,"content_types":true,"countries":true,"create":true,"credits":true,"customize_forms":true,"dashboards":true,"database":true,"database_truncate":true,"delete_category":true,"delete_chunk":true,"delete_context":true,"delete_document":true,"delete_eventlog":true,"delete_plugin":true,"delete_propertyset":true,"delete_role":true,"delete_snippet":true,"delete_template":true,"delete_tv":true,"delete_user":true,"directory_chmod":true,"directory_create":true,"directory_list":true,"directory_remove":true,"directory_update":true,"edit_category":true,"edit_chunk":true,"edit_context":true,"edit_document":true,"edit_locked":true,"edit_plugin":true,"edit_propertyset":true,"edit_role":true,"edit_snippet":true,"edit_template":true,"edit_tv":true,"edit_user":true,"element_tree":true,"empty_cache":true,"error_log_erase":true,"error_log_view":true,"export_static":true,"file_create":true,"file_list":true,"file_manager":true,"file_remove":true,"file_tree":true,"file_update":true,"file_upload":true,"file_unpack":true,"file_view":true,"flush_sessions":true,"frames":true,"help":true,"home":true,"import_static":true,"languages":true,"lexicons":true,"list":true,"load":true,"logout":true,"logs":true,"menus":true,"menu_reports":true,"menu_security":true,"menu_site":true,"menu_support":true,"menu_system":true,"menu_tools":true,"menu_user":true,"messages":true,"namespaces":true,"new_category":true,"new_chunk":true,"new_context":true,"new_document":true,"new_document_in_root":true,"new_plugin":true,"new_propertyset":true,"new_role":true,"new_snippet":true,"new_static_resource":true,"new_symlink":true,"new_template":true,"new_tv":true,"new_user":true,"new_weblink":true,"packages":true,"policy_delete":true,"policy_edit":true,"policy_new":true,"policy_save":true,"policy_template_delete":true,"policy_template_edit":true,"policy_template_new":true,"policy_template_save":true,"policy_template_view":true,"policy_view":true,"property_sets":true,"providers":true,"publish_document":true,"purge_deleted":true,"remove":true,"remove_locks":true,"resource_duplicate":true,"resourcegroup_delete":true,"resourcegroup_edit":true,"resourcegroup_new":true,"resourcegroup_resource_edit":true,"resourcegroup_resource_list":true,"resourcegroup_save":true,"resourcegroup_view":true,"resource_quick_create":true,"resource_quick_update":true,"resource_tree":true,"save":true,"save_category":true,"save_chunk":true,"save_context":true,"save_document":true,"save_plugin":true,"save_propertyset":true,"save_role":true,"save_snippet":true,"save_template":true,"save_tv":true,"save_user":true,"search":true,"settings":true,"sources":true,"source_delete":true,"source_edit":true,"source_save":true,"source_view":true,"steal_locks":true,"tree_show_element_ids":true,"tree_show_resource_ids":true,"undelete_document":true,"unlock_element_properties":true,"unpublish_document":true,"usergroup_delete":true,"usergroup_edit":true,"usergroup_new":true,"usergroup_save":true,"usergroup_user_edit":true,"usergroup_user_list":true,"usergroup_view":true,"view":true,"view_category":true,"view_chunk":true,"view_context":true,"view_document":true,"view_element":true,"view_eventlog":true,"view_offline":true,"view_plugin":true,"view_propertyset":true,"view_role":true,"view_snippet":true,"view_sysinfo":true,"view_template":true,"view_tv":true,"view_unpublished":true,"view_user":true,"workspaces":true}', |
|
29 | - 'lexicon' => 'permissions', |
|
23 | + 'id' => 2, |
|
24 | + 'name' => 'Administrator', |
|
25 | + 'description' => 'Context administration policy with all permissions.', |
|
26 | + 'parent' => 0, |
|
27 | + 'class' => '', |
|
28 | + 'data' => '{"about":true,"access_permissions":true,"actions":true,"change_password":true,"change_profile":true,"charsets":true,"class_map":true,"components":true,"content_types":true,"countries":true,"create":true,"credits":true,"customize_forms":true,"dashboards":true,"database":true,"database_truncate":true,"delete_category":true,"delete_chunk":true,"delete_context":true,"delete_document":true,"delete_eventlog":true,"delete_plugin":true,"delete_propertyset":true,"delete_role":true,"delete_snippet":true,"delete_template":true,"delete_tv":true,"delete_user":true,"directory_chmod":true,"directory_create":true,"directory_list":true,"directory_remove":true,"directory_update":true,"edit_category":true,"edit_chunk":true,"edit_context":true,"edit_document":true,"edit_locked":true,"edit_plugin":true,"edit_propertyset":true,"edit_role":true,"edit_snippet":true,"edit_template":true,"edit_tv":true,"edit_user":true,"element_tree":true,"empty_cache":true,"error_log_erase":true,"error_log_view":true,"export_static":true,"file_create":true,"file_list":true,"file_manager":true,"file_remove":true,"file_tree":true,"file_update":true,"file_upload":true,"file_unpack":true,"file_view":true,"flush_sessions":true,"frames":true,"help":true,"home":true,"import_static":true,"languages":true,"lexicons":true,"list":true,"load":true,"logout":true,"logs":true,"menus":true,"menu_reports":true,"menu_security":true,"menu_site":true,"menu_support":true,"menu_system":true,"menu_tools":true,"menu_user":true,"messages":true,"namespaces":true,"new_category":true,"new_chunk":true,"new_context":true,"new_document":true,"new_document_in_root":true,"new_plugin":true,"new_propertyset":true,"new_role":true,"new_snippet":true,"new_static_resource":true,"new_symlink":true,"new_template":true,"new_tv":true,"new_user":true,"new_weblink":true,"packages":true,"policy_delete":true,"policy_edit":true,"policy_new":true,"policy_save":true,"policy_template_delete":true,"policy_template_edit":true,"policy_template_new":true,"policy_template_save":true,"policy_template_view":true,"policy_view":true,"property_sets":true,"providers":true,"publish_document":true,"purge_deleted":true,"remove":true,"remove_locks":true,"resource_duplicate":true,"resourcegroup_delete":true,"resourcegroup_edit":true,"resourcegroup_new":true,"resourcegroup_resource_edit":true,"resourcegroup_resource_list":true,"resourcegroup_save":true,"resourcegroup_view":true,"resource_quick_create":true,"resource_quick_update":true,"resource_tree":true,"save":true,"save_category":true,"save_chunk":true,"save_context":true,"save_document":true,"save_plugin":true,"save_propertyset":true,"save_role":true,"save_snippet":true,"save_template":true,"save_tv":true,"save_user":true,"search":true,"settings":true,"sources":true,"source_delete":true,"source_edit":true,"source_save":true,"source_view":true,"steal_locks":true,"tree_show_element_ids":true,"tree_show_resource_ids":true,"undelete_document":true,"unlock_element_properties":true,"unpublish_document":true,"usergroup_delete":true,"usergroup_edit":true,"usergroup_new":true,"usergroup_save":true,"usergroup_user_edit":true,"usergroup_user_list":true,"usergroup_view":true,"view":true,"view_category":true,"view_chunk":true,"view_context":true,"view_document":true,"view_element":true,"view_eventlog":true,"view_offline":true,"view_plugin":true,"view_propertyset":true,"view_role":true,"view_snippet":true,"view_sysinfo":true,"view_template":true,"view_tv":true,"view_unpublished":true,"view_user":true,"workspaces":true}', |
|
29 | + 'lexicon' => 'permissions', |
|
30 | 30 | ), '', true, true); |
31 | 31 | |
32 | 32 | $policies['3']= $xpdo->newObject('modAccessPolicy'); |
33 | 33 | $policies['3']->fromArray(array ( |
34 | - 'id' => 3, |
|
35 | - 'name' => 'Load Only', |
|
36 | - 'description' => 'A minimal policy with permission to load an object.', |
|
37 | - 'parent' => 0, |
|
38 | - 'class' => '', |
|
39 | - 'data' => '{"load":true}', |
|
40 | - 'lexicon' => 'permissions', |
|
34 | + 'id' => 3, |
|
35 | + 'name' => 'Load Only', |
|
36 | + 'description' => 'A minimal policy with permission to load an object.', |
|
37 | + 'parent' => 0, |
|
38 | + 'class' => '', |
|
39 | + 'data' => '{"load":true}', |
|
40 | + 'lexicon' => 'permissions', |
|
41 | 41 | ), '', true, true); |
42 | 42 | |
43 | 43 | $policies['4']= $xpdo->newObject('modAccessPolicy'); |
44 | 44 | $policies['4']->fromArray(array ( |
45 | - 'id' => 4, |
|
46 | - 'name' => 'Load, List and View', |
|
47 | - 'description' => 'Provides load, list and view permissions only.', |
|
48 | - 'parent' => 0, |
|
49 | - 'class' => '', |
|
50 | - 'data' => '{"load":true,"list":true,"view":true}', |
|
51 | - 'lexicon' => 'permissions', |
|
45 | + 'id' => 4, |
|
46 | + 'name' => 'Load, List and View', |
|
47 | + 'description' => 'Provides load, list and view permissions only.', |
|
48 | + 'parent' => 0, |
|
49 | + 'class' => '', |
|
50 | + 'data' => '{"load":true,"list":true,"view":true}', |
|
51 | + 'lexicon' => 'permissions', |
|
52 | 52 | ), '', true, true); |
53 | 53 | |
54 | 54 | $policies['5']= $xpdo->newObject('modAccessPolicy'); |
55 | 55 | $policies['5']->fromArray(array ( |
56 | - 'id' => 5, |
|
57 | - 'name' => 'Object', |
|
58 | - 'description' => 'An Object policy with all permissions.', |
|
59 | - 'parent' => 0, |
|
60 | - 'class' => '', |
|
61 | - 'data' => '{"load":true,"list":true,"view":true,"save":true,"remove":true}', |
|
62 | - 'lexicon' => 'permissions', |
|
56 | + 'id' => 5, |
|
57 | + 'name' => 'Object', |
|
58 | + 'description' => 'An Object policy with all permissions.', |
|
59 | + 'parent' => 0, |
|
60 | + 'class' => '', |
|
61 | + 'data' => '{"load":true,"list":true,"view":true,"save":true,"remove":true}', |
|
62 | + 'lexicon' => 'permissions', |
|
63 | 63 | ), '', true, true); |
64 | 64 | |
65 | 65 | $policies['6']= $xpdo->newObject('modAccessPolicy'); |
66 | 66 | $policies['6']->fromArray(array ( |
67 | - 'id' => 6, |
|
68 | - 'name' => 'Element', |
|
69 | - 'description' => 'MODX Element policy with all attributes.', |
|
70 | - 'parent' => 0, |
|
71 | - 'class' => '', |
|
72 | - 'data' => '{"add_children":true,"create":true,"delete":true,"list":true,"load":true,"remove":true,"save":true,"view":true,"copy":true}', |
|
73 | - 'lexicon' => 'permissions', |
|
67 | + 'id' => 6, |
|
68 | + 'name' => 'Element', |
|
69 | + 'description' => 'MODX Element policy with all attributes.', |
|
70 | + 'parent' => 0, |
|
71 | + 'class' => '', |
|
72 | + 'data' => '{"add_children":true,"create":true,"delete":true,"list":true,"load":true,"remove":true,"save":true,"view":true,"copy":true}', |
|
73 | + 'lexicon' => 'permissions', |
|
74 | 74 | ), '', true, true); |
75 | 75 | |
76 | 76 | $policies['7']= $xpdo->newObject('modAccessPolicy'); |
77 | 77 | $policies['7']->fromArray(array ( |
78 | - 'id' => 7, |
|
79 | - 'name' => 'Content Editor', |
|
80 | - 'description' => 'Context administration policy with limited, content-editing related Permissions, but no publishing.', |
|
81 | - 'parent' => 0, |
|
82 | - 'class' => '', |
|
83 | - 'data' => '{"change_profile":true,"class_map":true,"countries":true,"edit_document":true,"frames":true,"help":true,"home":true,"load":true,"list":true,"logout":true,"menu_reports":true,"menu_site":true,"menu_support":true,"menu_tools":true,"menu_user":true,"resource_duplicate":true,"resource_tree":true,"save_document":true,"source_view":true,"tree_show_resource_ids":true,"view":true,"view_document":true,"view_template":true,"new_document":true,"delete_document":true}', |
|
84 | - 'lexicon' => 'permissions', |
|
78 | + 'id' => 7, |
|
79 | + 'name' => 'Content Editor', |
|
80 | + 'description' => 'Context administration policy with limited, content-editing related Permissions, but no publishing.', |
|
81 | + 'parent' => 0, |
|
82 | + 'class' => '', |
|
83 | + 'data' => '{"change_profile":true,"class_map":true,"countries":true,"edit_document":true,"frames":true,"help":true,"home":true,"load":true,"list":true,"logout":true,"menu_reports":true,"menu_site":true,"menu_support":true,"menu_tools":true,"menu_user":true,"resource_duplicate":true,"resource_tree":true,"save_document":true,"source_view":true,"tree_show_resource_ids":true,"view":true,"view_document":true,"view_template":true,"new_document":true,"delete_document":true}', |
|
84 | + 'lexicon' => 'permissions', |
|
85 | 85 | ), '', true, true); |
86 | 86 | |
87 | 87 | $policies['8']= $xpdo->newObject('modAccessPolicy'); |
88 | 88 | $policies['8']->fromArray(array ( |
89 | - 'id' => 8, |
|
90 | - 'name' => 'Media Source Admin', |
|
91 | - 'description' => 'Media Source administration policy.', |
|
92 | - 'parent' => 0, |
|
93 | - 'class' => '', |
|
94 | - 'data' => '{"create":true,"copy":true,"load":true,"list":true,"save":true,"remove":true,"view":true}', |
|
95 | - 'lexicon' => 'permissions', |
|
89 | + 'id' => 8, |
|
90 | + 'name' => 'Media Source Admin', |
|
91 | + 'description' => 'Media Source administration policy.', |
|
92 | + 'parent' => 0, |
|
93 | + 'class' => '', |
|
94 | + 'data' => '{"create":true,"copy":true,"load":true,"list":true,"save":true,"remove":true,"view":true}', |
|
95 | + 'lexicon' => 'permissions', |
|
96 | 96 | ), '', true, true); |
97 | 97 | |
98 | 98 | $policies['9']= $xpdo->newObject('modAccessPolicy'); |
99 | 99 | $policies['9']->fromArray(array ( |
100 | - 'id' => 9, |
|
101 | - 'name' => 'Media Source User', |
|
102 | - 'description' => 'Media Source user policy, with basic viewing and using - but no editing - of Media Sources.', |
|
103 | - 'parent' => 0, |
|
104 | - 'class' => '', |
|
105 | - 'data' => '{"load":true,"list":true,"view":true}', |
|
106 | - 'lexicon' => 'permissions', |
|
100 | + 'id' => 9, |
|
101 | + 'name' => 'Media Source User', |
|
102 | + 'description' => 'Media Source user policy, with basic viewing and using - but no editing - of Media Sources.', |
|
103 | + 'parent' => 0, |
|
104 | + 'class' => '', |
|
105 | + 'data' => '{"load":true,"list":true,"view":true}', |
|
106 | + 'lexicon' => 'permissions', |
|
107 | 107 | ), '', true, true); |
108 | 108 | |
109 | 109 | $policies['10']= $xpdo->newObject('modAccessPolicy'); |
110 | 110 | $policies['10']->fromArray(array ( |
111 | - 'id' => 10, |
|
112 | - 'name' => 'Developer', |
|
113 | - 'description' => 'Context administration policy with most Permissions except Administrator and Security functions.', |
|
114 | - 'parent' => 0, |
|
115 | - 'class' => '', |
|
116 | - 'data' => '{"about":true,"change_password":true,"change_profile":true,"charsets":true,"class_map":true,"components":true,"content_types":true,"countries":true,"create":true,"credits":true,"customize_forms":true,"dashboards":true,"database":true,"delete_category":true,"delete_chunk":true,"delete_context":true,"delete_document":true,"delete_eventlog":true,"delete_plugin":true,"delete_propertyset":true,"delete_snippet":true,"delete_template":true,"delete_tv":true,"delete_role":true,"delete_user":true,"directory_chmod":true,"directory_create":true,"directory_list":true,"directory_remove":true,"directory_update":true,"edit_category":true,"edit_chunk":true,"edit_context":true,"edit_document":true,"edit_locked":true,"edit_plugin":true,"edit_propertyset":true,"edit_role":true,"edit_snippet":true,"edit_template":true,"edit_tv":true,"edit_user":true,"element_tree":true,"empty_cache":true,"error_log_erase":true,"error_log_view":true,"export_static":true,"file_create":true,"file_list":true,"file_manager":true,"file_remove":true,"file_tree":true,"file_update":true,"file_upload":true,"file_unpack":true,"file_view":true,"frames":true,"help":true,"home":true,"import_static":true,"languages":true,"lexicons":true,"list":true,"load":true,"logout":true,"logs":true,"menu_reports":true,"menu_site":true,"menu_support":true,"menu_system":true,"menu_tools":true,"menu_user":true,"menus":true,"messages":true,"namespaces":true,"new_category":true,"new_chunk":true,"new_context":true,"new_document":true,"new_static_resource":true,"new_symlink":true,"new_weblink":true,"new_document_in_root":true,"new_plugin":true,"new_propertyset":true,"new_role":true,"new_snippet":true,"new_template":true,"new_tv":true,"new_user":true,"packages":true,"property_sets":true,"providers":true,"publish_document":true,"purge_deleted":true,"remove":true,"resource_duplicate":true,"resource_quick_create":true,"resource_quick_update":true,"resource_tree":true,"save":true,"save_category":true,"save_chunk":true,"save_context":true,"save_document":true,"save_plugin":true,"save_propertyset":true,"save_snippet":true,"save_template":true,"save_tv":true,"save_user":true,"search":true,"settings":true,"source_delete":true,"source_edit":true,"source_save":true,"source_view":true,"sources":true,"tree_show_element_ids":true,"tree_show_resource_ids":true,"undelete_document":true,"unpublish_document":true,"unlock_element_properties":true,"view":true,"view_category":true,"view_chunk":true,"view_context":true,"view_document":true,"view_element":true,"view_eventlog":true,"view_offline":true,"view_plugin":true,"view_propertyset":true,"view_role":true,"view_snippet":true,"view_sysinfo":true,"view_template":true,"view_tv":true,"view_user":true,"view_unpublished":true,"workspaces":true}', |
|
117 | - 'lexicon' => 'permissions', |
|
111 | + 'id' => 10, |
|
112 | + 'name' => 'Developer', |
|
113 | + 'description' => 'Context administration policy with most Permissions except Administrator and Security functions.', |
|
114 | + 'parent' => 0, |
|
115 | + 'class' => '', |
|
116 | + 'data' => '{"about":true,"change_password":true,"change_profile":true,"charsets":true,"class_map":true,"components":true,"content_types":true,"countries":true,"create":true,"credits":true,"customize_forms":true,"dashboards":true,"database":true,"delete_category":true,"delete_chunk":true,"delete_context":true,"delete_document":true,"delete_eventlog":true,"delete_plugin":true,"delete_propertyset":true,"delete_snippet":true,"delete_template":true,"delete_tv":true,"delete_role":true,"delete_user":true,"directory_chmod":true,"directory_create":true,"directory_list":true,"directory_remove":true,"directory_update":true,"edit_category":true,"edit_chunk":true,"edit_context":true,"edit_document":true,"edit_locked":true,"edit_plugin":true,"edit_propertyset":true,"edit_role":true,"edit_snippet":true,"edit_template":true,"edit_tv":true,"edit_user":true,"element_tree":true,"empty_cache":true,"error_log_erase":true,"error_log_view":true,"export_static":true,"file_create":true,"file_list":true,"file_manager":true,"file_remove":true,"file_tree":true,"file_update":true,"file_upload":true,"file_unpack":true,"file_view":true,"frames":true,"help":true,"home":true,"import_static":true,"languages":true,"lexicons":true,"list":true,"load":true,"logout":true,"logs":true,"menu_reports":true,"menu_site":true,"menu_support":true,"menu_system":true,"menu_tools":true,"menu_user":true,"menus":true,"messages":true,"namespaces":true,"new_category":true,"new_chunk":true,"new_context":true,"new_document":true,"new_static_resource":true,"new_symlink":true,"new_weblink":true,"new_document_in_root":true,"new_plugin":true,"new_propertyset":true,"new_role":true,"new_snippet":true,"new_template":true,"new_tv":true,"new_user":true,"packages":true,"property_sets":true,"providers":true,"publish_document":true,"purge_deleted":true,"remove":true,"resource_duplicate":true,"resource_quick_create":true,"resource_quick_update":true,"resource_tree":true,"save":true,"save_category":true,"save_chunk":true,"save_context":true,"save_document":true,"save_plugin":true,"save_propertyset":true,"save_snippet":true,"save_template":true,"save_tv":true,"save_user":true,"search":true,"settings":true,"source_delete":true,"source_edit":true,"source_save":true,"source_view":true,"sources":true,"tree_show_element_ids":true,"tree_show_resource_ids":true,"undelete_document":true,"unpublish_document":true,"unlock_element_properties":true,"view":true,"view_category":true,"view_chunk":true,"view_context":true,"view_document":true,"view_element":true,"view_eventlog":true,"view_offline":true,"view_plugin":true,"view_propertyset":true,"view_role":true,"view_snippet":true,"view_sysinfo":true,"view_template":true,"view_tv":true,"view_user":true,"view_unpublished":true,"workspaces":true}', |
|
117 | + 'lexicon' => 'permissions', |
|
118 | 118 | ), '', true, true); |
119 | 119 | |
120 | 120 | $policies['11']= $xpdo->newObject('modAccessPolicy'); |
121 | 121 | $policies['11']->fromArray(array ( |
122 | - 'id' => 11, |
|
123 | - 'name' => 'Context', |
|
124 | - 'description' => 'A standard Context policy that you can apply when creating Context ACLs for basic read/write and view_unpublished access within a Context.', |
|
125 | - 'parent' => 0, |
|
126 | - 'class' => '', |
|
127 | - 'data' => '{"load":true,"list":true,"view":true,"save":true,"remove":true,"copy":true,"view_unpublished":true}', |
|
128 | - 'lexicon' => 'permissions', |
|
122 | + 'id' => 11, |
|
123 | + 'name' => 'Context', |
|
124 | + 'description' => 'A standard Context policy that you can apply when creating Context ACLs for basic read/write and view_unpublished access within a Context.', |
|
125 | + 'parent' => 0, |
|
126 | + 'class' => '', |
|
127 | + 'data' => '{"load":true,"list":true,"view":true,"save":true,"remove":true,"copy":true,"view_unpublished":true}', |
|
128 | + 'lexicon' => 'permissions', |
|
129 | 129 | ), '', true, true); |
130 | 130 | |
131 | 131 | $policies['12']= $xpdo->newObject('modAccessPolicy'); |
@@ -7,8 +7,8 @@ discard block |
||
7 | 7 | */ |
8 | 8 | $policies = array(); |
9 | 9 | |
10 | -$policies['1']= $xpdo->newObject('modAccessPolicy'); |
|
11 | -$policies['1']->fromArray(array ( |
|
10 | +$policies['1'] = $xpdo->newObject('modAccessPolicy'); |
|
11 | +$policies['1']->fromArray(array( |
|
12 | 12 | 'id' => 1, |
13 | 13 | 'name' => 'Resource', |
14 | 14 | 'description' => 'MODX Resource Policy with all attributes.', |
@@ -18,8 +18,8 @@ discard block |
||
18 | 18 | 'lexicon' => 'permissions', |
19 | 19 | ), '', true, true); |
20 | 20 | |
21 | -$policies['2']= $xpdo->newObject('modAccessPolicy'); |
|
22 | -$policies['2']->fromArray(array ( |
|
21 | +$policies['2'] = $xpdo->newObject('modAccessPolicy'); |
|
22 | +$policies['2']->fromArray(array( |
|
23 | 23 | 'id' => 2, |
24 | 24 | 'name' => 'Administrator', |
25 | 25 | 'description' => 'Context administration policy with all permissions.', |
@@ -29,8 +29,8 @@ discard block |
||
29 | 29 | 'lexicon' => 'permissions', |
30 | 30 | ), '', true, true); |
31 | 31 | |
32 | -$policies['3']= $xpdo->newObject('modAccessPolicy'); |
|
33 | -$policies['3']->fromArray(array ( |
|
32 | +$policies['3'] = $xpdo->newObject('modAccessPolicy'); |
|
33 | +$policies['3']->fromArray(array( |
|
34 | 34 | 'id' => 3, |
35 | 35 | 'name' => 'Load Only', |
36 | 36 | 'description' => 'A minimal policy with permission to load an object.', |
@@ -40,8 +40,8 @@ discard block |
||
40 | 40 | 'lexicon' => 'permissions', |
41 | 41 | ), '', true, true); |
42 | 42 | |
43 | -$policies['4']= $xpdo->newObject('modAccessPolicy'); |
|
44 | -$policies['4']->fromArray(array ( |
|
43 | +$policies['4'] = $xpdo->newObject('modAccessPolicy'); |
|
44 | +$policies['4']->fromArray(array( |
|
45 | 45 | 'id' => 4, |
46 | 46 | 'name' => 'Load, List and View', |
47 | 47 | 'description' => 'Provides load, list and view permissions only.', |
@@ -51,8 +51,8 @@ discard block |
||
51 | 51 | 'lexicon' => 'permissions', |
52 | 52 | ), '', true, true); |
53 | 53 | |
54 | -$policies['5']= $xpdo->newObject('modAccessPolicy'); |
|
55 | -$policies['5']->fromArray(array ( |
|
54 | +$policies['5'] = $xpdo->newObject('modAccessPolicy'); |
|
55 | +$policies['5']->fromArray(array( |
|
56 | 56 | 'id' => 5, |
57 | 57 | 'name' => 'Object', |
58 | 58 | 'description' => 'An Object policy with all permissions.', |
@@ -62,8 +62,8 @@ discard block |
||
62 | 62 | 'lexicon' => 'permissions', |
63 | 63 | ), '', true, true); |
64 | 64 | |
65 | -$policies['6']= $xpdo->newObject('modAccessPolicy'); |
|
66 | -$policies['6']->fromArray(array ( |
|
65 | +$policies['6'] = $xpdo->newObject('modAccessPolicy'); |
|
66 | +$policies['6']->fromArray(array( |
|
67 | 67 | 'id' => 6, |
68 | 68 | 'name' => 'Element', |
69 | 69 | 'description' => 'MODX Element policy with all attributes.', |
@@ -73,8 +73,8 @@ discard block |
||
73 | 73 | 'lexicon' => 'permissions', |
74 | 74 | ), '', true, true); |
75 | 75 | |
76 | -$policies['7']= $xpdo->newObject('modAccessPolicy'); |
|
77 | -$policies['7']->fromArray(array ( |
|
76 | +$policies['7'] = $xpdo->newObject('modAccessPolicy'); |
|
77 | +$policies['7']->fromArray(array( |
|
78 | 78 | 'id' => 7, |
79 | 79 | 'name' => 'Content Editor', |
80 | 80 | 'description' => 'Context administration policy with limited, content-editing related Permissions, but no publishing.', |
@@ -84,8 +84,8 @@ discard block |
||
84 | 84 | 'lexicon' => 'permissions', |
85 | 85 | ), '', true, true); |
86 | 86 | |
87 | -$policies['8']= $xpdo->newObject('modAccessPolicy'); |
|
88 | -$policies['8']->fromArray(array ( |
|
87 | +$policies['8'] = $xpdo->newObject('modAccessPolicy'); |
|
88 | +$policies['8']->fromArray(array( |
|
89 | 89 | 'id' => 8, |
90 | 90 | 'name' => 'Media Source Admin', |
91 | 91 | 'description' => 'Media Source administration policy.', |
@@ -95,8 +95,8 @@ discard block |
||
95 | 95 | 'lexicon' => 'permissions', |
96 | 96 | ), '', true, true); |
97 | 97 | |
98 | -$policies['9']= $xpdo->newObject('modAccessPolicy'); |
|
99 | -$policies['9']->fromArray(array ( |
|
98 | +$policies['9'] = $xpdo->newObject('modAccessPolicy'); |
|
99 | +$policies['9']->fromArray(array( |
|
100 | 100 | 'id' => 9, |
101 | 101 | 'name' => 'Media Source User', |
102 | 102 | 'description' => 'Media Source user policy, with basic viewing and using - but no editing - of Media Sources.', |
@@ -106,8 +106,8 @@ discard block |
||
106 | 106 | 'lexicon' => 'permissions', |
107 | 107 | ), '', true, true); |
108 | 108 | |
109 | -$policies['10']= $xpdo->newObject('modAccessPolicy'); |
|
110 | -$policies['10']->fromArray(array ( |
|
109 | +$policies['10'] = $xpdo->newObject('modAccessPolicy'); |
|
110 | +$policies['10']->fromArray(array( |
|
111 | 111 | 'id' => 10, |
112 | 112 | 'name' => 'Developer', |
113 | 113 | 'description' => 'Context administration policy with most Permissions except Administrator and Security functions.', |
@@ -117,8 +117,8 @@ discard block |
||
117 | 117 | 'lexicon' => 'permissions', |
118 | 118 | ), '', true, true); |
119 | 119 | |
120 | -$policies['11']= $xpdo->newObject('modAccessPolicy'); |
|
121 | -$policies['11']->fromArray(array ( |
|
120 | +$policies['11'] = $xpdo->newObject('modAccessPolicy'); |
|
121 | +$policies['11']->fromArray(array( |
|
122 | 122 | 'id' => 11, |
123 | 123 | 'name' => 'Context', |
124 | 124 | 'description' => 'A standard Context policy that you can apply when creating Context ACLs for basic read/write and view_unpublished access within a Context.', |
@@ -128,8 +128,8 @@ discard block |
||
128 | 128 | 'lexicon' => 'permissions', |
129 | 129 | ), '', true, true); |
130 | 130 | |
131 | -$policies['12']= $xpdo->newObject('modAccessPolicy'); |
|
132 | -$policies['12']->fromArray(array ( |
|
131 | +$policies['12'] = $xpdo->newObject('modAccessPolicy'); |
|
132 | +$policies['12']->fromArray(array( |
|
133 | 133 | 'id' => 12, |
134 | 134 | 'name' => 'Hidden Namespace', |
135 | 135 | 'description' => 'Hidden Namespace policy, will not show Namespace in lists.', |
@@ -1,15 +1,15 @@ |
||
1 | 1 | <?php |
2 | 2 | $collection['1']= $xpdo->newObject('modUserGroupRole'); |
3 | 3 | $collection['1']->fromArray(array ( |
4 | - 'id' => 1, |
|
5 | - 'name' => 'Member', |
|
6 | - 'description' => 'NULL', |
|
7 | - 'authority' => 9999, |
|
4 | + 'id' => 1, |
|
5 | + 'name' => 'Member', |
|
6 | + 'description' => 'NULL', |
|
7 | + 'authority' => 9999, |
|
8 | 8 | ), '', true, true); |
9 | 9 | $collection['2']= $xpdo->newObject('modUserGroupRole'); |
10 | 10 | $collection['2']->fromArray(array ( |
11 | - 'id' => 2, |
|
12 | - 'name' => 'Super User', |
|
13 | - 'description' => 'NULL', |
|
14 | - 'authority' => 0, |
|
11 | + 'id' => 2, |
|
12 | + 'name' => 'Super User', |
|
13 | + 'description' => 'NULL', |
|
14 | + 'authority' => 0, |
|
15 | 15 | ), '', true, true); |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | -$collection['1']= $xpdo->newObject('modUserGroupRole'); |
|
3 | -$collection['1']->fromArray(array ( |
|
2 | +$collection['1'] = $xpdo->newObject('modUserGroupRole'); |
|
3 | +$collection['1']->fromArray(array( |
|
4 | 4 | 'id' => 1, |
5 | 5 | 'name' => 'Member', |
6 | 6 | 'description' => 'NULL', |
7 | 7 | 'authority' => 9999, |
8 | 8 | ), '', true, true); |
9 | -$collection['2']= $xpdo->newObject('modUserGroupRole'); |
|
10 | -$collection['2']->fromArray(array ( |
|
9 | +$collection['2'] = $xpdo->newObject('modUserGroupRole'); |
|
10 | +$collection['2']->fromArray(array( |
|
11 | 11 | 'id' => 2, |
12 | 12 | 'name' => 'Super User', |
13 | 13 | 'description' => 'NULL', |
@@ -8,138 +8,138 @@ discard block |
||
8 | 8 | $settings = array(); |
9 | 9 | $settings['access_category_enabled']= $xpdo->newObject('modSystemSetting'); |
10 | 10 | $settings['access_category_enabled']->fromArray(array ( |
11 | - 'key' => 'access_category_enabled', |
|
12 | - 'value' => true, |
|
13 | - 'xtype' => 'combo-boolean', |
|
14 | - 'namespace' => 'core', |
|
15 | - 'area' => 'authentication', |
|
16 | - 'editedon' => null, |
|
11 | + 'key' => 'access_category_enabled', |
|
12 | + 'value' => true, |
|
13 | + 'xtype' => 'combo-boolean', |
|
14 | + 'namespace' => 'core', |
|
15 | + 'area' => 'authentication', |
|
16 | + 'editedon' => null, |
|
17 | 17 | ), '', true, true); |
18 | 18 | $settings['access_context_enabled']= $xpdo->newObject('modSystemSetting'); |
19 | 19 | $settings['access_context_enabled']->fromArray(array ( |
20 | - 'key' => 'access_context_enabled', |
|
21 | - 'value' => true, |
|
22 | - 'xtype' => 'combo-boolean', |
|
23 | - 'namespace' => 'core', |
|
24 | - 'area' => 'authentication', |
|
25 | - 'editedon' => null, |
|
20 | + 'key' => 'access_context_enabled', |
|
21 | + 'value' => true, |
|
22 | + 'xtype' => 'combo-boolean', |
|
23 | + 'namespace' => 'core', |
|
24 | + 'area' => 'authentication', |
|
25 | + 'editedon' => null, |
|
26 | 26 | ), '', true, true); |
27 | 27 | $settings['access_resource_group_enabled']= $xpdo->newObject('modSystemSetting'); |
28 | 28 | $settings['access_resource_group_enabled']->fromArray(array ( |
29 | - 'key' => 'access_resource_group_enabled', |
|
30 | - 'value' => true, |
|
31 | - 'xtype' => 'combo-boolean', |
|
32 | - 'namespace' => 'core', |
|
33 | - 'area' => 'authentication', |
|
34 | - 'editedon' => null, |
|
29 | + 'key' => 'access_resource_group_enabled', |
|
30 | + 'value' => true, |
|
31 | + 'xtype' => 'combo-boolean', |
|
32 | + 'namespace' => 'core', |
|
33 | + 'area' => 'authentication', |
|
34 | + 'editedon' => null, |
|
35 | 35 | ), '', true, true); |
36 | 36 | $settings['allow_forward_across_contexts']= $xpdo->newObject('modSystemSetting'); |
37 | 37 | $settings['allow_forward_across_contexts']->fromArray(array ( |
38 | - 'key' => 'allow_forward_across_contexts', |
|
39 | - 'value' => false, |
|
40 | - 'xtype' => 'combo-boolean', |
|
41 | - 'namespace' => 'core', |
|
42 | - 'area' => 'system', |
|
43 | - 'editedon' => null, |
|
38 | + 'key' => 'allow_forward_across_contexts', |
|
39 | + 'value' => false, |
|
40 | + 'xtype' => 'combo-boolean', |
|
41 | + 'namespace' => 'core', |
|
42 | + 'area' => 'system', |
|
43 | + 'editedon' => null, |
|
44 | 44 | ), '', true, true); |
45 | 45 | $settings['allow_manager_login_forgot_password']= $xpdo->newObject('modSystemSetting'); |
46 | 46 | $settings['allow_manager_login_forgot_password']->fromArray(array ( |
47 | - 'key' => 'allow_manager_login_forgot_password', |
|
48 | - 'value' => true, |
|
49 | - 'xtype' => 'combo-boolean', |
|
50 | - 'namespace' => 'core', |
|
51 | - 'area' => 'authentication', |
|
52 | - 'editedon' => null, |
|
47 | + 'key' => 'allow_manager_login_forgot_password', |
|
48 | + 'value' => true, |
|
49 | + 'xtype' => 'combo-boolean', |
|
50 | + 'namespace' => 'core', |
|
51 | + 'area' => 'authentication', |
|
52 | + 'editedon' => null, |
|
53 | 53 | ), '', true, true); |
54 | 54 | $settings['allow_multiple_emails']= $xpdo->newObject('modSystemSetting'); |
55 | 55 | $settings['allow_multiple_emails']->fromArray(array ( |
56 | - 'key' => 'allow_multiple_emails', |
|
57 | - 'value' => true, |
|
58 | - 'xtype' => 'combo-boolean', |
|
59 | - 'namespace' => 'core', |
|
60 | - 'area' => 'authentication', |
|
61 | - 'editedon' => null, |
|
56 | + 'key' => 'allow_multiple_emails', |
|
57 | + 'value' => true, |
|
58 | + 'xtype' => 'combo-boolean', |
|
59 | + 'namespace' => 'core', |
|
60 | + 'area' => 'authentication', |
|
61 | + 'editedon' => null, |
|
62 | 62 | ), '', true, true); |
63 | 63 | $settings['allow_tags_in_post']= $xpdo->newObject('modSystemSetting'); |
64 | 64 | $settings['allow_tags_in_post']->fromArray(array ( |
65 | - 'key' => 'allow_tags_in_post', |
|
66 | - 'value' => false, |
|
67 | - 'xtype' => 'combo-boolean', |
|
68 | - 'namespace' => 'core', |
|
69 | - 'area' => 'system', |
|
70 | - 'editedon' => null, |
|
65 | + 'key' => 'allow_tags_in_post', |
|
66 | + 'value' => false, |
|
67 | + 'xtype' => 'combo-boolean', |
|
68 | + 'namespace' => 'core', |
|
69 | + 'area' => 'system', |
|
70 | + 'editedon' => null, |
|
71 | 71 | ), '', true, true); |
72 | 72 | $settings['archive_with']= $xpdo->newObject('modSystemSetting'); |
73 | 73 | $settings['archive_with']->fromArray(array ( |
74 | - 'key' => 'archive_with', |
|
75 | - 'value' => false, |
|
76 | - 'xtype' => 'combo-boolean', |
|
77 | - 'namespace' => 'core', |
|
78 | - 'area' => 'system', |
|
79 | - 'editedon' => null, |
|
74 | + 'key' => 'archive_with', |
|
75 | + 'value' => false, |
|
76 | + 'xtype' => 'combo-boolean', |
|
77 | + 'namespace' => 'core', |
|
78 | + 'area' => 'system', |
|
79 | + 'editedon' => null, |
|
80 | 80 | ), '', true, true); |
81 | 81 | $settings['auto_menuindex']= $xpdo->newObject('modSystemSetting'); |
82 | 82 | $settings['auto_menuindex']->fromArray(array ( |
83 | - 'key' => 'auto_menuindex', |
|
84 | - 'value' => '1', |
|
85 | - 'xtype' => 'combo-boolean', |
|
86 | - 'namespace' => 'core', |
|
87 | - 'area' => 'site', |
|
88 | - 'editedon' => null, |
|
83 | + 'key' => 'auto_menuindex', |
|
84 | + 'value' => '1', |
|
85 | + 'xtype' => 'combo-boolean', |
|
86 | + 'namespace' => 'core', |
|
87 | + 'area' => 'site', |
|
88 | + 'editedon' => null, |
|
89 | 89 | ), '', true, true); |
90 | 90 | $settings['auto_check_pkg_updates']= $xpdo->newObject('modSystemSetting'); |
91 | 91 | $settings['auto_check_pkg_updates']->fromArray(array ( |
92 | - 'key' => 'auto_check_pkg_updates', |
|
93 | - 'value' => '1', |
|
94 | - 'xtype' => 'combo-boolean', |
|
95 | - 'namespace' => 'core', |
|
96 | - 'area' => 'system', |
|
97 | - 'editedon' => null, |
|
92 | + 'key' => 'auto_check_pkg_updates', |
|
93 | + 'value' => '1', |
|
94 | + 'xtype' => 'combo-boolean', |
|
95 | + 'namespace' => 'core', |
|
96 | + 'area' => 'system', |
|
97 | + 'editedon' => null, |
|
98 | 98 | ), '', true, true); |
99 | 99 | $settings['auto_check_pkg_updates_cache_expire']= $xpdo->newObject('modSystemSetting'); |
100 | 100 | $settings['auto_check_pkg_updates_cache_expire']->fromArray(array ( |
101 | - 'key' => 'auto_check_pkg_updates_cache_expire', |
|
102 | - 'value' => 15, |
|
103 | - 'xtype' => 'textfield', |
|
104 | - 'namespace' => 'core', |
|
105 | - 'area' => 'system', |
|
106 | - 'editedon' => null, |
|
101 | + 'key' => 'auto_check_pkg_updates_cache_expire', |
|
102 | + 'value' => 15, |
|
103 | + 'xtype' => 'textfield', |
|
104 | + 'namespace' => 'core', |
|
105 | + 'area' => 'system', |
|
106 | + 'editedon' => null, |
|
107 | 107 | ), '', true, true); |
108 | 108 | $settings['automatic_alias']= $xpdo->newObject('modSystemSetting'); |
109 | 109 | $settings['automatic_alias']->fromArray(array ( |
110 | - 'key' => 'automatic_alias', |
|
111 | - 'value' => '1', |
|
112 | - 'xtype' => 'combo-boolean', |
|
113 | - 'namespace' => 'core', |
|
114 | - 'area' => 'furls', |
|
115 | - 'editedon' => null, |
|
110 | + 'key' => 'automatic_alias', |
|
111 | + 'value' => '1', |
|
112 | + 'xtype' => 'combo-boolean', |
|
113 | + 'namespace' => 'core', |
|
114 | + 'area' => 'furls', |
|
115 | + 'editedon' => null, |
|
116 | 116 | ), '', true, true); |
117 | 117 | $settings['base_help_url']= $xpdo->newObject('modSystemSetting'); |
118 | 118 | $settings['base_help_url']->fromArray(array ( |
119 | - 'key' => 'base_help_url', |
|
120 | - 'value' => '//docs.modx.com/display/revolution20/', |
|
121 | - 'xtype' => 'textfield', |
|
122 | - 'namespace' => 'core', |
|
123 | - 'area' => 'manager', |
|
124 | - 'editedon' => null, |
|
119 | + 'key' => 'base_help_url', |
|
120 | + 'value' => '//docs.modx.com/display/revolution20/', |
|
121 | + 'xtype' => 'textfield', |
|
122 | + 'namespace' => 'core', |
|
123 | + 'area' => 'manager', |
|
124 | + 'editedon' => null, |
|
125 | 125 | ), '', true, true); |
126 | 126 | $settings['blocked_minutes']= $xpdo->newObject('modSystemSetting'); |
127 | 127 | $settings['blocked_minutes']->fromArray(array ( |
128 | - 'key' => 'blocked_minutes', |
|
129 | - 'value' => '60', |
|
130 | - 'xtype' => 'textfield', |
|
131 | - 'namespace' => 'core', |
|
132 | - 'area' => 'authentication', |
|
133 | - 'editedon' => null, |
|
128 | + 'key' => 'blocked_minutes', |
|
129 | + 'value' => '60', |
|
130 | + 'xtype' => 'textfield', |
|
131 | + 'namespace' => 'core', |
|
132 | + 'area' => 'authentication', |
|
133 | + 'editedon' => null, |
|
134 | 134 | ), '', true, true); |
135 | 135 | $settings['cache_action_map']= $xpdo->newObject('modSystemSetting'); |
136 | 136 | $settings['cache_action_map']->fromArray(array ( |
137 | - 'key' => 'cache_action_map', |
|
138 | - 'value' => '1', |
|
139 | - 'xtype' => 'combo-boolean', |
|
140 | - 'namespace' => 'core', |
|
141 | - 'area' => 'caching', |
|
142 | - 'editedon' => null, |
|
137 | + 'key' => 'cache_action_map', |
|
138 | + 'value' => '1', |
|
139 | + 'xtype' => 'combo-boolean', |
|
140 | + 'namespace' => 'core', |
|
141 | + 'area' => 'caching', |
|
142 | + 'editedon' => null, |
|
143 | 143 | ), '', true, true); |
144 | 144 | $settings['cache_alias_map']= $xpdo->newObject('modSystemSetting'); |
145 | 145 | $settings['cache_alias_map']->fromArray(array ( |
@@ -161,467 +161,467 @@ discard block |
||
161 | 161 | ), '', true, true); |
162 | 162 | $settings['cache_context_settings']= $xpdo->newObject('modSystemSetting'); |
163 | 163 | $settings['cache_context_settings']->fromArray(array ( |
164 | - 'key' => 'cache_context_settings', |
|
165 | - 'value' => '1', |
|
166 | - 'xtype' => 'combo-boolean', |
|
167 | - 'namespace' => 'core', |
|
168 | - 'area' => 'caching', |
|
169 | - 'editedon' => null, |
|
164 | + 'key' => 'cache_context_settings', |
|
165 | + 'value' => '1', |
|
166 | + 'xtype' => 'combo-boolean', |
|
167 | + 'namespace' => 'core', |
|
168 | + 'area' => 'caching', |
|
169 | + 'editedon' => null, |
|
170 | 170 | ), '', true, true); |
171 | 171 | $settings['cache_db']= $xpdo->newObject('modSystemSetting'); |
172 | 172 | $settings['cache_db']->fromArray(array ( |
173 | - 'key' => 'cache_db', |
|
174 | - 'value' => '0', |
|
175 | - 'xtype' => 'combo-boolean', |
|
176 | - 'namespace' => 'core', |
|
177 | - 'area' => 'caching', |
|
178 | - 'editedon' => null, |
|
173 | + 'key' => 'cache_db', |
|
174 | + 'value' => '0', |
|
175 | + 'xtype' => 'combo-boolean', |
|
176 | + 'namespace' => 'core', |
|
177 | + 'area' => 'caching', |
|
178 | + 'editedon' => null, |
|
179 | 179 | ), '', true, true); |
180 | 180 | $settings['cache_db_expires']= $xpdo->newObject('modSystemSetting'); |
181 | 181 | $settings['cache_db_expires']->fromArray(array ( |
182 | - 'key' => 'cache_db_expires', |
|
183 | - 'value' => '0', |
|
184 | - 'xtype' => 'textfield', |
|
185 | - 'namespace' => 'core', |
|
186 | - 'area' => 'caching', |
|
187 | - 'editedon' => null, |
|
182 | + 'key' => 'cache_db_expires', |
|
183 | + 'value' => '0', |
|
184 | + 'xtype' => 'textfield', |
|
185 | + 'namespace' => 'core', |
|
186 | + 'area' => 'caching', |
|
187 | + 'editedon' => null, |
|
188 | 188 | ), '', true, true); |
189 | 189 | $settings['cache_db_session']= $xpdo->newObject('modSystemSetting'); |
190 | 190 | $settings['cache_db_session']->fromArray(array ( |
191 | - 'key' => 'cache_db_session', |
|
192 | - 'value' => '0', |
|
193 | - 'xtype' => 'combo-boolean', |
|
194 | - 'namespace' => 'core', |
|
195 | - 'area' => 'caching', |
|
196 | - 'editedon' => null, |
|
191 | + 'key' => 'cache_db_session', |
|
192 | + 'value' => '0', |
|
193 | + 'xtype' => 'combo-boolean', |
|
194 | + 'namespace' => 'core', |
|
195 | + 'area' => 'caching', |
|
196 | + 'editedon' => null, |
|
197 | 197 | ), '', true, true); |
198 | 198 | $settings['cache_db_session_lifetime']= $xpdo->newObject('modSystemSetting'); |
199 | 199 | $settings['cache_db_session_lifetime']->fromArray(array ( |
200 | - 'key' => 'cache_db_session_lifetime', |
|
201 | - 'value' => '', |
|
202 | - 'xtype' => 'textfield', |
|
203 | - 'namespace' => 'core', |
|
204 | - 'area' => 'caching', |
|
205 | - 'editedon' => null, |
|
200 | + 'key' => 'cache_db_session_lifetime', |
|
201 | + 'value' => '', |
|
202 | + 'xtype' => 'textfield', |
|
203 | + 'namespace' => 'core', |
|
204 | + 'area' => 'caching', |
|
205 | + 'editedon' => null, |
|
206 | 206 | ), '', true, true); |
207 | 207 | $settings['cache_default']= $xpdo->newObject('modSystemSetting'); |
208 | 208 | $settings['cache_default']->fromArray(array ( |
209 | - 'key' => 'cache_default', |
|
210 | - 'value' => '1', |
|
211 | - 'xtype' => 'combo-boolean', |
|
212 | - 'namespace' => 'core', |
|
213 | - 'area' => 'caching', |
|
214 | - 'editedon' => null, |
|
209 | + 'key' => 'cache_default', |
|
210 | + 'value' => '1', |
|
211 | + 'xtype' => 'combo-boolean', |
|
212 | + 'namespace' => 'core', |
|
213 | + 'area' => 'caching', |
|
214 | + 'editedon' => null, |
|
215 | 215 | ), '', true, true); |
216 | 216 | $settings['cache_disabled']= $xpdo->newObject('modSystemSetting'); |
217 | 217 | $settings['cache_disabled']->fromArray(array ( |
218 | - 'key' => 'cache_disabled', |
|
219 | - 'value' => '0', |
|
220 | - 'xtype' => 'combo-boolean', |
|
221 | - 'namespace' => 'core', |
|
222 | - 'area' => 'caching', |
|
223 | - 'editedon' => null, |
|
218 | + 'key' => 'cache_disabled', |
|
219 | + 'value' => '0', |
|
220 | + 'xtype' => 'combo-boolean', |
|
221 | + 'namespace' => 'core', |
|
222 | + 'area' => 'caching', |
|
223 | + 'editedon' => null, |
|
224 | 224 | ), '', true, true); |
225 | 225 | $settings['cache_expires']= $xpdo->newObject('modSystemSetting'); |
226 | 226 | $settings['cache_expires']->fromArray(array ( |
227 | - 'key' => 'cache_expires', |
|
228 | - 'value' => '0', |
|
229 | - 'xtype' => 'textfield', |
|
230 | - 'namespace' => 'core', |
|
231 | - 'area' => 'caching', |
|
232 | - 'editedon' => null, |
|
227 | + 'key' => 'cache_expires', |
|
228 | + 'value' => '0', |
|
229 | + 'xtype' => 'textfield', |
|
230 | + 'namespace' => 'core', |
|
231 | + 'area' => 'caching', |
|
232 | + 'editedon' => null, |
|
233 | 233 | ), '', true, true); |
234 | 234 | $settings['cache_format']= $xpdo->newObject('modSystemSetting'); |
235 | 235 | $settings['cache_format']->fromArray(array ( |
236 | - 'key' => 'cache_format', |
|
237 | - 'value' => '0', |
|
238 | - 'xtype' => 'textfield', |
|
239 | - 'namespace' => 'core', |
|
240 | - 'area' => 'caching', |
|
241 | - 'editedon' => null, |
|
236 | + 'key' => 'cache_format', |
|
237 | + 'value' => '0', |
|
238 | + 'xtype' => 'textfield', |
|
239 | + 'namespace' => 'core', |
|
240 | + 'area' => 'caching', |
|
241 | + 'editedon' => null, |
|
242 | 242 | ), '', true, true); |
243 | 243 | $settings['cache_handler']= $xpdo->newObject('modSystemSetting'); |
244 | 244 | $settings['cache_handler']->fromArray(array ( |
245 | - 'key' => 'cache_handler', |
|
246 | - 'value' => 'xPDO\Cache\xPDOFileCache', |
|
247 | - 'xtype' => 'textfield', |
|
248 | - 'namespace' => 'core', |
|
249 | - 'area' => 'caching', |
|
250 | - 'editedon' => null, |
|
245 | + 'key' => 'cache_handler', |
|
246 | + 'value' => 'xPDO\Cache\xPDOFileCache', |
|
247 | + 'xtype' => 'textfield', |
|
248 | + 'namespace' => 'core', |
|
249 | + 'area' => 'caching', |
|
250 | + 'editedon' => null, |
|
251 | 251 | ), '', true, true); |
252 | 252 | $settings['cache_lang_js']= $xpdo->newObject('modSystemSetting'); |
253 | 253 | $settings['cache_lang_js']->fromArray(array ( |
254 | - 'key' => 'cache_lang_js', |
|
255 | - 'value' => '1', |
|
256 | - 'xtype' => 'combo-boolean', |
|
257 | - 'namespace' => 'core', |
|
258 | - 'area' => 'caching', |
|
259 | - 'editedon' => null, |
|
254 | + 'key' => 'cache_lang_js', |
|
255 | + 'value' => '1', |
|
256 | + 'xtype' => 'combo-boolean', |
|
257 | + 'namespace' => 'core', |
|
258 | + 'area' => 'caching', |
|
259 | + 'editedon' => null, |
|
260 | 260 | ), '', true, true); |
261 | 261 | $settings['cache_lexicon_topics']= $xpdo->newObject('modSystemSetting'); |
262 | 262 | $settings['cache_lexicon_topics']->fromArray(array ( |
263 | - 'key' => 'cache_lexicon_topics', |
|
264 | - 'value' => '1', |
|
265 | - 'xtype' => 'combo-boolean', |
|
266 | - 'namespace' => 'core', |
|
267 | - 'area' => 'caching', |
|
268 | - 'editedon' => null, |
|
263 | + 'key' => 'cache_lexicon_topics', |
|
264 | + 'value' => '1', |
|
265 | + 'xtype' => 'combo-boolean', |
|
266 | + 'namespace' => 'core', |
|
267 | + 'area' => 'caching', |
|
268 | + 'editedon' => null, |
|
269 | 269 | ), '', true, true); |
270 | 270 | $settings['cache_noncore_lexicon_topics']= $xpdo->newObject('modSystemSetting'); |
271 | 271 | $settings['cache_noncore_lexicon_topics']->fromArray(array ( |
272 | - 'key' => 'cache_noncore_lexicon_topics', |
|
273 | - 'value' => '1', |
|
274 | - 'xtype' => 'combo-boolean', |
|
275 | - 'namespace' => 'core', |
|
276 | - 'area' => 'caching', |
|
277 | - 'editedon' => null, |
|
272 | + 'key' => 'cache_noncore_lexicon_topics', |
|
273 | + 'value' => '1', |
|
274 | + 'xtype' => 'combo-boolean', |
|
275 | + 'namespace' => 'core', |
|
276 | + 'area' => 'caching', |
|
277 | + 'editedon' => null, |
|
278 | 278 | ), '', true, true); |
279 | 279 | $settings['cache_resource']= $xpdo->newObject('modSystemSetting'); |
280 | 280 | $settings['cache_resource']->fromArray(array ( |
281 | - 'key' => 'cache_resource', |
|
282 | - 'value' => '1', |
|
283 | - 'xtype' => 'combo-boolean', |
|
284 | - 'namespace' => 'core', |
|
285 | - 'area' => 'caching', |
|
286 | - 'editedon' => null, |
|
281 | + 'key' => 'cache_resource', |
|
282 | + 'value' => '1', |
|
283 | + 'xtype' => 'combo-boolean', |
|
284 | + 'namespace' => 'core', |
|
285 | + 'area' => 'caching', |
|
286 | + 'editedon' => null, |
|
287 | 287 | ), '', true, true); |
288 | 288 | $settings['cache_resource_expires']= $xpdo->newObject('modSystemSetting'); |
289 | 289 | $settings['cache_resource_expires']->fromArray(array ( |
290 | - 'key' => 'cache_resource_expires', |
|
291 | - 'value' => '0', |
|
292 | - 'xtype' => 'textfield', |
|
293 | - 'namespace' => 'core', |
|
294 | - 'area' => 'caching', |
|
295 | - 'editedon' => null, |
|
290 | + 'key' => 'cache_resource_expires', |
|
291 | + 'value' => '0', |
|
292 | + 'xtype' => 'textfield', |
|
293 | + 'namespace' => 'core', |
|
294 | + 'area' => 'caching', |
|
295 | + 'editedon' => null, |
|
296 | 296 | ), '', true, true); |
297 | 297 | $settings['cache_scripts']= $xpdo->newObject('modSystemSetting'); |
298 | 298 | $settings['cache_scripts']->fromArray(array ( |
299 | - 'key' => 'cache_scripts', |
|
300 | - 'value' => '1', |
|
301 | - 'xtype' => 'combo-boolean', |
|
302 | - 'namespace' => 'core', |
|
303 | - 'area' => 'caching', |
|
304 | - 'editedon' => null, |
|
299 | + 'key' => 'cache_scripts', |
|
300 | + 'value' => '1', |
|
301 | + 'xtype' => 'combo-boolean', |
|
302 | + 'namespace' => 'core', |
|
303 | + 'area' => 'caching', |
|
304 | + 'editedon' => null, |
|
305 | 305 | ), '', true, true); |
306 | 306 | $settings['cache_system_settings']= $xpdo->newObject('modSystemSetting'); |
307 | 307 | $settings['cache_system_settings']->fromArray(array ( |
308 | - 'key' => 'cache_system_settings', |
|
309 | - 'value' => '1', |
|
310 | - 'xtype' => 'combo-boolean', |
|
311 | - 'namespace' => 'core', |
|
312 | - 'area' => 'caching', |
|
313 | - 'editedon' => null, |
|
308 | + 'key' => 'cache_system_settings', |
|
309 | + 'value' => '1', |
|
310 | + 'xtype' => 'combo-boolean', |
|
311 | + 'namespace' => 'core', |
|
312 | + 'area' => 'caching', |
|
313 | + 'editedon' => null, |
|
314 | 314 | ), '', true, true); |
315 | 315 | $settings['clear_cache_refresh_trees']= $xpdo->newObject('modSystemSetting'); |
316 | 316 | $settings['clear_cache_refresh_trees']->fromArray(array ( |
317 | - 'key' => 'clear_cache_refresh_trees', |
|
318 | - 'value' => 0, |
|
319 | - 'xtype' => 'combo-boolean', |
|
320 | - 'namespace' => 'core', |
|
321 | - 'area' => 'caching', |
|
322 | - 'editedon' => null, |
|
317 | + 'key' => 'clear_cache_refresh_trees', |
|
318 | + 'value' => 0, |
|
319 | + 'xtype' => 'combo-boolean', |
|
320 | + 'namespace' => 'core', |
|
321 | + 'area' => 'caching', |
|
322 | + 'editedon' => null, |
|
323 | 323 | ), '', true, true); |
324 | 324 | $settings['compress_css']= $xpdo->newObject('modSystemSetting'); |
325 | 325 | $settings['compress_css']->fromArray(array ( |
326 | - 'key' => 'compress_css', |
|
327 | - 'value' => true, |
|
328 | - 'xtype' => 'combo-boolean', |
|
329 | - 'namespace' => 'core', |
|
330 | - 'area' => 'manager', |
|
331 | - 'editedon' => null, |
|
326 | + 'key' => 'compress_css', |
|
327 | + 'value' => true, |
|
328 | + 'xtype' => 'combo-boolean', |
|
329 | + 'namespace' => 'core', |
|
330 | + 'area' => 'manager', |
|
331 | + 'editedon' => null, |
|
332 | 332 | ), '', true, true); |
333 | 333 | $settings['compress_js']= $xpdo->newObject('modSystemSetting'); |
334 | 334 | $settings['compress_js']->fromArray(array ( |
335 | - 'key' => 'compress_js', |
|
336 | - 'value' => true, |
|
337 | - 'xtype' => 'combo-boolean', |
|
338 | - 'namespace' => 'core', |
|
339 | - 'area' => 'manager', |
|
340 | - 'editedon' => null, |
|
335 | + 'key' => 'compress_js', |
|
336 | + 'value' => true, |
|
337 | + 'xtype' => 'combo-boolean', |
|
338 | + 'namespace' => 'core', |
|
339 | + 'area' => 'manager', |
|
340 | + 'editedon' => null, |
|
341 | 341 | ), '', true, true); |
342 | 342 | $settings['compress_js_max_files']= $xpdo->newObject('modSystemSetting'); |
343 | 343 | $settings['compress_js_max_files']->fromArray(array ( |
344 | - 'key' => 'compress_js_max_files', |
|
345 | - 'value' => 10, |
|
346 | - 'xtype' => 'textfield', |
|
347 | - 'namespace' => 'core', |
|
348 | - 'area' => 'manager', |
|
349 | - 'editedon' => null, |
|
344 | + 'key' => 'compress_js_max_files', |
|
345 | + 'value' => 10, |
|
346 | + 'xtype' => 'textfield', |
|
347 | + 'namespace' => 'core', |
|
348 | + 'area' => 'manager', |
|
349 | + 'editedon' => null, |
|
350 | 350 | ), '', true, true); |
351 | 351 | $settings['confirm_navigation']= $xpdo->newObject('modSystemSetting'); |
352 | 352 | $settings['confirm_navigation']->fromArray(array ( |
353 | - 'key' => 'confirm_navigation', |
|
354 | - 'value' => true, |
|
355 | - 'xtype' => 'combo-boolean', |
|
356 | - 'namespace' => 'core', |
|
357 | - 'area' => 'manager', |
|
358 | - 'editedon' => null, |
|
353 | + 'key' => 'confirm_navigation', |
|
354 | + 'value' => true, |
|
355 | + 'xtype' => 'combo-boolean', |
|
356 | + 'namespace' => 'core', |
|
357 | + 'area' => 'manager', |
|
358 | + 'editedon' => null, |
|
359 | 359 | ), '', true, true); |
360 | 360 | $settings['container_suffix']= $xpdo->newObject('modSystemSetting'); |
361 | 361 | $settings['container_suffix']->fromArray(array ( |
362 | - 'key' => 'container_suffix', |
|
363 | - 'value' => '/', |
|
364 | - 'xtype' => 'textfield', |
|
365 | - 'namespace' => 'core', |
|
366 | - 'area' => 'furls', |
|
367 | - 'editedon' => null, |
|
362 | + 'key' => 'container_suffix', |
|
363 | + 'value' => '/', |
|
364 | + 'xtype' => 'textfield', |
|
365 | + 'namespace' => 'core', |
|
366 | + 'area' => 'furls', |
|
367 | + 'editedon' => null, |
|
368 | 368 | ), '', true, true); |
369 | 369 | $settings['context_tree_sort']= $xpdo->newObject('modSystemSetting'); |
370 | 370 | $settings['context_tree_sort']->fromArray(array ( |
371 | - 'key' => 'context_tree_sort', |
|
372 | - 'value' => true, |
|
373 | - 'xtype' => 'combo-boolean', |
|
374 | - 'namespace' => 'core', |
|
375 | - 'area' => 'manager', |
|
376 | - 'editedon' => null, |
|
371 | + 'key' => 'context_tree_sort', |
|
372 | + 'value' => true, |
|
373 | + 'xtype' => 'combo-boolean', |
|
374 | + 'namespace' => 'core', |
|
375 | + 'area' => 'manager', |
|
376 | + 'editedon' => null, |
|
377 | 377 | ), '', true, true); |
378 | 378 | $settings['context_tree_sortby']= $xpdo->newObject('modSystemSetting'); |
379 | 379 | $settings['context_tree_sortby']->fromArray(array ( |
380 | - 'key' => 'context_tree_sortby', |
|
381 | - 'value' => 'rank', |
|
382 | - 'xtype' => 'textfield', |
|
383 | - 'namespace' => 'core', |
|
384 | - 'area' => 'manager', |
|
385 | - 'editedon' => null, |
|
380 | + 'key' => 'context_tree_sortby', |
|
381 | + 'value' => 'rank', |
|
382 | + 'xtype' => 'textfield', |
|
383 | + 'namespace' => 'core', |
|
384 | + 'area' => 'manager', |
|
385 | + 'editedon' => null, |
|
386 | 386 | ), '', true, true); |
387 | 387 | $settings['context_tree_sortdir']= $xpdo->newObject('modSystemSetting'); |
388 | 388 | $settings['context_tree_sortdir']->fromArray(array ( |
389 | - 'key' => 'context_tree_sortdir', |
|
390 | - 'value' => 'ASC', |
|
391 | - 'xtype' => 'textfield', |
|
392 | - 'namespace' => 'core', |
|
393 | - 'area' => 'manager', |
|
394 | - 'editedon' => null, |
|
389 | + 'key' => 'context_tree_sortdir', |
|
390 | + 'value' => 'ASC', |
|
391 | + 'xtype' => 'textfield', |
|
392 | + 'namespace' => 'core', |
|
393 | + 'area' => 'manager', |
|
394 | + 'editedon' => null, |
|
395 | 395 | ), '', true, true); |
396 | 396 | $settings['cultureKey']= $xpdo->newObject('modSystemSetting'); |
397 | 397 | $settings['cultureKey']->fromArray(array ( |
398 | - 'key' => 'cultureKey', |
|
399 | - 'value' => 'en', |
|
400 | - 'xtype' => 'modx-combo-language', |
|
401 | - 'namespace' => 'core', |
|
402 | - 'area' => 'language', |
|
403 | - 'editedon' => null, |
|
398 | + 'key' => 'cultureKey', |
|
399 | + 'value' => 'en', |
|
400 | + 'xtype' => 'modx-combo-language', |
|
401 | + 'namespace' => 'core', |
|
402 | + 'area' => 'language', |
|
403 | + 'editedon' => null, |
|
404 | 404 | ), '', true, true); |
405 | 405 | $settings['date_timezone']= $xpdo->newObject('modSystemSetting'); |
406 | 406 | $settings['date_timezone']->fromArray(array ( |
407 | - 'key' => 'date_timezone', |
|
408 | - 'value' => '', |
|
409 | - 'xtype' => 'textfield', |
|
410 | - 'namespace' => 'core', |
|
411 | - 'area' => 'system', |
|
412 | - 'editedon' => null, |
|
407 | + 'key' => 'date_timezone', |
|
408 | + 'value' => '', |
|
409 | + 'xtype' => 'textfield', |
|
410 | + 'namespace' => 'core', |
|
411 | + 'area' => 'system', |
|
412 | + 'editedon' => null, |
|
413 | 413 | ), '', true, true); |
414 | 414 | $settings['debug']= $xpdo->newObject('modSystemSetting'); |
415 | 415 | $settings['debug']->fromArray(array ( |
416 | - 'key' => 'debug', |
|
417 | - 'value' => '', |
|
418 | - 'xtype' => 'textfield', |
|
419 | - 'namespace' => 'core', |
|
420 | - 'area' => 'system', |
|
421 | - 'editedon' => null, |
|
416 | + 'key' => 'debug', |
|
417 | + 'value' => '', |
|
418 | + 'xtype' => 'textfield', |
|
419 | + 'namespace' => 'core', |
|
420 | + 'area' => 'system', |
|
421 | + 'editedon' => null, |
|
422 | 422 | ), '', true, true); |
423 | 423 | $settings['default_duplicate_publish_option']= $xpdo->newObject('modSystemSetting'); |
424 | 424 | $settings['default_duplicate_publish_option']->fromArray(array ( |
425 | - 'key' => 'default_duplicate_publish_option', |
|
426 | - 'value' => 'preserve', |
|
427 | - 'xtype' => 'textfield', |
|
428 | - 'namespace' => 'core', |
|
429 | - 'area' => 'manager', |
|
430 | - 'editedon' => null, |
|
425 | + 'key' => 'default_duplicate_publish_option', |
|
426 | + 'value' => 'preserve', |
|
427 | + 'xtype' => 'textfield', |
|
428 | + 'namespace' => 'core', |
|
429 | + 'area' => 'manager', |
|
430 | + 'editedon' => null, |
|
431 | 431 | ), '', true, true); |
432 | 432 | $settings['default_media_source']= $xpdo->newObject('modSystemSetting'); |
433 | 433 | $settings['default_media_source']->fromArray(array ( |
434 | - 'key' => 'default_media_source', |
|
435 | - 'value' => 1, |
|
436 | - 'xtype' => 'modx-combo-source', |
|
437 | - 'namespace' => 'core', |
|
438 | - 'area' => 'manager', |
|
439 | - 'editedon' => null, |
|
434 | + 'key' => 'default_media_source', |
|
435 | + 'value' => 1, |
|
436 | + 'xtype' => 'modx-combo-source', |
|
437 | + 'namespace' => 'core', |
|
438 | + 'area' => 'manager', |
|
439 | + 'editedon' => null, |
|
440 | 440 | ), '', true, true); |
441 | 441 | $settings['default_per_page']= $xpdo->newObject('modSystemSetting'); |
442 | 442 | $settings['default_per_page']->fromArray(array ( |
443 | - 'key' => 'default_per_page', |
|
444 | - 'value' => '20', |
|
445 | - 'xtype' => 'textfield', |
|
446 | - 'namespace' => 'core', |
|
447 | - 'area' => 'manager', |
|
448 | - 'editedon' => null, |
|
443 | + 'key' => 'default_per_page', |
|
444 | + 'value' => '20', |
|
445 | + 'xtype' => 'textfield', |
|
446 | + 'namespace' => 'core', |
|
447 | + 'area' => 'manager', |
|
448 | + 'editedon' => null, |
|
449 | 449 | ), '', true, true); |
450 | 450 | $settings['default_context']= $xpdo->newObject('modSystemSetting'); |
451 | 451 | $settings['default_context']->fromArray(array ( |
452 | - 'key' => 'default_context', |
|
453 | - 'value' => 'web', |
|
454 | - 'xtype' => 'modx-combo-context', |
|
455 | - 'namespace' => 'core', |
|
456 | - 'area' => 'site', |
|
457 | - 'editedon' => null, |
|
452 | + 'key' => 'default_context', |
|
453 | + 'value' => 'web', |
|
454 | + 'xtype' => 'modx-combo-context', |
|
455 | + 'namespace' => 'core', |
|
456 | + 'area' => 'site', |
|
457 | + 'editedon' => null, |
|
458 | 458 | ), '', true, true); |
459 | 459 | $settings['default_template']= $xpdo->newObject('modSystemSetting'); |
460 | 460 | $settings['default_template']->fromArray(array ( |
461 | - 'key' => 'default_template', |
|
462 | - 'value' => '1', |
|
463 | - 'xtype' => 'modx-combo-template', |
|
464 | - 'namespace' => 'core', |
|
465 | - 'area' => 'site', |
|
466 | - 'editedon' => null, |
|
461 | + 'key' => 'default_template', |
|
462 | + 'value' => '1', |
|
463 | + 'xtype' => 'modx-combo-template', |
|
464 | + 'namespace' => 'core', |
|
465 | + 'area' => 'site', |
|
466 | + 'editedon' => null, |
|
467 | 467 | ), '', true, true); |
468 | 468 | $settings['default_content_type']= $xpdo->newObject('modSystemSetting'); |
469 | 469 | $settings['default_content_type']->fromArray(array ( |
470 | - 'key' => 'default_content_type', |
|
471 | - 'value' => '1', |
|
472 | - 'xtype' => 'modx-combo-content-type', |
|
473 | - 'namespace' => 'core', |
|
474 | - 'area' => 'site', |
|
475 | - 'editedon' => null, |
|
470 | + 'key' => 'default_content_type', |
|
471 | + 'value' => '1', |
|
472 | + 'xtype' => 'modx-combo-content-type', |
|
473 | + 'namespace' => 'core', |
|
474 | + 'area' => 'site', |
|
475 | + 'editedon' => null, |
|
476 | 476 | ), '', true, true); |
477 | 477 | $settings['editor_css_path']= $xpdo->newObject('modSystemSetting'); |
478 | 478 | $settings['editor_css_path']->fromArray(array ( |
479 | - 'key' => 'editor_css_path', |
|
480 | - 'value' => '', |
|
481 | - 'xtype' => 'textfield', |
|
482 | - 'namespace' => 'core', |
|
483 | - 'area' => 'editor', |
|
484 | - 'editedon' => null, |
|
479 | + 'key' => 'editor_css_path', |
|
480 | + 'value' => '', |
|
481 | + 'xtype' => 'textfield', |
|
482 | + 'namespace' => 'core', |
|
483 | + 'area' => 'editor', |
|
484 | + 'editedon' => null, |
|
485 | 485 | ), '', true, true); |
486 | 486 | $settings['editor_css_selectors']= $xpdo->newObject('modSystemSetting'); |
487 | 487 | $settings['editor_css_selectors']->fromArray(array ( |
488 | - 'key' => 'editor_css_selectors', |
|
489 | - 'value' => '', |
|
490 | - 'xtype' => 'textfield', |
|
491 | - 'namespace' => 'core', |
|
492 | - 'area' => 'editor', |
|
493 | - 'editedon' => null, |
|
488 | + 'key' => 'editor_css_selectors', |
|
489 | + 'value' => '', |
|
490 | + 'xtype' => 'textfield', |
|
491 | + 'namespace' => 'core', |
|
492 | + 'area' => 'editor', |
|
493 | + 'editedon' => null, |
|
494 | 494 | ), '', true, true); |
495 | 495 | $settings['emailsender']= $xpdo->newObject('modSystemSetting'); |
496 | 496 | $settings['emailsender']->fromArray(array ( |
497 | - 'key' => 'emailsender', |
|
498 | - 'value' => '[email protected]', |
|
499 | - 'xtype' => 'textfield', |
|
500 | - 'namespace' => 'core', |
|
501 | - 'area' => 'authentication', |
|
502 | - 'editedon' => null, |
|
497 | + 'key' => 'emailsender', |
|
498 | + 'value' => '[email protected]', |
|
499 | + 'xtype' => 'textfield', |
|
500 | + 'namespace' => 'core', |
|
501 | + 'area' => 'authentication', |
|
502 | + 'editedon' => null, |
|
503 | 503 | ), '', true, true); |
504 | 504 | $settings['emailsubject']= $xpdo->newObject('modSystemSetting'); |
505 | 505 | $settings['emailsubject']->fromArray(array ( |
506 | - 'key' => 'emailsubject', |
|
507 | - 'value' => 'Your login details', |
|
508 | - 'xtype' => 'textfield', |
|
509 | - 'namespace' => 'core', |
|
510 | - 'area' => 'authentication', |
|
511 | - 'editedon' => null, |
|
506 | + 'key' => 'emailsubject', |
|
507 | + 'value' => 'Your login details', |
|
508 | + 'xtype' => 'textfield', |
|
509 | + 'namespace' => 'core', |
|
510 | + 'area' => 'authentication', |
|
511 | + 'editedon' => null, |
|
512 | 512 | ), '', true, true); |
513 | 513 | $settings['enable_dragdrop']= $xpdo->newObject('modSystemSetting'); |
514 | 514 | $settings['enable_dragdrop']->fromArray(array ( |
515 | - 'key' => 'enable_dragdrop', |
|
516 | - 'value' => true, |
|
517 | - 'xtype' => 'combo-boolean', |
|
518 | - 'namespace' => 'core', |
|
519 | - 'area' => 'manager', |
|
520 | - 'editedon' => null, |
|
515 | + 'key' => 'enable_dragdrop', |
|
516 | + 'value' => true, |
|
517 | + 'xtype' => 'combo-boolean', |
|
518 | + 'namespace' => 'core', |
|
519 | + 'area' => 'manager', |
|
520 | + 'editedon' => null, |
|
521 | 521 | ), '', true, true); |
522 | 522 | $settings['error_page']= $xpdo->newObject('modSystemSetting'); |
523 | 523 | $settings['error_page']->fromArray(array ( |
524 | - 'key' => 'error_page', |
|
525 | - 'value' => '1', |
|
526 | - 'xtype' => 'textfield', |
|
527 | - 'namespace' => 'core', |
|
528 | - 'area' => 'site', |
|
529 | - 'editedon' => null, |
|
524 | + 'key' => 'error_page', |
|
525 | + 'value' => '1', |
|
526 | + 'xtype' => 'textfield', |
|
527 | + 'namespace' => 'core', |
|
528 | + 'area' => 'site', |
|
529 | + 'editedon' => null, |
|
530 | 530 | ), '', true, true); |
531 | 531 | $settings['failed_login_attempts']= $xpdo->newObject('modSystemSetting'); |
532 | 532 | $settings['failed_login_attempts']->fromArray(array ( |
533 | - 'key' => 'failed_login_attempts', |
|
534 | - 'value' => '5', |
|
535 | - 'xtype' => 'textfield', |
|
536 | - 'namespace' => 'core', |
|
537 | - 'area' => 'authentication', |
|
538 | - 'editedon' => null, |
|
533 | + 'key' => 'failed_login_attempts', |
|
534 | + 'value' => '5', |
|
535 | + 'xtype' => 'textfield', |
|
536 | + 'namespace' => 'core', |
|
537 | + 'area' => 'authentication', |
|
538 | + 'editedon' => null, |
|
539 | 539 | ), '', true, true); |
540 | 540 | $settings['fe_editor_lang']= $xpdo->newObject('modSystemSetting'); |
541 | 541 | $settings['fe_editor_lang']->fromArray(array ( |
542 | - 'key' => 'fe_editor_lang', |
|
543 | - 'value' => 'en', |
|
544 | - 'xtype' => 'modx-combo-language', |
|
545 | - 'namespace' => 'core', |
|
546 | - 'area' => 'language', |
|
547 | - 'editedon' => null, |
|
542 | + 'key' => 'fe_editor_lang', |
|
543 | + 'value' => 'en', |
|
544 | + 'xtype' => 'modx-combo-language', |
|
545 | + 'namespace' => 'core', |
|
546 | + 'area' => 'language', |
|
547 | + 'editedon' => null, |
|
548 | 548 | ), '', true, true); |
549 | 549 | $settings['feed_modx_news']= $xpdo->newObject('modSystemSetting'); |
550 | 550 | $settings['feed_modx_news']->fromArray(array ( |
551 | - 'key' => 'feed_modx_news', |
|
552 | - 'value' => 'http://feeds.feedburner.com/modx-announce', |
|
553 | - 'xtype' => 'textfield', |
|
554 | - 'namespace' => 'core', |
|
555 | - 'area' => 'system', |
|
556 | - 'editedon' => null, |
|
551 | + 'key' => 'feed_modx_news', |
|
552 | + 'value' => 'http://feeds.feedburner.com/modx-announce', |
|
553 | + 'xtype' => 'textfield', |
|
554 | + 'namespace' => 'core', |
|
555 | + 'area' => 'system', |
|
556 | + 'editedon' => null, |
|
557 | 557 | ), '', true, true); |
558 | 558 | $settings['feed_modx_news_enabled']= $xpdo->newObject('modSystemSetting'); |
559 | 559 | $settings['feed_modx_news_enabled']->fromArray(array ( |
560 | - 'key' => 'feed_modx_news_enabled', |
|
561 | - 'value' => '1', |
|
562 | - 'xtype' => 'combo-boolean', |
|
563 | - 'namespace' => 'core', |
|
564 | - 'area' => 'system', |
|
565 | - 'editedon' => null, |
|
560 | + 'key' => 'feed_modx_news_enabled', |
|
561 | + 'value' => '1', |
|
562 | + 'xtype' => 'combo-boolean', |
|
563 | + 'namespace' => 'core', |
|
564 | + 'area' => 'system', |
|
565 | + 'editedon' => null, |
|
566 | 566 | ), '', true, true); |
567 | 567 | $settings['feed_modx_security']= $xpdo->newObject('modSystemSetting'); |
568 | 568 | $settings['feed_modx_security']->fromArray(array ( |
569 | - 'key' => 'feed_modx_security', |
|
570 | - 'value' => 'http://forums.modx.com/board.xml?board=294', |
|
571 | - 'xtype' => 'textfield', |
|
572 | - 'namespace' => 'core', |
|
573 | - 'area' => 'system', |
|
574 | - 'editedon' => null, |
|
569 | + 'key' => 'feed_modx_security', |
|
570 | + 'value' => 'http://forums.modx.com/board.xml?board=294', |
|
571 | + 'xtype' => 'textfield', |
|
572 | + 'namespace' => 'core', |
|
573 | + 'area' => 'system', |
|
574 | + 'editedon' => null, |
|
575 | 575 | ), '', true, true); |
576 | 576 | $settings['feed_modx_security_enabled']= $xpdo->newObject('modSystemSetting'); |
577 | 577 | $settings['feed_modx_security_enabled']->fromArray(array ( |
578 | - 'key' => 'feed_modx_security_enabled', |
|
579 | - 'value' => '1', |
|
580 | - 'xtype' => 'combo-boolean', |
|
581 | - 'namespace' => 'core', |
|
582 | - 'area' => 'system', |
|
583 | - 'editedon' => null, |
|
578 | + 'key' => 'feed_modx_security_enabled', |
|
579 | + 'value' => '1', |
|
580 | + 'xtype' => 'combo-boolean', |
|
581 | + 'namespace' => 'core', |
|
582 | + 'area' => 'system', |
|
583 | + 'editedon' => null, |
|
584 | 584 | ), '', true, true); |
585 | 585 | $settings['filemanager_path']= $xpdo->newObject('modSystemSetting'); |
586 | 586 | $settings['filemanager_path']->fromArray(array ( |
587 | - 'key' => 'filemanager_path', |
|
588 | - 'value' => '', |
|
589 | - 'xtype' => 'textfield', |
|
590 | - 'namespace' => 'core', |
|
591 | - 'area' => 'file', |
|
592 | - 'editedon' => null, |
|
587 | + 'key' => 'filemanager_path', |
|
588 | + 'value' => '', |
|
589 | + 'xtype' => 'textfield', |
|
590 | + 'namespace' => 'core', |
|
591 | + 'area' => 'file', |
|
592 | + 'editedon' => null, |
|
593 | 593 | ), '', true, true); |
594 | 594 | $settings['filemanager_path_relative']= $xpdo->newObject('modSystemSetting'); |
595 | 595 | $settings['filemanager_path_relative']->fromArray(array ( |
596 | - 'key' => 'filemanager_path_relative', |
|
597 | - 'value' => true, |
|
598 | - 'xtype' => 'combo-boolean', |
|
599 | - 'namespace' => 'core', |
|
600 | - 'area' => 'file', |
|
601 | - 'editedon' => null, |
|
596 | + 'key' => 'filemanager_path_relative', |
|
597 | + 'value' => true, |
|
598 | + 'xtype' => 'combo-boolean', |
|
599 | + 'namespace' => 'core', |
|
600 | + 'area' => 'file', |
|
601 | + 'editedon' => null, |
|
602 | 602 | ), '', true, true); |
603 | 603 | $settings['filemanager_url']= $xpdo->newObject('modSystemSetting'); |
604 | 604 | $settings['filemanager_url']->fromArray(array ( |
605 | - 'key' => 'filemanager_url', |
|
606 | - 'value' => '', |
|
607 | - 'xtype' => 'textfield', |
|
608 | - 'namespace' => 'core', |
|
609 | - 'area' => 'file', |
|
610 | - 'editedon' => null, |
|
605 | + 'key' => 'filemanager_url', |
|
606 | + 'value' => '', |
|
607 | + 'xtype' => 'textfield', |
|
608 | + 'namespace' => 'core', |
|
609 | + 'area' => 'file', |
|
610 | + 'editedon' => null, |
|
611 | 611 | ), '', true, true); |
612 | 612 | $settings['filemanager_url_relative']= $xpdo->newObject('modSystemSetting'); |
613 | 613 | $settings['filemanager_url_relative']->fromArray(array ( |
614 | - 'key' => 'filemanager_url_relative', |
|
615 | - 'value' => true, |
|
616 | - 'xtype' => 'combo-boolean', |
|
617 | - 'namespace' => 'core', |
|
618 | - 'area' => 'file', |
|
619 | - 'editedon' => null, |
|
614 | + 'key' => 'filemanager_url_relative', |
|
615 | + 'value' => true, |
|
616 | + 'xtype' => 'combo-boolean', |
|
617 | + 'namespace' => 'core', |
|
618 | + 'area' => 'file', |
|
619 | + 'editedon' => null, |
|
620 | 620 | ), '', true, true); |
621 | 621 | $settings['forgot_login_email']= $xpdo->newObject('modSystemSetting'); |
622 | 622 | $settings['forgot_login_email']->fromArray(array ( |
623 | - 'key' => 'forgot_login_email', |
|
624 | - 'value' => '<p>Hello [[+username]],</p> |
|
623 | + 'key' => 'forgot_login_email', |
|
624 | + 'value' => '<p>Hello [[+username]],</p> |
|
625 | 625 | <p>A request for a password reset has been issued for your MODX user. If you sent this, you may follow this link and use this password to login. If you did not send this request, please ignore this email.</p> |
626 | 626 | |
627 | 627 | <p> |
@@ -633,1047 +633,1047 @@ discard block |
||
633 | 633 | <p>After you log into the MODX Manager, you can change your password again, if you wish.</p> |
634 | 634 | |
635 | 635 | <p>Regards,<br />Site Administrator</p>', |
636 | - 'xtype' => 'textarea', |
|
637 | - 'namespace' => 'core', |
|
638 | - 'area' => 'authentication', |
|
639 | - 'editedon' => null, |
|
636 | + 'xtype' => 'textarea', |
|
637 | + 'namespace' => 'core', |
|
638 | + 'area' => 'authentication', |
|
639 | + 'editedon' => null, |
|
640 | 640 | ), '', true, true); |
641 | 641 | $settings['form_customization_use_all_groups']= $xpdo->newObject('modSystemSetting'); |
642 | 642 | $settings['form_customization_use_all_groups']->fromArray(array ( |
643 | - 'key' => 'form_customization_use_all_groups', |
|
644 | - 'value' => false, |
|
645 | - 'xtype' => 'combo-boolean', |
|
646 | - 'namespace' => 'core', |
|
647 | - 'area' => 'manager', |
|
648 | - 'editedon' => null, |
|
643 | + 'key' => 'form_customization_use_all_groups', |
|
644 | + 'value' => false, |
|
645 | + 'xtype' => 'combo-boolean', |
|
646 | + 'namespace' => 'core', |
|
647 | + 'area' => 'manager', |
|
648 | + 'editedon' => null, |
|
649 | 649 | ), '', true, true); |
650 | 650 | $settings['forward_merge_excludes']= $xpdo->newObject('modSystemSetting'); |
651 | 651 | $settings['forward_merge_excludes']->fromArray(array ( |
652 | - 'key' => 'forward_merge_excludes', |
|
653 | - 'value' => 'type,published,class_key', |
|
654 | - 'xtype' => 'textfield', |
|
655 | - 'namespace' => 'core', |
|
656 | - 'area' => 'system', |
|
657 | - 'editedon' => null, |
|
652 | + 'key' => 'forward_merge_excludes', |
|
653 | + 'value' => 'type,published,class_key', |
|
654 | + 'xtype' => 'textfield', |
|
655 | + 'namespace' => 'core', |
|
656 | + 'area' => 'system', |
|
657 | + 'editedon' => null, |
|
658 | 658 | ), '', true, true); |
659 | 659 | $settings['friendly_alias_lowercase_only']= $xpdo->newObject('modSystemSetting'); |
660 | 660 | $settings['friendly_alias_lowercase_only']->fromArray(array ( |
661 | - 'key' => 'friendly_alias_lowercase_only', |
|
662 | - 'value' => '1', |
|
663 | - 'xtype' => 'combo-boolean', |
|
664 | - 'namespace' => 'core', |
|
665 | - 'area' => 'furls', |
|
666 | - 'editedon' => null, |
|
661 | + 'key' => 'friendly_alias_lowercase_only', |
|
662 | + 'value' => '1', |
|
663 | + 'xtype' => 'combo-boolean', |
|
664 | + 'namespace' => 'core', |
|
665 | + 'area' => 'furls', |
|
666 | + 'editedon' => null, |
|
667 | 667 | ), '', true, true); |
668 | 668 | $settings['friendly_alias_max_length']= $xpdo->newObject('modSystemSetting'); |
669 | 669 | $settings['friendly_alias_max_length']->fromArray(array ( |
670 | - 'key' => 'friendly_alias_max_length', |
|
671 | - 'value' => '0', |
|
672 | - 'xtype' => 'textfield', |
|
673 | - 'namespace' => 'core', |
|
674 | - 'area' => 'furls', |
|
675 | - 'editedon' => null, |
|
670 | + 'key' => 'friendly_alias_max_length', |
|
671 | + 'value' => '0', |
|
672 | + 'xtype' => 'textfield', |
|
673 | + 'namespace' => 'core', |
|
674 | + 'area' => 'furls', |
|
675 | + 'editedon' => null, |
|
676 | 676 | ), '', true, true); |
677 | 677 | $settings['friendly_alias_realtime']= $xpdo->newObject('modSystemSetting'); |
678 | 678 | $settings['friendly_alias_realtime']->fromArray(array ( |
679 | - 'key' => 'friendly_alias_realtime', |
|
680 | - 'value' => '0', |
|
681 | - 'xtype' => 'combo-boolean', |
|
682 | - 'namespace' => 'core', |
|
683 | - 'area' => 'furls', |
|
684 | - 'editedon' => null, |
|
679 | + 'key' => 'friendly_alias_realtime', |
|
680 | + 'value' => '0', |
|
681 | + 'xtype' => 'combo-boolean', |
|
682 | + 'namespace' => 'core', |
|
683 | + 'area' => 'furls', |
|
684 | + 'editedon' => null, |
|
685 | 685 | ), '', true, true); |
686 | 686 | $settings['friendly_alias_restrict_chars']= $xpdo->newObject('modSystemSetting'); |
687 | 687 | $settings['friendly_alias_restrict_chars']->fromArray(array ( |
688 | - 'key' => 'friendly_alias_restrict_chars', |
|
689 | - 'value' => 'pattern', |
|
690 | - 'xtype' => 'textfield', |
|
691 | - 'namespace' => 'core', |
|
692 | - 'area' => 'furls', |
|
693 | - 'editedon' => null, |
|
688 | + 'key' => 'friendly_alias_restrict_chars', |
|
689 | + 'value' => 'pattern', |
|
690 | + 'xtype' => 'textfield', |
|
691 | + 'namespace' => 'core', |
|
692 | + 'area' => 'furls', |
|
693 | + 'editedon' => null, |
|
694 | 694 | ), '', true, true); |
695 | 695 | $settings['friendly_alias_restrict_chars_pattern']= $xpdo->newObject('modSystemSetting'); |
696 | 696 | $settings['friendly_alias_restrict_chars_pattern']->fromArray(array ( |
697 | - 'key' => 'friendly_alias_restrict_chars_pattern', |
|
698 | - 'value' => '/[\0\x0B\t\n\r\f\a&=+%#<>"~:`@\?\[\]\{\}\|\^\'\\\\]/', |
|
699 | - 'xtype' => 'textfield', |
|
700 | - 'namespace' => 'core', |
|
701 | - 'area' => 'furls', |
|
702 | - 'editedon' => null, |
|
697 | + 'key' => 'friendly_alias_restrict_chars_pattern', |
|
698 | + 'value' => '/[\0\x0B\t\n\r\f\a&=+%#<>"~:`@\?\[\]\{\}\|\^\'\\\\]/', |
|
699 | + 'xtype' => 'textfield', |
|
700 | + 'namespace' => 'core', |
|
701 | + 'area' => 'furls', |
|
702 | + 'editedon' => null, |
|
703 | 703 | ), '', true, true); |
704 | 704 | $settings['friendly_alias_strip_element_tags']= $xpdo->newObject('modSystemSetting'); |
705 | 705 | $settings['friendly_alias_strip_element_tags']->fromArray(array ( |
706 | - 'key' => 'friendly_alias_strip_element_tags', |
|
707 | - 'value' => '1', |
|
708 | - 'xtype' => 'combo-boolean', |
|
709 | - 'namespace' => 'core', |
|
710 | - 'area' => 'furls', |
|
711 | - 'editedon' => null, |
|
706 | + 'key' => 'friendly_alias_strip_element_tags', |
|
707 | + 'value' => '1', |
|
708 | + 'xtype' => 'combo-boolean', |
|
709 | + 'namespace' => 'core', |
|
710 | + 'area' => 'furls', |
|
711 | + 'editedon' => null, |
|
712 | 712 | ), '', true, true); |
713 | 713 | $settings['friendly_alias_translit']= $xpdo->newObject('modSystemSetting'); |
714 | 714 | $settings['friendly_alias_translit']->fromArray(array ( |
715 | - 'key' => 'friendly_alias_translit', |
|
716 | - 'value' => 'none', |
|
717 | - 'xtype' => 'textfield', |
|
718 | - 'namespace' => 'core', |
|
719 | - 'area' => 'furls', |
|
720 | - 'editedon' => null, |
|
715 | + 'key' => 'friendly_alias_translit', |
|
716 | + 'value' => 'none', |
|
717 | + 'xtype' => 'textfield', |
|
718 | + 'namespace' => 'core', |
|
719 | + 'area' => 'furls', |
|
720 | + 'editedon' => null, |
|
721 | 721 | ), '', true, true); |
722 | 722 | $settings['friendly_alias_translit_class']= $xpdo->newObject('modSystemSetting'); |
723 | 723 | $settings['friendly_alias_translit_class']->fromArray(array ( |
724 | - 'key' => 'friendly_alias_translit_class', |
|
725 | - 'value' => 'translit.modTransliterate', |
|
726 | - 'xtype' => 'textfield', |
|
727 | - 'namespace' => 'core', |
|
728 | - 'area' => 'furls', |
|
729 | - 'editedon' => null, |
|
724 | + 'key' => 'friendly_alias_translit_class', |
|
725 | + 'value' => 'translit.modTransliterate', |
|
726 | + 'xtype' => 'textfield', |
|
727 | + 'namespace' => 'core', |
|
728 | + 'area' => 'furls', |
|
729 | + 'editedon' => null, |
|
730 | 730 | ), '', true, true); |
731 | 731 | $settings['friendly_alias_translit_class_path']= $xpdo->newObject('modSystemSetting'); |
732 | 732 | $settings['friendly_alias_translit_class_path']->fromArray(array ( |
733 | - 'key' => 'friendly_alias_translit_class_path', |
|
734 | - 'value' => '{core_path}components/', |
|
735 | - 'xtype' => 'textfield', |
|
736 | - 'namespace' => 'core', |
|
737 | - 'area' => 'furls', |
|
738 | - 'editedon' => null, |
|
733 | + 'key' => 'friendly_alias_translit_class_path', |
|
734 | + 'value' => '{core_path}components/', |
|
735 | + 'xtype' => 'textfield', |
|
736 | + 'namespace' => 'core', |
|
737 | + 'area' => 'furls', |
|
738 | + 'editedon' => null, |
|
739 | 739 | ), '', true, true); |
740 | 740 | $settings['friendly_alias_trim_chars']= $xpdo->newObject('modSystemSetting'); |
741 | 741 | $settings['friendly_alias_trim_chars']->fromArray(array ( |
742 | - 'key' => 'friendly_alias_trim_chars', |
|
743 | - 'value' => '/.-_', |
|
744 | - 'xtype' => 'textfield', |
|
745 | - 'namespace' => 'core', |
|
746 | - 'area' => 'furls', |
|
747 | - 'editedon' => null, |
|
742 | + 'key' => 'friendly_alias_trim_chars', |
|
743 | + 'value' => '/.-_', |
|
744 | + 'xtype' => 'textfield', |
|
745 | + 'namespace' => 'core', |
|
746 | + 'area' => 'furls', |
|
747 | + 'editedon' => null, |
|
748 | 748 | ), '', true, true); |
749 | 749 | $settings['friendly_alias_word_delimiter']= $xpdo->newObject('modSystemSetting'); |
750 | 750 | $settings['friendly_alias_word_delimiter']->fromArray(array ( |
751 | - 'key' => 'friendly_alias_word_delimiter', |
|
752 | - 'value' => '-', |
|
753 | - 'xtype' => 'textfield', |
|
754 | - 'namespace' => 'core', |
|
755 | - 'area' => 'furls', |
|
756 | - 'editedon' => null, |
|
751 | + 'key' => 'friendly_alias_word_delimiter', |
|
752 | + 'value' => '-', |
|
753 | + 'xtype' => 'textfield', |
|
754 | + 'namespace' => 'core', |
|
755 | + 'area' => 'furls', |
|
756 | + 'editedon' => null, |
|
757 | 757 | ), '', true, true); |
758 | 758 | $settings['friendly_alias_word_delimiters']= $xpdo->newObject('modSystemSetting'); |
759 | 759 | $settings['friendly_alias_word_delimiters']->fromArray(array ( |
760 | - 'key' => 'friendly_alias_word_delimiters', |
|
761 | - 'value' => '-_', |
|
762 | - 'xtype' => 'textfield', |
|
763 | - 'namespace' => 'core', |
|
764 | - 'area' => 'furls', |
|
765 | - 'editedon' => null, |
|
760 | + 'key' => 'friendly_alias_word_delimiters', |
|
761 | + 'value' => '-_', |
|
762 | + 'xtype' => 'textfield', |
|
763 | + 'namespace' => 'core', |
|
764 | + 'area' => 'furls', |
|
765 | + 'editedon' => null, |
|
766 | 766 | ), '', true, true); |
767 | 767 | $settings['friendly_urls']= $xpdo->newObject('modSystemSetting'); |
768 | 768 | $settings['friendly_urls']->fromArray(array ( |
769 | - 'key' => 'friendly_urls', |
|
770 | - 'value' => '0', |
|
771 | - 'xtype' => 'combo-boolean', |
|
772 | - 'namespace' => 'core', |
|
773 | - 'area' => 'furls', |
|
774 | - 'editedon' => null, |
|
769 | + 'key' => 'friendly_urls', |
|
770 | + 'value' => '0', |
|
771 | + 'xtype' => 'combo-boolean', |
|
772 | + 'namespace' => 'core', |
|
773 | + 'area' => 'furls', |
|
774 | + 'editedon' => null, |
|
775 | 775 | ), '', true, true); |
776 | 776 | $settings['friendly_urls_strict']= $xpdo->newObject('modSystemSetting'); |
777 | 777 | $settings['friendly_urls_strict']->fromArray(array ( |
778 | - 'key' => 'friendly_urls_strict', |
|
779 | - 'value' => '0', |
|
780 | - 'xtype' => 'combo-boolean', |
|
781 | - 'namespace' => 'core', |
|
782 | - 'area' => 'furls', |
|
783 | - 'editedon' => null, |
|
778 | + 'key' => 'friendly_urls_strict', |
|
779 | + 'value' => '0', |
|
780 | + 'xtype' => 'combo-boolean', |
|
781 | + 'namespace' => 'core', |
|
782 | + 'area' => 'furls', |
|
783 | + 'editedon' => null, |
|
784 | 784 | ), '', true, true); |
785 | 785 | $settings['use_frozen_parent_uris']= $xpdo->newObject('modSystemSetting'); |
786 | 786 | $settings['use_frozen_parent_uris']->fromArray(array ( |
787 | - 'key' => 'use_frozen_parent_uris', |
|
788 | - 'value' => '0', |
|
789 | - 'xtype' => 'combo-boolean', |
|
790 | - 'namespace' => 'core', |
|
791 | - 'area' => 'furls', |
|
792 | - 'editedon' => null, |
|
787 | + 'key' => 'use_frozen_parent_uris', |
|
788 | + 'value' => '0', |
|
789 | + 'xtype' => 'combo-boolean', |
|
790 | + 'namespace' => 'core', |
|
791 | + 'area' => 'furls', |
|
792 | + 'editedon' => null, |
|
793 | 793 | ), '', true, true); |
794 | 794 | $settings['global_duplicate_uri_check']= $xpdo->newObject('modSystemSetting'); |
795 | 795 | $settings['global_duplicate_uri_check']->fromArray(array ( |
796 | - 'key' => 'global_duplicate_uri_check', |
|
797 | - 'value' => '0', |
|
798 | - 'xtype' => 'combo-boolean', |
|
799 | - 'namespace' => 'core', |
|
800 | - 'area' => 'furls', |
|
801 | - 'editedon' => null, |
|
796 | + 'key' => 'global_duplicate_uri_check', |
|
797 | + 'value' => '0', |
|
798 | + 'xtype' => 'combo-boolean', |
|
799 | + 'namespace' => 'core', |
|
800 | + 'area' => 'furls', |
|
801 | + 'editedon' => null, |
|
802 | 802 | ), '', true, true); |
803 | 803 | $settings['hidemenu_default']= $xpdo->newObject('modSystemSetting'); |
804 | 804 | $settings['hidemenu_default']->fromArray(array ( |
805 | - 'key' => 'hidemenu_default', |
|
806 | - 'value' => 0, |
|
807 | - 'xtype' => 'combo-boolean', |
|
808 | - 'namespace' => 'core', |
|
809 | - 'area' => 'site', |
|
810 | - 'editedon' => null, |
|
805 | + 'key' => 'hidemenu_default', |
|
806 | + 'value' => 0, |
|
807 | + 'xtype' => 'combo-boolean', |
|
808 | + 'namespace' => 'core', |
|
809 | + 'area' => 'site', |
|
810 | + 'editedon' => null, |
|
811 | 811 | ), '', true, true); |
812 | 812 | $settings['inline_help']= $xpdo->newObject('modSystemSetting'); |
813 | 813 | $settings['inline_help']->fromArray(array ( |
814 | - 'key' => 'inline_help', |
|
815 | - 'value' => 1, |
|
816 | - 'xtype' => 'combo-boolean', |
|
817 | - 'namespace' => 'core', |
|
818 | - 'area' => 'manager', |
|
819 | - 'editedon' => null, |
|
814 | + 'key' => 'inline_help', |
|
815 | + 'value' => 1, |
|
816 | + 'xtype' => 'combo-boolean', |
|
817 | + 'namespace' => 'core', |
|
818 | + 'area' => 'manager', |
|
819 | + 'editedon' => null, |
|
820 | 820 | ), '', true, true); |
821 | 821 | $settings['locale']= $xpdo->newObject('modSystemSetting'); |
822 | 822 | $settings['locale']->fromArray(array ( |
823 | - 'key' => 'locale', |
|
824 | - 'value' => '', |
|
825 | - 'xtype' => 'textfield', |
|
826 | - 'namespace' => 'core', |
|
827 | - 'area' => 'language', |
|
828 | - 'editedon' => null, |
|
823 | + 'key' => 'locale', |
|
824 | + 'value' => '', |
|
825 | + 'xtype' => 'textfield', |
|
826 | + 'namespace' => 'core', |
|
827 | + 'area' => 'language', |
|
828 | + 'editedon' => null, |
|
829 | 829 | ), '', true, true); |
830 | 830 | $settings['log_level']= $xpdo->newObject('modSystemSetting'); |
831 | 831 | $settings['log_level']->fromArray(array ( |
832 | - 'key' => 'log_level', |
|
833 | - 'value' => '1', |
|
834 | - 'xtype' => 'textfield', |
|
835 | - 'namespace' => 'core', |
|
836 | - 'area' => 'system', |
|
837 | - 'editedon' => null, |
|
832 | + 'key' => 'log_level', |
|
833 | + 'value' => '1', |
|
834 | + 'xtype' => 'textfield', |
|
835 | + 'namespace' => 'core', |
|
836 | + 'area' => 'system', |
|
837 | + 'editedon' => null, |
|
838 | 838 | ), '', true, true); |
839 | 839 | $settings['log_target']= $xpdo->newObject('modSystemSetting'); |
840 | 840 | $settings['log_target']->fromArray(array ( |
841 | - 'key' => 'log_target', |
|
842 | - 'value' => 'FILE', |
|
843 | - 'xtype' => 'textfield', |
|
844 | - 'namespace' => 'core', |
|
845 | - 'area' => 'system', |
|
846 | - 'editedon' => null, |
|
841 | + 'key' => 'log_target', |
|
842 | + 'value' => 'FILE', |
|
843 | + 'xtype' => 'textfield', |
|
844 | + 'namespace' => 'core', |
|
845 | + 'area' => 'system', |
|
846 | + 'editedon' => null, |
|
847 | 847 | ), '', true, true); |
848 | 848 | $settings['link_tag_scheme']= $xpdo->newObject('modSystemSetting'); |
849 | 849 | $settings['link_tag_scheme']->fromArray(array ( |
850 | - 'key' => 'link_tag_scheme', |
|
851 | - 'value' => -1, |
|
852 | - 'xtype' => 'textfield', |
|
853 | - 'namespace' => 'core', |
|
854 | - 'area' => 'site', |
|
855 | - 'editedon' => null, |
|
850 | + 'key' => 'link_tag_scheme', |
|
851 | + 'value' => -1, |
|
852 | + 'xtype' => 'textfield', |
|
853 | + 'namespace' => 'core', |
|
854 | + 'area' => 'site', |
|
855 | + 'editedon' => null, |
|
856 | 856 | ), '', true, true); |
857 | 857 | $settings['lock_ttl']= $xpdo->newObject('modSystemSetting'); |
858 | 858 | $settings['lock_ttl']->fromArray(array ( |
859 | - 'key' => 'lock_ttl', |
|
860 | - 'value' => 360, |
|
861 | - 'xtype' => 'textfield', |
|
862 | - 'namespace' => 'core', |
|
863 | - 'area' => 'system', |
|
864 | - 'editedon' => null, |
|
859 | + 'key' => 'lock_ttl', |
|
860 | + 'value' => 360, |
|
861 | + 'xtype' => 'textfield', |
|
862 | + 'namespace' => 'core', |
|
863 | + 'area' => 'system', |
|
864 | + 'editedon' => null, |
|
865 | 865 | ), '', true, true); |
866 | 866 | $settings['mail_charset']= $xpdo->newObject('modSystemSetting'); |
867 | 867 | $settings['mail_charset']->fromArray(array ( |
868 | - 'key' => 'mail_charset', |
|
869 | - 'value' => 'UTF-8', |
|
870 | - 'xtype' => 'modx-combo-charset', |
|
871 | - 'namespace' => 'core', |
|
872 | - 'area' => 'mail', |
|
873 | - 'editedon' => null, |
|
868 | + 'key' => 'mail_charset', |
|
869 | + 'value' => 'UTF-8', |
|
870 | + 'xtype' => 'modx-combo-charset', |
|
871 | + 'namespace' => 'core', |
|
872 | + 'area' => 'mail', |
|
873 | + 'editedon' => null, |
|
874 | 874 | ), '', true, true); |
875 | 875 | $settings['mail_encoding']= $xpdo->newObject('modSystemSetting'); |
876 | 876 | $settings['mail_encoding']->fromArray(array ( |
877 | - 'key' => 'mail_encoding', |
|
878 | - 'value' => '8bit', |
|
879 | - 'xtype' => 'textfield', |
|
880 | - 'namespace' => 'core', |
|
881 | - 'area' => 'mail', |
|
882 | - 'editedon' => null, |
|
877 | + 'key' => 'mail_encoding', |
|
878 | + 'value' => '8bit', |
|
879 | + 'xtype' => 'textfield', |
|
880 | + 'namespace' => 'core', |
|
881 | + 'area' => 'mail', |
|
882 | + 'editedon' => null, |
|
883 | 883 | ), '', true, true); |
884 | 884 | $settings['mail_use_smtp']= $xpdo->newObject('modSystemSetting'); |
885 | 885 | $settings['mail_use_smtp']->fromArray(array ( |
886 | - 'key' => 'mail_use_smtp', |
|
887 | - 'value' => false, |
|
888 | - 'xtype' => 'combo-boolean', |
|
889 | - 'namespace' => 'core', |
|
890 | - 'area' => 'mail', |
|
891 | - 'editedon' => null, |
|
886 | + 'key' => 'mail_use_smtp', |
|
887 | + 'value' => false, |
|
888 | + 'xtype' => 'combo-boolean', |
|
889 | + 'namespace' => 'core', |
|
890 | + 'area' => 'mail', |
|
891 | + 'editedon' => null, |
|
892 | 892 | ), '', true, true); |
893 | 893 | $settings['mail_smtp_auth']= $xpdo->newObject('modSystemSetting'); |
894 | 894 | $settings['mail_smtp_auth']->fromArray(array ( |
895 | - 'key' => 'mail_smtp_auth', |
|
896 | - 'value' => false, |
|
897 | - 'xtype' => 'combo-boolean', |
|
898 | - 'namespace' => 'core', |
|
899 | - 'area' => 'mail', |
|
900 | - 'editedon' => null, |
|
895 | + 'key' => 'mail_smtp_auth', |
|
896 | + 'value' => false, |
|
897 | + 'xtype' => 'combo-boolean', |
|
898 | + 'namespace' => 'core', |
|
899 | + 'area' => 'mail', |
|
900 | + 'editedon' => null, |
|
901 | 901 | ), '', true, true); |
902 | 902 | $settings['mail_smtp_helo']= $xpdo->newObject('modSystemSetting'); |
903 | 903 | $settings['mail_smtp_helo']->fromArray(array ( |
904 | - 'key' => 'mail_smtp_helo', |
|
905 | - 'value' => '', |
|
906 | - 'xtype' => 'textfield', |
|
907 | - 'namespace' => 'core', |
|
908 | - 'area' => 'mail', |
|
909 | - 'editedon' => null, |
|
904 | + 'key' => 'mail_smtp_helo', |
|
905 | + 'value' => '', |
|
906 | + 'xtype' => 'textfield', |
|
907 | + 'namespace' => 'core', |
|
908 | + 'area' => 'mail', |
|
909 | + 'editedon' => null, |
|
910 | 910 | ), '', true, true); |
911 | 911 | $settings['mail_smtp_hosts']= $xpdo->newObject('modSystemSetting'); |
912 | 912 | $settings['mail_smtp_hosts']->fromArray(array ( |
913 | - 'key' => 'mail_smtp_hosts', |
|
914 | - 'value' => 'localhost', |
|
915 | - 'xtype' => 'textfield', |
|
916 | - 'namespace' => 'core', |
|
917 | - 'area' => 'mail', |
|
918 | - 'editedon' => null, |
|
913 | + 'key' => 'mail_smtp_hosts', |
|
914 | + 'value' => 'localhost', |
|
915 | + 'xtype' => 'textfield', |
|
916 | + 'namespace' => 'core', |
|
917 | + 'area' => 'mail', |
|
918 | + 'editedon' => null, |
|
919 | 919 | ), '', true, true); |
920 | 920 | $settings['mail_smtp_keepalive']= $xpdo->newObject('modSystemSetting'); |
921 | 921 | $settings['mail_smtp_keepalive']->fromArray(array ( |
922 | - 'key' => 'mail_smtp_keepalive', |
|
923 | - 'value' => false, |
|
924 | - 'xtype' => 'combo-boolean', |
|
925 | - 'namespace' => 'core', |
|
926 | - 'area' => 'mail', |
|
927 | - 'editedon' => null, |
|
922 | + 'key' => 'mail_smtp_keepalive', |
|
923 | + 'value' => false, |
|
924 | + 'xtype' => 'combo-boolean', |
|
925 | + 'namespace' => 'core', |
|
926 | + 'area' => 'mail', |
|
927 | + 'editedon' => null, |
|
928 | 928 | ), '', true, true); |
929 | 929 | $settings['mail_smtp_pass']= $xpdo->newObject('modSystemSetting'); |
930 | 930 | $settings['mail_smtp_pass']->fromArray(array ( |
931 | - 'key' => 'mail_smtp_pass', |
|
932 | - 'value' => '', |
|
933 | - 'xtype' => 'text-password', |
|
934 | - 'namespace' => 'core', |
|
935 | - 'area' => 'mail', |
|
936 | - 'editedon' => null, |
|
931 | + 'key' => 'mail_smtp_pass', |
|
932 | + 'value' => '', |
|
933 | + 'xtype' => 'text-password', |
|
934 | + 'namespace' => 'core', |
|
935 | + 'area' => 'mail', |
|
936 | + 'editedon' => null, |
|
937 | 937 | ), '', true, true); |
938 | 938 | $settings['mail_smtp_port']= $xpdo->newObject('modSystemSetting'); |
939 | 939 | $settings['mail_smtp_port']->fromArray(array ( |
940 | - 'key' => 'mail_smtp_port', |
|
941 | - 'value' => '587', |
|
942 | - 'xtype' => 'textfield', |
|
943 | - 'namespace' => 'core', |
|
944 | - 'area' => 'mail', |
|
945 | - 'editedon' => null, |
|
940 | + 'key' => 'mail_smtp_port', |
|
941 | + 'value' => '587', |
|
942 | + 'xtype' => 'textfield', |
|
943 | + 'namespace' => 'core', |
|
944 | + 'area' => 'mail', |
|
945 | + 'editedon' => null, |
|
946 | 946 | ), '', true, true); |
947 | 947 | $settings['mail_smtp_prefix']= $xpdo->newObject('modSystemSetting'); |
948 | 948 | $settings['mail_smtp_prefix']->fromArray(array ( |
949 | - 'key' => 'mail_smtp_prefix', |
|
950 | - 'value' => '', |
|
951 | - 'xtype' => 'textfield', |
|
952 | - 'namespace' => 'core', |
|
953 | - 'area' => 'mail', |
|
954 | - 'editedon' => null, |
|
949 | + 'key' => 'mail_smtp_prefix', |
|
950 | + 'value' => '', |
|
951 | + 'xtype' => 'textfield', |
|
952 | + 'namespace' => 'core', |
|
953 | + 'area' => 'mail', |
|
954 | + 'editedon' => null, |
|
955 | 955 | ), '', true, true); |
956 | 956 | $settings['mail_smtp_single_to']= $xpdo->newObject('modSystemSetting'); |
957 | 957 | $settings['mail_smtp_single_to']->fromArray(array ( |
958 | - 'key' => 'mail_smtp_single_to', |
|
959 | - 'value' => false, |
|
960 | - 'xtype' => 'combo-boolean', |
|
961 | - 'namespace' => 'core', |
|
962 | - 'area' => 'mail', |
|
963 | - 'editedon' => null, |
|
958 | + 'key' => 'mail_smtp_single_to', |
|
959 | + 'value' => false, |
|
960 | + 'xtype' => 'combo-boolean', |
|
961 | + 'namespace' => 'core', |
|
962 | + 'area' => 'mail', |
|
963 | + 'editedon' => null, |
|
964 | 964 | ), '', true, true); |
965 | 965 | $settings['mail_smtp_timeout']= $xpdo->newObject('modSystemSetting'); |
966 | 966 | $settings['mail_smtp_timeout']->fromArray(array ( |
967 | - 'key' => 'mail_smtp_timeout', |
|
968 | - 'value' => '10', |
|
969 | - 'xtype' => 'textfield', |
|
970 | - 'namespace' => 'core', |
|
971 | - 'area' => 'mail', |
|
972 | - 'editedon' => null, |
|
967 | + 'key' => 'mail_smtp_timeout', |
|
968 | + 'value' => '10', |
|
969 | + 'xtype' => 'textfield', |
|
970 | + 'namespace' => 'core', |
|
971 | + 'area' => 'mail', |
|
972 | + 'editedon' => null, |
|
973 | 973 | ), '', true, true); |
974 | 974 | $settings['mail_smtp_user']= $xpdo->newObject('modSystemSetting'); |
975 | 975 | $settings['mail_smtp_user']->fromArray(array ( |
976 | - 'key' => 'mail_smtp_user', |
|
977 | - 'value' => '', |
|
978 | - 'xtype' => 'textfield', |
|
979 | - 'namespace' => 'core', |
|
980 | - 'area' => 'mail', |
|
981 | - 'editedon' => null, |
|
976 | + 'key' => 'mail_smtp_user', |
|
977 | + 'value' => '', |
|
978 | + 'xtype' => 'textfield', |
|
979 | + 'namespace' => 'core', |
|
980 | + 'area' => 'mail', |
|
981 | + 'editedon' => null, |
|
982 | 982 | ), '', true, true); |
983 | 983 | $settings['manager_date_format']= $xpdo->newObject('modSystemSetting'); |
984 | 984 | $settings['manager_date_format']->fromArray(array ( |
985 | - 'key' => 'manager_date_format', |
|
986 | - 'value' => 'Y-m-d', |
|
987 | - 'xtype' => 'textfield', |
|
988 | - 'namespace' => 'core', |
|
989 | - 'area' => 'manager', |
|
990 | - 'editedon' => null, |
|
985 | + 'key' => 'manager_date_format', |
|
986 | + 'value' => 'Y-m-d', |
|
987 | + 'xtype' => 'textfield', |
|
988 | + 'namespace' => 'core', |
|
989 | + 'area' => 'manager', |
|
990 | + 'editedon' => null, |
|
991 | 991 | ), '', true, true); |
992 | 992 | $settings['manager_favicon_url']= $xpdo->newObject('modSystemSetting'); |
993 | 993 | $settings['manager_favicon_url']->fromArray(array ( |
994 | - 'key' => 'manager_favicon_url', |
|
995 | - 'value' => '', |
|
996 | - 'xtype' => 'textfield', |
|
997 | - 'namespace' => 'core', |
|
998 | - 'area' => 'manager', |
|
999 | - 'editedon' => null, |
|
994 | + 'key' => 'manager_favicon_url', |
|
995 | + 'value' => '', |
|
996 | + 'xtype' => 'textfield', |
|
997 | + 'namespace' => 'core', |
|
998 | + 'area' => 'manager', |
|
999 | + 'editedon' => null, |
|
1000 | 1000 | ), '', true, true); |
1001 | 1001 | $settings['manager_js_cache_file_locking']= $xpdo->newObject('modSystemSetting'); |
1002 | 1002 | $settings['manager_js_cache_file_locking']->fromArray(array ( |
1003 | - 'key' => 'manager_js_cache_file_locking', |
|
1004 | - 'value' => true, |
|
1005 | - 'xtype' => 'combo-boolean', |
|
1006 | - 'namespace' => 'core', |
|
1007 | - 'area' => 'manager', |
|
1008 | - 'editedon' => null, |
|
1003 | + 'key' => 'manager_js_cache_file_locking', |
|
1004 | + 'value' => true, |
|
1005 | + 'xtype' => 'combo-boolean', |
|
1006 | + 'namespace' => 'core', |
|
1007 | + 'area' => 'manager', |
|
1008 | + 'editedon' => null, |
|
1009 | 1009 | ), '', true, true); |
1010 | 1010 | $settings['manager_js_cache_max_age']= $xpdo->newObject('modSystemSetting'); |
1011 | 1011 | $settings['manager_js_cache_max_age']->fromArray(array ( |
1012 | - 'key' => 'manager_js_cache_max_age', |
|
1013 | - 'value' => 3600, |
|
1014 | - 'xtype' => 'textfield', |
|
1015 | - 'namespace' => 'core', |
|
1016 | - 'area' => 'manager', |
|
1017 | - 'editedon' => null, |
|
1012 | + 'key' => 'manager_js_cache_max_age', |
|
1013 | + 'value' => 3600, |
|
1014 | + 'xtype' => 'textfield', |
|
1015 | + 'namespace' => 'core', |
|
1016 | + 'area' => 'manager', |
|
1017 | + 'editedon' => null, |
|
1018 | 1018 | ), '', true, true); |
1019 | 1019 | $settings['manager_js_document_root']= $xpdo->newObject('modSystemSetting'); |
1020 | 1020 | $settings['manager_js_document_root']->fromArray(array ( |
1021 | - 'key' => 'manager_js_document_root', |
|
1022 | - 'value' => '', |
|
1023 | - 'xtype' => 'textfield', |
|
1024 | - 'namespace' => 'core', |
|
1025 | - 'area' => 'manager', |
|
1026 | - 'editedon' => null, |
|
1021 | + 'key' => 'manager_js_document_root', |
|
1022 | + 'value' => '', |
|
1023 | + 'xtype' => 'textfield', |
|
1024 | + 'namespace' => 'core', |
|
1025 | + 'area' => 'manager', |
|
1026 | + 'editedon' => null, |
|
1027 | 1027 | ), '', true, true); |
1028 | 1028 | $settings['manager_js_zlib_output_compression']= $xpdo->newObject('modSystemSetting'); |
1029 | 1029 | $settings['manager_js_zlib_output_compression']->fromArray(array ( |
1030 | - 'key' => 'manager_js_zlib_output_compression', |
|
1031 | - 'value' => 0, |
|
1032 | - 'xtype' => 'combo-boolean', |
|
1033 | - 'namespace' => 'core', |
|
1034 | - 'area' => 'manager', |
|
1035 | - 'editedon' => null, |
|
1030 | + 'key' => 'manager_js_zlib_output_compression', |
|
1031 | + 'value' => 0, |
|
1032 | + 'xtype' => 'combo-boolean', |
|
1033 | + 'namespace' => 'core', |
|
1034 | + 'area' => 'manager', |
|
1035 | + 'editedon' => null, |
|
1036 | 1036 | ), '', true, true); |
1037 | 1037 | $settings['manager_time_format']= $xpdo->newObject('modSystemSetting'); |
1038 | 1038 | $settings['manager_time_format']->fromArray(array ( |
1039 | - 'key' => 'manager_time_format', |
|
1040 | - 'value' => 'g:i a', |
|
1041 | - 'xtype' => 'textfield', |
|
1042 | - 'namespace' => 'core', |
|
1043 | - 'area' => 'manager', |
|
1044 | - 'editedon' => null, |
|
1039 | + 'key' => 'manager_time_format', |
|
1040 | + 'value' => 'g:i a', |
|
1041 | + 'xtype' => 'textfield', |
|
1042 | + 'namespace' => 'core', |
|
1043 | + 'area' => 'manager', |
|
1044 | + 'editedon' => null, |
|
1045 | 1045 | ), '', true, true); |
1046 | 1046 | $settings['manager_direction']= $xpdo->newObject('modSystemSetting'); |
1047 | 1047 | $settings['manager_direction']->fromArray(array ( |
1048 | - 'key' => 'manager_direction', |
|
1049 | - 'value' => 'ltr', |
|
1050 | - 'xtype' => 'textfield', |
|
1051 | - 'namespace' => 'core', |
|
1052 | - 'area' => 'language', |
|
1053 | - 'editedon' => null, |
|
1048 | + 'key' => 'manager_direction', |
|
1049 | + 'value' => 'ltr', |
|
1050 | + 'xtype' => 'textfield', |
|
1051 | + 'namespace' => 'core', |
|
1052 | + 'area' => 'language', |
|
1053 | + 'editedon' => null, |
|
1054 | 1054 | ), '', true, true); |
1055 | 1055 | $settings['manager_lang_attribute']= $xpdo->newObject('modSystemSetting'); |
1056 | 1056 | $settings['manager_lang_attribute']->fromArray(array ( |
1057 | - 'key' => 'manager_lang_attribute', |
|
1058 | - 'value' => 'en', |
|
1059 | - 'xtype' => 'textfield', |
|
1060 | - 'namespace' => 'core', |
|
1061 | - 'area' => 'language', |
|
1062 | - 'editedon' => null, |
|
1057 | + 'key' => 'manager_lang_attribute', |
|
1058 | + 'value' => 'en', |
|
1059 | + 'xtype' => 'textfield', |
|
1060 | + 'namespace' => 'core', |
|
1061 | + 'area' => 'language', |
|
1062 | + 'editedon' => null, |
|
1063 | 1063 | ), '', true, true); |
1064 | 1064 | $settings['manager_language']= $xpdo->newObject('modSystemSetting'); |
1065 | 1065 | $settings['manager_language']->fromArray(array ( |
1066 | - 'key' => 'manager_language', |
|
1067 | - 'value' => 'en', |
|
1068 | - 'xtype' => 'modx-combo-language', |
|
1069 | - 'namespace' => 'core', |
|
1070 | - 'area' => 'language', |
|
1071 | - 'editedon' => null, |
|
1066 | + 'key' => 'manager_language', |
|
1067 | + 'value' => 'en', |
|
1068 | + 'xtype' => 'modx-combo-language', |
|
1069 | + 'namespace' => 'core', |
|
1070 | + 'area' => 'language', |
|
1071 | + 'editedon' => null, |
|
1072 | 1072 | ), '', true, true); |
1073 | 1073 | $settings['manager_login_url_alternate']= $xpdo->newObject('modSystemSetting'); |
1074 | 1074 | $settings['manager_login_url_alternate']->fromArray(array ( |
1075 | - 'key' => 'manager_login_url_alternate', |
|
1076 | - 'value' => '', |
|
1077 | - 'xtype' => 'textfield', |
|
1078 | - 'namespace' => 'core', |
|
1079 | - 'area' => 'authentication', |
|
1080 | - 'editedon' => null, |
|
1075 | + 'key' => 'manager_login_url_alternate', |
|
1076 | + 'value' => '', |
|
1077 | + 'xtype' => 'textfield', |
|
1078 | + 'namespace' => 'core', |
|
1079 | + 'area' => 'authentication', |
|
1080 | + 'editedon' => null, |
|
1081 | 1081 | ), '', true, true); |
1082 | 1082 | $settings['login_background_image']= $xpdo->newObject('modSystemSetting'); |
1083 | 1083 | $settings['login_background_image']->fromArray(array ( |
1084 | - 'key' => 'login_background_image', |
|
1085 | - 'value' => '', |
|
1086 | - 'xtype' => 'textfield', |
|
1087 | - 'namespace' => 'core', |
|
1088 | - 'area' => 'authentication', |
|
1089 | - 'editedon' => null, |
|
1084 | + 'key' => 'login_background_image', |
|
1085 | + 'value' => '', |
|
1086 | + 'xtype' => 'textfield', |
|
1087 | + 'namespace' => 'core', |
|
1088 | + 'area' => 'authentication', |
|
1089 | + 'editedon' => null, |
|
1090 | 1090 | ), '', true, true); |
1091 | 1091 | $settings['login_logo']= $xpdo->newObject('modSystemSetting'); |
1092 | 1092 | $settings['login_logo']->fromArray(array ( |
1093 | - 'key' => 'login_logo', |
|
1094 | - 'value' => '', |
|
1095 | - 'xtype' => 'textfield', |
|
1096 | - 'namespace' => 'core', |
|
1097 | - 'area' => 'authentication', |
|
1098 | - 'editedon' => null, |
|
1093 | + 'key' => 'login_logo', |
|
1094 | + 'value' => '', |
|
1095 | + 'xtype' => 'textfield', |
|
1096 | + 'namespace' => 'core', |
|
1097 | + 'area' => 'authentication', |
|
1098 | + 'editedon' => null, |
|
1099 | 1099 | ), '', true, true); |
1100 | 1100 | $settings['login_help_button']= $xpdo->newObject('modSystemSetting'); |
1101 | 1101 | $settings['login_help_button']->fromArray(array ( |
1102 | - 'key' => 'login_help_button', |
|
1103 | - 'value' => '', |
|
1104 | - 'xtype' => 'combo-boolean', |
|
1105 | - 'namespace' => 'core', |
|
1106 | - 'area' => 'authentication', |
|
1107 | - 'editedon' => null, |
|
1102 | + 'key' => 'login_help_button', |
|
1103 | + 'value' => '', |
|
1104 | + 'xtype' => 'combo-boolean', |
|
1105 | + 'namespace' => 'core', |
|
1106 | + 'area' => 'authentication', |
|
1107 | + 'editedon' => null, |
|
1108 | 1108 | ), '', true, true); |
1109 | 1109 | $settings['manager_theme']= $xpdo->newObject('modSystemSetting'); |
1110 | 1110 | $settings['manager_theme']->fromArray(array ( |
1111 | - 'key' => 'manager_theme', |
|
1112 | - 'value' => 'default', |
|
1113 | - 'xtype' => 'modx-combo-manager-theme', |
|
1114 | - 'namespace' => 'core', |
|
1115 | - 'area' => 'manager', |
|
1116 | - 'editedon' => null, |
|
1111 | + 'key' => 'manager_theme', |
|
1112 | + 'value' => 'default', |
|
1113 | + 'xtype' => 'modx-combo-manager-theme', |
|
1114 | + 'namespace' => 'core', |
|
1115 | + 'area' => 'manager', |
|
1116 | + 'editedon' => null, |
|
1117 | 1117 | ), '', true, true); |
1118 | 1118 | $settings['manager_week_start']= $xpdo->newObject('modSystemSetting'); |
1119 | 1119 | $settings['manager_week_start']->fromArray(array ( |
1120 | - 'key' => 'manager_week_start', |
|
1121 | - 'value' => 0, |
|
1122 | - 'xtype' => 'textfield', |
|
1123 | - 'namespace' => 'core', |
|
1124 | - 'area' => 'manager', |
|
1125 | - 'editedon' => null, |
|
1120 | + 'key' => 'manager_week_start', |
|
1121 | + 'value' => 0, |
|
1122 | + 'xtype' => 'textfield', |
|
1123 | + 'namespace' => 'core', |
|
1124 | + 'area' => 'manager', |
|
1125 | + 'editedon' => null, |
|
1126 | 1126 | ), '', true, true); |
1127 | 1127 | $settings['modx_browser_tree_hide_files']= $xpdo->newObject('modSystemSetting'); |
1128 | 1128 | $settings['modx_browser_tree_hide_files']->fromArray(array ( |
1129 | - 'key' => 'modx_browser_tree_hide_files', |
|
1130 | - 'value' => false, |
|
1131 | - 'xtype' => 'combo-boolean', |
|
1132 | - 'namespace' => 'core', |
|
1133 | - 'area' => 'manager', |
|
1134 | - 'editedon' => null, |
|
1129 | + 'key' => 'modx_browser_tree_hide_files', |
|
1130 | + 'value' => false, |
|
1131 | + 'xtype' => 'combo-boolean', |
|
1132 | + 'namespace' => 'core', |
|
1133 | + 'area' => 'manager', |
|
1134 | + 'editedon' => null, |
|
1135 | 1135 | ), '', true, true); |
1136 | 1136 | $settings['modx_browser_tree_hide_tooltips']= $xpdo->newObject('modSystemSetting'); |
1137 | 1137 | $settings['modx_browser_tree_hide_tooltips']->fromArray(array ( |
1138 | - 'key' => 'modx_browser_tree_hide_tooltips', |
|
1139 | - 'value' => true, |
|
1140 | - 'xtype' => 'combo-boolean', |
|
1141 | - 'namespace' => 'core', |
|
1142 | - 'area' => 'manager', |
|
1143 | - 'editedon' => null, |
|
1138 | + 'key' => 'modx_browser_tree_hide_tooltips', |
|
1139 | + 'value' => true, |
|
1140 | + 'xtype' => 'combo-boolean', |
|
1141 | + 'namespace' => 'core', |
|
1142 | + 'area' => 'manager', |
|
1143 | + 'editedon' => null, |
|
1144 | 1144 | ), '', true, true); |
1145 | 1145 | $settings['modx_browser_default_sort']= $xpdo->newObject('modSystemSetting'); |
1146 | 1146 | $settings['modx_browser_default_sort']->fromArray(array ( |
1147 | - 'key' => 'modx_browser_default_sort', |
|
1148 | - 'value' => 'name', |
|
1149 | - 'xtype' => 'textfield', |
|
1150 | - 'namespace' => 'core', |
|
1151 | - 'area' => 'manager', |
|
1152 | - 'editedon' => null, |
|
1147 | + 'key' => 'modx_browser_default_sort', |
|
1148 | + 'value' => 'name', |
|
1149 | + 'xtype' => 'textfield', |
|
1150 | + 'namespace' => 'core', |
|
1151 | + 'area' => 'manager', |
|
1152 | + 'editedon' => null, |
|
1153 | 1153 | ), '', true, true); |
1154 | 1154 | $settings['modx_browser_default_viewmode']= $xpdo->newObject('modSystemSetting'); |
1155 | 1155 | $settings['modx_browser_default_viewmode']->fromArray(array ( |
1156 | - 'key' => 'modx_browser_default_viewmode', |
|
1157 | - 'value' => 'grid', |
|
1158 | - 'xtype' => 'textfield', |
|
1159 | - 'namespace' => 'core', |
|
1160 | - 'area' => 'manager', |
|
1161 | - 'editedon' => null, |
|
1156 | + 'key' => 'modx_browser_default_viewmode', |
|
1157 | + 'value' => 'grid', |
|
1158 | + 'xtype' => 'textfield', |
|
1159 | + 'namespace' => 'core', |
|
1160 | + 'area' => 'manager', |
|
1161 | + 'editedon' => null, |
|
1162 | 1162 | ), '', true, true); |
1163 | 1163 | $settings['modx_charset']= $xpdo->newObject('modSystemSetting'); |
1164 | 1164 | $settings['modx_charset']->fromArray(array ( |
1165 | - 'key' => 'modx_charset', |
|
1166 | - 'value' => 'UTF-8', |
|
1167 | - 'xtype' => 'modx-combo-charset', |
|
1168 | - 'namespace' => 'core', |
|
1169 | - 'area' => 'language', |
|
1170 | - 'editedon' => null, |
|
1165 | + 'key' => 'modx_charset', |
|
1166 | + 'value' => 'UTF-8', |
|
1167 | + 'xtype' => 'modx-combo-charset', |
|
1168 | + 'namespace' => 'core', |
|
1169 | + 'area' => 'language', |
|
1170 | + 'editedon' => null, |
|
1171 | 1171 | ), '', true, true); |
1172 | 1172 | $settings['principal_targets']= $xpdo->newObject('modSystemSetting'); |
1173 | 1173 | $settings['principal_targets']->fromArray(array ( |
1174 | - 'key' => 'principal_targets', |
|
1175 | - 'value' => 'modAccessContext,modAccessResourceGroup,modAccessCategory,sources.modAccessMediaSource,modAccessNamespace', |
|
1176 | - 'xtype' => 'textfield', |
|
1177 | - 'namespace' => 'core', |
|
1178 | - 'area' => 'authentication', |
|
1179 | - 'editedon' => null, |
|
1174 | + 'key' => 'principal_targets', |
|
1175 | + 'value' => 'modAccessContext,modAccessResourceGroup,modAccessCategory,sources.modAccessMediaSource,modAccessNamespace', |
|
1176 | + 'xtype' => 'textfield', |
|
1177 | + 'namespace' => 'core', |
|
1178 | + 'area' => 'authentication', |
|
1179 | + 'editedon' => null, |
|
1180 | 1180 | ), '', true, true); |
1181 | 1181 | $settings['proxy_auth_type']= $xpdo->newObject('modSystemSetting'); |
1182 | 1182 | $settings['proxy_auth_type']->fromArray(array ( |
1183 | - 'key' => 'proxy_auth_type', |
|
1184 | - 'value' => 'BASIC', |
|
1185 | - 'xtype' => 'textfield', |
|
1186 | - 'namespace' => 'core', |
|
1187 | - 'area' => 'proxy', |
|
1188 | - 'editedon' => null, |
|
1183 | + 'key' => 'proxy_auth_type', |
|
1184 | + 'value' => 'BASIC', |
|
1185 | + 'xtype' => 'textfield', |
|
1186 | + 'namespace' => 'core', |
|
1187 | + 'area' => 'proxy', |
|
1188 | + 'editedon' => null, |
|
1189 | 1189 | ), '', true, true); |
1190 | 1190 | $settings['proxy_host']= $xpdo->newObject('modSystemSetting'); |
1191 | 1191 | $settings['proxy_host']->fromArray(array ( |
1192 | - 'key' => 'proxy_host', |
|
1193 | - 'value' => '', |
|
1194 | - 'xtype' => 'textfield', |
|
1195 | - 'namespace' => 'core', |
|
1196 | - 'area' => 'proxy', |
|
1197 | - 'editedon' => null, |
|
1192 | + 'key' => 'proxy_host', |
|
1193 | + 'value' => '', |
|
1194 | + 'xtype' => 'textfield', |
|
1195 | + 'namespace' => 'core', |
|
1196 | + 'area' => 'proxy', |
|
1197 | + 'editedon' => null, |
|
1198 | 1198 | ), '', true, true); |
1199 | 1199 | $settings['proxy_password']= $xpdo->newObject('modSystemSetting'); |
1200 | 1200 | $settings['proxy_password']->fromArray(array ( |
1201 | - 'key' => 'proxy_password', |
|
1202 | - 'value' => '', |
|
1203 | - 'xtype' => 'text-password', |
|
1204 | - 'namespace' => 'core', |
|
1205 | - 'area' => 'proxy', |
|
1206 | - 'editedon' => null, |
|
1201 | + 'key' => 'proxy_password', |
|
1202 | + 'value' => '', |
|
1203 | + 'xtype' => 'text-password', |
|
1204 | + 'namespace' => 'core', |
|
1205 | + 'area' => 'proxy', |
|
1206 | + 'editedon' => null, |
|
1207 | 1207 | ), '', true, true); |
1208 | 1208 | $settings['proxy_port']= $xpdo->newObject('modSystemSetting'); |
1209 | 1209 | $settings['proxy_port']->fromArray(array ( |
1210 | - 'key' => 'proxy_port', |
|
1211 | - 'value' => '', |
|
1212 | - 'xtype' => 'textfield', |
|
1213 | - 'namespace' => 'core', |
|
1214 | - 'area' => 'proxy', |
|
1215 | - 'editedon' => null, |
|
1210 | + 'key' => 'proxy_port', |
|
1211 | + 'value' => '', |
|
1212 | + 'xtype' => 'textfield', |
|
1213 | + 'namespace' => 'core', |
|
1214 | + 'area' => 'proxy', |
|
1215 | + 'editedon' => null, |
|
1216 | 1216 | ), '', true, true); |
1217 | 1217 | $settings['proxy_username']= $xpdo->newObject('modSystemSetting'); |
1218 | 1218 | $settings['proxy_username']->fromArray(array ( |
1219 | - 'key' => 'proxy_username', |
|
1220 | - 'value' => '', |
|
1221 | - 'xtype' => 'textfield', |
|
1222 | - 'namespace' => 'core', |
|
1223 | - 'area' => 'proxy', |
|
1224 | - 'editedon' => null, |
|
1219 | + 'key' => 'proxy_username', |
|
1220 | + 'value' => '', |
|
1221 | + 'xtype' => 'textfield', |
|
1222 | + 'namespace' => 'core', |
|
1223 | + 'area' => 'proxy', |
|
1224 | + 'editedon' => null, |
|
1225 | 1225 | ), '', true, true); |
1226 | 1226 | $settings['password_generated_length']= $xpdo->newObject('modSystemSetting'); |
1227 | 1227 | $settings['password_generated_length']->fromArray(array ( |
1228 | - 'key' => 'password_generated_length', |
|
1229 | - 'value' => '8', |
|
1230 | - 'xtype' => 'textfield', |
|
1231 | - 'namespace' => 'core', |
|
1232 | - 'area' => 'authentication', |
|
1233 | - 'editedon' => null, |
|
1228 | + 'key' => 'password_generated_length', |
|
1229 | + 'value' => '8', |
|
1230 | + 'xtype' => 'textfield', |
|
1231 | + 'namespace' => 'core', |
|
1232 | + 'area' => 'authentication', |
|
1233 | + 'editedon' => null, |
|
1234 | 1234 | ), '', true, true); |
1235 | 1235 | $settings['password_min_length']= $xpdo->newObject('modSystemSetting'); |
1236 | 1236 | $settings['password_min_length']->fromArray(array ( |
1237 | - 'key' => 'password_min_length', |
|
1238 | - 'value' => '8', |
|
1239 | - 'xtype' => 'textfield', |
|
1240 | - 'namespace' => 'core', |
|
1241 | - 'area' => 'authentication', |
|
1242 | - 'editedon' => null, |
|
1237 | + 'key' => 'password_min_length', |
|
1238 | + 'value' => '8', |
|
1239 | + 'xtype' => 'textfield', |
|
1240 | + 'namespace' => 'core', |
|
1241 | + 'area' => 'authentication', |
|
1242 | + 'editedon' => null, |
|
1243 | 1243 | ), '', true, true); |
1244 | 1244 | |
1245 | 1245 | $settings['phpthumb_allow_src_above_docroot']= $xpdo->newObject('modSystemSetting'); |
1246 | 1246 | $settings['phpthumb_allow_src_above_docroot']->fromArray(array ( |
1247 | - 'key' => 'phpthumb_allow_src_above_docroot', |
|
1248 | - 'value' => false, |
|
1249 | - 'xtype' => 'combo-boolean', |
|
1250 | - 'namespace' => 'core', |
|
1251 | - 'area' => 'phpthumb', |
|
1252 | - 'editedon' => null, |
|
1247 | + 'key' => 'phpthumb_allow_src_above_docroot', |
|
1248 | + 'value' => false, |
|
1249 | + 'xtype' => 'combo-boolean', |
|
1250 | + 'namespace' => 'core', |
|
1251 | + 'area' => 'phpthumb', |
|
1252 | + 'editedon' => null, |
|
1253 | 1253 | ), '', true, true); |
1254 | 1254 | $settings['phpthumb_cache_maxage']= $xpdo->newObject('modSystemSetting'); |
1255 | 1255 | $settings['phpthumb_cache_maxage']->fromArray(array ( |
1256 | - 'key' => 'phpthumb_cache_maxage', |
|
1257 | - 'value' => 30, // 30 days |
|
1258 | - 'xtype' => 'textfield', |
|
1259 | - 'namespace' => 'core', |
|
1260 | - 'area' => 'phpthumb', |
|
1261 | - 'editedon' => null, |
|
1256 | + 'key' => 'phpthumb_cache_maxage', |
|
1257 | + 'value' => 30, // 30 days |
|
1258 | + 'xtype' => 'textfield', |
|
1259 | + 'namespace' => 'core', |
|
1260 | + 'area' => 'phpthumb', |
|
1261 | + 'editedon' => null, |
|
1262 | 1262 | ), '', true, true); |
1263 | 1263 | $settings['phpthumb_cache_maxsize']= $xpdo->newObject('modSystemSetting'); |
1264 | 1264 | $settings['phpthumb_cache_maxsize']->fromArray(array ( |
1265 | - 'key' => 'phpthumb_cache_maxsize', |
|
1266 | - 'value' => 100, // 100MB |
|
1267 | - 'xtype' => 'textfield', |
|
1268 | - 'namespace' => 'core', |
|
1269 | - 'area' => 'phpthumb', |
|
1270 | - 'editedon' => null, |
|
1265 | + 'key' => 'phpthumb_cache_maxsize', |
|
1266 | + 'value' => 100, // 100MB |
|
1267 | + 'xtype' => 'textfield', |
|
1268 | + 'namespace' => 'core', |
|
1269 | + 'area' => 'phpthumb', |
|
1270 | + 'editedon' => null, |
|
1271 | 1271 | ), '', true, true); |
1272 | 1272 | $settings['phpthumb_cache_maxfiles']= $xpdo->newObject('modSystemSetting'); |
1273 | 1273 | $settings['phpthumb_cache_maxfiles']->fromArray(array ( |
1274 | - 'key' => 'phpthumb_cache_maxfiles', |
|
1275 | - 'value' => 10000, // 10k files |
|
1276 | - 'xtype' => 'textfield', |
|
1277 | - 'namespace' => 'core', |
|
1278 | - 'area' => 'phpthumb', |
|
1279 | - 'editedon' => null, |
|
1274 | + 'key' => 'phpthumb_cache_maxfiles', |
|
1275 | + 'value' => 10000, // 10k files |
|
1276 | + 'xtype' => 'textfield', |
|
1277 | + 'namespace' => 'core', |
|
1278 | + 'area' => 'phpthumb', |
|
1279 | + 'editedon' => null, |
|
1280 | 1280 | ), '', true, true); |
1281 | 1281 | $settings['phpthumb_cache_source_enabled']= $xpdo->newObject('modSystemSetting'); |
1282 | 1282 | $settings['phpthumb_cache_source_enabled']->fromArray(array ( |
1283 | - 'key' => 'phpthumb_cache_source_enabled', |
|
1284 | - 'value' => false, |
|
1285 | - 'xtype' => 'combo-boolean', |
|
1286 | - 'namespace' => 'core', |
|
1287 | - 'area' => 'phpthumb', |
|
1288 | - 'editedon' => null, |
|
1283 | + 'key' => 'phpthumb_cache_source_enabled', |
|
1284 | + 'value' => false, |
|
1285 | + 'xtype' => 'combo-boolean', |
|
1286 | + 'namespace' => 'core', |
|
1287 | + 'area' => 'phpthumb', |
|
1288 | + 'editedon' => null, |
|
1289 | 1289 | ), '', true, true); |
1290 | 1290 | $settings['phpthumb_document_root']= $xpdo->newObject('modSystemSetting'); |
1291 | 1291 | $settings['phpthumb_document_root']->fromArray(array ( |
1292 | - 'key' => 'phpthumb_document_root', |
|
1293 | - 'value' => '', |
|
1294 | - 'xtype' => 'textfield', |
|
1295 | - 'namespace' => 'core', |
|
1296 | - 'area' => 'phpthumb', |
|
1297 | - 'editedon' => null, |
|
1292 | + 'key' => 'phpthumb_document_root', |
|
1293 | + 'value' => '', |
|
1294 | + 'xtype' => 'textfield', |
|
1295 | + 'namespace' => 'core', |
|
1296 | + 'area' => 'phpthumb', |
|
1297 | + 'editedon' => null, |
|
1298 | 1298 | ), '', true, true); |
1299 | 1299 | $settings['phpthumb_error_bgcolor']= $xpdo->newObject('modSystemSetting'); |
1300 | 1300 | $settings['phpthumb_error_bgcolor']->fromArray(array ( |
1301 | - 'key' => 'phpthumb_error_bgcolor', |
|
1302 | - 'value' => 'CCCCFF', |
|
1303 | - 'xtype' => 'textfield', |
|
1304 | - 'namespace' => 'core', |
|
1305 | - 'area' => 'phpthumb', |
|
1306 | - 'editedon' => null, |
|
1301 | + 'key' => 'phpthumb_error_bgcolor', |
|
1302 | + 'value' => 'CCCCFF', |
|
1303 | + 'xtype' => 'textfield', |
|
1304 | + 'namespace' => 'core', |
|
1305 | + 'area' => 'phpthumb', |
|
1306 | + 'editedon' => null, |
|
1307 | 1307 | ), '', true, true); |
1308 | 1308 | $settings['phpthumb_error_textcolor']= $xpdo->newObject('modSystemSetting'); |
1309 | 1309 | $settings['phpthumb_error_textcolor']->fromArray(array ( |
1310 | - 'key' => 'phpthumb_error_textcolor', |
|
1311 | - 'value' => 'FF0000', |
|
1312 | - 'xtype' => 'textfield', |
|
1313 | - 'namespace' => 'core', |
|
1314 | - 'area' => 'phpthumb', |
|
1315 | - 'editedon' => null, |
|
1310 | + 'key' => 'phpthumb_error_textcolor', |
|
1311 | + 'value' => 'FF0000', |
|
1312 | + 'xtype' => 'textfield', |
|
1313 | + 'namespace' => 'core', |
|
1314 | + 'area' => 'phpthumb', |
|
1315 | + 'editedon' => null, |
|
1316 | 1316 | ), '', true, true); |
1317 | 1317 | $settings['phpthumb_error_fontsize']= $xpdo->newObject('modSystemSetting'); |
1318 | 1318 | $settings['phpthumb_error_fontsize']->fromArray(array ( |
1319 | - 'key' => 'phpthumb_error_fontsize', |
|
1320 | - 'value' => 1, |
|
1321 | - 'xtype' => 'textfield', |
|
1322 | - 'namespace' => 'core', |
|
1323 | - 'area' => 'phpthumb', |
|
1324 | - 'editedon' => null, |
|
1319 | + 'key' => 'phpthumb_error_fontsize', |
|
1320 | + 'value' => 1, |
|
1321 | + 'xtype' => 'textfield', |
|
1322 | + 'namespace' => 'core', |
|
1323 | + 'area' => 'phpthumb', |
|
1324 | + 'editedon' => null, |
|
1325 | 1325 | ), '', true, true); |
1326 | 1326 | $settings['phpthumb_far']= $xpdo->newObject('modSystemSetting'); |
1327 | 1327 | $settings['phpthumb_far']->fromArray(array ( |
1328 | - 'key' => 'phpthumb_far', |
|
1329 | - 'value' => 'C', |
|
1330 | - 'xtype' => 'textfield', |
|
1331 | - 'namespace' => 'core', |
|
1332 | - 'area' => 'phpthumb', |
|
1333 | - 'editedon' => null, |
|
1328 | + 'key' => 'phpthumb_far', |
|
1329 | + 'value' => 'C', |
|
1330 | + 'xtype' => 'textfield', |
|
1331 | + 'namespace' => 'core', |
|
1332 | + 'area' => 'phpthumb', |
|
1333 | + 'editedon' => null, |
|
1334 | 1334 | ), '', true, true); |
1335 | 1335 | $settings['phpthumb_imagemagick_path']= $xpdo->newObject('modSystemSetting'); |
1336 | 1336 | $settings['phpthumb_imagemagick_path']->fromArray(array ( |
1337 | - 'key' => 'phpthumb_imagemagick_path', |
|
1338 | - 'value' => '', |
|
1339 | - 'xtype' => 'textfield', |
|
1340 | - 'namespace' => 'core', |
|
1341 | - 'area' => 'phpthumb', |
|
1342 | - 'editedon' => null, |
|
1337 | + 'key' => 'phpthumb_imagemagick_path', |
|
1338 | + 'value' => '', |
|
1339 | + 'xtype' => 'textfield', |
|
1340 | + 'namespace' => 'core', |
|
1341 | + 'area' => 'phpthumb', |
|
1342 | + 'editedon' => null, |
|
1343 | 1343 | ), '', true, true); |
1344 | 1344 | $settings['phpthumb_nohotlink_enabled']= $xpdo->newObject('modSystemSetting'); |
1345 | 1345 | $settings['phpthumb_nohotlink_enabled']->fromArray(array ( |
1346 | - 'key' => 'phpthumb_nohotlink_enabled', |
|
1347 | - 'value' => true, |
|
1348 | - 'xtype' => 'combo-boolean', |
|
1349 | - 'namespace' => 'core', |
|
1350 | - 'area' => 'phpthumb', |
|
1351 | - 'editedon' => null, |
|
1346 | + 'key' => 'phpthumb_nohotlink_enabled', |
|
1347 | + 'value' => true, |
|
1348 | + 'xtype' => 'combo-boolean', |
|
1349 | + 'namespace' => 'core', |
|
1350 | + 'area' => 'phpthumb', |
|
1351 | + 'editedon' => null, |
|
1352 | 1352 | ), '', true, true); |
1353 | 1353 | $settings['phpthumb_nohotlink_erase_image']= $xpdo->newObject('modSystemSetting'); |
1354 | 1354 | $settings['phpthumb_nohotlink_erase_image']->fromArray(array ( |
1355 | - 'key' => 'phpthumb_nohotlink_erase_image', |
|
1356 | - 'value' => true, |
|
1357 | - 'xtype' => 'combo-boolean', |
|
1358 | - 'namespace' => 'core', |
|
1359 | - 'area' => 'phpthumb', |
|
1360 | - 'editedon' => null, |
|
1355 | + 'key' => 'phpthumb_nohotlink_erase_image', |
|
1356 | + 'value' => true, |
|
1357 | + 'xtype' => 'combo-boolean', |
|
1358 | + 'namespace' => 'core', |
|
1359 | + 'area' => 'phpthumb', |
|
1360 | + 'editedon' => null, |
|
1361 | 1361 | ), '', true, true); |
1362 | 1362 | $settings['phpthumb_nohotlink_valid_domains']= $xpdo->newObject('modSystemSetting'); |
1363 | 1363 | $settings['phpthumb_nohotlink_valid_domains']->fromArray(array ( |
1364 | - 'key' => 'phpthumb_nohotlink_valid_domains', |
|
1365 | - 'value' => '{http_host}', |
|
1366 | - 'xtype' => 'textfield', |
|
1367 | - 'namespace' => 'core', |
|
1368 | - 'area' => 'phpthumb', |
|
1369 | - 'editedon' => null, |
|
1364 | + 'key' => 'phpthumb_nohotlink_valid_domains', |
|
1365 | + 'value' => '{http_host}', |
|
1366 | + 'xtype' => 'textfield', |
|
1367 | + 'namespace' => 'core', |
|
1368 | + 'area' => 'phpthumb', |
|
1369 | + 'editedon' => null, |
|
1370 | 1370 | ), '', true, true); |
1371 | 1371 | $settings['phpthumb_nohotlink_text_message']= $xpdo->newObject('modSystemSetting'); |
1372 | 1372 | $settings['phpthumb_nohotlink_text_message']->fromArray(array ( |
1373 | - 'key' => 'phpthumb_nohotlink_text_message', |
|
1374 | - 'value' => 'Off-server thumbnailing is not allowed', |
|
1375 | - 'xtype' => 'textfield', |
|
1376 | - 'namespace' => 'core', |
|
1377 | - 'area' => 'phpthumb', |
|
1378 | - 'editedon' => null, |
|
1373 | + 'key' => 'phpthumb_nohotlink_text_message', |
|
1374 | + 'value' => 'Off-server thumbnailing is not allowed', |
|
1375 | + 'xtype' => 'textfield', |
|
1376 | + 'namespace' => 'core', |
|
1377 | + 'area' => 'phpthumb', |
|
1378 | + 'editedon' => null, |
|
1379 | 1379 | ), '', true, true); |
1380 | 1380 | $settings['phpthumb_nooffsitelink_enabled']= $xpdo->newObject('modSystemSetting'); |
1381 | 1381 | $settings['phpthumb_nooffsitelink_enabled']->fromArray(array ( |
1382 | - 'key' => 'phpthumb_nooffsitelink_enabled', |
|
1383 | - 'value' => false, |
|
1384 | - 'xtype' => 'combo-boolean', |
|
1385 | - 'namespace' => 'core', |
|
1386 | - 'area' => 'phpthumb', |
|
1387 | - 'editedon' => null, |
|
1382 | + 'key' => 'phpthumb_nooffsitelink_enabled', |
|
1383 | + 'value' => false, |
|
1384 | + 'xtype' => 'combo-boolean', |
|
1385 | + 'namespace' => 'core', |
|
1386 | + 'area' => 'phpthumb', |
|
1387 | + 'editedon' => null, |
|
1388 | 1388 | ), '', true, true); |
1389 | 1389 | $settings['phpthumb_nooffsitelink_erase_image']= $xpdo->newObject('modSystemSetting'); |
1390 | 1390 | $settings['phpthumb_nooffsitelink_erase_image']->fromArray(array ( |
1391 | - 'key' => 'phpthumb_nooffsitelink_erase_image', |
|
1392 | - 'value' => true, |
|
1393 | - 'xtype' => 'combo-boolean', |
|
1394 | - 'namespace' => 'core', |
|
1395 | - 'area' => 'phpthumb', |
|
1396 | - 'editedon' => null, |
|
1391 | + 'key' => 'phpthumb_nooffsitelink_erase_image', |
|
1392 | + 'value' => true, |
|
1393 | + 'xtype' => 'combo-boolean', |
|
1394 | + 'namespace' => 'core', |
|
1395 | + 'area' => 'phpthumb', |
|
1396 | + 'editedon' => null, |
|
1397 | 1397 | ), '', true, true); |
1398 | 1398 | $settings['phpthumb_nooffsitelink_require_refer']= $xpdo->newObject('modSystemSetting'); |
1399 | 1399 | $settings['phpthumb_nooffsitelink_require_refer']->fromArray(array ( |
1400 | - 'key' => 'phpthumb_nooffsitelink_require_refer', |
|
1401 | - 'value' => false, |
|
1402 | - 'xtype' => 'combo-boolean', |
|
1403 | - 'namespace' => 'core', |
|
1404 | - 'area' => 'phpthumb', |
|
1405 | - 'editedon' => null, |
|
1400 | + 'key' => 'phpthumb_nooffsitelink_require_refer', |
|
1401 | + 'value' => false, |
|
1402 | + 'xtype' => 'combo-boolean', |
|
1403 | + 'namespace' => 'core', |
|
1404 | + 'area' => 'phpthumb', |
|
1405 | + 'editedon' => null, |
|
1406 | 1406 | ), '', true, true); |
1407 | 1407 | $settings['phpthumb_nooffsitelink_text_message']= $xpdo->newObject('modSystemSetting'); |
1408 | 1408 | $settings['phpthumb_nooffsitelink_text_message']->fromArray(array ( |
1409 | - 'key' => 'phpthumb_nooffsitelink_text_message', |
|
1410 | - 'value' => 'Off-server linking is not allowed', |
|
1411 | - 'xtype' => 'textfield', |
|
1412 | - 'namespace' => 'core', |
|
1413 | - 'area' => 'phpthumb', |
|
1414 | - 'editedon' => null, |
|
1409 | + 'key' => 'phpthumb_nooffsitelink_text_message', |
|
1410 | + 'value' => 'Off-server linking is not allowed', |
|
1411 | + 'xtype' => 'textfield', |
|
1412 | + 'namespace' => 'core', |
|
1413 | + 'area' => 'phpthumb', |
|
1414 | + 'editedon' => null, |
|
1415 | 1415 | ), '', true, true); |
1416 | 1416 | $settings['phpthumb_nooffsitelink_valid_domains']= $xpdo->newObject('modSystemSetting'); |
1417 | 1417 | $settings['phpthumb_nooffsitelink_valid_domains']->fromArray(array ( |
1418 | - 'key' => 'phpthumb_nooffsitelink_valid_domains', |
|
1419 | - 'value' => '{http_host}', |
|
1420 | - 'xtype' => 'textfield', |
|
1421 | - 'namespace' => 'core', |
|
1422 | - 'area' => 'phpthumb', |
|
1423 | - 'editedon' => null, |
|
1418 | + 'key' => 'phpthumb_nooffsitelink_valid_domains', |
|
1419 | + 'value' => '{http_host}', |
|
1420 | + 'xtype' => 'textfield', |
|
1421 | + 'namespace' => 'core', |
|
1422 | + 'area' => 'phpthumb', |
|
1423 | + 'editedon' => null, |
|
1424 | 1424 | ), '', true, true); |
1425 | 1425 | $settings['phpthumb_nooffsitelink_watermark_src']= $xpdo->newObject('modSystemSetting'); |
1426 | 1426 | $settings['phpthumb_nooffsitelink_watermark_src']->fromArray(array ( |
1427 | - 'key' => 'phpthumb_nooffsitelink_watermark_src', |
|
1428 | - 'value' => '', |
|
1429 | - 'xtype' => 'textfield', |
|
1430 | - 'namespace' => 'core', |
|
1431 | - 'area' => 'phpthumb', |
|
1432 | - 'editedon' => null, |
|
1427 | + 'key' => 'phpthumb_nooffsitelink_watermark_src', |
|
1428 | + 'value' => '', |
|
1429 | + 'xtype' => 'textfield', |
|
1430 | + 'namespace' => 'core', |
|
1431 | + 'area' => 'phpthumb', |
|
1432 | + 'editedon' => null, |
|
1433 | 1433 | ), '', true, true); |
1434 | 1434 | $settings['phpthumb_zoomcrop']= $xpdo->newObject('modSystemSetting'); |
1435 | 1435 | $settings['phpthumb_zoomcrop']->fromArray(array ( |
1436 | - 'key' => 'phpthumb_zoomcrop', |
|
1437 | - 'value' => '0', |
|
1438 | - 'xtype' => 'textfield', |
|
1439 | - 'namespace' => 'core', |
|
1440 | - 'area' => 'phpthumb', |
|
1441 | - 'editedon' => null, |
|
1436 | + 'key' => 'phpthumb_zoomcrop', |
|
1437 | + 'value' => '0', |
|
1438 | + 'xtype' => 'textfield', |
|
1439 | + 'namespace' => 'core', |
|
1440 | + 'area' => 'phpthumb', |
|
1441 | + 'editedon' => null, |
|
1442 | 1442 | ), '', true, true); |
1443 | 1443 | |
1444 | 1444 | $settings['publish_default']= $xpdo->newObject('modSystemSetting'); |
1445 | 1445 | $settings['publish_default']->fromArray(array ( |
1446 | - 'key' => 'publish_default', |
|
1447 | - 'value' => false, |
|
1448 | - 'xtype' => 'combo-boolean', |
|
1449 | - 'namespace' => 'core', |
|
1450 | - 'area' => 'site', |
|
1451 | - 'editedon' => null, |
|
1446 | + 'key' => 'publish_default', |
|
1447 | + 'value' => false, |
|
1448 | + 'xtype' => 'combo-boolean', |
|
1449 | + 'namespace' => 'core', |
|
1450 | + 'area' => 'site', |
|
1451 | + 'editedon' => null, |
|
1452 | 1452 | ), '', true, true); |
1453 | 1453 | $settings['rb_base_dir']= $xpdo->newObject('modSystemSetting'); |
1454 | 1454 | $settings['rb_base_dir']->fromArray(array ( |
1455 | - 'key' => 'rb_base_dir', |
|
1456 | - 'value' => '', |
|
1457 | - 'xtype' => 'textfield', |
|
1458 | - 'namespace' => 'core', |
|
1459 | - 'area' => 'file', |
|
1460 | - 'editedon' => null, |
|
1455 | + 'key' => 'rb_base_dir', |
|
1456 | + 'value' => '', |
|
1457 | + 'xtype' => 'textfield', |
|
1458 | + 'namespace' => 'core', |
|
1459 | + 'area' => 'file', |
|
1460 | + 'editedon' => null, |
|
1461 | 1461 | ), '', true, true); |
1462 | 1462 | $settings['rb_base_url']= $xpdo->newObject('modSystemSetting'); |
1463 | 1463 | $settings['rb_base_url']->fromArray(array ( |
1464 | - 'key' => 'rb_base_url', |
|
1465 | - 'value' => '', |
|
1466 | - 'xtype' => 'textfield', |
|
1467 | - 'namespace' => 'core', |
|
1468 | - 'area' => 'file', |
|
1469 | - 'editedon' => null, |
|
1464 | + 'key' => 'rb_base_url', |
|
1465 | + 'value' => '', |
|
1466 | + 'xtype' => 'textfield', |
|
1467 | + 'namespace' => 'core', |
|
1468 | + 'area' => 'file', |
|
1469 | + 'editedon' => null, |
|
1470 | 1470 | ), '', true, true); |
1471 | 1471 | $settings['request_controller']= $xpdo->newObject('modSystemSetting'); |
1472 | 1472 | $settings['request_controller']->fromArray(array ( |
1473 | - 'key' => 'request_controller', |
|
1474 | - 'value' => 'index.php', |
|
1475 | - 'xtype' => 'textfield', |
|
1476 | - 'namespace' => 'core', |
|
1477 | - 'area' => 'gateway', |
|
1478 | - 'editedon' => null, |
|
1473 | + 'key' => 'request_controller', |
|
1474 | + 'value' => 'index.php', |
|
1475 | + 'xtype' => 'textfield', |
|
1476 | + 'namespace' => 'core', |
|
1477 | + 'area' => 'gateway', |
|
1478 | + 'editedon' => null, |
|
1479 | 1479 | ), '', true, true); |
1480 | 1480 | $settings['request_method_strict']= $xpdo->newObject('modSystemSetting'); |
1481 | 1481 | $settings['request_method_strict']->fromArray(array ( |
1482 | - 'key' => 'request_method_strict', |
|
1483 | - 'value' => '0', |
|
1484 | - 'xtype' => 'combo-boolean', |
|
1485 | - 'namespace' => 'core', |
|
1486 | - 'area' => 'gateway', |
|
1487 | - 'editedon' => null, |
|
1482 | + 'key' => 'request_method_strict', |
|
1483 | + 'value' => '0', |
|
1484 | + 'xtype' => 'combo-boolean', |
|
1485 | + 'namespace' => 'core', |
|
1486 | + 'area' => 'gateway', |
|
1487 | + 'editedon' => null, |
|
1488 | 1488 | ), '', true, true); |
1489 | 1489 | $settings['request_param_alias']= $xpdo->newObject('modSystemSetting'); |
1490 | 1490 | $settings['request_param_alias']->fromArray(array ( |
1491 | - 'key' => 'request_param_alias', |
|
1492 | - 'value' => 'q', |
|
1493 | - 'xtype' => 'textfield', |
|
1494 | - 'namespace' => 'core', |
|
1495 | - 'area' => 'gateway', |
|
1496 | - 'editedon' => null, |
|
1491 | + 'key' => 'request_param_alias', |
|
1492 | + 'value' => 'q', |
|
1493 | + 'xtype' => 'textfield', |
|
1494 | + 'namespace' => 'core', |
|
1495 | + 'area' => 'gateway', |
|
1496 | + 'editedon' => null, |
|
1497 | 1497 | ), '', true, true); |
1498 | 1498 | $settings['request_param_id']= $xpdo->newObject('modSystemSetting'); |
1499 | 1499 | $settings['request_param_id']->fromArray(array ( |
1500 | - 'key' => 'request_param_id', |
|
1501 | - 'value' => 'id', |
|
1502 | - 'xtype' => 'textfield', |
|
1503 | - 'namespace' => 'core', |
|
1504 | - 'area' => 'gateway', |
|
1505 | - 'editedon' => null, |
|
1500 | + 'key' => 'request_param_id', |
|
1501 | + 'value' => 'id', |
|
1502 | + 'xtype' => 'textfield', |
|
1503 | + 'namespace' => 'core', |
|
1504 | + 'area' => 'gateway', |
|
1505 | + 'editedon' => null, |
|
1506 | 1506 | ), '', true, true); |
1507 | 1507 | $settings['resolve_hostnames']= $xpdo->newObject('modSystemSetting'); |
1508 | 1508 | $settings['resolve_hostnames']->fromArray(array ( |
1509 | - 'key' => 'resolve_hostnames', |
|
1510 | - 'value' => '0', |
|
1511 | - 'xtype' => 'combo-boolean', |
|
1512 | - 'namespace' => 'core', |
|
1513 | - 'area' => 'system', |
|
1514 | - 'editedon' => null, |
|
1509 | + 'key' => 'resolve_hostnames', |
|
1510 | + 'value' => '0', |
|
1511 | + 'xtype' => 'combo-boolean', |
|
1512 | + 'namespace' => 'core', |
|
1513 | + 'area' => 'system', |
|
1514 | + 'editedon' => null, |
|
1515 | 1515 | ), '', true, true); |
1516 | 1516 | $settings['resource_tree_node_name']= $xpdo->newObject('modSystemSetting'); |
1517 | 1517 | $settings['resource_tree_node_name']->fromArray(array ( |
1518 | - 'key' => 'resource_tree_node_name', |
|
1519 | - 'value' => 'pagetitle', |
|
1520 | - 'xtype' => 'textfield', |
|
1521 | - 'namespace' => 'core', |
|
1522 | - 'area' => 'manager', |
|
1523 | - 'editedon' => null, |
|
1518 | + 'key' => 'resource_tree_node_name', |
|
1519 | + 'value' => 'pagetitle', |
|
1520 | + 'xtype' => 'textfield', |
|
1521 | + 'namespace' => 'core', |
|
1522 | + 'area' => 'manager', |
|
1523 | + 'editedon' => null, |
|
1524 | 1524 | ), '', true, true); |
1525 | 1525 | $settings['resource_tree_node_name_fallback']= $xpdo->newObject('modSystemSetting'); |
1526 | 1526 | $settings['resource_tree_node_name_fallback']->fromArray(array ( |
1527 | - 'key' => 'resource_tree_node_name_fallback', |
|
1528 | - 'value' => 'pagetitle', |
|
1529 | - 'xtype' => 'textfield', |
|
1530 | - 'namespace' => 'core', |
|
1531 | - 'area' => 'manager', |
|
1532 | - 'editedon' => null, |
|
1527 | + 'key' => 'resource_tree_node_name_fallback', |
|
1528 | + 'value' => 'pagetitle', |
|
1529 | + 'xtype' => 'textfield', |
|
1530 | + 'namespace' => 'core', |
|
1531 | + 'area' => 'manager', |
|
1532 | + 'editedon' => null, |
|
1533 | 1533 | ), '', true, true); |
1534 | 1534 | $settings['resource_tree_node_tooltip']= $xpdo->newObject('modSystemSetting'); |
1535 | 1535 | $settings['resource_tree_node_tooltip']->fromArray(array ( |
1536 | - 'key' => 'resource_tree_node_tooltip', |
|
1537 | - 'value' => '', |
|
1538 | - 'xtype' => 'textfield', |
|
1539 | - 'namespace' => 'core', |
|
1540 | - 'area' => 'manager', |
|
1541 | - 'editedon' => null, |
|
1536 | + 'key' => 'resource_tree_node_tooltip', |
|
1537 | + 'value' => '', |
|
1538 | + 'xtype' => 'textfield', |
|
1539 | + 'namespace' => 'core', |
|
1540 | + 'area' => 'manager', |
|
1541 | + 'editedon' => null, |
|
1542 | 1542 | ), '', true, true); |
1543 | 1543 | $settings['richtext_default']= $xpdo->newObject('modSystemSetting'); |
1544 | 1544 | $settings['richtext_default']->fromArray(array ( |
1545 | - 'key' => 'richtext_default', |
|
1546 | - 'value' => '1', |
|
1547 | - 'xtype' => 'combo-boolean', |
|
1548 | - 'namespace' => 'core', |
|
1549 | - 'area' => 'manager', |
|
1550 | - 'editedon' => null, |
|
1545 | + 'key' => 'richtext_default', |
|
1546 | + 'value' => '1', |
|
1547 | + 'xtype' => 'combo-boolean', |
|
1548 | + 'namespace' => 'core', |
|
1549 | + 'area' => 'manager', |
|
1550 | + 'editedon' => null, |
|
1551 | 1551 | ), '', true, true); |
1552 | 1552 | $settings['search_default']= $xpdo->newObject('modSystemSetting'); |
1553 | 1553 | $settings['search_default']->fromArray(array ( |
1554 | - 'key' => 'search_default', |
|
1555 | - 'value' => '1', |
|
1556 | - 'xtype' => 'combo-boolean', |
|
1557 | - 'namespace' => 'core', |
|
1558 | - 'area' => 'site', |
|
1559 | - 'editedon' => null, |
|
1554 | + 'key' => 'search_default', |
|
1555 | + 'value' => '1', |
|
1556 | + 'xtype' => 'combo-boolean', |
|
1557 | + 'namespace' => 'core', |
|
1558 | + 'area' => 'site', |
|
1559 | + 'editedon' => null, |
|
1560 | 1560 | ), '', true, true); |
1561 | 1561 | $settings['server_offset_time']= $xpdo->newObject('modSystemSetting'); |
1562 | 1562 | $settings['server_offset_time']->fromArray(array ( |
1563 | - 'key' => 'server_offset_time', |
|
1564 | - 'value' => '0', |
|
1565 | - 'xtype' => 'textfield', |
|
1566 | - 'namespace' => 'core', |
|
1567 | - 'area' => 'system', |
|
1568 | - 'editedon' => null, |
|
1563 | + 'key' => 'server_offset_time', |
|
1564 | + 'value' => '0', |
|
1565 | + 'xtype' => 'textfield', |
|
1566 | + 'namespace' => 'core', |
|
1567 | + 'area' => 'system', |
|
1568 | + 'editedon' => null, |
|
1569 | 1569 | ), '', true, true); |
1570 | 1570 | $settings['server_protocol']= $xpdo->newObject('modSystemSetting'); |
1571 | 1571 | $settings['server_protocol']->fromArray(array ( |
1572 | - 'key' => 'server_protocol', |
|
1573 | - 'value' => 'http', |
|
1574 | - 'xtype' => 'textfield', |
|
1575 | - 'namespace' => 'core', |
|
1576 | - 'area' => 'system', |
|
1577 | - 'editedon' => null, |
|
1572 | + 'key' => 'server_protocol', |
|
1573 | + 'value' => 'http', |
|
1574 | + 'xtype' => 'textfield', |
|
1575 | + 'namespace' => 'core', |
|
1576 | + 'area' => 'system', |
|
1577 | + 'editedon' => null, |
|
1578 | 1578 | ), '', true, true); |
1579 | 1579 | $settings['session_cookie_domain']= $xpdo->newObject('modSystemSetting'); |
1580 | 1580 | $settings['session_cookie_domain']->fromArray(array ( |
1581 | - 'key' => 'session_cookie_domain', |
|
1582 | - 'value' => '', |
|
1583 | - 'xtype' => 'textfield', |
|
1584 | - 'namespace' => 'core', |
|
1585 | - 'area' => 'session', |
|
1586 | - 'editedon' => null, |
|
1581 | + 'key' => 'session_cookie_domain', |
|
1582 | + 'value' => '', |
|
1583 | + 'xtype' => 'textfield', |
|
1584 | + 'namespace' => 'core', |
|
1585 | + 'area' => 'session', |
|
1586 | + 'editedon' => null, |
|
1587 | 1587 | ), '', true, true); |
1588 | 1588 | $settings['default_username']= $xpdo->newObject('modSystemSetting'); |
1589 | 1589 | $settings['default_username']->fromArray(array ( |
1590 | - 'key' => 'default_username', |
|
1591 | - 'value' => '(anonymous)', |
|
1592 | - 'xtype' => 'textfield', |
|
1593 | - 'namespace' => 'core', |
|
1594 | - 'area' => 'session', |
|
1595 | - 'editedon' => null, |
|
1590 | + 'key' => 'default_username', |
|
1591 | + 'value' => '(anonymous)', |
|
1592 | + 'xtype' => 'textfield', |
|
1593 | + 'namespace' => 'core', |
|
1594 | + 'area' => 'session', |
|
1595 | + 'editedon' => null, |
|
1596 | 1596 | ), '', true, true); |
1597 | 1597 | $settings['anonymous_sessions']= $xpdo->newObject('modSystemSetting'); |
1598 | 1598 | $settings['anonymous_sessions']->fromArray(array ( |
1599 | - 'key' => 'anonymous_sessions', |
|
1600 | - 'value' => true, |
|
1601 | - 'xtype' => 'combo-boolean', |
|
1602 | - 'namespace' => 'core', |
|
1603 | - 'area' => 'session', |
|
1604 | - 'editedon' => null, |
|
1599 | + 'key' => 'anonymous_sessions', |
|
1600 | + 'value' => true, |
|
1601 | + 'xtype' => 'combo-boolean', |
|
1602 | + 'namespace' => 'core', |
|
1603 | + 'area' => 'session', |
|
1604 | + 'editedon' => null, |
|
1605 | 1605 | ), '', true, true); |
1606 | 1606 | $settings['session_cookie_lifetime']= $xpdo->newObject('modSystemSetting'); |
1607 | 1607 | $settings['session_cookie_lifetime']->fromArray(array ( |
1608 | - 'key' => 'session_cookie_lifetime', |
|
1609 | - 'value' => '604800', |
|
1610 | - 'xtype' => 'textfield', |
|
1611 | - 'namespace' => 'core', |
|
1612 | - 'area' => 'session', |
|
1613 | - 'editedon' => null, |
|
1608 | + 'key' => 'session_cookie_lifetime', |
|
1609 | + 'value' => '604800', |
|
1610 | + 'xtype' => 'textfield', |
|
1611 | + 'namespace' => 'core', |
|
1612 | + 'area' => 'session', |
|
1613 | + 'editedon' => null, |
|
1614 | 1614 | ), '', true, true); |
1615 | 1615 | $settings['session_cookie_path']= $xpdo->newObject('modSystemSetting'); |
1616 | 1616 | $settings['session_cookie_path']->fromArray(array ( |
1617 | - 'key' => 'session_cookie_path', |
|
1618 | - 'value' => '', |
|
1619 | - 'xtype' => 'textfield', |
|
1620 | - 'namespace' => 'core', |
|
1621 | - 'area' => 'session', |
|
1622 | - 'editedon' => null, |
|
1617 | + 'key' => 'session_cookie_path', |
|
1618 | + 'value' => '', |
|
1619 | + 'xtype' => 'textfield', |
|
1620 | + 'namespace' => 'core', |
|
1621 | + 'area' => 'session', |
|
1622 | + 'editedon' => null, |
|
1623 | 1623 | ), '', true, true); |
1624 | 1624 | $settings['session_cookie_secure']= $xpdo->newObject('modSystemSetting'); |
1625 | 1625 | $settings['session_cookie_secure']->fromArray(array ( |
1626 | - 'key' => 'session_cookie_secure', |
|
1627 | - 'value' => false, |
|
1628 | - 'xtype' => 'combo-boolean', |
|
1629 | - 'namespace' => 'core', |
|
1630 | - 'area' => 'session', |
|
1631 | - 'editedon' => null, |
|
1626 | + 'key' => 'session_cookie_secure', |
|
1627 | + 'value' => false, |
|
1628 | + 'xtype' => 'combo-boolean', |
|
1629 | + 'namespace' => 'core', |
|
1630 | + 'area' => 'session', |
|
1631 | + 'editedon' => null, |
|
1632 | 1632 | ), '', true, true); |
1633 | 1633 | $settings['session_cookie_httponly']= $xpdo->newObject('modSystemSetting'); |
1634 | 1634 | $settings['session_cookie_httponly']->fromArray(array ( |
1635 | - 'key' => 'session_cookie_httponly', |
|
1636 | - 'value' => true, |
|
1637 | - 'xtype' => 'combo-boolean', |
|
1638 | - 'namespace' => 'core', |
|
1639 | - 'area' => 'session', |
|
1640 | - 'editedon' => null, |
|
1635 | + 'key' => 'session_cookie_httponly', |
|
1636 | + 'value' => true, |
|
1637 | + 'xtype' => 'combo-boolean', |
|
1638 | + 'namespace' => 'core', |
|
1639 | + 'area' => 'session', |
|
1640 | + 'editedon' => null, |
|
1641 | 1641 | ), '', true, true); |
1642 | 1642 | $settings['session_gc_maxlifetime']= $xpdo->newObject('modSystemSetting'); |
1643 | 1643 | $settings['session_gc_maxlifetime']->fromArray(array ( |
1644 | - 'key' => 'session_gc_maxlifetime', |
|
1645 | - 'value' => '604800', |
|
1646 | - 'xtype' => 'textfield', |
|
1647 | - 'namespace' => 'core', |
|
1648 | - 'area' => 'session', |
|
1649 | - 'editedon' => null, |
|
1644 | + 'key' => 'session_gc_maxlifetime', |
|
1645 | + 'value' => '604800', |
|
1646 | + 'xtype' => 'textfield', |
|
1647 | + 'namespace' => 'core', |
|
1648 | + 'area' => 'session', |
|
1649 | + 'editedon' => null, |
|
1650 | 1650 | ), '', true, true); |
1651 | 1651 | $settings['session_handler_class']= $xpdo->newObject('modSystemSetting'); |
1652 | 1652 | $settings['session_handler_class']->fromArray(array ( |
1653 | - 'key' => 'session_handler_class', |
|
1654 | - 'value' => 'modSessionHandler', |
|
1655 | - 'xtype' => 'textfield', |
|
1656 | - 'namespace' => 'core', |
|
1657 | - 'area' => 'session', |
|
1658 | - 'editedon' => null, |
|
1653 | + 'key' => 'session_handler_class', |
|
1654 | + 'value' => 'modSessionHandler', |
|
1655 | + 'xtype' => 'textfield', |
|
1656 | + 'namespace' => 'core', |
|
1657 | + 'area' => 'session', |
|
1658 | + 'editedon' => null, |
|
1659 | 1659 | ), '', true, true); |
1660 | 1660 | $settings['session_name']= $xpdo->newObject('modSystemSetting'); |
1661 | 1661 | $settings['session_name']->fromArray(array ( |
1662 | - 'key' => 'session_name', |
|
1663 | - 'value' => '', |
|
1664 | - 'xtype' => 'textfield', |
|
1665 | - 'namespace' => 'core', |
|
1666 | - 'area' => 'session', |
|
1667 | - 'editedon' => null, |
|
1662 | + 'key' => 'session_name', |
|
1663 | + 'value' => '', |
|
1664 | + 'xtype' => 'textfield', |
|
1665 | + 'namespace' => 'core', |
|
1666 | + 'area' => 'session', |
|
1667 | + 'editedon' => null, |
|
1668 | 1668 | ), '', true, true); |
1669 | 1669 | $settings['set_header']= $xpdo->newObject('modSystemSetting'); |
1670 | 1670 | $settings['set_header']->fromArray(array ( |
1671 | - 'key' => 'set_header', |
|
1672 | - 'value' => '1', |
|
1673 | - 'xtype' => 'combo-boolean', |
|
1674 | - 'namespace' => 'core', |
|
1675 | - 'area' => 'system', |
|
1676 | - 'editedon' => null, |
|
1671 | + 'key' => 'set_header', |
|
1672 | + 'value' => '1', |
|
1673 | + 'xtype' => 'combo-boolean', |
|
1674 | + 'namespace' => 'core', |
|
1675 | + 'area' => 'system', |
|
1676 | + 'editedon' => null, |
|
1677 | 1677 | ), '', true, true); |
1678 | 1678 | $settings['send_poweredby_header']= $xpdo->newObject('modSystemSetting'); |
1679 | 1679 | $settings['send_poweredby_header']->fromArray(array ( |
@@ -1686,17 +1686,17 @@ discard block |
||
1686 | 1686 | ), '', true, true); |
1687 | 1687 | $settings['show_tv_categories_header']= $xpdo->newObject('modSystemSetting'); |
1688 | 1688 | $settings['show_tv_categories_header']->fromArray(array ( |
1689 | - 'key' => 'show_tv_categories_header', |
|
1690 | - 'value' => true, |
|
1691 | - 'xtype' => 'combo-boolean', |
|
1692 | - 'namespace' => 'core', |
|
1693 | - 'area' => 'manager', |
|
1694 | - 'editedon' => null, |
|
1689 | + 'key' => 'show_tv_categories_header', |
|
1690 | + 'value' => true, |
|
1691 | + 'xtype' => 'combo-boolean', |
|
1692 | + 'namespace' => 'core', |
|
1693 | + 'area' => 'manager', |
|
1694 | + 'editedon' => null, |
|
1695 | 1695 | ), '', true, true); |
1696 | 1696 | $settings['signupemail_message']= $xpdo->newObject('modSystemSetting'); |
1697 | 1697 | $settings['signupemail_message']->fromArray(array ( |
1698 | - 'key' => 'signupemail_message', |
|
1699 | - 'value' => '<p>Hello [[+uid]],</p> |
|
1698 | + 'key' => 'signupemail_message', |
|
1699 | + 'value' => '<p>Hello [[+uid]],</p> |
|
1700 | 1700 | <p>Here are your login details for the [[+sname]] MODX Manager:</p> |
1701 | 1701 | |
1702 | 1702 | <p> |
@@ -1707,73 +1707,73 @@ discard block |
||
1707 | 1707 | <p>Once you log into the MODX Manager at [[+surl]], you can change your password.</p> |
1708 | 1708 | |
1709 | 1709 | <p>Regards,<br />Site Administrator</p>', |
1710 | - 'xtype' => 'textarea', |
|
1711 | - 'namespace' => 'core', |
|
1712 | - 'area' => 'authentication', |
|
1713 | - 'editedon' => null, |
|
1710 | + 'xtype' => 'textarea', |
|
1711 | + 'namespace' => 'core', |
|
1712 | + 'area' => 'authentication', |
|
1713 | + 'editedon' => null, |
|
1714 | 1714 | ), '', true, true); |
1715 | 1715 | $settings['site_name']= $xpdo->newObject('modSystemSetting'); |
1716 | 1716 | $settings['site_name']->fromArray(array ( |
1717 | - 'key' => 'site_name', |
|
1718 | - 'value' => 'MODX Revolution', |
|
1719 | - 'xtype' => 'textfield', |
|
1720 | - 'namespace' => 'core', |
|
1721 | - 'area' => 'site', |
|
1722 | - 'editedon' => null, |
|
1717 | + 'key' => 'site_name', |
|
1718 | + 'value' => 'MODX Revolution', |
|
1719 | + 'xtype' => 'textfield', |
|
1720 | + 'namespace' => 'core', |
|
1721 | + 'area' => 'site', |
|
1722 | + 'editedon' => null, |
|
1723 | 1723 | ), '', true, true); |
1724 | 1724 | $settings['site_start']= $xpdo->newObject('modSystemSetting'); |
1725 | 1725 | $settings['site_start']->fromArray(array ( |
1726 | - 'key' => 'site_start', |
|
1727 | - 'value' => '1', |
|
1728 | - 'xtype' => 'textfield', |
|
1729 | - 'namespace' => 'core', |
|
1730 | - 'area' => 'site', |
|
1731 | - 'editedon' => null, |
|
1726 | + 'key' => 'site_start', |
|
1727 | + 'value' => '1', |
|
1728 | + 'xtype' => 'textfield', |
|
1729 | + 'namespace' => 'core', |
|
1730 | + 'area' => 'site', |
|
1731 | + 'editedon' => null, |
|
1732 | 1732 | ), '', true, true); |
1733 | 1733 | $settings['site_status']= $xpdo->newObject('modSystemSetting'); |
1734 | 1734 | $settings['site_status']->fromArray(array ( |
1735 | - 'key' => 'site_status', |
|
1736 | - 'value' => '1', |
|
1737 | - 'xtype' => 'combo-boolean', |
|
1738 | - 'namespace' => 'core', |
|
1739 | - 'area' => 'site', |
|
1740 | - 'editedon' => null, |
|
1735 | + 'key' => 'site_status', |
|
1736 | + 'value' => '1', |
|
1737 | + 'xtype' => 'combo-boolean', |
|
1738 | + 'namespace' => 'core', |
|
1739 | + 'area' => 'site', |
|
1740 | + 'editedon' => null, |
|
1741 | 1741 | ), '', true, true); |
1742 | 1742 | $settings['site_unavailable_message']= $xpdo->newObject('modSystemSetting'); |
1743 | 1743 | $settings['site_unavailable_message']->fromArray(array ( |
1744 | - 'key' => 'site_unavailable_message', |
|
1745 | - 'value' => 'The site is currently unavailable', |
|
1746 | - 'xtype' => 'textfield', |
|
1747 | - 'namespace' => 'core', |
|
1748 | - 'area' => 'site', |
|
1749 | - 'editedon' => null, |
|
1744 | + 'key' => 'site_unavailable_message', |
|
1745 | + 'value' => 'The site is currently unavailable', |
|
1746 | + 'xtype' => 'textfield', |
|
1747 | + 'namespace' => 'core', |
|
1748 | + 'area' => 'site', |
|
1749 | + 'editedon' => null, |
|
1750 | 1750 | ), '', true, true); |
1751 | 1751 | $settings['site_unavailable_page']= $xpdo->newObject('modSystemSetting'); |
1752 | 1752 | $settings['site_unavailable_page']->fromArray(array ( |
1753 | - 'key' => 'site_unavailable_page', |
|
1754 | - 'value' => '0', |
|
1755 | - 'xtype' => 'textfield', |
|
1756 | - 'namespace' => 'core', |
|
1757 | - 'area' => 'site', |
|
1758 | - 'editedon' => null, |
|
1753 | + 'key' => 'site_unavailable_page', |
|
1754 | + 'value' => '0', |
|
1755 | + 'xtype' => 'textfield', |
|
1756 | + 'namespace' => 'core', |
|
1757 | + 'area' => 'site', |
|
1758 | + 'editedon' => null, |
|
1759 | 1759 | ), '', true, true); |
1760 | 1760 | $settings['strip_image_paths']= $xpdo->newObject('modSystemSetting'); |
1761 | 1761 | $settings['strip_image_paths']->fromArray(array ( |
1762 | - 'key' => 'strip_image_paths', |
|
1763 | - 'value' => '1', |
|
1764 | - 'xtype' => 'combo-boolean', |
|
1765 | - 'namespace' => 'core', |
|
1766 | - 'area' => 'file', |
|
1767 | - 'editedon' => null, |
|
1762 | + 'key' => 'strip_image_paths', |
|
1763 | + 'value' => '1', |
|
1764 | + 'xtype' => 'combo-boolean', |
|
1765 | + 'namespace' => 'core', |
|
1766 | + 'area' => 'file', |
|
1767 | + 'editedon' => null, |
|
1768 | 1768 | ), '', true, true); |
1769 | 1769 | $settings['symlink_merge_fields']= $xpdo->newObject('modSystemSetting'); |
1770 | 1770 | $settings['symlink_merge_fields']->fromArray(array ( |
1771 | - 'key' => 'symlink_merge_fields', |
|
1772 | - 'value' => '1', |
|
1773 | - 'xtype' => 'combo-boolean', |
|
1774 | - 'namespace' => 'core', |
|
1775 | - 'area' => 'site', |
|
1776 | - 'editedon' => null, |
|
1771 | + 'key' => 'symlink_merge_fields', |
|
1772 | + 'value' => '1', |
|
1773 | + 'xtype' => 'combo-boolean', |
|
1774 | + 'namespace' => 'core', |
|
1775 | + 'area' => 'site', |
|
1776 | + 'editedon' => null, |
|
1777 | 1777 | ), '', true, true); |
1778 | 1778 | $settings['syncsite_default']= $xpdo->newObject('modSystemSetting'); |
1779 | 1779 | $settings['syncsite_default']->fromArray(array ( |
@@ -1786,152 +1786,152 @@ discard block |
||
1786 | 1786 | ), '', true, true); |
1787 | 1787 | $settings['topmenu_show_descriptions']= $xpdo->newObject('modSystemSetting'); |
1788 | 1788 | $settings['topmenu_show_descriptions']->fromArray(array ( |
1789 | - 'key' => 'topmenu_show_descriptions', |
|
1790 | - 'value' => 1, |
|
1791 | - 'xtype' => 'combo-boolean', |
|
1792 | - 'namespace' => 'core', |
|
1793 | - 'area' => 'manager', |
|
1794 | - 'editedon' => null, |
|
1789 | + 'key' => 'topmenu_show_descriptions', |
|
1790 | + 'value' => 1, |
|
1791 | + 'xtype' => 'combo-boolean', |
|
1792 | + 'namespace' => 'core', |
|
1793 | + 'area' => 'manager', |
|
1794 | + 'editedon' => null, |
|
1795 | 1795 | ), '', true, true); |
1796 | 1796 | $settings['tree_default_sort']= $xpdo->newObject('modSystemSetting'); |
1797 | 1797 | $settings['tree_default_sort']->fromArray(array ( |
1798 | - 'key' => 'tree_default_sort', |
|
1799 | - 'value' => 'menuindex', |
|
1800 | - 'xtype' => 'textfield', |
|
1801 | - 'namespace' => 'core', |
|
1802 | - 'area' => 'manager', |
|
1803 | - 'editedon' => null, |
|
1798 | + 'key' => 'tree_default_sort', |
|
1799 | + 'value' => 'menuindex', |
|
1800 | + 'xtype' => 'textfield', |
|
1801 | + 'namespace' => 'core', |
|
1802 | + 'area' => 'manager', |
|
1803 | + 'editedon' => null, |
|
1804 | 1804 | ), '', true, true); |
1805 | 1805 | $settings['tree_root_id']= $xpdo->newObject('modSystemSetting'); |
1806 | 1806 | $settings['tree_root_id']->fromArray(array ( |
1807 | - 'key' => 'tree_root_id', |
|
1808 | - 'value' => '0', |
|
1809 | - 'xtype' => 'numberfield', |
|
1810 | - 'namespace' => 'core', |
|
1811 | - 'area' => 'manager', |
|
1812 | - 'editedon' => null, |
|
1807 | + 'key' => 'tree_root_id', |
|
1808 | + 'value' => '0', |
|
1809 | + 'xtype' => 'numberfield', |
|
1810 | + 'namespace' => 'core', |
|
1811 | + 'area' => 'manager', |
|
1812 | + 'editedon' => null, |
|
1813 | 1813 | ), '', true, true); |
1814 | 1814 | $settings['tvs_below_content']= $xpdo->newObject('modSystemSetting'); |
1815 | 1815 | $settings['tvs_below_content']->fromArray(array ( |
1816 | - 'key' => 'tvs_below_content', |
|
1817 | - 'value' => 0, |
|
1818 | - 'xtype' => 'combo-boolean', |
|
1819 | - 'namespace' => 'core', |
|
1820 | - 'area' => 'manager', |
|
1821 | - 'editedon' => null, |
|
1816 | + 'key' => 'tvs_below_content', |
|
1817 | + 'value' => 0, |
|
1818 | + 'xtype' => 'combo-boolean', |
|
1819 | + 'namespace' => 'core', |
|
1820 | + 'area' => 'manager', |
|
1821 | + 'editedon' => null, |
|
1822 | 1822 | ), '', true, true); |
1823 | 1823 | $settings['udperms_allowroot']= $xpdo->newObject('modSystemSetting'); |
1824 | 1824 | $settings['udperms_allowroot']->fromArray(array ( |
1825 | - 'key' => 'udperms_allowroot', |
|
1826 | - 'value' => false, |
|
1827 | - 'xtype' => 'combo-boolean', |
|
1828 | - 'namespace' => 'core', |
|
1829 | - 'area' => 'authentication', |
|
1830 | - 'editedon' => null, |
|
1825 | + 'key' => 'udperms_allowroot', |
|
1826 | + 'value' => false, |
|
1827 | + 'xtype' => 'combo-boolean', |
|
1828 | + 'namespace' => 'core', |
|
1829 | + 'area' => 'authentication', |
|
1830 | + 'editedon' => null, |
|
1831 | 1831 | ), '', true, true); |
1832 | 1832 | $settings['unauthorized_page']= $xpdo->newObject('modSystemSetting'); |
1833 | 1833 | $settings['unauthorized_page']->fromArray(array ( |
1834 | - 'key' => 'unauthorized_page', |
|
1835 | - 'value' => '1', |
|
1836 | - 'xtype' => 'textfield', |
|
1837 | - 'namespace' => 'core', |
|
1838 | - 'area' => 'site', |
|
1839 | - 'editedon' => null, |
|
1834 | + 'key' => 'unauthorized_page', |
|
1835 | + 'value' => '1', |
|
1836 | + 'xtype' => 'textfield', |
|
1837 | + 'namespace' => 'core', |
|
1838 | + 'area' => 'site', |
|
1839 | + 'editedon' => null, |
|
1840 | 1840 | ), '', true, true); |
1841 | 1841 | $settings['upload_files']= $xpdo->newObject('modSystemSetting'); |
1842 | 1842 | $settings['upload_files']->fromArray(array ( |
1843 | - 'key' => 'upload_files', |
|
1844 | - 'value' => 'txt,html,htm,xml,js,css,zip,gz,rar,z,tgz,tar,mp3,mp4,aac,wav,au,wmv,avi,mpg,mpeg,pdf,doc,docx,xls,xlsx,ppt,pptx,jpg,jpeg,png,tiff,svg,svgz,gif,psd,ico,bmp,odt,ods,odp,odb,odg,odf,md,ttf,woff,eot,scss,less,css.map', |
|
1845 | - 'xtype' => 'textfield', |
|
1846 | - 'namespace' => 'core', |
|
1847 | - 'area' => 'file', |
|
1848 | - 'editedon' => null, |
|
1843 | + 'key' => 'upload_files', |
|
1844 | + 'value' => 'txt,html,htm,xml,js,css,zip,gz,rar,z,tgz,tar,mp3,mp4,aac,wav,au,wmv,avi,mpg,mpeg,pdf,doc,docx,xls,xlsx,ppt,pptx,jpg,jpeg,png,tiff,svg,svgz,gif,psd,ico,bmp,odt,ods,odp,odb,odg,odf,md,ttf,woff,eot,scss,less,css.map', |
|
1845 | + 'xtype' => 'textfield', |
|
1846 | + 'namespace' => 'core', |
|
1847 | + 'area' => 'file', |
|
1848 | + 'editedon' => null, |
|
1849 | 1849 | ), '', true, true); |
1850 | 1850 | $settings['upload_flash']= $xpdo->newObject('modSystemSetting'); |
1851 | 1851 | $settings['upload_flash']->fromArray(array ( |
1852 | - 'key' => 'upload_flash', |
|
1853 | - 'value' => 'swf,fla', |
|
1854 | - 'xtype' => 'textfield', |
|
1855 | - 'namespace' => 'core', |
|
1856 | - 'area' => 'file', |
|
1857 | - 'editedon' => null, |
|
1852 | + 'key' => 'upload_flash', |
|
1853 | + 'value' => 'swf,fla', |
|
1854 | + 'xtype' => 'textfield', |
|
1855 | + 'namespace' => 'core', |
|
1856 | + 'area' => 'file', |
|
1857 | + 'editedon' => null, |
|
1858 | 1858 | ), '', true, true); |
1859 | 1859 | $settings['upload_images']= $xpdo->newObject('modSystemSetting'); |
1860 | 1860 | $settings['upload_images']->fromArray(array ( |
1861 | - 'key' => 'upload_images', |
|
1862 | - 'value' => 'jpg,jpeg,png,gif,psd,ico,bmp,tiff,svg,svgz', |
|
1863 | - 'xtype' => 'textfield', |
|
1864 | - 'namespace' => 'core', |
|
1865 | - 'area' => 'file', |
|
1866 | - 'editedon' => null, |
|
1861 | + 'key' => 'upload_images', |
|
1862 | + 'value' => 'jpg,jpeg,png,gif,psd,ico,bmp,tiff,svg,svgz', |
|
1863 | + 'xtype' => 'textfield', |
|
1864 | + 'namespace' => 'core', |
|
1865 | + 'area' => 'file', |
|
1866 | + 'editedon' => null, |
|
1867 | 1867 | ), '', true, true); |
1868 | 1868 | $settings['upload_maxsize']= $xpdo->newObject('modSystemSetting'); |
1869 | 1869 | $settings['upload_maxsize']->fromArray(array ( |
1870 | - 'key' => 'upload_maxsize', |
|
1871 | - 'value' => '1048576', |
|
1872 | - 'xtype' => 'textfield', |
|
1873 | - 'namespace' => 'core', |
|
1874 | - 'area' => 'file', |
|
1875 | - 'editedon' => null, |
|
1870 | + 'key' => 'upload_maxsize', |
|
1871 | + 'value' => '1048576', |
|
1872 | + 'xtype' => 'textfield', |
|
1873 | + 'namespace' => 'core', |
|
1874 | + 'area' => 'file', |
|
1875 | + 'editedon' => null, |
|
1876 | 1876 | ), '', true, true); |
1877 | 1877 | $settings['upload_media']= $xpdo->newObject('modSystemSetting'); |
1878 | 1878 | $settings['upload_media']->fromArray(array ( |
1879 | - 'key' => 'upload_media', |
|
1880 | - 'value' => 'mp3,wav,au,wmv,avi,mpg,mpeg', |
|
1881 | - 'xtype' => 'textfield', |
|
1882 | - 'namespace' => 'core', |
|
1883 | - 'area' => 'file', |
|
1884 | - 'editedon' => null, |
|
1879 | + 'key' => 'upload_media', |
|
1880 | + 'value' => 'mp3,wav,au,wmv,avi,mpg,mpeg', |
|
1881 | + 'xtype' => 'textfield', |
|
1882 | + 'namespace' => 'core', |
|
1883 | + 'area' => 'file', |
|
1884 | + 'editedon' => null, |
|
1885 | 1885 | ), '', true, true); |
1886 | 1886 | $settings['use_alias_path']= $xpdo->newObject('modSystemSetting'); |
1887 | 1887 | $settings['use_alias_path']->fromArray(array ( |
1888 | - 'key' => 'use_alias_path', |
|
1889 | - 'value' => '0', |
|
1890 | - 'xtype' => 'combo-boolean', |
|
1891 | - 'namespace' => 'core', |
|
1892 | - 'area' => 'furls', |
|
1893 | - 'editedon' => null, |
|
1888 | + 'key' => 'use_alias_path', |
|
1889 | + 'value' => '0', |
|
1890 | + 'xtype' => 'combo-boolean', |
|
1891 | + 'namespace' => 'core', |
|
1892 | + 'area' => 'furls', |
|
1893 | + 'editedon' => null, |
|
1894 | 1894 | ), '', true, true); |
1895 | 1895 | $settings['use_browser']= $xpdo->newObject('modSystemSetting'); |
1896 | 1896 | $settings['use_browser']->fromArray(array ( |
1897 | - 'key' => 'use_browser', |
|
1898 | - 'value' => '1', |
|
1899 | - 'xtype' => 'combo-boolean', |
|
1900 | - 'namespace' => 'core', |
|
1901 | - 'area' => 'file', |
|
1902 | - 'editedon' => null, |
|
1897 | + 'key' => 'use_browser', |
|
1898 | + 'value' => '1', |
|
1899 | + 'xtype' => 'combo-boolean', |
|
1900 | + 'namespace' => 'core', |
|
1901 | + 'area' => 'file', |
|
1902 | + 'editedon' => null, |
|
1903 | 1903 | ), '', true, true); |
1904 | 1904 | $settings['use_editor']= $xpdo->newObject('modSystemSetting'); |
1905 | 1905 | $settings['use_editor']->fromArray(array ( |
1906 | - 'key' => 'use_editor', |
|
1907 | - 'value' => '1', |
|
1908 | - 'xtype' => 'combo-boolean', |
|
1909 | - 'namespace' => 'core', |
|
1910 | - 'area' => 'editor', |
|
1911 | - 'editedon' => null, |
|
1906 | + 'key' => 'use_editor', |
|
1907 | + 'value' => '1', |
|
1908 | + 'xtype' => 'combo-boolean', |
|
1909 | + 'namespace' => 'core', |
|
1910 | + 'area' => 'editor', |
|
1911 | + 'editedon' => null, |
|
1912 | 1912 | ), '', true, true); |
1913 | 1913 | $settings['use_multibyte']= $xpdo->newObject('modSystemSetting'); |
1914 | 1914 | $settings['use_multibyte']->fromArray(array ( |
1915 | - 'key' => 'use_multibyte', |
|
1916 | - 'value' => false, |
|
1917 | - 'xtype' => 'combo-boolean', |
|
1918 | - 'namespace' => 'core', |
|
1919 | - 'area' => 'language', |
|
1920 | - 'editedon' => null, |
|
1915 | + 'key' => 'use_multibyte', |
|
1916 | + 'value' => false, |
|
1917 | + 'xtype' => 'combo-boolean', |
|
1918 | + 'namespace' => 'core', |
|
1919 | + 'area' => 'language', |
|
1920 | + 'editedon' => null, |
|
1921 | 1921 | ), '', true, true); |
1922 | 1922 | $settings['use_weblink_target']= $xpdo->newObject('modSystemSetting'); |
1923 | 1923 | $settings['use_weblink_target']->fromArray(array ( |
1924 | - 'key' => 'use_weblink_target', |
|
1925 | - 'value' => false, |
|
1926 | - 'xtype' => 'combo-boolean', |
|
1927 | - 'namespace' => 'core', |
|
1928 | - 'area' => 'site', |
|
1929 | - 'editedon' => null, |
|
1924 | + 'key' => 'use_weblink_target', |
|
1925 | + 'value' => false, |
|
1926 | + 'xtype' => 'combo-boolean', |
|
1927 | + 'namespace' => 'core', |
|
1928 | + 'area' => 'site', |
|
1929 | + 'editedon' => null, |
|
1930 | 1930 | ), '', true, true); |
1931 | 1931 | $settings['webpwdreminder_message']= $xpdo->newObject('modSystemSetting'); |
1932 | 1932 | $settings['webpwdreminder_message']->fromArray(array ( |
1933 | - 'key' => 'webpwdreminder_message', |
|
1934 | - 'value' => "<p>Hello [[+uid]],</p> |
|
1933 | + 'key' => 'webpwdreminder_message', |
|
1934 | + 'value' => "<p>Hello [[+uid]],</p> |
|
1935 | 1935 | |
1936 | 1936 | <p>To activate your new password click the following link:</p> |
1937 | 1937 | |
@@ -1945,15 +1945,15 @@ discard block |
||
1945 | 1945 | |
1946 | 1946 | <p>Regards,<br /> |
1947 | 1947 | Site Administrator</p>", |
1948 | - 'xtype' => 'textarea', |
|
1949 | - 'namespace' => 'core', |
|
1950 | - 'area' => 'authentication', |
|
1951 | - 'editedon' => null, |
|
1948 | + 'xtype' => 'textarea', |
|
1949 | + 'namespace' => 'core', |
|
1950 | + 'area' => 'authentication', |
|
1951 | + 'editedon' => null, |
|
1952 | 1952 | ), '', true, true); |
1953 | 1953 | $settings['websignupemail_message']= $xpdo->newObject('modSystemSetting'); |
1954 | 1954 | $settings['websignupemail_message']->fromArray(array ( |
1955 | - 'key' => 'websignupemail_message', |
|
1956 | - 'value' => '<p>Hello [[+uid]],</p> |
|
1955 | + 'key' => 'websignupemail_message', |
|
1956 | + 'value' => '<p>Hello [[+uid]],</p> |
|
1957 | 1957 | |
1958 | 1958 | <p>Here are your login details for [[+sname]]:</p> |
1959 | 1959 | |
@@ -1964,118 +1964,118 @@ discard block |
||
1964 | 1964 | |
1965 | 1965 | <p>Regards,<br /> |
1966 | 1966 | Site Administrator</p>', |
1967 | - 'xtype' => 'textarea', |
|
1968 | - 'namespace' => 'core', |
|
1969 | - 'area' => 'authentication', |
|
1970 | - 'editedon' => null, |
|
1967 | + 'xtype' => 'textarea', |
|
1968 | + 'namespace' => 'core', |
|
1969 | + 'area' => 'authentication', |
|
1970 | + 'editedon' => null, |
|
1971 | 1971 | ), '', true, true); |
1972 | 1972 | $settings['welcome_screen']= $xpdo->newObject('modSystemSetting'); |
1973 | 1973 | $settings['welcome_screen']->fromArray(array ( |
1974 | - 'key' => 'welcome_screen', |
|
1975 | - 'value' => '1', |
|
1976 | - 'xtype' => 'combo-boolean', |
|
1977 | - 'namespace' => 'core', |
|
1978 | - 'area' => 'manager', |
|
1979 | - 'editedon' => null, |
|
1974 | + 'key' => 'welcome_screen', |
|
1975 | + 'value' => '1', |
|
1976 | + 'xtype' => 'combo-boolean', |
|
1977 | + 'namespace' => 'core', |
|
1978 | + 'area' => 'manager', |
|
1979 | + 'editedon' => null, |
|
1980 | 1980 | ), '', true, true); |
1981 | 1981 | $settings['welcome_screen_url']= $xpdo->newObject('modSystemSetting'); |
1982 | 1982 | $settings['welcome_screen_url']->fromArray(array ( |
1983 | - 'key' => 'welcome_screen_url', |
|
1984 | - 'value' => '//misc.modx.com/revolution/welcome.26.html ', |
|
1985 | - 'xtype' => 'textfield', |
|
1986 | - 'namespace' => 'core', |
|
1987 | - 'area' => 'manager', |
|
1988 | - 'editedon' => null, |
|
1983 | + 'key' => 'welcome_screen_url', |
|
1984 | + 'value' => '//misc.modx.com/revolution/welcome.26.html ', |
|
1985 | + 'xtype' => 'textfield', |
|
1986 | + 'namespace' => 'core', |
|
1987 | + 'area' => 'manager', |
|
1988 | + 'editedon' => null, |
|
1989 | 1989 | ), '', true, true); |
1990 | 1990 | $settings['welcome_action']= $xpdo->newObject('modSystemSetting'); |
1991 | 1991 | $settings['welcome_action']->fromArray(array ( |
1992 | - 'key' => 'welcome_action', |
|
1993 | - 'value' => 'welcome', |
|
1994 | - 'xtype' => 'textfield', |
|
1995 | - 'namespace' => 'core', |
|
1996 | - 'area' => 'manager', |
|
1997 | - 'editedon' => null, |
|
1992 | + 'key' => 'welcome_action', |
|
1993 | + 'value' => 'welcome', |
|
1994 | + 'xtype' => 'textfield', |
|
1995 | + 'namespace' => 'core', |
|
1996 | + 'area' => 'manager', |
|
1997 | + 'editedon' => null, |
|
1998 | 1998 | ), '', true, true); |
1999 | 1999 | $settings['welcome_namespace']= $xpdo->newObject('modSystemSetting'); |
2000 | 2000 | $settings['welcome_namespace']->fromArray(array ( |
2001 | - 'key' => 'welcome_namespace', |
|
2002 | - 'value' => 'core', |
|
2003 | - 'xtype' => 'textfield', |
|
2004 | - 'namespace' => 'core', |
|
2005 | - 'area' => 'manager', |
|
2006 | - 'editedon' => null, |
|
2001 | + 'key' => 'welcome_namespace', |
|
2002 | + 'value' => 'core', |
|
2003 | + 'xtype' => 'textfield', |
|
2004 | + 'namespace' => 'core', |
|
2005 | + 'area' => 'manager', |
|
2006 | + 'editedon' => null, |
|
2007 | 2007 | ), '', true, true); |
2008 | 2008 | $settings['which_editor']= $xpdo->newObject('modSystemSetting'); |
2009 | 2009 | $settings['which_editor']->fromArray(array ( |
2010 | - 'key' => 'which_editor', |
|
2011 | - 'value' => '', |
|
2012 | - 'xtype' => 'modx-combo-rte', |
|
2013 | - 'namespace' => 'core', |
|
2014 | - 'area' => 'editor', |
|
2015 | - 'editedon' => null, |
|
2010 | + 'key' => 'which_editor', |
|
2011 | + 'value' => '', |
|
2012 | + 'xtype' => 'modx-combo-rte', |
|
2013 | + 'namespace' => 'core', |
|
2014 | + 'area' => 'editor', |
|
2015 | + 'editedon' => null, |
|
2016 | 2016 | ), '', true, true); |
2017 | 2017 | $settings['which_element_editor']= $xpdo->newObject('modSystemSetting'); |
2018 | 2018 | $settings['which_element_editor']->fromArray(array ( |
2019 | - 'key' => 'which_element_editor', |
|
2020 | - 'value' => '', |
|
2021 | - 'xtype' => 'modx-combo-rte', |
|
2022 | - 'namespace' => 'core', |
|
2023 | - 'area' => 'editor', |
|
2024 | - 'editedon' => null, |
|
2019 | + 'key' => 'which_element_editor', |
|
2020 | + 'value' => '', |
|
2021 | + 'xtype' => 'modx-combo-rte', |
|
2022 | + 'namespace' => 'core', |
|
2023 | + 'area' => 'editor', |
|
2024 | + 'editedon' => null, |
|
2025 | 2025 | ), '', true, true); |
2026 | 2026 | $settings['xhtml_urls']= $xpdo->newObject('modSystemSetting'); |
2027 | 2027 | $settings['xhtml_urls']->fromArray(array ( |
2028 | - 'key' => 'xhtml_urls', |
|
2029 | - 'value' => true, |
|
2030 | - 'xtype' => 'combo-boolean', |
|
2031 | - 'namespace' => 'core', |
|
2032 | - 'area' => 'site', |
|
2033 | - 'editedon' => null, |
|
2028 | + 'key' => 'xhtml_urls', |
|
2029 | + 'value' => true, |
|
2030 | + 'xtype' => 'combo-boolean', |
|
2031 | + 'namespace' => 'core', |
|
2032 | + 'area' => 'site', |
|
2033 | + 'editedon' => null, |
|
2034 | 2034 | ), '', true, true); |
2035 | 2035 | $settings['enable_gravatar']= $xpdo->newObject('modSystemSetting'); |
2036 | 2036 | $settings['enable_gravatar']->fromArray(array ( |
2037 | - 'key' => 'enable_gravatar', |
|
2038 | - 'value' => true, |
|
2039 | - 'xtype' => 'combo-boolean', |
|
2040 | - 'namespace' => 'core', |
|
2041 | - 'area' => 'manager', |
|
2042 | - 'editedon' => null, |
|
2037 | + 'key' => 'enable_gravatar', |
|
2038 | + 'value' => true, |
|
2039 | + 'xtype' => 'combo-boolean', |
|
2040 | + 'namespace' => 'core', |
|
2041 | + 'area' => 'manager', |
|
2042 | + 'editedon' => null, |
|
2043 | 2043 | ), '', true, true); |
2044 | 2044 | $settings['mgr_tree_icon_context']= $xpdo->newObject('modSystemSetting'); |
2045 | 2045 | $settings['mgr_tree_icon_context']->fromArray(array ( |
2046 | - 'key' => 'mgr_tree_icon_context', |
|
2047 | - 'value' => 'tree-context', |
|
2048 | - 'xtype' => 'textfield', |
|
2049 | - 'namespace' => 'core', |
|
2050 | - 'area' => 'manager', |
|
2051 | - 'editedon' => null, |
|
2046 | + 'key' => 'mgr_tree_icon_context', |
|
2047 | + 'value' => 'tree-context', |
|
2048 | + 'xtype' => 'textfield', |
|
2049 | + 'namespace' => 'core', |
|
2050 | + 'area' => 'manager', |
|
2051 | + 'editedon' => null, |
|
2052 | 2052 | ), '', true, true); |
2053 | 2053 | $settings['mgr_source_icon']= $xpdo->newObject('modSystemSetting'); |
2054 | 2054 | $settings['mgr_source_icon']->fromArray(array ( |
2055 | - 'key' => 'mgr_source_icon', |
|
2056 | - 'value' => 'icon-folder-open-o', |
|
2057 | - 'xtype' => 'textfield', |
|
2058 | - 'namespace' => 'core', |
|
2059 | - 'area' => 'manager', |
|
2060 | - 'editedon' => null, |
|
2055 | + 'key' => 'mgr_source_icon', |
|
2056 | + 'value' => 'icon-folder-open-o', |
|
2057 | + 'xtype' => 'textfield', |
|
2058 | + 'namespace' => 'core', |
|
2059 | + 'area' => 'manager', |
|
2060 | + 'editedon' => null, |
|
2061 | 2061 | ), '', true, true); |
2062 | 2062 | $settings['main_nav_parent']= $xpdo->newObject('modSystemSetting'); |
2063 | 2063 | $settings['main_nav_parent']->fromArray(array ( |
2064 | - 'key' => 'main_nav_parent', |
|
2065 | - 'value' => 'topnav', |
|
2066 | - 'xtype' => 'textfield', |
|
2067 | - 'namespace' => 'core', |
|
2068 | - 'area' => 'manager', |
|
2069 | - 'editedon' => null, |
|
2064 | + 'key' => 'main_nav_parent', |
|
2065 | + 'value' => 'topnav', |
|
2066 | + 'xtype' => 'textfield', |
|
2067 | + 'namespace' => 'core', |
|
2068 | + 'area' => 'manager', |
|
2069 | + 'editedon' => null, |
|
2070 | 2070 | ), '', true, true); |
2071 | 2071 | $settings['user_nav_parent']= $xpdo->newObject('modSystemSetting'); |
2072 | 2072 | $settings['user_nav_parent']->fromArray(array ( |
2073 | - 'key' => 'user_nav_parent', |
|
2074 | - 'value' => 'usernav', |
|
2075 | - 'xtype' => 'textfield', |
|
2076 | - 'namespace' => 'core', |
|
2077 | - 'area' => 'manager', |
|
2078 | - 'editedon' => null, |
|
2073 | + 'key' => 'user_nav_parent', |
|
2074 | + 'value' => 'usernav', |
|
2075 | + 'xtype' => 'textfield', |
|
2076 | + 'namespace' => 'core', |
|
2077 | + 'area' => 'manager', |
|
2078 | + 'editedon' => null, |
|
2079 | 2079 | ), '', true, true); |
2080 | 2080 | $settings['auto_isfolder']= $xpdo->newObject('modSystemSetting'); |
2081 | 2081 | $settings['auto_isfolder']->fromArray(array ( |
@@ -6,8 +6,8 @@ discard block |
||
6 | 6 | * @subpackage build |
7 | 7 | */ |
8 | 8 | $settings = array(); |
9 | -$settings['access_category_enabled']= $xpdo->newObject('modSystemSetting'); |
|
10 | -$settings['access_category_enabled']->fromArray(array ( |
|
9 | +$settings['access_category_enabled'] = $xpdo->newObject('modSystemSetting'); |
|
10 | +$settings['access_category_enabled']->fromArray(array( |
|
11 | 11 | 'key' => 'access_category_enabled', |
12 | 12 | 'value' => true, |
13 | 13 | 'xtype' => 'combo-boolean', |
@@ -15,8 +15,8 @@ discard block |
||
15 | 15 | 'area' => 'authentication', |
16 | 16 | 'editedon' => null, |
17 | 17 | ), '', true, true); |
18 | -$settings['access_context_enabled']= $xpdo->newObject('modSystemSetting'); |
|
19 | -$settings['access_context_enabled']->fromArray(array ( |
|
18 | +$settings['access_context_enabled'] = $xpdo->newObject('modSystemSetting'); |
|
19 | +$settings['access_context_enabled']->fromArray(array( |
|
20 | 20 | 'key' => 'access_context_enabled', |
21 | 21 | 'value' => true, |
22 | 22 | 'xtype' => 'combo-boolean', |
@@ -24,8 +24,8 @@ discard block |
||
24 | 24 | 'area' => 'authentication', |
25 | 25 | 'editedon' => null, |
26 | 26 | ), '', true, true); |
27 | -$settings['access_resource_group_enabled']= $xpdo->newObject('modSystemSetting'); |
|
28 | -$settings['access_resource_group_enabled']->fromArray(array ( |
|
27 | +$settings['access_resource_group_enabled'] = $xpdo->newObject('modSystemSetting'); |
|
28 | +$settings['access_resource_group_enabled']->fromArray(array( |
|
29 | 29 | 'key' => 'access_resource_group_enabled', |
30 | 30 | 'value' => true, |
31 | 31 | 'xtype' => 'combo-boolean', |
@@ -33,8 +33,8 @@ discard block |
||
33 | 33 | 'area' => 'authentication', |
34 | 34 | 'editedon' => null, |
35 | 35 | ), '', true, true); |
36 | -$settings['allow_forward_across_contexts']= $xpdo->newObject('modSystemSetting'); |
|
37 | -$settings['allow_forward_across_contexts']->fromArray(array ( |
|
36 | +$settings['allow_forward_across_contexts'] = $xpdo->newObject('modSystemSetting'); |
|
37 | +$settings['allow_forward_across_contexts']->fromArray(array( |
|
38 | 38 | 'key' => 'allow_forward_across_contexts', |
39 | 39 | 'value' => false, |
40 | 40 | 'xtype' => 'combo-boolean', |
@@ -42,8 +42,8 @@ discard block |
||
42 | 42 | 'area' => 'system', |
43 | 43 | 'editedon' => null, |
44 | 44 | ), '', true, true); |
45 | -$settings['allow_manager_login_forgot_password']= $xpdo->newObject('modSystemSetting'); |
|
46 | -$settings['allow_manager_login_forgot_password']->fromArray(array ( |
|
45 | +$settings['allow_manager_login_forgot_password'] = $xpdo->newObject('modSystemSetting'); |
|
46 | +$settings['allow_manager_login_forgot_password']->fromArray(array( |
|
47 | 47 | 'key' => 'allow_manager_login_forgot_password', |
48 | 48 | 'value' => true, |
49 | 49 | 'xtype' => 'combo-boolean', |
@@ -51,8 +51,8 @@ discard block |
||
51 | 51 | 'area' => 'authentication', |
52 | 52 | 'editedon' => null, |
53 | 53 | ), '', true, true); |
54 | -$settings['allow_multiple_emails']= $xpdo->newObject('modSystemSetting'); |
|
55 | -$settings['allow_multiple_emails']->fromArray(array ( |
|
54 | +$settings['allow_multiple_emails'] = $xpdo->newObject('modSystemSetting'); |
|
55 | +$settings['allow_multiple_emails']->fromArray(array( |
|
56 | 56 | 'key' => 'allow_multiple_emails', |
57 | 57 | 'value' => true, |
58 | 58 | 'xtype' => 'combo-boolean', |
@@ -60,8 +60,8 @@ discard block |
||
60 | 60 | 'area' => 'authentication', |
61 | 61 | 'editedon' => null, |
62 | 62 | ), '', true, true); |
63 | -$settings['allow_tags_in_post']= $xpdo->newObject('modSystemSetting'); |
|
64 | -$settings['allow_tags_in_post']->fromArray(array ( |
|
63 | +$settings['allow_tags_in_post'] = $xpdo->newObject('modSystemSetting'); |
|
64 | +$settings['allow_tags_in_post']->fromArray(array( |
|
65 | 65 | 'key' => 'allow_tags_in_post', |
66 | 66 | 'value' => false, |
67 | 67 | 'xtype' => 'combo-boolean', |
@@ -69,8 +69,8 @@ discard block |
||
69 | 69 | 'area' => 'system', |
70 | 70 | 'editedon' => null, |
71 | 71 | ), '', true, true); |
72 | -$settings['archive_with']= $xpdo->newObject('modSystemSetting'); |
|
73 | -$settings['archive_with']->fromArray(array ( |
|
72 | +$settings['archive_with'] = $xpdo->newObject('modSystemSetting'); |
|
73 | +$settings['archive_with']->fromArray(array( |
|
74 | 74 | 'key' => 'archive_with', |
75 | 75 | 'value' => false, |
76 | 76 | 'xtype' => 'combo-boolean', |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | 'area' => 'system', |
79 | 79 | 'editedon' => null, |
80 | 80 | ), '', true, true); |
81 | -$settings['auto_menuindex']= $xpdo->newObject('modSystemSetting'); |
|
82 | -$settings['auto_menuindex']->fromArray(array ( |
|
81 | +$settings['auto_menuindex'] = $xpdo->newObject('modSystemSetting'); |
|
82 | +$settings['auto_menuindex']->fromArray(array( |
|
83 | 83 | 'key' => 'auto_menuindex', |
84 | 84 | 'value' => '1', |
85 | 85 | 'xtype' => 'combo-boolean', |
@@ -87,8 +87,8 @@ discard block |
||
87 | 87 | 'area' => 'site', |
88 | 88 | 'editedon' => null, |
89 | 89 | ), '', true, true); |
90 | -$settings['auto_check_pkg_updates']= $xpdo->newObject('modSystemSetting'); |
|
91 | -$settings['auto_check_pkg_updates']->fromArray(array ( |
|
90 | +$settings['auto_check_pkg_updates'] = $xpdo->newObject('modSystemSetting'); |
|
91 | +$settings['auto_check_pkg_updates']->fromArray(array( |
|
92 | 92 | 'key' => 'auto_check_pkg_updates', |
93 | 93 | 'value' => '1', |
94 | 94 | 'xtype' => 'combo-boolean', |
@@ -96,8 +96,8 @@ discard block |
||
96 | 96 | 'area' => 'system', |
97 | 97 | 'editedon' => null, |
98 | 98 | ), '', true, true); |
99 | -$settings['auto_check_pkg_updates_cache_expire']= $xpdo->newObject('modSystemSetting'); |
|
100 | -$settings['auto_check_pkg_updates_cache_expire']->fromArray(array ( |
|
99 | +$settings['auto_check_pkg_updates_cache_expire'] = $xpdo->newObject('modSystemSetting'); |
|
100 | +$settings['auto_check_pkg_updates_cache_expire']->fromArray(array( |
|
101 | 101 | 'key' => 'auto_check_pkg_updates_cache_expire', |
102 | 102 | 'value' => 15, |
103 | 103 | 'xtype' => 'textfield', |
@@ -105,8 +105,8 @@ discard block |
||
105 | 105 | 'area' => 'system', |
106 | 106 | 'editedon' => null, |
107 | 107 | ), '', true, true); |
108 | -$settings['automatic_alias']= $xpdo->newObject('modSystemSetting'); |
|
109 | -$settings['automatic_alias']->fromArray(array ( |
|
108 | +$settings['automatic_alias'] = $xpdo->newObject('modSystemSetting'); |
|
109 | +$settings['automatic_alias']->fromArray(array( |
|
110 | 110 | 'key' => 'automatic_alias', |
111 | 111 | 'value' => '1', |
112 | 112 | 'xtype' => 'combo-boolean', |
@@ -114,8 +114,8 @@ discard block |
||
114 | 114 | 'area' => 'furls', |
115 | 115 | 'editedon' => null, |
116 | 116 | ), '', true, true); |
117 | -$settings['base_help_url']= $xpdo->newObject('modSystemSetting'); |
|
118 | -$settings['base_help_url']->fromArray(array ( |
|
117 | +$settings['base_help_url'] = $xpdo->newObject('modSystemSetting'); |
|
118 | +$settings['base_help_url']->fromArray(array( |
|
119 | 119 | 'key' => 'base_help_url', |
120 | 120 | 'value' => '//docs.modx.com/display/revolution20/', |
121 | 121 | 'xtype' => 'textfield', |
@@ -123,8 +123,8 @@ discard block |
||
123 | 123 | 'area' => 'manager', |
124 | 124 | 'editedon' => null, |
125 | 125 | ), '', true, true); |
126 | -$settings['blocked_minutes']= $xpdo->newObject('modSystemSetting'); |
|
127 | -$settings['blocked_minutes']->fromArray(array ( |
|
126 | +$settings['blocked_minutes'] = $xpdo->newObject('modSystemSetting'); |
|
127 | +$settings['blocked_minutes']->fromArray(array( |
|
128 | 128 | 'key' => 'blocked_minutes', |
129 | 129 | 'value' => '60', |
130 | 130 | 'xtype' => 'textfield', |
@@ -132,8 +132,8 @@ discard block |
||
132 | 132 | 'area' => 'authentication', |
133 | 133 | 'editedon' => null, |
134 | 134 | ), '', true, true); |
135 | -$settings['cache_action_map']= $xpdo->newObject('modSystemSetting'); |
|
136 | -$settings['cache_action_map']->fromArray(array ( |
|
135 | +$settings['cache_action_map'] = $xpdo->newObject('modSystemSetting'); |
|
136 | +$settings['cache_action_map']->fromArray(array( |
|
137 | 137 | 'key' => 'cache_action_map', |
138 | 138 | 'value' => '1', |
139 | 139 | 'xtype' => 'combo-boolean', |
@@ -141,8 +141,8 @@ discard block |
||
141 | 141 | 'area' => 'caching', |
142 | 142 | 'editedon' => null, |
143 | 143 | ), '', true, true); |
144 | -$settings['cache_alias_map']= $xpdo->newObject('modSystemSetting'); |
|
145 | -$settings['cache_alias_map']->fromArray(array ( |
|
144 | +$settings['cache_alias_map'] = $xpdo->newObject('modSystemSetting'); |
|
145 | +$settings['cache_alias_map']->fromArray(array( |
|
146 | 146 | 'key' => 'cache_alias_map', |
147 | 147 | 'value' => '1', |
148 | 148 | 'xtype' => 'combo-boolean', |
@@ -150,8 +150,8 @@ discard block |
||
150 | 150 | 'area' => 'caching', |
151 | 151 | 'editedon' => null, |
152 | 152 | ), '', true, true); |
153 | -$settings['use_context_resource_table']= $xpdo->newObject('modSystemSetting'); |
|
154 | -$settings['use_context_resource_table']->fromArray(array ( |
|
153 | +$settings['use_context_resource_table'] = $xpdo->newObject('modSystemSetting'); |
|
154 | +$settings['use_context_resource_table']->fromArray(array( |
|
155 | 155 | 'key' => 'use_context_resource_table', |
156 | 156 | 'value' => '1', |
157 | 157 | 'xtype' => 'combo-boolean', |
@@ -159,8 +159,8 @@ discard block |
||
159 | 159 | 'area' => 'caching', |
160 | 160 | 'editedon' => null, |
161 | 161 | ), '', true, true); |
162 | -$settings['cache_context_settings']= $xpdo->newObject('modSystemSetting'); |
|
163 | -$settings['cache_context_settings']->fromArray(array ( |
|
162 | +$settings['cache_context_settings'] = $xpdo->newObject('modSystemSetting'); |
|
163 | +$settings['cache_context_settings']->fromArray(array( |
|
164 | 164 | 'key' => 'cache_context_settings', |
165 | 165 | 'value' => '1', |
166 | 166 | 'xtype' => 'combo-boolean', |
@@ -168,8 +168,8 @@ discard block |
||
168 | 168 | 'area' => 'caching', |
169 | 169 | 'editedon' => null, |
170 | 170 | ), '', true, true); |
171 | -$settings['cache_db']= $xpdo->newObject('modSystemSetting'); |
|
172 | -$settings['cache_db']->fromArray(array ( |
|
171 | +$settings['cache_db'] = $xpdo->newObject('modSystemSetting'); |
|
172 | +$settings['cache_db']->fromArray(array( |
|
173 | 173 | 'key' => 'cache_db', |
174 | 174 | 'value' => '0', |
175 | 175 | 'xtype' => 'combo-boolean', |
@@ -177,8 +177,8 @@ discard block |
||
177 | 177 | 'area' => 'caching', |
178 | 178 | 'editedon' => null, |
179 | 179 | ), '', true, true); |
180 | -$settings['cache_db_expires']= $xpdo->newObject('modSystemSetting'); |
|
181 | -$settings['cache_db_expires']->fromArray(array ( |
|
180 | +$settings['cache_db_expires'] = $xpdo->newObject('modSystemSetting'); |
|
181 | +$settings['cache_db_expires']->fromArray(array( |
|
182 | 182 | 'key' => 'cache_db_expires', |
183 | 183 | 'value' => '0', |
184 | 184 | 'xtype' => 'textfield', |
@@ -186,8 +186,8 @@ discard block |
||
186 | 186 | 'area' => 'caching', |
187 | 187 | 'editedon' => null, |
188 | 188 | ), '', true, true); |
189 | -$settings['cache_db_session']= $xpdo->newObject('modSystemSetting'); |
|
190 | -$settings['cache_db_session']->fromArray(array ( |
|
189 | +$settings['cache_db_session'] = $xpdo->newObject('modSystemSetting'); |
|
190 | +$settings['cache_db_session']->fromArray(array( |
|
191 | 191 | 'key' => 'cache_db_session', |
192 | 192 | 'value' => '0', |
193 | 193 | 'xtype' => 'combo-boolean', |
@@ -195,8 +195,8 @@ discard block |
||
195 | 195 | 'area' => 'caching', |
196 | 196 | 'editedon' => null, |
197 | 197 | ), '', true, true); |
198 | -$settings['cache_db_session_lifetime']= $xpdo->newObject('modSystemSetting'); |
|
199 | -$settings['cache_db_session_lifetime']->fromArray(array ( |
|
198 | +$settings['cache_db_session_lifetime'] = $xpdo->newObject('modSystemSetting'); |
|
199 | +$settings['cache_db_session_lifetime']->fromArray(array( |
|
200 | 200 | 'key' => 'cache_db_session_lifetime', |
201 | 201 | 'value' => '', |
202 | 202 | 'xtype' => 'textfield', |
@@ -204,8 +204,8 @@ discard block |
||
204 | 204 | 'area' => 'caching', |
205 | 205 | 'editedon' => null, |
206 | 206 | ), '', true, true); |
207 | -$settings['cache_default']= $xpdo->newObject('modSystemSetting'); |
|
208 | -$settings['cache_default']->fromArray(array ( |
|
207 | +$settings['cache_default'] = $xpdo->newObject('modSystemSetting'); |
|
208 | +$settings['cache_default']->fromArray(array( |
|
209 | 209 | 'key' => 'cache_default', |
210 | 210 | 'value' => '1', |
211 | 211 | 'xtype' => 'combo-boolean', |
@@ -213,8 +213,8 @@ discard block |
||
213 | 213 | 'area' => 'caching', |
214 | 214 | 'editedon' => null, |
215 | 215 | ), '', true, true); |
216 | -$settings['cache_disabled']= $xpdo->newObject('modSystemSetting'); |
|
217 | -$settings['cache_disabled']->fromArray(array ( |
|
216 | +$settings['cache_disabled'] = $xpdo->newObject('modSystemSetting'); |
|
217 | +$settings['cache_disabled']->fromArray(array( |
|
218 | 218 | 'key' => 'cache_disabled', |
219 | 219 | 'value' => '0', |
220 | 220 | 'xtype' => 'combo-boolean', |
@@ -222,8 +222,8 @@ discard block |
||
222 | 222 | 'area' => 'caching', |
223 | 223 | 'editedon' => null, |
224 | 224 | ), '', true, true); |
225 | -$settings['cache_expires']= $xpdo->newObject('modSystemSetting'); |
|
226 | -$settings['cache_expires']->fromArray(array ( |
|
225 | +$settings['cache_expires'] = $xpdo->newObject('modSystemSetting'); |
|
226 | +$settings['cache_expires']->fromArray(array( |
|
227 | 227 | 'key' => 'cache_expires', |
228 | 228 | 'value' => '0', |
229 | 229 | 'xtype' => 'textfield', |
@@ -231,8 +231,8 @@ discard block |
||
231 | 231 | 'area' => 'caching', |
232 | 232 | 'editedon' => null, |
233 | 233 | ), '', true, true); |
234 | -$settings['cache_format']= $xpdo->newObject('modSystemSetting'); |
|
235 | -$settings['cache_format']->fromArray(array ( |
|
234 | +$settings['cache_format'] = $xpdo->newObject('modSystemSetting'); |
|
235 | +$settings['cache_format']->fromArray(array( |
|
236 | 236 | 'key' => 'cache_format', |
237 | 237 | 'value' => '0', |
238 | 238 | 'xtype' => 'textfield', |
@@ -240,8 +240,8 @@ discard block |
||
240 | 240 | 'area' => 'caching', |
241 | 241 | 'editedon' => null, |
242 | 242 | ), '', true, true); |
243 | -$settings['cache_handler']= $xpdo->newObject('modSystemSetting'); |
|
244 | -$settings['cache_handler']->fromArray(array ( |
|
243 | +$settings['cache_handler'] = $xpdo->newObject('modSystemSetting'); |
|
244 | +$settings['cache_handler']->fromArray(array( |
|
245 | 245 | 'key' => 'cache_handler', |
246 | 246 | 'value' => 'xPDO\Cache\xPDOFileCache', |
247 | 247 | 'xtype' => 'textfield', |
@@ -249,8 +249,8 @@ discard block |
||
249 | 249 | 'area' => 'caching', |
250 | 250 | 'editedon' => null, |
251 | 251 | ), '', true, true); |
252 | -$settings['cache_lang_js']= $xpdo->newObject('modSystemSetting'); |
|
253 | -$settings['cache_lang_js']->fromArray(array ( |
|
252 | +$settings['cache_lang_js'] = $xpdo->newObject('modSystemSetting'); |
|
253 | +$settings['cache_lang_js']->fromArray(array( |
|
254 | 254 | 'key' => 'cache_lang_js', |
255 | 255 | 'value' => '1', |
256 | 256 | 'xtype' => 'combo-boolean', |
@@ -258,8 +258,8 @@ discard block |
||
258 | 258 | 'area' => 'caching', |
259 | 259 | 'editedon' => null, |
260 | 260 | ), '', true, true); |
261 | -$settings['cache_lexicon_topics']= $xpdo->newObject('modSystemSetting'); |
|
262 | -$settings['cache_lexicon_topics']->fromArray(array ( |
|
261 | +$settings['cache_lexicon_topics'] = $xpdo->newObject('modSystemSetting'); |
|
262 | +$settings['cache_lexicon_topics']->fromArray(array( |
|
263 | 263 | 'key' => 'cache_lexicon_topics', |
264 | 264 | 'value' => '1', |
265 | 265 | 'xtype' => 'combo-boolean', |
@@ -267,8 +267,8 @@ discard block |
||
267 | 267 | 'area' => 'caching', |
268 | 268 | 'editedon' => null, |
269 | 269 | ), '', true, true); |
270 | -$settings['cache_noncore_lexicon_topics']= $xpdo->newObject('modSystemSetting'); |
|
271 | -$settings['cache_noncore_lexicon_topics']->fromArray(array ( |
|
270 | +$settings['cache_noncore_lexicon_topics'] = $xpdo->newObject('modSystemSetting'); |
|
271 | +$settings['cache_noncore_lexicon_topics']->fromArray(array( |
|
272 | 272 | 'key' => 'cache_noncore_lexicon_topics', |
273 | 273 | 'value' => '1', |
274 | 274 | 'xtype' => 'combo-boolean', |
@@ -276,8 +276,8 @@ discard block |
||
276 | 276 | 'area' => 'caching', |
277 | 277 | 'editedon' => null, |
278 | 278 | ), '', true, true); |
279 | -$settings['cache_resource']= $xpdo->newObject('modSystemSetting'); |
|
280 | -$settings['cache_resource']->fromArray(array ( |
|
279 | +$settings['cache_resource'] = $xpdo->newObject('modSystemSetting'); |
|
280 | +$settings['cache_resource']->fromArray(array( |
|
281 | 281 | 'key' => 'cache_resource', |
282 | 282 | 'value' => '1', |
283 | 283 | 'xtype' => 'combo-boolean', |
@@ -285,8 +285,8 @@ discard block |
||
285 | 285 | 'area' => 'caching', |
286 | 286 | 'editedon' => null, |
287 | 287 | ), '', true, true); |
288 | -$settings['cache_resource_expires']= $xpdo->newObject('modSystemSetting'); |
|
289 | -$settings['cache_resource_expires']->fromArray(array ( |
|
288 | +$settings['cache_resource_expires'] = $xpdo->newObject('modSystemSetting'); |
|
289 | +$settings['cache_resource_expires']->fromArray(array( |
|
290 | 290 | 'key' => 'cache_resource_expires', |
291 | 291 | 'value' => '0', |
292 | 292 | 'xtype' => 'textfield', |
@@ -294,8 +294,8 @@ discard block |
||
294 | 294 | 'area' => 'caching', |
295 | 295 | 'editedon' => null, |
296 | 296 | ), '', true, true); |
297 | -$settings['cache_scripts']= $xpdo->newObject('modSystemSetting'); |
|
298 | -$settings['cache_scripts']->fromArray(array ( |
|
297 | +$settings['cache_scripts'] = $xpdo->newObject('modSystemSetting'); |
|
298 | +$settings['cache_scripts']->fromArray(array( |
|
299 | 299 | 'key' => 'cache_scripts', |
300 | 300 | 'value' => '1', |
301 | 301 | 'xtype' => 'combo-boolean', |
@@ -303,8 +303,8 @@ discard block |
||
303 | 303 | 'area' => 'caching', |
304 | 304 | 'editedon' => null, |
305 | 305 | ), '', true, true); |
306 | -$settings['cache_system_settings']= $xpdo->newObject('modSystemSetting'); |
|
307 | -$settings['cache_system_settings']->fromArray(array ( |
|
306 | +$settings['cache_system_settings'] = $xpdo->newObject('modSystemSetting'); |
|
307 | +$settings['cache_system_settings']->fromArray(array( |
|
308 | 308 | 'key' => 'cache_system_settings', |
309 | 309 | 'value' => '1', |
310 | 310 | 'xtype' => 'combo-boolean', |
@@ -312,8 +312,8 @@ discard block |
||
312 | 312 | 'area' => 'caching', |
313 | 313 | 'editedon' => null, |
314 | 314 | ), '', true, true); |
315 | -$settings['clear_cache_refresh_trees']= $xpdo->newObject('modSystemSetting'); |
|
316 | -$settings['clear_cache_refresh_trees']->fromArray(array ( |
|
315 | +$settings['clear_cache_refresh_trees'] = $xpdo->newObject('modSystemSetting'); |
|
316 | +$settings['clear_cache_refresh_trees']->fromArray(array( |
|
317 | 317 | 'key' => 'clear_cache_refresh_trees', |
318 | 318 | 'value' => 0, |
319 | 319 | 'xtype' => 'combo-boolean', |
@@ -321,8 +321,8 @@ discard block |
||
321 | 321 | 'area' => 'caching', |
322 | 322 | 'editedon' => null, |
323 | 323 | ), '', true, true); |
324 | -$settings['compress_css']= $xpdo->newObject('modSystemSetting'); |
|
325 | -$settings['compress_css']->fromArray(array ( |
|
324 | +$settings['compress_css'] = $xpdo->newObject('modSystemSetting'); |
|
325 | +$settings['compress_css']->fromArray(array( |
|
326 | 326 | 'key' => 'compress_css', |
327 | 327 | 'value' => true, |
328 | 328 | 'xtype' => 'combo-boolean', |
@@ -330,8 +330,8 @@ discard block |
||
330 | 330 | 'area' => 'manager', |
331 | 331 | 'editedon' => null, |
332 | 332 | ), '', true, true); |
333 | -$settings['compress_js']= $xpdo->newObject('modSystemSetting'); |
|
334 | -$settings['compress_js']->fromArray(array ( |
|
333 | +$settings['compress_js'] = $xpdo->newObject('modSystemSetting'); |
|
334 | +$settings['compress_js']->fromArray(array( |
|
335 | 335 | 'key' => 'compress_js', |
336 | 336 | 'value' => true, |
337 | 337 | 'xtype' => 'combo-boolean', |
@@ -339,8 +339,8 @@ discard block |
||
339 | 339 | 'area' => 'manager', |
340 | 340 | 'editedon' => null, |
341 | 341 | ), '', true, true); |
342 | -$settings['compress_js_max_files']= $xpdo->newObject('modSystemSetting'); |
|
343 | -$settings['compress_js_max_files']->fromArray(array ( |
|
342 | +$settings['compress_js_max_files'] = $xpdo->newObject('modSystemSetting'); |
|
343 | +$settings['compress_js_max_files']->fromArray(array( |
|
344 | 344 | 'key' => 'compress_js_max_files', |
345 | 345 | 'value' => 10, |
346 | 346 | 'xtype' => 'textfield', |
@@ -348,8 +348,8 @@ discard block |
||
348 | 348 | 'area' => 'manager', |
349 | 349 | 'editedon' => null, |
350 | 350 | ), '', true, true); |
351 | -$settings['confirm_navigation']= $xpdo->newObject('modSystemSetting'); |
|
352 | -$settings['confirm_navigation']->fromArray(array ( |
|
351 | +$settings['confirm_navigation'] = $xpdo->newObject('modSystemSetting'); |
|
352 | +$settings['confirm_navigation']->fromArray(array( |
|
353 | 353 | 'key' => 'confirm_navigation', |
354 | 354 | 'value' => true, |
355 | 355 | 'xtype' => 'combo-boolean', |
@@ -357,8 +357,8 @@ discard block |
||
357 | 357 | 'area' => 'manager', |
358 | 358 | 'editedon' => null, |
359 | 359 | ), '', true, true); |
360 | -$settings['container_suffix']= $xpdo->newObject('modSystemSetting'); |
|
361 | -$settings['container_suffix']->fromArray(array ( |
|
360 | +$settings['container_suffix'] = $xpdo->newObject('modSystemSetting'); |
|
361 | +$settings['container_suffix']->fromArray(array( |
|
362 | 362 | 'key' => 'container_suffix', |
363 | 363 | 'value' => '/', |
364 | 364 | 'xtype' => 'textfield', |
@@ -366,8 +366,8 @@ discard block |
||
366 | 366 | 'area' => 'furls', |
367 | 367 | 'editedon' => null, |
368 | 368 | ), '', true, true); |
369 | -$settings['context_tree_sort']= $xpdo->newObject('modSystemSetting'); |
|
370 | -$settings['context_tree_sort']->fromArray(array ( |
|
369 | +$settings['context_tree_sort'] = $xpdo->newObject('modSystemSetting'); |
|
370 | +$settings['context_tree_sort']->fromArray(array( |
|
371 | 371 | 'key' => 'context_tree_sort', |
372 | 372 | 'value' => true, |
373 | 373 | 'xtype' => 'combo-boolean', |
@@ -375,8 +375,8 @@ discard block |
||
375 | 375 | 'area' => 'manager', |
376 | 376 | 'editedon' => null, |
377 | 377 | ), '', true, true); |
378 | -$settings['context_tree_sortby']= $xpdo->newObject('modSystemSetting'); |
|
379 | -$settings['context_tree_sortby']->fromArray(array ( |
|
378 | +$settings['context_tree_sortby'] = $xpdo->newObject('modSystemSetting'); |
|
379 | +$settings['context_tree_sortby']->fromArray(array( |
|
380 | 380 | 'key' => 'context_tree_sortby', |
381 | 381 | 'value' => 'rank', |
382 | 382 | 'xtype' => 'textfield', |
@@ -384,8 +384,8 @@ discard block |
||
384 | 384 | 'area' => 'manager', |
385 | 385 | 'editedon' => null, |
386 | 386 | ), '', true, true); |
387 | -$settings['context_tree_sortdir']= $xpdo->newObject('modSystemSetting'); |
|
388 | -$settings['context_tree_sortdir']->fromArray(array ( |
|
387 | +$settings['context_tree_sortdir'] = $xpdo->newObject('modSystemSetting'); |
|
388 | +$settings['context_tree_sortdir']->fromArray(array( |
|
389 | 389 | 'key' => 'context_tree_sortdir', |
390 | 390 | 'value' => 'ASC', |
391 | 391 | 'xtype' => 'textfield', |
@@ -393,8 +393,8 @@ discard block |
||
393 | 393 | 'area' => 'manager', |
394 | 394 | 'editedon' => null, |
395 | 395 | ), '', true, true); |
396 | -$settings['cultureKey']= $xpdo->newObject('modSystemSetting'); |
|
397 | -$settings['cultureKey']->fromArray(array ( |
|
396 | +$settings['cultureKey'] = $xpdo->newObject('modSystemSetting'); |
|
397 | +$settings['cultureKey']->fromArray(array( |
|
398 | 398 | 'key' => 'cultureKey', |
399 | 399 | 'value' => 'en', |
400 | 400 | 'xtype' => 'modx-combo-language', |
@@ -402,8 +402,8 @@ discard block |
||
402 | 402 | 'area' => 'language', |
403 | 403 | 'editedon' => null, |
404 | 404 | ), '', true, true); |
405 | -$settings['date_timezone']= $xpdo->newObject('modSystemSetting'); |
|
406 | -$settings['date_timezone']->fromArray(array ( |
|
405 | +$settings['date_timezone'] = $xpdo->newObject('modSystemSetting'); |
|
406 | +$settings['date_timezone']->fromArray(array( |
|
407 | 407 | 'key' => 'date_timezone', |
408 | 408 | 'value' => '', |
409 | 409 | 'xtype' => 'textfield', |
@@ -411,8 +411,8 @@ discard block |
||
411 | 411 | 'area' => 'system', |
412 | 412 | 'editedon' => null, |
413 | 413 | ), '', true, true); |
414 | -$settings['debug']= $xpdo->newObject('modSystemSetting'); |
|
415 | -$settings['debug']->fromArray(array ( |
|
414 | +$settings['debug'] = $xpdo->newObject('modSystemSetting'); |
|
415 | +$settings['debug']->fromArray(array( |
|
416 | 416 | 'key' => 'debug', |
417 | 417 | 'value' => '', |
418 | 418 | 'xtype' => 'textfield', |
@@ -420,8 +420,8 @@ discard block |
||
420 | 420 | 'area' => 'system', |
421 | 421 | 'editedon' => null, |
422 | 422 | ), '', true, true); |
423 | -$settings['default_duplicate_publish_option']= $xpdo->newObject('modSystemSetting'); |
|
424 | -$settings['default_duplicate_publish_option']->fromArray(array ( |
|
423 | +$settings['default_duplicate_publish_option'] = $xpdo->newObject('modSystemSetting'); |
|
424 | +$settings['default_duplicate_publish_option']->fromArray(array( |
|
425 | 425 | 'key' => 'default_duplicate_publish_option', |
426 | 426 | 'value' => 'preserve', |
427 | 427 | 'xtype' => 'textfield', |
@@ -429,8 +429,8 @@ discard block |
||
429 | 429 | 'area' => 'manager', |
430 | 430 | 'editedon' => null, |
431 | 431 | ), '', true, true); |
432 | -$settings['default_media_source']= $xpdo->newObject('modSystemSetting'); |
|
433 | -$settings['default_media_source']->fromArray(array ( |
|
432 | +$settings['default_media_source'] = $xpdo->newObject('modSystemSetting'); |
|
433 | +$settings['default_media_source']->fromArray(array( |
|
434 | 434 | 'key' => 'default_media_source', |
435 | 435 | 'value' => 1, |
436 | 436 | 'xtype' => 'modx-combo-source', |
@@ -438,8 +438,8 @@ discard block |
||
438 | 438 | 'area' => 'manager', |
439 | 439 | 'editedon' => null, |
440 | 440 | ), '', true, true); |
441 | -$settings['default_per_page']= $xpdo->newObject('modSystemSetting'); |
|
442 | -$settings['default_per_page']->fromArray(array ( |
|
441 | +$settings['default_per_page'] = $xpdo->newObject('modSystemSetting'); |
|
442 | +$settings['default_per_page']->fromArray(array( |
|
443 | 443 | 'key' => 'default_per_page', |
444 | 444 | 'value' => '20', |
445 | 445 | 'xtype' => 'textfield', |
@@ -447,8 +447,8 @@ discard block |
||
447 | 447 | 'area' => 'manager', |
448 | 448 | 'editedon' => null, |
449 | 449 | ), '', true, true); |
450 | -$settings['default_context']= $xpdo->newObject('modSystemSetting'); |
|
451 | -$settings['default_context']->fromArray(array ( |
|
450 | +$settings['default_context'] = $xpdo->newObject('modSystemSetting'); |
|
451 | +$settings['default_context']->fromArray(array( |
|
452 | 452 | 'key' => 'default_context', |
453 | 453 | 'value' => 'web', |
454 | 454 | 'xtype' => 'modx-combo-context', |
@@ -456,8 +456,8 @@ discard block |
||
456 | 456 | 'area' => 'site', |
457 | 457 | 'editedon' => null, |
458 | 458 | ), '', true, true); |
459 | -$settings['default_template']= $xpdo->newObject('modSystemSetting'); |
|
460 | -$settings['default_template']->fromArray(array ( |
|
459 | +$settings['default_template'] = $xpdo->newObject('modSystemSetting'); |
|
460 | +$settings['default_template']->fromArray(array( |
|
461 | 461 | 'key' => 'default_template', |
462 | 462 | 'value' => '1', |
463 | 463 | 'xtype' => 'modx-combo-template', |
@@ -465,8 +465,8 @@ discard block |
||
465 | 465 | 'area' => 'site', |
466 | 466 | 'editedon' => null, |
467 | 467 | ), '', true, true); |
468 | -$settings['default_content_type']= $xpdo->newObject('modSystemSetting'); |
|
469 | -$settings['default_content_type']->fromArray(array ( |
|
468 | +$settings['default_content_type'] = $xpdo->newObject('modSystemSetting'); |
|
469 | +$settings['default_content_type']->fromArray(array( |
|
470 | 470 | 'key' => 'default_content_type', |
471 | 471 | 'value' => '1', |
472 | 472 | 'xtype' => 'modx-combo-content-type', |
@@ -474,8 +474,8 @@ discard block |
||
474 | 474 | 'area' => 'site', |
475 | 475 | 'editedon' => null, |
476 | 476 | ), '', true, true); |
477 | -$settings['editor_css_path']= $xpdo->newObject('modSystemSetting'); |
|
478 | -$settings['editor_css_path']->fromArray(array ( |
|
477 | +$settings['editor_css_path'] = $xpdo->newObject('modSystemSetting'); |
|
478 | +$settings['editor_css_path']->fromArray(array( |
|
479 | 479 | 'key' => 'editor_css_path', |
480 | 480 | 'value' => '', |
481 | 481 | 'xtype' => 'textfield', |
@@ -483,8 +483,8 @@ discard block |
||
483 | 483 | 'area' => 'editor', |
484 | 484 | 'editedon' => null, |
485 | 485 | ), '', true, true); |
486 | -$settings['editor_css_selectors']= $xpdo->newObject('modSystemSetting'); |
|
487 | -$settings['editor_css_selectors']->fromArray(array ( |
|
486 | +$settings['editor_css_selectors'] = $xpdo->newObject('modSystemSetting'); |
|
487 | +$settings['editor_css_selectors']->fromArray(array( |
|
488 | 488 | 'key' => 'editor_css_selectors', |
489 | 489 | 'value' => '', |
490 | 490 | 'xtype' => 'textfield', |
@@ -492,8 +492,8 @@ discard block |
||
492 | 492 | 'area' => 'editor', |
493 | 493 | 'editedon' => null, |
494 | 494 | ), '', true, true); |
495 | -$settings['emailsender']= $xpdo->newObject('modSystemSetting'); |
|
496 | -$settings['emailsender']->fromArray(array ( |
|
495 | +$settings['emailsender'] = $xpdo->newObject('modSystemSetting'); |
|
496 | +$settings['emailsender']->fromArray(array( |
|
497 | 497 | 'key' => 'emailsender', |
498 | 498 | 'value' => '[email protected]', |
499 | 499 | 'xtype' => 'textfield', |
@@ -501,8 +501,8 @@ discard block |
||
501 | 501 | 'area' => 'authentication', |
502 | 502 | 'editedon' => null, |
503 | 503 | ), '', true, true); |
504 | -$settings['emailsubject']= $xpdo->newObject('modSystemSetting'); |
|
505 | -$settings['emailsubject']->fromArray(array ( |
|
504 | +$settings['emailsubject'] = $xpdo->newObject('modSystemSetting'); |
|
505 | +$settings['emailsubject']->fromArray(array( |
|
506 | 506 | 'key' => 'emailsubject', |
507 | 507 | 'value' => 'Your login details', |
508 | 508 | 'xtype' => 'textfield', |
@@ -510,8 +510,8 @@ discard block |
||
510 | 510 | 'area' => 'authentication', |
511 | 511 | 'editedon' => null, |
512 | 512 | ), '', true, true); |
513 | -$settings['enable_dragdrop']= $xpdo->newObject('modSystemSetting'); |
|
514 | -$settings['enable_dragdrop']->fromArray(array ( |
|
513 | +$settings['enable_dragdrop'] = $xpdo->newObject('modSystemSetting'); |
|
514 | +$settings['enable_dragdrop']->fromArray(array( |
|
515 | 515 | 'key' => 'enable_dragdrop', |
516 | 516 | 'value' => true, |
517 | 517 | 'xtype' => 'combo-boolean', |
@@ -519,8 +519,8 @@ discard block |
||
519 | 519 | 'area' => 'manager', |
520 | 520 | 'editedon' => null, |
521 | 521 | ), '', true, true); |
522 | -$settings['error_page']= $xpdo->newObject('modSystemSetting'); |
|
523 | -$settings['error_page']->fromArray(array ( |
|
522 | +$settings['error_page'] = $xpdo->newObject('modSystemSetting'); |
|
523 | +$settings['error_page']->fromArray(array( |
|
524 | 524 | 'key' => 'error_page', |
525 | 525 | 'value' => '1', |
526 | 526 | 'xtype' => 'textfield', |
@@ -528,8 +528,8 @@ discard block |
||
528 | 528 | 'area' => 'site', |
529 | 529 | 'editedon' => null, |
530 | 530 | ), '', true, true); |
531 | -$settings['failed_login_attempts']= $xpdo->newObject('modSystemSetting'); |
|
532 | -$settings['failed_login_attempts']->fromArray(array ( |
|
531 | +$settings['failed_login_attempts'] = $xpdo->newObject('modSystemSetting'); |
|
532 | +$settings['failed_login_attempts']->fromArray(array( |
|
533 | 533 | 'key' => 'failed_login_attempts', |
534 | 534 | 'value' => '5', |
535 | 535 | 'xtype' => 'textfield', |
@@ -537,8 +537,8 @@ discard block |
||
537 | 537 | 'area' => 'authentication', |
538 | 538 | 'editedon' => null, |
539 | 539 | ), '', true, true); |
540 | -$settings['fe_editor_lang']= $xpdo->newObject('modSystemSetting'); |
|
541 | -$settings['fe_editor_lang']->fromArray(array ( |
|
540 | +$settings['fe_editor_lang'] = $xpdo->newObject('modSystemSetting'); |
|
541 | +$settings['fe_editor_lang']->fromArray(array( |
|
542 | 542 | 'key' => 'fe_editor_lang', |
543 | 543 | 'value' => 'en', |
544 | 544 | 'xtype' => 'modx-combo-language', |
@@ -546,8 +546,8 @@ discard block |
||
546 | 546 | 'area' => 'language', |
547 | 547 | 'editedon' => null, |
548 | 548 | ), '', true, true); |
549 | -$settings['feed_modx_news']= $xpdo->newObject('modSystemSetting'); |
|
550 | -$settings['feed_modx_news']->fromArray(array ( |
|
549 | +$settings['feed_modx_news'] = $xpdo->newObject('modSystemSetting'); |
|
550 | +$settings['feed_modx_news']->fromArray(array( |
|
551 | 551 | 'key' => 'feed_modx_news', |
552 | 552 | 'value' => 'http://feeds.feedburner.com/modx-announce', |
553 | 553 | 'xtype' => 'textfield', |
@@ -555,8 +555,8 @@ discard block |
||
555 | 555 | 'area' => 'system', |
556 | 556 | 'editedon' => null, |
557 | 557 | ), '', true, true); |
558 | -$settings['feed_modx_news_enabled']= $xpdo->newObject('modSystemSetting'); |
|
559 | -$settings['feed_modx_news_enabled']->fromArray(array ( |
|
558 | +$settings['feed_modx_news_enabled'] = $xpdo->newObject('modSystemSetting'); |
|
559 | +$settings['feed_modx_news_enabled']->fromArray(array( |
|
560 | 560 | 'key' => 'feed_modx_news_enabled', |
561 | 561 | 'value' => '1', |
562 | 562 | 'xtype' => 'combo-boolean', |
@@ -564,8 +564,8 @@ discard block |
||
564 | 564 | 'area' => 'system', |
565 | 565 | 'editedon' => null, |
566 | 566 | ), '', true, true); |
567 | -$settings['feed_modx_security']= $xpdo->newObject('modSystemSetting'); |
|
568 | -$settings['feed_modx_security']->fromArray(array ( |
|
567 | +$settings['feed_modx_security'] = $xpdo->newObject('modSystemSetting'); |
|
568 | +$settings['feed_modx_security']->fromArray(array( |
|
569 | 569 | 'key' => 'feed_modx_security', |
570 | 570 | 'value' => 'http://forums.modx.com/board.xml?board=294', |
571 | 571 | 'xtype' => 'textfield', |
@@ -573,8 +573,8 @@ discard block |
||
573 | 573 | 'area' => 'system', |
574 | 574 | 'editedon' => null, |
575 | 575 | ), '', true, true); |
576 | -$settings['feed_modx_security_enabled']= $xpdo->newObject('modSystemSetting'); |
|
577 | -$settings['feed_modx_security_enabled']->fromArray(array ( |
|
576 | +$settings['feed_modx_security_enabled'] = $xpdo->newObject('modSystemSetting'); |
|
577 | +$settings['feed_modx_security_enabled']->fromArray(array( |
|
578 | 578 | 'key' => 'feed_modx_security_enabled', |
579 | 579 | 'value' => '1', |
580 | 580 | 'xtype' => 'combo-boolean', |
@@ -582,8 +582,8 @@ discard block |
||
582 | 582 | 'area' => 'system', |
583 | 583 | 'editedon' => null, |
584 | 584 | ), '', true, true); |
585 | -$settings['filemanager_path']= $xpdo->newObject('modSystemSetting'); |
|
586 | -$settings['filemanager_path']->fromArray(array ( |
|
585 | +$settings['filemanager_path'] = $xpdo->newObject('modSystemSetting'); |
|
586 | +$settings['filemanager_path']->fromArray(array( |
|
587 | 587 | 'key' => 'filemanager_path', |
588 | 588 | 'value' => '', |
589 | 589 | 'xtype' => 'textfield', |
@@ -591,8 +591,8 @@ discard block |
||
591 | 591 | 'area' => 'file', |
592 | 592 | 'editedon' => null, |
593 | 593 | ), '', true, true); |
594 | -$settings['filemanager_path_relative']= $xpdo->newObject('modSystemSetting'); |
|
595 | -$settings['filemanager_path_relative']->fromArray(array ( |
|
594 | +$settings['filemanager_path_relative'] = $xpdo->newObject('modSystemSetting'); |
|
595 | +$settings['filemanager_path_relative']->fromArray(array( |
|
596 | 596 | 'key' => 'filemanager_path_relative', |
597 | 597 | 'value' => true, |
598 | 598 | 'xtype' => 'combo-boolean', |
@@ -600,8 +600,8 @@ discard block |
||
600 | 600 | 'area' => 'file', |
601 | 601 | 'editedon' => null, |
602 | 602 | ), '', true, true); |
603 | -$settings['filemanager_url']= $xpdo->newObject('modSystemSetting'); |
|
604 | -$settings['filemanager_url']->fromArray(array ( |
|
603 | +$settings['filemanager_url'] = $xpdo->newObject('modSystemSetting'); |
|
604 | +$settings['filemanager_url']->fromArray(array( |
|
605 | 605 | 'key' => 'filemanager_url', |
606 | 606 | 'value' => '', |
607 | 607 | 'xtype' => 'textfield', |
@@ -609,8 +609,8 @@ discard block |
||
609 | 609 | 'area' => 'file', |
610 | 610 | 'editedon' => null, |
611 | 611 | ), '', true, true); |
612 | -$settings['filemanager_url_relative']= $xpdo->newObject('modSystemSetting'); |
|
613 | -$settings['filemanager_url_relative']->fromArray(array ( |
|
612 | +$settings['filemanager_url_relative'] = $xpdo->newObject('modSystemSetting'); |
|
613 | +$settings['filemanager_url_relative']->fromArray(array( |
|
614 | 614 | 'key' => 'filemanager_url_relative', |
615 | 615 | 'value' => true, |
616 | 616 | 'xtype' => 'combo-boolean', |
@@ -618,8 +618,8 @@ discard block |
||
618 | 618 | 'area' => 'file', |
619 | 619 | 'editedon' => null, |
620 | 620 | ), '', true, true); |
621 | -$settings['forgot_login_email']= $xpdo->newObject('modSystemSetting'); |
|
622 | -$settings['forgot_login_email']->fromArray(array ( |
|
621 | +$settings['forgot_login_email'] = $xpdo->newObject('modSystemSetting'); |
|
622 | +$settings['forgot_login_email']->fromArray(array( |
|
623 | 623 | 'key' => 'forgot_login_email', |
624 | 624 | 'value' => '<p>Hello [[+username]],</p> |
625 | 625 | <p>A request for a password reset has been issued for your MODX user. If you sent this, you may follow this link and use this password to login. If you did not send this request, please ignore this email.</p> |
@@ -638,8 +638,8 @@ discard block |
||
638 | 638 | 'area' => 'authentication', |
639 | 639 | 'editedon' => null, |
640 | 640 | ), '', true, true); |
641 | -$settings['form_customization_use_all_groups']= $xpdo->newObject('modSystemSetting'); |
|
642 | -$settings['form_customization_use_all_groups']->fromArray(array ( |
|
641 | +$settings['form_customization_use_all_groups'] = $xpdo->newObject('modSystemSetting'); |
|
642 | +$settings['form_customization_use_all_groups']->fromArray(array( |
|
643 | 643 | 'key' => 'form_customization_use_all_groups', |
644 | 644 | 'value' => false, |
645 | 645 | 'xtype' => 'combo-boolean', |
@@ -647,8 +647,8 @@ discard block |
||
647 | 647 | 'area' => 'manager', |
648 | 648 | 'editedon' => null, |
649 | 649 | ), '', true, true); |
650 | -$settings['forward_merge_excludes']= $xpdo->newObject('modSystemSetting'); |
|
651 | -$settings['forward_merge_excludes']->fromArray(array ( |
|
650 | +$settings['forward_merge_excludes'] = $xpdo->newObject('modSystemSetting'); |
|
651 | +$settings['forward_merge_excludes']->fromArray(array( |
|
652 | 652 | 'key' => 'forward_merge_excludes', |
653 | 653 | 'value' => 'type,published,class_key', |
654 | 654 | 'xtype' => 'textfield', |
@@ -656,8 +656,8 @@ discard block |
||
656 | 656 | 'area' => 'system', |
657 | 657 | 'editedon' => null, |
658 | 658 | ), '', true, true); |
659 | -$settings['friendly_alias_lowercase_only']= $xpdo->newObject('modSystemSetting'); |
|
660 | -$settings['friendly_alias_lowercase_only']->fromArray(array ( |
|
659 | +$settings['friendly_alias_lowercase_only'] = $xpdo->newObject('modSystemSetting'); |
|
660 | +$settings['friendly_alias_lowercase_only']->fromArray(array( |
|
661 | 661 | 'key' => 'friendly_alias_lowercase_only', |
662 | 662 | 'value' => '1', |
663 | 663 | 'xtype' => 'combo-boolean', |
@@ -665,8 +665,8 @@ discard block |
||
665 | 665 | 'area' => 'furls', |
666 | 666 | 'editedon' => null, |
667 | 667 | ), '', true, true); |
668 | -$settings['friendly_alias_max_length']= $xpdo->newObject('modSystemSetting'); |
|
669 | -$settings['friendly_alias_max_length']->fromArray(array ( |
|
668 | +$settings['friendly_alias_max_length'] = $xpdo->newObject('modSystemSetting'); |
|
669 | +$settings['friendly_alias_max_length']->fromArray(array( |
|
670 | 670 | 'key' => 'friendly_alias_max_length', |
671 | 671 | 'value' => '0', |
672 | 672 | 'xtype' => 'textfield', |
@@ -674,8 +674,8 @@ discard block |
||
674 | 674 | 'area' => 'furls', |
675 | 675 | 'editedon' => null, |
676 | 676 | ), '', true, true); |
677 | -$settings['friendly_alias_realtime']= $xpdo->newObject('modSystemSetting'); |
|
678 | -$settings['friendly_alias_realtime']->fromArray(array ( |
|
677 | +$settings['friendly_alias_realtime'] = $xpdo->newObject('modSystemSetting'); |
|
678 | +$settings['friendly_alias_realtime']->fromArray(array( |
|
679 | 679 | 'key' => 'friendly_alias_realtime', |
680 | 680 | 'value' => '0', |
681 | 681 | 'xtype' => 'combo-boolean', |
@@ -683,8 +683,8 @@ discard block |
||
683 | 683 | 'area' => 'furls', |
684 | 684 | 'editedon' => null, |
685 | 685 | ), '', true, true); |
686 | -$settings['friendly_alias_restrict_chars']= $xpdo->newObject('modSystemSetting'); |
|
687 | -$settings['friendly_alias_restrict_chars']->fromArray(array ( |
|
686 | +$settings['friendly_alias_restrict_chars'] = $xpdo->newObject('modSystemSetting'); |
|
687 | +$settings['friendly_alias_restrict_chars']->fromArray(array( |
|
688 | 688 | 'key' => 'friendly_alias_restrict_chars', |
689 | 689 | 'value' => 'pattern', |
690 | 690 | 'xtype' => 'textfield', |
@@ -692,8 +692,8 @@ discard block |
||
692 | 692 | 'area' => 'furls', |
693 | 693 | 'editedon' => null, |
694 | 694 | ), '', true, true); |
695 | -$settings['friendly_alias_restrict_chars_pattern']= $xpdo->newObject('modSystemSetting'); |
|
696 | -$settings['friendly_alias_restrict_chars_pattern']->fromArray(array ( |
|
695 | +$settings['friendly_alias_restrict_chars_pattern'] = $xpdo->newObject('modSystemSetting'); |
|
696 | +$settings['friendly_alias_restrict_chars_pattern']->fromArray(array( |
|
697 | 697 | 'key' => 'friendly_alias_restrict_chars_pattern', |
698 | 698 | 'value' => '/[\0\x0B\t\n\r\f\a&=+%#<>"~:`@\?\[\]\{\}\|\^\'\\\\]/', |
699 | 699 | 'xtype' => 'textfield', |
@@ -701,8 +701,8 @@ discard block |
||
701 | 701 | 'area' => 'furls', |
702 | 702 | 'editedon' => null, |
703 | 703 | ), '', true, true); |
704 | -$settings['friendly_alias_strip_element_tags']= $xpdo->newObject('modSystemSetting'); |
|
705 | -$settings['friendly_alias_strip_element_tags']->fromArray(array ( |
|
704 | +$settings['friendly_alias_strip_element_tags'] = $xpdo->newObject('modSystemSetting'); |
|
705 | +$settings['friendly_alias_strip_element_tags']->fromArray(array( |
|
706 | 706 | 'key' => 'friendly_alias_strip_element_tags', |
707 | 707 | 'value' => '1', |
708 | 708 | 'xtype' => 'combo-boolean', |
@@ -710,8 +710,8 @@ discard block |
||
710 | 710 | 'area' => 'furls', |
711 | 711 | 'editedon' => null, |
712 | 712 | ), '', true, true); |
713 | -$settings['friendly_alias_translit']= $xpdo->newObject('modSystemSetting'); |
|
714 | -$settings['friendly_alias_translit']->fromArray(array ( |
|
713 | +$settings['friendly_alias_translit'] = $xpdo->newObject('modSystemSetting'); |
|
714 | +$settings['friendly_alias_translit']->fromArray(array( |
|
715 | 715 | 'key' => 'friendly_alias_translit', |
716 | 716 | 'value' => 'none', |
717 | 717 | 'xtype' => 'textfield', |
@@ -719,8 +719,8 @@ discard block |
||
719 | 719 | 'area' => 'furls', |
720 | 720 | 'editedon' => null, |
721 | 721 | ), '', true, true); |
722 | -$settings['friendly_alias_translit_class']= $xpdo->newObject('modSystemSetting'); |
|
723 | -$settings['friendly_alias_translit_class']->fromArray(array ( |
|
722 | +$settings['friendly_alias_translit_class'] = $xpdo->newObject('modSystemSetting'); |
|
723 | +$settings['friendly_alias_translit_class']->fromArray(array( |
|
724 | 724 | 'key' => 'friendly_alias_translit_class', |
725 | 725 | 'value' => 'translit.modTransliterate', |
726 | 726 | 'xtype' => 'textfield', |
@@ -728,8 +728,8 @@ discard block |
||
728 | 728 | 'area' => 'furls', |
729 | 729 | 'editedon' => null, |
730 | 730 | ), '', true, true); |
731 | -$settings['friendly_alias_translit_class_path']= $xpdo->newObject('modSystemSetting'); |
|
732 | -$settings['friendly_alias_translit_class_path']->fromArray(array ( |
|
731 | +$settings['friendly_alias_translit_class_path'] = $xpdo->newObject('modSystemSetting'); |
|
732 | +$settings['friendly_alias_translit_class_path']->fromArray(array( |
|
733 | 733 | 'key' => 'friendly_alias_translit_class_path', |
734 | 734 | 'value' => '{core_path}components/', |
735 | 735 | 'xtype' => 'textfield', |
@@ -737,8 +737,8 @@ discard block |
||
737 | 737 | 'area' => 'furls', |
738 | 738 | 'editedon' => null, |
739 | 739 | ), '', true, true); |
740 | -$settings['friendly_alias_trim_chars']= $xpdo->newObject('modSystemSetting'); |
|
741 | -$settings['friendly_alias_trim_chars']->fromArray(array ( |
|
740 | +$settings['friendly_alias_trim_chars'] = $xpdo->newObject('modSystemSetting'); |
|
741 | +$settings['friendly_alias_trim_chars']->fromArray(array( |
|
742 | 742 | 'key' => 'friendly_alias_trim_chars', |
743 | 743 | 'value' => '/.-_', |
744 | 744 | 'xtype' => 'textfield', |
@@ -746,8 +746,8 @@ discard block |
||
746 | 746 | 'area' => 'furls', |
747 | 747 | 'editedon' => null, |
748 | 748 | ), '', true, true); |
749 | -$settings['friendly_alias_word_delimiter']= $xpdo->newObject('modSystemSetting'); |
|
750 | -$settings['friendly_alias_word_delimiter']->fromArray(array ( |
|
749 | +$settings['friendly_alias_word_delimiter'] = $xpdo->newObject('modSystemSetting'); |
|
750 | +$settings['friendly_alias_word_delimiter']->fromArray(array( |
|
751 | 751 | 'key' => 'friendly_alias_word_delimiter', |
752 | 752 | 'value' => '-', |
753 | 753 | 'xtype' => 'textfield', |
@@ -755,8 +755,8 @@ discard block |
||
755 | 755 | 'area' => 'furls', |
756 | 756 | 'editedon' => null, |
757 | 757 | ), '', true, true); |
758 | -$settings['friendly_alias_word_delimiters']= $xpdo->newObject('modSystemSetting'); |
|
759 | -$settings['friendly_alias_word_delimiters']->fromArray(array ( |
|
758 | +$settings['friendly_alias_word_delimiters'] = $xpdo->newObject('modSystemSetting'); |
|
759 | +$settings['friendly_alias_word_delimiters']->fromArray(array( |
|
760 | 760 | 'key' => 'friendly_alias_word_delimiters', |
761 | 761 | 'value' => '-_', |
762 | 762 | 'xtype' => 'textfield', |
@@ -764,8 +764,8 @@ discard block |
||
764 | 764 | 'area' => 'furls', |
765 | 765 | 'editedon' => null, |
766 | 766 | ), '', true, true); |
767 | -$settings['friendly_urls']= $xpdo->newObject('modSystemSetting'); |
|
768 | -$settings['friendly_urls']->fromArray(array ( |
|
767 | +$settings['friendly_urls'] = $xpdo->newObject('modSystemSetting'); |
|
768 | +$settings['friendly_urls']->fromArray(array( |
|
769 | 769 | 'key' => 'friendly_urls', |
770 | 770 | 'value' => '0', |
771 | 771 | 'xtype' => 'combo-boolean', |
@@ -773,8 +773,8 @@ discard block |
||
773 | 773 | 'area' => 'furls', |
774 | 774 | 'editedon' => null, |
775 | 775 | ), '', true, true); |
776 | -$settings['friendly_urls_strict']= $xpdo->newObject('modSystemSetting'); |
|
777 | -$settings['friendly_urls_strict']->fromArray(array ( |
|
776 | +$settings['friendly_urls_strict'] = $xpdo->newObject('modSystemSetting'); |
|
777 | +$settings['friendly_urls_strict']->fromArray(array( |
|
778 | 778 | 'key' => 'friendly_urls_strict', |
779 | 779 | 'value' => '0', |
780 | 780 | 'xtype' => 'combo-boolean', |
@@ -782,8 +782,8 @@ discard block |
||
782 | 782 | 'area' => 'furls', |
783 | 783 | 'editedon' => null, |
784 | 784 | ), '', true, true); |
785 | -$settings['use_frozen_parent_uris']= $xpdo->newObject('modSystemSetting'); |
|
786 | -$settings['use_frozen_parent_uris']->fromArray(array ( |
|
785 | +$settings['use_frozen_parent_uris'] = $xpdo->newObject('modSystemSetting'); |
|
786 | +$settings['use_frozen_parent_uris']->fromArray(array( |
|
787 | 787 | 'key' => 'use_frozen_parent_uris', |
788 | 788 | 'value' => '0', |
789 | 789 | 'xtype' => 'combo-boolean', |
@@ -791,8 +791,8 @@ discard block |
||
791 | 791 | 'area' => 'furls', |
792 | 792 | 'editedon' => null, |
793 | 793 | ), '', true, true); |
794 | -$settings['global_duplicate_uri_check']= $xpdo->newObject('modSystemSetting'); |
|
795 | -$settings['global_duplicate_uri_check']->fromArray(array ( |
|
794 | +$settings['global_duplicate_uri_check'] = $xpdo->newObject('modSystemSetting'); |
|
795 | +$settings['global_duplicate_uri_check']->fromArray(array( |
|
796 | 796 | 'key' => 'global_duplicate_uri_check', |
797 | 797 | 'value' => '0', |
798 | 798 | 'xtype' => 'combo-boolean', |
@@ -800,8 +800,8 @@ discard block |
||
800 | 800 | 'area' => 'furls', |
801 | 801 | 'editedon' => null, |
802 | 802 | ), '', true, true); |
803 | -$settings['hidemenu_default']= $xpdo->newObject('modSystemSetting'); |
|
804 | -$settings['hidemenu_default']->fromArray(array ( |
|
803 | +$settings['hidemenu_default'] = $xpdo->newObject('modSystemSetting'); |
|
804 | +$settings['hidemenu_default']->fromArray(array( |
|
805 | 805 | 'key' => 'hidemenu_default', |
806 | 806 | 'value' => 0, |
807 | 807 | 'xtype' => 'combo-boolean', |
@@ -809,8 +809,8 @@ discard block |
||
809 | 809 | 'area' => 'site', |
810 | 810 | 'editedon' => null, |
811 | 811 | ), '', true, true); |
812 | -$settings['inline_help']= $xpdo->newObject('modSystemSetting'); |
|
813 | -$settings['inline_help']->fromArray(array ( |
|
812 | +$settings['inline_help'] = $xpdo->newObject('modSystemSetting'); |
|
813 | +$settings['inline_help']->fromArray(array( |
|
814 | 814 | 'key' => 'inline_help', |
815 | 815 | 'value' => 1, |
816 | 816 | 'xtype' => 'combo-boolean', |
@@ -818,8 +818,8 @@ discard block |
||
818 | 818 | 'area' => 'manager', |
819 | 819 | 'editedon' => null, |
820 | 820 | ), '', true, true); |
821 | -$settings['locale']= $xpdo->newObject('modSystemSetting'); |
|
822 | -$settings['locale']->fromArray(array ( |
|
821 | +$settings['locale'] = $xpdo->newObject('modSystemSetting'); |
|
822 | +$settings['locale']->fromArray(array( |
|
823 | 823 | 'key' => 'locale', |
824 | 824 | 'value' => '', |
825 | 825 | 'xtype' => 'textfield', |
@@ -827,8 +827,8 @@ discard block |
||
827 | 827 | 'area' => 'language', |
828 | 828 | 'editedon' => null, |
829 | 829 | ), '', true, true); |
830 | -$settings['log_level']= $xpdo->newObject('modSystemSetting'); |
|
831 | -$settings['log_level']->fromArray(array ( |
|
830 | +$settings['log_level'] = $xpdo->newObject('modSystemSetting'); |
|
831 | +$settings['log_level']->fromArray(array( |
|
832 | 832 | 'key' => 'log_level', |
833 | 833 | 'value' => '1', |
834 | 834 | 'xtype' => 'textfield', |
@@ -836,8 +836,8 @@ discard block |
||
836 | 836 | 'area' => 'system', |
837 | 837 | 'editedon' => null, |
838 | 838 | ), '', true, true); |
839 | -$settings['log_target']= $xpdo->newObject('modSystemSetting'); |
|
840 | -$settings['log_target']->fromArray(array ( |
|
839 | +$settings['log_target'] = $xpdo->newObject('modSystemSetting'); |
|
840 | +$settings['log_target']->fromArray(array( |
|
841 | 841 | 'key' => 'log_target', |
842 | 842 | 'value' => 'FILE', |
843 | 843 | 'xtype' => 'textfield', |
@@ -845,8 +845,8 @@ discard block |
||
845 | 845 | 'area' => 'system', |
846 | 846 | 'editedon' => null, |
847 | 847 | ), '', true, true); |
848 | -$settings['link_tag_scheme']= $xpdo->newObject('modSystemSetting'); |
|
849 | -$settings['link_tag_scheme']->fromArray(array ( |
|
848 | +$settings['link_tag_scheme'] = $xpdo->newObject('modSystemSetting'); |
|
849 | +$settings['link_tag_scheme']->fromArray(array( |
|
850 | 850 | 'key' => 'link_tag_scheme', |
851 | 851 | 'value' => -1, |
852 | 852 | 'xtype' => 'textfield', |
@@ -854,8 +854,8 @@ discard block |
||
854 | 854 | 'area' => 'site', |
855 | 855 | 'editedon' => null, |
856 | 856 | ), '', true, true); |
857 | -$settings['lock_ttl']= $xpdo->newObject('modSystemSetting'); |
|
858 | -$settings['lock_ttl']->fromArray(array ( |
|
857 | +$settings['lock_ttl'] = $xpdo->newObject('modSystemSetting'); |
|
858 | +$settings['lock_ttl']->fromArray(array( |
|
859 | 859 | 'key' => 'lock_ttl', |
860 | 860 | 'value' => 360, |
861 | 861 | 'xtype' => 'textfield', |
@@ -863,8 +863,8 @@ discard block |
||
863 | 863 | 'area' => 'system', |
864 | 864 | 'editedon' => null, |
865 | 865 | ), '', true, true); |
866 | -$settings['mail_charset']= $xpdo->newObject('modSystemSetting'); |
|
867 | -$settings['mail_charset']->fromArray(array ( |
|
866 | +$settings['mail_charset'] = $xpdo->newObject('modSystemSetting'); |
|
867 | +$settings['mail_charset']->fromArray(array( |
|
868 | 868 | 'key' => 'mail_charset', |
869 | 869 | 'value' => 'UTF-8', |
870 | 870 | 'xtype' => 'modx-combo-charset', |
@@ -872,8 +872,8 @@ discard block |
||
872 | 872 | 'area' => 'mail', |
873 | 873 | 'editedon' => null, |
874 | 874 | ), '', true, true); |
875 | -$settings['mail_encoding']= $xpdo->newObject('modSystemSetting'); |
|
876 | -$settings['mail_encoding']->fromArray(array ( |
|
875 | +$settings['mail_encoding'] = $xpdo->newObject('modSystemSetting'); |
|
876 | +$settings['mail_encoding']->fromArray(array( |
|
877 | 877 | 'key' => 'mail_encoding', |
878 | 878 | 'value' => '8bit', |
879 | 879 | 'xtype' => 'textfield', |
@@ -881,8 +881,8 @@ discard block |
||
881 | 881 | 'area' => 'mail', |
882 | 882 | 'editedon' => null, |
883 | 883 | ), '', true, true); |
884 | -$settings['mail_use_smtp']= $xpdo->newObject('modSystemSetting'); |
|
885 | -$settings['mail_use_smtp']->fromArray(array ( |
|
884 | +$settings['mail_use_smtp'] = $xpdo->newObject('modSystemSetting'); |
|
885 | +$settings['mail_use_smtp']->fromArray(array( |
|
886 | 886 | 'key' => 'mail_use_smtp', |
887 | 887 | 'value' => false, |
888 | 888 | 'xtype' => 'combo-boolean', |
@@ -890,8 +890,8 @@ discard block |
||
890 | 890 | 'area' => 'mail', |
891 | 891 | 'editedon' => null, |
892 | 892 | ), '', true, true); |
893 | -$settings['mail_smtp_auth']= $xpdo->newObject('modSystemSetting'); |
|
894 | -$settings['mail_smtp_auth']->fromArray(array ( |
|
893 | +$settings['mail_smtp_auth'] = $xpdo->newObject('modSystemSetting'); |
|
894 | +$settings['mail_smtp_auth']->fromArray(array( |
|
895 | 895 | 'key' => 'mail_smtp_auth', |
896 | 896 | 'value' => false, |
897 | 897 | 'xtype' => 'combo-boolean', |
@@ -899,8 +899,8 @@ discard block |
||
899 | 899 | 'area' => 'mail', |
900 | 900 | 'editedon' => null, |
901 | 901 | ), '', true, true); |
902 | -$settings['mail_smtp_helo']= $xpdo->newObject('modSystemSetting'); |
|
903 | -$settings['mail_smtp_helo']->fromArray(array ( |
|
902 | +$settings['mail_smtp_helo'] = $xpdo->newObject('modSystemSetting'); |
|
903 | +$settings['mail_smtp_helo']->fromArray(array( |
|
904 | 904 | 'key' => 'mail_smtp_helo', |
905 | 905 | 'value' => '', |
906 | 906 | 'xtype' => 'textfield', |
@@ -908,8 +908,8 @@ discard block |
||
908 | 908 | 'area' => 'mail', |
909 | 909 | 'editedon' => null, |
910 | 910 | ), '', true, true); |
911 | -$settings['mail_smtp_hosts']= $xpdo->newObject('modSystemSetting'); |
|
912 | -$settings['mail_smtp_hosts']->fromArray(array ( |
|
911 | +$settings['mail_smtp_hosts'] = $xpdo->newObject('modSystemSetting'); |
|
912 | +$settings['mail_smtp_hosts']->fromArray(array( |
|
913 | 913 | 'key' => 'mail_smtp_hosts', |
914 | 914 | 'value' => 'localhost', |
915 | 915 | 'xtype' => 'textfield', |
@@ -917,8 +917,8 @@ discard block |
||
917 | 917 | 'area' => 'mail', |
918 | 918 | 'editedon' => null, |
919 | 919 | ), '', true, true); |
920 | -$settings['mail_smtp_keepalive']= $xpdo->newObject('modSystemSetting'); |
|
921 | -$settings['mail_smtp_keepalive']->fromArray(array ( |
|
920 | +$settings['mail_smtp_keepalive'] = $xpdo->newObject('modSystemSetting'); |
|
921 | +$settings['mail_smtp_keepalive']->fromArray(array( |
|
922 | 922 | 'key' => 'mail_smtp_keepalive', |
923 | 923 | 'value' => false, |
924 | 924 | 'xtype' => 'combo-boolean', |
@@ -926,8 +926,8 @@ discard block |
||
926 | 926 | 'area' => 'mail', |
927 | 927 | 'editedon' => null, |
928 | 928 | ), '', true, true); |
929 | -$settings['mail_smtp_pass']= $xpdo->newObject('modSystemSetting'); |
|
930 | -$settings['mail_smtp_pass']->fromArray(array ( |
|
929 | +$settings['mail_smtp_pass'] = $xpdo->newObject('modSystemSetting'); |
|
930 | +$settings['mail_smtp_pass']->fromArray(array( |
|
931 | 931 | 'key' => 'mail_smtp_pass', |
932 | 932 | 'value' => '', |
933 | 933 | 'xtype' => 'text-password', |
@@ -935,8 +935,8 @@ discard block |
||
935 | 935 | 'area' => 'mail', |
936 | 936 | 'editedon' => null, |
937 | 937 | ), '', true, true); |
938 | -$settings['mail_smtp_port']= $xpdo->newObject('modSystemSetting'); |
|
939 | -$settings['mail_smtp_port']->fromArray(array ( |
|
938 | +$settings['mail_smtp_port'] = $xpdo->newObject('modSystemSetting'); |
|
939 | +$settings['mail_smtp_port']->fromArray(array( |
|
940 | 940 | 'key' => 'mail_smtp_port', |
941 | 941 | 'value' => '587', |
942 | 942 | 'xtype' => 'textfield', |
@@ -944,8 +944,8 @@ discard block |
||
944 | 944 | 'area' => 'mail', |
945 | 945 | 'editedon' => null, |
946 | 946 | ), '', true, true); |
947 | -$settings['mail_smtp_prefix']= $xpdo->newObject('modSystemSetting'); |
|
948 | -$settings['mail_smtp_prefix']->fromArray(array ( |
|
947 | +$settings['mail_smtp_prefix'] = $xpdo->newObject('modSystemSetting'); |
|
948 | +$settings['mail_smtp_prefix']->fromArray(array( |
|
949 | 949 | 'key' => 'mail_smtp_prefix', |
950 | 950 | 'value' => '', |
951 | 951 | 'xtype' => 'textfield', |
@@ -953,8 +953,8 @@ discard block |
||
953 | 953 | 'area' => 'mail', |
954 | 954 | 'editedon' => null, |
955 | 955 | ), '', true, true); |
956 | -$settings['mail_smtp_single_to']= $xpdo->newObject('modSystemSetting'); |
|
957 | -$settings['mail_smtp_single_to']->fromArray(array ( |
|
956 | +$settings['mail_smtp_single_to'] = $xpdo->newObject('modSystemSetting'); |
|
957 | +$settings['mail_smtp_single_to']->fromArray(array( |
|
958 | 958 | 'key' => 'mail_smtp_single_to', |
959 | 959 | 'value' => false, |
960 | 960 | 'xtype' => 'combo-boolean', |
@@ -962,8 +962,8 @@ discard block |
||
962 | 962 | 'area' => 'mail', |
963 | 963 | 'editedon' => null, |
964 | 964 | ), '', true, true); |
965 | -$settings['mail_smtp_timeout']= $xpdo->newObject('modSystemSetting'); |
|
966 | -$settings['mail_smtp_timeout']->fromArray(array ( |
|
965 | +$settings['mail_smtp_timeout'] = $xpdo->newObject('modSystemSetting'); |
|
966 | +$settings['mail_smtp_timeout']->fromArray(array( |
|
967 | 967 | 'key' => 'mail_smtp_timeout', |
968 | 968 | 'value' => '10', |
969 | 969 | 'xtype' => 'textfield', |
@@ -971,8 +971,8 @@ discard block |
||
971 | 971 | 'area' => 'mail', |
972 | 972 | 'editedon' => null, |
973 | 973 | ), '', true, true); |
974 | -$settings['mail_smtp_user']= $xpdo->newObject('modSystemSetting'); |
|
975 | -$settings['mail_smtp_user']->fromArray(array ( |
|
974 | +$settings['mail_smtp_user'] = $xpdo->newObject('modSystemSetting'); |
|
975 | +$settings['mail_smtp_user']->fromArray(array( |
|
976 | 976 | 'key' => 'mail_smtp_user', |
977 | 977 | 'value' => '', |
978 | 978 | 'xtype' => 'textfield', |
@@ -980,8 +980,8 @@ discard block |
||
980 | 980 | 'area' => 'mail', |
981 | 981 | 'editedon' => null, |
982 | 982 | ), '', true, true); |
983 | -$settings['manager_date_format']= $xpdo->newObject('modSystemSetting'); |
|
984 | -$settings['manager_date_format']->fromArray(array ( |
|
983 | +$settings['manager_date_format'] = $xpdo->newObject('modSystemSetting'); |
|
984 | +$settings['manager_date_format']->fromArray(array( |
|
985 | 985 | 'key' => 'manager_date_format', |
986 | 986 | 'value' => 'Y-m-d', |
987 | 987 | 'xtype' => 'textfield', |
@@ -989,8 +989,8 @@ discard block |
||
989 | 989 | 'area' => 'manager', |
990 | 990 | 'editedon' => null, |
991 | 991 | ), '', true, true); |
992 | -$settings['manager_favicon_url']= $xpdo->newObject('modSystemSetting'); |
|
993 | -$settings['manager_favicon_url']->fromArray(array ( |
|
992 | +$settings['manager_favicon_url'] = $xpdo->newObject('modSystemSetting'); |
|
993 | +$settings['manager_favicon_url']->fromArray(array( |
|
994 | 994 | 'key' => 'manager_favicon_url', |
995 | 995 | 'value' => '', |
996 | 996 | 'xtype' => 'textfield', |
@@ -998,8 +998,8 @@ discard block |
||
998 | 998 | 'area' => 'manager', |
999 | 999 | 'editedon' => null, |
1000 | 1000 | ), '', true, true); |
1001 | -$settings['manager_js_cache_file_locking']= $xpdo->newObject('modSystemSetting'); |
|
1002 | -$settings['manager_js_cache_file_locking']->fromArray(array ( |
|
1001 | +$settings['manager_js_cache_file_locking'] = $xpdo->newObject('modSystemSetting'); |
|
1002 | +$settings['manager_js_cache_file_locking']->fromArray(array( |
|
1003 | 1003 | 'key' => 'manager_js_cache_file_locking', |
1004 | 1004 | 'value' => true, |
1005 | 1005 | 'xtype' => 'combo-boolean', |
@@ -1007,8 +1007,8 @@ discard block |
||
1007 | 1007 | 'area' => 'manager', |
1008 | 1008 | 'editedon' => null, |
1009 | 1009 | ), '', true, true); |
1010 | -$settings['manager_js_cache_max_age']= $xpdo->newObject('modSystemSetting'); |
|
1011 | -$settings['manager_js_cache_max_age']->fromArray(array ( |
|
1010 | +$settings['manager_js_cache_max_age'] = $xpdo->newObject('modSystemSetting'); |
|
1011 | +$settings['manager_js_cache_max_age']->fromArray(array( |
|
1012 | 1012 | 'key' => 'manager_js_cache_max_age', |
1013 | 1013 | 'value' => 3600, |
1014 | 1014 | 'xtype' => 'textfield', |
@@ -1016,8 +1016,8 @@ discard block |
||
1016 | 1016 | 'area' => 'manager', |
1017 | 1017 | 'editedon' => null, |
1018 | 1018 | ), '', true, true); |
1019 | -$settings['manager_js_document_root']= $xpdo->newObject('modSystemSetting'); |
|
1020 | -$settings['manager_js_document_root']->fromArray(array ( |
|
1019 | +$settings['manager_js_document_root'] = $xpdo->newObject('modSystemSetting'); |
|
1020 | +$settings['manager_js_document_root']->fromArray(array( |
|
1021 | 1021 | 'key' => 'manager_js_document_root', |
1022 | 1022 | 'value' => '', |
1023 | 1023 | 'xtype' => 'textfield', |
@@ -1025,8 +1025,8 @@ discard block |
||
1025 | 1025 | 'area' => 'manager', |
1026 | 1026 | 'editedon' => null, |
1027 | 1027 | ), '', true, true); |
1028 | -$settings['manager_js_zlib_output_compression']= $xpdo->newObject('modSystemSetting'); |
|
1029 | -$settings['manager_js_zlib_output_compression']->fromArray(array ( |
|
1028 | +$settings['manager_js_zlib_output_compression'] = $xpdo->newObject('modSystemSetting'); |
|
1029 | +$settings['manager_js_zlib_output_compression']->fromArray(array( |
|
1030 | 1030 | 'key' => 'manager_js_zlib_output_compression', |
1031 | 1031 | 'value' => 0, |
1032 | 1032 | 'xtype' => 'combo-boolean', |
@@ -1034,8 +1034,8 @@ discard block |
||
1034 | 1034 | 'area' => 'manager', |
1035 | 1035 | 'editedon' => null, |
1036 | 1036 | ), '', true, true); |
1037 | -$settings['manager_time_format']= $xpdo->newObject('modSystemSetting'); |
|
1038 | -$settings['manager_time_format']->fromArray(array ( |
|
1037 | +$settings['manager_time_format'] = $xpdo->newObject('modSystemSetting'); |
|
1038 | +$settings['manager_time_format']->fromArray(array( |
|
1039 | 1039 | 'key' => 'manager_time_format', |
1040 | 1040 | 'value' => 'g:i a', |
1041 | 1041 | 'xtype' => 'textfield', |
@@ -1043,8 +1043,8 @@ discard block |
||
1043 | 1043 | 'area' => 'manager', |
1044 | 1044 | 'editedon' => null, |
1045 | 1045 | ), '', true, true); |
1046 | -$settings['manager_direction']= $xpdo->newObject('modSystemSetting'); |
|
1047 | -$settings['manager_direction']->fromArray(array ( |
|
1046 | +$settings['manager_direction'] = $xpdo->newObject('modSystemSetting'); |
|
1047 | +$settings['manager_direction']->fromArray(array( |
|
1048 | 1048 | 'key' => 'manager_direction', |
1049 | 1049 | 'value' => 'ltr', |
1050 | 1050 | 'xtype' => 'textfield', |
@@ -1052,8 +1052,8 @@ discard block |
||
1052 | 1052 | 'area' => 'language', |
1053 | 1053 | 'editedon' => null, |
1054 | 1054 | ), '', true, true); |
1055 | -$settings['manager_lang_attribute']= $xpdo->newObject('modSystemSetting'); |
|
1056 | -$settings['manager_lang_attribute']->fromArray(array ( |
|
1055 | +$settings['manager_lang_attribute'] = $xpdo->newObject('modSystemSetting'); |
|
1056 | +$settings['manager_lang_attribute']->fromArray(array( |
|
1057 | 1057 | 'key' => 'manager_lang_attribute', |
1058 | 1058 | 'value' => 'en', |
1059 | 1059 | 'xtype' => 'textfield', |
@@ -1061,8 +1061,8 @@ discard block |
||
1061 | 1061 | 'area' => 'language', |
1062 | 1062 | 'editedon' => null, |
1063 | 1063 | ), '', true, true); |
1064 | -$settings['manager_language']= $xpdo->newObject('modSystemSetting'); |
|
1065 | -$settings['manager_language']->fromArray(array ( |
|
1064 | +$settings['manager_language'] = $xpdo->newObject('modSystemSetting'); |
|
1065 | +$settings['manager_language']->fromArray(array( |
|
1066 | 1066 | 'key' => 'manager_language', |
1067 | 1067 | 'value' => 'en', |
1068 | 1068 | 'xtype' => 'modx-combo-language', |
@@ -1070,8 +1070,8 @@ discard block |
||
1070 | 1070 | 'area' => 'language', |
1071 | 1071 | 'editedon' => null, |
1072 | 1072 | ), '', true, true); |
1073 | -$settings['manager_login_url_alternate']= $xpdo->newObject('modSystemSetting'); |
|
1074 | -$settings['manager_login_url_alternate']->fromArray(array ( |
|
1073 | +$settings['manager_login_url_alternate'] = $xpdo->newObject('modSystemSetting'); |
|
1074 | +$settings['manager_login_url_alternate']->fromArray(array( |
|
1075 | 1075 | 'key' => 'manager_login_url_alternate', |
1076 | 1076 | 'value' => '', |
1077 | 1077 | 'xtype' => 'textfield', |
@@ -1079,8 +1079,8 @@ discard block |
||
1079 | 1079 | 'area' => 'authentication', |
1080 | 1080 | 'editedon' => null, |
1081 | 1081 | ), '', true, true); |
1082 | -$settings['login_background_image']= $xpdo->newObject('modSystemSetting'); |
|
1083 | -$settings['login_background_image']->fromArray(array ( |
|
1082 | +$settings['login_background_image'] = $xpdo->newObject('modSystemSetting'); |
|
1083 | +$settings['login_background_image']->fromArray(array( |
|
1084 | 1084 | 'key' => 'login_background_image', |
1085 | 1085 | 'value' => '', |
1086 | 1086 | 'xtype' => 'textfield', |
@@ -1088,8 +1088,8 @@ discard block |
||
1088 | 1088 | 'area' => 'authentication', |
1089 | 1089 | 'editedon' => null, |
1090 | 1090 | ), '', true, true); |
1091 | -$settings['login_logo']= $xpdo->newObject('modSystemSetting'); |
|
1092 | -$settings['login_logo']->fromArray(array ( |
|
1091 | +$settings['login_logo'] = $xpdo->newObject('modSystemSetting'); |
|
1092 | +$settings['login_logo']->fromArray(array( |
|
1093 | 1093 | 'key' => 'login_logo', |
1094 | 1094 | 'value' => '', |
1095 | 1095 | 'xtype' => 'textfield', |
@@ -1097,8 +1097,8 @@ discard block |
||
1097 | 1097 | 'area' => 'authentication', |
1098 | 1098 | 'editedon' => null, |
1099 | 1099 | ), '', true, true); |
1100 | -$settings['login_help_button']= $xpdo->newObject('modSystemSetting'); |
|
1101 | -$settings['login_help_button']->fromArray(array ( |
|
1100 | +$settings['login_help_button'] = $xpdo->newObject('modSystemSetting'); |
|
1101 | +$settings['login_help_button']->fromArray(array( |
|
1102 | 1102 | 'key' => 'login_help_button', |
1103 | 1103 | 'value' => '', |
1104 | 1104 | 'xtype' => 'combo-boolean', |
@@ -1106,8 +1106,8 @@ discard block |
||
1106 | 1106 | 'area' => 'authentication', |
1107 | 1107 | 'editedon' => null, |
1108 | 1108 | ), '', true, true); |
1109 | -$settings['manager_theme']= $xpdo->newObject('modSystemSetting'); |
|
1110 | -$settings['manager_theme']->fromArray(array ( |
|
1109 | +$settings['manager_theme'] = $xpdo->newObject('modSystemSetting'); |
|
1110 | +$settings['manager_theme']->fromArray(array( |
|
1111 | 1111 | 'key' => 'manager_theme', |
1112 | 1112 | 'value' => 'default', |
1113 | 1113 | 'xtype' => 'modx-combo-manager-theme', |
@@ -1115,8 +1115,8 @@ discard block |
||
1115 | 1115 | 'area' => 'manager', |
1116 | 1116 | 'editedon' => null, |
1117 | 1117 | ), '', true, true); |
1118 | -$settings['manager_week_start']= $xpdo->newObject('modSystemSetting'); |
|
1119 | -$settings['manager_week_start']->fromArray(array ( |
|
1118 | +$settings['manager_week_start'] = $xpdo->newObject('modSystemSetting'); |
|
1119 | +$settings['manager_week_start']->fromArray(array( |
|
1120 | 1120 | 'key' => 'manager_week_start', |
1121 | 1121 | 'value' => 0, |
1122 | 1122 | 'xtype' => 'textfield', |
@@ -1124,8 +1124,8 @@ discard block |
||
1124 | 1124 | 'area' => 'manager', |
1125 | 1125 | 'editedon' => null, |
1126 | 1126 | ), '', true, true); |
1127 | -$settings['modx_browser_tree_hide_files']= $xpdo->newObject('modSystemSetting'); |
|
1128 | -$settings['modx_browser_tree_hide_files']->fromArray(array ( |
|
1127 | +$settings['modx_browser_tree_hide_files'] = $xpdo->newObject('modSystemSetting'); |
|
1128 | +$settings['modx_browser_tree_hide_files']->fromArray(array( |
|
1129 | 1129 | 'key' => 'modx_browser_tree_hide_files', |
1130 | 1130 | 'value' => false, |
1131 | 1131 | 'xtype' => 'combo-boolean', |
@@ -1133,8 +1133,8 @@ discard block |
||
1133 | 1133 | 'area' => 'manager', |
1134 | 1134 | 'editedon' => null, |
1135 | 1135 | ), '', true, true); |
1136 | -$settings['modx_browser_tree_hide_tooltips']= $xpdo->newObject('modSystemSetting'); |
|
1137 | -$settings['modx_browser_tree_hide_tooltips']->fromArray(array ( |
|
1136 | +$settings['modx_browser_tree_hide_tooltips'] = $xpdo->newObject('modSystemSetting'); |
|
1137 | +$settings['modx_browser_tree_hide_tooltips']->fromArray(array( |
|
1138 | 1138 | 'key' => 'modx_browser_tree_hide_tooltips', |
1139 | 1139 | 'value' => true, |
1140 | 1140 | 'xtype' => 'combo-boolean', |
@@ -1142,8 +1142,8 @@ discard block |
||
1142 | 1142 | 'area' => 'manager', |
1143 | 1143 | 'editedon' => null, |
1144 | 1144 | ), '', true, true); |
1145 | -$settings['modx_browser_default_sort']= $xpdo->newObject('modSystemSetting'); |
|
1146 | -$settings['modx_browser_default_sort']->fromArray(array ( |
|
1145 | +$settings['modx_browser_default_sort'] = $xpdo->newObject('modSystemSetting'); |
|
1146 | +$settings['modx_browser_default_sort']->fromArray(array( |
|
1147 | 1147 | 'key' => 'modx_browser_default_sort', |
1148 | 1148 | 'value' => 'name', |
1149 | 1149 | 'xtype' => 'textfield', |
@@ -1151,8 +1151,8 @@ discard block |
||
1151 | 1151 | 'area' => 'manager', |
1152 | 1152 | 'editedon' => null, |
1153 | 1153 | ), '', true, true); |
1154 | -$settings['modx_browser_default_viewmode']= $xpdo->newObject('modSystemSetting'); |
|
1155 | -$settings['modx_browser_default_viewmode']->fromArray(array ( |
|
1154 | +$settings['modx_browser_default_viewmode'] = $xpdo->newObject('modSystemSetting'); |
|
1155 | +$settings['modx_browser_default_viewmode']->fromArray(array( |
|
1156 | 1156 | 'key' => 'modx_browser_default_viewmode', |
1157 | 1157 | 'value' => 'grid', |
1158 | 1158 | 'xtype' => 'textfield', |
@@ -1160,8 +1160,8 @@ discard block |
||
1160 | 1160 | 'area' => 'manager', |
1161 | 1161 | 'editedon' => null, |
1162 | 1162 | ), '', true, true); |
1163 | -$settings['modx_charset']= $xpdo->newObject('modSystemSetting'); |
|
1164 | -$settings['modx_charset']->fromArray(array ( |
|
1163 | +$settings['modx_charset'] = $xpdo->newObject('modSystemSetting'); |
|
1164 | +$settings['modx_charset']->fromArray(array( |
|
1165 | 1165 | 'key' => 'modx_charset', |
1166 | 1166 | 'value' => 'UTF-8', |
1167 | 1167 | 'xtype' => 'modx-combo-charset', |
@@ -1169,8 +1169,8 @@ discard block |
||
1169 | 1169 | 'area' => 'language', |
1170 | 1170 | 'editedon' => null, |
1171 | 1171 | ), '', true, true); |
1172 | -$settings['principal_targets']= $xpdo->newObject('modSystemSetting'); |
|
1173 | -$settings['principal_targets']->fromArray(array ( |
|
1172 | +$settings['principal_targets'] = $xpdo->newObject('modSystemSetting'); |
|
1173 | +$settings['principal_targets']->fromArray(array( |
|
1174 | 1174 | 'key' => 'principal_targets', |
1175 | 1175 | 'value' => 'modAccessContext,modAccessResourceGroup,modAccessCategory,sources.modAccessMediaSource,modAccessNamespace', |
1176 | 1176 | 'xtype' => 'textfield', |
@@ -1178,8 +1178,8 @@ discard block |
||
1178 | 1178 | 'area' => 'authentication', |
1179 | 1179 | 'editedon' => null, |
1180 | 1180 | ), '', true, true); |
1181 | -$settings['proxy_auth_type']= $xpdo->newObject('modSystemSetting'); |
|
1182 | -$settings['proxy_auth_type']->fromArray(array ( |
|
1181 | +$settings['proxy_auth_type'] = $xpdo->newObject('modSystemSetting'); |
|
1182 | +$settings['proxy_auth_type']->fromArray(array( |
|
1183 | 1183 | 'key' => 'proxy_auth_type', |
1184 | 1184 | 'value' => 'BASIC', |
1185 | 1185 | 'xtype' => 'textfield', |
@@ -1187,8 +1187,8 @@ discard block |
||
1187 | 1187 | 'area' => 'proxy', |
1188 | 1188 | 'editedon' => null, |
1189 | 1189 | ), '', true, true); |
1190 | -$settings['proxy_host']= $xpdo->newObject('modSystemSetting'); |
|
1191 | -$settings['proxy_host']->fromArray(array ( |
|
1190 | +$settings['proxy_host'] = $xpdo->newObject('modSystemSetting'); |
|
1191 | +$settings['proxy_host']->fromArray(array( |
|
1192 | 1192 | 'key' => 'proxy_host', |
1193 | 1193 | 'value' => '', |
1194 | 1194 | 'xtype' => 'textfield', |
@@ -1196,8 +1196,8 @@ discard block |
||
1196 | 1196 | 'area' => 'proxy', |
1197 | 1197 | 'editedon' => null, |
1198 | 1198 | ), '', true, true); |
1199 | -$settings['proxy_password']= $xpdo->newObject('modSystemSetting'); |
|
1200 | -$settings['proxy_password']->fromArray(array ( |
|
1199 | +$settings['proxy_password'] = $xpdo->newObject('modSystemSetting'); |
|
1200 | +$settings['proxy_password']->fromArray(array( |
|
1201 | 1201 | 'key' => 'proxy_password', |
1202 | 1202 | 'value' => '', |
1203 | 1203 | 'xtype' => 'text-password', |
@@ -1205,8 +1205,8 @@ discard block |
||
1205 | 1205 | 'area' => 'proxy', |
1206 | 1206 | 'editedon' => null, |
1207 | 1207 | ), '', true, true); |
1208 | -$settings['proxy_port']= $xpdo->newObject('modSystemSetting'); |
|
1209 | -$settings['proxy_port']->fromArray(array ( |
|
1208 | +$settings['proxy_port'] = $xpdo->newObject('modSystemSetting'); |
|
1209 | +$settings['proxy_port']->fromArray(array( |
|
1210 | 1210 | 'key' => 'proxy_port', |
1211 | 1211 | 'value' => '', |
1212 | 1212 | 'xtype' => 'textfield', |
@@ -1214,8 +1214,8 @@ discard block |
||
1214 | 1214 | 'area' => 'proxy', |
1215 | 1215 | 'editedon' => null, |
1216 | 1216 | ), '', true, true); |
1217 | -$settings['proxy_username']= $xpdo->newObject('modSystemSetting'); |
|
1218 | -$settings['proxy_username']->fromArray(array ( |
|
1217 | +$settings['proxy_username'] = $xpdo->newObject('modSystemSetting'); |
|
1218 | +$settings['proxy_username']->fromArray(array( |
|
1219 | 1219 | 'key' => 'proxy_username', |
1220 | 1220 | 'value' => '', |
1221 | 1221 | 'xtype' => 'textfield', |
@@ -1223,8 +1223,8 @@ discard block |
||
1223 | 1223 | 'area' => 'proxy', |
1224 | 1224 | 'editedon' => null, |
1225 | 1225 | ), '', true, true); |
1226 | -$settings['password_generated_length']= $xpdo->newObject('modSystemSetting'); |
|
1227 | -$settings['password_generated_length']->fromArray(array ( |
|
1226 | +$settings['password_generated_length'] = $xpdo->newObject('modSystemSetting'); |
|
1227 | +$settings['password_generated_length']->fromArray(array( |
|
1228 | 1228 | 'key' => 'password_generated_length', |
1229 | 1229 | 'value' => '8', |
1230 | 1230 | 'xtype' => 'textfield', |
@@ -1232,8 +1232,8 @@ discard block |
||
1232 | 1232 | 'area' => 'authentication', |
1233 | 1233 | 'editedon' => null, |
1234 | 1234 | ), '', true, true); |
1235 | -$settings['password_min_length']= $xpdo->newObject('modSystemSetting'); |
|
1236 | -$settings['password_min_length']->fromArray(array ( |
|
1235 | +$settings['password_min_length'] = $xpdo->newObject('modSystemSetting'); |
|
1236 | +$settings['password_min_length']->fromArray(array( |
|
1237 | 1237 | 'key' => 'password_min_length', |
1238 | 1238 | 'value' => '8', |
1239 | 1239 | 'xtype' => 'textfield', |
@@ -1242,8 +1242,8 @@ discard block |
||
1242 | 1242 | 'editedon' => null, |
1243 | 1243 | ), '', true, true); |
1244 | 1244 | |
1245 | -$settings['phpthumb_allow_src_above_docroot']= $xpdo->newObject('modSystemSetting'); |
|
1246 | -$settings['phpthumb_allow_src_above_docroot']->fromArray(array ( |
|
1245 | +$settings['phpthumb_allow_src_above_docroot'] = $xpdo->newObject('modSystemSetting'); |
|
1246 | +$settings['phpthumb_allow_src_above_docroot']->fromArray(array( |
|
1247 | 1247 | 'key' => 'phpthumb_allow_src_above_docroot', |
1248 | 1248 | 'value' => false, |
1249 | 1249 | 'xtype' => 'combo-boolean', |
@@ -1251,8 +1251,8 @@ discard block |
||
1251 | 1251 | 'area' => 'phpthumb', |
1252 | 1252 | 'editedon' => null, |
1253 | 1253 | ), '', true, true); |
1254 | -$settings['phpthumb_cache_maxage']= $xpdo->newObject('modSystemSetting'); |
|
1255 | -$settings['phpthumb_cache_maxage']->fromArray(array ( |
|
1254 | +$settings['phpthumb_cache_maxage'] = $xpdo->newObject('modSystemSetting'); |
|
1255 | +$settings['phpthumb_cache_maxage']->fromArray(array( |
|
1256 | 1256 | 'key' => 'phpthumb_cache_maxage', |
1257 | 1257 | 'value' => 30, // 30 days |
1258 | 1258 | 'xtype' => 'textfield', |
@@ -1260,8 +1260,8 @@ discard block |
||
1260 | 1260 | 'area' => 'phpthumb', |
1261 | 1261 | 'editedon' => null, |
1262 | 1262 | ), '', true, true); |
1263 | -$settings['phpthumb_cache_maxsize']= $xpdo->newObject('modSystemSetting'); |
|
1264 | -$settings['phpthumb_cache_maxsize']->fromArray(array ( |
|
1263 | +$settings['phpthumb_cache_maxsize'] = $xpdo->newObject('modSystemSetting'); |
|
1264 | +$settings['phpthumb_cache_maxsize']->fromArray(array( |
|
1265 | 1265 | 'key' => 'phpthumb_cache_maxsize', |
1266 | 1266 | 'value' => 100, // 100MB |
1267 | 1267 | 'xtype' => 'textfield', |
@@ -1269,8 +1269,8 @@ discard block |
||
1269 | 1269 | 'area' => 'phpthumb', |
1270 | 1270 | 'editedon' => null, |
1271 | 1271 | ), '', true, true); |
1272 | -$settings['phpthumb_cache_maxfiles']= $xpdo->newObject('modSystemSetting'); |
|
1273 | -$settings['phpthumb_cache_maxfiles']->fromArray(array ( |
|
1272 | +$settings['phpthumb_cache_maxfiles'] = $xpdo->newObject('modSystemSetting'); |
|
1273 | +$settings['phpthumb_cache_maxfiles']->fromArray(array( |
|
1274 | 1274 | 'key' => 'phpthumb_cache_maxfiles', |
1275 | 1275 | 'value' => 10000, // 10k files |
1276 | 1276 | 'xtype' => 'textfield', |
@@ -1278,8 +1278,8 @@ discard block |
||
1278 | 1278 | 'area' => 'phpthumb', |
1279 | 1279 | 'editedon' => null, |
1280 | 1280 | ), '', true, true); |
1281 | -$settings['phpthumb_cache_source_enabled']= $xpdo->newObject('modSystemSetting'); |
|
1282 | -$settings['phpthumb_cache_source_enabled']->fromArray(array ( |
|
1281 | +$settings['phpthumb_cache_source_enabled'] = $xpdo->newObject('modSystemSetting'); |
|
1282 | +$settings['phpthumb_cache_source_enabled']->fromArray(array( |
|
1283 | 1283 | 'key' => 'phpthumb_cache_source_enabled', |
1284 | 1284 | 'value' => false, |
1285 | 1285 | 'xtype' => 'combo-boolean', |
@@ -1287,8 +1287,8 @@ discard block |
||
1287 | 1287 | 'area' => 'phpthumb', |
1288 | 1288 | 'editedon' => null, |
1289 | 1289 | ), '', true, true); |
1290 | -$settings['phpthumb_document_root']= $xpdo->newObject('modSystemSetting'); |
|
1291 | -$settings['phpthumb_document_root']->fromArray(array ( |
|
1290 | +$settings['phpthumb_document_root'] = $xpdo->newObject('modSystemSetting'); |
|
1291 | +$settings['phpthumb_document_root']->fromArray(array( |
|
1292 | 1292 | 'key' => 'phpthumb_document_root', |
1293 | 1293 | 'value' => '', |
1294 | 1294 | 'xtype' => 'textfield', |
@@ -1296,8 +1296,8 @@ discard block |
||
1296 | 1296 | 'area' => 'phpthumb', |
1297 | 1297 | 'editedon' => null, |
1298 | 1298 | ), '', true, true); |
1299 | -$settings['phpthumb_error_bgcolor']= $xpdo->newObject('modSystemSetting'); |
|
1300 | -$settings['phpthumb_error_bgcolor']->fromArray(array ( |
|
1299 | +$settings['phpthumb_error_bgcolor'] = $xpdo->newObject('modSystemSetting'); |
|
1300 | +$settings['phpthumb_error_bgcolor']->fromArray(array( |
|
1301 | 1301 | 'key' => 'phpthumb_error_bgcolor', |
1302 | 1302 | 'value' => 'CCCCFF', |
1303 | 1303 | 'xtype' => 'textfield', |
@@ -1305,8 +1305,8 @@ discard block |
||
1305 | 1305 | 'area' => 'phpthumb', |
1306 | 1306 | 'editedon' => null, |
1307 | 1307 | ), '', true, true); |
1308 | -$settings['phpthumb_error_textcolor']= $xpdo->newObject('modSystemSetting'); |
|
1309 | -$settings['phpthumb_error_textcolor']->fromArray(array ( |
|
1308 | +$settings['phpthumb_error_textcolor'] = $xpdo->newObject('modSystemSetting'); |
|
1309 | +$settings['phpthumb_error_textcolor']->fromArray(array( |
|
1310 | 1310 | 'key' => 'phpthumb_error_textcolor', |
1311 | 1311 | 'value' => 'FF0000', |
1312 | 1312 | 'xtype' => 'textfield', |
@@ -1314,8 +1314,8 @@ discard block |
||
1314 | 1314 | 'area' => 'phpthumb', |
1315 | 1315 | 'editedon' => null, |
1316 | 1316 | ), '', true, true); |
1317 | -$settings['phpthumb_error_fontsize']= $xpdo->newObject('modSystemSetting'); |
|
1318 | -$settings['phpthumb_error_fontsize']->fromArray(array ( |
|
1317 | +$settings['phpthumb_error_fontsize'] = $xpdo->newObject('modSystemSetting'); |
|
1318 | +$settings['phpthumb_error_fontsize']->fromArray(array( |
|
1319 | 1319 | 'key' => 'phpthumb_error_fontsize', |
1320 | 1320 | 'value' => 1, |
1321 | 1321 | 'xtype' => 'textfield', |
@@ -1323,8 +1323,8 @@ discard block |
||
1323 | 1323 | 'area' => 'phpthumb', |
1324 | 1324 | 'editedon' => null, |
1325 | 1325 | ), '', true, true); |
1326 | -$settings['phpthumb_far']= $xpdo->newObject('modSystemSetting'); |
|
1327 | -$settings['phpthumb_far']->fromArray(array ( |
|
1326 | +$settings['phpthumb_far'] = $xpdo->newObject('modSystemSetting'); |
|
1327 | +$settings['phpthumb_far']->fromArray(array( |
|
1328 | 1328 | 'key' => 'phpthumb_far', |
1329 | 1329 | 'value' => 'C', |
1330 | 1330 | 'xtype' => 'textfield', |
@@ -1332,8 +1332,8 @@ discard block |
||
1332 | 1332 | 'area' => 'phpthumb', |
1333 | 1333 | 'editedon' => null, |
1334 | 1334 | ), '', true, true); |
1335 | -$settings['phpthumb_imagemagick_path']= $xpdo->newObject('modSystemSetting'); |
|
1336 | -$settings['phpthumb_imagemagick_path']->fromArray(array ( |
|
1335 | +$settings['phpthumb_imagemagick_path'] = $xpdo->newObject('modSystemSetting'); |
|
1336 | +$settings['phpthumb_imagemagick_path']->fromArray(array( |
|
1337 | 1337 | 'key' => 'phpthumb_imagemagick_path', |
1338 | 1338 | 'value' => '', |
1339 | 1339 | 'xtype' => 'textfield', |
@@ -1341,8 +1341,8 @@ discard block |
||
1341 | 1341 | 'area' => 'phpthumb', |
1342 | 1342 | 'editedon' => null, |
1343 | 1343 | ), '', true, true); |
1344 | -$settings['phpthumb_nohotlink_enabled']= $xpdo->newObject('modSystemSetting'); |
|
1345 | -$settings['phpthumb_nohotlink_enabled']->fromArray(array ( |
|
1344 | +$settings['phpthumb_nohotlink_enabled'] = $xpdo->newObject('modSystemSetting'); |
|
1345 | +$settings['phpthumb_nohotlink_enabled']->fromArray(array( |
|
1346 | 1346 | 'key' => 'phpthumb_nohotlink_enabled', |
1347 | 1347 | 'value' => true, |
1348 | 1348 | 'xtype' => 'combo-boolean', |
@@ -1350,8 +1350,8 @@ discard block |
||
1350 | 1350 | 'area' => 'phpthumb', |
1351 | 1351 | 'editedon' => null, |
1352 | 1352 | ), '', true, true); |
1353 | -$settings['phpthumb_nohotlink_erase_image']= $xpdo->newObject('modSystemSetting'); |
|
1354 | -$settings['phpthumb_nohotlink_erase_image']->fromArray(array ( |
|
1353 | +$settings['phpthumb_nohotlink_erase_image'] = $xpdo->newObject('modSystemSetting'); |
|
1354 | +$settings['phpthumb_nohotlink_erase_image']->fromArray(array( |
|
1355 | 1355 | 'key' => 'phpthumb_nohotlink_erase_image', |
1356 | 1356 | 'value' => true, |
1357 | 1357 | 'xtype' => 'combo-boolean', |
@@ -1359,8 +1359,8 @@ discard block |
||
1359 | 1359 | 'area' => 'phpthumb', |
1360 | 1360 | 'editedon' => null, |
1361 | 1361 | ), '', true, true); |
1362 | -$settings['phpthumb_nohotlink_valid_domains']= $xpdo->newObject('modSystemSetting'); |
|
1363 | -$settings['phpthumb_nohotlink_valid_domains']->fromArray(array ( |
|
1362 | +$settings['phpthumb_nohotlink_valid_domains'] = $xpdo->newObject('modSystemSetting'); |
|
1363 | +$settings['phpthumb_nohotlink_valid_domains']->fromArray(array( |
|
1364 | 1364 | 'key' => 'phpthumb_nohotlink_valid_domains', |
1365 | 1365 | 'value' => '{http_host}', |
1366 | 1366 | 'xtype' => 'textfield', |
@@ -1368,8 +1368,8 @@ discard block |
||
1368 | 1368 | 'area' => 'phpthumb', |
1369 | 1369 | 'editedon' => null, |
1370 | 1370 | ), '', true, true); |
1371 | -$settings['phpthumb_nohotlink_text_message']= $xpdo->newObject('modSystemSetting'); |
|
1372 | -$settings['phpthumb_nohotlink_text_message']->fromArray(array ( |
|
1371 | +$settings['phpthumb_nohotlink_text_message'] = $xpdo->newObject('modSystemSetting'); |
|
1372 | +$settings['phpthumb_nohotlink_text_message']->fromArray(array( |
|
1373 | 1373 | 'key' => 'phpthumb_nohotlink_text_message', |
1374 | 1374 | 'value' => 'Off-server thumbnailing is not allowed', |
1375 | 1375 | 'xtype' => 'textfield', |
@@ -1377,8 +1377,8 @@ discard block |
||
1377 | 1377 | 'area' => 'phpthumb', |
1378 | 1378 | 'editedon' => null, |
1379 | 1379 | ), '', true, true); |
1380 | -$settings['phpthumb_nooffsitelink_enabled']= $xpdo->newObject('modSystemSetting'); |
|
1381 | -$settings['phpthumb_nooffsitelink_enabled']->fromArray(array ( |
|
1380 | +$settings['phpthumb_nooffsitelink_enabled'] = $xpdo->newObject('modSystemSetting'); |
|
1381 | +$settings['phpthumb_nooffsitelink_enabled']->fromArray(array( |
|
1382 | 1382 | 'key' => 'phpthumb_nooffsitelink_enabled', |
1383 | 1383 | 'value' => false, |
1384 | 1384 | 'xtype' => 'combo-boolean', |
@@ -1386,8 +1386,8 @@ discard block |
||
1386 | 1386 | 'area' => 'phpthumb', |
1387 | 1387 | 'editedon' => null, |
1388 | 1388 | ), '', true, true); |
1389 | -$settings['phpthumb_nooffsitelink_erase_image']= $xpdo->newObject('modSystemSetting'); |
|
1390 | -$settings['phpthumb_nooffsitelink_erase_image']->fromArray(array ( |
|
1389 | +$settings['phpthumb_nooffsitelink_erase_image'] = $xpdo->newObject('modSystemSetting'); |
|
1390 | +$settings['phpthumb_nooffsitelink_erase_image']->fromArray(array( |
|
1391 | 1391 | 'key' => 'phpthumb_nooffsitelink_erase_image', |
1392 | 1392 | 'value' => true, |
1393 | 1393 | 'xtype' => 'combo-boolean', |
@@ -1395,8 +1395,8 @@ discard block |
||
1395 | 1395 | 'area' => 'phpthumb', |
1396 | 1396 | 'editedon' => null, |
1397 | 1397 | ), '', true, true); |
1398 | -$settings['phpthumb_nooffsitelink_require_refer']= $xpdo->newObject('modSystemSetting'); |
|
1399 | -$settings['phpthumb_nooffsitelink_require_refer']->fromArray(array ( |
|
1398 | +$settings['phpthumb_nooffsitelink_require_refer'] = $xpdo->newObject('modSystemSetting'); |
|
1399 | +$settings['phpthumb_nooffsitelink_require_refer']->fromArray(array( |
|
1400 | 1400 | 'key' => 'phpthumb_nooffsitelink_require_refer', |
1401 | 1401 | 'value' => false, |
1402 | 1402 | 'xtype' => 'combo-boolean', |
@@ -1404,8 +1404,8 @@ discard block |
||
1404 | 1404 | 'area' => 'phpthumb', |
1405 | 1405 | 'editedon' => null, |
1406 | 1406 | ), '', true, true); |
1407 | -$settings['phpthumb_nooffsitelink_text_message']= $xpdo->newObject('modSystemSetting'); |
|
1408 | -$settings['phpthumb_nooffsitelink_text_message']->fromArray(array ( |
|
1407 | +$settings['phpthumb_nooffsitelink_text_message'] = $xpdo->newObject('modSystemSetting'); |
|
1408 | +$settings['phpthumb_nooffsitelink_text_message']->fromArray(array( |
|
1409 | 1409 | 'key' => 'phpthumb_nooffsitelink_text_message', |
1410 | 1410 | 'value' => 'Off-server linking is not allowed', |
1411 | 1411 | 'xtype' => 'textfield', |
@@ -1413,8 +1413,8 @@ discard block |
||
1413 | 1413 | 'area' => 'phpthumb', |
1414 | 1414 | 'editedon' => null, |
1415 | 1415 | ), '', true, true); |
1416 | -$settings['phpthumb_nooffsitelink_valid_domains']= $xpdo->newObject('modSystemSetting'); |
|
1417 | -$settings['phpthumb_nooffsitelink_valid_domains']->fromArray(array ( |
|
1416 | +$settings['phpthumb_nooffsitelink_valid_domains'] = $xpdo->newObject('modSystemSetting'); |
|
1417 | +$settings['phpthumb_nooffsitelink_valid_domains']->fromArray(array( |
|
1418 | 1418 | 'key' => 'phpthumb_nooffsitelink_valid_domains', |
1419 | 1419 | 'value' => '{http_host}', |
1420 | 1420 | 'xtype' => 'textfield', |
@@ -1422,8 +1422,8 @@ discard block |
||
1422 | 1422 | 'area' => 'phpthumb', |
1423 | 1423 | 'editedon' => null, |
1424 | 1424 | ), '', true, true); |
1425 | -$settings['phpthumb_nooffsitelink_watermark_src']= $xpdo->newObject('modSystemSetting'); |
|
1426 | -$settings['phpthumb_nooffsitelink_watermark_src']->fromArray(array ( |
|
1425 | +$settings['phpthumb_nooffsitelink_watermark_src'] = $xpdo->newObject('modSystemSetting'); |
|
1426 | +$settings['phpthumb_nooffsitelink_watermark_src']->fromArray(array( |
|
1427 | 1427 | 'key' => 'phpthumb_nooffsitelink_watermark_src', |
1428 | 1428 | 'value' => '', |
1429 | 1429 | 'xtype' => 'textfield', |
@@ -1431,8 +1431,8 @@ discard block |
||
1431 | 1431 | 'area' => 'phpthumb', |
1432 | 1432 | 'editedon' => null, |
1433 | 1433 | ), '', true, true); |
1434 | -$settings['phpthumb_zoomcrop']= $xpdo->newObject('modSystemSetting'); |
|
1435 | -$settings['phpthumb_zoomcrop']->fromArray(array ( |
|
1434 | +$settings['phpthumb_zoomcrop'] = $xpdo->newObject('modSystemSetting'); |
|
1435 | +$settings['phpthumb_zoomcrop']->fromArray(array( |
|
1436 | 1436 | 'key' => 'phpthumb_zoomcrop', |
1437 | 1437 | 'value' => '0', |
1438 | 1438 | 'xtype' => 'textfield', |
@@ -1441,8 +1441,8 @@ discard block |
||
1441 | 1441 | 'editedon' => null, |
1442 | 1442 | ), '', true, true); |
1443 | 1443 | |
1444 | -$settings['publish_default']= $xpdo->newObject('modSystemSetting'); |
|
1445 | -$settings['publish_default']->fromArray(array ( |
|
1444 | +$settings['publish_default'] = $xpdo->newObject('modSystemSetting'); |
|
1445 | +$settings['publish_default']->fromArray(array( |
|
1446 | 1446 | 'key' => 'publish_default', |
1447 | 1447 | 'value' => false, |
1448 | 1448 | 'xtype' => 'combo-boolean', |
@@ -1450,8 +1450,8 @@ discard block |
||
1450 | 1450 | 'area' => 'site', |
1451 | 1451 | 'editedon' => null, |
1452 | 1452 | ), '', true, true); |
1453 | -$settings['rb_base_dir']= $xpdo->newObject('modSystemSetting'); |
|
1454 | -$settings['rb_base_dir']->fromArray(array ( |
|
1453 | +$settings['rb_base_dir'] = $xpdo->newObject('modSystemSetting'); |
|
1454 | +$settings['rb_base_dir']->fromArray(array( |
|
1455 | 1455 | 'key' => 'rb_base_dir', |
1456 | 1456 | 'value' => '', |
1457 | 1457 | 'xtype' => 'textfield', |
@@ -1459,8 +1459,8 @@ discard block |
||
1459 | 1459 | 'area' => 'file', |
1460 | 1460 | 'editedon' => null, |
1461 | 1461 | ), '', true, true); |
1462 | -$settings['rb_base_url']= $xpdo->newObject('modSystemSetting'); |
|
1463 | -$settings['rb_base_url']->fromArray(array ( |
|
1462 | +$settings['rb_base_url'] = $xpdo->newObject('modSystemSetting'); |
|
1463 | +$settings['rb_base_url']->fromArray(array( |
|
1464 | 1464 | 'key' => 'rb_base_url', |
1465 | 1465 | 'value' => '', |
1466 | 1466 | 'xtype' => 'textfield', |
@@ -1468,8 +1468,8 @@ discard block |
||
1468 | 1468 | 'area' => 'file', |
1469 | 1469 | 'editedon' => null, |
1470 | 1470 | ), '', true, true); |
1471 | -$settings['request_controller']= $xpdo->newObject('modSystemSetting'); |
|
1472 | -$settings['request_controller']->fromArray(array ( |
|
1471 | +$settings['request_controller'] = $xpdo->newObject('modSystemSetting'); |
|
1472 | +$settings['request_controller']->fromArray(array( |
|
1473 | 1473 | 'key' => 'request_controller', |
1474 | 1474 | 'value' => 'index.php', |
1475 | 1475 | 'xtype' => 'textfield', |
@@ -1477,8 +1477,8 @@ discard block |
||
1477 | 1477 | 'area' => 'gateway', |
1478 | 1478 | 'editedon' => null, |
1479 | 1479 | ), '', true, true); |
1480 | -$settings['request_method_strict']= $xpdo->newObject('modSystemSetting'); |
|
1481 | -$settings['request_method_strict']->fromArray(array ( |
|
1480 | +$settings['request_method_strict'] = $xpdo->newObject('modSystemSetting'); |
|
1481 | +$settings['request_method_strict']->fromArray(array( |
|
1482 | 1482 | 'key' => 'request_method_strict', |
1483 | 1483 | 'value' => '0', |
1484 | 1484 | 'xtype' => 'combo-boolean', |
@@ -1486,8 +1486,8 @@ discard block |
||
1486 | 1486 | 'area' => 'gateway', |
1487 | 1487 | 'editedon' => null, |
1488 | 1488 | ), '', true, true); |
1489 | -$settings['request_param_alias']= $xpdo->newObject('modSystemSetting'); |
|
1490 | -$settings['request_param_alias']->fromArray(array ( |
|
1489 | +$settings['request_param_alias'] = $xpdo->newObject('modSystemSetting'); |
|
1490 | +$settings['request_param_alias']->fromArray(array( |
|
1491 | 1491 | 'key' => 'request_param_alias', |
1492 | 1492 | 'value' => 'q', |
1493 | 1493 | 'xtype' => 'textfield', |
@@ -1495,8 +1495,8 @@ discard block |
||
1495 | 1495 | 'area' => 'gateway', |
1496 | 1496 | 'editedon' => null, |
1497 | 1497 | ), '', true, true); |
1498 | -$settings['request_param_id']= $xpdo->newObject('modSystemSetting'); |
|
1499 | -$settings['request_param_id']->fromArray(array ( |
|
1498 | +$settings['request_param_id'] = $xpdo->newObject('modSystemSetting'); |
|
1499 | +$settings['request_param_id']->fromArray(array( |
|
1500 | 1500 | 'key' => 'request_param_id', |
1501 | 1501 | 'value' => 'id', |
1502 | 1502 | 'xtype' => 'textfield', |
@@ -1504,8 +1504,8 @@ discard block |
||
1504 | 1504 | 'area' => 'gateway', |
1505 | 1505 | 'editedon' => null, |
1506 | 1506 | ), '', true, true); |
1507 | -$settings['resolve_hostnames']= $xpdo->newObject('modSystemSetting'); |
|
1508 | -$settings['resolve_hostnames']->fromArray(array ( |
|
1507 | +$settings['resolve_hostnames'] = $xpdo->newObject('modSystemSetting'); |
|
1508 | +$settings['resolve_hostnames']->fromArray(array( |
|
1509 | 1509 | 'key' => 'resolve_hostnames', |
1510 | 1510 | 'value' => '0', |
1511 | 1511 | 'xtype' => 'combo-boolean', |
@@ -1513,8 +1513,8 @@ discard block |
||
1513 | 1513 | 'area' => 'system', |
1514 | 1514 | 'editedon' => null, |
1515 | 1515 | ), '', true, true); |
1516 | -$settings['resource_tree_node_name']= $xpdo->newObject('modSystemSetting'); |
|
1517 | -$settings['resource_tree_node_name']->fromArray(array ( |
|
1516 | +$settings['resource_tree_node_name'] = $xpdo->newObject('modSystemSetting'); |
|
1517 | +$settings['resource_tree_node_name']->fromArray(array( |
|
1518 | 1518 | 'key' => 'resource_tree_node_name', |
1519 | 1519 | 'value' => 'pagetitle', |
1520 | 1520 | 'xtype' => 'textfield', |
@@ -1522,8 +1522,8 @@ discard block |
||
1522 | 1522 | 'area' => 'manager', |
1523 | 1523 | 'editedon' => null, |
1524 | 1524 | ), '', true, true); |
1525 | -$settings['resource_tree_node_name_fallback']= $xpdo->newObject('modSystemSetting'); |
|
1526 | -$settings['resource_tree_node_name_fallback']->fromArray(array ( |
|
1525 | +$settings['resource_tree_node_name_fallback'] = $xpdo->newObject('modSystemSetting'); |
|
1526 | +$settings['resource_tree_node_name_fallback']->fromArray(array( |
|
1527 | 1527 | 'key' => 'resource_tree_node_name_fallback', |
1528 | 1528 | 'value' => 'pagetitle', |
1529 | 1529 | 'xtype' => 'textfield', |
@@ -1531,8 +1531,8 @@ discard block |
||
1531 | 1531 | 'area' => 'manager', |
1532 | 1532 | 'editedon' => null, |
1533 | 1533 | ), '', true, true); |
1534 | -$settings['resource_tree_node_tooltip']= $xpdo->newObject('modSystemSetting'); |
|
1535 | -$settings['resource_tree_node_tooltip']->fromArray(array ( |
|
1534 | +$settings['resource_tree_node_tooltip'] = $xpdo->newObject('modSystemSetting'); |
|
1535 | +$settings['resource_tree_node_tooltip']->fromArray(array( |
|
1536 | 1536 | 'key' => 'resource_tree_node_tooltip', |
1537 | 1537 | 'value' => '', |
1538 | 1538 | 'xtype' => 'textfield', |
@@ -1540,8 +1540,8 @@ discard block |
||
1540 | 1540 | 'area' => 'manager', |
1541 | 1541 | 'editedon' => null, |
1542 | 1542 | ), '', true, true); |
1543 | -$settings['richtext_default']= $xpdo->newObject('modSystemSetting'); |
|
1544 | -$settings['richtext_default']->fromArray(array ( |
|
1543 | +$settings['richtext_default'] = $xpdo->newObject('modSystemSetting'); |
|
1544 | +$settings['richtext_default']->fromArray(array( |
|
1545 | 1545 | 'key' => 'richtext_default', |
1546 | 1546 | 'value' => '1', |
1547 | 1547 | 'xtype' => 'combo-boolean', |
@@ -1549,8 +1549,8 @@ discard block |
||
1549 | 1549 | 'area' => 'manager', |
1550 | 1550 | 'editedon' => null, |
1551 | 1551 | ), '', true, true); |
1552 | -$settings['search_default']= $xpdo->newObject('modSystemSetting'); |
|
1553 | -$settings['search_default']->fromArray(array ( |
|
1552 | +$settings['search_default'] = $xpdo->newObject('modSystemSetting'); |
|
1553 | +$settings['search_default']->fromArray(array( |
|
1554 | 1554 | 'key' => 'search_default', |
1555 | 1555 | 'value' => '1', |
1556 | 1556 | 'xtype' => 'combo-boolean', |
@@ -1558,8 +1558,8 @@ discard block |
||
1558 | 1558 | 'area' => 'site', |
1559 | 1559 | 'editedon' => null, |
1560 | 1560 | ), '', true, true); |
1561 | -$settings['server_offset_time']= $xpdo->newObject('modSystemSetting'); |
|
1562 | -$settings['server_offset_time']->fromArray(array ( |
|
1561 | +$settings['server_offset_time'] = $xpdo->newObject('modSystemSetting'); |
|
1562 | +$settings['server_offset_time']->fromArray(array( |
|
1563 | 1563 | 'key' => 'server_offset_time', |
1564 | 1564 | 'value' => '0', |
1565 | 1565 | 'xtype' => 'textfield', |
@@ -1567,8 +1567,8 @@ discard block |
||
1567 | 1567 | 'area' => 'system', |
1568 | 1568 | 'editedon' => null, |
1569 | 1569 | ), '', true, true); |
1570 | -$settings['server_protocol']= $xpdo->newObject('modSystemSetting'); |
|
1571 | -$settings['server_protocol']->fromArray(array ( |
|
1570 | +$settings['server_protocol'] = $xpdo->newObject('modSystemSetting'); |
|
1571 | +$settings['server_protocol']->fromArray(array( |
|
1572 | 1572 | 'key' => 'server_protocol', |
1573 | 1573 | 'value' => 'http', |
1574 | 1574 | 'xtype' => 'textfield', |
@@ -1576,8 +1576,8 @@ discard block |
||
1576 | 1576 | 'area' => 'system', |
1577 | 1577 | 'editedon' => null, |
1578 | 1578 | ), '', true, true); |
1579 | -$settings['session_cookie_domain']= $xpdo->newObject('modSystemSetting'); |
|
1580 | -$settings['session_cookie_domain']->fromArray(array ( |
|
1579 | +$settings['session_cookie_domain'] = $xpdo->newObject('modSystemSetting'); |
|
1580 | +$settings['session_cookie_domain']->fromArray(array( |
|
1581 | 1581 | 'key' => 'session_cookie_domain', |
1582 | 1582 | 'value' => '', |
1583 | 1583 | 'xtype' => 'textfield', |
@@ -1585,8 +1585,8 @@ discard block |
||
1585 | 1585 | 'area' => 'session', |
1586 | 1586 | 'editedon' => null, |
1587 | 1587 | ), '', true, true); |
1588 | -$settings['default_username']= $xpdo->newObject('modSystemSetting'); |
|
1589 | -$settings['default_username']->fromArray(array ( |
|
1588 | +$settings['default_username'] = $xpdo->newObject('modSystemSetting'); |
|
1589 | +$settings['default_username']->fromArray(array( |
|
1590 | 1590 | 'key' => 'default_username', |
1591 | 1591 | 'value' => '(anonymous)', |
1592 | 1592 | 'xtype' => 'textfield', |
@@ -1594,8 +1594,8 @@ discard block |
||
1594 | 1594 | 'area' => 'session', |
1595 | 1595 | 'editedon' => null, |
1596 | 1596 | ), '', true, true); |
1597 | -$settings['anonymous_sessions']= $xpdo->newObject('modSystemSetting'); |
|
1598 | -$settings['anonymous_sessions']->fromArray(array ( |
|
1597 | +$settings['anonymous_sessions'] = $xpdo->newObject('modSystemSetting'); |
|
1598 | +$settings['anonymous_sessions']->fromArray(array( |
|
1599 | 1599 | 'key' => 'anonymous_sessions', |
1600 | 1600 | 'value' => true, |
1601 | 1601 | 'xtype' => 'combo-boolean', |
@@ -1603,8 +1603,8 @@ discard block |
||
1603 | 1603 | 'area' => 'session', |
1604 | 1604 | 'editedon' => null, |
1605 | 1605 | ), '', true, true); |
1606 | -$settings['session_cookie_lifetime']= $xpdo->newObject('modSystemSetting'); |
|
1607 | -$settings['session_cookie_lifetime']->fromArray(array ( |
|
1606 | +$settings['session_cookie_lifetime'] = $xpdo->newObject('modSystemSetting'); |
|
1607 | +$settings['session_cookie_lifetime']->fromArray(array( |
|
1608 | 1608 | 'key' => 'session_cookie_lifetime', |
1609 | 1609 | 'value' => '604800', |
1610 | 1610 | 'xtype' => 'textfield', |
@@ -1612,8 +1612,8 @@ discard block |
||
1612 | 1612 | 'area' => 'session', |
1613 | 1613 | 'editedon' => null, |
1614 | 1614 | ), '', true, true); |
1615 | -$settings['session_cookie_path']= $xpdo->newObject('modSystemSetting'); |
|
1616 | -$settings['session_cookie_path']->fromArray(array ( |
|
1615 | +$settings['session_cookie_path'] = $xpdo->newObject('modSystemSetting'); |
|
1616 | +$settings['session_cookie_path']->fromArray(array( |
|
1617 | 1617 | 'key' => 'session_cookie_path', |
1618 | 1618 | 'value' => '', |
1619 | 1619 | 'xtype' => 'textfield', |
@@ -1621,8 +1621,8 @@ discard block |
||
1621 | 1621 | 'area' => 'session', |
1622 | 1622 | 'editedon' => null, |
1623 | 1623 | ), '', true, true); |
1624 | -$settings['session_cookie_secure']= $xpdo->newObject('modSystemSetting'); |
|
1625 | -$settings['session_cookie_secure']->fromArray(array ( |
|
1624 | +$settings['session_cookie_secure'] = $xpdo->newObject('modSystemSetting'); |
|
1625 | +$settings['session_cookie_secure']->fromArray(array( |
|
1626 | 1626 | 'key' => 'session_cookie_secure', |
1627 | 1627 | 'value' => false, |
1628 | 1628 | 'xtype' => 'combo-boolean', |
@@ -1630,8 +1630,8 @@ discard block |
||
1630 | 1630 | 'area' => 'session', |
1631 | 1631 | 'editedon' => null, |
1632 | 1632 | ), '', true, true); |
1633 | -$settings['session_cookie_httponly']= $xpdo->newObject('modSystemSetting'); |
|
1634 | -$settings['session_cookie_httponly']->fromArray(array ( |
|
1633 | +$settings['session_cookie_httponly'] = $xpdo->newObject('modSystemSetting'); |
|
1634 | +$settings['session_cookie_httponly']->fromArray(array( |
|
1635 | 1635 | 'key' => 'session_cookie_httponly', |
1636 | 1636 | 'value' => true, |
1637 | 1637 | 'xtype' => 'combo-boolean', |
@@ -1639,8 +1639,8 @@ discard block |
||
1639 | 1639 | 'area' => 'session', |
1640 | 1640 | 'editedon' => null, |
1641 | 1641 | ), '', true, true); |
1642 | -$settings['session_gc_maxlifetime']= $xpdo->newObject('modSystemSetting'); |
|
1643 | -$settings['session_gc_maxlifetime']->fromArray(array ( |
|
1642 | +$settings['session_gc_maxlifetime'] = $xpdo->newObject('modSystemSetting'); |
|
1643 | +$settings['session_gc_maxlifetime']->fromArray(array( |
|
1644 | 1644 | 'key' => 'session_gc_maxlifetime', |
1645 | 1645 | 'value' => '604800', |
1646 | 1646 | 'xtype' => 'textfield', |
@@ -1648,8 +1648,8 @@ discard block |
||
1648 | 1648 | 'area' => 'session', |
1649 | 1649 | 'editedon' => null, |
1650 | 1650 | ), '', true, true); |
1651 | -$settings['session_handler_class']= $xpdo->newObject('modSystemSetting'); |
|
1652 | -$settings['session_handler_class']->fromArray(array ( |
|
1651 | +$settings['session_handler_class'] = $xpdo->newObject('modSystemSetting'); |
|
1652 | +$settings['session_handler_class']->fromArray(array( |
|
1653 | 1653 | 'key' => 'session_handler_class', |
1654 | 1654 | 'value' => 'modSessionHandler', |
1655 | 1655 | 'xtype' => 'textfield', |
@@ -1657,8 +1657,8 @@ discard block |
||
1657 | 1657 | 'area' => 'session', |
1658 | 1658 | 'editedon' => null, |
1659 | 1659 | ), '', true, true); |
1660 | -$settings['session_name']= $xpdo->newObject('modSystemSetting'); |
|
1661 | -$settings['session_name']->fromArray(array ( |
|
1660 | +$settings['session_name'] = $xpdo->newObject('modSystemSetting'); |
|
1661 | +$settings['session_name']->fromArray(array( |
|
1662 | 1662 | 'key' => 'session_name', |
1663 | 1663 | 'value' => '', |
1664 | 1664 | 'xtype' => 'textfield', |
@@ -1666,8 +1666,8 @@ discard block |
||
1666 | 1666 | 'area' => 'session', |
1667 | 1667 | 'editedon' => null, |
1668 | 1668 | ), '', true, true); |
1669 | -$settings['set_header']= $xpdo->newObject('modSystemSetting'); |
|
1670 | -$settings['set_header']->fromArray(array ( |
|
1669 | +$settings['set_header'] = $xpdo->newObject('modSystemSetting'); |
|
1670 | +$settings['set_header']->fromArray(array( |
|
1671 | 1671 | 'key' => 'set_header', |
1672 | 1672 | 'value' => '1', |
1673 | 1673 | 'xtype' => 'combo-boolean', |
@@ -1675,8 +1675,8 @@ discard block |
||
1675 | 1675 | 'area' => 'system', |
1676 | 1676 | 'editedon' => null, |
1677 | 1677 | ), '', true, true); |
1678 | -$settings['send_poweredby_header']= $xpdo->newObject('modSystemSetting'); |
|
1679 | -$settings['send_poweredby_header']->fromArray(array ( |
|
1678 | +$settings['send_poweredby_header'] = $xpdo->newObject('modSystemSetting'); |
|
1679 | +$settings['send_poweredby_header']->fromArray(array( |
|
1680 | 1680 | 'key' => 'send_poweredby_header', |
1681 | 1681 | 'value' => '0', |
1682 | 1682 | 'xtype' => 'combo-boolean', |
@@ -1684,8 +1684,8 @@ discard block |
||
1684 | 1684 | 'area' => 'system', |
1685 | 1685 | 'editedon' => null, |
1686 | 1686 | ), '', true, true); |
1687 | -$settings['show_tv_categories_header']= $xpdo->newObject('modSystemSetting'); |
|
1688 | -$settings['show_tv_categories_header']->fromArray(array ( |
|
1687 | +$settings['show_tv_categories_header'] = $xpdo->newObject('modSystemSetting'); |
|
1688 | +$settings['show_tv_categories_header']->fromArray(array( |
|
1689 | 1689 | 'key' => 'show_tv_categories_header', |
1690 | 1690 | 'value' => true, |
1691 | 1691 | 'xtype' => 'combo-boolean', |
@@ -1693,8 +1693,8 @@ discard block |
||
1693 | 1693 | 'area' => 'manager', |
1694 | 1694 | 'editedon' => null, |
1695 | 1695 | ), '', true, true); |
1696 | -$settings['signupemail_message']= $xpdo->newObject('modSystemSetting'); |
|
1697 | -$settings['signupemail_message']->fromArray(array ( |
|
1696 | +$settings['signupemail_message'] = $xpdo->newObject('modSystemSetting'); |
|
1697 | +$settings['signupemail_message']->fromArray(array( |
|
1698 | 1698 | 'key' => 'signupemail_message', |
1699 | 1699 | 'value' => '<p>Hello [[+uid]],</p> |
1700 | 1700 | <p>Here are your login details for the [[+sname]] MODX Manager:</p> |
@@ -1712,8 +1712,8 @@ discard block |
||
1712 | 1712 | 'area' => 'authentication', |
1713 | 1713 | 'editedon' => null, |
1714 | 1714 | ), '', true, true); |
1715 | -$settings['site_name']= $xpdo->newObject('modSystemSetting'); |
|
1716 | -$settings['site_name']->fromArray(array ( |
|
1715 | +$settings['site_name'] = $xpdo->newObject('modSystemSetting'); |
|
1716 | +$settings['site_name']->fromArray(array( |
|
1717 | 1717 | 'key' => 'site_name', |
1718 | 1718 | 'value' => 'MODX Revolution', |
1719 | 1719 | 'xtype' => 'textfield', |
@@ -1721,8 +1721,8 @@ discard block |
||
1721 | 1721 | 'area' => 'site', |
1722 | 1722 | 'editedon' => null, |
1723 | 1723 | ), '', true, true); |
1724 | -$settings['site_start']= $xpdo->newObject('modSystemSetting'); |
|
1725 | -$settings['site_start']->fromArray(array ( |
|
1724 | +$settings['site_start'] = $xpdo->newObject('modSystemSetting'); |
|
1725 | +$settings['site_start']->fromArray(array( |
|
1726 | 1726 | 'key' => 'site_start', |
1727 | 1727 | 'value' => '1', |
1728 | 1728 | 'xtype' => 'textfield', |
@@ -1730,8 +1730,8 @@ discard block |
||
1730 | 1730 | 'area' => 'site', |
1731 | 1731 | 'editedon' => null, |
1732 | 1732 | ), '', true, true); |
1733 | -$settings['site_status']= $xpdo->newObject('modSystemSetting'); |
|
1734 | -$settings['site_status']->fromArray(array ( |
|
1733 | +$settings['site_status'] = $xpdo->newObject('modSystemSetting'); |
|
1734 | +$settings['site_status']->fromArray(array( |
|
1735 | 1735 | 'key' => 'site_status', |
1736 | 1736 | 'value' => '1', |
1737 | 1737 | 'xtype' => 'combo-boolean', |
@@ -1739,8 +1739,8 @@ discard block |
||
1739 | 1739 | 'area' => 'site', |
1740 | 1740 | 'editedon' => null, |
1741 | 1741 | ), '', true, true); |
1742 | -$settings['site_unavailable_message']= $xpdo->newObject('modSystemSetting'); |
|
1743 | -$settings['site_unavailable_message']->fromArray(array ( |
|
1742 | +$settings['site_unavailable_message'] = $xpdo->newObject('modSystemSetting'); |
|
1743 | +$settings['site_unavailable_message']->fromArray(array( |
|
1744 | 1744 | 'key' => 'site_unavailable_message', |
1745 | 1745 | 'value' => 'The site is currently unavailable', |
1746 | 1746 | 'xtype' => 'textfield', |
@@ -1748,8 +1748,8 @@ discard block |
||
1748 | 1748 | 'area' => 'site', |
1749 | 1749 | 'editedon' => null, |
1750 | 1750 | ), '', true, true); |
1751 | -$settings['site_unavailable_page']= $xpdo->newObject('modSystemSetting'); |
|
1752 | -$settings['site_unavailable_page']->fromArray(array ( |
|
1751 | +$settings['site_unavailable_page'] = $xpdo->newObject('modSystemSetting'); |
|
1752 | +$settings['site_unavailable_page']->fromArray(array( |
|
1753 | 1753 | 'key' => 'site_unavailable_page', |
1754 | 1754 | 'value' => '0', |
1755 | 1755 | 'xtype' => 'textfield', |
@@ -1757,8 +1757,8 @@ discard block |
||
1757 | 1757 | 'area' => 'site', |
1758 | 1758 | 'editedon' => null, |
1759 | 1759 | ), '', true, true); |
1760 | -$settings['strip_image_paths']= $xpdo->newObject('modSystemSetting'); |
|
1761 | -$settings['strip_image_paths']->fromArray(array ( |
|
1760 | +$settings['strip_image_paths'] = $xpdo->newObject('modSystemSetting'); |
|
1761 | +$settings['strip_image_paths']->fromArray(array( |
|
1762 | 1762 | 'key' => 'strip_image_paths', |
1763 | 1763 | 'value' => '1', |
1764 | 1764 | 'xtype' => 'combo-boolean', |
@@ -1766,8 +1766,8 @@ discard block |
||
1766 | 1766 | 'area' => 'file', |
1767 | 1767 | 'editedon' => null, |
1768 | 1768 | ), '', true, true); |
1769 | -$settings['symlink_merge_fields']= $xpdo->newObject('modSystemSetting'); |
|
1770 | -$settings['symlink_merge_fields']->fromArray(array ( |
|
1769 | +$settings['symlink_merge_fields'] = $xpdo->newObject('modSystemSetting'); |
|
1770 | +$settings['symlink_merge_fields']->fromArray(array( |
|
1771 | 1771 | 'key' => 'symlink_merge_fields', |
1772 | 1772 | 'value' => '1', |
1773 | 1773 | 'xtype' => 'combo-boolean', |
@@ -1775,8 +1775,8 @@ discard block |
||
1775 | 1775 | 'area' => 'site', |
1776 | 1776 | 'editedon' => null, |
1777 | 1777 | ), '', true, true); |
1778 | -$settings['syncsite_default']= $xpdo->newObject('modSystemSetting'); |
|
1779 | -$settings['syncsite_default']->fromArray(array ( |
|
1778 | +$settings['syncsite_default'] = $xpdo->newObject('modSystemSetting'); |
|
1779 | +$settings['syncsite_default']->fromArray(array( |
|
1780 | 1780 | 'key' => 'syncsite_default', |
1781 | 1781 | 'value' => '1', |
1782 | 1782 | 'xtype' => 'combo-boolean', |
@@ -1784,8 +1784,8 @@ discard block |
||
1784 | 1784 | 'area' => 'caching', |
1785 | 1785 | 'editedon' => null, |
1786 | 1786 | ), '', true, true); |
1787 | -$settings['topmenu_show_descriptions']= $xpdo->newObject('modSystemSetting'); |
|
1788 | -$settings['topmenu_show_descriptions']->fromArray(array ( |
|
1787 | +$settings['topmenu_show_descriptions'] = $xpdo->newObject('modSystemSetting'); |
|
1788 | +$settings['topmenu_show_descriptions']->fromArray(array( |
|
1789 | 1789 | 'key' => 'topmenu_show_descriptions', |
1790 | 1790 | 'value' => 1, |
1791 | 1791 | 'xtype' => 'combo-boolean', |
@@ -1793,8 +1793,8 @@ discard block |
||
1793 | 1793 | 'area' => 'manager', |
1794 | 1794 | 'editedon' => null, |
1795 | 1795 | ), '', true, true); |
1796 | -$settings['tree_default_sort']= $xpdo->newObject('modSystemSetting'); |
|
1797 | -$settings['tree_default_sort']->fromArray(array ( |
|
1796 | +$settings['tree_default_sort'] = $xpdo->newObject('modSystemSetting'); |
|
1797 | +$settings['tree_default_sort']->fromArray(array( |
|
1798 | 1798 | 'key' => 'tree_default_sort', |
1799 | 1799 | 'value' => 'menuindex', |
1800 | 1800 | 'xtype' => 'textfield', |
@@ -1802,8 +1802,8 @@ discard block |
||
1802 | 1802 | 'area' => 'manager', |
1803 | 1803 | 'editedon' => null, |
1804 | 1804 | ), '', true, true); |
1805 | -$settings['tree_root_id']= $xpdo->newObject('modSystemSetting'); |
|
1806 | -$settings['tree_root_id']->fromArray(array ( |
|
1805 | +$settings['tree_root_id'] = $xpdo->newObject('modSystemSetting'); |
|
1806 | +$settings['tree_root_id']->fromArray(array( |
|
1807 | 1807 | 'key' => 'tree_root_id', |
1808 | 1808 | 'value' => '0', |
1809 | 1809 | 'xtype' => 'numberfield', |
@@ -1811,8 +1811,8 @@ discard block |
||
1811 | 1811 | 'area' => 'manager', |
1812 | 1812 | 'editedon' => null, |
1813 | 1813 | ), '', true, true); |
1814 | -$settings['tvs_below_content']= $xpdo->newObject('modSystemSetting'); |
|
1815 | -$settings['tvs_below_content']->fromArray(array ( |
|
1814 | +$settings['tvs_below_content'] = $xpdo->newObject('modSystemSetting'); |
|
1815 | +$settings['tvs_below_content']->fromArray(array( |
|
1816 | 1816 | 'key' => 'tvs_below_content', |
1817 | 1817 | 'value' => 0, |
1818 | 1818 | 'xtype' => 'combo-boolean', |
@@ -1820,8 +1820,8 @@ discard block |
||
1820 | 1820 | 'area' => 'manager', |
1821 | 1821 | 'editedon' => null, |
1822 | 1822 | ), '', true, true); |
1823 | -$settings['udperms_allowroot']= $xpdo->newObject('modSystemSetting'); |
|
1824 | -$settings['udperms_allowroot']->fromArray(array ( |
|
1823 | +$settings['udperms_allowroot'] = $xpdo->newObject('modSystemSetting'); |
|
1824 | +$settings['udperms_allowroot']->fromArray(array( |
|
1825 | 1825 | 'key' => 'udperms_allowroot', |
1826 | 1826 | 'value' => false, |
1827 | 1827 | 'xtype' => 'combo-boolean', |
@@ -1829,8 +1829,8 @@ discard block |
||
1829 | 1829 | 'area' => 'authentication', |
1830 | 1830 | 'editedon' => null, |
1831 | 1831 | ), '', true, true); |
1832 | -$settings['unauthorized_page']= $xpdo->newObject('modSystemSetting'); |
|
1833 | -$settings['unauthorized_page']->fromArray(array ( |
|
1832 | +$settings['unauthorized_page'] = $xpdo->newObject('modSystemSetting'); |
|
1833 | +$settings['unauthorized_page']->fromArray(array( |
|
1834 | 1834 | 'key' => 'unauthorized_page', |
1835 | 1835 | 'value' => '1', |
1836 | 1836 | 'xtype' => 'textfield', |
@@ -1838,8 +1838,8 @@ discard block |
||
1838 | 1838 | 'area' => 'site', |
1839 | 1839 | 'editedon' => null, |
1840 | 1840 | ), '', true, true); |
1841 | -$settings['upload_files']= $xpdo->newObject('modSystemSetting'); |
|
1842 | -$settings['upload_files']->fromArray(array ( |
|
1841 | +$settings['upload_files'] = $xpdo->newObject('modSystemSetting'); |
|
1842 | +$settings['upload_files']->fromArray(array( |
|
1843 | 1843 | 'key' => 'upload_files', |
1844 | 1844 | 'value' => 'txt,html,htm,xml,js,css,zip,gz,rar,z,tgz,tar,mp3,mp4,aac,wav,au,wmv,avi,mpg,mpeg,pdf,doc,docx,xls,xlsx,ppt,pptx,jpg,jpeg,png,tiff,svg,svgz,gif,psd,ico,bmp,odt,ods,odp,odb,odg,odf,md,ttf,woff,eot,scss,less,css.map', |
1845 | 1845 | 'xtype' => 'textfield', |
@@ -1847,8 +1847,8 @@ discard block |
||
1847 | 1847 | 'area' => 'file', |
1848 | 1848 | 'editedon' => null, |
1849 | 1849 | ), '', true, true); |
1850 | -$settings['upload_flash']= $xpdo->newObject('modSystemSetting'); |
|
1851 | -$settings['upload_flash']->fromArray(array ( |
|
1850 | +$settings['upload_flash'] = $xpdo->newObject('modSystemSetting'); |
|
1851 | +$settings['upload_flash']->fromArray(array( |
|
1852 | 1852 | 'key' => 'upload_flash', |
1853 | 1853 | 'value' => 'swf,fla', |
1854 | 1854 | 'xtype' => 'textfield', |
@@ -1856,8 +1856,8 @@ discard block |
||
1856 | 1856 | 'area' => 'file', |
1857 | 1857 | 'editedon' => null, |
1858 | 1858 | ), '', true, true); |
1859 | -$settings['upload_images']= $xpdo->newObject('modSystemSetting'); |
|
1860 | -$settings['upload_images']->fromArray(array ( |
|
1859 | +$settings['upload_images'] = $xpdo->newObject('modSystemSetting'); |
|
1860 | +$settings['upload_images']->fromArray(array( |
|
1861 | 1861 | 'key' => 'upload_images', |
1862 | 1862 | 'value' => 'jpg,jpeg,png,gif,psd,ico,bmp,tiff,svg,svgz', |
1863 | 1863 | 'xtype' => 'textfield', |
@@ -1865,8 +1865,8 @@ discard block |
||
1865 | 1865 | 'area' => 'file', |
1866 | 1866 | 'editedon' => null, |
1867 | 1867 | ), '', true, true); |
1868 | -$settings['upload_maxsize']= $xpdo->newObject('modSystemSetting'); |
|
1869 | -$settings['upload_maxsize']->fromArray(array ( |
|
1868 | +$settings['upload_maxsize'] = $xpdo->newObject('modSystemSetting'); |
|
1869 | +$settings['upload_maxsize']->fromArray(array( |
|
1870 | 1870 | 'key' => 'upload_maxsize', |
1871 | 1871 | 'value' => '1048576', |
1872 | 1872 | 'xtype' => 'textfield', |
@@ -1874,8 +1874,8 @@ discard block |
||
1874 | 1874 | 'area' => 'file', |
1875 | 1875 | 'editedon' => null, |
1876 | 1876 | ), '', true, true); |
1877 | -$settings['upload_media']= $xpdo->newObject('modSystemSetting'); |
|
1878 | -$settings['upload_media']->fromArray(array ( |
|
1877 | +$settings['upload_media'] = $xpdo->newObject('modSystemSetting'); |
|
1878 | +$settings['upload_media']->fromArray(array( |
|
1879 | 1879 | 'key' => 'upload_media', |
1880 | 1880 | 'value' => 'mp3,wav,au,wmv,avi,mpg,mpeg', |
1881 | 1881 | 'xtype' => 'textfield', |
@@ -1883,8 +1883,8 @@ discard block |
||
1883 | 1883 | 'area' => 'file', |
1884 | 1884 | 'editedon' => null, |
1885 | 1885 | ), '', true, true); |
1886 | -$settings['use_alias_path']= $xpdo->newObject('modSystemSetting'); |
|
1887 | -$settings['use_alias_path']->fromArray(array ( |
|
1886 | +$settings['use_alias_path'] = $xpdo->newObject('modSystemSetting'); |
|
1887 | +$settings['use_alias_path']->fromArray(array( |
|
1888 | 1888 | 'key' => 'use_alias_path', |
1889 | 1889 | 'value' => '0', |
1890 | 1890 | 'xtype' => 'combo-boolean', |
@@ -1892,8 +1892,8 @@ discard block |
||
1892 | 1892 | 'area' => 'furls', |
1893 | 1893 | 'editedon' => null, |
1894 | 1894 | ), '', true, true); |
1895 | -$settings['use_browser']= $xpdo->newObject('modSystemSetting'); |
|
1896 | -$settings['use_browser']->fromArray(array ( |
|
1895 | +$settings['use_browser'] = $xpdo->newObject('modSystemSetting'); |
|
1896 | +$settings['use_browser']->fromArray(array( |
|
1897 | 1897 | 'key' => 'use_browser', |
1898 | 1898 | 'value' => '1', |
1899 | 1899 | 'xtype' => 'combo-boolean', |
@@ -1901,8 +1901,8 @@ discard block |
||
1901 | 1901 | 'area' => 'file', |
1902 | 1902 | 'editedon' => null, |
1903 | 1903 | ), '', true, true); |
1904 | -$settings['use_editor']= $xpdo->newObject('modSystemSetting'); |
|
1905 | -$settings['use_editor']->fromArray(array ( |
|
1904 | +$settings['use_editor'] = $xpdo->newObject('modSystemSetting'); |
|
1905 | +$settings['use_editor']->fromArray(array( |
|
1906 | 1906 | 'key' => 'use_editor', |
1907 | 1907 | 'value' => '1', |
1908 | 1908 | 'xtype' => 'combo-boolean', |
@@ -1910,8 +1910,8 @@ discard block |
||
1910 | 1910 | 'area' => 'editor', |
1911 | 1911 | 'editedon' => null, |
1912 | 1912 | ), '', true, true); |
1913 | -$settings['use_multibyte']= $xpdo->newObject('modSystemSetting'); |
|
1914 | -$settings['use_multibyte']->fromArray(array ( |
|
1913 | +$settings['use_multibyte'] = $xpdo->newObject('modSystemSetting'); |
|
1914 | +$settings['use_multibyte']->fromArray(array( |
|
1915 | 1915 | 'key' => 'use_multibyte', |
1916 | 1916 | 'value' => false, |
1917 | 1917 | 'xtype' => 'combo-boolean', |
@@ -1919,8 +1919,8 @@ discard block |
||
1919 | 1919 | 'area' => 'language', |
1920 | 1920 | 'editedon' => null, |
1921 | 1921 | ), '', true, true); |
1922 | -$settings['use_weblink_target']= $xpdo->newObject('modSystemSetting'); |
|
1923 | -$settings['use_weblink_target']->fromArray(array ( |
|
1922 | +$settings['use_weblink_target'] = $xpdo->newObject('modSystemSetting'); |
|
1923 | +$settings['use_weblink_target']->fromArray(array( |
|
1924 | 1924 | 'key' => 'use_weblink_target', |
1925 | 1925 | 'value' => false, |
1926 | 1926 | 'xtype' => 'combo-boolean', |
@@ -1928,8 +1928,8 @@ discard block |
||
1928 | 1928 | 'area' => 'site', |
1929 | 1929 | 'editedon' => null, |
1930 | 1930 | ), '', true, true); |
1931 | -$settings['webpwdreminder_message']= $xpdo->newObject('modSystemSetting'); |
|
1932 | -$settings['webpwdreminder_message']->fromArray(array ( |
|
1931 | +$settings['webpwdreminder_message'] = $xpdo->newObject('modSystemSetting'); |
|
1932 | +$settings['webpwdreminder_message']->fromArray(array( |
|
1933 | 1933 | 'key' => 'webpwdreminder_message', |
1934 | 1934 | 'value' => "<p>Hello [[+uid]],</p> |
1935 | 1935 | |
@@ -1950,8 +1950,8 @@ discard block |
||
1950 | 1950 | 'area' => 'authentication', |
1951 | 1951 | 'editedon' => null, |
1952 | 1952 | ), '', true, true); |
1953 | -$settings['websignupemail_message']= $xpdo->newObject('modSystemSetting'); |
|
1954 | -$settings['websignupemail_message']->fromArray(array ( |
|
1953 | +$settings['websignupemail_message'] = $xpdo->newObject('modSystemSetting'); |
|
1954 | +$settings['websignupemail_message']->fromArray(array( |
|
1955 | 1955 | 'key' => 'websignupemail_message', |
1956 | 1956 | 'value' => '<p>Hello [[+uid]],</p> |
1957 | 1957 | |
@@ -1969,8 +1969,8 @@ discard block |
||
1969 | 1969 | 'area' => 'authentication', |
1970 | 1970 | 'editedon' => null, |
1971 | 1971 | ), '', true, true); |
1972 | -$settings['welcome_screen']= $xpdo->newObject('modSystemSetting'); |
|
1973 | -$settings['welcome_screen']->fromArray(array ( |
|
1972 | +$settings['welcome_screen'] = $xpdo->newObject('modSystemSetting'); |
|
1973 | +$settings['welcome_screen']->fromArray(array( |
|
1974 | 1974 | 'key' => 'welcome_screen', |
1975 | 1975 | 'value' => '1', |
1976 | 1976 | 'xtype' => 'combo-boolean', |
@@ -1978,8 +1978,8 @@ discard block |
||
1978 | 1978 | 'area' => 'manager', |
1979 | 1979 | 'editedon' => null, |
1980 | 1980 | ), '', true, true); |
1981 | -$settings['welcome_screen_url']= $xpdo->newObject('modSystemSetting'); |
|
1982 | -$settings['welcome_screen_url']->fromArray(array ( |
|
1981 | +$settings['welcome_screen_url'] = $xpdo->newObject('modSystemSetting'); |
|
1982 | +$settings['welcome_screen_url']->fromArray(array( |
|
1983 | 1983 | 'key' => 'welcome_screen_url', |
1984 | 1984 | 'value' => '//misc.modx.com/revolution/welcome.26.html ', |
1985 | 1985 | 'xtype' => 'textfield', |
@@ -1987,8 +1987,8 @@ discard block |
||
1987 | 1987 | 'area' => 'manager', |
1988 | 1988 | 'editedon' => null, |
1989 | 1989 | ), '', true, true); |
1990 | -$settings['welcome_action']= $xpdo->newObject('modSystemSetting'); |
|
1991 | -$settings['welcome_action']->fromArray(array ( |
|
1990 | +$settings['welcome_action'] = $xpdo->newObject('modSystemSetting'); |
|
1991 | +$settings['welcome_action']->fromArray(array( |
|
1992 | 1992 | 'key' => 'welcome_action', |
1993 | 1993 | 'value' => 'welcome', |
1994 | 1994 | 'xtype' => 'textfield', |
@@ -1996,8 +1996,8 @@ discard block |
||
1996 | 1996 | 'area' => 'manager', |
1997 | 1997 | 'editedon' => null, |
1998 | 1998 | ), '', true, true); |
1999 | -$settings['welcome_namespace']= $xpdo->newObject('modSystemSetting'); |
|
2000 | -$settings['welcome_namespace']->fromArray(array ( |
|
1999 | +$settings['welcome_namespace'] = $xpdo->newObject('modSystemSetting'); |
|
2000 | +$settings['welcome_namespace']->fromArray(array( |
|
2001 | 2001 | 'key' => 'welcome_namespace', |
2002 | 2002 | 'value' => 'core', |
2003 | 2003 | 'xtype' => 'textfield', |
@@ -2005,8 +2005,8 @@ discard block |
||
2005 | 2005 | 'area' => 'manager', |
2006 | 2006 | 'editedon' => null, |
2007 | 2007 | ), '', true, true); |
2008 | -$settings['which_editor']= $xpdo->newObject('modSystemSetting'); |
|
2009 | -$settings['which_editor']->fromArray(array ( |
|
2008 | +$settings['which_editor'] = $xpdo->newObject('modSystemSetting'); |
|
2009 | +$settings['which_editor']->fromArray(array( |
|
2010 | 2010 | 'key' => 'which_editor', |
2011 | 2011 | 'value' => '', |
2012 | 2012 | 'xtype' => 'modx-combo-rte', |
@@ -2014,8 +2014,8 @@ discard block |
||
2014 | 2014 | 'area' => 'editor', |
2015 | 2015 | 'editedon' => null, |
2016 | 2016 | ), '', true, true); |
2017 | -$settings['which_element_editor']= $xpdo->newObject('modSystemSetting'); |
|
2018 | -$settings['which_element_editor']->fromArray(array ( |
|
2017 | +$settings['which_element_editor'] = $xpdo->newObject('modSystemSetting'); |
|
2018 | +$settings['which_element_editor']->fromArray(array( |
|
2019 | 2019 | 'key' => 'which_element_editor', |
2020 | 2020 | 'value' => '', |
2021 | 2021 | 'xtype' => 'modx-combo-rte', |
@@ -2023,8 +2023,8 @@ discard block |
||
2023 | 2023 | 'area' => 'editor', |
2024 | 2024 | 'editedon' => null, |
2025 | 2025 | ), '', true, true); |
2026 | -$settings['xhtml_urls']= $xpdo->newObject('modSystemSetting'); |
|
2027 | -$settings['xhtml_urls']->fromArray(array ( |
|
2026 | +$settings['xhtml_urls'] = $xpdo->newObject('modSystemSetting'); |
|
2027 | +$settings['xhtml_urls']->fromArray(array( |
|
2028 | 2028 | 'key' => 'xhtml_urls', |
2029 | 2029 | 'value' => true, |
2030 | 2030 | 'xtype' => 'combo-boolean', |
@@ -2032,8 +2032,8 @@ discard block |
||
2032 | 2032 | 'area' => 'site', |
2033 | 2033 | 'editedon' => null, |
2034 | 2034 | ), '', true, true); |
2035 | -$settings['enable_gravatar']= $xpdo->newObject('modSystemSetting'); |
|
2036 | -$settings['enable_gravatar']->fromArray(array ( |
|
2035 | +$settings['enable_gravatar'] = $xpdo->newObject('modSystemSetting'); |
|
2036 | +$settings['enable_gravatar']->fromArray(array( |
|
2037 | 2037 | 'key' => 'enable_gravatar', |
2038 | 2038 | 'value' => true, |
2039 | 2039 | 'xtype' => 'combo-boolean', |
@@ -2041,8 +2041,8 @@ discard block |
||
2041 | 2041 | 'area' => 'manager', |
2042 | 2042 | 'editedon' => null, |
2043 | 2043 | ), '', true, true); |
2044 | -$settings['mgr_tree_icon_context']= $xpdo->newObject('modSystemSetting'); |
|
2045 | -$settings['mgr_tree_icon_context']->fromArray(array ( |
|
2044 | +$settings['mgr_tree_icon_context'] = $xpdo->newObject('modSystemSetting'); |
|
2045 | +$settings['mgr_tree_icon_context']->fromArray(array( |
|
2046 | 2046 | 'key' => 'mgr_tree_icon_context', |
2047 | 2047 | 'value' => 'tree-context', |
2048 | 2048 | 'xtype' => 'textfield', |
@@ -2050,8 +2050,8 @@ discard block |
||
2050 | 2050 | 'area' => 'manager', |
2051 | 2051 | 'editedon' => null, |
2052 | 2052 | ), '', true, true); |
2053 | -$settings['mgr_source_icon']= $xpdo->newObject('modSystemSetting'); |
|
2054 | -$settings['mgr_source_icon']->fromArray(array ( |
|
2053 | +$settings['mgr_source_icon'] = $xpdo->newObject('modSystemSetting'); |
|
2054 | +$settings['mgr_source_icon']->fromArray(array( |
|
2055 | 2055 | 'key' => 'mgr_source_icon', |
2056 | 2056 | 'value' => 'icon-folder-open-o', |
2057 | 2057 | 'xtype' => 'textfield', |
@@ -2059,8 +2059,8 @@ discard block |
||
2059 | 2059 | 'area' => 'manager', |
2060 | 2060 | 'editedon' => null, |
2061 | 2061 | ), '', true, true); |
2062 | -$settings['main_nav_parent']= $xpdo->newObject('modSystemSetting'); |
|
2063 | -$settings['main_nav_parent']->fromArray(array ( |
|
2062 | +$settings['main_nav_parent'] = $xpdo->newObject('modSystemSetting'); |
|
2063 | +$settings['main_nav_parent']->fromArray(array( |
|
2064 | 2064 | 'key' => 'main_nav_parent', |
2065 | 2065 | 'value' => 'topnav', |
2066 | 2066 | 'xtype' => 'textfield', |
@@ -2068,8 +2068,8 @@ discard block |
||
2068 | 2068 | 'area' => 'manager', |
2069 | 2069 | 'editedon' => null, |
2070 | 2070 | ), '', true, true); |
2071 | -$settings['user_nav_parent']= $xpdo->newObject('modSystemSetting'); |
|
2072 | -$settings['user_nav_parent']->fromArray(array ( |
|
2071 | +$settings['user_nav_parent'] = $xpdo->newObject('modSystemSetting'); |
|
2072 | +$settings['user_nav_parent']->fromArray(array( |
|
2073 | 2073 | 'key' => 'user_nav_parent', |
2074 | 2074 | 'value' => 'usernav', |
2075 | 2075 | 'xtype' => 'textfield', |
@@ -2077,8 +2077,8 @@ discard block |
||
2077 | 2077 | 'area' => 'manager', |
2078 | 2078 | 'editedon' => null, |
2079 | 2079 | ), '', true, true); |
2080 | -$settings['auto_isfolder']= $xpdo->newObject('modSystemSetting'); |
|
2081 | -$settings['auto_isfolder']->fromArray(array ( |
|
2080 | +$settings['auto_isfolder'] = $xpdo->newObject('modSystemSetting'); |
|
2081 | +$settings['auto_isfolder']->fromArray(array( |
|
2082 | 2082 | 'key' => 'auto_isfolder', |
2083 | 2083 | 'value' => true, |
2084 | 2084 | 'xtype' => 'combo-boolean', |
@@ -2086,8 +2086,8 @@ discard block |
||
2086 | 2086 | 'area' => 'site', |
2087 | 2087 | 'editedon' => null, |
2088 | 2088 | ), '', true, true); |
2089 | -$settings['manager_use_fullname']= $xpdo->newObject('modSystemSetting'); |
|
2090 | -$settings['manager_use_fullname']->fromArray(array ( |
|
2089 | +$settings['manager_use_fullname'] = $xpdo->newObject('modSystemSetting'); |
|
2090 | +$settings['manager_use_fullname']->fromArray(array( |
|
2091 | 2091 | 'key' => 'manager_use_fullname', |
2092 | 2092 | 'value' => false, |
2093 | 2093 | 'xtype' => 'combo-boolean', |
@@ -2095,8 +2095,8 @@ discard block |
||
2095 | 2095 | 'area' => 'manager', |
2096 | 2096 | 'editedon' => null, |
2097 | 2097 | ), '', true, true); |
2098 | -$settings['parser_recurse_uncacheable']= $xpdo->newObject('modSystemSetting'); |
|
2099 | -$settings['parser_recurse_uncacheable']->fromArray(array ( |
|
2098 | +$settings['parser_recurse_uncacheable'] = $xpdo->newObject('modSystemSetting'); |
|
2099 | +$settings['parser_recurse_uncacheable']->fromArray(array( |
|
2100 | 2100 | 'key' => 'parser_recurse_uncacheable', |
2101 | 2101 | 'value' => true, |
2102 | 2102 | 'xtype' => 'combo-boolean', |
@@ -2104,8 +2104,8 @@ discard block |
||
2104 | 2104 | 'area' => 'system', |
2105 | 2105 | 'editedon' => null, |
2106 | 2106 | ), '', true, true); |
2107 | -$settings['preserve_menuindex']= $xpdo->newObject('modSystemSetting'); |
|
2108 | -$settings['preserve_menuindex']->fromArray(array ( |
|
2107 | +$settings['preserve_menuindex'] = $xpdo->newObject('modSystemSetting'); |
|
2108 | +$settings['preserve_menuindex']->fromArray(array( |
|
2109 | 2109 | 'key' => 'preserve_menuindex', |
2110 | 2110 | 'value' => true, |
2111 | 2111 | 'xtype' => 'combo-boolean', |
@@ -2113,8 +2113,8 @@ discard block |
||
2113 | 2113 | 'area' => 'manager', |
2114 | 2114 | 'editedon' => null, |
2115 | 2115 | ), '', true, true); |
2116 | -$settings['allow_tv_eval']= $xpdo->newObject('modSystemSetting'); |
|
2117 | -$settings['allow_tv_eval']->fromArray(array ( |
|
2116 | +$settings['allow_tv_eval'] = $xpdo->newObject('modSystemSetting'); |
|
2117 | +$settings['allow_tv_eval']->fromArray(array( |
|
2118 | 2118 | 'key' => 'allow_tv_eval', |
2119 | 2119 | 'value' => true, |
2120 | 2120 | 'xtype' => 'combo-boolean', |
@@ -2122,8 +2122,8 @@ discard block |
||
2122 | 2122 | 'area' => 'system', |
2123 | 2123 | 'editedon' => null, |
2124 | 2124 | ), '', true, true); |
2125 | -$settings['log_snippet_not_found']= $xpdo->newObject('modSystemSetting'); |
|
2126 | -$settings['log_snippet_not_found']->fromArray(array ( |
|
2125 | +$settings['log_snippet_not_found'] = $xpdo->newObject('modSystemSetting'); |
|
2126 | +$settings['log_snippet_not_found']->fromArray(array( |
|
2127 | 2127 | 'key' => 'log_snippet_not_found', |
2128 | 2128 | 'value' => true, |
2129 | 2129 | 'xtype' => 'combo-boolean', |
@@ -7,507 +7,507 @@ |
||
7 | 7 | $collection = array(); |
8 | 8 | $collection['1']= $xpdo->newObject('modAction'); |
9 | 9 | $collection['1']->fromArray(array ( |
10 | - 'id' => 1, |
|
11 | - 'namespace' => 'core', |
|
12 | - 'controller' => 'welcome', |
|
13 | - 'haslayout' => 1, |
|
14 | - 'lang_topics' => 'welcome,configcheck', |
|
15 | - 'assets' => '', |
|
10 | + 'id' => 1, |
|
11 | + 'namespace' => 'core', |
|
12 | + 'controller' => 'welcome', |
|
13 | + 'haslayout' => 1, |
|
14 | + 'lang_topics' => 'welcome,configcheck', |
|
15 | + 'assets' => '', |
|
16 | 16 | ), '', true, true); |
17 | 17 | $collection['3']= $xpdo->newObject('modAction'); |
18 | 18 | $collection['3']->fromArray(array ( |
19 | - 'id' => 3, |
|
20 | - 'namespace' => 'core', |
|
21 | - 'controller' => 'system', |
|
22 | - 'haslayout' => 0, |
|
23 | - 'lang_topics' => '', |
|
24 | - 'assets' => '', |
|
19 | + 'id' => 3, |
|
20 | + 'namespace' => 'core', |
|
21 | + 'controller' => 'system', |
|
22 | + 'haslayout' => 0, |
|
23 | + 'lang_topics' => '', |
|
24 | + 'assets' => '', |
|
25 | 25 | ), '', true, true); |
26 | 26 | $collection['5']= $xpdo->newObject('modAction'); |
27 | 27 | $collection['5']->fromArray(array ( |
28 | - 'id' => 5, |
|
29 | - 'namespace' => 'core', |
|
30 | - 'controller' => 'browser', |
|
31 | - 'haslayout' => 0, |
|
32 | - 'lang_topics' => 'file', |
|
33 | - 'assets' => '', |
|
28 | + 'id' => 5, |
|
29 | + 'namespace' => 'core', |
|
30 | + 'controller' => 'browser', |
|
31 | + 'haslayout' => 0, |
|
32 | + 'lang_topics' => 'file', |
|
33 | + 'assets' => '', |
|
34 | 34 | ), '', true, true); |
35 | 35 | $collection['7']= $xpdo->newObject('modAction'); |
36 | 36 | $collection['7']->fromArray(array ( |
37 | - 'id' => 7, |
|
38 | - 'namespace' => 'core', |
|
39 | - 'controller' => 'context/create', |
|
40 | - 'haslayout' => 1, |
|
41 | - 'lang_topics' => 'context,setting,access,policy,user', |
|
42 | - 'assets' => '', |
|
43 | - 'help_url' => 'Contexts', |
|
37 | + 'id' => 7, |
|
38 | + 'namespace' => 'core', |
|
39 | + 'controller' => 'context/create', |
|
40 | + 'haslayout' => 1, |
|
41 | + 'lang_topics' => 'context,setting,access,policy,user', |
|
42 | + 'assets' => '', |
|
43 | + 'help_url' => 'Contexts', |
|
44 | 44 | ), '', true, true); |
45 | 45 | $collection['8']= $xpdo->newObject('modAction'); |
46 | 46 | $collection['8']->fromArray(array ( |
47 | - 'id' => 8, |
|
48 | - 'namespace' => 'core', |
|
49 | - 'controller' => 'context/update', |
|
50 | - 'haslayout' => 1, |
|
51 | - 'lang_topics' => 'context,setting,access,policy,user', |
|
52 | - 'assets' => '', |
|
53 | - 'help_url' => 'Contexts', |
|
47 | + 'id' => 8, |
|
48 | + 'namespace' => 'core', |
|
49 | + 'controller' => 'context/update', |
|
50 | + 'haslayout' => 1, |
|
51 | + 'lang_topics' => 'context,setting,access,policy,user', |
|
52 | + 'assets' => '', |
|
53 | + 'help_url' => 'Contexts', |
|
54 | 54 | ), '', true, true); |
55 | 55 | $collection['9']= $xpdo->newObject('modAction'); |
56 | 56 | $collection['9']->fromArray(array ( |
57 | - 'id' => 9, |
|
58 | - 'namespace' => 'core', |
|
59 | - 'controller' => 'context/view', |
|
60 | - 'haslayout' => 1, |
|
61 | - 'lang_topics' => 'context', |
|
62 | - 'assets' => '', |
|
63 | - 'help_url' => 'Contexts', |
|
57 | + 'id' => 9, |
|
58 | + 'namespace' => 'core', |
|
59 | + 'controller' => 'context/view', |
|
60 | + 'haslayout' => 1, |
|
61 | + 'lang_topics' => 'context', |
|
62 | + 'assets' => '', |
|
63 | + 'help_url' => 'Contexts', |
|
64 | 64 | ), '', true, true); |
65 | 65 | $collection['10']= $xpdo->newObject('modAction'); |
66 | 66 | $collection['10']->fromArray(array ( |
67 | - 'id' => 10, |
|
68 | - 'namespace' => 'core', |
|
69 | - 'controller' => 'element', |
|
70 | - 'haslayout' => 1, |
|
71 | - 'lang_topics' => 'element', |
|
72 | - 'assets' => '', |
|
67 | + 'id' => 10, |
|
68 | + 'namespace' => 'core', |
|
69 | + 'controller' => 'element', |
|
70 | + 'haslayout' => 1, |
|
71 | + 'lang_topics' => 'element', |
|
72 | + 'assets' => '', |
|
73 | 73 | ), '', true, true); |
74 | 74 | $collection['11']= $xpdo->newObject('modAction'); |
75 | 75 | $collection['11']->fromArray(array ( |
76 | - 'id' => 11, |
|
77 | - 'namespace' => 'core', |
|
78 | - 'controller' => 'element/chunk', |
|
79 | - 'haslayout' => 1, |
|
80 | - 'lang_topics' => 'chunk,category,propertyset,element', |
|
81 | - 'assets' => '', |
|
82 | - 'help_url' => 'Chunks', |
|
76 | + 'id' => 11, |
|
77 | + 'namespace' => 'core', |
|
78 | + 'controller' => 'element/chunk', |
|
79 | + 'haslayout' => 1, |
|
80 | + 'lang_topics' => 'chunk,category,propertyset,element', |
|
81 | + 'assets' => '', |
|
82 | + 'help_url' => 'Chunks', |
|
83 | 83 | ), '', true, true); |
84 | 84 | $collection['12']= $xpdo->newObject('modAction'); |
85 | 85 | $collection['12']->fromArray(array ( |
86 | - 'id' => 12, |
|
87 | - 'namespace' => 'core', |
|
88 | - 'controller' => 'element/chunk/create', |
|
89 | - 'haslayout' => 1, |
|
90 | - 'lang_topics' => 'chunk,category,propertyset,element', |
|
91 | - 'assets' => '', |
|
92 | - 'help_url' => 'Chunks', |
|
86 | + 'id' => 12, |
|
87 | + 'namespace' => 'core', |
|
88 | + 'controller' => 'element/chunk/create', |
|
89 | + 'haslayout' => 1, |
|
90 | + 'lang_topics' => 'chunk,category,propertyset,element', |
|
91 | + 'assets' => '', |
|
92 | + 'help_url' => 'Chunks', |
|
93 | 93 | ), '', true, true); |
94 | 94 | $collection['13']= $xpdo->newObject('modAction'); |
95 | 95 | $collection['13']->fromArray(array ( |
96 | - 'id' => 13, |
|
97 | - 'namespace' => 'core', |
|
98 | - 'controller' => 'element/chunk/update', |
|
99 | - 'haslayout' => 1, |
|
100 | - 'lang_topics' => 'chunk,category,propertyset,element', |
|
101 | - 'assets' => '', |
|
102 | - 'help_url' => 'Chunks', |
|
96 | + 'id' => 13, |
|
97 | + 'namespace' => 'core', |
|
98 | + 'controller' => 'element/chunk/update', |
|
99 | + 'haslayout' => 1, |
|
100 | + 'lang_topics' => 'chunk,category,propertyset,element', |
|
101 | + 'assets' => '', |
|
102 | + 'help_url' => 'Chunks', |
|
103 | 103 | ), '', true, true); |
104 | 104 | $collection['20']= $xpdo->newObject('modAction'); |
105 | 105 | $collection['20']->fromArray(array ( |
106 | - 'id' => 20, |
|
107 | - 'namespace' => 'core', |
|
108 | - 'controller' => 'element/plugin', |
|
109 | - 'haslayout' => 1, |
|
110 | - 'lang_topics' => 'plugin,category,system_events,propertyset,element', |
|
111 | - 'assets' => '', |
|
112 | - 'help_url' => 'Plugins', |
|
106 | + 'id' => 20, |
|
107 | + 'namespace' => 'core', |
|
108 | + 'controller' => 'element/plugin', |
|
109 | + 'haslayout' => 1, |
|
110 | + 'lang_topics' => 'plugin,category,system_events,propertyset,element', |
|
111 | + 'assets' => '', |
|
112 | + 'help_url' => 'Plugins', |
|
113 | 113 | ), '', true, true); |
114 | 114 | $collection['21']= $xpdo->newObject('modAction'); |
115 | 115 | $collection['21']->fromArray(array ( |
116 | - 'id' => 21, |
|
117 | - 'namespace' => 'core', |
|
118 | - 'controller' => 'element/plugin/create', |
|
119 | - 'haslayout' => 1, |
|
120 | - 'lang_topics' => 'plugin,category,system_events,propertyset,element', |
|
121 | - 'assets' => '', |
|
122 | - 'help_url' => 'Plugins', |
|
116 | + 'id' => 21, |
|
117 | + 'namespace' => 'core', |
|
118 | + 'controller' => 'element/plugin/create', |
|
119 | + 'haslayout' => 1, |
|
120 | + 'lang_topics' => 'plugin,category,system_events,propertyset,element', |
|
121 | + 'assets' => '', |
|
122 | + 'help_url' => 'Plugins', |
|
123 | 123 | ), '', true, true); |
124 | 124 | $collection['22']= $xpdo->newObject('modAction'); |
125 | 125 | $collection['22']->fromArray(array ( |
126 | - 'id' => 22, |
|
127 | - 'namespace' => 'core', |
|
128 | - 'controller' => 'element/plugin/update', |
|
129 | - 'haslayout' => 1, |
|
130 | - 'lang_topics' => 'plugin,category,system_events,propertyset,element', |
|
131 | - 'assets' => '', |
|
132 | - 'help_url' => 'Plugins', |
|
126 | + 'id' => 22, |
|
127 | + 'namespace' => 'core', |
|
128 | + 'controller' => 'element/plugin/update', |
|
129 | + 'haslayout' => 1, |
|
130 | + 'lang_topics' => 'plugin,category,system_events,propertyset,element', |
|
131 | + 'assets' => '', |
|
132 | + 'help_url' => 'Plugins', |
|
133 | 133 | ), '', true, true); |
134 | 134 | $collection['25']= $xpdo->newObject('modAction'); |
135 | 135 | $collection['25']->fromArray(array ( |
136 | - 'id' => 25, |
|
137 | - 'namespace' => 'core', |
|
138 | - 'controller' => 'element/snippet', |
|
139 | - 'haslayout' => 1, |
|
140 | - 'lang_topics' => 'snippet,propertyset,element', |
|
141 | - 'assets' => '', |
|
142 | - 'help_url' => 'Snippets', |
|
136 | + 'id' => 25, |
|
137 | + 'namespace' => 'core', |
|
138 | + 'controller' => 'element/snippet', |
|
139 | + 'haslayout' => 1, |
|
140 | + 'lang_topics' => 'snippet,propertyset,element', |
|
141 | + 'assets' => '', |
|
142 | + 'help_url' => 'Snippets', |
|
143 | 143 | ), '', true, true); |
144 | 144 | $collection['26']= $xpdo->newObject('modAction'); |
145 | 145 | $collection['26']->fromArray(array ( |
146 | - 'id' => 26, |
|
147 | - 'namespace' => 'core', |
|
148 | - 'controller' => 'element/snippet/create', |
|
149 | - 'haslayout' => 1, |
|
150 | - 'lang_topics' => 'snippet,propertyset,element', |
|
151 | - 'assets' => '', |
|
152 | - 'help_url' => 'Snippets', |
|
146 | + 'id' => 26, |
|
147 | + 'namespace' => 'core', |
|
148 | + 'controller' => 'element/snippet/create', |
|
149 | + 'haslayout' => 1, |
|
150 | + 'lang_topics' => 'snippet,propertyset,element', |
|
151 | + 'assets' => '', |
|
152 | + 'help_url' => 'Snippets', |
|
153 | 153 | ), '', true, true); |
154 | 154 | $collection['27']= $xpdo->newObject('modAction'); |
155 | 155 | $collection['27']->fromArray(array ( |
156 | - 'id' => 27, |
|
157 | - 'namespace' => 'core', |
|
158 | - 'controller' => 'element/snippet/update', |
|
159 | - 'haslayout' => 1, |
|
160 | - 'lang_topics' => 'snippet,propertyset,element', |
|
161 | - 'assets' => '', |
|
162 | - 'help_url' => 'Snippets', |
|
156 | + 'id' => 27, |
|
157 | + 'namespace' => 'core', |
|
158 | + 'controller' => 'element/snippet/update', |
|
159 | + 'haslayout' => 1, |
|
160 | + 'lang_topics' => 'snippet,propertyset,element', |
|
161 | + 'assets' => '', |
|
162 | + 'help_url' => 'Snippets', |
|
163 | 163 | ), '', true, true); |
164 | 164 | $collection['28']= $xpdo->newObject('modAction'); |
165 | 165 | $collection['28']->fromArray(array ( |
166 | - 'id' => 28, |
|
167 | - 'namespace' => 'core', |
|
168 | - 'controller' => 'element/template', |
|
169 | - 'haslayout' => 1, |
|
170 | - 'lang_topics' => 'template,propertyset,element', |
|
171 | - 'assets' => '', |
|
172 | - 'help_url' => 'Templates', |
|
166 | + 'id' => 28, |
|
167 | + 'namespace' => 'core', |
|
168 | + 'controller' => 'element/template', |
|
169 | + 'haslayout' => 1, |
|
170 | + 'lang_topics' => 'template,propertyset,element', |
|
171 | + 'assets' => '', |
|
172 | + 'help_url' => 'Templates', |
|
173 | 173 | ), '', true, true); |
174 | 174 | $collection['29']= $xpdo->newObject('modAction'); |
175 | 175 | $collection['29']->fromArray(array ( |
176 | - 'id' => 29, |
|
177 | - 'namespace' => 'core', |
|
178 | - 'controller' => 'element/template/create', |
|
179 | - 'haslayout' => 1, |
|
180 | - 'lang_topics' => 'template,propertyset,element', |
|
181 | - 'assets' => '', |
|
182 | - 'help_url' => 'Templates', |
|
176 | + 'id' => 29, |
|
177 | + 'namespace' => 'core', |
|
178 | + 'controller' => 'element/template/create', |
|
179 | + 'haslayout' => 1, |
|
180 | + 'lang_topics' => 'template,propertyset,element', |
|
181 | + 'assets' => '', |
|
182 | + 'help_url' => 'Templates', |
|
183 | 183 | ), '', true, true); |
184 | 184 | $collection['30']= $xpdo->newObject('modAction'); |
185 | 185 | $collection['30']->fromArray(array ( |
186 | - 'id' => 30, |
|
187 | - 'namespace' => 'core', |
|
188 | - 'controller' => 'element/template/update', |
|
189 | - 'haslayout' => 1, |
|
190 | - 'lang_topics' => 'template,propertyset,element', |
|
191 | - 'assets' => '', |
|
192 | - 'help_url' => 'Templates', |
|
186 | + 'id' => 30, |
|
187 | + 'namespace' => 'core', |
|
188 | + 'controller' => 'element/template/update', |
|
189 | + 'haslayout' => 1, |
|
190 | + 'lang_topics' => 'template,propertyset,element', |
|
191 | + 'assets' => '', |
|
192 | + 'help_url' => 'Templates', |
|
193 | 193 | ), '', true, true); |
194 | 194 | $collection['31']= $xpdo->newObject('modAction'); |
195 | 195 | $collection['31']->fromArray(array ( |
196 | - 'id' => 31, |
|
197 | - 'namespace' => 'core', |
|
198 | - 'controller' => 'element/template/tvsort', |
|
199 | - 'haslayout' => 1, |
|
200 | - 'lang_topics' => 'template,tv,propertyset,element', |
|
201 | - 'assets' => '', |
|
196 | + 'id' => 31, |
|
197 | + 'namespace' => 'core', |
|
198 | + 'controller' => 'element/template/tvsort', |
|
199 | + 'haslayout' => 1, |
|
200 | + 'lang_topics' => 'template,tv,propertyset,element', |
|
201 | + 'assets' => '', |
|
202 | 202 | ), '', true, true); |
203 | 203 | $collection['32']= $xpdo->newObject('modAction'); |
204 | 204 | $collection['32']->fromArray(array ( |
205 | - 'id' => 32, |
|
206 | - 'namespace' => 'core', |
|
207 | - 'controller' => 'element/tv', |
|
208 | - 'haslayout' => 1, |
|
209 | - 'lang_topics' => 'tv,propertyset,element', |
|
210 | - 'assets' => '', |
|
211 | - 'help_url' => 'Template+Variables', |
|
205 | + 'id' => 32, |
|
206 | + 'namespace' => 'core', |
|
207 | + 'controller' => 'element/tv', |
|
208 | + 'haslayout' => 1, |
|
209 | + 'lang_topics' => 'tv,propertyset,element', |
|
210 | + 'assets' => '', |
|
211 | + 'help_url' => 'Template+Variables', |
|
212 | 212 | ), '', true, true); |
213 | 213 | $collection['33']= $xpdo->newObject('modAction'); |
214 | 214 | $collection['33']->fromArray(array ( |
215 | - 'id' => 33, |
|
216 | - 'namespace' => 'core', |
|
217 | - 'controller' => 'element/tv/create', |
|
218 | - 'haslayout' => 1, |
|
219 | - 'lang_topics' => 'tv,tv_widget,propertyset,element', |
|
220 | - 'assets' => '', |
|
221 | - 'help_url' => 'Template+Variables', |
|
215 | + 'id' => 33, |
|
216 | + 'namespace' => 'core', |
|
217 | + 'controller' => 'element/tv/create', |
|
218 | + 'haslayout' => 1, |
|
219 | + 'lang_topics' => 'tv,tv_widget,propertyset,element', |
|
220 | + 'assets' => '', |
|
221 | + 'help_url' => 'Template+Variables', |
|
222 | 222 | ), '', true, true); |
223 | 223 | $collection['34']= $xpdo->newObject('modAction'); |
224 | 224 | $collection['34']->fromArray(array ( |
225 | - 'id' => 34, |
|
226 | - 'namespace' => 'core', |
|
227 | - 'controller' => 'element/tv/update', |
|
228 | - 'haslayout' => 1, |
|
229 | - 'lang_topics' => 'tv,tv_widget,propertyset,element', |
|
230 | - 'assets' => '', |
|
231 | - 'help_url' => 'Template+Variables', |
|
225 | + 'id' => 34, |
|
226 | + 'namespace' => 'core', |
|
227 | + 'controller' => 'element/tv/update', |
|
228 | + 'haslayout' => 1, |
|
229 | + 'lang_topics' => 'tv,tv_widget,propertyset,element', |
|
230 | + 'assets' => '', |
|
231 | + 'help_url' => 'Template+Variables', |
|
232 | 232 | ), '', true, true); |
233 | 233 | $collection['35']= $xpdo->newObject('modAction'); |
234 | 234 | $collection['35']->fromArray(array ( |
235 | - 'id' => 35, |
|
236 | - 'namespace' => 'core', |
|
237 | - 'controller' => 'element/view', |
|
238 | - 'haslayout' => 1, |
|
239 | - 'lang_topics' => 'element', |
|
240 | - 'assets' => '', |
|
235 | + 'id' => 35, |
|
236 | + 'namespace' => 'core', |
|
237 | + 'controller' => 'element/view', |
|
238 | + 'haslayout' => 1, |
|
239 | + 'lang_topics' => 'element', |
|
240 | + 'assets' => '', |
|
241 | 241 | ), '', true, true); |
242 | 242 | $collection['36']= $xpdo->newObject('modAction'); |
243 | 243 | $collection['36']->fromArray(array ( |
244 | - 'id' => 36, |
|
245 | - 'namespace' => 'core', |
|
246 | - 'controller' => 'resource', |
|
247 | - 'haslayout' => 1, |
|
248 | - 'lang_topics' => '', |
|
249 | - 'assets' => '', |
|
244 | + 'id' => 36, |
|
245 | + 'namespace' => 'core', |
|
246 | + 'controller' => 'resource', |
|
247 | + 'haslayout' => 1, |
|
248 | + 'lang_topics' => '', |
|
249 | + 'assets' => '', |
|
250 | 250 | ), '', true, true); |
251 | 251 | $collection['38']= $xpdo->newObject('modAction'); |
252 | 252 | $collection['38']->fromArray(array ( |
253 | - 'id' => 38, |
|
254 | - 'namespace' => 'core', |
|
255 | - 'controller' => 'security/usergroup/create', |
|
256 | - 'haslayout' => 1, |
|
257 | - 'lang_topics' => 'user,access,policy,context', |
|
258 | - 'assets' => '', |
|
259 | - 'help_url' => 'User+Groups', |
|
253 | + 'id' => 38, |
|
254 | + 'namespace' => 'core', |
|
255 | + 'controller' => 'security/usergroup/create', |
|
256 | + 'haslayout' => 1, |
|
257 | + 'lang_topics' => 'user,access,policy,context', |
|
258 | + 'assets' => '', |
|
259 | + 'help_url' => 'User+Groups', |
|
260 | 260 | ), '', true, true); |
261 | 261 | $collection['39']= $xpdo->newObject('modAction'); |
262 | 262 | $collection['39']->fromArray(array ( |
263 | - 'id' => 39, |
|
264 | - 'namespace' => 'core', |
|
265 | - 'controller' => 'security/usergroup/update', |
|
266 | - 'haslayout' => 1, |
|
267 | - 'lang_topics' => 'user,access,policy,context', |
|
268 | - 'assets' => '', |
|
269 | - 'help_url' => 'User+Groups', |
|
263 | + 'id' => 39, |
|
264 | + 'namespace' => 'core', |
|
265 | + 'controller' => 'security/usergroup/update', |
|
266 | + 'haslayout' => 1, |
|
267 | + 'lang_topics' => 'user,access,policy,context', |
|
268 | + 'assets' => '', |
|
269 | + 'help_url' => 'User+Groups', |
|
270 | 270 | ), '', true, true); |
271 | 271 | $collection['40']= $xpdo->newObject('modAction'); |
272 | 272 | $collection['40']->fromArray(array ( |
273 | - 'id' => 40, |
|
274 | - 'namespace' => 'core', |
|
275 | - 'controller' => 'resource/data', |
|
276 | - 'haslayout' => 1, |
|
277 | - 'lang_topics' => 'resource', |
|
278 | - 'assets' => '', |
|
279 | - 'help_url' => 'Resource', |
|
273 | + 'id' => 40, |
|
274 | + 'namespace' => 'core', |
|
275 | + 'controller' => 'resource/data', |
|
276 | + 'haslayout' => 1, |
|
277 | + 'lang_topics' => 'resource', |
|
278 | + 'assets' => '', |
|
279 | + 'help_url' => 'Resource', |
|
280 | 280 | ), '', true, true); |
281 | 281 | $collection['41']= $xpdo->newObject('modAction'); |
282 | 282 | $collection['41']->fromArray(array ( |
283 | - 'id' => 41, |
|
284 | - 'namespace' => 'core', |
|
285 | - 'controller' => 'resource/empty_recycle_bin', |
|
286 | - 'haslayout' => 1, |
|
287 | - 'lang_topics' => 'resource', |
|
288 | - 'assets' => '', |
|
283 | + 'id' => 41, |
|
284 | + 'namespace' => 'core', |
|
285 | + 'controller' => 'resource/empty_recycle_bin', |
|
286 | + 'haslayout' => 1, |
|
287 | + 'lang_topics' => 'resource', |
|
288 | + 'assets' => '', |
|
289 | 289 | ), '', true, true); |
290 | 290 | $collection['43']= $xpdo->newObject('modAction'); |
291 | 291 | $collection['43']->fromArray(array ( |
292 | - 'id' => 43, |
|
293 | - 'namespace' => 'core', |
|
294 | - 'controller' => 'resource/update', |
|
295 | - 'haslayout' => 1, |
|
296 | - 'lang_topics' => 'resource', |
|
297 | - 'assets' => '', |
|
298 | - 'help_url' => 'Resource', |
|
292 | + 'id' => 43, |
|
293 | + 'namespace' => 'core', |
|
294 | + 'controller' => 'resource/update', |
|
295 | + 'haslayout' => 1, |
|
296 | + 'lang_topics' => 'resource', |
|
297 | + 'assets' => '', |
|
298 | + 'help_url' => 'Resource', |
|
299 | 299 | ), '', true, true); |
300 | 300 | $collection['46']= $xpdo->newObject('modAction'); |
301 | 301 | $collection['46']->fromArray(array ( |
302 | - 'id' => 46, |
|
303 | - 'namespace' => 'core', |
|
304 | - 'controller' => 'security', |
|
305 | - 'haslayout' => 1, |
|
306 | - 'lang_topics' => 'user', |
|
307 | - 'assets' => '', |
|
302 | + 'id' => 46, |
|
303 | + 'namespace' => 'core', |
|
304 | + 'controller' => 'security', |
|
305 | + 'haslayout' => 1, |
|
306 | + 'lang_topics' => 'user', |
|
307 | + 'assets' => '', |
|
308 | 308 | ), '', true, true); |
309 | 309 | $collection['50']= $xpdo->newObject('modAction'); |
310 | 310 | $collection['50']->fromArray(array ( |
311 | - 'id' => 50, |
|
312 | - 'namespace' => 'core', |
|
313 | - 'controller' => 'security/role', |
|
314 | - 'haslayout' => 1, |
|
315 | - 'lang_topics' => 'user', |
|
316 | - 'assets' => '', |
|
317 | - 'help_url' => 'Roles', |
|
311 | + 'id' => 50, |
|
312 | + 'namespace' => 'core', |
|
313 | + 'controller' => 'security/role', |
|
314 | + 'haslayout' => 1, |
|
315 | + 'lang_topics' => 'user', |
|
316 | + 'assets' => '', |
|
317 | + 'help_url' => 'Roles', |
|
318 | 318 | ), '', true, true); |
319 | 319 | $collection['54']= $xpdo->newObject('modAction'); |
320 | 320 | $collection['54']->fromArray(array ( |
321 | - 'id' => 54, |
|
322 | - 'namespace' => 'core', |
|
323 | - 'controller' => 'security/user/create', |
|
324 | - 'haslayout' => 1, |
|
325 | - 'lang_topics' => 'user,setting,access', |
|
326 | - 'assets' => '', |
|
327 | - 'help_url' => 'Users', |
|
321 | + 'id' => 54, |
|
322 | + 'namespace' => 'core', |
|
323 | + 'controller' => 'security/user/create', |
|
324 | + 'haslayout' => 1, |
|
325 | + 'lang_topics' => 'user,setting,access', |
|
326 | + 'assets' => '', |
|
327 | + 'help_url' => 'Users', |
|
328 | 328 | ), '', true, true); |
329 | 329 | $collection['55']= $xpdo->newObject('modAction'); |
330 | 330 | $collection['55']->fromArray(array ( |
331 | - 'id' => 55, |
|
332 | - 'namespace' => 'core', |
|
333 | - 'controller' => 'security/user/update', |
|
334 | - 'haslayout' => 1, |
|
335 | - 'lang_topics' => 'user,setting,access', |
|
336 | - 'assets' => '', |
|
337 | - 'help_url' => 'Users', |
|
331 | + 'id' => 55, |
|
332 | + 'namespace' => 'core', |
|
333 | + 'controller' => 'security/user/update', |
|
334 | + 'haslayout' => 1, |
|
335 | + 'lang_topics' => 'user,setting,access', |
|
336 | + 'assets' => '', |
|
337 | + 'help_url' => 'Users', |
|
338 | 338 | ), '', true, true); |
339 | 339 | $collection['56']= $xpdo->newObject('modAction'); |
340 | 340 | $collection['56']->fromArray(array ( |
341 | - 'id' => 56, |
|
342 | - 'namespace' => 'core', |
|
343 | - 'controller' => 'security/login', |
|
344 | - 'haslayout' => 1, |
|
345 | - 'lang_topics' => 'login', |
|
346 | - 'assets' => '', |
|
341 | + 'id' => 56, |
|
342 | + 'namespace' => 'core', |
|
343 | + 'controller' => 'security/login', |
|
344 | + 'haslayout' => 1, |
|
345 | + 'lang_topics' => 'login', |
|
346 | + 'assets' => '', |
|
347 | 347 | ), '', true, true); |
348 | 348 | $collection['62']= $xpdo->newObject('modAction'); |
349 | 349 | $collection['62']->fromArray(array ( |
350 | - 'id' => 62, |
|
351 | - 'namespace' => 'core', |
|
352 | - 'controller' => 'system/refresh_site', |
|
353 | - 'haslayout' => 1, |
|
354 | - 'lang_topics' => '', |
|
355 | - 'assets' => '', |
|
350 | + 'id' => 62, |
|
351 | + 'namespace' => 'core', |
|
352 | + 'controller' => 'system/refresh_site', |
|
353 | + 'haslayout' => 1, |
|
354 | + 'lang_topics' => '', |
|
355 | + 'assets' => '', |
|
356 | 356 | ), '', true, true); |
357 | 357 | $collection['64']= $xpdo->newObject('modAction'); |
358 | 358 | $collection['64']->fromArray(array ( |
359 | - 'id' => 64, |
|
360 | - 'namespace' => 'core', |
|
361 | - 'controller' => 'system/phpinfo', |
|
362 | - 'haslayout' => 1, |
|
363 | - 'lang_topics' => '', |
|
364 | - 'assets' => '', |
|
359 | + 'id' => 64, |
|
360 | + 'namespace' => 'core', |
|
361 | + 'controller' => 'system/phpinfo', |
|
362 | + 'haslayout' => 1, |
|
363 | + 'lang_topics' => '', |
|
364 | + 'assets' => '', |
|
365 | 365 | ), '', true, true); |
366 | 366 | $collection['67']= $xpdo->newObject('modAction'); |
367 | 367 | $collection['67']->fromArray(array ( |
368 | - 'id' => 67, |
|
369 | - 'namespace' => 'core', |
|
370 | - 'controller' => 'resource/tvs', |
|
371 | - 'haslayout' => 0, |
|
372 | - 'lang_topics' => '', |
|
373 | - 'assets' => '', |
|
368 | + 'id' => 67, |
|
369 | + 'namespace' => 'core', |
|
370 | + 'controller' => 'resource/tvs', |
|
371 | + 'haslayout' => 0, |
|
372 | + 'lang_topics' => '', |
|
373 | + 'assets' => '', |
|
374 | 374 | ), '', true, true); |
375 | 375 | $collection['70']= $xpdo->newObject('modAction'); |
376 | 376 | $collection['70']->fromArray(array ( |
377 | - 'id' => 70, |
|
378 | - 'namespace' => 'core', |
|
379 | - 'controller' => 'system/file', |
|
380 | - 'haslayout' => 1, |
|
381 | - 'lang_topics' => 'file', |
|
382 | - 'assets' => '', |
|
377 | + 'id' => 70, |
|
378 | + 'namespace' => 'core', |
|
379 | + 'controller' => 'system/file', |
|
380 | + 'haslayout' => 1, |
|
381 | + 'lang_topics' => 'file', |
|
382 | + 'assets' => '', |
|
383 | 383 | ), '', true, true); |
384 | 384 | $collection['71']= $xpdo->newObject('modAction'); |
385 | 385 | $collection['71']->fromArray(array ( |
386 | - 'id' => 71, |
|
387 | - 'namespace' => 'core', |
|
388 | - 'controller' => 'system/file/edit', |
|
389 | - 'haslayout' => 1, |
|
390 | - 'lang_topics' => 'file', |
|
391 | - 'assets' => '', |
|
386 | + 'id' => 71, |
|
387 | + 'namespace' => 'core', |
|
388 | + 'controller' => 'system/file/edit', |
|
389 | + 'haslayout' => 1, |
|
390 | + 'lang_topics' => 'file', |
|
391 | + 'assets' => '', |
|
392 | 392 | ), '', true, true); |
393 | 393 | $collection['75']= $xpdo->newObject('modAction'); |
394 | 394 | $collection['75']->fromArray(array ( |
395 | - 'id' => 75, |
|
396 | - 'namespace' => 'core', |
|
397 | - 'controller' => 'security/access/policy/update', |
|
398 | - 'haslayout' => 1, |
|
399 | - 'lang_topics' => 'user,policy', |
|
400 | - 'assets' => '', |
|
401 | - 'help_url' => 'Policies', |
|
395 | + 'id' => 75, |
|
396 | + 'namespace' => 'core', |
|
397 | + 'controller' => 'security/access/policy/update', |
|
398 | + 'haslayout' => 1, |
|
399 | + 'lang_topics' => 'user,policy', |
|
400 | + 'assets' => '', |
|
401 | + 'help_url' => 'Policies', |
|
402 | 402 | ), '', true, true); |
403 | 403 | $collection['82']= $xpdo->newObject('modAction'); |
404 | 404 | $collection['82']->fromArray(array ( |
405 | - 'id' => 82, |
|
406 | - 'namespace' => 'core', |
|
407 | - 'controller' => 'workspaces/package/view', |
|
408 | - 'haslayout' => 1, |
|
409 | - 'lang_topics' => 'workspace,namespace', |
|
410 | - 'assets' => '', |
|
411 | - 'help_url' => 'Package+Management', |
|
405 | + 'id' => 82, |
|
406 | + 'namespace' => 'core', |
|
407 | + 'controller' => 'workspaces/package/view', |
|
408 | + 'haslayout' => 1, |
|
409 | + 'lang_topics' => 'workspace,namespace', |
|
410 | + 'assets' => '', |
|
411 | + 'help_url' => 'Package+Management', |
|
412 | 412 | ), '', true, true); |
413 | 413 | $collection['83']= $xpdo->newObject('modAction'); |
414 | 414 | $collection['83']->fromArray(array ( |
415 | - 'id' => 83, |
|
416 | - 'namespace' => 'core', |
|
417 | - 'controller' => 'security/access/policy/template/update', |
|
418 | - 'haslayout' => 1, |
|
419 | - 'lang_topics' => 'user,policy', |
|
420 | - 'assets' => '', |
|
421 | - 'help_url' => 'PolicyTemplates', |
|
415 | + 'id' => 83, |
|
416 | + 'namespace' => 'core', |
|
417 | + 'controller' => 'security/access/policy/template/update', |
|
418 | + 'haslayout' => 1, |
|
419 | + 'lang_topics' => 'user,policy', |
|
420 | + 'assets' => '', |
|
421 | + 'help_url' => 'PolicyTemplates', |
|
422 | 422 | ), '', true, true); |
423 | 423 | $collection['84']= $xpdo->newObject('modAction'); |
424 | 424 | $collection['84']->fromArray(array ( |
425 | - 'id' => 84, |
|
426 | - 'namespace' => 'core', |
|
427 | - 'controller' => 'security/forms/profile/update', |
|
428 | - 'haslayout' => 1, |
|
429 | - 'lang_topics' => 'formcustomization,user,access,policy', |
|
430 | - 'assets' => '', |
|
431 | - 'help_url' => 'Form+Customization+Profiles', |
|
425 | + 'id' => 84, |
|
426 | + 'namespace' => 'core', |
|
427 | + 'controller' => 'security/forms/profile/update', |
|
428 | + 'haslayout' => 1, |
|
429 | + 'lang_topics' => 'formcustomization,user,access,policy', |
|
430 | + 'assets' => '', |
|
431 | + 'help_url' => 'Form+Customization+Profiles', |
|
432 | 432 | ), '', true, true); |
433 | 433 | $collection['85']= $xpdo->newObject('modAction'); |
434 | 434 | $collection['85']->fromArray(array ( |
435 | - 'id' => 85, |
|
436 | - 'namespace' => 'core', |
|
437 | - 'controller' => 'security/forms/set/update', |
|
438 | - 'haslayout' => 1, |
|
439 | - 'lang_topics' => 'formcustomization,user,access,policy', |
|
440 | - 'assets' => '', |
|
441 | - 'help_url' => 'Form+Customization+Sets', |
|
435 | + 'id' => 85, |
|
436 | + 'namespace' => 'core', |
|
437 | + 'controller' => 'security/forms/set/update', |
|
438 | + 'haslayout' => 1, |
|
439 | + 'lang_topics' => 'formcustomization,user,access,policy', |
|
440 | + 'assets' => '', |
|
441 | + 'help_url' => 'Form+Customization+Sets', |
|
442 | 442 | ), '', true, true); |
443 | 443 | $collection['101']= $xpdo->newObject('modAction'); |
444 | 444 | $collection['101']->fromArray(array ( |
445 | - 'id' => 101, |
|
446 | - 'namespace' => 'core', |
|
447 | - 'controller' => 'system/dashboards/update', |
|
448 | - 'haslayout' => 1, |
|
449 | - 'lang_topics' => 'dashboards,user', |
|
450 | - 'assets' => '', |
|
451 | - 'help_url' => 'Dashboards', |
|
445 | + 'id' => 101, |
|
446 | + 'namespace' => 'core', |
|
447 | + 'controller' => 'system/dashboards/update', |
|
448 | + 'haslayout' => 1, |
|
449 | + 'lang_topics' => 'dashboards,user', |
|
450 | + 'assets' => '', |
|
451 | + 'help_url' => 'Dashboards', |
|
452 | 452 | ), '', true, true); |
453 | 453 | $collection['102']= $xpdo->newObject('modAction'); |
454 | 454 | $collection['102']->fromArray(array ( |
455 | - 'id' => 102, |
|
456 | - 'namespace' => 'core', |
|
457 | - 'controller' => 'system/dashboards/create', |
|
458 | - 'haslayout' => 1, |
|
459 | - 'lang_topics' => 'dashboards,user', |
|
460 | - 'assets' => '', |
|
461 | - 'help_url' => 'Dashboards', |
|
455 | + 'id' => 102, |
|
456 | + 'namespace' => 'core', |
|
457 | + 'controller' => 'system/dashboards/create', |
|
458 | + 'haslayout' => 1, |
|
459 | + 'lang_topics' => 'dashboards,user', |
|
460 | + 'assets' => '', |
|
461 | + 'help_url' => 'Dashboards', |
|
462 | 462 | ), '', true, true); |
463 | 463 | $collection['103']= $xpdo->newObject('modAction'); |
464 | 464 | $collection['103']->fromArray(array ( |
465 | - 'id' => 103, |
|
466 | - 'namespace' => 'core', |
|
467 | - 'controller' => 'system/dashboards/widget/update', |
|
468 | - 'haslayout' => 1, |
|
469 | - 'lang_topics' => 'dashboards,user', |
|
470 | - 'assets' => '', |
|
471 | - 'help_url' => 'Dashboard+Widgets', |
|
465 | + 'id' => 103, |
|
466 | + 'namespace' => 'core', |
|
467 | + 'controller' => 'system/dashboards/widget/update', |
|
468 | + 'haslayout' => 1, |
|
469 | + 'lang_topics' => 'dashboards,user', |
|
470 | + 'assets' => '', |
|
471 | + 'help_url' => 'Dashboard+Widgets', |
|
472 | 472 | ), '', true, true); |
473 | 473 | $collection['104']= $xpdo->newObject('modAction'); |
474 | 474 | $collection['104']->fromArray(array ( |
475 | - 'id' => 104, |
|
476 | - 'namespace' => 'core', |
|
477 | - 'controller' => 'system/dashboards/widget/create', |
|
478 | - 'haslayout' => 1, |
|
479 | - 'lang_topics' => 'dashboards,user', |
|
480 | - 'assets' => '', |
|
481 | - 'help_url' => 'Dashboard+Widgets', |
|
475 | + 'id' => 104, |
|
476 | + 'namespace' => 'core', |
|
477 | + 'controller' => 'system/dashboards/widget/create', |
|
478 | + 'haslayout' => 1, |
|
479 | + 'lang_topics' => 'dashboards,user', |
|
480 | + 'assets' => '', |
|
481 | + 'help_url' => 'Dashboard+Widgets', |
|
482 | 482 | ), '', true, true); |
483 | 483 | $collection['105']= $xpdo->newObject('modAction'); |
484 | 484 | $collection['105']->fromArray(array ( |
485 | - 'id' => 105, |
|
486 | - 'namespace' => 'core', |
|
487 | - 'controller' => 'source/create', |
|
488 | - 'haslayout' => 1, |
|
489 | - 'lang_topics' => 'sources,namespace', |
|
490 | - 'assets' => '', |
|
491 | - 'help_url' => 'Media+Sources', |
|
485 | + 'id' => 105, |
|
486 | + 'namespace' => 'core', |
|
487 | + 'controller' => 'source/create', |
|
488 | + 'haslayout' => 1, |
|
489 | + 'lang_topics' => 'sources,namespace', |
|
490 | + 'assets' => '', |
|
491 | + 'help_url' => 'Media+Sources', |
|
492 | 492 | ), '', true, true); |
493 | 493 | $collection['106']= $xpdo->newObject('modAction'); |
494 | 494 | $collection['106']->fromArray(array ( |
495 | - 'id' => 106, |
|
496 | - 'namespace' => 'core', |
|
497 | - 'controller' => 'source/update', |
|
498 | - 'haslayout' => 1, |
|
499 | - 'lang_topics' => 'sources,namespace', |
|
500 | - 'assets' => '', |
|
501 | - 'help_url' => 'Media+Sources', |
|
495 | + 'id' => 106, |
|
496 | + 'namespace' => 'core', |
|
497 | + 'controller' => 'source/update', |
|
498 | + 'haslayout' => 1, |
|
499 | + 'lang_topics' => 'sources,namespace', |
|
500 | + 'assets' => '', |
|
501 | + 'help_url' => 'Media+Sources', |
|
502 | 502 | ), '', true, true); |
503 | 503 | $collection['107']= $xpdo->newObject('modAction'); |
504 | 504 | $collection['107']->fromArray(array ( |
505 | - 'id' => 107, |
|
506 | - 'namespace' => 'core', |
|
507 | - 'controller' => 'system/file/create', |
|
508 | - 'haslayout' => 1, |
|
509 | - 'lang_topics' => 'file', |
|
510 | - 'assets' => '', |
|
505 | + 'id' => 107, |
|
506 | + 'namespace' => 'core', |
|
507 | + 'controller' => 'system/file/create', |
|
508 | + 'haslayout' => 1, |
|
509 | + 'lang_topics' => 'file', |
|
510 | + 'assets' => '', |
|
511 | 511 | ), '', true, true); |
512 | 512 | |
513 | 513 | return $collection; |
514 | 514 | \ No newline at end of file |
@@ -5,8 +5,8 @@ discard block |
||
5 | 5 | * @subpackage build |
6 | 6 | */ |
7 | 7 | $collection = array(); |
8 | -$collection['1']= $xpdo->newObject('modAction'); |
|
9 | -$collection['1']->fromArray(array ( |
|
8 | +$collection['1'] = $xpdo->newObject('modAction'); |
|
9 | +$collection['1']->fromArray(array( |
|
10 | 10 | 'id' => 1, |
11 | 11 | 'namespace' => 'core', |
12 | 12 | 'controller' => 'welcome', |
@@ -14,8 +14,8 @@ discard block |
||
14 | 14 | 'lang_topics' => 'welcome,configcheck', |
15 | 15 | 'assets' => '', |
16 | 16 | ), '', true, true); |
17 | -$collection['3']= $xpdo->newObject('modAction'); |
|
18 | -$collection['3']->fromArray(array ( |
|
17 | +$collection['3'] = $xpdo->newObject('modAction'); |
|
18 | +$collection['3']->fromArray(array( |
|
19 | 19 | 'id' => 3, |
20 | 20 | 'namespace' => 'core', |
21 | 21 | 'controller' => 'system', |
@@ -23,8 +23,8 @@ discard block |
||
23 | 23 | 'lang_topics' => '', |
24 | 24 | 'assets' => '', |
25 | 25 | ), '', true, true); |
26 | -$collection['5']= $xpdo->newObject('modAction'); |
|
27 | -$collection['5']->fromArray(array ( |
|
26 | +$collection['5'] = $xpdo->newObject('modAction'); |
|
27 | +$collection['5']->fromArray(array( |
|
28 | 28 | 'id' => 5, |
29 | 29 | 'namespace' => 'core', |
30 | 30 | 'controller' => 'browser', |
@@ -32,8 +32,8 @@ discard block |
||
32 | 32 | 'lang_topics' => 'file', |
33 | 33 | 'assets' => '', |
34 | 34 | ), '', true, true); |
35 | -$collection['7']= $xpdo->newObject('modAction'); |
|
36 | -$collection['7']->fromArray(array ( |
|
35 | +$collection['7'] = $xpdo->newObject('modAction'); |
|
36 | +$collection['7']->fromArray(array( |
|
37 | 37 | 'id' => 7, |
38 | 38 | 'namespace' => 'core', |
39 | 39 | 'controller' => 'context/create', |
@@ -42,8 +42,8 @@ discard block |
||
42 | 42 | 'assets' => '', |
43 | 43 | 'help_url' => 'Contexts', |
44 | 44 | ), '', true, true); |
45 | -$collection['8']= $xpdo->newObject('modAction'); |
|
46 | -$collection['8']->fromArray(array ( |
|
45 | +$collection['8'] = $xpdo->newObject('modAction'); |
|
46 | +$collection['8']->fromArray(array( |
|
47 | 47 | 'id' => 8, |
48 | 48 | 'namespace' => 'core', |
49 | 49 | 'controller' => 'context/update', |
@@ -52,8 +52,8 @@ discard block |
||
52 | 52 | 'assets' => '', |
53 | 53 | 'help_url' => 'Contexts', |
54 | 54 | ), '', true, true); |
55 | -$collection['9']= $xpdo->newObject('modAction'); |
|
56 | -$collection['9']->fromArray(array ( |
|
55 | +$collection['9'] = $xpdo->newObject('modAction'); |
|
56 | +$collection['9']->fromArray(array( |
|
57 | 57 | 'id' => 9, |
58 | 58 | 'namespace' => 'core', |
59 | 59 | 'controller' => 'context/view', |
@@ -62,8 +62,8 @@ discard block |
||
62 | 62 | 'assets' => '', |
63 | 63 | 'help_url' => 'Contexts', |
64 | 64 | ), '', true, true); |
65 | -$collection['10']= $xpdo->newObject('modAction'); |
|
66 | -$collection['10']->fromArray(array ( |
|
65 | +$collection['10'] = $xpdo->newObject('modAction'); |
|
66 | +$collection['10']->fromArray(array( |
|
67 | 67 | 'id' => 10, |
68 | 68 | 'namespace' => 'core', |
69 | 69 | 'controller' => 'element', |
@@ -71,8 +71,8 @@ discard block |
||
71 | 71 | 'lang_topics' => 'element', |
72 | 72 | 'assets' => '', |
73 | 73 | ), '', true, true); |
74 | -$collection['11']= $xpdo->newObject('modAction'); |
|
75 | -$collection['11']->fromArray(array ( |
|
74 | +$collection['11'] = $xpdo->newObject('modAction'); |
|
75 | +$collection['11']->fromArray(array( |
|
76 | 76 | 'id' => 11, |
77 | 77 | 'namespace' => 'core', |
78 | 78 | 'controller' => 'element/chunk', |
@@ -81,8 +81,8 @@ discard block |
||
81 | 81 | 'assets' => '', |
82 | 82 | 'help_url' => 'Chunks', |
83 | 83 | ), '', true, true); |
84 | -$collection['12']= $xpdo->newObject('modAction'); |
|
85 | -$collection['12']->fromArray(array ( |
|
84 | +$collection['12'] = $xpdo->newObject('modAction'); |
|
85 | +$collection['12']->fromArray(array( |
|
86 | 86 | 'id' => 12, |
87 | 87 | 'namespace' => 'core', |
88 | 88 | 'controller' => 'element/chunk/create', |
@@ -91,8 +91,8 @@ discard block |
||
91 | 91 | 'assets' => '', |
92 | 92 | 'help_url' => 'Chunks', |
93 | 93 | ), '', true, true); |
94 | -$collection['13']= $xpdo->newObject('modAction'); |
|
95 | -$collection['13']->fromArray(array ( |
|
94 | +$collection['13'] = $xpdo->newObject('modAction'); |
|
95 | +$collection['13']->fromArray(array( |
|
96 | 96 | 'id' => 13, |
97 | 97 | 'namespace' => 'core', |
98 | 98 | 'controller' => 'element/chunk/update', |
@@ -101,8 +101,8 @@ discard block |
||
101 | 101 | 'assets' => '', |
102 | 102 | 'help_url' => 'Chunks', |
103 | 103 | ), '', true, true); |
104 | -$collection['20']= $xpdo->newObject('modAction'); |
|
105 | -$collection['20']->fromArray(array ( |
|
104 | +$collection['20'] = $xpdo->newObject('modAction'); |
|
105 | +$collection['20']->fromArray(array( |
|
106 | 106 | 'id' => 20, |
107 | 107 | 'namespace' => 'core', |
108 | 108 | 'controller' => 'element/plugin', |
@@ -111,8 +111,8 @@ discard block |
||
111 | 111 | 'assets' => '', |
112 | 112 | 'help_url' => 'Plugins', |
113 | 113 | ), '', true, true); |
114 | -$collection['21']= $xpdo->newObject('modAction'); |
|
115 | -$collection['21']->fromArray(array ( |
|
114 | +$collection['21'] = $xpdo->newObject('modAction'); |
|
115 | +$collection['21']->fromArray(array( |
|
116 | 116 | 'id' => 21, |
117 | 117 | 'namespace' => 'core', |
118 | 118 | 'controller' => 'element/plugin/create', |
@@ -121,8 +121,8 @@ discard block |
||
121 | 121 | 'assets' => '', |
122 | 122 | 'help_url' => 'Plugins', |
123 | 123 | ), '', true, true); |
124 | -$collection['22']= $xpdo->newObject('modAction'); |
|
125 | -$collection['22']->fromArray(array ( |
|
124 | +$collection['22'] = $xpdo->newObject('modAction'); |
|
125 | +$collection['22']->fromArray(array( |
|
126 | 126 | 'id' => 22, |
127 | 127 | 'namespace' => 'core', |
128 | 128 | 'controller' => 'element/plugin/update', |
@@ -131,8 +131,8 @@ discard block |
||
131 | 131 | 'assets' => '', |
132 | 132 | 'help_url' => 'Plugins', |
133 | 133 | ), '', true, true); |
134 | -$collection['25']= $xpdo->newObject('modAction'); |
|
135 | -$collection['25']->fromArray(array ( |
|
134 | +$collection['25'] = $xpdo->newObject('modAction'); |
|
135 | +$collection['25']->fromArray(array( |
|
136 | 136 | 'id' => 25, |
137 | 137 | 'namespace' => 'core', |
138 | 138 | 'controller' => 'element/snippet', |
@@ -141,8 +141,8 @@ discard block |
||
141 | 141 | 'assets' => '', |
142 | 142 | 'help_url' => 'Snippets', |
143 | 143 | ), '', true, true); |
144 | -$collection['26']= $xpdo->newObject('modAction'); |
|
145 | -$collection['26']->fromArray(array ( |
|
144 | +$collection['26'] = $xpdo->newObject('modAction'); |
|
145 | +$collection['26']->fromArray(array( |
|
146 | 146 | 'id' => 26, |
147 | 147 | 'namespace' => 'core', |
148 | 148 | 'controller' => 'element/snippet/create', |
@@ -151,8 +151,8 @@ discard block |
||
151 | 151 | 'assets' => '', |
152 | 152 | 'help_url' => 'Snippets', |
153 | 153 | ), '', true, true); |
154 | -$collection['27']= $xpdo->newObject('modAction'); |
|
155 | -$collection['27']->fromArray(array ( |
|
154 | +$collection['27'] = $xpdo->newObject('modAction'); |
|
155 | +$collection['27']->fromArray(array( |
|
156 | 156 | 'id' => 27, |
157 | 157 | 'namespace' => 'core', |
158 | 158 | 'controller' => 'element/snippet/update', |
@@ -161,8 +161,8 @@ discard block |
||
161 | 161 | 'assets' => '', |
162 | 162 | 'help_url' => 'Snippets', |
163 | 163 | ), '', true, true); |
164 | -$collection['28']= $xpdo->newObject('modAction'); |
|
165 | -$collection['28']->fromArray(array ( |
|
164 | +$collection['28'] = $xpdo->newObject('modAction'); |
|
165 | +$collection['28']->fromArray(array( |
|
166 | 166 | 'id' => 28, |
167 | 167 | 'namespace' => 'core', |
168 | 168 | 'controller' => 'element/template', |
@@ -171,8 +171,8 @@ discard block |
||
171 | 171 | 'assets' => '', |
172 | 172 | 'help_url' => 'Templates', |
173 | 173 | ), '', true, true); |
174 | -$collection['29']= $xpdo->newObject('modAction'); |
|
175 | -$collection['29']->fromArray(array ( |
|
174 | +$collection['29'] = $xpdo->newObject('modAction'); |
|
175 | +$collection['29']->fromArray(array( |
|
176 | 176 | 'id' => 29, |
177 | 177 | 'namespace' => 'core', |
178 | 178 | 'controller' => 'element/template/create', |
@@ -181,8 +181,8 @@ discard block |
||
181 | 181 | 'assets' => '', |
182 | 182 | 'help_url' => 'Templates', |
183 | 183 | ), '', true, true); |
184 | -$collection['30']= $xpdo->newObject('modAction'); |
|
185 | -$collection['30']->fromArray(array ( |
|
184 | +$collection['30'] = $xpdo->newObject('modAction'); |
|
185 | +$collection['30']->fromArray(array( |
|
186 | 186 | 'id' => 30, |
187 | 187 | 'namespace' => 'core', |
188 | 188 | 'controller' => 'element/template/update', |
@@ -191,8 +191,8 @@ discard block |
||
191 | 191 | 'assets' => '', |
192 | 192 | 'help_url' => 'Templates', |
193 | 193 | ), '', true, true); |
194 | -$collection['31']= $xpdo->newObject('modAction'); |
|
195 | -$collection['31']->fromArray(array ( |
|
194 | +$collection['31'] = $xpdo->newObject('modAction'); |
|
195 | +$collection['31']->fromArray(array( |
|
196 | 196 | 'id' => 31, |
197 | 197 | 'namespace' => 'core', |
198 | 198 | 'controller' => 'element/template/tvsort', |
@@ -200,8 +200,8 @@ discard block |
||
200 | 200 | 'lang_topics' => 'template,tv,propertyset,element', |
201 | 201 | 'assets' => '', |
202 | 202 | ), '', true, true); |
203 | -$collection['32']= $xpdo->newObject('modAction'); |
|
204 | -$collection['32']->fromArray(array ( |
|
203 | +$collection['32'] = $xpdo->newObject('modAction'); |
|
204 | +$collection['32']->fromArray(array( |
|
205 | 205 | 'id' => 32, |
206 | 206 | 'namespace' => 'core', |
207 | 207 | 'controller' => 'element/tv', |
@@ -210,8 +210,8 @@ discard block |
||
210 | 210 | 'assets' => '', |
211 | 211 | 'help_url' => 'Template+Variables', |
212 | 212 | ), '', true, true); |
213 | -$collection['33']= $xpdo->newObject('modAction'); |
|
214 | -$collection['33']->fromArray(array ( |
|
213 | +$collection['33'] = $xpdo->newObject('modAction'); |
|
214 | +$collection['33']->fromArray(array( |
|
215 | 215 | 'id' => 33, |
216 | 216 | 'namespace' => 'core', |
217 | 217 | 'controller' => 'element/tv/create', |
@@ -220,8 +220,8 @@ discard block |
||
220 | 220 | 'assets' => '', |
221 | 221 | 'help_url' => 'Template+Variables', |
222 | 222 | ), '', true, true); |
223 | -$collection['34']= $xpdo->newObject('modAction'); |
|
224 | -$collection['34']->fromArray(array ( |
|
223 | +$collection['34'] = $xpdo->newObject('modAction'); |
|
224 | +$collection['34']->fromArray(array( |
|
225 | 225 | 'id' => 34, |
226 | 226 | 'namespace' => 'core', |
227 | 227 | 'controller' => 'element/tv/update', |
@@ -230,8 +230,8 @@ discard block |
||
230 | 230 | 'assets' => '', |
231 | 231 | 'help_url' => 'Template+Variables', |
232 | 232 | ), '', true, true); |
233 | -$collection['35']= $xpdo->newObject('modAction'); |
|
234 | -$collection['35']->fromArray(array ( |
|
233 | +$collection['35'] = $xpdo->newObject('modAction'); |
|
234 | +$collection['35']->fromArray(array( |
|
235 | 235 | 'id' => 35, |
236 | 236 | 'namespace' => 'core', |
237 | 237 | 'controller' => 'element/view', |
@@ -239,8 +239,8 @@ discard block |
||
239 | 239 | 'lang_topics' => 'element', |
240 | 240 | 'assets' => '', |
241 | 241 | ), '', true, true); |
242 | -$collection['36']= $xpdo->newObject('modAction'); |
|
243 | -$collection['36']->fromArray(array ( |
|
242 | +$collection['36'] = $xpdo->newObject('modAction'); |
|
243 | +$collection['36']->fromArray(array( |
|
244 | 244 | 'id' => 36, |
245 | 245 | 'namespace' => 'core', |
246 | 246 | 'controller' => 'resource', |
@@ -248,8 +248,8 @@ discard block |
||
248 | 248 | 'lang_topics' => '', |
249 | 249 | 'assets' => '', |
250 | 250 | ), '', true, true); |
251 | -$collection['38']= $xpdo->newObject('modAction'); |
|
252 | -$collection['38']->fromArray(array ( |
|
251 | +$collection['38'] = $xpdo->newObject('modAction'); |
|
252 | +$collection['38']->fromArray(array( |
|
253 | 253 | 'id' => 38, |
254 | 254 | 'namespace' => 'core', |
255 | 255 | 'controller' => 'security/usergroup/create', |
@@ -258,8 +258,8 @@ discard block |
||
258 | 258 | 'assets' => '', |
259 | 259 | 'help_url' => 'User+Groups', |
260 | 260 | ), '', true, true); |
261 | -$collection['39']= $xpdo->newObject('modAction'); |
|
262 | -$collection['39']->fromArray(array ( |
|
261 | +$collection['39'] = $xpdo->newObject('modAction'); |
|
262 | +$collection['39']->fromArray(array( |
|
263 | 263 | 'id' => 39, |
264 | 264 | 'namespace' => 'core', |
265 | 265 | 'controller' => 'security/usergroup/update', |
@@ -268,8 +268,8 @@ discard block |
||
268 | 268 | 'assets' => '', |
269 | 269 | 'help_url' => 'User+Groups', |
270 | 270 | ), '', true, true); |
271 | -$collection['40']= $xpdo->newObject('modAction'); |
|
272 | -$collection['40']->fromArray(array ( |
|
271 | +$collection['40'] = $xpdo->newObject('modAction'); |
|
272 | +$collection['40']->fromArray(array( |
|
273 | 273 | 'id' => 40, |
274 | 274 | 'namespace' => 'core', |
275 | 275 | 'controller' => 'resource/data', |
@@ -278,8 +278,8 @@ discard block |
||
278 | 278 | 'assets' => '', |
279 | 279 | 'help_url' => 'Resource', |
280 | 280 | ), '', true, true); |
281 | -$collection['41']= $xpdo->newObject('modAction'); |
|
282 | -$collection['41']->fromArray(array ( |
|
281 | +$collection['41'] = $xpdo->newObject('modAction'); |
|
282 | +$collection['41']->fromArray(array( |
|
283 | 283 | 'id' => 41, |
284 | 284 | 'namespace' => 'core', |
285 | 285 | 'controller' => 'resource/empty_recycle_bin', |
@@ -287,8 +287,8 @@ discard block |
||
287 | 287 | 'lang_topics' => 'resource', |
288 | 288 | 'assets' => '', |
289 | 289 | ), '', true, true); |
290 | -$collection['43']= $xpdo->newObject('modAction'); |
|
291 | -$collection['43']->fromArray(array ( |
|
290 | +$collection['43'] = $xpdo->newObject('modAction'); |
|
291 | +$collection['43']->fromArray(array( |
|
292 | 292 | 'id' => 43, |
293 | 293 | 'namespace' => 'core', |
294 | 294 | 'controller' => 'resource/update', |
@@ -297,8 +297,8 @@ discard block |
||
297 | 297 | 'assets' => '', |
298 | 298 | 'help_url' => 'Resource', |
299 | 299 | ), '', true, true); |
300 | -$collection['46']= $xpdo->newObject('modAction'); |
|
301 | -$collection['46']->fromArray(array ( |
|
300 | +$collection['46'] = $xpdo->newObject('modAction'); |
|
301 | +$collection['46']->fromArray(array( |
|
302 | 302 | 'id' => 46, |
303 | 303 | 'namespace' => 'core', |
304 | 304 | 'controller' => 'security', |
@@ -306,8 +306,8 @@ discard block |
||
306 | 306 | 'lang_topics' => 'user', |
307 | 307 | 'assets' => '', |
308 | 308 | ), '', true, true); |
309 | -$collection['50']= $xpdo->newObject('modAction'); |
|
310 | -$collection['50']->fromArray(array ( |
|
309 | +$collection['50'] = $xpdo->newObject('modAction'); |
|
310 | +$collection['50']->fromArray(array( |
|
311 | 311 | 'id' => 50, |
312 | 312 | 'namespace' => 'core', |
313 | 313 | 'controller' => 'security/role', |
@@ -316,8 +316,8 @@ discard block |
||
316 | 316 | 'assets' => '', |
317 | 317 | 'help_url' => 'Roles', |
318 | 318 | ), '', true, true); |
319 | -$collection['54']= $xpdo->newObject('modAction'); |
|
320 | -$collection['54']->fromArray(array ( |
|
319 | +$collection['54'] = $xpdo->newObject('modAction'); |
|
320 | +$collection['54']->fromArray(array( |
|
321 | 321 | 'id' => 54, |
322 | 322 | 'namespace' => 'core', |
323 | 323 | 'controller' => 'security/user/create', |
@@ -326,8 +326,8 @@ discard block |
||
326 | 326 | 'assets' => '', |
327 | 327 | 'help_url' => 'Users', |
328 | 328 | ), '', true, true); |
329 | -$collection['55']= $xpdo->newObject('modAction'); |
|
330 | -$collection['55']->fromArray(array ( |
|
329 | +$collection['55'] = $xpdo->newObject('modAction'); |
|
330 | +$collection['55']->fromArray(array( |
|
331 | 331 | 'id' => 55, |
332 | 332 | 'namespace' => 'core', |
333 | 333 | 'controller' => 'security/user/update', |
@@ -336,8 +336,8 @@ discard block |
||
336 | 336 | 'assets' => '', |
337 | 337 | 'help_url' => 'Users', |
338 | 338 | ), '', true, true); |
339 | -$collection['56']= $xpdo->newObject('modAction'); |
|
340 | -$collection['56']->fromArray(array ( |
|
339 | +$collection['56'] = $xpdo->newObject('modAction'); |
|
340 | +$collection['56']->fromArray(array( |
|
341 | 341 | 'id' => 56, |
342 | 342 | 'namespace' => 'core', |
343 | 343 | 'controller' => 'security/login', |
@@ -345,8 +345,8 @@ discard block |
||
345 | 345 | 'lang_topics' => 'login', |
346 | 346 | 'assets' => '', |
347 | 347 | ), '', true, true); |
348 | -$collection['62']= $xpdo->newObject('modAction'); |
|
349 | -$collection['62']->fromArray(array ( |
|
348 | +$collection['62'] = $xpdo->newObject('modAction'); |
|
349 | +$collection['62']->fromArray(array( |
|
350 | 350 | 'id' => 62, |
351 | 351 | 'namespace' => 'core', |
352 | 352 | 'controller' => 'system/refresh_site', |
@@ -354,8 +354,8 @@ discard block |
||
354 | 354 | 'lang_topics' => '', |
355 | 355 | 'assets' => '', |
356 | 356 | ), '', true, true); |
357 | -$collection['64']= $xpdo->newObject('modAction'); |
|
358 | -$collection['64']->fromArray(array ( |
|
357 | +$collection['64'] = $xpdo->newObject('modAction'); |
|
358 | +$collection['64']->fromArray(array( |
|
359 | 359 | 'id' => 64, |
360 | 360 | 'namespace' => 'core', |
361 | 361 | 'controller' => 'system/phpinfo', |
@@ -363,8 +363,8 @@ discard block |
||
363 | 363 | 'lang_topics' => '', |
364 | 364 | 'assets' => '', |
365 | 365 | ), '', true, true); |
366 | -$collection['67']= $xpdo->newObject('modAction'); |
|
367 | -$collection['67']->fromArray(array ( |
|
366 | +$collection['67'] = $xpdo->newObject('modAction'); |
|
367 | +$collection['67']->fromArray(array( |
|
368 | 368 | 'id' => 67, |
369 | 369 | 'namespace' => 'core', |
370 | 370 | 'controller' => 'resource/tvs', |
@@ -372,8 +372,8 @@ discard block |
||
372 | 372 | 'lang_topics' => '', |
373 | 373 | 'assets' => '', |
374 | 374 | ), '', true, true); |
375 | -$collection['70']= $xpdo->newObject('modAction'); |
|
376 | -$collection['70']->fromArray(array ( |
|
375 | +$collection['70'] = $xpdo->newObject('modAction'); |
|
376 | +$collection['70']->fromArray(array( |
|
377 | 377 | 'id' => 70, |
378 | 378 | 'namespace' => 'core', |
379 | 379 | 'controller' => 'system/file', |
@@ -381,8 +381,8 @@ discard block |
||
381 | 381 | 'lang_topics' => 'file', |
382 | 382 | 'assets' => '', |
383 | 383 | ), '', true, true); |
384 | -$collection['71']= $xpdo->newObject('modAction'); |
|
385 | -$collection['71']->fromArray(array ( |
|
384 | +$collection['71'] = $xpdo->newObject('modAction'); |
|
385 | +$collection['71']->fromArray(array( |
|
386 | 386 | 'id' => 71, |
387 | 387 | 'namespace' => 'core', |
388 | 388 | 'controller' => 'system/file/edit', |
@@ -390,8 +390,8 @@ discard block |
||
390 | 390 | 'lang_topics' => 'file', |
391 | 391 | 'assets' => '', |
392 | 392 | ), '', true, true); |
393 | -$collection['75']= $xpdo->newObject('modAction'); |
|
394 | -$collection['75']->fromArray(array ( |
|
393 | +$collection['75'] = $xpdo->newObject('modAction'); |
|
394 | +$collection['75']->fromArray(array( |
|
395 | 395 | 'id' => 75, |
396 | 396 | 'namespace' => 'core', |
397 | 397 | 'controller' => 'security/access/policy/update', |
@@ -400,8 +400,8 @@ discard block |
||
400 | 400 | 'assets' => '', |
401 | 401 | 'help_url' => 'Policies', |
402 | 402 | ), '', true, true); |
403 | -$collection['82']= $xpdo->newObject('modAction'); |
|
404 | -$collection['82']->fromArray(array ( |
|
403 | +$collection['82'] = $xpdo->newObject('modAction'); |
|
404 | +$collection['82']->fromArray(array( |
|
405 | 405 | 'id' => 82, |
406 | 406 | 'namespace' => 'core', |
407 | 407 | 'controller' => 'workspaces/package/view', |
@@ -410,8 +410,8 @@ discard block |
||
410 | 410 | 'assets' => '', |
411 | 411 | 'help_url' => 'Package+Management', |
412 | 412 | ), '', true, true); |
413 | -$collection['83']= $xpdo->newObject('modAction'); |
|
414 | -$collection['83']->fromArray(array ( |
|
413 | +$collection['83'] = $xpdo->newObject('modAction'); |
|
414 | +$collection['83']->fromArray(array( |
|
415 | 415 | 'id' => 83, |
416 | 416 | 'namespace' => 'core', |
417 | 417 | 'controller' => 'security/access/policy/template/update', |
@@ -420,8 +420,8 @@ discard block |
||
420 | 420 | 'assets' => '', |
421 | 421 | 'help_url' => 'PolicyTemplates', |
422 | 422 | ), '', true, true); |
423 | -$collection['84']= $xpdo->newObject('modAction'); |
|
424 | -$collection['84']->fromArray(array ( |
|
423 | +$collection['84'] = $xpdo->newObject('modAction'); |
|
424 | +$collection['84']->fromArray(array( |
|
425 | 425 | 'id' => 84, |
426 | 426 | 'namespace' => 'core', |
427 | 427 | 'controller' => 'security/forms/profile/update', |
@@ -430,8 +430,8 @@ discard block |
||
430 | 430 | 'assets' => '', |
431 | 431 | 'help_url' => 'Form+Customization+Profiles', |
432 | 432 | ), '', true, true); |
433 | -$collection['85']= $xpdo->newObject('modAction'); |
|
434 | -$collection['85']->fromArray(array ( |
|
433 | +$collection['85'] = $xpdo->newObject('modAction'); |
|
434 | +$collection['85']->fromArray(array( |
|
435 | 435 | 'id' => 85, |
436 | 436 | 'namespace' => 'core', |
437 | 437 | 'controller' => 'security/forms/set/update', |
@@ -440,8 +440,8 @@ discard block |
||
440 | 440 | 'assets' => '', |
441 | 441 | 'help_url' => 'Form+Customization+Sets', |
442 | 442 | ), '', true, true); |
443 | -$collection['101']= $xpdo->newObject('modAction'); |
|
444 | -$collection['101']->fromArray(array ( |
|
443 | +$collection['101'] = $xpdo->newObject('modAction'); |
|
444 | +$collection['101']->fromArray(array( |
|
445 | 445 | 'id' => 101, |
446 | 446 | 'namespace' => 'core', |
447 | 447 | 'controller' => 'system/dashboards/update', |
@@ -450,8 +450,8 @@ discard block |
||
450 | 450 | 'assets' => '', |
451 | 451 | 'help_url' => 'Dashboards', |
452 | 452 | ), '', true, true); |
453 | -$collection['102']= $xpdo->newObject('modAction'); |
|
454 | -$collection['102']->fromArray(array ( |
|
453 | +$collection['102'] = $xpdo->newObject('modAction'); |
|
454 | +$collection['102']->fromArray(array( |
|
455 | 455 | 'id' => 102, |
456 | 456 | 'namespace' => 'core', |
457 | 457 | 'controller' => 'system/dashboards/create', |
@@ -460,8 +460,8 @@ discard block |
||
460 | 460 | 'assets' => '', |
461 | 461 | 'help_url' => 'Dashboards', |
462 | 462 | ), '', true, true); |
463 | -$collection['103']= $xpdo->newObject('modAction'); |
|
464 | -$collection['103']->fromArray(array ( |
|
463 | +$collection['103'] = $xpdo->newObject('modAction'); |
|
464 | +$collection['103']->fromArray(array( |
|
465 | 465 | 'id' => 103, |
466 | 466 | 'namespace' => 'core', |
467 | 467 | 'controller' => 'system/dashboards/widget/update', |
@@ -470,8 +470,8 @@ discard block |
||
470 | 470 | 'assets' => '', |
471 | 471 | 'help_url' => 'Dashboard+Widgets', |
472 | 472 | ), '', true, true); |
473 | -$collection['104']= $xpdo->newObject('modAction'); |
|
474 | -$collection['104']->fromArray(array ( |
|
473 | +$collection['104'] = $xpdo->newObject('modAction'); |
|
474 | +$collection['104']->fromArray(array( |
|
475 | 475 | 'id' => 104, |
476 | 476 | 'namespace' => 'core', |
477 | 477 | 'controller' => 'system/dashboards/widget/create', |
@@ -480,8 +480,8 @@ discard block |
||
480 | 480 | 'assets' => '', |
481 | 481 | 'help_url' => 'Dashboard+Widgets', |
482 | 482 | ), '', true, true); |
483 | -$collection['105']= $xpdo->newObject('modAction'); |
|
484 | -$collection['105']->fromArray(array ( |
|
483 | +$collection['105'] = $xpdo->newObject('modAction'); |
|
484 | +$collection['105']->fromArray(array( |
|
485 | 485 | 'id' => 105, |
486 | 486 | 'namespace' => 'core', |
487 | 487 | 'controller' => 'source/create', |
@@ -490,8 +490,8 @@ discard block |
||
490 | 490 | 'assets' => '', |
491 | 491 | 'help_url' => 'Media+Sources', |
492 | 492 | ), '', true, true); |
493 | -$collection['106']= $xpdo->newObject('modAction'); |
|
494 | -$collection['106']->fromArray(array ( |
|
493 | +$collection['106'] = $xpdo->newObject('modAction'); |
|
494 | +$collection['106']->fromArray(array( |
|
495 | 495 | 'id' => 106, |
496 | 496 | 'namespace' => 'core', |
497 | 497 | 'controller' => 'source/update', |
@@ -500,8 +500,8 @@ discard block |
||
500 | 500 | 'assets' => '', |
501 | 501 | 'help_url' => 'Media+Sources', |
502 | 502 | ), '', true, true); |
503 | -$collection['107']= $xpdo->newObject('modAction'); |
|
504 | -$collection['107']->fromArray(array ( |
|
503 | +$collection['107'] = $xpdo->newObject('modAction'); |
|
504 | +$collection['107']->fromArray(array( |
|
505 | 505 | 'id' => 107, |
506 | 506 | 'namespace' => 'core', |
507 | 507 | 'controller' => 'system/file/create', |
@@ -33,12 +33,12 @@ discard block |
||
33 | 33 | /* ***************** CONTENT MENU ***************** */ |
34 | 34 | $topNavMenus[0]= $xpdo->newObject('modMenu'); |
35 | 35 | $topNavMenus[0]->fromArray(array ( |
36 | - 'menuindex' => 0, |
|
37 | - 'text' => 'site', |
|
38 | - 'description' => '', |
|
39 | - 'parent' => 'topnav', |
|
40 | - 'permissions' => 'menu_site', |
|
41 | - 'action' => '', |
|
36 | + 'menuindex' => 0, |
|
37 | + 'text' => 'site', |
|
38 | + 'description' => '', |
|
39 | + 'parent' => 'topnav', |
|
40 | + 'permissions' => 'menu_site', |
|
41 | + 'action' => '', |
|
42 | 42 | ), '', true, true); |
43 | 43 | |
44 | 44 | $children = array(); |
@@ -46,68 +46,68 @@ discard block |
||
46 | 46 | /* New Resource */ |
47 | 47 | $children[0]= $xpdo->newObject('modMenu'); |
48 | 48 | $children[0]->fromArray(array ( |
49 | - 'menuindex' => 0, |
|
50 | - 'text' => 'new_resource', |
|
51 | - 'description' => 'new_resource_desc', |
|
52 | - 'parent' => 'site', |
|
53 | - 'permissions' => 'new_document', |
|
54 | - 'action' => 'resource/create', |
|
49 | + 'menuindex' => 0, |
|
50 | + 'text' => 'new_resource', |
|
51 | + 'description' => 'new_resource_desc', |
|
52 | + 'parent' => 'site', |
|
53 | + 'permissions' => 'new_document', |
|
54 | + 'action' => 'resource/create', |
|
55 | 55 | ), '', true, true); |
56 | 56 | |
57 | 57 | /* Preview */ |
58 | 58 | $children[4]= $xpdo->newObject('modMenu'); |
59 | 59 | $children[4]->fromArray(array ( |
60 | - 'menuindex' => 4, |
|
61 | - 'text' => 'preview', |
|
62 | - 'description' => 'preview_desc', |
|
63 | - 'parent' => 'site', |
|
64 | - 'permissions' => '', |
|
65 | - 'action' => '', |
|
66 | - 'handler' => 'MODx.preview(); return false;', |
|
60 | + 'menuindex' => 4, |
|
61 | + 'text' => 'preview', |
|
62 | + 'description' => 'preview_desc', |
|
63 | + 'parent' => 'site', |
|
64 | + 'permissions' => '', |
|
65 | + 'action' => '', |
|
66 | + 'handler' => 'MODx.preview(); return false;', |
|
67 | 67 | ), '', true, true); |
68 | 68 | |
69 | 69 | /* Import HTML */ |
70 | 70 | $children[5]= $xpdo->newObject('modMenu'); |
71 | 71 | $children[5]->fromArray(array ( |
72 | - 'menuindex' => 5, |
|
73 | - 'text' => 'import_site', |
|
74 | - 'description' => 'import_site_desc', |
|
75 | - 'parent' => 'site', |
|
76 | - 'permissions' => 'import_static', |
|
77 | - 'action' => 'system/import/html', |
|
72 | + 'menuindex' => 5, |
|
73 | + 'text' => 'import_site', |
|
74 | + 'description' => 'import_site_desc', |
|
75 | + 'parent' => 'site', |
|
76 | + 'permissions' => 'import_static', |
|
77 | + 'action' => 'system/import/html', |
|
78 | 78 | ), '', true, true); |
79 | 79 | |
80 | 80 | /* Import Static Resources */ |
81 | 81 | $children[6]= $xpdo->newObject('modMenu'); |
82 | 82 | $children[6]->fromArray(array ( |
83 | - 'menuindex' => 6, |
|
84 | - 'text' => 'import_resources', |
|
85 | - 'description' => 'import_resources_desc', |
|
86 | - 'parent' => 'site', |
|
87 | - 'permissions' => 'import_static', |
|
88 | - 'action' => 'system/import', |
|
83 | + 'menuindex' => 6, |
|
84 | + 'text' => 'import_resources', |
|
85 | + 'description' => 'import_resources_desc', |
|
86 | + 'parent' => 'site', |
|
87 | + 'permissions' => 'import_static', |
|
88 | + 'action' => 'system/import', |
|
89 | 89 | ), '', true, true); |
90 | 90 | |
91 | 91 | /* Manage Resource Groups */ |
92 | 92 | $children[7]= $xpdo->newObject('modMenu'); |
93 | 93 | $children[7]->fromArray(array ( |
94 | - 'menuindex' => 7, |
|
95 | - 'text' => 'resource_groups', |
|
96 | - 'description' => 'resource_groups_desc', |
|
97 | - 'parent' => 'site', |
|
98 | - 'permissions' => 'access_permissions', |
|
99 | - 'action' => 'security/resourcegroup', |
|
94 | + 'menuindex' => 7, |
|
95 | + 'text' => 'resource_groups', |
|
96 | + 'description' => 'resource_groups_desc', |
|
97 | + 'parent' => 'site', |
|
98 | + 'permissions' => 'access_permissions', |
|
99 | + 'action' => 'security/resourcegroup', |
|
100 | 100 | ), '', true, true); |
101 | 101 | |
102 | 102 | /* Content Types */ |
103 | 103 | $children[8]= $xpdo->newObject('modMenu'); |
104 | 104 | $children[8]->fromArray(array ( |
105 | - 'menuindex' => 8, |
|
106 | - 'text' => 'content_types', |
|
107 | - 'description' => 'content_types_desc', |
|
108 | - 'parent' => 'site', |
|
109 | - 'permissions' => 'content_types', |
|
110 | - 'action' => 'system/contenttype', |
|
105 | + 'menuindex' => 8, |
|
106 | + 'text' => 'content_types', |
|
107 | + 'description' => 'content_types_desc', |
|
108 | + 'parent' => 'site', |
|
109 | + 'permissions' => 'content_types', |
|
110 | + 'action' => 'system/contenttype', |
|
111 | 111 | ), '', true, true); |
112 | 112 | |
113 | 113 | $topNavMenus[0]->addMany($children,'Children'); |
@@ -117,34 +117,34 @@ discard block |
||
117 | 117 | /* ***************** MEDIA MENU ***************** */ |
118 | 118 | $topNavMenus[1]= $xpdo->newObject('modMenu'); |
119 | 119 | $topNavMenus[1]->fromArray(array ( |
120 | - 'menuindex' => 1, |
|
121 | - 'text' => 'media', |
|
122 | - 'description' => 'media_desc', |
|
123 | - 'parent' => 'topnav', |
|
124 | - 'permissions' => 'file_manager', |
|
125 | - 'action' => '', |
|
120 | + 'menuindex' => 1, |
|
121 | + 'text' => 'media', |
|
122 | + 'description' => 'media_desc', |
|
123 | + 'parent' => 'topnav', |
|
124 | + 'permissions' => 'file_manager', |
|
125 | + 'action' => '', |
|
126 | 126 | ), '', true, true); |
127 | 127 | |
128 | 128 | /* Media Browser */ |
129 | 129 | $children[0]= $xpdo->newObject('modMenu'); |
130 | 130 | $children[0]->fromArray(array ( |
131 | - 'menuindex' => 0, |
|
132 | - 'text' => 'file_browser', |
|
133 | - 'description' => 'file_browser_desc', |
|
134 | - 'parent' => 'media', |
|
135 | - 'permissions' => 'file_manager', |
|
136 | - 'action' => 'media/browser', |
|
131 | + 'menuindex' => 0, |
|
132 | + 'text' => 'file_browser', |
|
133 | + 'description' => 'file_browser_desc', |
|
134 | + 'parent' => 'media', |
|
135 | + 'permissions' => 'file_manager', |
|
136 | + 'action' => 'media/browser', |
|
137 | 137 | ), '', true, true); |
138 | 138 | |
139 | 139 | /* Media Drivers */ |
140 | 140 | $children[1]= $xpdo->newObject('modMenu'); |
141 | 141 | $children[1]->fromArray(array( |
142 | - 'menuindex' => 1, |
|
143 | - 'text' => 'sources', |
|
144 | - 'description' => 'sources_desc', |
|
145 | - 'parent' => 'media', |
|
146 | - 'permissions' => 'sources', |
|
147 | - 'action' => 'source', |
|
142 | + 'menuindex' => 1, |
|
143 | + 'text' => 'sources', |
|
144 | + 'description' => 'sources_desc', |
|
145 | + 'parent' => 'media', |
|
146 | + 'permissions' => 'sources', |
|
147 | + 'action' => 'source', |
|
148 | 148 | ), '', true, true); |
149 | 149 | |
150 | 150 | $topNavMenus[1]->addMany($children,'Children'); |
@@ -154,23 +154,23 @@ discard block |
||
154 | 154 | /* ***************** APPS MENU ***************** */ |
155 | 155 | $topNavMenus[2]= $xpdo->newObject('modMenu'); |
156 | 156 | $topNavMenus[2]->fromArray(array ( |
157 | - 'menuindex' => 2, |
|
158 | - 'text' => 'components', |
|
159 | - 'description' => '', |
|
160 | - 'parent' => 'topnav', |
|
161 | - 'permissions' => 'components', |
|
162 | - 'action' => '', |
|
157 | + 'menuindex' => 2, |
|
158 | + 'text' => 'components', |
|
159 | + 'description' => '', |
|
160 | + 'parent' => 'topnav', |
|
161 | + 'permissions' => 'components', |
|
162 | + 'action' => '', |
|
163 | 163 | ), '', true, true); |
164 | 164 | |
165 | 165 | /* Installer */ |
166 | 166 | $children[0]= $xpdo->newObject('modMenu'); |
167 | 167 | $children[0]->fromArray(array ( |
168 | - 'menuindex' => 0, |
|
169 | - 'text' => 'installer', |
|
170 | - 'description' => 'installer_desc', |
|
171 | - 'parent' => 'components', |
|
172 | - 'permissions' => 'packages', |
|
173 | - 'action' => 'workspaces', |
|
168 | + 'menuindex' => 0, |
|
169 | + 'text' => 'installer', |
|
170 | + 'description' => 'installer_desc', |
|
171 | + 'parent' => 'components', |
|
172 | + 'permissions' => 'packages', |
|
173 | + 'action' => 'workspaces', |
|
174 | 174 | ), '', true, true); |
175 | 175 | |
176 | 176 | $topNavMenus[2]->addMany($children,'Children'); |
@@ -180,48 +180,48 @@ discard block |
||
180 | 180 | /* ***************** ADMIN MENU ***************** */ |
181 | 181 | $topNavMenus[3]= $xpdo->newObject('modMenu'); |
182 | 182 | $topNavMenus[3]->fromArray(array ( |
183 | - 'menuindex' => 3, |
|
184 | - 'text' => 'manage', |
|
185 | - 'description' => '', |
|
186 | - 'parent' => 'topnav', |
|
187 | - 'permissions' => 'menu_tools', |
|
188 | - 'action' => '', |
|
183 | + 'menuindex' => 3, |
|
184 | + 'text' => 'manage', |
|
185 | + 'description' => '', |
|
186 | + 'parent' => 'topnav', |
|
187 | + 'permissions' => 'menu_tools', |
|
188 | + 'action' => '', |
|
189 | 189 | ), '', true, true); |
190 | 190 | $children = array(); |
191 | 191 | |
192 | 192 | /* Manage Users */ |
193 | 193 | $children[0]= $xpdo->newObject('modMenu'); |
194 | 194 | $children[0]->fromArray(array ( |
195 | - 'menuindex' => 0, |
|
196 | - 'text' => 'users', |
|
197 | - 'description' => 'user_management_desc', |
|
198 | - 'parent' => 'manage', |
|
199 | - 'permissions' => 'view_user', |
|
200 | - 'action' => 'security/user', |
|
195 | + 'menuindex' => 0, |
|
196 | + 'text' => 'users', |
|
197 | + 'description' => 'user_management_desc', |
|
198 | + 'parent' => 'manage', |
|
199 | + 'permissions' => 'view_user', |
|
200 | + 'action' => 'security/user', |
|
201 | 201 | ), '', true, true); |
202 | 202 | |
203 | 203 | /* Clear Cache */ |
204 | 204 | $children[1]= $xpdo->newObject('modMenu'); |
205 | 205 | $children[1]->fromArray(array ( |
206 | - 'menuindex' => 1, |
|
207 | - 'text' => 'refresh_site', |
|
208 | - 'description' => 'refresh_site_desc', |
|
209 | - 'parent' => 'manage', |
|
210 | - 'permissions' => 'empty_cache', |
|
211 | - 'action' => '', |
|
212 | - 'handler' => 'MODx.clearCache(); return false;', |
|
206 | + 'menuindex' => 1, |
|
207 | + 'text' => 'refresh_site', |
|
208 | + 'description' => 'refresh_site_desc', |
|
209 | + 'parent' => 'manage', |
|
210 | + 'permissions' => 'empty_cache', |
|
211 | + 'action' => '', |
|
212 | + 'handler' => 'MODx.clearCache(); return false;', |
|
213 | 213 | ), '', true, true); |
214 | 214 | |
215 | 215 | /* Refresh URIs */ |
216 | 216 | $childrenOfClearCache[0]= $xpdo->newObject('modMenu'); |
217 | 217 | $childrenOfClearCache[0]->fromArray(array ( |
218 | - 'menuindex' => 0, |
|
219 | - 'text' => 'refreshuris', |
|
220 | - 'description' => 'refreshuris_desc', |
|
221 | - 'parent' => '', |
|
222 | - 'permissions' => 'empty_cache', |
|
223 | - 'action' => '', |
|
224 | - 'handler' => 'MODx.refreshURIs(); return false;', |
|
218 | + 'menuindex' => 0, |
|
219 | + 'text' => 'refreshuris', |
|
220 | + 'description' => 'refreshuris_desc', |
|
221 | + 'parent' => '', |
|
222 | + 'permissions' => 'empty_cache', |
|
223 | + 'action' => '', |
|
224 | + 'handler' => 'MODx.refreshURIs(); return false;', |
|
225 | 225 | ), '', true, true); |
226 | 226 | |
227 | 227 | $children[1]->addMany($childrenOfClearCache, 'Children'); |
@@ -229,25 +229,25 @@ discard block |
||
229 | 229 | /* Remove Locks */ |
230 | 230 | $children[2]= $xpdo->newObject('modMenu'); |
231 | 231 | $children[2]->fromArray(array ( |
232 | - 'menuindex' => 2, |
|
233 | - 'text' => 'remove_locks', |
|
234 | - 'description' => 'remove_locks_desc', |
|
235 | - 'parent' => 'manage', |
|
236 | - 'permissions' => 'remove_locks', |
|
237 | - 'action' => '', |
|
238 | - 'handler' => 'MODx.removeLocks();return false;', |
|
232 | + 'menuindex' => 2, |
|
233 | + 'text' => 'remove_locks', |
|
234 | + 'description' => 'remove_locks_desc', |
|
235 | + 'parent' => 'manage', |
|
236 | + 'permissions' => 'remove_locks', |
|
237 | + 'action' => '', |
|
238 | + 'handler' => 'MODx.removeLocks();return false;', |
|
239 | 239 | ), '', true, true); |
240 | 240 | |
241 | 241 | /* Flush Permissions */ |
242 | 242 | $children[3]= $xpdo->newObject('modMenu'); |
243 | 243 | $children[3]->fromArray(array ( |
244 | - 'menuindex' => 3, |
|
245 | - 'text' => 'flush_access', |
|
246 | - 'description' => 'flush_access_desc', |
|
247 | - 'parent' => 'manage', |
|
248 | - 'permissions' => 'access_permissions', |
|
249 | - 'action' => '', |
|
250 | - 'handler' => 'MODx.msg.confirm({ |
|
244 | + 'menuindex' => 3, |
|
245 | + 'text' => 'flush_access', |
|
246 | + 'description' => 'flush_access_desc', |
|
247 | + 'parent' => 'manage', |
|
248 | + 'permissions' => 'access_permissions', |
|
249 | + 'action' => '', |
|
250 | + 'handler' => 'MODx.msg.confirm({ |
|
251 | 251 | title: _(\'flush_access\') |
252 | 252 | ,text: _(\'flush_access_confirm\') |
253 | 253 | ,url: MODx.config.connector_url |
@@ -264,13 +264,13 @@ discard block |
||
264 | 264 | /* Flush Sessions */ |
265 | 265 | $children[4]= $xpdo->newObject('modMenu'); |
266 | 266 | $children[4]->fromArray(array ( |
267 | - 'menuindex' => 4, |
|
268 | - 'text' => 'flush_sessions', |
|
269 | - 'description' => 'flush_sessions_desc', |
|
270 | - 'parent' => 'manage', |
|
271 | - 'permissions' => 'flush_sessions', |
|
272 | - 'action' => '', |
|
273 | - 'handler' => 'MODx.msg.confirm({ |
|
267 | + 'menuindex' => 4, |
|
268 | + 'text' => 'flush_sessions', |
|
269 | + 'description' => 'flush_sessions_desc', |
|
270 | + 'parent' => 'manage', |
|
271 | + 'permissions' => 'flush_sessions', |
|
272 | + 'action' => '', |
|
273 | + 'handler' => 'MODx.msg.confirm({ |
|
274 | 274 | title: _(\'flush_sessions\') |
275 | 275 | ,text: _(\'flush_sessions_confirm\') |
276 | 276 | ,url: MODx.config.connector_url |
@@ -286,12 +286,12 @@ discard block |
||
286 | 286 | /* Reports */ |
287 | 287 | $children[5]= $xpdo->newObject('modMenu'); |
288 | 288 | $children[5]->fromArray(array ( |
289 | - 'menuindex' => 5, |
|
290 | - 'text' => 'reports', |
|
291 | - 'description' => 'reports_desc', |
|
292 | - 'parent' => 'manage', |
|
293 | - 'permissions' => 'menu_reports', |
|
294 | - 'action' => '', |
|
289 | + 'menuindex' => 5, |
|
290 | + 'text' => 'reports', |
|
291 | + 'description' => 'reports_desc', |
|
292 | + 'parent' => 'manage', |
|
293 | + 'permissions' => 'menu_reports', |
|
294 | + 'action' => '', |
|
295 | 295 | ), '', true, true); |
296 | 296 | |
297 | 297 | /* site schedule */ |
@@ -348,48 +348,48 @@ discard block |
||
348 | 348 | /* ***************** USER MENU ***************** */ |
349 | 349 | $userNavMenus[0]= $xpdo->newObject('modMenu'); |
350 | 350 | $userNavMenus[0]->fromArray(array( |
351 | - 'menuindex' => 5, |
|
352 | - 'text' => 'user', |
|
353 | - 'description' => '', |
|
354 | - 'parent' => 'usernav', |
|
355 | - 'permissions' => 'menu_user', |
|
356 | - 'action' => '', |
|
357 | - 'icon' => '<span id="user-avatar">{$userImage}</span> <span id="user-username">{$username}</span>', |
|
351 | + 'menuindex' => 5, |
|
352 | + 'text' => 'user', |
|
353 | + 'description' => '', |
|
354 | + 'parent' => 'usernav', |
|
355 | + 'permissions' => 'menu_user', |
|
356 | + 'action' => '', |
|
357 | + 'icon' => '<span id="user-avatar">{$userImage}</span> <span id="user-username">{$username}</span>', |
|
358 | 358 | ), '', true, true); |
359 | 359 | $children = array(); |
360 | 360 | |
361 | 361 | /* edit account */ |
362 | 362 | $children[0]= $xpdo->newObject('modMenu'); |
363 | 363 | $children[0]->fromArray(array ( |
364 | - 'menuindex' => 0, |
|
365 | - 'text' => 'profile', |
|
366 | - 'description' => 'profile_desc', |
|
367 | - 'parent' => 'user', |
|
368 | - 'permissions' => 'change_profile', |
|
369 | - 'action' => 'security/profile', |
|
364 | + 'menuindex' => 0, |
|
365 | + 'text' => 'profile', |
|
366 | + 'description' => 'profile_desc', |
|
367 | + 'parent' => 'user', |
|
368 | + 'permissions' => 'change_profile', |
|
369 | + 'action' => 'security/profile', |
|
370 | 370 | ), '', true, true); |
371 | 371 | |
372 | 372 | /* messages */ |
373 | 373 | $children[1]= $xpdo->newObject('modMenu'); |
374 | 374 | $children[1]->fromArray(array ( |
375 | - 'menuindex' => 1, |
|
376 | - 'text' => 'messages', |
|
377 | - 'description' => 'messages_desc', |
|
378 | - 'parent' => 'user', |
|
379 | - 'permissions' => 'messages', |
|
380 | - 'action' => 'security/message', |
|
375 | + 'menuindex' => 1, |
|
376 | + 'text' => 'messages', |
|
377 | + 'description' => 'messages_desc', |
|
378 | + 'parent' => 'user', |
|
379 | + 'permissions' => 'messages', |
|
380 | + 'action' => 'security/message', |
|
381 | 381 | ), '', true, true); |
382 | 382 | |
383 | 383 | /* logout */ |
384 | 384 | $children[2]= $xpdo->newObject('modMenu'); |
385 | 385 | $children[2]->fromArray(array ( |
386 | - 'menuindex' => 2, |
|
387 | - 'text' => 'logout', |
|
388 | - 'description' => 'logout_desc', |
|
389 | - 'parent' => 'user', |
|
390 | - 'permissions' => 'logout', |
|
391 | - 'action' => 'security/logout', |
|
392 | - 'handler' => 'MODx.logout(); return false;', |
|
386 | + 'menuindex' => 2, |
|
387 | + 'text' => 'logout', |
|
388 | + 'description' => 'logout_desc', |
|
389 | + 'parent' => 'user', |
|
390 | + 'permissions' => 'logout', |
|
391 | + 'action' => 'security/logout', |
|
392 | + 'handler' => 'MODx.logout(); return false;', |
|
393 | 393 | ), '', true, true); |
394 | 394 | |
395 | 395 | $userNavMenus[0]->addMany($children,'Children'); |
@@ -398,113 +398,113 @@ discard block |
||
398 | 398 | /* ***************** ADMIN/SETTINGS MENU ***************** */ |
399 | 399 | $userNavMenus[1]= $xpdo->newObject('modMenu'); |
400 | 400 | $userNavMenus[1]->fromArray(array( |
401 | - 'menuindex' => 6, |
|
402 | - 'text' => 'admin', |
|
403 | - 'description' => '', |
|
404 | - 'parent' => 'usernav', |
|
405 | - 'permissions' => 'settings', |
|
406 | - 'action' => '', |
|
407 | - 'icon' => '<i class="icon-gear icon icon-large"></i>', |
|
401 | + 'menuindex' => 6, |
|
402 | + 'text' => 'admin', |
|
403 | + 'description' => '', |
|
404 | + 'parent' => 'usernav', |
|
405 | + 'permissions' => 'settings', |
|
406 | + 'action' => '', |
|
407 | + 'icon' => '<i class="icon-gear icon icon-large"></i>', |
|
408 | 408 | ), '', true, true); |
409 | 409 | $children = array(); |
410 | 410 | |
411 | 411 | /* system settings */ |
412 | 412 | $children[0]= $xpdo->newObject('modMenu'); |
413 | 413 | $children[0]->fromArray(array ( |
414 | - 'menuindex' => 0, |
|
415 | - 'text' => 'system_settings', |
|
416 | - 'description' => 'system_settings_desc', |
|
417 | - 'parent' => 'admin', |
|
418 | - 'permissions' => 'settings', |
|
419 | - 'action' => 'system/settings', |
|
414 | + 'menuindex' => 0, |
|
415 | + 'text' => 'system_settings', |
|
416 | + 'description' => 'system_settings_desc', |
|
417 | + 'parent' => 'admin', |
|
418 | + 'permissions' => 'settings', |
|
419 | + 'action' => 'system/settings', |
|
420 | 420 | ), '', true, true); |
421 | 421 | |
422 | 422 | /* customize manager */ |
423 | 423 | $children[1]= $xpdo->newObject('modMenu'); |
424 | 424 | $children[1]->fromArray(array ( |
425 | - 'menuindex' => 1, |
|
426 | - 'text' => 'bespoke_manager', |
|
427 | - 'description' => 'bespoke_manager_desc', |
|
428 | - 'parent' => 'admin', |
|
429 | - 'permissions' => 'customize_forms', |
|
430 | - 'action' => 'security/forms', |
|
425 | + 'menuindex' => 1, |
|
426 | + 'text' => 'bespoke_manager', |
|
427 | + 'description' => 'bespoke_manager_desc', |
|
428 | + 'parent' => 'admin', |
|
429 | + 'permissions' => 'customize_forms', |
|
430 | + 'action' => 'security/forms', |
|
431 | 431 | ), '', true, true); |
432 | 432 | |
433 | 433 | /* Dashboards */ |
434 | 434 | $children[2]= $xpdo->newObject('modMenu'); |
435 | 435 | $children[2]->fromArray(array ( |
436 | - 'menuindex' => 2, |
|
437 | - 'text' => 'dashboards', |
|
438 | - 'description' => 'dashboards_desc', |
|
439 | - 'parent' => 'admin', |
|
440 | - 'permissions' => 'dashboards', |
|
441 | - 'action' => 'system/dashboards', |
|
436 | + 'menuindex' => 2, |
|
437 | + 'text' => 'dashboards', |
|
438 | + 'description' => 'dashboards_desc', |
|
439 | + 'parent' => 'admin', |
|
440 | + 'permissions' => 'dashboards', |
|
441 | + 'action' => 'system/dashboards', |
|
442 | 442 | ), '', true, true); |
443 | 443 | |
444 | 444 | /* Contexts */ |
445 | 445 | $children[3]= $xpdo->newObject('modMenu'); |
446 | 446 | $children[3]->fromArray(array ( |
447 | - 'menuindex' => 3, |
|
448 | - 'text' => 'contexts', |
|
449 | - 'description' => 'contexts_desc', |
|
450 | - 'parent' => 'admin', |
|
451 | - 'permissions' => 'view_context', |
|
452 | - 'action' => 'context', |
|
447 | + 'menuindex' => 3, |
|
448 | + 'text' => 'contexts', |
|
449 | + 'description' => 'contexts_desc', |
|
450 | + 'parent' => 'admin', |
|
451 | + 'permissions' => 'view_context', |
|
452 | + 'action' => 'context', |
|
453 | 453 | ), '', true, true); |
454 | 454 | |
455 | 455 | /* Manager Menus */ |
456 | 456 | $children[4]= $xpdo->newObject('modMenu'); |
457 | 457 | $children[4]->fromArray(array ( |
458 | - 'menuindex' => 4, |
|
459 | - 'text' => 'edit_menu', |
|
460 | - 'description' => 'edit_menu_desc', |
|
461 | - 'parent' => 'admin', |
|
462 | - 'permissions' => 'actions', |
|
463 | - 'action' => 'system/action', |
|
458 | + 'menuindex' => 4, |
|
459 | + 'text' => 'edit_menu', |
|
460 | + 'description' => 'edit_menu_desc', |
|
461 | + 'parent' => 'admin', |
|
462 | + 'permissions' => 'actions', |
|
463 | + 'action' => 'system/action', |
|
464 | 464 | ), '', true, true); |
465 | 465 | |
466 | 466 | /* ACLs */ |
467 | 467 | $children[5]= $xpdo->newObject('modMenu'); |
468 | 468 | $children[5]->fromArray(array ( |
469 | - 'menuindex' => 5, |
|
470 | - 'text' => 'acls', |
|
471 | - 'description' => 'acls_desc', |
|
472 | - 'parent' => 'admin', |
|
473 | - 'permissions' => 'access_permissions', |
|
474 | - 'action' => 'security/permission', |
|
469 | + 'menuindex' => 5, |
|
470 | + 'text' => 'acls', |
|
471 | + 'description' => 'acls_desc', |
|
472 | + 'parent' => 'admin', |
|
473 | + 'permissions' => 'access_permissions', |
|
474 | + 'action' => 'security/permission', |
|
475 | 475 | ), '', true, true); |
476 | 476 | |
477 | 477 | /* Property Sets */ |
478 | 478 | $children[6]= $xpdo->newObject('modMenu'); |
479 | 479 | $children[6]->fromArray(array ( |
480 | - 'menuindex' => 6, |
|
481 | - 'text' => 'propertysets', |
|
482 | - 'description' => 'propertysets_desc', |
|
483 | - 'parent' => 'admin', |
|
484 | - 'permissions' => 'property_sets', |
|
485 | - 'action' => 'element/propertyset', |
|
480 | + 'menuindex' => 6, |
|
481 | + 'text' => 'propertysets', |
|
482 | + 'description' => 'propertysets_desc', |
|
483 | + 'parent' => 'admin', |
|
484 | + 'permissions' => 'property_sets', |
|
485 | + 'action' => 'element/propertyset', |
|
486 | 486 | ), '', true, true); |
487 | 487 | |
488 | 488 | /* Lexicons */ |
489 | 489 | $children[7]= $xpdo->newObject('modMenu'); |
490 | 490 | $children[7]->fromArray(array ( |
491 | - 'menuindex' => 7, |
|
492 | - 'text' => 'lexicon_management', |
|
493 | - 'description' => 'lexicon_management_desc', |
|
494 | - 'parent' => 'admin', |
|
495 | - 'permissions' => 'lexicons', |
|
496 | - 'action' => 'workspaces/lexicon', |
|
491 | + 'menuindex' => 7, |
|
492 | + 'text' => 'lexicon_management', |
|
493 | + 'description' => 'lexicon_management_desc', |
|
494 | + 'parent' => 'admin', |
|
495 | + 'permissions' => 'lexicons', |
|
496 | + 'action' => 'workspaces/lexicon', |
|
497 | 497 | ), '', true, true); |
498 | 498 | |
499 | 499 | /* Namespaces */ |
500 | 500 | $children[8]= $xpdo->newObject('modMenu'); |
501 | 501 | $children[8]->fromArray(array ( |
502 | - 'menuindex' => 8, |
|
503 | - 'text' => 'namespaces', |
|
504 | - 'description' => 'namespaces_desc', |
|
505 | - 'parent' => 'admin', |
|
506 | - 'permissions' => 'namespaces', |
|
507 | - 'action' => 'workspaces/namespace', |
|
502 | + 'menuindex' => 8, |
|
503 | + 'text' => 'namespaces', |
|
504 | + 'description' => 'namespaces_desc', |
|
505 | + 'parent' => 'admin', |
|
506 | + 'permissions' => 'namespaces', |
|
507 | + 'action' => 'workspaces/namespace', |
|
508 | 508 | ), '', true, true); |
509 | 509 | |
510 | 510 | $userNavMenus[1]->addMany($children,'Children'); |
@@ -513,13 +513,13 @@ discard block |
||
513 | 513 | /* ***************** ADMIN/ABOUT MENU ***************** */ |
514 | 514 | $userNavMenus[2]= $xpdo->newObject('modMenu'); |
515 | 515 | $userNavMenus[2]->fromArray(array( |
516 | - 'menuindex' => 7, |
|
517 | - 'text' => 'about', |
|
518 | - 'description' => '', |
|
519 | - 'parent' => 'usernav', |
|
520 | - 'permissions' => 'help', |
|
521 | - 'action' => 'help', |
|
522 | - 'icon' => '<i class="icon-question-circle icon icon-large"></i>', |
|
516 | + 'menuindex' => 7, |
|
517 | + 'text' => 'about', |
|
518 | + 'description' => '', |
|
519 | + 'parent' => 'usernav', |
|
520 | + 'permissions' => 'help', |
|
521 | + 'action' => 'help', |
|
522 | + 'icon' => '<i class="icon-question-circle icon icon-large"></i>', |
|
523 | 523 | ), '', true, true); |
524 | 524 | $children = array(); |
525 | 525 |
@@ -9,8 +9,8 @@ discard block |
||
9 | 9 | */ |
10 | 10 | $menus = array(); |
11 | 11 | |
12 | -$menus[0]= $xpdo->newObject('modMenu'); |
|
13 | -$menus[0]->fromArray(array ( |
|
12 | +$menus[0] = $xpdo->newObject('modMenu'); |
|
13 | +$menus[0]->fromArray(array( |
|
14 | 14 | 'menuindex' => 0, |
15 | 15 | 'text' => 'topnav', |
16 | 16 | 'description' => 'topnav_desc', |
@@ -19,8 +19,8 @@ discard block |
||
19 | 19 | 'action' => '', |
20 | 20 | ), '', true, true); |
21 | 21 | |
22 | -$menus[1]= $xpdo->newObject('modMenu'); |
|
23 | -$menus[1]->fromArray(array ( |
|
22 | +$menus[1] = $xpdo->newObject('modMenu'); |
|
23 | +$menus[1]->fromArray(array( |
|
24 | 24 | 'menuindex' => 0, |
25 | 25 | 'text' => 'usernav', |
26 | 26 | 'description' => 'usernav_desc', |
@@ -31,8 +31,8 @@ discard block |
||
31 | 31 | |
32 | 32 | |
33 | 33 | /* ***************** CONTENT MENU ***************** */ |
34 | -$topNavMenus[0]= $xpdo->newObject('modMenu'); |
|
35 | -$topNavMenus[0]->fromArray(array ( |
|
34 | +$topNavMenus[0] = $xpdo->newObject('modMenu'); |
|
35 | +$topNavMenus[0]->fromArray(array( |
|
36 | 36 | 'menuindex' => 0, |
37 | 37 | 'text' => 'site', |
38 | 38 | 'description' => '', |
@@ -44,8 +44,8 @@ discard block |
||
44 | 44 | $children = array(); |
45 | 45 | |
46 | 46 | /* New Resource */ |
47 | -$children[0]= $xpdo->newObject('modMenu'); |
|
48 | -$children[0]->fromArray(array ( |
|
47 | +$children[0] = $xpdo->newObject('modMenu'); |
|
48 | +$children[0]->fromArray(array( |
|
49 | 49 | 'menuindex' => 0, |
50 | 50 | 'text' => 'new_resource', |
51 | 51 | 'description' => 'new_resource_desc', |
@@ -55,8 +55,8 @@ discard block |
||
55 | 55 | ), '', true, true); |
56 | 56 | |
57 | 57 | /* Preview */ |
58 | -$children[4]= $xpdo->newObject('modMenu'); |
|
59 | -$children[4]->fromArray(array ( |
|
58 | +$children[4] = $xpdo->newObject('modMenu'); |
|
59 | +$children[4]->fromArray(array( |
|
60 | 60 | 'menuindex' => 4, |
61 | 61 | 'text' => 'preview', |
62 | 62 | 'description' => 'preview_desc', |
@@ -67,8 +67,8 @@ discard block |
||
67 | 67 | ), '', true, true); |
68 | 68 | |
69 | 69 | /* Import HTML */ |
70 | -$children[5]= $xpdo->newObject('modMenu'); |
|
71 | -$children[5]->fromArray(array ( |
|
70 | +$children[5] = $xpdo->newObject('modMenu'); |
|
71 | +$children[5]->fromArray(array( |
|
72 | 72 | 'menuindex' => 5, |
73 | 73 | 'text' => 'import_site', |
74 | 74 | 'description' => 'import_site_desc', |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | ), '', true, true); |
79 | 79 | |
80 | 80 | /* Import Static Resources */ |
81 | -$children[6]= $xpdo->newObject('modMenu'); |
|
82 | -$children[6]->fromArray(array ( |
|
81 | +$children[6] = $xpdo->newObject('modMenu'); |
|
82 | +$children[6]->fromArray(array( |
|
83 | 83 | 'menuindex' => 6, |
84 | 84 | 'text' => 'import_resources', |
85 | 85 | 'description' => 'import_resources_desc', |
@@ -89,8 +89,8 @@ discard block |
||
89 | 89 | ), '', true, true); |
90 | 90 | |
91 | 91 | /* Manage Resource Groups */ |
92 | -$children[7]= $xpdo->newObject('modMenu'); |
|
93 | -$children[7]->fromArray(array ( |
|
92 | +$children[7] = $xpdo->newObject('modMenu'); |
|
93 | +$children[7]->fromArray(array( |
|
94 | 94 | 'menuindex' => 7, |
95 | 95 | 'text' => 'resource_groups', |
96 | 96 | 'description' => 'resource_groups_desc', |
@@ -100,8 +100,8 @@ discard block |
||
100 | 100 | ), '', true, true); |
101 | 101 | |
102 | 102 | /* Content Types */ |
103 | -$children[8]= $xpdo->newObject('modMenu'); |
|
104 | -$children[8]->fromArray(array ( |
|
103 | +$children[8] = $xpdo->newObject('modMenu'); |
|
104 | +$children[8]->fromArray(array( |
|
105 | 105 | 'menuindex' => 8, |
106 | 106 | 'text' => 'content_types', |
107 | 107 | 'description' => 'content_types_desc', |
@@ -110,13 +110,13 @@ discard block |
||
110 | 110 | 'action' => 'system/contenttype', |
111 | 111 | ), '', true, true); |
112 | 112 | |
113 | -$topNavMenus[0]->addMany($children,'Children'); |
|
113 | +$topNavMenus[0]->addMany($children, 'Children'); |
|
114 | 114 | unset($children); |
115 | 115 | |
116 | 116 | |
117 | 117 | /* ***************** MEDIA MENU ***************** */ |
118 | -$topNavMenus[1]= $xpdo->newObject('modMenu'); |
|
119 | -$topNavMenus[1]->fromArray(array ( |
|
118 | +$topNavMenus[1] = $xpdo->newObject('modMenu'); |
|
119 | +$topNavMenus[1]->fromArray(array( |
|
120 | 120 | 'menuindex' => 1, |
121 | 121 | 'text' => 'media', |
122 | 122 | 'description' => 'media_desc', |
@@ -126,8 +126,8 @@ discard block |
||
126 | 126 | ), '', true, true); |
127 | 127 | |
128 | 128 | /* Media Browser */ |
129 | -$children[0]= $xpdo->newObject('modMenu'); |
|
130 | -$children[0]->fromArray(array ( |
|
129 | +$children[0] = $xpdo->newObject('modMenu'); |
|
130 | +$children[0]->fromArray(array( |
|
131 | 131 | 'menuindex' => 0, |
132 | 132 | 'text' => 'file_browser', |
133 | 133 | 'description' => 'file_browser_desc', |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | ), '', true, true); |
138 | 138 | |
139 | 139 | /* Media Drivers */ |
140 | -$children[1]= $xpdo->newObject('modMenu'); |
|
140 | +$children[1] = $xpdo->newObject('modMenu'); |
|
141 | 141 | $children[1]->fromArray(array( |
142 | 142 | 'menuindex' => 1, |
143 | 143 | 'text' => 'sources', |
@@ -147,13 +147,13 @@ discard block |
||
147 | 147 | 'action' => 'source', |
148 | 148 | ), '', true, true); |
149 | 149 | |
150 | -$topNavMenus[1]->addMany($children,'Children'); |
|
150 | +$topNavMenus[1]->addMany($children, 'Children'); |
|
151 | 151 | unset($children); |
152 | 152 | |
153 | 153 | |
154 | 154 | /* ***************** APPS MENU ***************** */ |
155 | -$topNavMenus[2]= $xpdo->newObject('modMenu'); |
|
156 | -$topNavMenus[2]->fromArray(array ( |
|
155 | +$topNavMenus[2] = $xpdo->newObject('modMenu'); |
|
156 | +$topNavMenus[2]->fromArray(array( |
|
157 | 157 | 'menuindex' => 2, |
158 | 158 | 'text' => 'components', |
159 | 159 | 'description' => '', |
@@ -163,8 +163,8 @@ discard block |
||
163 | 163 | ), '', true, true); |
164 | 164 | |
165 | 165 | /* Installer */ |
166 | -$children[0]= $xpdo->newObject('modMenu'); |
|
167 | -$children[0]->fromArray(array ( |
|
166 | +$children[0] = $xpdo->newObject('modMenu'); |
|
167 | +$children[0]->fromArray(array( |
|
168 | 168 | 'menuindex' => 0, |
169 | 169 | 'text' => 'installer', |
170 | 170 | 'description' => 'installer_desc', |
@@ -173,13 +173,13 @@ discard block |
||
173 | 173 | 'action' => 'workspaces', |
174 | 174 | ), '', true, true); |
175 | 175 | |
176 | -$topNavMenus[2]->addMany($children,'Children'); |
|
176 | +$topNavMenus[2]->addMany($children, 'Children'); |
|
177 | 177 | unset($children); |
178 | 178 | |
179 | 179 | |
180 | 180 | /* ***************** ADMIN MENU ***************** */ |
181 | -$topNavMenus[3]= $xpdo->newObject('modMenu'); |
|
182 | -$topNavMenus[3]->fromArray(array ( |
|
181 | +$topNavMenus[3] = $xpdo->newObject('modMenu'); |
|
182 | +$topNavMenus[3]->fromArray(array( |
|
183 | 183 | 'menuindex' => 3, |
184 | 184 | 'text' => 'manage', |
185 | 185 | 'description' => '', |
@@ -190,8 +190,8 @@ discard block |
||
190 | 190 | $children = array(); |
191 | 191 | |
192 | 192 | /* Manage Users */ |
193 | -$children[0]= $xpdo->newObject('modMenu'); |
|
194 | -$children[0]->fromArray(array ( |
|
193 | +$children[0] = $xpdo->newObject('modMenu'); |
|
194 | +$children[0]->fromArray(array( |
|
195 | 195 | 'menuindex' => 0, |
196 | 196 | 'text' => 'users', |
197 | 197 | 'description' => 'user_management_desc', |
@@ -201,8 +201,8 @@ discard block |
||
201 | 201 | ), '', true, true); |
202 | 202 | |
203 | 203 | /* Clear Cache */ |
204 | -$children[1]= $xpdo->newObject('modMenu'); |
|
205 | -$children[1]->fromArray(array ( |
|
204 | +$children[1] = $xpdo->newObject('modMenu'); |
|
205 | +$children[1]->fromArray(array( |
|
206 | 206 | 'menuindex' => 1, |
207 | 207 | 'text' => 'refresh_site', |
208 | 208 | 'description' => 'refresh_site_desc', |
@@ -213,8 +213,8 @@ discard block |
||
213 | 213 | ), '', true, true); |
214 | 214 | |
215 | 215 | /* Refresh URIs */ |
216 | -$childrenOfClearCache[0]= $xpdo->newObject('modMenu'); |
|
217 | -$childrenOfClearCache[0]->fromArray(array ( |
|
216 | +$childrenOfClearCache[0] = $xpdo->newObject('modMenu'); |
|
217 | +$childrenOfClearCache[0]->fromArray(array( |
|
218 | 218 | 'menuindex' => 0, |
219 | 219 | 'text' => 'refreshuris', |
220 | 220 | 'description' => 'refreshuris_desc', |
@@ -227,8 +227,8 @@ discard block |
||
227 | 227 | $children[1]->addMany($childrenOfClearCache, 'Children'); |
228 | 228 | |
229 | 229 | /* Remove Locks */ |
230 | -$children[2]= $xpdo->newObject('modMenu'); |
|
231 | -$children[2]->fromArray(array ( |
|
230 | +$children[2] = $xpdo->newObject('modMenu'); |
|
231 | +$children[2]->fromArray(array( |
|
232 | 232 | 'menuindex' => 2, |
233 | 233 | 'text' => 'remove_locks', |
234 | 234 | 'description' => 'remove_locks_desc', |
@@ -239,8 +239,8 @@ discard block |
||
239 | 239 | ), '', true, true); |
240 | 240 | |
241 | 241 | /* Flush Permissions */ |
242 | -$children[3]= $xpdo->newObject('modMenu'); |
|
243 | -$children[3]->fromArray(array ( |
|
242 | +$children[3] = $xpdo->newObject('modMenu'); |
|
243 | +$children[3]->fromArray(array( |
|
244 | 244 | 'menuindex' => 3, |
245 | 245 | 'text' => 'flush_access', |
246 | 246 | 'description' => 'flush_access_desc', |
@@ -262,8 +262,8 @@ discard block |
||
262 | 262 | ), '', true, true); |
263 | 263 | |
264 | 264 | /* Flush Sessions */ |
265 | -$children[4]= $xpdo->newObject('modMenu'); |
|
266 | -$children[4]->fromArray(array ( |
|
265 | +$children[4] = $xpdo->newObject('modMenu'); |
|
266 | +$children[4]->fromArray(array( |
|
267 | 267 | 'menuindex' => 4, |
268 | 268 | 'text' => 'flush_sessions', |
269 | 269 | 'description' => 'flush_sessions_desc', |
@@ -284,8 +284,8 @@ discard block |
||
284 | 284 | ), '', true, true); |
285 | 285 | |
286 | 286 | /* Reports */ |
287 | -$children[5]= $xpdo->newObject('modMenu'); |
|
288 | -$children[5]->fromArray(array ( |
|
287 | +$children[5] = $xpdo->newObject('modMenu'); |
|
288 | +$children[5]->fromArray(array( |
|
289 | 289 | 'menuindex' => 5, |
290 | 290 | 'text' => 'reports', |
291 | 291 | 'description' => 'reports_desc', |
@@ -295,8 +295,8 @@ discard block |
||
295 | 295 | ), '', true, true); |
296 | 296 | |
297 | 297 | /* site schedule */ |
298 | -$childrenOfReports[0]= $xpdo->newObject('modMenu'); |
|
299 | -$childrenOfReports[0]->fromArray(array ( |
|
298 | +$childrenOfReports[0] = $xpdo->newObject('modMenu'); |
|
299 | +$childrenOfReports[0]->fromArray(array( |
|
300 | 300 | 'menuindex' => 0, |
301 | 301 | 'text' => 'site_schedule', |
302 | 302 | 'description' => 'site_schedule_desc', |
@@ -306,8 +306,8 @@ discard block |
||
306 | 306 | ), '', true, true); |
307 | 307 | |
308 | 308 | /* manager actions */ |
309 | -$childrenOfReports[1]= $xpdo->newObject('modMenu'); |
|
310 | -$childrenOfReports[1]->fromArray(array ( |
|
309 | +$childrenOfReports[1] = $xpdo->newObject('modMenu'); |
|
310 | +$childrenOfReports[1]->fromArray(array( |
|
311 | 311 | 'menuindex' => 1, |
312 | 312 | 'text' => 'view_logging', |
313 | 313 | 'description' => 'view_logging_desc', |
@@ -317,8 +317,8 @@ discard block |
||
317 | 317 | ), '', true, true); |
318 | 318 | |
319 | 319 | /* error log */ |
320 | -$childrenOfReports[2]= $xpdo->newObject('modMenu'); |
|
321 | -$childrenOfReports[2]->fromArray(array ( |
|
320 | +$childrenOfReports[2] = $xpdo->newObject('modMenu'); |
|
321 | +$childrenOfReports[2]->fromArray(array( |
|
322 | 322 | 'menuindex' => 2, |
323 | 323 | 'text' => 'eventlog_viewer', |
324 | 324 | 'description' => 'eventlog_viewer_desc', |
@@ -328,8 +328,8 @@ discard block |
||
328 | 328 | ), '', true, true); |
329 | 329 | |
330 | 330 | /* system info */ |
331 | -$childrenOfReports[3]= $xpdo->newObject('modMenu'); |
|
332 | -$childrenOfReports[3]->fromArray(array ( |
|
331 | +$childrenOfReports[3] = $xpdo->newObject('modMenu'); |
|
332 | +$childrenOfReports[3]->fromArray(array( |
|
333 | 333 | 'menuindex' => 3, |
334 | 334 | 'text' => 'view_sysinfo', |
335 | 335 | 'description' => 'view_sysinfo_desc', |
@@ -341,12 +341,12 @@ discard block |
||
341 | 341 | $children[5]->addMany($childrenOfReports, 'Children'); |
342 | 342 | |
343 | 343 | |
344 | -$topNavMenus[3]->addMany($children,'Children'); |
|
344 | +$topNavMenus[3]->addMany($children, 'Children'); |
|
345 | 345 | unset($children, $childrenOfReports); |
346 | 346 | |
347 | 347 | |
348 | 348 | /* ***************** USER MENU ***************** */ |
349 | -$userNavMenus[0]= $xpdo->newObject('modMenu'); |
|
349 | +$userNavMenus[0] = $xpdo->newObject('modMenu'); |
|
350 | 350 | $userNavMenus[0]->fromArray(array( |
351 | 351 | 'menuindex' => 5, |
352 | 352 | 'text' => 'user', |
@@ -359,8 +359,8 @@ discard block |
||
359 | 359 | $children = array(); |
360 | 360 | |
361 | 361 | /* edit account */ |
362 | -$children[0]= $xpdo->newObject('modMenu'); |
|
363 | -$children[0]->fromArray(array ( |
|
362 | +$children[0] = $xpdo->newObject('modMenu'); |
|
363 | +$children[0]->fromArray(array( |
|
364 | 364 | 'menuindex' => 0, |
365 | 365 | 'text' => 'profile', |
366 | 366 | 'description' => 'profile_desc', |
@@ -370,8 +370,8 @@ discard block |
||
370 | 370 | ), '', true, true); |
371 | 371 | |
372 | 372 | /* messages */ |
373 | -$children[1]= $xpdo->newObject('modMenu'); |
|
374 | -$children[1]->fromArray(array ( |
|
373 | +$children[1] = $xpdo->newObject('modMenu'); |
|
374 | +$children[1]->fromArray(array( |
|
375 | 375 | 'menuindex' => 1, |
376 | 376 | 'text' => 'messages', |
377 | 377 | 'description' => 'messages_desc', |
@@ -381,8 +381,8 @@ discard block |
||
381 | 381 | ), '', true, true); |
382 | 382 | |
383 | 383 | /* logout */ |
384 | -$children[2]= $xpdo->newObject('modMenu'); |
|
385 | -$children[2]->fromArray(array ( |
|
384 | +$children[2] = $xpdo->newObject('modMenu'); |
|
385 | +$children[2]->fromArray(array( |
|
386 | 386 | 'menuindex' => 2, |
387 | 387 | 'text' => 'logout', |
388 | 388 | 'description' => 'logout_desc', |
@@ -392,11 +392,11 @@ discard block |
||
392 | 392 | 'handler' => 'MODx.logout(); return false;', |
393 | 393 | ), '', true, true); |
394 | 394 | |
395 | -$userNavMenus[0]->addMany($children,'Children'); |
|
395 | +$userNavMenus[0]->addMany($children, 'Children'); |
|
396 | 396 | unset($children); |
397 | 397 | |
398 | 398 | /* ***************** ADMIN/SETTINGS MENU ***************** */ |
399 | -$userNavMenus[1]= $xpdo->newObject('modMenu'); |
|
399 | +$userNavMenus[1] = $xpdo->newObject('modMenu'); |
|
400 | 400 | $userNavMenus[1]->fromArray(array( |
401 | 401 | 'menuindex' => 6, |
402 | 402 | 'text' => 'admin', |
@@ -409,8 +409,8 @@ discard block |
||
409 | 409 | $children = array(); |
410 | 410 | |
411 | 411 | /* system settings */ |
412 | -$children[0]= $xpdo->newObject('modMenu'); |
|
413 | -$children[0]->fromArray(array ( |
|
412 | +$children[0] = $xpdo->newObject('modMenu'); |
|
413 | +$children[0]->fromArray(array( |
|
414 | 414 | 'menuindex' => 0, |
415 | 415 | 'text' => 'system_settings', |
416 | 416 | 'description' => 'system_settings_desc', |
@@ -420,8 +420,8 @@ discard block |
||
420 | 420 | ), '', true, true); |
421 | 421 | |
422 | 422 | /* customize manager */ |
423 | -$children[1]= $xpdo->newObject('modMenu'); |
|
424 | -$children[1]->fromArray(array ( |
|
423 | +$children[1] = $xpdo->newObject('modMenu'); |
|
424 | +$children[1]->fromArray(array( |
|
425 | 425 | 'menuindex' => 1, |
426 | 426 | 'text' => 'bespoke_manager', |
427 | 427 | 'description' => 'bespoke_manager_desc', |
@@ -431,8 +431,8 @@ discard block |
||
431 | 431 | ), '', true, true); |
432 | 432 | |
433 | 433 | /* Dashboards */ |
434 | -$children[2]= $xpdo->newObject('modMenu'); |
|
435 | -$children[2]->fromArray(array ( |
|
434 | +$children[2] = $xpdo->newObject('modMenu'); |
|
435 | +$children[2]->fromArray(array( |
|
436 | 436 | 'menuindex' => 2, |
437 | 437 | 'text' => 'dashboards', |
438 | 438 | 'description' => 'dashboards_desc', |
@@ -442,8 +442,8 @@ discard block |
||
442 | 442 | ), '', true, true); |
443 | 443 | |
444 | 444 | /* Contexts */ |
445 | -$children[3]= $xpdo->newObject('modMenu'); |
|
446 | -$children[3]->fromArray(array ( |
|
445 | +$children[3] = $xpdo->newObject('modMenu'); |
|
446 | +$children[3]->fromArray(array( |
|
447 | 447 | 'menuindex' => 3, |
448 | 448 | 'text' => 'contexts', |
449 | 449 | 'description' => 'contexts_desc', |
@@ -453,8 +453,8 @@ discard block |
||
453 | 453 | ), '', true, true); |
454 | 454 | |
455 | 455 | /* Manager Menus */ |
456 | -$children[4]= $xpdo->newObject('modMenu'); |
|
457 | -$children[4]->fromArray(array ( |
|
456 | +$children[4] = $xpdo->newObject('modMenu'); |
|
457 | +$children[4]->fromArray(array( |
|
458 | 458 | 'menuindex' => 4, |
459 | 459 | 'text' => 'edit_menu', |
460 | 460 | 'description' => 'edit_menu_desc', |
@@ -464,8 +464,8 @@ discard block |
||
464 | 464 | ), '', true, true); |
465 | 465 | |
466 | 466 | /* ACLs */ |
467 | -$children[5]= $xpdo->newObject('modMenu'); |
|
468 | -$children[5]->fromArray(array ( |
|
467 | +$children[5] = $xpdo->newObject('modMenu'); |
|
468 | +$children[5]->fromArray(array( |
|
469 | 469 | 'menuindex' => 5, |
470 | 470 | 'text' => 'acls', |
471 | 471 | 'description' => 'acls_desc', |
@@ -475,8 +475,8 @@ discard block |
||
475 | 475 | ), '', true, true); |
476 | 476 | |
477 | 477 | /* Property Sets */ |
478 | -$children[6]= $xpdo->newObject('modMenu'); |
|
479 | -$children[6]->fromArray(array ( |
|
478 | +$children[6] = $xpdo->newObject('modMenu'); |
|
479 | +$children[6]->fromArray(array( |
|
480 | 480 | 'menuindex' => 6, |
481 | 481 | 'text' => 'propertysets', |
482 | 482 | 'description' => 'propertysets_desc', |
@@ -486,8 +486,8 @@ discard block |
||
486 | 486 | ), '', true, true); |
487 | 487 | |
488 | 488 | /* Lexicons */ |
489 | -$children[7]= $xpdo->newObject('modMenu'); |
|
490 | -$children[7]->fromArray(array ( |
|
489 | +$children[7] = $xpdo->newObject('modMenu'); |
|
490 | +$children[7]->fromArray(array( |
|
491 | 491 | 'menuindex' => 7, |
492 | 492 | 'text' => 'lexicon_management', |
493 | 493 | 'description' => 'lexicon_management_desc', |
@@ -497,8 +497,8 @@ discard block |
||
497 | 497 | ), '', true, true); |
498 | 498 | |
499 | 499 | /* Namespaces */ |
500 | -$children[8]= $xpdo->newObject('modMenu'); |
|
501 | -$children[8]->fromArray(array ( |
|
500 | +$children[8] = $xpdo->newObject('modMenu'); |
|
501 | +$children[8]->fromArray(array( |
|
502 | 502 | 'menuindex' => 8, |
503 | 503 | 'text' => 'namespaces', |
504 | 504 | 'description' => 'namespaces_desc', |
@@ -507,11 +507,11 @@ discard block |
||
507 | 507 | 'action' => 'workspaces/namespace', |
508 | 508 | ), '', true, true); |
509 | 509 | |
510 | -$userNavMenus[1]->addMany($children,'Children'); |
|
510 | +$userNavMenus[1]->addMany($children, 'Children'); |
|
511 | 511 | unset($children); |
512 | 512 | |
513 | 513 | /* ***************** ADMIN/ABOUT MENU ***************** */ |
514 | -$userNavMenus[2]= $xpdo->newObject('modMenu'); |
|
514 | +$userNavMenus[2] = $xpdo->newObject('modMenu'); |
|
515 | 515 | $userNavMenus[2]->fromArray(array( |
516 | 516 | 'menuindex' => 7, |
517 | 517 | 'text' => 'about', |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | $collection['1']= $xpdo->newObject('modUserGroup'); |
3 | 3 | $collection['1']->fromArray(array ( |
4 | - 'id' => 1, |
|
5 | - 'name' => 'Administrator', |
|
6 | - 'parent' => 0, |
|
4 | + 'id' => 1, |
|
5 | + 'name' => 'Administrator', |
|
6 | + 'parent' => 0, |
|
7 | 7 | ), '', true, true); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | -$collection['1']= $xpdo->newObject('modUserGroup'); |
|
3 | -$collection['1']->fromArray(array ( |
|
2 | +$collection['1'] = $xpdo->newObject('modUserGroup'); |
|
3 | +$collection['1']->fromArray(array( |
|
4 | 4 | 'id' => 1, |
5 | 5 | 'name' => 'Administrator', |
6 | 6 | 'parent' => 0, |