[44] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | /* No table warning */
|
---|
| 4 | if ( ! wpcf7_table_exists() ) {
|
---|
| 5 | if ( current_user_can( 'activate_plugins' ) ) {
|
---|
| 6 | $create_table_link_url = wpcf7_admin_url( 'admin.php', array( 'wpcf7-create-table' => 1 ) );
|
---|
| 7 | $create_table_link_url = wp_nonce_url( $create_table_link_url, 'wpcf7-create-table' );
|
---|
| 8 | $message = sprintf(
|
---|
| 9 | __( '<strong>The database table for Contact Form 7 does not exist.</strong> You must <a href="%s">create the table</a> for it to work.', 'wpcf7' ),
|
---|
| 10 | $create_table_link_url );
|
---|
| 11 | } else {
|
---|
| 12 | $message = __( "<strong>The database table for Contact Form 7 does not exist.</strong>", 'wpcf7' );
|
---|
| 13 | }
|
---|
| 14 | ?>
|
---|
| 15 | <div class="wrap">
|
---|
| 16 | <?php screen_icon( 'edit-pages' ); ?>
|
---|
| 17 | <h2><?php echo esc_html( __( 'Contact Form 7', 'wpcf7' ) ); ?></h2>
|
---|
| 18 | <div id="message" class="updated fade">
|
---|
| 19 | <p><?php echo $message; ?></p>
|
---|
| 20 | </div>
|
---|
| 21 | </div>
|
---|
| 22 | <?php
|
---|
| 23 | return;
|
---|
| 24 | }
|
---|
| 25 |
|
---|
| 26 | ?><div class="wrap wpcf7">
|
---|
| 27 |
|
---|
| 28 | <?php screen_icon( 'edit-pages' ); ?>
|
---|
| 29 |
|
---|
| 30 | <h2><?php echo esc_html( __( 'Contact Form 7', 'wpcf7' ) ); ?></h2>
|
---|
| 31 |
|
---|
| 32 | <?php wpcf7_donation_link(); ?>
|
---|
| 33 |
|
---|
| 34 | <?php if ( isset( $updated_message ) ) : ?>
|
---|
| 35 | <div id="message" class="updated fade"><p><?php echo $updated_message; ?></p></div>
|
---|
| 36 | <?php endif; ?>
|
---|
| 37 |
|
---|
| 38 | <ul class="subsubsub">
|
---|
| 39 | <?php foreach ( $contact_forms as $v ) : ?>
|
---|
| 40 | <li><a href="<?php echo wpcf7_admin_url( 'admin.php', array( 'contactform' => $v->id ) ); ?>"<?php if ( $v->id == $current ) echo ' class="current"'; ?>>
|
---|
| 41 | <?php echo esc_html( $v->title ); ?></a> |</li>
|
---|
| 42 | <?php endforeach; ?>
|
---|
| 43 |
|
---|
| 44 | <?php if ( wpcf7_admin_has_edit_cap() ) : ?>
|
---|
| 45 | <li class="addnew"><a href="<?php echo wpcf7_admin_url( 'admin.php', array( 'contactform' => 'new' ) ); ?>"<?php if ( $unsaved ) echo ' class="current"'; ?>><?php echo esc_html( __( 'Add new', 'wpcf7' ) ); ?></a></li>
|
---|
| 46 | <?php endif; ?>
|
---|
| 47 | </ul>
|
---|
| 48 |
|
---|
| 49 | <br class="clear" />
|
---|
| 50 |
|
---|
| 51 | <?php if ( $cf ) : ?>
|
---|
| 52 | <?php $disabled = ( wpcf7_admin_has_edit_cap() ) ? '' : ' disabled="disabled"'; ?>
|
---|
| 53 |
|
---|
| 54 | <form method="post" action="<?php echo wpcf7_admin_url( 'admin.php', array( 'contactform' => $current ) ); ?>" id="wpcf7-admin-form-element">
|
---|
| 55 | <?php if ( wpcf7_admin_has_edit_cap() ) wp_nonce_field( 'wpcf7-save_' . $current ); ?>
|
---|
| 56 | <input type="hidden" id="wpcf7-id" name="wpcf7-id" value="<?php echo $current; ?>" />
|
---|
| 57 |
|
---|
| 58 | <table class="widefat">
|
---|
| 59 | <tbody>
|
---|
| 60 | <tr>
|
---|
| 61 | <td scope="col">
|
---|
| 62 | <div style="position: relative;">
|
---|
| 63 | <input type="text" id="wpcf7-title" name="wpcf7-title" size="40" value="<?php echo esc_attr( $cf->title ); ?>"<?php echo $disabled; ?> />
|
---|
| 64 |
|
---|
| 65 | <?php if ( ! $unsaved ) : ?>
|
---|
| 66 | <p class="tagcode">
|
---|
| 67 | <?php echo esc_html( __( "Copy this code and paste it into your post, page or text widget content.", 'wpcf7' ) ); ?><br />
|
---|
| 68 |
|
---|
| 69 | <input type="text" id="contact-form-anchor-text" onfocus="this.select();" readonly="readonly" />
|
---|
| 70 | </p>
|
---|
| 71 | <?php endif; ?>
|
---|
| 72 |
|
---|
| 73 | <?php if ( wpcf7_admin_has_edit_cap() ) : ?>
|
---|
| 74 | <div class="save-contact-form">
|
---|
| 75 | <input type="submit" class="button button-highlighted" name="wpcf7-save" value="<?php echo esc_attr( __( 'Save', 'wpcf7' ) ); ?>" />
|
---|
| 76 | </div>
|
---|
| 77 | <?php endif; ?>
|
---|
| 78 |
|
---|
| 79 | <?php if ( wpcf7_admin_has_edit_cap() && ! $unsaved ) : ?>
|
---|
| 80 | <div class="actions-link">
|
---|
| 81 | <?php $copy_nonce = wp_create_nonce( 'wpcf7-copy_' . $current ); ?>
|
---|
| 82 | <input type="submit" name="wpcf7-copy" class="copy" value="<?php echo esc_attr( __( 'Copy', 'wpcf7' ) ); ?>"
|
---|
| 83 | <?php echo "onclick=\"this.form._wpnonce.value = '$copy_nonce'; return true;\""; ?> />
|
---|
| 84 | |
|
---|
| 85 |
|
---|
| 86 | <?php $delete_nonce = wp_create_nonce( 'wpcf7-delete_' . $current ); ?>
|
---|
| 87 | <input type="submit" name="wpcf7-delete" class="delete" value="<?php echo esc_attr( __( 'Delete', 'wpcf7' ) ); ?>"
|
---|
| 88 | <?php echo "onclick=\"if (confirm('" .
|
---|
| 89 | esc_js( __( "You are about to delete this contact form.\n 'Cancel' to stop, 'OK' to delete.", 'wpcf7' ) ) .
|
---|
| 90 | "')) {this.form._wpnonce.value = '$delete_nonce'; return true;} return false;\""; ?> />
|
---|
| 91 | </div>
|
---|
| 92 | <?php endif; ?>
|
---|
| 93 | </div>
|
---|
| 94 | </td>
|
---|
| 95 | </tr>
|
---|
| 96 | </tbody>
|
---|
| 97 | </table>
|
---|
| 98 |
|
---|
| 99 | <?php if ( wpcf7_admin_has_edit_cap() ) : ?>
|
---|
| 100 |
|
---|
| 101 | <table class="widefat" style="margin-top: 1em;">
|
---|
| 102 | <thead><tr><th scope="col" colspan="2"><?php echo esc_html( __( 'Form', 'wpcf7' ) ); ?></th></tr></thead>
|
---|
| 103 |
|
---|
| 104 | <tbody>
|
---|
| 105 | <tr>
|
---|
| 106 |
|
---|
| 107 | <td scope="col" style="width: 50%;">
|
---|
| 108 | <div><textarea id="wpcf7-form" name="wpcf7-form" cols="100" rows="20"><?php echo esc_html( $cf->form ); ?></textarea></div>
|
---|
| 109 | </td>
|
---|
| 110 |
|
---|
| 111 | <td scope="col" style="width: 50%;">
|
---|
| 112 | <div id="tag-generator-div"></div>
|
---|
| 113 | </td>
|
---|
| 114 |
|
---|
| 115 | </tr>
|
---|
| 116 | </tbody>
|
---|
| 117 | </table>
|
---|
| 118 |
|
---|
| 119 | <table class="widefat" style="margin-top: 1em;">
|
---|
| 120 | <thead><tr><th scope="col" colspan="2"><?php echo esc_html( __( 'Mail', 'wpcf7' ) ); ?></th></tr></thead>
|
---|
| 121 |
|
---|
| 122 | <tbody>
|
---|
| 123 | <tr>
|
---|
| 124 | <td scope="col" style="width: 50%;">
|
---|
| 125 |
|
---|
| 126 | <div class="mail-field">
|
---|
| 127 | <label for="wpcf7-mail-recipient"><?php echo esc_html( __( 'To:', 'wpcf7' ) ); ?></label><br />
|
---|
| 128 | <input type="text" id="wpcf7-mail-recipient" name="wpcf7-mail-recipient" class="wide" size="70" value="<?php echo esc_attr( $cf->mail['recipient'] ); ?>" />
|
---|
| 129 | </div>
|
---|
| 130 |
|
---|
| 131 | <div class="mail-field">
|
---|
| 132 | <label for="wpcf7-mail-sender"><?php echo esc_html( __( 'From:', 'wpcf7' ) ); ?></label><br />
|
---|
| 133 | <input type="text" id="wpcf7-mail-sender" name="wpcf7-mail-sender" class="wide" size="70" value="<?php echo esc_attr( $cf->mail['sender'] ); ?>" />
|
---|
| 134 | </div>
|
---|
| 135 |
|
---|
| 136 | <div class="mail-field">
|
---|
| 137 | <label for="wpcf7-mail-subject"><?php echo esc_html( __( 'Subject:', 'wpcf7' ) ); ?></label><br />
|
---|
| 138 | <input type="text" id="wpcf7-mail-subject" name="wpcf7-mail-subject" class="wide" size="70" value="<?php echo esc_attr( $cf->mail['subject'] ); ?>" />
|
---|
| 139 | </div>
|
---|
| 140 |
|
---|
| 141 | <div class="pseudo-hr"></div>
|
---|
| 142 |
|
---|
| 143 | <div class="mail-field">
|
---|
| 144 | <label for="wpcf7-mail-additional-headers"><?php echo esc_html( __( 'Additional headers:', 'wpcf7' ) ); ?></label><br />
|
---|
| 145 | <textarea id="wpcf7-mail-additional-headers" name="wpcf7-mail-additional-headers" cols="100" rows="2"><?php echo esc_html( $cf->mail['additional_headers'] ); ?></textarea>
|
---|
| 146 | </div>
|
---|
| 147 |
|
---|
| 148 | <div class="mail-field">
|
---|
| 149 | <label for="wpcf7-mail-attachments"><?php echo esc_html( __( 'File attachments:', 'wpcf7' ) ); ?></label><br />
|
---|
| 150 | <input type="text" id="wpcf7-mail-attachments" name="wpcf7-mail-attachments" class="wide" size="70" value="<?php echo esc_attr( $cf->mail['attachments'] ); ?>" />
|
---|
| 151 | </div>
|
---|
| 152 |
|
---|
| 153 | <div class="pseudo-hr"></div>
|
---|
| 154 |
|
---|
| 155 | <div class="mail-field">
|
---|
| 156 | <input type="checkbox" id="wpcf7-mail-use-html" name="wpcf7-mail-use-html" value="1"<?php echo ( $cf->mail['use_html'] ) ? ' checked="checked"' : ''; ?> />
|
---|
| 157 | <label for="wpcf7-mail-use-html"><?php echo esc_html( __( 'Use HTML content type', 'wpcf7' ) ); ?></label>
|
---|
| 158 | </div>
|
---|
| 159 |
|
---|
| 160 | </td>
|
---|
| 161 | <td scope="col" style="width: 50%;">
|
---|
| 162 |
|
---|
| 163 | <div class="mail-field">
|
---|
| 164 | <label for="wpcf7-mail-body"><?php echo esc_html( __( 'Message body:', 'wpcf7' ) ); ?></label><br />
|
---|
| 165 | <textarea id="wpcf7-mail-body" name="wpcf7-mail-body" cols="100" rows="16"><?php echo esc_html( $cf->mail['body'] ); ?></textarea>
|
---|
| 166 | </div>
|
---|
| 167 |
|
---|
| 168 | </td>
|
---|
| 169 | </tr>
|
---|
| 170 | </tbody>
|
---|
| 171 | </table>
|
---|
| 172 |
|
---|
| 173 | <table class="widefat" style="margin-top: 1em;">
|
---|
| 174 | <thead><tr><th scope="col" colspan="2"><?php echo esc_html( __( 'Mail (2)', 'wpcf7' ) ); ?></th></tr></thead>
|
---|
| 175 |
|
---|
| 176 | <tbody>
|
---|
| 177 | <tr>
|
---|
| 178 | <td scope="col" colspan="2">
|
---|
| 179 | <input type="checkbox" id="wpcf7-mail-2-active" name="wpcf7-mail-2-active" value="1"<?php echo ( $cf->mail_2['active'] ) ? ' checked="checked"' : ''; ?> />
|
---|
| 180 | <label for="wpcf7-mail-2-active"><?php echo esc_html( __( 'Use mail (2)', 'wpcf7' ) ); ?></label>
|
---|
| 181 | </td>
|
---|
| 182 | </tr>
|
---|
| 183 |
|
---|
| 184 | <tr id="mail-2-fields">
|
---|
| 185 | <td scope="col" style="width: 50%;">
|
---|
| 186 |
|
---|
| 187 | <div class="mail-field">
|
---|
| 188 | <label for="wpcf7-mail-2-recipient"><?php echo esc_html( __( 'To:', 'wpcf7' ) ); ?></label><br />
|
---|
| 189 | <input type="text" id="wpcf7-mail-2-recipient" name="wpcf7-mail-2-recipient" class="wide" size="70" value="<?php echo esc_attr( $cf->mail_2['recipient'] ); ?>" />
|
---|
| 190 | </div>
|
---|
| 191 |
|
---|
| 192 | <div class="mail-field">
|
---|
| 193 | <label for="wpcf7-mail-2-sender"><?php echo esc_html( __( 'From:', 'wpcf7' ) ); ?></label><br />
|
---|
| 194 | <input type="text" id="wpcf7-mail-2-sender" name="wpcf7-mail-2-sender" class="wide" size="70" value="<?php echo esc_attr( $cf->mail_2['sender'] ); ?>" />
|
---|
| 195 | </div>
|
---|
| 196 |
|
---|
| 197 | <div class="mail-field">
|
---|
| 198 | <label for="wpcf7-mail-2-subject"><?php echo esc_html( __( 'Subject:', 'wpcf7' ) ); ?></label><br />
|
---|
| 199 | <input type="text" id="wpcf7-mail-2-subject" name="wpcf7-mail-2-subject" class="wide" size="70" value="<?php echo esc_attr( $cf->mail_2['subject'] ); ?>" />
|
---|
| 200 | </div>
|
---|
| 201 |
|
---|
| 202 | <div class="pseudo-hr"></div>
|
---|
| 203 |
|
---|
| 204 | <div class="mail-field">
|
---|
| 205 | <label for="wpcf7-mail-2-additional-headers"><?php echo esc_html( __( 'Additional headers:', 'wpcf7' ) ); ?></label><br />
|
---|
| 206 | <textarea id="wpcf7-mail-2-additional-headers" name="wpcf7-mail-2-additional-headers" cols="100" rows="2"><?php echo esc_html( $cf->mail_2['additional_headers'] ); ?></textarea>
|
---|
| 207 | </div>
|
---|
| 208 |
|
---|
| 209 | <div class="mail-field">
|
---|
| 210 | <label for="wpcf7-mail-2-attachments"><?php echo esc_html( __( 'File attachments:', 'wpcf7' ) ); ?></label><br />
|
---|
| 211 | <input type="text" id="wpcf7-mail-2-attachments" name="wpcf7-mail-2-attachments" class="wide" size="70" value="<?php echo esc_attr( $cf->mail_2['attachments'] ); ?>" />
|
---|
| 212 | </div>
|
---|
| 213 |
|
---|
| 214 | <div class="pseudo-hr"></div>
|
---|
| 215 |
|
---|
| 216 | <div class="mail-field">
|
---|
| 217 | <input type="checkbox" id="wpcf7-mail-2-use-html" name="wpcf7-mail-2-use-html" value="1"<?php echo ( $cf->mail_2['use_html'] ) ? ' checked="checked"' : ''; ?> />
|
---|
| 218 | <label for="wpcf7-mail-2-use-html"><?php echo esc_html( __( 'Use HTML content type', 'wpcf7' ) ); ?></label>
|
---|
| 219 | </div>
|
---|
| 220 |
|
---|
| 221 | </td>
|
---|
| 222 | <td scope="col" style="width: 50%;">
|
---|
| 223 |
|
---|
| 224 | <div class="mail-field">
|
---|
| 225 | <label for="wpcf7-mail-2-body"><?php echo esc_html( __( 'Message body:', 'wpcf7' ) ); ?></label><br />
|
---|
| 226 | <textarea id="wpcf7-mail-2-body" name="wpcf7-mail-2-body" cols="100" rows="16"><?php echo esc_html( $cf->mail_2['body'] ); ?></textarea>
|
---|
| 227 | </div>
|
---|
| 228 |
|
---|
| 229 | </td>
|
---|
| 230 | </tr>
|
---|
| 231 | </tbody>
|
---|
| 232 | </table>
|
---|
| 233 |
|
---|
| 234 | <table class="widefat" style="margin-top: 1em;">
|
---|
| 235 | <thead><tr><th scope="col"><?php echo esc_html( __( 'Messages', 'wpcf7' ) ); ?> <span id="message-fields-toggle-switch"></span></th></tr></thead>
|
---|
| 236 |
|
---|
| 237 | <tbody>
|
---|
| 238 | <tr>
|
---|
| 239 | <td scope="col">
|
---|
| 240 | <div id="message-fields">
|
---|
| 241 |
|
---|
| 242 | <div class="message-field">
|
---|
| 243 | <label for="wpcf7-message-mail-sent-ok"><em># <?php echo esc_html( __( "Sender's message was sent successfully", 'wpcf7' ) ); ?></em></label><br />
|
---|
| 244 | <input type="text" id="wpcf7-message-mail-sent-ok" name="wpcf7-message-mail-sent-ok" class="wide" size="70" value="<?php echo esc_attr( $cf->messages['mail_sent_ok'] ); ?>" />
|
---|
| 245 | </div>
|
---|
| 246 |
|
---|
| 247 | <div class="message-field">
|
---|
| 248 | <label for="wpcf7-message-mail-sent-ng"><em># <?php echo esc_html( __( "Sender's message was failed to send", 'wpcf7' ) ); ?></em></label><br />
|
---|
| 249 | <input type="text" id="wpcf7-message-mail-sent-ng" name="wpcf7-message-mail-sent-ng" class="wide" size="70" value="<?php echo esc_attr( $cf->messages['mail_sent_ng'] ); ?>" />
|
---|
| 250 | </div>
|
---|
| 251 |
|
---|
| 252 | <div class="message-field">
|
---|
| 253 | <label for="wpcf7-message-akismet-says-spam"><em># <?php echo esc_html( __( "Akismet judged the sending activity as spamming", 'wpcf7' ) ); ?></em></label><br />
|
---|
| 254 | <input type="text" id="wpcf7-message-akismet-says-spam" name="wpcf7-message-akismet-says-spam" class="wide" size="70" value="<?php echo esc_attr( $cf->messages['akismet_says_spam'] ); ?>" />
|
---|
| 255 | </div>
|
---|
| 256 |
|
---|
| 257 | <div class="message-field">
|
---|
| 258 | <label for="wpcf7-message-validation-error"><em># <?php echo esc_html( __( "Validation errors occurred", 'wpcf7' ) ); ?></em></label><br />
|
---|
| 259 | <input type="text" id="wpcf7-message-validation-error" name="wpcf7-message-validation-error" class="wide" size="70" value="<?php echo esc_attr( $cf->messages['validation_error'] ); ?>" />
|
---|
| 260 | </div>
|
---|
| 261 |
|
---|
| 262 | <div class="message-field" style="margin-top: 1em;">
|
---|
| 263 | <label for="wpcf7-message-invalid-required"><em># <?php echo esc_html( __( "There is a field that sender is needed to fill in", 'wpcf7' ) ); ?></em></label><br />
|
---|
| 264 | <input type="text" id="wpcf7-message-invalid-required" name="wpcf7-message-invalid-required" class="wide" size="70" value="<?php echo esc_attr( $cf->messages['invalid_required'] ); ?>" />
|
---|
| 265 | </div>
|
---|
| 266 |
|
---|
| 267 | <div class="message-field">
|
---|
| 268 | <label for="wpcf7-message-invalid-email"><em># <?php echo esc_html( __( "Email address that sender entered is invalid", 'wpcf7' ) ); ?></em></label><br />
|
---|
| 269 | <input type="text" id="wpcf7-message-invalid-email" name="wpcf7-message-invalid-email" class="wide" size="70" value="<?php echo esc_attr( $cf->messages['invalid_email'] ); ?>" />
|
---|
| 270 | </div>
|
---|
| 271 |
|
---|
| 272 | <div class="message-field">
|
---|
| 273 | <label for="wpcf7-message-accept-terms"><em># <?php echo esc_html( __( "There is a field of term that sender is needed to accept", 'wpcf7' ) ); ?></em></label><br />
|
---|
| 274 | <input type="text" id="wpcf7-message-accept-terms" name="wpcf7-message-accept-terms" class="wide" size="70" value="<?php echo esc_attr( $cf->messages['accept_terms'] ); ?>" />
|
---|
| 275 | </div>
|
---|
| 276 |
|
---|
| 277 | <div class="message-field">
|
---|
| 278 | <label for="wpcf7-message-quiz-answer-not-correct"><em># <?php echo esc_html( __( "Sender doesn't enter the correct answer to the quiz", 'wpcf7' ) ); ?></em></label><br />
|
---|
| 279 | <input type="text" id="wpcf7-message-quiz-answer-not-correct" name="wpcf7-message-quiz-answer-not-correct" class="wide" size="70" value="<?php echo esc_attr( $cf->messages['quiz_answer_not_correct'] ); ?>" />
|
---|
| 280 | </div>
|
---|
| 281 |
|
---|
| 282 | <div class="message-field">
|
---|
| 283 | <label for="wpcf7-message-captcha-not-match"><em># <?php echo esc_html( __( "The code that sender entered does not match the CAPTCHA", 'wpcf7' ) ); ?></em></label><br />
|
---|
| 284 | <input type="text" id="wpcf7-message-captcha-not-match" name="wpcf7-message-captcha-not-match" class="wide" size="70" value="<?php echo esc_attr( $cf->messages['captcha_not_match'] ); ?>" />
|
---|
| 285 | </div>
|
---|
| 286 |
|
---|
| 287 | <div class="message-field">
|
---|
| 288 | <label for="wpcf7-message-upload-failed"><em># <?php echo esc_html( __( "Uploading a file fails for any reason", 'wpcf7' ) ); ?></em></label><br />
|
---|
| 289 | <input type="text" id="wpcf7-message-upload-failed" name="wpcf7-message-upload-failed" class="wide" size="70" value="<?php echo esc_attr( $cf->messages['upload_failed'] ); ?>" />
|
---|
| 290 | </div>
|
---|
| 291 |
|
---|
| 292 | <div class="message-field">
|
---|
| 293 | <label for="wpcf7-message-upload-file-type-invalid"><em># <?php echo esc_html( __( "Uploaded file is not allowed file type", 'wpcf7' ) ); ?></em></label><br />
|
---|
| 294 | <input type="text" id="wpcf7-message-upload-file-type-invalid" name="wpcf7-message-upload-file-type-invalid" class="wide" size="70" value="<?php echo esc_attr( $cf->messages['upload_file_type_invalid'] ); ?>" />
|
---|
| 295 | </div>
|
---|
| 296 |
|
---|
| 297 | <div class="message-field">
|
---|
| 298 | <label for="wpcf7-message-upload-file-too-large"><em># <?php echo esc_html( __( "Uploaded file is too large", 'wpcf7' ) ); ?></em></label><br />
|
---|
| 299 | <input type="text" id="wpcf7-message-upload-file-too-large" name="wpcf7-message-upload-file-too-large" class="wide" size="70" value="<?php echo esc_attr( $cf->messages['upload_file_too_large'] ); ?>" />
|
---|
| 300 | </div>
|
---|
| 301 |
|
---|
| 302 | <div class="message-field">
|
---|
| 303 | <label for="wpcf7-message-upload-failed-php-error"><em># <?php echo esc_html( __( "Uploading a file fails for PHP error", 'wpcf7' ) ); ?></em></label><br />
|
---|
| 304 | <input type="text" id="wpcf7-message-upload-failed-php-error" name="wpcf7-message-upload-failed-php-error" class="wide" size="70" value="<?php echo esc_attr( $cf->messages['upload_failed_php_error'] ); ?>" />
|
---|
| 305 | </div>
|
---|
| 306 |
|
---|
| 307 | </div>
|
---|
| 308 | </td>
|
---|
| 309 | </tr>
|
---|
| 310 | </tbody>
|
---|
| 311 | </table>
|
---|
| 312 |
|
---|
| 313 | <table class="widefat" style="margin-top: 1em;">
|
---|
| 314 | <thead><tr><th scope="col"><?php echo esc_html( __( 'Additional Settings', 'wpcf7' ) ); ?> <span id="additional-settings-fields-toggle-switch"></span></th></tr></thead>
|
---|
| 315 |
|
---|
| 316 | <tbody>
|
---|
| 317 | <tr>
|
---|
| 318 | <td scope="col">
|
---|
| 319 | <div id="additional-settings-fields">
|
---|
| 320 | <textarea id="wpcf7-additional-settings" name="wpcf7-additional-settings" cols="100" rows="8"><?php echo esc_html( $cf->additional_settings ); ?></textarea>
|
---|
| 321 | </div>
|
---|
| 322 | </td>
|
---|
| 323 | </tr>
|
---|
| 324 | </tbody>
|
---|
| 325 | </table>
|
---|
| 326 |
|
---|
| 327 | <table class="widefat" style="margin-top: 1em;">
|
---|
| 328 | <tbody>
|
---|
| 329 | <tr>
|
---|
| 330 | <td scope="col">
|
---|
| 331 | <div class="save-contact-form">
|
---|
| 332 | <input type="submit" class="button button-highlighted" name="wpcf7-save" value="<?php echo esc_attr( __( 'Save', 'wpcf7' ) ); ?>" />
|
---|
| 333 | </div>
|
---|
| 334 | </td>
|
---|
| 335 | </tr>
|
---|
| 336 | </tbody>
|
---|
| 337 | </table>
|
---|
| 338 |
|
---|
| 339 | <?php endif; ?>
|
---|
| 340 |
|
---|
| 341 | </form>
|
---|
| 342 |
|
---|
| 343 | <?php endif; ?>
|
---|
| 344 | </div>
|
---|