PluginProbe ʕ •ᴥ•ʔ
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets / 3.2.2
WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets v3.2.2
4.1.1 3.9.5 3.9.6 4.0.0 4.0.1 4.1.0 trunk 2.12 2.13 2.14 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 3.4.9 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9 3.7.0 3.7.1 3.7.2 3.7.3 3.7.3-beta-1.0 3.7.4 3.7.4-beta-1.0 3.7.5 3.7.6 3.7.7 3.7.8 3.7.9 3.8.0 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4
wp-all-import / views / admin / license / index.php
wp-all-import / views / admin / license Last commit date
index.php 11 years ago
index.php
41 lines
1 <form class="licenses" method="post" action="<?php echo $this->baseUrl ?>" enctype="multipart/form-data">
2
3 <h2><?php _e('WP All Import Licenses', 'pmxi_plugin') ?></h2>
4 <hr />
5 <?php if ($this->errors->get_error_codes()): ?>
6 <?php $this->error() ?>
7 <?php endif ?>
8
9 <table class="form-table">
10 <tbody>
11 <?php foreach ($addons as $class => $addon) : if ( ! $addon['active'] ) continue; ?>
12 <tr valign="top">
13 <th scope="row" valign="middle" style="width:200px; vertical-align: middle;">
14 <?php echo $addon['title']; ?>
15 </th>
16 <td style="vertical-align: middle; width: 360px;">
17 <input id="<?php echo $class; ?>_license_key" name="licenses[<?php echo $class; ?>]" type="text" class="regular-text" value="<?php if (!empty($post['licenses'][$class])) esc_attr_e( $post['licenses'][$class] ); ?>" />
18 </td>
19 <td style="vertical-align: middle;">
20 <?php if( ! empty($post['licenses'][$class]) ) { ?>
21
22 <?php if( ! empty($post['statuses'][$class]) && $post['statuses'][$class] == 'valid' ) { ?>
23 <p style="color:green;"><?php _e('Active', 'pmxi_plugin'); ?></p>
24 <!--input type="submit" class="button-secondary" name="pmxi_license_deactivate[<?php echo $class; ?>]" value="<?php _e('Deactivate License', 'pmxi_plugin'); ?>"/-->
25 <?php } else { ?>
26 <input type="submit" class="button-secondary" name="pmxi_license_activate[<?php echo $class; ?>]" value="<?php _e('Activate License', 'pmxi_plugin'); ?>"/>
27 <?php } ?>
28
29 <?php } ?>
30 </td>
31 </tr>
32 <?php endforeach; ?>
33 </tbody>
34 </table>
35
36 <p>
37 <?php wp_nonce_field('edit-licenses', '_wpnonce_edit-licenses') ?>
38 <input type="hidden" name="is_licenses_submitted" value="1" />
39 <input type="submit" class="button-primary" value="<?php _e('Save', 'pmxi_plugin') ?>" />
40 </p>
41 </form>