| @@ -68,9 +68,9 @@ | ||
| 68 | 68 | <?php do_action( 'frm_import_settings' ); ?> |
| 69 | 69 | |
| 70 | 70 | <h2 class="frm-h2"><?php esc_html_e( 'Export', 'formidable' ); ?></h2> |
| 71 | 71 | <p class="howto"> |
| 72 | - <?php esc_html_e( 'Export your forms, entries, views, and styles so you can easily import them on another site.', 'formidable' ); ?> | |
| 72 | + <?php echo esc_html( __( 'Export your forms, entries, views, and styles so you can easily import them on another site.', 'formidable' ) ); ?> | |
| 73 | 73 | </p> |
| 74 | 74 | <form method="post" action="<?php echo esc_url( admin_url( 'admin-ajax.php' ) ); ?>" id="frm_export_xml" class="frm-fields frm_grid_container"> |
| 75 | 75 | <input type="hidden" name="action" value="frm_export_xml" /> |
| 76 | 76 | <?php wp_nonce_field( 'export-xml-nonce', 'export-xml' ); ?> |
| @@ -79,9 +79,9 @@ | ||
| 79 | 79 | <label for="format"><?php esc_html_e( 'Export Format', 'formidable' ); ?></label> |
| 80 | 80 | <select id="format" name="format"> |
| 81 | 81 | <?php foreach ( $export_format as $t => $type ) { ?> |
| 82 | 82 | <option value="<?php echo esc_attr( $t ); ?>" data-support="<?php echo esc_attr( $type['support'] ); ?>" <?php echo isset( $type['count'] ) ? 'data-count="' . esc_attr( $type['count'] ) . '"' : ''; ?>> |
| 83 | - <?php echo esc_html( $type['name'] ?? $t ); ?> | |
| 83 | + <?php echo esc_html( isset( $type['name'] ) ? $type['name'] : $t ); ?> | |
| 84 | 84 | </option> |
| 85 | 85 | <?php } ?> |
| 86 | 86 | </select> |
| 87 | 87 | </p> |
| @@ -186,14 +186,13 @@ | ||
| 186 | 186 | </a> |
| 187 | 187 | </td> |
| 188 | 188 | <td class="column-entries"> |
| 189 | 189 | <?php |
| 190 | - $style = $form->options['custom_style'] ?? 1; | |
| 191 | - | |
| 192 | - if ( $style ) { | |
| 190 | + $style = isset( $form->options['custom_style'] ) ? $form->options['custom_style'] : 1; | |
| 191 | + if ( empty( $style ) ) { | |
| 192 | + echo '0'; | |
| 193 | + } else { | |
| 193 | 194 | echo '1'; |
| 194 | - } else { | |
| 195 | - echo '0'; | |
| 196 | 195 | } |
| 197 | 196 | ?> |
| 198 | 197 | </td> |
| 199 | 198 | </tr> |