芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/contact-form-7/admin/includes/editor.php
contact_form = $contact_form; } public function add_panel( $panel_id, $title, $callback ) { if ( wpcf7_is_name( $panel_id ) ) { $this->panels[$panel_id] = array( 'title' => $title, 'callback' => $callback, ); } } public function display() { if ( empty( $this->panels ) ) { return; } echo '
'; foreach ( $this->panels as $panel_id => $panel ) { echo sprintf( '
%2$s
', esc_attr( $panel_id ), esc_html( $panel['title'] ) ); } echo '
'; foreach ( $this->panels as $panel_id => $panel ) { echo sprintf( '
', esc_attr( $panel_id ) ); if ( is_callable( $panel['callback'] ) ) { $this->notice( $panel_id, $panel ); call_user_func( $panel['callback'], $this->contact_form ); } echo '
'; } } public function notice( $panel_id, $panel ) { echo '
'; } } function wpcf7_editor_panel_form( $post ) { $desc_link = wpcf7_link( __( 'https://contactform7.com/editing-form-template/', 'contact-form-7' ), __( 'Editing form template', 'contact-form-7' ) ); $description = __( "You can edit the form template here. For details, see %s.", 'contact-form-7' ); $description = sprintf( esc_html( $description ), $desc_link ); ?>
print_buttons(); ?>
prop( 'form' ) ); ?></textarea>
'; wpcf7_editor_box_mail( $post, array( 'id' => 'wpcf7-mail-2', 'name' => 'mail_2', 'title' => __( 'Mail (2)', 'contact-form-7' ), 'use' => __( 'Use Mail (2)', 'contact-form-7' ), ) ); } function wpcf7_editor_box_mail( $post, $args = '' ) { $args = wp_parse_args( $args, array( 'id' => 'wpcf7-mail', 'name' => 'mail', 'title' => __( 'Mail', 'contact-form-7' ), 'use' => null, ) ); $id = esc_attr( $args['id'] ); $mail = wp_parse_args( $post->prop( $args['name'] ), array( 'active' => false, 'recipient' => '', 'sender' => '', 'subject' => '', 'body' => '', 'additional_headers' => '', 'attachments' => '', 'use_html' => false, 'exclude_blank' => false, ) ); ?>
/>
'; echo esc_html( __( "In the following fields, you can use these mail-tags:", 'contact-form-7' ) ); echo '
'; $post->suggest_mail_tags( $args['name'] ); ?>
</textarea>
</textarea>
/>
/>
</textarea>
$arr ) { $field_id = sprintf( 'wpcf7-message-%s', strtr( $key, '_', '-' ) ); $field_name = sprintf( 'wpcf7-messages[%s]', $key ); ?>
prop( 'additional_settings' ) ); ?></textarea>