<?php  return array (
  'config' => 
  array (
  ),
  'resourceMap' => 
  array (
    0 => 
    array (
      0 => '2',
      1 => '388',
      2 => '57',
      3 => '10',
      4 => '11',
      5 => '40',
      6 => '43',
      7 => '18',
      8 => '32',
      9 => '12',
      10 => '21',
      11 => '23',
    ),
    2 => 
    array (
      0 => '3',
      1 => '94',
    ),
    3 => 
    array (
      0 => '4',
      1 => '60',
      2 => '88',
      3 => '89',
      4 => '90',
      5 => '91',
      6 => '92',
      7 => '93',
    ),
    4 => 
    array (
      0 => '5',
      1 => '96',
      2 => '97',
      3 => '98',
      4 => '99',
      5 => '100',
      6 => '101',
      7 => '102',
      8 => '103',
      9 => '85',
      10 => '166',
    ),
    5 => 
    array (
      0 => '69',
      1 => '70',
      2 => '71',
      3 => '72',
      4 => '73',
      5 => '74',
      6 => '80',
      7 => '81',
      8 => '83',
    ),
    10 => 
    array (
      0 => '1',
      1 => '53',
      2 => '67',
      3 => '319',
    ),
    11 => 
    array (
      0 => '14',
    ),
    12 => 
    array (
      0 => '28',
      1 => '37',
      2 => '39',
    ),
    18 => 
    array (
      0 => '19',
      1 => '20',
    ),
    21 => 
    array (
      0 => '13',
      1 => '22',
      2 => '31',
    ),
    23 => 
    array (
      0 => '24',
      1 => '25',
      2 => '26',
    ),
    32 => 
    array (
      0 => '33',
      1 => '34',
      2 => '35',
    ),
    33 => 
    array (
      0 => '36',
    ),
    34 => 
    array (
      0 => '50',
    ),
    35 => 
    array (
      0 => '38',
    ),
    40 => 
    array (
      0 => '41',
      1 => '42',
    ),
    43 => 
    array (
      0 => '44',
      1 => '45',
    ),
    57 => 
    array (
      0 => '76',
      1 => '77',
      2 => '78',
      3 => '79',
      4 => '134',
      5 => '82',
      6 => '84',
      7 => '158',
      8 => '168',
      9 => '170',
      10 => '171',
      11 => '173',
      12 => '175',
      13 => '177',
      14 => '180',
      15 => '185',
      16 => '186',
      17 => '188',
      18 => '193',
      19 => '208',
      20 => '210',
      21 => '216',
      22 => '218',
      23 => '229',
      24 => '230',
      25 => '235',
      26 => '236',
      27 => '238',
      28 => '241',
      29 => '244',
      30 => '247',
      31 => '250',
      32 => '251',
      33 => '253',
      34 => '263',
      35 => '267',
      36 => '268',
      37 => '273',
      38 => '275',
      39 => '277',
      40 => '286',
      41 => '287',
      42 => '289',
      43 => '291',
      44 => '293',
      45 => '300',
      46 => '304',
      47 => '306',
      48 => '311',
      49 => '313',
      50 => '321',
      51 => '327',
    ),
    60 => 
    array (
      0 => '104',
      1 => '105',
      2 => '106',
      3 => '107',
      4 => '108',
      5 => '109',
      6 => '110',
      7 => '111',
      8 => '112',
    ),
    85 => 
    array (
      0 => '86',
      1 => '87',
      2 => '132',
      3 => '136',
      4 => '137',
      5 => '138',
      6 => '139',
      7 => '140',
      8 => '141',
      9 => '142',
      10 => '143',
      11 => '144',
      12 => '145',
      13 => '146',
      14 => '147',
      15 => '148',
      16 => '149',
      17 => '150',
      18 => '151',
      19 => '152',
      20 => '153',
      21 => '154',
      22 => '155',
      23 => '156',
      24 => '157',
      25 => '159',
      26 => '160',
      27 => '161',
      28 => '162',
    ),
    88 => 
    array (
      0 => '113',
      1 => '114',
    ),
    89 => 
    array (
      0 => '115',
    ),
    90 => 
    array (
      0 => '116',
      1 => '117',
      2 => '118',
      3 => '119',
      4 => '120',
      5 => '121',
      6 => '122',
    ),
    91 => 
    array (
      0 => '123',
      1 => '124',
      2 => '125',
      3 => '126',
    ),
    92 => 
    array (
      0 => '127',
      1 => '128',
    ),
    93 => 
    array (
      0 => '129',
      1 => '130',
      2 => '131',
    ),
    96 => 
    array (
      0 => '163',
      1 => '164',
      2 => '165',
    ),
    97 => 
    array (
      0 => '279',
      1 => '280',
      2 => '281',
      3 => '282',
      4 => '284',
      5 => '285',
      6 => '288',
      7 => '290',
      8 => '292',
      9 => '294',
      10 => '295',
      11 => '296',
      12 => '297',
      13 => '298',
      14 => '299',
      15 => '301',
      16 => '302',
      17 => '303',
      18 => '305',
      19 => '307',
      20 => '308',
      21 => '309',
      22 => '310',
      23 => '312',
      24 => '314',
      25 => '315',
      26 => '316',
      27 => '317',
      28 => '318',
      29 => '320',
      30 => '322',
      31 => '323',
      32 => '324',
      33 => '325',
      34 => '326',
    ),
    98 => 
    array (
      0 => '246',
      1 => '249',
    ),
    99 => 
    array (
      0 => '203',
      1 => '204',
      2 => '205',
      3 => '206',
      4 => '207',
      5 => '209',
      6 => '211',
      7 => '212',
      8 => '213',
      9 => '214',
      10 => '215',
      11 => '217',
      12 => '219',
      13 => '220',
      14 => '221',
      15 => '222',
      16 => '223',
      17 => '224',
      18 => '225',
      19 => '226',
      20 => '227',
      21 => '228',
      22 => '231',
      23 => '232',
      24 => '234',
      25 => '237',
      26 => '239',
      27 => '240',
      28 => '243',
      29 => '245',
      30 => '339',
    ),
    100 => 
    array (
      0 => '252',
      1 => '254',
      2 => '255',
      3 => '256',
      4 => '257',
      5 => '258',
      6 => '259',
      7 => '260',
      8 => '261',
      9 => '262',
      10 => '264',
      11 => '265',
      12 => '266',
      13 => '269',
      14 => '270',
      15 => '271',
      16 => '272',
      17 => '274',
      18 => '276',
      19 => '278',
    ),
    117 => 
    array (
      0 => '378',
      1 => '379',
      2 => '380',
      3 => '382',
      4 => '383',
      5 => '384',
      6 => '385',
      7 => '386',
      8 => '387',
    ),
    125 => 
    array (
      0 => '328',
      1 => '329',
      2 => '330',
      3 => '331',
      4 => '332',
      5 => '333',
      6 => '334',
      7 => '335',
      8 => '336',
      9 => '341',
      10 => '342',
      11 => '343',
      12 => '344',
      13 => '345',
      14 => '346',
      15 => '347',
      16 => '348',
      17 => '349',
      18 => '350',
      19 => '351',
      20 => '352',
      21 => '353',
      22 => '354',
      23 => '355',
      24 => '356',
      25 => '357',
      26 => '358',
      27 => '359',
      28 => '360',
      29 => '361',
      30 => '362',
      31 => '363',
      32 => '364',
      33 => '365',
      34 => '366',
      35 => '367',
      36 => '368',
      37 => '369',
      38 => '370',
      39 => '371',
      40 => '372',
      41 => '373',
      42 => '374',
      43 => '375',
      44 => '376',
      45 => '377',
    ),
    166 => 
    array (
      0 => '167',
      1 => '172',
      2 => '174',
      3 => '176',
      4 => '178',
      5 => '179',
      6 => '181',
      7 => '182',
      8 => '183',
      9 => '184',
      10 => '187',
      11 => '189',
      12 => '190',
      13 => '191',
      14 => '192',
      15 => '194',
      16 => '195',
      17 => '196',
      18 => '197',
      19 => '198',
      20 => '199',
      21 => '200',
      22 => '201',
      23 => '202',
    ),
    339 => 
    array (
      0 => '340',
    ),
  ),
  'aliasMap' => 
  array (
  ),
  'eventMap' => 
  array (
    'OnDocFormSave' => 
    array (
      4 => '4',
    ),
    'OnDocPublished' => 
    array (
      4 => '4',
    ),
    'OnDocUnPublished' => 
    array (
      4 => '4',
    ),
    'OnResourceDelete' => 
    array (
      4 => '4',
    ),
    'OnResourceDuplicate' => 
    array (
      4 => '4',
    ),
    'OnResourceUndelete' => 
    array (
      4 => '4',
    ),
    'OnRichTextBrowserInit' => 
    array (
      3 => '3',
    ),
    'OnRichTextEditorInit' => 
    array (
      3 => '3',
    ),
    'OnRichTextEditorRegister' => 
    array (
      3 => '3',
    ),
  ),
  'pluginCache' => 
  array (
    3 => 
    array (
      'id' => '3',
      'name' => 'TinyMCE',
      'description' => 'TinyMCE 4.3.0-pl plugin for MODx Revolution',
      'editor_type' => '0',
      'category' => '0',
      'cache_type' => '0',
      'plugincode' => '/**
 * TinyMCE RichText Editor Plugin
 *
 * Events: OnRichTextEditorInit, OnRichTextEditorRegister,
 * OnBeforeManagerPageInit, OnRichTextBrowserInit
 *
 * @author Jeff Whitfield <jeff@collabpad.com>
 * @author Shaun McCormick <shaun@collabpad.com>
 *
 * @package tinymce
 * @subpackage build
 */
if ($modx->event->name == \'OnRichTextEditorRegister\') {
    $modx->event->output(\'TinyMCE\');
    return;
}
require_once $modx->getOption(\'tiny.core_path\',null,$modx->getOption(\'core_path\').\'components/tinymce/\').\'tinymce.class.php\';
$tiny = new TinyMCE($modx,$scriptProperties);

$useEditor = $modx->getOption(\'use_editor\',null,false);
$whichEditor = $modx->getOption(\'which_editor\',null,\'\');

/* Handle event */
switch ($modx->event->name) {
    case \'OnRichTextEditorInit\':
        if ($useEditor && $whichEditor == \'TinyMCE\') {
            unset($scriptProperties[\'chunk\']);
            if (isset($forfrontend) || $modx->context->get(\'key\') != \'mgr\') {
                $def = $modx->getOption(\'cultureKey\',null,$modx->getOption(\'manager_language\',null,\'en\'));
                $tiny->properties[\'language\'] = $modx->getOption(\'fe_editor_lang\',array(),$def);
                $tiny->properties[\'frontend\'] = true;
                unset($def);
            }
            /* commenting these out as it causes problems with richtext tvs */
            //if (isset($scriptProperties[\'resource\']) && !$resource->get(\'richtext\')) return;
            //if (!isset($scriptProperties[\'resource\']) && !$modx->getOption(\'richtext_default\',null,false)) return;
            $tiny->setProperties($scriptProperties);
            $html = $tiny->initialize();
            $modx->event->output($html);
            unset($html);
        }
        break;
    case \'OnRichTextBrowserInit\':
        if ($useEditor && $whichEditor == \'TinyMCE\') {
            $modx->regClientStartupScript($tiny->config[\'assetsUrl\'].\'jscripts/tiny_mce/tiny_mce_popup.js\');
            if (file_exists($tiny->config[\'assetsPath\'].\'jscripts/tiny_mce/langs/\'.$tiny->properties[\'language\'].\'.js\')) {
                $modx->regClientStartupScript($tiny->config[\'assetsUrl\'].\'jscripts/tiny_mce/langs/\'.$tiny->properties[\'language\'].\'.js\');
            } else {
                $modx->regClientStartupScript($tiny->config[\'assetsUrl\'].\'jscripts/tiny_mce/langs/en.js\');
            }
            $modx->regClientStartupScript($tiny->config[\'assetsUrl\'].\'tiny.browser.js\');
            $modx->getVersionData();
            $inRevo20 = (boolean)version_compare($modx->version[\'full_version\'],\'2.1.0-rc1\',\'<\');
            $modx->regClientStartupHTMLBlock(\'<script type="text/javascript">var inRevo20 = \'.($inRevo20 ? 1 : 0).\';</script>\');
            $modx->event->output(\'Tiny.browserCallback\');
        }
        return \'\';
        break;

   default: break;
}
return;',
      'locked' => '0',
      'properties' => 'a:39:{s:22:"accessibility_warnings";a:6:{s:4:"name";s:22:"accessibility_warnings";s:4:"desc";s:315:"If this option is set to true some accessibility warnings will be presented to the user if they miss specifying that information. This option is set to true by default, since we should all try to make this world a better place for disabled people. But if you are annoyed with the warnings, set this option to false.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:23:"apply_source_formatting";a:6:{s:4:"name";s:23:"apply_source_formatting";s:4:"desc";s:229:"This option enables you to tell TinyMCE to apply some source formatting to the output HTML code. With source formatting, the output HTML code is indented and formatted. Without source formatting, the output HTML is more compact. ";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:15:"button_tile_map";a:6:{s:4:"name";s:15:"button_tile_map";s:4:"desc";s:338:"If this option is set to true TinyMCE will use tiled images instead of individual images for most of the editor controls. This produces faster loading time since only one GIF image needs to be loaded instead of a GIF for each individual button. This option is set to false by default since it doesn\'t work with some DOCTYPE declarations. ";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";N;}s:7:"cleanup";a:6:{s:4:"name";s:7:"cleanup";s:4:"desc";s:331:"This option enables or disables the built-in clean up functionality. TinyMCE is equipped with powerful clean up functionality that enables you to specify what elements and attributes are allowed and how HTML contents should be generated. This option is set to true by default, but if you want to disable it you may set it to false.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:18:"cleanup_on_startup";a:6:{s:4:"name";s:18:"cleanup_on_startup";s:4:"desc";s:135:"If you set this option to true, TinyMCE will perform a HTML cleanup call when the editor loads. This option is set to false by default.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";N;}s:22:"convert_fonts_to_spans";a:6:{s:4:"name";s:22:"convert_fonts_to_spans";s:4:"desc";s:348:"If you set this option to true, TinyMCE will convert all font elements to span elements and generate span elements instead of font elements. This option should be used in order to get more W3C compatible code, since font elements are deprecated. How sizes get converted can be controlled by the font_size_classes and font_size_style_values options.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:23:"convert_newlines_to_brs";a:6:{s:4:"name";s:23:"convert_newlines_to_brs";s:4:"desc";s:128:"If you set this option to true, newline characters codes get converted into br elements. This option is set to false by default.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";N;}s:12:"convert_urls";a:6:{s:4:"name";s:12:"convert_urls";s:4:"desc";s:495:"This option enables you to control whether TinyMCE is to be clever and restore URLs to their original values. URLs are automatically converted (messed up) by default because the built-in browser logic works this way. There is no way to get the real URL unless you store it away. If you set this option to false it will try to keep these URLs intact. This option is set to true by default, which means URLs will be forced to be either absolute or relative depending on the state of relative_urls.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:11:"dialog_type";a:6:{s:4:"name";s:11:"dialog_type";s:4:"desc";s:246:"This option enables you to specify how dialogs/popups should be opened. Possible values are "window" and "modal", where the window option opens a normal window and the dialog option opens a modal dialog. This option is set to "window" by default.";s:4:"type";s:4:"list";s:7:"options";a:2:{i:0;a:2:{s:4:"name";s:6:"Window";i:0;s:6:"window";}i:1;a:2:{s:4:"name";s:5:"Modal";i:0;s:5:"modal";}}s:5:"value";s:6:"window";s:7:"lexicon";N;}s:14:"directionality";a:6:{s:4:"name";s:14:"directionality";s:4:"desc";s:261:"This option specifies the default writing direction. Some languages (Like Hebrew, Arabic, Urdu...) write from right to left instead of left to right. The default value of this option is "ltr" but if you want to use from right to left mode specify "rtl" instead.";s:4:"type";s:4:"list";s:7:"options";a:2:{i:0;a:2:{s:4:"name";s:13:"Left to Right";s:5:"value";s:3:"ltr";}i:1;a:2:{s:4:"name";s:13:"Right to Left";s:5:"value";s:3:"rtl";}}s:5:"value";s:3:"ltr";s:7:"lexicon";N;}s:14:"element_format";a:6:{s:4:"name";s:14:"element_format";s:4:"desc";s:210:"This option enables control if elements should be in html or xhtml mode. xhtml is the default state for this option. This means that for example &lt;br /&gt; will be &lt;br&gt; if you set this option to "html".";s:4:"type";s:4:"list";s:7:"options";a:2:{i:0;a:2:{s:4:"name";s:5:"XHTML";s:5:"value";s:5:"xhtml";}i:1;a:2:{s:4:"name";s:4:"HTML";s:5:"value";s:4:"html";}}s:5:"value";s:5:"xhtml";s:7:"lexicon";N;}s:15:"entity_encoding";a:6:{s:4:"name";s:15:"entity_encoding";s:4:"desc";s:70:"This option controls how entities/characters get processed by TinyMCE.";s:4:"type";s:4:"list";s:7:"options";a:4:{i:0;a:2:{s:4:"name";s:4:"None";s:5:"value";s:0:"";}i:1;a:2:{s:4:"name";s:5:"Named";s:5:"value";s:5:"named";}i:2;a:2:{s:4:"name";s:7:"Numeric";s:5:"value";s:7:"numeric";}i:3;a:2:{s:4:"name";s:3:"Raw";s:5:"value";s:3:"raw";}}s:5:"value";s:0:"";s:7:"lexicon";N;}s:16:"force_p_newlines";a:6:{s:4:"name";s:16:"force_p_newlines";s:4:"desc";s:147:"This option enables you to disable/enable the creation of paragraphs on return/enter in Mozilla/Firefox. The default value of this option is true. ";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:22:"force_hex_style_colors";a:6:{s:4:"name";s:22:"force_hex_style_colors";s:4:"desc";s:277:"This option enables you to control TinyMCE to force the color format to use hexadecimal instead of rgb strings. It converts for example "color: rgb(255, 255, 0)" to "#FFFF00". This option is set to true by default since otherwice MSIE and Firefox would differ in this behavior.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:6:"height";a:6:{s:4:"name";s:6:"height";s:4:"desc";s:38:"Sets the height of the TinyMCE editor.";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:5:"400px";s:7:"lexicon";N;}s:11:"indentation";a:6:{s:4:"name";s:11:"indentation";s:4:"desc";s:139:"This option allows specification of the indentation level for indent/outdent buttons in the UI. This defaults to 30px but can be any value.";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:4:"30px";s:7:"lexicon";N;}s:16:"invalid_elements";a:6:{s:4:"name";s:16:"invalid_elements";s:4:"desc";s:163:"This option should contain a comma separated list of element names to exclude from the content. Elements in this list will removed when TinyMCE executes a cleanup.";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";N;}s:6:"nowrap";a:6:{s:4:"name";s:6:"nowrap";s:4:"desc";s:212:"This nowrap option enables you to control how whitespace is to be wordwrapped within the editor. This option is set to false by default, but if you enable it by setting it to true editor contents will never wrap.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";N;}s:15:"object_resizing";a:6:{s:4:"name";s:15:"object_resizing";s:4:"desc";s:148:"This option gives you the ability to turn on/off the inline resizing controls of tables and images in Firefox/Mozilla. These are enabled by default.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:12:"path_options";a:6:{s:4:"name";s:12:"path_options";s:4:"desc";s:119:"Sets a group of options. Note: This will override the relative_urls, document_base_url and remove_script_host settings.";s:4:"type";s:9:"textfield";s:7:"options";a:3:{i:0;a:2:{s:4:"name";s:17:"Document Relative";s:5:"value";s:11:"docrelative";}i:1;a:2:{s:4:"name";s:13:"Root Relative";s:5:"value";s:12:"rootrelative";}i:2;a:2:{s:4:"name";s:13:"Full Path URL";s:5:"value";s:11:"fullpathurl";}}s:5:"value";s:11:"docrelative";s:7:"lexicon";N;}s:28:"plugin_insertdate_dateFormat";a:6:{s:4:"name";s:28:"plugin_insertdate_dateFormat";s:4:"desc";s:53:"Formatting of dates when using the InsertDate plugin.";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:8:"%Y-%m-%d";s:7:"lexicon";N;}s:28:"plugin_insertdate_timeFormat";a:6:{s:4:"name";s:28:"plugin_insertdate_timeFormat";s:4:"desc";s:53:"Formatting of times when using the InsertDate plugin.";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:8:"%H:%M:%S";s:7:"lexicon";N;}s:12:"preformatted";a:6:{s:4:"name";s:12:"preformatted";s:4:"desc";s:231:"If you enable this feature, whitespace such as tabs and spaces will be preserved. Much like the behavior of a &lt;pre&gt; element. This can be handy when integrating TinyMCE with webmail clients. This option is disabled by default.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:13:"relative_urls";a:6:{s:4:"name";s:13:"relative_urls";s:4:"desc";s:231:"If this option is set to true, all URLs returned from the file manager will be relative from the specified document_base_url. If it is set to false all URLs will be converted to absolute URLs. This option is set to true by default.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:17:"remove_linebreaks";a:6:{s:4:"name";s:17:"remove_linebreaks";s:4:"desc";s:531:"This option controls whether line break characters should be removed from output HTML. This option is enabled by default because there are differences between browser implementations regarding what to do with white space in the DOM. Gecko and Safari place white space in text nodes in the DOM. IE and Opera remove them from the DOM and therefore the line breaks will automatically be removed in those. This option will normalize this behavior when enabled (true) and all browsers will have a white-space-stripped DOM serialization.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";N;}s:18:"remove_script_host";a:6:{s:4:"name";s:18:"remove_script_host";s:4:"desc";s:221:"If this option is enabled the protocol and host part of the URLs returned from the file manager will be removed. This option is only used if the relative_urls option is set to false. This option is set to true by default.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:20:"remove_trailing_nbsp";a:6:{s:4:"name";s:20:"remove_trailing_nbsp";s:4:"desc";s:392:"This option enables you to specify that TinyMCE should remove any traling &nbsp; characters in block elements if you start to write inside them. Paragraphs are default padded with a &nbsp; and if you write text into such paragraphs the space will remain. Setting this option to true will remove the space. This option is set to false by default since the cursor jumps a bit in Gecko browsers.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";N;}s:4:"skin";a:6:{s:4:"name";s:4:"skin";s:4:"desc";s:330:"This option enables you to specify what skin you want to use with your theme. A skin is basically a CSS file that gets loaded from the skins directory inside the theme. The advanced theme that TinyMCE comes with has two skins, these are called "default" and "o2k7". We added another skin named "cirkuit" that is chosen by default.";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:7:"cirkuit";s:7:"lexicon";N;}s:12:"skin_variant";a:6:{s:4:"name";s:12:"skin_variant";s:4:"desc";s:403:"This option enables you to specify a variant for the skin, for example "silver" or "black". "default" skin does not offer any variant, whereas "o2k7" default offers "silver" or "black" variants to the default one. For the "cirkuit" skin there\'s one variant named "silver". When creating a skin, additional variants may also be created, by adding ui_[variant_name].css files alongside the default ui.css.";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";N;}s:20:"table_inline_editing";a:6:{s:4:"name";s:20:"table_inline_editing";s:4:"desc";s:231:"This option gives you the ability to turn on/off the inline table editing controls in Firefox/Mozilla. According to the TinyMCE documentation, these controls are somewhat buggy and not redesignable, so they are disabled by default.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:22:"theme_advanced_disable";a:6:{s:4:"name";s:22:"theme_advanced_disable";s:4:"desc";s:111:"This option should contain a comma separated list of controls to disable from any toolbar row/panel in TinyMCE.";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";N;}s:19:"theme_advanced_path";a:6:{s:4:"name";s:19:"theme_advanced_path";s:4:"desc";s:331:"This option gives you the ability to enable/disable the element path. This option is only useful if the theme_advanced_statusbar_location option is set to "top" or "bottom". This option is set to "true" by default. Setting this option to "false" will effectively hide the path tool, though it still takes up room in the Status Bar.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:32:"theme_advanced_resize_horizontal";a:6:{s:4:"name";s:32:"theme_advanced_resize_horizontal";s:4:"desc";s:319:"This option gives you the ability to enable/disable the horizontal resizing. This option is only useful if the theme_advanced_statusbar_location option is set to "top" or "bottom" and when the theme_advanced_resizing is set to true. This option is set to true by default, allowing both resizing horizontal and vertical.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:23:"theme_advanced_resizing";a:6:{s:4:"name";s:23:"theme_advanced_resizing";s:4:"desc";s:216:"This option gives you the ability to enable/disable the resizing button. This option is only useful if the theme_advanced_statusbar_location option is set to "top" or "bottom". This option is set to false by default.";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";N;}s:33:"theme_advanced_statusbar_location";a:6:{s:4:"name";s:33:"theme_advanced_statusbar_location";s:4:"desc";s:257:"This option enables you to specify where the element statusbar with the path and resize tool should be located. This option can be set to "top" or "bottom". The default value is set to "top". This option can only be used when the theme is set to "advanced".";s:4:"type";s:4:"list";s:7:"options";a:2:{i:0;a:2:{s:4:"name";s:3:"Top";s:5:"value";s:3:"top";}i:1;a:2:{s:4:"name";s:6:"Bottom";s:5:"value";s:6:"bottom";}}s:5:"value";s:6:"bottom";s:7:"lexicon";N;}s:28:"theme_advanced_toolbar_align";a:6:{s:4:"name";s:28:"theme_advanced_toolbar_align";s:4:"desc";s:187:"This option enables you to specify the alignment of the toolbar, this value can be "left", "right" or "center" (the default). This option can only be used when theme is set to "advanced".";s:4:"type";s:9:"textfield";s:7:"options";a:3:{i:0;a:2:{s:4:"name";s:6:"Center";s:5:"value";s:6:"center";}i:1;a:2:{s:4:"name";s:4:"Left";s:5:"value";s:4:"left";}i:2;a:2:{s:4:"name";s:5:"Right";s:5:"value";s:5:"right";}}s:5:"value";s:4:"left";s:7:"lexicon";N;}s:31:"theme_advanced_toolbar_location";a:6:{s:4:"name";s:31:"theme_advanced_toolbar_location";s:4:"desc";s:191:"
This option enables you to specify where the toolbar should be located. This option can be set to "top" or "bottom" (the defualt). This option can only be used when theme is set to advanced.";s:4:"type";s:4:"list";s:7:"options";a:2:{i:0;a:2:{s:4:"name";s:3:"Top";s:5:"value";s:3:"top";}i:1;a:2:{s:4:"name";s:6:"Bottom";s:5:"value";s:6:"bottom";}}s:5:"value";s:3:"top";s:7:"lexicon";N;}s:5:"width";a:6:{s:4:"name";s:5:"width";s:4:"desc";s:32:"The width of the TinyMCE editor.";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:3:"95%";s:7:"lexicon";N;}s:33:"template_selected_content_classes";a:6:{s:4:"name";s:33:"template_selected_content_classes";s:4:"desc";s:234:"Specify a list of CSS class names for the template plugin. They must be separated by spaces. Any template element with one of the specified CSS classes will have its content replaced by the selected editor content when first inserted.";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";N;}}',
      'disabled' => '0',
      'moduleguid' => '',
    ),
    4 => 
    array (
      'id' => '4',
      'name' => 'SimpleSearchIndexer',
      'description' => 'Automatically indexes Resources into Solr.',
      'editor_type' => '0',
      'category' => '0',
      'cache_type' => '0',
      'plugincode' => '/**
 * SimpleSearch
 *
 * Copyright 2010-11 by Shaun McCormick <shaun+sisea@modx.com>
 *
 * This file is part of SimpleSearch, a simple search component for MODx
 * Revolution. It is loosely based off of AjaxSearch for MODx Evolution by
 * coroico/kylej, minus the ajax.
 *
 * SimpleSearch is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option) any later
 * version.
 *
 * SimpleSearch is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * SimpleSearch; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 * Suite 330, Boston, MA 02111-1307 USA
 *
 * @package simplesearch
 */
/**
 * Plugin to index Resources whenever they are changed, published, unpublished,
 * deleted, or undeleted.
 *
 * @package simplesearch
 */
require_once $modx->getOption(\'sisea.core_path\',null,$modx->getOption(\'core_path\').\'components/simplesearch/\').\'model/simplesearch/simplesearch.class.php\';
$search = new SimpleSearch($modx,$scriptProperties);

$search->loadDriver($scriptProperties);
if (!$search->driver || !($search->driver instanceof SimpleSearchDriverSolr)) return;

/* helper method for missing params in events */
function SimpleSearchGetChildren(&$modx,&$children,$parent) {
    $success = false;
    $kids = $modx->getCollection(\'modResource\',array(
        \'parent\' => $parent,
    ));
    if (!empty($kids)) {
        foreach ($kids as $kid) {
            $children[] = $kid->toArray();
            SimpleSearchGetChildren($modx,$children,$kid->get(\'id\'));
        }
    }
    return $success;
}

$action = \'index\';
$resourcesToIndex = array();
switch ($modx->event->name) {
    case \'OnDocFormSave\':
        $action = \'index\';
        $resourceArray = $scriptProperties[\'resource\']->toArray();
        unset($resourceArray[\'ta\'],$resourceArray[\'action\'],$resourceArray[\'tiny_toggle\'],$resourceArray[\'HTTP_MODAUTH\'],$resourceArray[\'modx-ab-stay\'],$resourceArray[\'resource_groups\']);
        $resourcesToIndex[] = $resourceArray;
        break;
    case \'OnDocPublished\':
        $action = \'index\';
        $resourceArray = $scriptProperties[\'resource\']->toArray();
        unset($resourceArray[\'ta\'],$resourceArray[\'action\'],$resourceArray[\'tiny_toggle\'],$resourceArray[\'HTTP_MODAUTH\'],$resourceArray[\'modx-ab-stay\'],$resourceArray[\'resource_groups\']);
        $resourcesToIndex[] = $resourceArray;
        break;
    case \'OnDocUnpublished\':
    case \'OnDocUnPublished\':
        $action = \'removeIndex\';
        $resourceArray = $scriptProperties[\'resource\']->toArray();
        unset($resourceArray[\'ta\'],$resourceArray[\'action\'],$resourceArray[\'tiny_toggle\'],$resourceArray[\'HTTP_MODAUTH\'],$resourceArray[\'modx-ab-stay\'],$resourceArray[\'resource_groups\']);
        $resourcesToIndex[] = $resourceArray;
        break;
    case \'OnResourceDuplicate\':
        $action = \'index\';
        $resourcesToIndex[] = $newResource->toArray();
        $children = array();
        SimpleSearchGetChildren($modx,$children,$newResource->get(\'id\'));
        foreach ($children as $child) {
            $resourcesToIndex[] = $child;
        }
        break;
    case \'OnResourceDelete\':
        $action = \'removeIndex\';
        $resourcesToIndex[] = $resource->toArray();
        $children = array();
        SimpleSearchGetChildren($modx,$children,$resource->get(\'id\'));
        foreach ($children as $child) {
            $resourcesToIndex[] = $child;
        }
        break;
    case \'OnResourceUndelete\':
        $action = \'index\';
        $resourcesToIndex[] = $resource->toArray();
        $children = array();
        SimpleSearchGetChildren($modx,$children,$resource->get(\'id\'));
        foreach ($children as $child) {
            $resourcesToIndex[] = $child;
        }
        break;
}

foreach ($resourcesToIndex as $resourceArray) {
    if (!empty($resourceArray[\'id\'])) {
        if ($action == \'index\') {
            $search->driver->index($resourceArray);
        } else if ($action == \'removeIndex\') {
            $search->driver->removeIndex($resourceArray[\'id\']);
        }
    }
}
return;',
      'locked' => '0',
      'properties' => NULL,
      'disabled' => '0',
      'moduleguid' => '',
    ),
  ),
  'policies' => 
  array (
    'modAccessContext' => 
    array (
      'web' => 
      array (
        0 => 
        array (
          'principal' => 0,
          'authority' => 9999,
          'policy' => 
          array (
            'load' => true,
          ),
        ),
        1 => 
        array (
          'principal' => 1,
          'authority' => 0,
          'policy' => 
          array (
            '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,
            '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_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_list' => true,
            'file_manager' => true,
            'file_remove' => true,
            'file_tree' => true,
            'file_update' => true,
            'file_upload' => 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,
            '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_template' => true,
            'new_tv' => true,
            'new_user' => true,
            'packages' => true,
            'property_sets' => true,
            'providers' => true,
            'publish_document' => true,
            'purge_deleted' => true,
            'remove' => true,
            'remove_locks' => 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,
            'steal_locks' => 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,
          ),
        ),
        2 => 
        array (
          'principal' => 1,
          'authority' => 9999,
          'policy' => 
          array (
            '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,
          ),
        ),
      ),
    ),
  ),
);