CSS & JavaScript Toolbox - Version 9.3.1

Version Description

  • Added: Promotional banner
Download this release

Release Info

Developer wipeoutmedia
Plugin Icon 128x128 CSS & JavaScript Toolbox
Version 9.3.1
Comparing to
See all releases

Code changes from version 9.3 to 9.3.1

css-js-toolbox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: CSS & JavaScript Toolbox
4
  Plugin URI: http://css-javascript-toolbox.com/
5
  Description: Easily add CSS, JavaScript, HTML and PHP code to unique CJT code blocks and assign them anywhere on your website.
6
- Version: 9.3
7
  Author: Wipeout Media
8
  Author URI: http://css-javascript-toolbox.com
9
  License:
@@ -98,7 +98,7 @@ class CJTPlugin extends CJTHookableClass
98
  /**
99
  *
100
  */
101
- const VERSION = '9.3';
102
 
103
  /**
104
  *
3
  Plugin Name: CSS & JavaScript Toolbox
4
  Plugin URI: http://css-javascript-toolbox.com/
5
  Description: Easily add CSS, JavaScript, HTML and PHP code to unique CJT code blocks and assign them anywhere on your website.
6
+ Version: 9.3.1
7
  Author: Wipeout Media
8
  Author URI: http://css-javascript-toolbox.com
9
  License:
98
  /**
99
  *
100
  */
101
+ const VERSION = '9.3.1';
102
 
103
  /**
104
  *
readme.txt CHANGED
@@ -7,8 +7,8 @@ License: GPLv2 or later
7
  License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
8
  Requires at least: 3.9
9
  Requires PHP: 5.6
10
- Tested up to: 5.2.2
11
- Stable tag: 9.3
12
 
13
  Add and manage CSS, JavaScript, HTML and PHP code to unique CJT Code Blocks and assign them anywhere on your website. Compatible with the Gutenberg Editor.
14
 
@@ -144,6 +144,10 @@ Due to the overwhelming amount of emails we get for users requesting support for
144
  21. See Code Block information at a glance (CJT PLUS ONLY)
145
 
146
  == Changelog ==
 
 
 
 
147
  = 9.3 =
148
  * Fix: SQL vulnerability for uninstaller.
149
 
7
  License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
8
  Requires at least: 3.9
9
  Requires PHP: 5.6
10
+ Tested up to: 5.2.3
11
+ Stable tag: 9.3.1
12
 
13
  Add and manage CSS, JavaScript, HTML and PHP code to unique CJT Code Blocks and assign them anywhere on your website. Compatible with the Gutenberg Editor.
14
 
144
  21. See Code Block information at a glance (CJT PLUS ONLY)
145
 
146
  == Changelog ==
147
+
148
+ = 9.3.1 =
149
+ - Added: Promotional banner
150
+
151
  = 9.3 =
152
  * Fix: SQL vulnerability for uninstaller.
153
 
views/blocks/manager/public/css/blocks.css CHANGED
@@ -6,9 +6,32 @@ body{min-width: 700px;}
6
  #cjt-banner-bar-right {right: 0; position: absolute;top: 2px;}
7
  #cjt-banner-bar-right .cjt-banner-link {margin-bottom: 6px; font-size: 14px}
8
  #cjt-banner-bar-center {
 
9
  position: absolute;
10
  top: 0px;
11
- left: 40%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  }
13
  span#support-us {position: absolute;top: 15px;left: 370px;font-size: 13px;color: #aaa;font-weight: bold;}
14
 
6
  #cjt-banner-bar-right {right: 0; position: absolute;top: 2px;}
7
  #cjt-banner-bar-right .cjt-banner-link {margin-bottom: 6px; font-size: 14px}
8
  #cjt-banner-bar-center {
9
+ display: flex;
10
  position: absolute;
11
  top: 0px;
12
+ left: 35%;
13
+ }
14
+ #cjt-banner-bar-center img {
15
+ width: 170px;
16
+ margin-right: 20px;
17
+ }
18
+ #cjt-banner-bar-center h3 {
19
+ text-transform: uppercase;
20
+ font-weight: 900;
21
+ margin-top: 0;
22
+ }
23
+ #cjt-banner-bar-center p {
24
+ font-weight: 600;
25
+ margin: 15px 0;
26
+ line-height: 1.2;
27
+ }
28
+ #cjt-banner-bar-center em {
29
+ position: absolute;
30
+ bottom: -20px;
31
+ font-size: 11px;
32
+ text-align: center;
33
+ width: 100%;
34
+ font-weight: 600;
35
  }
36
  span#support-us {position: absolute;top: 15px;left: 370px;font-size: 13px;color: #aaa;font-weight: bold;}
37
 
views/blocks/manager/public/images/damo_head.jpg ADDED
Binary file
views/blocks/manager/tmpl/blocks.html.tmpl CHANGED
@@ -26,8 +26,15 @@ defined('ABSPATH') or die("Access denied");
26
 
27
  <?php if ( ! class_exists( 'CJTPlusPluginInterface' ) ) : ?>
28
  <div id="cjt-banner-bar-center">
29
- <a href="https://css-javascript-toolbox.com/pricing" target="_blank">
30
- <img src="<?php echo plugin_dir_url( __FILE__ ); ?>../public/images/CJT_Free_Promo_Banner.png" alt="CJT PLUS"></a>
 
 
 
 
 
 
 
31
  </div>
32
  <?php endif; ?>
33
 
@@ -36,7 +43,7 @@ defined('ABSPATH') or die("Access denied");
36
  <span><?php echo cssJSToolbox::getText('Learn') ?></span>: <a target="_blank" href="http://<?php echo cssJSToolbox::CJT_WEB_SITE_DOMAIN ?>/documentation"><?php echo cssJSToolbox::getText('Online Help') ?></a>
37
  </span>
38
  </div>
39
- <div id="cjtoolbox-blocks-page-form" method="post">
40
  <?php wp_nonce_field('cjtoolbox'); ?>
41
  <?php wp_nonce_field('closedpostboxes', 'closedpostboxesnonce', false); ?>
42
  <?php wp_nonce_field('meta-box-order', 'meta-box-order-nonce', false); ?>
26
 
27
  <?php if ( ! class_exists( 'CJTPlusPluginInterface' ) ) : ?>
28
  <div id="cjt-banner-bar-center">
29
+ <img src="<?php echo plugin_dir_url( __FILE__ ); ?>../public/images/damo_head.jpg" alt="CJT PLUS">
30
+
31
+ <div>
32
+ <h3>We Need Your Support</h3>
33
+ <p>A purchase of CJT PLUS allows us to continue<br/>developing this solution for you and the<br/> WordPress community.</p>
34
+ <p><a href="http://<?php echo cssJSToolbox::CJT_WEB_SITE_DOMAIN ?>/pricing" target="_blank">Click to save 50% on CJT PLUS this month</a></p>
35
+ <p>Also, why not consider donating to this<br/> great organization called <a href="https://waterforafrica.com.au" target="_blank">Water for Africa</a></p>
36
+ </div>
37
+ <em>(NOTE: This promotional image and textual content is removed in CJT PLUS)</em>
38
  </div>
39
  <?php endif; ?>
40
 
43
  <span><?php echo cssJSToolbox::getText('Learn') ?></span>: <a target="_blank" href="http://<?php echo cssJSToolbox::CJT_WEB_SITE_DOMAIN ?>/documentation"><?php echo cssJSToolbox::getText('Online Help') ?></a>
44
  </span>
45
  </div>
46
+ <div id="cjtoolbox-blocks-page-form" method="post" <?php echo ! class_exists( 'CJTPlusPluginInterface' ) ? 'style="margin-top:100px;"' : ''; ?>>
47
  <?php wp_nonce_field('cjtoolbox'); ?>
48
  <?php wp_nonce_field('closedpostboxes', 'closedpostboxesnonce', false); ?>
49
  <?php wp_nonce_field('meta-box-order', 'meta-box-order-nonce', false); ?>