%PDF- %PDF-
Direktori : /var/www/projetos/hindi.ongrace.com/wp-content/plugins/everest-forms/includes/templates/ |
Current File : /var/www/projetos/hindi.ongrace.com/wp-content/plugins/everest-forms/includes/templates/contact.php |
<?php /** * Contact form Template. * * @package EverestForms\Templates * @version 1.0.0 * @since 1.0.0 */ defined( 'ABSPATH' ) || exit; $form_title = isset( $title ) ? sanitize_text_field( $title ) : esc_html__( 'Contact Form', 'everest-forms' ); $form_name = isset( $title ) ? '- ' . $title : ''; $form_template['contact'] = array( 'form_field_id' => '1', 'form_fields' => array( 'fullname' => array( 'id' => 'fullname', 'type' => 'text', 'label' => 'Name', 'meta-key' => 'name', 'description' => '', 'required' => '1', 'placeholder' => '', 'css' => '', ), 'email' => array( 'id' => 'email', 'type' => 'email', 'label' => 'Email', 'meta-key' => 'email', 'description' => '', 'required' => '1', 'placeholder' => '', 'default_value' => '', 'css' => '', ), 'subject' => array( 'id' => 'subject', 'type' => 'text', 'label' => 'Subject', 'meta-key' => 'subject', 'description' => '', 'required' => '1', 'placeholder' => '', 'css' => '', ), 'message' => array( 'id' => 'message', 'type' => 'textarea', 'label' => 'Message', 'meta-key' => 'message', 'description' => '', 'placeholder' => '', 'css' => '', ), ), 'settings' => array( 'form_title' => $form_title, 'form_desc' => '', 'successful_form_submission_message' => get_option( 'everest_forms_successful_form_submission_message', __( 'Thanks for contacting us! We will be in touch with you shortly.', 'everest-forms' ) ), 'redirect_to' => 'same', 'custom_page' => '2', 'external_url' => '', 'layout_class' => 'default', 'form_class' => '', 'submit_button_text' => get_option( 'everest_forms_form_submit_button_label', __( 'Submit', 'everest-forms' ) ), 'honeypot' => '1', 'email' => array( 'connection_1' => array( 'connection_name' => __( 'Admin Notification', 'everest-forms' ), 'evf_to_email' => '{admin_email}', 'evf_from_name' => get_bloginfo( 'name', 'display' ), 'evf_from_email' => '{admin_email}', 'evf_reply_to' => '{field_id="email"}', /* translators: %s: Form Name */ 'evf_email_subject' => sprintf( esc_html__( 'New Form Entry %s', 'everest-forms' ), $form_name ), 'evf_email_message' => '{all_fields}', ), ), ), 'structure' => array( 'row_1' => array( 'grid_1' => array( 'fullname', 'email', 'subject', 'message', ), ), ), );