@@ -1,81 +1,81 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | $collection['1']= $xpdo->newObject('modContentType'); |
| 3 | 3 | $collection['1']->fromArray(array ( |
| 4 | - 'id' => 1, |
|
| 5 | - 'name' => 'HTML', |
|
| 6 | - 'description' => 'HTML content', |
|
| 7 | - 'mime_type' => 'text/html', |
|
| 8 | - 'file_extensions' => '.html', |
|
| 9 | - 'headers' => 'NULL', |
|
| 10 | - 'binary' => 0, |
|
| 4 | + 'id' => 1, |
|
| 5 | + 'name' => 'HTML', |
|
| 6 | + 'description' => 'HTML content', |
|
| 7 | + 'mime_type' => 'text/html', |
|
| 8 | + 'file_extensions' => '.html', |
|
| 9 | + 'headers' => 'NULL', |
|
| 10 | + 'binary' => 0, |
|
| 11 | 11 | ), '', true, true); |
| 12 | 12 | $collection['2']= $xpdo->newObject('modContentType'); |
| 13 | 13 | $collection['2']->fromArray(array ( |
| 14 | - 'id' => 2, |
|
| 15 | - 'name' => 'XML', |
|
| 16 | - 'description' => 'XML content', |
|
| 17 | - 'mime_type' => 'text/xml', |
|
| 18 | - 'file_extensions' => '.xml', |
|
| 19 | - 'headers' => 'NULL', |
|
| 20 | - 'binary' => 0, |
|
| 14 | + 'id' => 2, |
|
| 15 | + 'name' => 'XML', |
|
| 16 | + 'description' => 'XML content', |
|
| 17 | + 'mime_type' => 'text/xml', |
|
| 18 | + 'file_extensions' => '.xml', |
|
| 19 | + 'headers' => 'NULL', |
|
| 20 | + 'binary' => 0, |
|
| 21 | 21 | ), '', true, true); |
| 22 | 22 | $collection['3']= $xpdo->newObject('modContentType'); |
| 23 | 23 | $collection['3']->fromArray(array ( |
| 24 | - 'id' => 3, |
|
| 25 | - 'name' => 'text', |
|
| 26 | - 'description' => 'plain text content', |
|
| 27 | - 'mime_type' => 'text/plain', |
|
| 28 | - 'file_extensions' => '.txt', |
|
| 29 | - 'headers' => 'NULL', |
|
| 30 | - 'binary' => 0, |
|
| 24 | + 'id' => 3, |
|
| 25 | + 'name' => 'text', |
|
| 26 | + 'description' => 'plain text content', |
|
| 27 | + 'mime_type' => 'text/plain', |
|
| 28 | + 'file_extensions' => '.txt', |
|
| 29 | + 'headers' => 'NULL', |
|
| 30 | + 'binary' => 0, |
|
| 31 | 31 | ), '', true, true); |
| 32 | 32 | $collection['4']= $xpdo->newObject('modContentType'); |
| 33 | 33 | $collection['4']->fromArray(array ( |
| 34 | - 'id' => 4, |
|
| 35 | - 'name' => 'CSS', |
|
| 36 | - 'description' => 'CSS content', |
|
| 37 | - 'mime_type' => 'text/css', |
|
| 38 | - 'file_extensions' => '.css', |
|
| 39 | - 'headers' => 'NULL', |
|
| 40 | - 'binary' => 0, |
|
| 34 | + 'id' => 4, |
|
| 35 | + 'name' => 'CSS', |
|
| 36 | + 'description' => 'CSS content', |
|
| 37 | + 'mime_type' => 'text/css', |
|
| 38 | + 'file_extensions' => '.css', |
|
| 39 | + 'headers' => 'NULL', |
|
| 40 | + 'binary' => 0, |
|
| 41 | 41 | ), '', true, true); |
| 42 | 42 | $collection['5']= $xpdo->newObject('modContentType'); |
| 43 | 43 | $collection['5']->fromArray(array ( |
| 44 | - 'id' => 5, |
|
| 45 | - 'name' => 'javascript', |
|
| 46 | - 'description' => 'javascript content', |
|
| 47 | - 'mime_type' => 'text/javascript', |
|
| 48 | - 'file_extensions' => '.js', |
|
| 49 | - 'headers' => 'NULL', |
|
| 50 | - 'binary' => 0, |
|
| 44 | + 'id' => 5, |
|
| 45 | + 'name' => 'javascript', |
|
| 46 | + 'description' => 'javascript content', |
|
| 47 | + 'mime_type' => 'text/javascript', |
|
| 48 | + 'file_extensions' => '.js', |
|
| 49 | + 'headers' => 'NULL', |
|
| 50 | + 'binary' => 0, |
|
| 51 | 51 | ), '', true, true); |
| 52 | 52 | $collection['6']= $xpdo->newObject('modContentType'); |
| 53 | 53 | $collection['6']->fromArray(array ( |
| 54 | - 'id' => 6, |
|
| 55 | - 'name' => 'RSS', |
|
| 56 | - 'description' => 'For RSS feeds', |
|
| 57 | - 'mime_type' => 'application/rss+xml', |
|
| 58 | - 'file_extensions' => '.rss', |
|
| 59 | - 'headers' => 'NULL', |
|
| 60 | - 'binary' => 0, |
|
| 54 | + 'id' => 6, |
|
| 55 | + 'name' => 'RSS', |
|
| 56 | + 'description' => 'For RSS feeds', |
|
| 57 | + 'mime_type' => 'application/rss+xml', |
|
| 58 | + 'file_extensions' => '.rss', |
|
| 59 | + 'headers' => 'NULL', |
|
| 60 | + 'binary' => 0, |
|
| 61 | 61 | ), '', true, true); |
| 62 | 62 | $collection['7']= $xpdo->newObject('modContentType'); |
| 63 | 63 | $collection['7']->fromArray(array ( |
| 64 | - 'id' => 7, |
|
| 65 | - 'name' => 'JSON', |
|
| 66 | - 'description' => 'JSON', |
|
| 67 | - 'mime_type' => 'application/json', |
|
| 68 | - 'file_extensions' => '.json', |
|
| 69 | - 'headers' => 'NULL', |
|
| 70 | - 'binary' => 0, |
|
| 64 | + 'id' => 7, |
|
| 65 | + 'name' => 'JSON', |
|
| 66 | + 'description' => 'JSON', |
|
| 67 | + 'mime_type' => 'application/json', |
|
| 68 | + 'file_extensions' => '.json', |
|
| 69 | + 'headers' => 'NULL', |
|
| 70 | + 'binary' => 0, |
|
| 71 | 71 | ), '', true, true); |
| 72 | 72 | $collection['8']= $xpdo->newObject('modContentType'); |
| 73 | 73 | $collection['8']->fromArray(array ( |
| 74 | - 'id' => 8, |
|
| 75 | - 'name' => 'PDF', |
|
| 76 | - 'description' => 'PDF Files', |
|
| 77 | - 'mime_type' => 'application/pdf', |
|
| 78 | - 'file_extensions' => '.pdf', |
|
| 79 | - 'headers' => 'NULL', |
|
| 80 | - 'binary' => 1, |
|
| 74 | + 'id' => 8, |
|
| 75 | + 'name' => 'PDF', |
|
| 76 | + 'description' => 'PDF Files', |
|
| 77 | + 'mime_type' => 'application/pdf', |
|
| 78 | + 'file_extensions' => '.pdf', |
|
| 79 | + 'headers' => 'NULL', |
|
| 80 | + 'binary' => 1, |
|
| 81 | 81 | ), '', true, true); |
| 82 | 82 | \ No newline at end of file |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | */ |
| 5 | 5 | $collection[1]= $xpdo->newObject('modDashboard'); |
| 6 | 6 | $collection[1]->fromArray(array ( |
| 7 | - 'id' => 1, |
|
| 8 | - 'name' => 'Default', |
|
| 9 | - 'description' => '', |
|
| 7 | + 'id' => 1, |
|
| 8 | + 'name' => 'Default', |
|
| 9 | + 'description' => '', |
|
| 10 | 10 | ), '', true, true); |
| 11 | 11 | \ No newline at end of file |
@@ -1,21 +1,21 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | $collection['0']= $xpdo->newObject('modContextSetting'); |
| 3 | 3 | $collection['0']->fromArray(array ( |
| 4 | - 'context_key' => 'mgr', |
|
| 5 | - 'key' => 'allow_tags_in_post', |
|
| 6 | - 'value' => '1', |
|
| 7 | - 'xtype' => 'combo-boolean', |
|
| 8 | - 'namespace' => 'core', |
|
| 9 | - 'area' => 'system', |
|
| 10 | - 'editedon' => NULL, |
|
| 4 | + 'context_key' => 'mgr', |
|
| 5 | + 'key' => 'allow_tags_in_post', |
|
| 6 | + 'value' => '1', |
|
| 7 | + 'xtype' => 'combo-boolean', |
|
| 8 | + 'namespace' => 'core', |
|
| 9 | + 'area' => 'system', |
|
| 10 | + 'editedon' => NULL, |
|
| 11 | 11 | ), '', true, true); |
| 12 | 12 | $collection['1']= $xpdo->newObject('modContextSetting'); |
| 13 | 13 | $collection['1']->fromArray(array ( |
| 14 | - 'context_key' => 'mgr', |
|
| 15 | - 'key' => 'modRequest.class', |
|
| 16 | - 'value' => 'modManagerRequest', |
|
| 17 | - 'xtype' => 'textfield', |
|
| 18 | - 'namespace' => 'core', |
|
| 19 | - 'area' => 'system', |
|
| 20 | - 'editedon' => NULL, |
|
| 14 | + 'context_key' => 'mgr', |
|
| 15 | + 'key' => 'modRequest.class', |
|
| 16 | + 'value' => 'modManagerRequest', |
|
| 17 | + 'xtype' => 'textfield', |
|
| 18 | + 'namespace' => 'core', |
|
| 19 | + 'area' => 'system', |
|
| 20 | + 'editedon' => NULL, |
|
| 21 | 21 | ), '', true, true); |
@@ -5,9 +5,9 @@ |
||
| 5 | 5 | */ |
| 6 | 6 | $collection[1]= $xpdo->newObject('sources.modMediaSource'); |
| 7 | 7 | $collection[1]->fromArray(array ( |
| 8 | - 'id' => 1, |
|
| 9 | - 'name' => 'Filesystem', |
|
| 10 | - 'description' => '', |
|
| 11 | - 'class_key' => 'sources.modFileMediaSource', |
|
| 12 | - 'properties' => array(), |
|
| 8 | + 'id' => 1, |
|
| 9 | + 'name' => 'Filesystem', |
|
| 10 | + 'description' => '', |
|
| 11 | + 'class_key' => 'sources.modFileMediaSource', |
|
| 12 | + 'properties' => array(), |
|
| 13 | 13 | ), '', true, true); |
| 14 | 14 | \ No newline at end of file |
@@ -5,57 +5,57 @@ |
||
| 5 | 5 | $widgets = array(); |
| 6 | 6 | $widgets[1]= $xpdo->newObject('modDashboardWidget'); |
| 7 | 7 | $widgets[1]->fromArray(array ( |
| 8 | - 'name' => 'w_newsfeed', |
|
| 9 | - 'description' => 'w_newsfeed_desc', |
|
| 10 | - 'type' => 'file', |
|
| 11 | - 'size' => 'half', |
|
| 12 | - 'content' => '[[++manager_path]]controllers/default/dashboard/widget.modx-news.php', |
|
| 13 | - 'namespace' => 'core', |
|
| 14 | - 'lexicon' => 'core:dashboards', |
|
| 8 | + 'name' => 'w_newsfeed', |
|
| 9 | + 'description' => 'w_newsfeed_desc', |
|
| 10 | + 'type' => 'file', |
|
| 11 | + 'size' => 'half', |
|
| 12 | + 'content' => '[[++manager_path]]controllers/default/dashboard/widget.modx-news.php', |
|
| 13 | + 'namespace' => 'core', |
|
| 14 | + 'lexicon' => 'core:dashboards', |
|
| 15 | 15 | ), '', true, true); |
| 16 | 16 | |
| 17 | 17 | $widgets[2]= $xpdo->newObject('modDashboardWidget'); |
| 18 | 18 | $widgets[2]->fromArray(array ( |
| 19 | - 'name' => 'w_securityfeed', |
|
| 20 | - 'description' => 'w_securityfeed_desc', |
|
| 21 | - 'type' => 'file', |
|
| 22 | - 'size' => 'half', |
|
| 23 | - 'content' => '[[++manager_path]]controllers/default/dashboard/widget.modx-security.php', |
|
| 24 | - 'namespace' => 'core', |
|
| 25 | - 'lexicon' => 'core:dashboards', |
|
| 19 | + 'name' => 'w_securityfeed', |
|
| 20 | + 'description' => 'w_securityfeed_desc', |
|
| 21 | + 'type' => 'file', |
|
| 22 | + 'size' => 'half', |
|
| 23 | + 'content' => '[[++manager_path]]controllers/default/dashboard/widget.modx-security.php', |
|
| 24 | + 'namespace' => 'core', |
|
| 25 | + 'lexicon' => 'core:dashboards', |
|
| 26 | 26 | ), '', true, true); |
| 27 | 27 | |
| 28 | 28 | $widgets[3]= $xpdo->newObject('modDashboardWidget'); |
| 29 | 29 | $widgets[3]->fromArray(array ( |
| 30 | - 'name' => 'w_whosonline', |
|
| 31 | - 'description' => 'w_whosonline_desc', |
|
| 32 | - 'type' => 'file', |
|
| 33 | - 'size' => 'half', |
|
| 34 | - 'content' => '[[++manager_path]]controllers/default/dashboard/widget.grid-online.php', |
|
| 35 | - 'namespace' => 'core', |
|
| 36 | - 'lexicon' => 'core:dashboards', |
|
| 30 | + 'name' => 'w_whosonline', |
|
| 31 | + 'description' => 'w_whosonline_desc', |
|
| 32 | + 'type' => 'file', |
|
| 33 | + 'size' => 'half', |
|
| 34 | + 'content' => '[[++manager_path]]controllers/default/dashboard/widget.grid-online.php', |
|
| 35 | + 'namespace' => 'core', |
|
| 36 | + 'lexicon' => 'core:dashboards', |
|
| 37 | 37 | ), '', true, true); |
| 38 | 38 | |
| 39 | 39 | $widgets[4]= $xpdo->newObject('modDashboardWidget'); |
| 40 | 40 | $widgets[4]->fromArray(array ( |
| 41 | - 'name' => 'w_recentlyeditedresources', |
|
| 42 | - 'description' => 'w_recentlyeditedresources_desc', |
|
| 43 | - 'type' => 'file', |
|
| 44 | - 'size' => 'half', |
|
| 45 | - 'content' => '[[++manager_path]]controllers/default/dashboard/widget.grid-rer.php', |
|
| 46 | - 'namespace' => 'core', |
|
| 47 | - 'lexicon' => 'core:dashboards', |
|
| 41 | + 'name' => 'w_recentlyeditedresources', |
|
| 42 | + 'description' => 'w_recentlyeditedresources_desc', |
|
| 43 | + 'type' => 'file', |
|
| 44 | + 'size' => 'half', |
|
| 45 | + 'content' => '[[++manager_path]]controllers/default/dashboard/widget.grid-rer.php', |
|
| 46 | + 'namespace' => 'core', |
|
| 47 | + 'lexicon' => 'core:dashboards', |
|
| 48 | 48 | ), '', true, true); |
| 49 | 49 | |
| 50 | 50 | $widgets[5]= $xpdo->newObject('modDashboardWidget'); |
| 51 | 51 | $widgets[5]->fromArray(array ( |
| 52 | - 'name' => 'w_configcheck', |
|
| 53 | - 'description' => 'w_configcheck_desc', |
|
| 54 | - 'type' => 'file', |
|
| 55 | - 'size' => 'full', |
|
| 56 | - 'content' => '[[++manager_path]]controllers/default/dashboard/widget.configcheck.php', |
|
| 57 | - 'namespace' => 'core', |
|
| 58 | - 'lexicon' => 'core:dashboards', |
|
| 52 | + 'name' => 'w_configcheck', |
|
| 53 | + 'description' => 'w_configcheck_desc', |
|
| 54 | + 'type' => 'file', |
|
| 55 | + 'size' => 'full', |
|
| 56 | + 'content' => '[[++manager_path]]controllers/default/dashboard/widget.configcheck.php', |
|
| 57 | + 'namespace' => 'core', |
|
| 58 | + 'lexicon' => 'core:dashboards', |
|
| 59 | 59 | ), '', true, true); |
| 60 | 60 | |
| 61 | 61 | return $widgets; |
@@ -1,17 +1,17 @@ discard block |
||
| 1 | 1 | <?php return array ( |
| 2 | - 'type' => 'document', |
|
| 3 | - 'contentType' => 'text/html', |
|
| 4 | - 'pagetitle' => 'Home', |
|
| 5 | - 'longtitle' => 'Congratulations!', |
|
| 6 | - 'description' => '', |
|
| 7 | - 'alias' => 'index', |
|
| 8 | - 'link_attributes' => '', |
|
| 9 | - 'published' => false, |
|
| 10 | - 'pub_date' => 0, |
|
| 11 | - 'parent' => 0, |
|
| 12 | - 'isfolder' => false, |
|
| 13 | - 'introtext' => NULL, |
|
| 14 | - 'content' => '<p>You have successfully installed MODX Revolution [[++settings_version]]!</p> |
|
| 2 | + 'type' => 'document', |
|
| 3 | + 'contentType' => 'text/html', |
|
| 4 | + 'pagetitle' => 'Home', |
|
| 5 | + 'longtitle' => 'Congratulations!', |
|
| 6 | + 'description' => '', |
|
| 7 | + 'alias' => 'index', |
|
| 8 | + 'link_attributes' => '', |
|
| 9 | + 'published' => false, |
|
| 10 | + 'pub_date' => 0, |
|
| 11 | + 'parent' => 0, |
|
| 12 | + 'isfolder' => false, |
|
| 13 | + 'introtext' => NULL, |
|
| 14 | + 'content' => '<p>You have successfully installed MODX Revolution [[++settings_version]]!</p> |
|
| 15 | 15 | <p>Now that MODX is installed you can login to the manager to create your templates, manage content and install third party extras to add functionality to your website. </p> |
| 16 | 16 | |
| 17 | 17 | <h2>New to MODX?</h2> |
@@ -28,21 +28,21 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | <p>To learn more about MODX, be sure to check out the <a href="https://rtfm.modx.com/revolution/2.x/getting-started">Getting Started</a> section in the official documentation.</p> |
| 30 | 30 | ', |
| 31 | - 'richtext' => true, |
|
| 32 | - 'template' => 'base', |
|
| 33 | - 'menuindex' => 0, |
|
| 34 | - 'searchable' => true, |
|
| 35 | - 'cacheable' => true, |
|
| 36 | - 'createdby' => 1, |
|
| 37 | - 'hidemenu' => false, |
|
| 38 | - 'class_key' => 'modDocument', |
|
| 39 | - 'context_key' => 'web', |
|
| 40 | - 'content_type' => 1, |
|
| 41 | - 'properties' => NULL, |
|
| 42 | - 'tv' => |
|
| 43 | - array ( |
|
| 44 | - ), |
|
| 45 | - 'extras' => |
|
| 46 | - array ( |
|
| 47 | - ), |
|
| 31 | + 'richtext' => true, |
|
| 32 | + 'template' => 'base', |
|
| 33 | + 'menuindex' => 0, |
|
| 34 | + 'searchable' => true, |
|
| 35 | + 'cacheable' => true, |
|
| 36 | + 'createdby' => 1, |
|
| 37 | + 'hidemenu' => false, |
|
| 38 | + 'class_key' => 'modDocument', |
|
| 39 | + 'context_key' => 'web', |
|
| 40 | + 'content_type' => 1, |
|
| 41 | + 'properties' => NULL, |
|
| 42 | + 'tv' => |
|
| 43 | + array ( |
|
| 44 | + ), |
|
| 45 | + 'extras' => |
|
| 46 | + array ( |
|
| 47 | + ), |
|
| 48 | 48 | ); |