<?php _e('Redirect delay (in seconds)', 'wp-cred'); ?> <input type='text' size='3' id='cred_form_redirect_delay' name='_cred[form][redirect_delay]' value='<?php echo esc_attr($settings['redirect_delay']); ?> ' /> </span> <div data-cred-bind="{ action: 'fadeSlide', condition: '_cred[form][action]=message' }"> <p class='cred-explain-text'><?php _e('Enter the message to display instead of the form. You can use HTML and shortcodes.', 'wp-cred'); ?> </p> <?php echo CRED_Helper::getRichEditor('credformactionmessage', '_cred[form][action_message]', $settings['action_message'], array('wpautop' => true, 'teeny' => true, 'editor_height' => 200, 'editor_class' => 'wpcf-wysiwyg')); ?> <!--<textarea id='cred_form_action_message' name='_cred[form][action_message]' style="position:relative; width:95%;"><?php //echo esc_textarea($settings['action_message']); ?> </textarea>--> <!-- correct initial value --> <script type='text/javascript'> /* <![CDATA[ */ (function (window, $, undefined) { $(function () { try { $('#credformactionmessage').val($('#credformactionmessage').text()); } catch (e) { } });
<fieldset class="cred-fieldset"> <h4><?php _e('Body of emails', 'wp-cred'); ?> </h4> <div id="cred_mail_body_placeholders-<?php echo $ii; ?> " class="cred-label-holder wpcf-wysiwyg"> <label><?php _e('Notification mail body:', 'wp-cred'); ?> </label> <?php echo CRED_Helper::getRichEditor("credmailbody{$ii}", "_cred[notification][notifications][{$ii}][mail][body]", $notification['mail']['body'], array('wpautop' => false, 'teeny' => true, 'editor_height' => 200, 'editor_class' => 'wpcf-wysiwyg'), array('custom_media_buttons' => true, 'extra' => CRED_Loader::tpl('notification-body-codes', array('area_id' => "credmailbody{$ii}", 'form' => $form, 'ii' => $ii, 'notification' => $notification)))); ?> </div> </fieldset> <?php do_action('cred_admin_notification_fields_after', $form, $ii, $notification); ?> <?php if ($enableTestMail) { ?> <p> <a class='button' href='javascript:;' data-cred-bind="{ event: 'click',