AAAAshow_thanks_message.php000066600000001516151376131130011321 0ustar00 'Show Thanks Message', 'tooltip' => 'Display a formatted thank you message (WYSIWYG Editor available).'); function run($form, $actiondata){ $message = $actiondata->content1; //build template from defined fields and posted fields //echo $form->curly_replacer($message, $form->data); } function load($clear){ if($clear){ $action_params = array( 'content1' => '' ); } return array('action_params' => $action_params); } } ?>index.html000066600000000035151376131130006544 0ustar00 show_thanks_message.ctp000066600000004554151376131130011325 0ustar00
Show Thanks Message
Header(array('settings' => 'Settings', 'help' => 'Help'), 'show_thanks_message_config_{n}'); ?> tabStart('settings'); ?> Add/Remove editor input('action_show_thanks_message_{n}_content1_config', array('type' => 'textarea', 'label' => "Code", 'class' => 'text_editor', 'label_over' => true, 'rows' => 20, 'cols' => 70, 'smalldesc' => 'You may use the curly brackets formula to get fields data from the form data array, e.g: {field_name}.')); ?> tabEnd(); ?> tabStart('help'); ?>

tabEnd(); ?>
cfaction_show_thanks_message.ctp000066600000000230151376131130013156 0ustar00show($form, $actiondata); ?>.htaccess000066600000000177151376131130006354 0ustar00 Order allow,deny Deny from all cfaction_show_thanks_message.php000066600000001120151376131130013156 0ustar00params); $message = $actiondata->content1; //build template from defined fields and posted fields return $form->curly_replacer($message, $form->data, '.', true); } } ?>