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 / addons / index.php
wp-all-import / views / admin / addons Last commit date
index.php 11 years ago
index.php
117 lines
1 <div class="wrap" style="max-width:970px;">
2
3 <h2><?php _e('WP All Import Add-ons', 'pmxi_plugin') ?></h2>
4
5 <div id="pmxi-add-ons" class="clear">
6
7 <div class="pmxi-add-on-group clear">
8 <h3><?php _e('Premium Add-ons', 'pmxi_plugin'); ?></h3>
9 <?php foreach( $premium as $addon ): ?>
10 <div class="pmxi-add-on wp-box <?php if( $addon['active'] ): ?>pmxi-add-on-active<?php endif; ?>">
11 <a target="_blank" href="<?php echo $addon['url']; ?>">
12 <img src="<?php echo $addon['thumbnail']; ?>" />
13 </a>
14 <div class="inner">
15 <h3><a target="_blank" href="<?php echo $addon['url']; ?>"><?php echo $addon['title']; ?></a></h3>
16 <p><?php echo $addon['description']; ?></p>
17 </div>
18 <div class="footer">
19 <?php if ( $addon['active'] ): ?>
20 <a class="button button-disabled"><span class="pmxi-sprite-tick"></span><?php _e("Installed",'acf'); ?></a>
21 <?php elseif ( $addon['free_installed'] ): ?>
22 <a class="button button-disabled"><span class="pmxi-sprite-tick"></span><?php _e("Free Version Installed",'acf'); ?></a>
23 <?php elseif ($addon['required_plugins']): ?>
24 <?php
25 $all_required_plugins_installed = true;
26 foreach ($addon['required_plugins'] as $name => $active):
27 if (!$active){
28 ?>
29 <p style="margin:3px 0px;"><?php echo $name . __(' required', 'pmxi_plugin'); ?></p>
30 <?php
31 $all_required_plugins_installed = false;
32 }
33 endforeach;
34 if ($all_required_plugins_installed){
35 ?>
36 <a target="_blank" href="<?php echo $addon['url']; ?>" class="button"><?php _e("Download",'acf'); ?></a>
37 <?php
38 }
39 ?>
40 <?php else: ?>
41 <a target="_blank" href="<?php echo $addon['url']; ?>" class="button"><?php _e("Purchase & Install",'acf'); ?></a>
42 <?php endif; ?>
43 </div>
44 </div>
45 <?php endforeach; ?>
46 </div>
47
48 <div class="pmxi-add-on-group clear">
49 <h3><?php _e('Free Add-ons', 'pmxi_plugin'); ?></h3>
50 <?php foreach( $free as $addon ): ?>
51 <div class="pmxi-add-on wp-box <?php if( $addon['active'] ): ?>pmxi-add-on-active<?php endif; ?>">
52 <a target="_blank" href="<?php echo $addon['url']; ?>">
53 <img src="<?php echo $addon['thumbnail']; ?>" />
54 </a>
55 <div class="inner">
56 <h3><a target="_blank" href="<?php echo $addon['url']; ?>"><?php echo $addon['title']; ?></a></h3>
57 <p><?php echo $addon['description']; ?></p>
58 </div>
59 <div class="footer">
60 <?php if( $addon['active'] ): ?>
61 <a class="button button-disabled"><span class="pmxi-sprite-tick"></span><?php _e("Installed",'acf'); ?></a>
62 <?php elseif ($addon['paid_installed']): ?>
63 <a class="button button-disabled"><span class="pmxi-sprite-tick"></span><?php _e("Paid Version Installed",'acf'); ?></a>
64 <?php elseif ($addon['required_plugins']): ?>
65 <?php
66 $all_required_plugins_installed = true;
67 foreach ($addon['required_plugins'] as $name => $active):
68 if (!$active){
69 ?>
70 <p style="margin:3px 0px;"><?php echo $name . __(' required', 'pmxi_plugin'); ?></p>
71 <?php
72 $all_required_plugins_installed = false;
73 }
74 endforeach;
75 if ($all_required_plugins_installed){
76 ?>
77 <a target="_blank" href="<?php echo $addon['url']; ?>" class="button"><?php _e("Download",'acf'); ?></a>
78 <?php
79 }
80 ?>
81 <?php else: ?>
82 <a target="_blank" href="<?php echo $addon['url']; ?>" class="button"><?php _e("Download",'acf'); ?></a>
83 <?php endif; ?>
84 </div>
85 </div>
86 <?php endforeach; ?>
87 </div>
88
89
90 </div>
91
92 </div>
93 <script type="text/javascript">
94 (function($) {
95
96 $(window).load(function(){
97
98 $('#pmxi-add-ons .pmxi-add-on-group').each(function(){
99
100 var $el = $(this),
101 h = 0;
102
103
104 $el.find('.pmxi-add-on').each(function(){
105
106 h = Math.max( $(this).height(), h );
107
108 });
109
110 $el.find('.pmxi-add-on').height( h );
111
112 });
113
114 });
115
116 })(jQuery);
117 </script>