PluginProbe
LWS Tools / 2.6
LWS Tools v2.6
trunk 1.0 1.0.1 2.0 2.1 2.1.5 2.2 2.2.1 2.3 2.3.1 2.4 2.4.1 2.4.2 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.5 2.6 2.6.1 2.6.1.5 2.6.2 2.6.3 2.6.4
lws-tools / view / plugins.php

plugins.php in LWS Tools 2.6, at view/plugins.php

55 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <!-- TEMPLATE FOR OUR PLUGINS -->
2 <!-- Here,too, need to change URLs and slugs -->
3
4 <div class="lws_tk_div_title_plugins">
5 <h3 class="lws_tk_title_plugins"> <?php esc_html_e('Discover our plugins', 'lws-tools'); ?>
6 </h3>
7 <p class="lws_tk_text_base">
8 <?php esc_html_e('At LWS, we have developped several plugins for WordPress that you may find below. Click on the "Install" button to get those freely.', 'lws-tools'); ?>
9 </p>
10 </div>
11
12 <div>
13 <?php foreach ($plugins as $slug => $plugin) : ?>
14 <div class="lws_tk_block_plugin_in_page">
15 <div class="lws_tk_text_plugin_left">
16 <h3 class="lws_tk_title_plugin">
17 <img style="vertical-align:top; margin-right:5px"
18 src="<?php echo esc_url(plugins_url('images/plugin_' . $slug . '.svg', __DIR__))?>"
19 alt="" width="30px" height="30px">
20 <?php echo esc_html($plugin[0]);?>
21 <?php if ($plugin[2]) : ?>
22 <span class="lws_tk_recommended"> <?php esc_html_e('recommended', 'lws-tools');?></span>
23 <?php endif ?>
24 </h3>
25 <p class="lws_tk_text_plugin">
26 <?php echo wp_kses($plugin[1], array('strong' => array())); ?>
27 </p>
28 </div>
29
30 <button class="lws_tk_button_ad_block lws_tk_plugin_button_right" onclick="install_plugin(this)"
31 id="<?php echo esc_attr('bis_' . $slug); ?>"
32 value="<?php echo esc_attr($slug); ?>">
33 <span>
34 <img style="vertical-align:sub; margin-right:5px"
35 src="<?php echo esc_url(plugins_url('images/securise.svg', __DIR__))?>"
36 alt="" width="20px" height="19px">
37 <span class="lws_tk_button_text"><?php esc_html_e('Install', 'lws-tools'); ?></span>
38 </span>
39 <span class="hidden" name="loading" style="padding-left:5px">
40 <img style="vertical-align:sub; margin-right:5px"
41 src="<?php echo esc_url(plugins_url('images/loading.svg', __DIR__))?>"
42 alt="" width="18px" height="18px">
43 </span>
44 <span class="hidden" name="activate"><?php echo esc_html_e('Activate', 'lws-tools'); ?></span>
45 <span class="hidden" name="validated">
46 <img style="vertical-align:sub; margin-right:5px" width="18px" height="18px"
47 src="<?php echo esc_url(plugins_url('images/check_blanc.svg', __DIR__))?>">
48 <?php esc_html_e('Activated', 'lws-tools'); ?>
49 </span>
50 </button>
51 </div>
52 <?php endforeach ?>
53 </div>
54
55 <!-- END -->