Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /home/palandch/www/core/packages/formit-2.2.0-pl/ |
<?php return array ( '951d47b9e53cbc0bb9c472bd93eee8aa' => array ( 'criteria' => array ( 'name' => 'formit', ), 'object' => array ( 'name' => 'formit', 'path' => '{core_path}components/formit/', 'assets_path' => NULL, ), ), 'fb7ad81e17cabe08d4df7b6f3033a966' => array ( 'criteria' => array ( 'category' => 'FormIt', ), 'object' => array ( 'id' => 3, 'parent' => 0, 'category' => 'FormIt', ), ), '80172a4ed49f613cfe1cdd5365e64538' => array ( 'criteria' => array ( 'name' => 'FormIt', ), 'object' => array ( 'id' => 1, 'source' => 0, 'property_preprocess' => 0, 'name' => 'FormIt', 'description' => 'A dynamic form processing snippet.', 'editor_type' => 0, 'category' => 3, 'cache_type' => 0, 'snippet' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * FormIt * * A dynamic form processing Snippet for MODx Revolution. * * @package formit */ require_once $modx->getOption(\'formit.core_path\',null,$modx->getOption(\'core_path\',null,MODX_CORE_PATH).\'components/formit/\').\'model/formit/formit.class.php\'; $fi = new FormIt($modx,$scriptProperties); $fi->initialize($modx->context->get(\'key\')); $fi->loadRequest(); $fields = $fi->request->prepare(); return $fi->request->handle($fields);', 'locked' => 0, 'properties' => 'a:55:{s:5:"hooks";a:7:{s:4:"name";s:5:"hooks";s:4:"desc";s:22:"prop_formit.hooks_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:8:"preHooks";a:7:{s:4:"name";s:8:"preHooks";s:4:"desc";s:25:"prop_formit.prehooks_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:9:"submitVar";a:7:{s:4:"name";s:9:"submitVar";s:4:"desc";s:26:"prop_formit.submitvar_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:8:"validate";a:7:{s:4:"name";s:8:"validate";s:4:"desc";s:25:"prop_formit.validate_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:6:"errTpl";a:7:{s:4:"name";s:6:"errTpl";s:4:"desc";s:23:"prop_formit.errtpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:37:"<span class="error">[[+error]]</span>";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:22:"validationErrorMessage";a:7:{s:4:"name";s:22:"validationErrorMessage";s:4:"desc";s:39:"prop_formit.validationerrormessage_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:96:"<p class="error">A form validation error occurred. Please check the values you have entered.</p>";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:22:"validationErrorBulkTpl";a:7:{s:4:"name";s:22:"validationErrorBulkTpl";s:4:"desc";s:39:"prop_formit.validationerrorbulktpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:19:"<li>[[+error]]</li>";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:16:"customValidators";a:7:{s:4:"name";s:16:"customValidators";s:4:"desc";s:33:"prop_formit.customvalidators_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:20:"clearFieldsOnSuccess";a:7:{s:4:"name";s:20:"clearFieldsOnSuccess";s:4:"desc";s:37:"prop_formit.clearfieldsonsuccess_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:14:"successMessage";a:7:{s:4:"name";s:14:"successMessage";s:4:"desc";s:31:"prop_formit.successmessage_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:25:"successMessagePlaceholder";a:7:{s:4:"name";s:25:"successMessagePlaceholder";s:4:"desc";s:42:"prop_formit.successmessageplaceholder_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:17:"fi.successMessage";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:5:"store";a:7:{s:4:"name";s:5:"store";s:4:"desc";s:22:"prop_formit.store_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:17:"placeholderPrefix";a:7:{s:4:"name";s:17:"placeholderPrefix";s:4:"desc";s:34:"prop_formit.placeholderprefix_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:3:"fi.";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:9:"storeTime";a:7:{s:4:"name";s:9:"storeTime";s:4:"desc";s:26:"prop_formit.storetime_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";i:300;s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:10:"allowFiles";a:7:{s:4:"name";s:10:"allowFiles";s:4:"desc";s:27:"prop_formit.allowfiles_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:15:"spamEmailFields";a:7:{s:4:"name";s:15:"spamEmailFields";s:4:"desc";s:32:"prop_formit.spamemailfields_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:5:"email";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:11:"spamCheckIp";a:7:{s:4:"name";s:11:"spamCheckIp";s:4:"desc";s:28:"prop_formit.spamcheckip_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:11:"recaptchaJs";a:7:{s:4:"name";s:11:"recaptchaJs";s:4:"desc";s:28:"prop_formit.recaptchajs_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:2:"{}";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:14:"recaptchaTheme";a:7:{s:4:"name";s:14:"recaptchaTheme";s:4:"desc";s:31:"prop_formit.recaptchatheme_desc";s:4:"type";s:4:"list";s:7:"options";a:4:{i:0;a:2:{s:4:"text";s:14:"formit.opt_red";s:5:"value";s:3:"red";}i:1;a:2:{s:4:"text";s:16:"formit.opt_white";s:5:"value";s:5:"white";}i:2;a:2:{s:4:"text";s:16:"formit.opt_clean";s:5:"value";s:5:"clean";}i:3;a:2:{s:4:"text";s:21:"formit.opt_blackglass";s:5:"value";s:10:"blackglass";}}s:5:"value";s:5:"clean";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:10:"redirectTo";a:7:{s:4:"name";s:10:"redirectTo";s:4:"desc";s:27:"prop_formit.redirectto_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:14:"redirectParams";a:7:{s:4:"name";s:14:"redirectParams";s:4:"desc";s:31:"prop_formit.redirectparams_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:7:"emailTo";a:7:{s:4:"name";s:7:"emailTo";s:4:"desc";s:24:"prop_formit.emailto_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:11:"emailToName";a:7:{s:4:"name";s:11:"emailToName";s:4:"desc";s:28:"prop_formit.emailtoname_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:9:"emailFrom";a:7:{s:4:"name";s:9:"emailFrom";s:4:"desc";s:26:"prop_formit.emailfrom_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:13:"emailFromName";a:7:{s:4:"name";s:13:"emailFromName";s:4:"desc";s:30:"prop_formit.emailfromname_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:12:"emailReplyTo";a:7:{s:4:"name";s:12:"emailReplyTo";s:4:"desc";s:29:"prop_formit.emailreplyto_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:16:"emailReplyToName";a:7:{s:4:"name";s:16:"emailReplyToName";s:4:"desc";s:33:"prop_formit.emailreplytoname_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:7:"emailCC";a:7:{s:4:"name";s:7:"emailCC";s:4:"desc";s:24:"prop_formit.emailcc_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:11:"emailCCName";a:7:{s:4:"name";s:11:"emailCCName";s:4:"desc";s:28:"prop_formit.emailccname_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:8:"emailBCC";a:7:{s:4:"name";s:8:"emailBCC";s:4:"desc";s:25:"prop_formit.emailbcc_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:12:"emailBCCName";a:7:{s:4:"name";s:12:"emailBCCName";s:4:"desc";s:29:"prop_formit.emailbccname_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:12:"emailSubject";a:7:{s:4:"name";s:12:"emailSubject";s:4:"desc";s:29:"prop_formit.emailsubject_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:23:"emailUseFieldForSubject";a:7:{s:4:"name";s:23:"emailUseFieldForSubject";s:4:"desc";s:40:"prop_formit.emailusefieldforsubject_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:9:"emailHtml";a:7:{s:4:"name";s:9:"emailHtml";s:4:"desc";s:26:"prop_formit.emailhtml_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:20:"emailConvertNewlines";a:7:{s:4:"name";s:20:"emailConvertNewlines";s:4:"desc";s:37:"prop_formit.emailconvertnewlines_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:17:"emailMultiWrapper";a:7:{s:4:"name";s:17:"emailMultiWrapper";s:4:"desc";s:34:"prop_formit.emailmultiwrapper_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:10:"[[+value]]";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:19:"emailMultiSeparator";a:7:{s:4:"name";s:19:"emailMultiSeparator";s:4:"desc";s:36:"prop_formit.emailmultiseparator_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:7:"fiarTpl";a:7:{s:4:"name";s:7:"fiarTpl";s:4:"desc";s:22:"prop_fiar.fiartpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:11:"fiarToField";a:7:{s:4:"name";s:11:"fiarToField";s:4:"desc";s:26:"prop_fiar.fiartofield_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:5:"email";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:11:"fiarSubject";a:7:{s:4:"name";s:11:"fiarSubject";s:4:"desc";s:26:"prop_fiar.fiarsubject_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:30:"[[++site_name]] Auto-Responder";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:8:"fiarFrom";a:7:{s:4:"name";s:8:"fiarFrom";s:4:"desc";s:23:"prop_fiar.fiarfrom_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:12:"fiarFromName";a:7:{s:4:"name";s:12:"fiarFromName";s:4:"desc";s:27:"prop_fiar.fiarfromname_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:11:"fiarReplyTo";a:7:{s:4:"name";s:11:"fiarReplyTo";s:4:"desc";s:26:"prop_fiar.fiarreplyto_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:15:"fiarReplyToName";a:7:{s:4:"name";s:15:"fiarReplyToName";s:4:"desc";s:30:"prop_fiar.fiarreplytoname_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:6:"fiarCC";a:7:{s:4:"name";s:6:"fiarCC";s:4:"desc";s:21:"prop_fiar.fiarcc_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:10:"fiarCCName";a:7:{s:4:"name";s:10:"fiarCCName";s:4:"desc";s:25:"prop_fiar.fiarccname_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:7:"fiarBCC";a:7:{s:4:"name";s:7:"fiarBCC";s:4:"desc";s:22:"prop_fiar.fiarbcc_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:11:"fiarBCCName";a:7:{s:4:"name";s:11:"fiarBCCName";s:4:"desc";s:26:"prop_fiar.fiarbccname_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:8:"fiarHtml";a:7:{s:4:"name";s:8:"fiarHtml";s:4:"desc";s:23:"prop_fiar.fiarhtml_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:12:"mathMinRange";a:7:{s:4:"name";s:12:"mathMinRange";s:4:"desc";s:27:"prop_math.mathminrange_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";i:10;s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:12:"mathMaxRange";a:7:{s:4:"name";s:12:"mathMaxRange";s:4:"desc";s:27:"prop_math.mathmaxrange_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";i:100;s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:9:"mathField";a:7:{s:4:"name";s:9:"mathField";s:4:"desc";s:24:"prop_math.mathfield_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:4:"math";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:12:"mathOp1Field";a:7:{s:4:"name";s:12:"mathOp1Field";s:4:"desc";s:27:"prop_math.mathop1field_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:3:"op1";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:12:"mathOp2Field";a:7:{s:4:"name";s:12:"mathOp2Field";s:4:"desc";s:27:"prop_math.mathop2field_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:3:"op2";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:17:"mathOperatorField";a:7:{s:4:"name";s:17:"mathOperatorField";s:4:"desc";s:32:"prop_math.mathoperatorfield_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:8:"operator";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}}', 'moduleguid' => '', 'static' => 0, 'static_file' => '', 'content' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * FormIt * * A dynamic form processing Snippet for MODx Revolution. * * @package formit */ require_once $modx->getOption(\'formit.core_path\',null,$modx->getOption(\'core_path\',null,MODX_CORE_PATH).\'components/formit/\').\'model/formit/formit.class.php\'; $fi = new FormIt($modx,$scriptProperties); $fi->initialize($modx->context->get(\'key\')); $fi->loadRequest(); $fields = $fi->request->prepare(); return $fi->request->handle($fields);', ), ), '4c23536fc7867bfaf210a2be3c9baf3d' => array ( 'criteria' => array ( 'name' => 'FormItAutoResponder', ), 'object' => array ( 'id' => 2, 'source' => 0, 'property_preprocess' => 0, 'name' => 'FormItAutoResponder', 'description' => 'Custom hook for FormIt to handle Auto-Response emails.', 'editor_type' => 0, 'category' => 3, 'cache_type' => 0, 'snippet' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * A custom FormIt hook for auto-responders. * * @var modX $modx * @var array $scriptProperties * @var FormIt $formit * @var fiHooks $hook * * @package formit */ /* setup default properties */ $tpl = $modx->getOption(\'fiarTpl\',$scriptProperties,\'fiarTpl\'); $mailFrom = $modx->getOption(\'fiarFrom\',$scriptProperties,$modx->getOption(\'emailsender\')); $mailFromName = $modx->getOption(\'fiarFromName\',$scriptProperties,$modx->getOption(\'site_name\')); $mailSender = $modx->getOption(\'fiarSender\',$scriptProperties,$modx->getOption(\'emailsender\')); $mailSubject = $modx->getOption(\'fiarSubject\',$scriptProperties,\'[[++site_name]] Auto-Responder\'); $mailSubject = str_replace(array(\'[[++site_name]]\',\'[[++emailsender]]\'),array($modx->getOption(\'site_name\'),$modx->getOption(\'emailsender\')),$mailSubject); $isHtml = $modx->getOption(\'fiarHtml\',$scriptProperties,true); $toField = $modx->getOption(\'fiarToField\',$scriptProperties,\'email\'); $multiSeparator = $modx->getOption(\'fiarMultiSeparator\',$formit->config,"\\n"); $multiWrapper = $modx->getOption(\'fiarMultiWrapper\',$formit->config,"[[+value]]"); if (empty($fields[$toField])) { $modx->log(modX::LOG_LEVEL_ERROR,\'[FormIt] Auto-responder could not find field `\'.$toField.\'` in form submission.\'); return false; } /* handle checkbox and array fields */ foreach ($fields as $k => &$v) { if (is_array($v)) { $vOpts = array(); foreach ($v as $vKey => $vValue) { if (is_string($vKey) && !empty($vKey)) { $vKey = $k.\'.\'.$vKey; $fields[$vKey] = $vValue; } else { $vOpts[] = str_replace(\'[[+value]]\',$vValue,$multiWrapper); } } $newValue = implode($multiSeparator,$vOpts); if (!empty($vOpts)) { $fields[$k] = $newValue; } } } /* setup placeholders */ $placeholders = $fields; $mailTo= $fields[$toField]; $message = $formit->getChunk($tpl,$placeholders); $modx->parser->processElementTags(\'\',$message,true,false); $modx->getService(\'mail\', \'mail.modPHPMailer\'); $modx->mail->reset(); $modx->mail->set(modMail::MAIL_BODY,$message); $modx->mail->set(modMail::MAIL_FROM,$hook->_process($mailFrom,$placeholders)); $modx->mail->set(modMail::MAIL_FROM_NAME,$hook->_process($mailFromName,$placeholders)); $modx->mail->set(modMail::MAIL_SENDER,$hook->_process($mailSender,$placeholders)); $modx->mail->set(modMail::MAIL_SUBJECT,$hook->_process($mailSubject,$placeholders)); $modx->mail->address(\'to\',$mailTo); $modx->mail->setHTML($isHtml); /* reply to */ $emailReplyTo = $modx->getOption(\'fiarReplyTo\',$scriptProperties,$mailFrom); $emailReplyTo = $hook->_process($emailReplyTo,$fields); $emailReplyToName = $modx->getOption(\'fiarReplyToName\',$scriptProperties,$mailFromName); $emailReplyToName = $hook->_process($emailReplyToName,$fields); if (!empty($emailReplyTo)) { $modx->mail->address(\'reply-to\',$emailReplyTo,$emailReplyToName); } /* cc */ $emailCC = $modx->getOption(\'fiarCC\',$scriptProperties,\'\'); if (!empty($emailCC)) { $emailCCName = $modx->getOption(\'fiarCCName\',$scriptProperties,\'\'); $emailCC = explode(\',\',$emailCC); $emailCCName = explode(\',\',$emailCCName); $numAddresses = count($emailCC); for ($i=0;$i<$numAddresses;$i++) { $etn = !empty($emailCCName[$i]) ? $emailCCName[$i] : \'\'; if (!empty($etn)) $etn = $hook->_process($etn,$fields); $emailCC[$i] = $hook->_process($emailCC[$i],$fields); if (!empty($emailCC[$i])) { $modx->mail->address(\'cc\',$emailCC[$i],$etn); } } } /* bcc */ $emailBCC = $modx->getOption(\'fiarBCC\',$scriptProperties,\'\'); if (!empty($emailBCC)) { $emailBCCName = $modx->getOption(\'fiarBCCName\',$scriptProperties,\'\'); $emailBCC = explode(\',\',$emailBCC); $emailBCCName = explode(\',\',$emailBCCName); $numAddresses = count($emailBCC); for ($i=0;$i<$numAddresses;$i++) { $etn = !empty($emailBCCName[$i]) ? $emailBCCName[$i] : \'\'; if (!empty($etn)) $etn = $hook->_process($etn,$fields); $emailBCC[$i] = $hook->_process($emailBCC[$i],$fields); if (!empty($emailBCC[$i])) { $modx->mail->address(\'bcc\',$emailBCC[$i],$etn); } } } if (!$formit->inTestMode) { if (!$modx->mail->send()) { $modx->log(modX::LOG_LEVEL_ERROR,\'[FormIt] An error occurred while trying to send the auto-responder email: \'.$modx->mail->mailer->ErrorInfo); return false; } } $modx->mail->reset(); return true;', 'locked' => 0, 'properties' => NULL, 'moduleguid' => '', 'static' => 0, 'static_file' => '', 'content' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * A custom FormIt hook for auto-responders. * * @var modX $modx * @var array $scriptProperties * @var FormIt $formit * @var fiHooks $hook * * @package formit */ /* setup default properties */ $tpl = $modx->getOption(\'fiarTpl\',$scriptProperties,\'fiarTpl\'); $mailFrom = $modx->getOption(\'fiarFrom\',$scriptProperties,$modx->getOption(\'emailsender\')); $mailFromName = $modx->getOption(\'fiarFromName\',$scriptProperties,$modx->getOption(\'site_name\')); $mailSender = $modx->getOption(\'fiarSender\',$scriptProperties,$modx->getOption(\'emailsender\')); $mailSubject = $modx->getOption(\'fiarSubject\',$scriptProperties,\'[[++site_name]] Auto-Responder\'); $mailSubject = str_replace(array(\'[[++site_name]]\',\'[[++emailsender]]\'),array($modx->getOption(\'site_name\'),$modx->getOption(\'emailsender\')),$mailSubject); $isHtml = $modx->getOption(\'fiarHtml\',$scriptProperties,true); $toField = $modx->getOption(\'fiarToField\',$scriptProperties,\'email\'); $multiSeparator = $modx->getOption(\'fiarMultiSeparator\',$formit->config,"\\n"); $multiWrapper = $modx->getOption(\'fiarMultiWrapper\',$formit->config,"[[+value]]"); if (empty($fields[$toField])) { $modx->log(modX::LOG_LEVEL_ERROR,\'[FormIt] Auto-responder could not find field `\'.$toField.\'` in form submission.\'); return false; } /* handle checkbox and array fields */ foreach ($fields as $k => &$v) { if (is_array($v)) { $vOpts = array(); foreach ($v as $vKey => $vValue) { if (is_string($vKey) && !empty($vKey)) { $vKey = $k.\'.\'.$vKey; $fields[$vKey] = $vValue; } else { $vOpts[] = str_replace(\'[[+value]]\',$vValue,$multiWrapper); } } $newValue = implode($multiSeparator,$vOpts); if (!empty($vOpts)) { $fields[$k] = $newValue; } } } /* setup placeholders */ $placeholders = $fields; $mailTo= $fields[$toField]; $message = $formit->getChunk($tpl,$placeholders); $modx->parser->processElementTags(\'\',$message,true,false); $modx->getService(\'mail\', \'mail.modPHPMailer\'); $modx->mail->reset(); $modx->mail->set(modMail::MAIL_BODY,$message); $modx->mail->set(modMail::MAIL_FROM,$hook->_process($mailFrom,$placeholders)); $modx->mail->set(modMail::MAIL_FROM_NAME,$hook->_process($mailFromName,$placeholders)); $modx->mail->set(modMail::MAIL_SENDER,$hook->_process($mailSender,$placeholders)); $modx->mail->set(modMail::MAIL_SUBJECT,$hook->_process($mailSubject,$placeholders)); $modx->mail->address(\'to\',$mailTo); $modx->mail->setHTML($isHtml); /* reply to */ $emailReplyTo = $modx->getOption(\'fiarReplyTo\',$scriptProperties,$mailFrom); $emailReplyTo = $hook->_process($emailReplyTo,$fields); $emailReplyToName = $modx->getOption(\'fiarReplyToName\',$scriptProperties,$mailFromName); $emailReplyToName = $hook->_process($emailReplyToName,$fields); if (!empty($emailReplyTo)) { $modx->mail->address(\'reply-to\',$emailReplyTo,$emailReplyToName); } /* cc */ $emailCC = $modx->getOption(\'fiarCC\',$scriptProperties,\'\'); if (!empty($emailCC)) { $emailCCName = $modx->getOption(\'fiarCCName\',$scriptProperties,\'\'); $emailCC = explode(\',\',$emailCC); $emailCCName = explode(\',\',$emailCCName); $numAddresses = count($emailCC); for ($i=0;$i<$numAddresses;$i++) { $etn = !empty($emailCCName[$i]) ? $emailCCName[$i] : \'\'; if (!empty($etn)) $etn = $hook->_process($etn,$fields); $emailCC[$i] = $hook->_process($emailCC[$i],$fields); if (!empty($emailCC[$i])) { $modx->mail->address(\'cc\',$emailCC[$i],$etn); } } } /* bcc */ $emailBCC = $modx->getOption(\'fiarBCC\',$scriptProperties,\'\'); if (!empty($emailBCC)) { $emailBCCName = $modx->getOption(\'fiarBCCName\',$scriptProperties,\'\'); $emailBCC = explode(\',\',$emailBCC); $emailBCCName = explode(\',\',$emailBCCName); $numAddresses = count($emailBCC); for ($i=0;$i<$numAddresses;$i++) { $etn = !empty($emailBCCName[$i]) ? $emailBCCName[$i] : \'\'; if (!empty($etn)) $etn = $hook->_process($etn,$fields); $emailBCC[$i] = $hook->_process($emailBCC[$i],$fields); if (!empty($emailBCC[$i])) { $modx->mail->address(\'bcc\',$emailBCC[$i],$etn); } } } if (!$formit->inTestMode) { if (!$modx->mail->send()) { $modx->log(modX::LOG_LEVEL_ERROR,\'[FormIt] An error occurred while trying to send the auto-responder email: \'.$modx->mail->mailer->ErrorInfo); return false; } } $modx->mail->reset(); return true;', ), ), '5464b3b1d36aa9bfebe9f3baa10eff9b' => array ( 'criteria' => array ( 'name' => 'FormItRetriever', ), 'object' => array ( 'id' => 3, 'source' => 0, 'property_preprocess' => 0, 'name' => 'FormItRetriever', 'description' => 'Fetches a form submission for a user for displaying on a thank you page.', 'editor_type' => 0, 'category' => 3, 'cache_type' => 0, 'snippet' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * Retrieves a prior form submission that was stored with the &store property * in a FormIt call. * * @var modX $modx * @var array $scriptProperties * * @package formit */ require_once $modx->getOption(\'formit.core_path\',null,$modx->getOption(\'core_path\').\'components/formit/\').\'model/formit/formit.class.php\'; $fi = new FormIt($modx,$scriptProperties); /* setup properties */ $placeholderPrefix = $modx->getOption(\'placeholderPrefix\',$scriptProperties,\'fi.\'); $eraseOnLoad = $modx->getOption(\'eraseOnLoad\',$scriptProperties,false); $redirectToOnNotFound = $modx->getOption(\'redirectToOnNotFound\',$scriptProperties,false); /* fetch data from cache and set to placeholders */ $fi->loadRequest(); $fi->request->loadDictionary(); $data = $fi->request->dictionary->retrieve(); if (!empty($data)) { /* set data to placeholders */ $modx->toPlaceholders($data,$placeholderPrefix,\'\'); /* if set, erase the data on load, otherwise depend on cache expiry time */ if ($eraseOnLoad) { $fi->request->dictionary->erase(); } /* if the data\'s not found, and we want to redirect somewhere if so, do here */ } else if (!empty($redirectToOnNotFound)) { $url = $modx->makeUrl($redirectToOnNotFound); $modx->sendRedirect($url); } return \'\';', 'locked' => 0, 'properties' => 'a:3:{s:17:"placeholderPrefix";a:7:{s:4:"name";s:17:"placeholderPrefix";s:4:"desc";s:31:"prop_fir.placeholderprefix_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:3:"fi.";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:20:"redirectToOnNotFound";a:7:{s:4:"name";s:20:"redirectToOnNotFound";s:4:"desc";s:34:"prop_fir.redirecttoonnotfound_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:11:"eraseOnLoad";a:7:{s:4:"name";s:11:"eraseOnLoad";s:4:"desc";s:25:"prop_fir.eraseonload_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:0;s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}}', 'moduleguid' => '', 'static' => 0, 'static_file' => '', 'content' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * Retrieves a prior form submission that was stored with the &store property * in a FormIt call. * * @var modX $modx * @var array $scriptProperties * * @package formit */ require_once $modx->getOption(\'formit.core_path\',null,$modx->getOption(\'core_path\').\'components/formit/\').\'model/formit/formit.class.php\'; $fi = new FormIt($modx,$scriptProperties); /* setup properties */ $placeholderPrefix = $modx->getOption(\'placeholderPrefix\',$scriptProperties,\'fi.\'); $eraseOnLoad = $modx->getOption(\'eraseOnLoad\',$scriptProperties,false); $redirectToOnNotFound = $modx->getOption(\'redirectToOnNotFound\',$scriptProperties,false); /* fetch data from cache and set to placeholders */ $fi->loadRequest(); $fi->request->loadDictionary(); $data = $fi->request->dictionary->retrieve(); if (!empty($data)) { /* set data to placeholders */ $modx->toPlaceholders($data,$placeholderPrefix,\'\'); /* if set, erase the data on load, otherwise depend on cache expiry time */ if ($eraseOnLoad) { $fi->request->dictionary->erase(); } /* if the data\'s not found, and we want to redirect somewhere if so, do here */ } else if (!empty($redirectToOnNotFound)) { $url = $modx->makeUrl($redirectToOnNotFound); $modx->sendRedirect($url); } return \'\';', ), ), 'f1f7ecc5b5dc36ac5b0e71f2547c8582' => array ( 'criteria' => array ( 'name' => 'FormItIsChecked', ), 'object' => array ( 'id' => 4, 'source' => 0, 'property_preprocess' => 0, 'name' => 'FormItIsChecked', 'description' => 'A custom output filter used with checkboxes/radios for checking checked status.', 'editor_type' => 0, 'category' => 3, 'cache_type' => 0, 'snippet' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * Custom output filter that returns checked="checked" if the value is set * * @var string $input * @var string $options * @package formit */ $output = \' \'; if ($input == $options) { $output = \' checked="checked"\'; } if (strpos($input,\',\') !== false) { $input = explode(\',\',$input); if (in_array($options,$input)) { $output = \' checked="checked"\'; } } return $output;', 'locked' => 0, 'properties' => NULL, 'moduleguid' => '', 'static' => 0, 'static_file' => '', 'content' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * Custom output filter that returns checked="checked" if the value is set * * @var string $input * @var string $options * @package formit */ $output = \' \'; if ($input == $options) { $output = \' checked="checked"\'; } if (strpos($input,\',\') !== false) { $input = explode(\',\',$input); if (in_array($options,$input)) { $output = \' checked="checked"\'; } } return $output;', ), ), 'cb901cf88b99cdcb26372ae1025c0ecc' => array ( 'criteria' => array ( 'name' => 'FormItIsSelected', ), 'object' => array ( 'id' => 5, 'source' => 0, 'property_preprocess' => 0, 'name' => 'FormItIsSelected', 'description' => 'A custom output filter used with dropdowns for checking selected status.', 'editor_type' => 0, 'category' => 3, 'cache_type' => 0, 'snippet' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * Custom output filter that returns checked="checked" if the value is set * * @var string $input * @var string $options * @package formit */ $output = \' \'; if ($input == $options) { $output = \' selected="selected"\'; } if (strpos($input,\',\') !== false) { $input = explode(\',\',$input); if (in_array($options,$input)) { $output = \' selected="selected"\'; } } return $output;', 'locked' => 0, 'properties' => NULL, 'moduleguid' => '', 'static' => 0, 'static_file' => '', 'content' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * Custom output filter that returns checked="checked" if the value is set * * @var string $input * @var string $options * @package formit */ $output = \' \'; if ($input == $options) { $output = \' selected="selected"\'; } if (strpos($input,\',\') !== false) { $input = explode(\',\',$input); if (in_array($options,$input)) { $output = \' selected="selected"\'; } } return $output;', ), ), '17a00ab86ab3c12409b68a1b97a1d2e0' => array ( 'criteria' => array ( 'name' => 'FormItCountryOptions', ), 'object' => array ( 'id' => 6, 'source' => 0, 'property_preprocess' => 0, 'name' => 'FormItCountryOptions', 'description' => 'A utility snippet for generating a dropdown list of countries.', 'editor_type' => 0, 'category' => 3, 'cache_type' => 0, 'snippet' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * Automatically generates and outputs a country list for usage in forms * * @var modX $modx * @var array $scriptProperties * @package formit */ require_once $modx->getOption(\'formit.core_path\',null,$modx->getOption(\'core_path\').\'components/formit/\').\'model/formit/formit.class.php\'; $fi = new FormIt($modx,$scriptProperties); /** @var fiCountryOptions $co */ $co = $fi->loadModule(\'fiCountryOptions\',\'countryOptions\',$scriptProperties); $co->initialize(); $co->getData(); $co->loadPrioritized(); $co->iterate(); return $co->output();', 'locked' => 0, 'properties' => 'a:9:{s:8:"selected";a:7:{s:4:"name";s:8:"selected";s:4:"desc";s:23:"prop_fico.selected_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:3:"tpl";a:7:{s:4:"name";s:3:"tpl";s:4:"desc";s:18:"prop_fico.tpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:6:"option";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:10:"useIsoCode";a:7:{s:4:"name";s:10:"useIsoCode";s:4:"desc";s:25:"prop_fico.useisocode_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:11:"prioritized";a:7:{s:4:"name";s:11:"prioritized";s:4:"desc";s:26:"prop_fico.prioritized_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:11:"optGroupTpl";a:7:{s:4:"name";s:11:"optGroupTpl";s:4:"desc";s:26:"prop_fico.optgrouptpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:8:"optgroup";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:20:"prioritizedGroupText";a:7:{s:4:"name";s:20:"prioritizedGroupText";s:4:"desc";s:35:"prop_fico.prioritizedgrouptext_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:12:"allGroupText";a:7:{s:4:"name";s:12:"allGroupText";s:4:"desc";s:27:"prop_fico.allgrouptext_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:17:"selectedAttribute";a:7:{s:4:"name";s:17:"selectedAttribute";s:4:"desc";s:32:"prop_fico.selectedattribute_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:20:" selected="selected"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:13:"toPlaceholder";a:7:{s:4:"name";s:13:"toPlaceholder";s:4:"desc";s:28:"prop_fico.toplaceholder_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}}', 'moduleguid' => '', 'static' => 0, 'static_file' => '', 'content' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * Automatically generates and outputs a country list for usage in forms * * @var modX $modx * @var array $scriptProperties * @package formit */ require_once $modx->getOption(\'formit.core_path\',null,$modx->getOption(\'core_path\').\'components/formit/\').\'model/formit/formit.class.php\'; $fi = new FormIt($modx,$scriptProperties); /** @var fiCountryOptions $co */ $co = $fi->loadModule(\'fiCountryOptions\',\'countryOptions\',$scriptProperties); $co->initialize(); $co->getData(); $co->loadPrioritized(); $co->iterate(); return $co->output();', ), ), '069293a1d0797804213ddf2d52ef312c' => array ( 'criteria' => array ( 'name' => 'FormItStateOptions', ), 'object' => array ( 'id' => 7, 'source' => 0, 'property_preprocess' => 0, 'name' => 'FormItStateOptions', 'description' => 'A utility snippet for generating a dropdown list of U.S. states.', 'editor_type' => 0, 'category' => 3, 'cache_type' => 0, 'snippet' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * Automatically generates and outputs a U.S. state list for usage in forms * * @package formit */ require_once $modx->getOption(\'formit.core_path\',null,$modx->getOption(\'core_path\').\'components/formit/\').\'model/formit/formit.class.php\'; $fi = new FormIt($modx,$scriptProperties); /** @var fiCountryOptions $co */ $co = $fi->loadModule(\'fiStateOptions\',\'stateOptions\',$scriptProperties); $co->initialize(); $co->getData(); $co->iterate(); return $co->output();', 'locked' => 0, 'properties' => 'a:6:{s:8:"selected";a:7:{s:4:"name";s:8:"selected";s:4:"desc";s:23:"prop_fiso.selected_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:3:"tpl";a:7:{s:4:"name";s:3:"tpl";s:4:"desc";s:18:"prop_fiso.tpl_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:6:"option";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:7:"useAbbr";a:7:{s:4:"name";s:7:"useAbbr";s:4:"desc";s:22:"prop_fiso.useabbr_desc";s:4:"type";s:13:"combo-boolean";s:7:"options";s:0:"";s:5:"value";b:1;s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:17:"selectedAttribute";a:7:{s:4:"name";s:17:"selectedAttribute";s:4:"desc";s:32:"prop_fiso.selectedattribute_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:20:" selected="selected"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:7:"country";a:7:{s:4:"name";s:7:"country";s:4:"desc";s:22:"prop_fiso.country_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:2:"us";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}s:13:"toPlaceholder";a:7:{s:4:"name";s:13:"toPlaceholder";s:4:"desc";s:28:"prop_fiso.toplaceholder_desc";s:4:"type";s:9:"textfield";s:7:"options";s:0:"";s:5:"value";s:0:"";s:7:"lexicon";s:17:"formit:properties";s:4:"area";s:0:"";}}', 'moduleguid' => '', 'static' => 0, 'static_file' => '', 'content' => '/** * FormIt * * Copyright 2009-2012 by Shaun McCormick <shaun@modx.com> * * FormIt 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. * * FormIt 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 * FormIt; if not, write to the Free Software Foundation, Inc., 59 Temple Place, * Suite 330, Boston, MA 02111-1307 USA * * @package formit */ /** * Automatically generates and outputs a U.S. state list for usage in forms * * @package formit */ require_once $modx->getOption(\'formit.core_path\',null,$modx->getOption(\'core_path\').\'components/formit/\').\'model/formit/formit.class.php\'; $fi = new FormIt($modx,$scriptProperties); /** @var fiCountryOptions $co */ $co = $fi->loadModule(\'fiStateOptions\',\'stateOptions\',$scriptProperties); $co->initialize(); $co->getData(); $co->iterate(); return $co->output();', ), ), '05d2a427cf8e423cfb77ec52cf4b8973' => array ( 'criteria' => array ( 'key' => 'formit.recaptcha_public_key', ), 'object' => array ( 'key' => 'formit.recaptcha_public_key', 'value' => '', 'xtype' => 'textfield', 'namespace' => 'formit', 'area' => 'reCaptcha', 'editedon' => '0000-00-00 00:00:00', ), ), '4975bcd32ccf59fce4b4547d845a3278' => array ( 'criteria' => array ( 'key' => 'formit.recaptcha_private_key', ), 'object' => array ( 'key' => 'formit.recaptcha_private_key', 'value' => '', 'xtype' => 'textfield', 'namespace' => 'formit', 'area' => 'reCaptcha', 'editedon' => '0000-00-00 00:00:00', ), ), '5c81f4b7cf570be7b748eafdd4c5376e' => array ( 'criteria' => array ( 'key' => 'formit.recaptcha_use_ssl', ), 'object' => array ( 'key' => 'formit.recaptcha_use_ssl', 'value' => '', 'xtype' => 'combo-boolean', 'namespace' => 'formit', 'area' => 'reCaptcha', 'editedon' => '0000-00-00 00:00:00', ), ), );