', esc_attr( __( 'Save', 'contact-form-7' ) ), $onclick ); echo $button; } ?>

initial() ) { echo esc_html( __( 'Add New Contact Form', 'contact-form-7' ) ); } else { echo esc_html( __( 'Edit Contact Form', 'contact-form-7' ) ); if ( current_user_can( 'wpcf7_edit_contact_forms' ) ) { echo ' ' . esc_html( __( 'Add New', 'contact-form-7' ) ) . ''; } } ?>

>
'text', 'name' => 'post_title', 'size' => 30, 'value' => $post->initial() ? '' : $post->title(), 'id' => 'title', 'spellcheck' => 'true', 'autocomplete' => 'off', 'disabled' => current_user_can( 'wpcf7_edit_contact_form', $post_id ) ? '' : 'disabled' ); echo sprintf( '', wpcf7_format_atts( $posttitle_atts ) ); ?>
initial() ) : ?>

shortcode( array( 'use_old_format' => true ) ) ) : ?>

initial() ) : $copy_nonce = wp_create_nonce( 'wpcf7-copy-contact-form_' . $post_id ); ?> />
initial() ) : $delete_nonce = wp_create_nonce( 'wpcf7-delete-contact-form_' . $post_id ); ?>
/>

' ); ?>
array( 'title' => __( 'Form', 'contact-form-7' ), 'callback' => 'wpcf7_editor_panel_form' ), 'mail-panel' => array( 'title' => __( 'Mail', 'contact-form-7' ), 'callback' => 'wpcf7_editor_panel_mail' ), 'messages-panel' => array( 'title' => __( 'Messages', 'contact-form-7' ), 'callback' => 'wpcf7_editor_panel_messages' ) ); $additional_settings = trim( $post->prop( 'additional_settings' ) ); $additional_settings = explode( "\n", $additional_settings ); $additional_settings = array_filter( $additional_settings ); $additional_settings = count( $additional_settings ); $panels['additional-settings-panel'] = array( 'title' => $additional_settings ? sprintf( __( 'Additional Settings (%d)', 'contact-form-7' ), $additional_settings ) : __( 'Additional Settings', 'contact-form-7' ), 'callback' => 'wpcf7_editor_panel_additional_settings' ); } $panels = apply_filters( 'wpcf7_editor_panels', $panels ); foreach ( $panels as $id => $panel ) { $editor->add_panel( $id, $panel['title'], $panel['callback'] ); } $editor->display(); ?>


print_panels( $post ); do_action( 'wpcf7_admin_footer', $post );