PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.4
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.4
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/models/FrmFormMigrator.php +5 -5 6.35.4 View file →
@@ -53,10 +53,10 @@
53 53 ?>
54 54 <div class="wrap">
55 55 <h2 class="frm-h2"><?php echo esc_html( $this->name ); ?> Importer</h2>
56 56 <p class="howto">Import forms and settings automatically from <?php echo esc_html( $this->name ); ?>.</p>
57 - <div id="welcome-panel">
58 - <div style="margin-bottom:10px;">
57 + <div class="welcome-panel" id="welcome-panel">
58 + <div class="welcome-panel-content" style="text-align:center;margin-bottom:10px;">
59 59 <p class="about-description">
60 60 Select the forms to import.
61 61 </p>
62 62 <form class="frm_form_importer" method="post"
@@ -63,9 +63,9 @@
63 63 action="<?php echo esc_url( admin_url( 'admin-ajax.php' ) ); ?>">
64 64 <?php wp_nonce_field( 'nonce', 'frm_ajax' ); ?>
65 65 <input type="hidden" name="slug" value="<?php echo esc_attr( $this->slug ); ?>" />
66 66 <input type="hidden" name="action" value="frm_import_<?php echo esc_attr( $this->slug ); ?>" />
67 - <div style="max-width:400px;text-align:left;">
67 + <div style="margin:10px auto;max-width:400px;text-align:left;">
68 68 <?php
69 69 if ( empty( $this->get_forms() ) ) {
70 70 esc_html_e( 'No Forms Found.', 'formidable' );
71 71 }
@@ -85,9 +85,9 @@
85 85 </label>
86 86 </p>
87 87 <?php } ?>
88 88 </div>
89 - <p class="submit"><button type="submit" class="button button-primary frm-button-primary">Start Import</button></p>
89 + <button type="submit" class="button button-primary button-hero">Start Import</button>
90 90 </form>
91 91 <div id="frm-importer-process" class="frm-importer-process frm_hidden">
92 92
93 93 <p class="process-count">
@@ -369,9 +369,9 @@
369 369 * @param array $form parameters for the new form to be created. Only
370 370 * the name key is a must. The keys are the column
371 371 * names of the forms table in the DB.
372 372 *
373 - * @return bool|int The ID of the newly created form or false on failure.
373 + * @return int The ID of the newly created form.
374 374 */
375 375 protected function create_form( $form ) {
376 376 $form['form_key'] = $form['name'];
377 377 $form['status'] = 'published';