PluginProbe
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts / 2.2.7
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts v2.2.7
2.7.7 2.7.6 2.7.5 2.7.4 trunk 1.3 2.0.4 2.0.6 2.1.91 2.2.4 2.2.7 2.2.9 2.3.1 2.3.10 2.4.10 2.4.2 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.6.0 2.6.1 2.7.0 All 28 releases
← All changes | admin/pages/import.php +5 -5 2.4.22.2.7 View file →
@@ -18,11 +18,11 @@
18 18 */
19 19 class WINP_ImportPage extends WINP_Page {
20 20
21 21 /**
22 - * @param Wbcr_Factory450_Plugin $plugin
22 + * @param Wbcr_Factory419_Plugin $plugin
23 23 */
24 - public function __construct( Wbcr_Factory450_Plugin $plugin ) {
24 + public function __construct( Wbcr_Factory419_Plugin $plugin ) {
25 25 $this->menu_post_type = WINP_SNIPPETS_POST_TYPE;
26 26
27 27 $this->id = "import";
28 28 $this->menu_title = __( 'Import/Export', 'insert-php' );
@@ -77,9 +77,9 @@
77 77 <span class="dashicons dashicons-info"></span><?php echo sprintf( __( 'To import more then one snippet at a time, you need to purchase <a href="%s">Woody snippets PRO</a>', 'insert-php' ), WINP_Plugin::app()->get_support()->get_site_url( true, 'import-page' ) ); ?>
78 78 </p>
79 79 </div>
80 80 <?php
81 - } else if ( isset( $_POST['wbcr_inp_import_form_action'] ) ) { ?>
81 + } else if ( isset( $_POST['wbcr_inp_import_form_saved'] ) ) { ?>
82 82 <div id="message" class="alert alert-warning">
83 83 <p><?php _e( 'No files selected!', 'insert-php' ) ?></p>
84 84 </div>
85 85 <?php }
@@ -104,9 +104,9 @@
104 104 <div class="wrap">
105 105 <div class="<?php echo WINP_Helper::get_factory_class(); ?> winp-import-snippets">
106 106 <form method="post" class="form-horizontal" enctype="multipart/form-data">
107 107 <?php $this->getMessage() ?>
108 - <h3><?php _e( 'Woody Code Snippets Import', 'insert-php' ) ?></h3>
108 + <h3><?php _e( 'Woody ad snippets Import', 'insert-php' ) ?></h3>
109 109 <div class="row">
110 110 <div class="<?php echo $import_tab ? 'col-md-9' : 'col-md-12' ?>">
111 111 <div class="nav-tab-wrapper">
112 112 <a href="<?php echo $import_url; ?>" class="nav-tab<?php echo( $import_tab ? ' nav-tab-active' : '' ); ?>">
@@ -162,9 +162,9 @@
162 162 </fieldset>
163 163 <div class="form-group form-horizontal">
164 164 <div class="control-group controls col-sm-12">
165 165 <?php wp_nonce_field( 'wbcr_inp_import_form', 'wbcr_inp_import_form_nonce_field' ); ?>
166 - <input name="<?php echo 'wbcr_inp_import_form_action' ?>" class="btn btn-primary" type="submit" value="<?php _e( 'Upload files and import', 'insert-php' ) ?>"/>
166 + <input name="<?php echo 'wbcr_inp_import_form_saved' ?>" class="btn btn-primary" type="submit" value="<?php _e( 'Upload files and import', 'insert-php' ) ?>"/>
167 167 </div>
168 168 </div>
169 169 </div>
170 170 <?php else: ?>