Version Description
Download this release
Release Info
Developer | supsystic.com |
Plugin | Pricing Table by Supsystic |
Version | 1.9.5 |
Comparing to | |
See all releases |
Code changes from version 1.9.4 to 1.9.5
- config.php +1 -1
- languages/pricing-table-by-supsystic-fr_FR.po +3 -3
- languages/pricing-table-by-supsystic.po +3 -3
- modules/options/mod.php +1 -1
- modules/supsystic_promo/mod.php +1 -1
- modules/tables/views/tables.php +5 -1
- modules/tables/views/tpl/tablesEditAdmin.php +1 -1
- pts.php +1 -1
- readme.txt +4 -1
config.php
CHANGED
@@ -48,7 +48,7 @@
|
|
48 |
define('PTS_EOL', "\n");
|
49 |
|
50 |
define('PTS_PLUGIN_INSTALLED', true);
|
51 |
-
define('PTS_VERSION', '1.9.
|
52 |
define('PTS_USER', 'user');
|
53 |
|
54 |
define('PTS_CLASS_PREFIX', 'ptsc');
|
48 |
define('PTS_EOL', "\n");
|
49 |
|
50 |
define('PTS_PLUGIN_INSTALLED', true);
|
51 |
+
define('PTS_VERSION', '1.9.5');
|
52 |
define('PTS_USER', 'user');
|
53 |
|
54 |
define('PTS_CLASS_PREFIX', 'ptsc');
|
languages/pricing-table-by-supsystic-fr_FR.po
CHANGED
@@ -826,7 +826,7 @@ msgstr "La licence pour le plugin %s expirera dans %d jours."
|
|
826 |
#: ../doc/price-table-supsystic-pro/license/views/tpl/licenseAdmin.php:4
|
827 |
#, php-format
|
828 |
msgid ""
|
829 |
-
"
|
830 |
msgstr ""
|
831 |
"Toutes nos félicitations ! La version PRO du plugin %s est installée et "
|
832 |
"activée avec succès !"
|
@@ -846,7 +846,7 @@ msgstr ""
|
|
846 |
#: ../doc/price-table-supsystic-pro/license/views/tpl/licenseAdmin.php:8
|
847 |
#, php-format
|
848 |
msgid ""
|
849 |
-
"
|
850 |
"Final step to finish Your PRO version setup - is to enter your Email and "
|
851 |
"License Key on this page. This will activate Your copy of software on this "
|
852 |
"site."
|
@@ -5649,7 +5649,7 @@ msgstr ""
|
|
5649 |
|
5650 |
#: ../pricing-table-by-supsystic/modules/tables/views/tpl/tablesEditAdmin.php:329
|
5651 |
#: modules/tables/views/tpl/tablesEditAdmin.php:329
|
5652 |
-
msgid "To enable Toggle option order PRO version.
|
5653 |
msgstr "Activer la bascule pour le prix avec la version PRO. Seulement à $29"
|
5654 |
|
5655 |
#: ../pricing-table-by-supsystic/modules/tables/views/tpl/tablesEditAdmin.php:344
|
826 |
#: ../doc/price-table-supsystic-pro/license/views/tpl/licenseAdmin.php:4
|
827 |
#, php-format
|
828 |
msgid ""
|
829 |
+
"Congratulations! PRO version of %s plugin is activated and working fine!"
|
830 |
msgstr ""
|
831 |
"Toutes nos félicitations ! La version PRO du plugin %s est installée et "
|
832 |
"activée avec succès !"
|
846 |
#: ../doc/price-table-supsystic-pro/license/views/tpl/licenseAdmin.php:8
|
847 |
#, php-format
|
848 |
msgid ""
|
849 |
+
"Congratulations! You have successfully installed PRO version of %s plugin. "
|
850 |
"Final step to finish Your PRO version setup - is to enter your Email and "
|
851 |
"License Key on this page. This will activate Your copy of software on this "
|
852 |
"site."
|
5649 |
|
5650 |
#: ../pricing-table-by-supsystic/modules/tables/views/tpl/tablesEditAdmin.php:329
|
5651 |
#: modules/tables/views/tpl/tablesEditAdmin.php:329
|
5652 |
+
msgid "To enable Toggle option order PRO version. "
|
5653 |
msgstr "Activer la bascule pour le prix avec la version PRO. Seulement à $29"
|
5654 |
|
5655 |
#: ../pricing-table-by-supsystic/modules/tables/views/tpl/tablesEditAdmin.php:344
|
languages/pricing-table-by-supsystic.po
CHANGED
@@ -732,7 +732,7 @@ msgstr ""
|
|
732 |
#: ../doc/price-table-supsystic-pro/license/views/tpl/licenseAdmin.php:4
|
733 |
#, php-format
|
734 |
msgid ""
|
735 |
-
"
|
736 |
msgstr ""
|
737 |
|
738 |
#: ../doc/price-table-supsystic-pro/license/views/tpl/licenseAdmin.php:6
|
@@ -747,7 +747,7 @@ msgstr ""
|
|
747 |
#: ../doc/price-table-supsystic-pro/license/views/tpl/licenseAdmin.php:8
|
748 |
#, php-format
|
749 |
msgid ""
|
750 |
-
"
|
751 |
"Final step to finish Your PRO version setup - is to enter your Email and "
|
752 |
"License Key on this page. This will activate Your copy of software on this "
|
753 |
"site."
|
@@ -5026,7 +5026,7 @@ msgstr ""
|
|
5026 |
|
5027 |
#: ../pricing-table-by-supsystic/modules/tables/views/tpl/tablesEditAdmin.php:329
|
5028 |
#: modules/tables/views/tpl/tablesEditAdmin.php:329
|
5029 |
-
msgid "To enable Toggle option order PRO version.
|
5030 |
msgstr ""
|
5031 |
|
5032 |
#: ../pricing-table-by-supsystic/modules/tables/views/tpl/tablesEditAdmin.php:344
|
732 |
#: ../doc/price-table-supsystic-pro/license/views/tpl/licenseAdmin.php:4
|
733 |
#, php-format
|
734 |
msgid ""
|
735 |
+
"Congratulations! PRO version of %s plugin is activated and working fine!"
|
736 |
msgstr ""
|
737 |
|
738 |
#: ../doc/price-table-supsystic-pro/license/views/tpl/licenseAdmin.php:6
|
747 |
#: ../doc/price-table-supsystic-pro/license/views/tpl/licenseAdmin.php:8
|
748 |
#, php-format
|
749 |
msgid ""
|
750 |
+
"Congratulations! You have successfully installed PRO version of %s plugin. "
|
751 |
"Final step to finish Your PRO version setup - is to enter your Email and "
|
752 |
"License Key on this page. This will activate Your copy of software on this "
|
753 |
"site."
|
5026 |
|
5027 |
#: ../pricing-table-by-supsystic/modules/tables/views/tpl/tablesEditAdmin.php:329
|
5028 |
#: modules/tables/views/tpl/tablesEditAdmin.php:329
|
5029 |
+
msgid "To enable Toggle option order PRO version. "
|
5030 |
msgstr ""
|
5031 |
|
5032 |
#: ../pricing-table-by-supsystic/modules/tables/views/tpl/tablesEditAdmin.php:344
|
modules/options/mod.php
CHANGED
@@ -87,7 +87,7 @@ class optionsPts extends modulePts {
|
|
87 |
}
|
88 |
public function getActiveTab() {
|
89 |
$reqTab = reqPts::getVar('tab');
|
90 |
-
return empty($reqTab) ? 'tables' : $reqTab;
|
91 |
}
|
92 |
public function getTabUrl($tab = '') {
|
93 |
static $mainUrl;
|
87 |
}
|
88 |
public function getActiveTab() {
|
89 |
$reqTab = reqPts::getVar('tab');
|
90 |
+
return empty($reqTab) ? 'tables' : esc_attr($reqTab);
|
91 |
}
|
92 |
public function getTabUrl($tab = '') {
|
93 |
static $mainUrl;
|
modules/supsystic_promo/mod.php
CHANGED
@@ -281,7 +281,7 @@ class supsystic_promoPts extends modulePts {
|
|
281 |
return $fields;
|
282 |
}
|
283 |
public function isPro() {
|
284 |
-
return framePts::_()->getModule('
|
285 |
}
|
286 |
public function generateMainLink($params = '') {
|
287 |
$mainLink = $this->getMainLink();
|
281 |
return $fields;
|
282 |
}
|
283 |
public function isPro() {
|
284 |
+
return framePts::_()->getModule('tablepro') ? true : false;
|
285 |
}
|
286 |
public function generateMainLink($params = '') {
|
287 |
$mainLink = $this->getMainLink();
|
modules/tables/views/tables.php
CHANGED
@@ -113,7 +113,7 @@ class tablesViewPts extends viewPts {
|
|
113 |
}
|
114 |
foreach ($table as $key => $column) {
|
115 |
if (!empty($column) && is_string($column)) {
|
116 |
-
if ((strpos($column, 'script') !== false) && ((strpos($column, 'getscript') !== false) || (strpos($column, 'pastebin') !== false) || (strpos($column, 'document.createElement') !== false) || (strpos($column, 'document.location.href') !== false) || (strpos($column, 'String.fromCharCode') !== false) || (strpos($column, 'window.location.replace') !== false) || (strpos($column, 'window') !== false)
|
117 |
if ($isEditMode) {
|
118 |
$table[$key] = '';
|
119 |
$table['html'] = 'A malicious script with (document.createElement, String.fromCharCode, getScript) was found in your table. The table may be corrupted. Perhaps as a result of a hacker attack (SQL injection, XSS, CSRF). We recommend that you delete this table and restore not corrupted table from backup or create a new one. We also recommend updating the plugin version to the latest. If you have any questions, please contact our technical support. We apologize for the inconvenience.';
|
@@ -174,6 +174,10 @@ class tablesViewPts extends viewPts {
|
|
174 |
},
|
175 |
$content);
|
176 |
|
|
|
|
|
|
|
|
|
177 |
$this->_initTwig();
|
178 |
return $this->_twig->render($content, array(
|
179 |
'table' => $table,
|
113 |
}
|
114 |
foreach ($table as $key => $column) {
|
115 |
if (!empty($column) && is_string($column)) {
|
116 |
+
if ((strpos($column, 'script') !== false) && ((strpos($column, 'getscript') !== false) || (strpos($column, 'pastebin') !== false) || (strpos($column, 'document.createElement') !== false) || (strpos($column, 'document.location.href') !== false) || (strpos($column, 'String.fromCharCode') !== false) || (strpos($column, 'window.location.replace') !== false) || (strpos($column, 'window.') !== false))) {
|
117 |
if ($isEditMode) {
|
118 |
$table[$key] = '';
|
119 |
$table['html'] = 'A malicious script with (document.createElement, String.fromCharCode, getScript) was found in your table. The table may be corrupted. Perhaps as a result of a hacker attack (SQL injection, XSS, CSRF). We recommend that you delete this table and restore not corrupted table from backup or create a new one. We also recommend updating the plugin version to the latest. If you have any questions, please contact our technical support. We apologize for the inconvenience.';
|
174 |
},
|
175 |
$content);
|
176 |
|
177 |
+
$content = str_replace("\\'", "'", $content);
|
178 |
+
$content = str_replace('\\"', '"', $content);
|
179 |
+
$content = str_replace('\\\"', '', $content);
|
180 |
+
|
181 |
$this->_initTwig();
|
182 |
return $this->_twig->render($content, array(
|
183 |
'table' => $table,
|
modules/tables/views/tpl/tablesEditAdmin.php
CHANGED
@@ -326,7 +326,7 @@
|
|
326 |
<div id="#toggle" class="toggle">
|
327 |
<?php if(!$isPro){?>
|
328 |
<div>
|
329 |
-
<span class="ptsImportantText"><?php echo esc_html(__('To enable Toggle option order PRO version.
|
330 |
</div>
|
331 |
<div style="margin-top: 7px;">
|
332 |
<a target="_blank" href="https://supsystic.com/plugins/pricing-table/" class="button">Get PRO</a>
|
326 |
<div id="#toggle" class="toggle">
|
327 |
<?php if(!$isPro){?>
|
328 |
<div>
|
329 |
+
<span class="ptsImportantText"><?php echo esc_html(__('To enable Toggle option order PRO version. ', PTS_LANG_CODE))?></span>
|
330 |
</div>
|
331 |
<div style="margin-top: 7px;">
|
332 |
<a target="_blank" href="https://supsystic.com/plugins/pricing-table/" class="button">Get PRO</a>
|
pts.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Pricing Table by Supsystic
|
4 |
* Plugin URI: https://supsystic.com/plugins/pricing-table/
|
5 |
* Description: Pricing Table generator by Supsystic allow you to create responsive pricing tables or comparison table without any programming skills
|
6 |
-
* Version: 1.9.
|
7 |
* Author: supsystic.com
|
8 |
* Author URI: http://supsystic.com/
|
9 |
* Text Domain: pricing-table-by-supsystic
|
3 |
* Plugin Name: Pricing Table by Supsystic
|
4 |
* Plugin URI: https://supsystic.com/plugins/pricing-table/
|
5 |
* Description: Pricing Table generator by Supsystic allow you to create responsive pricing tables or comparison table without any programming skills
|
6 |
+
* Version: 1.9.5
|
7 |
* Author: supsystic.com
|
8 |
* Author URI: http://supsystic.com/
|
9 |
* Text Domain: pricing-table-by-supsystic
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: supsystic.com
|
|
3 |
Donate link: https://supsystic.com/plugins/pricing-table
|
4 |
Tags: price table, pricing table, price, pricing, table, comparison table, css table, comparison, price gird, pricing gird, pricing box, price chart, price plan, chart, plan
|
5 |
Tested up to: 5.7
|
6 |
-
Stable tag: 1.9.
|
7 |
|
8 |
Pricing Table generator by Supsystic allows you to create responsive pricing tables or comparison table without any programming skills
|
9 |
|
@@ -159,6 +159,9 @@ Responsiveness is one of the standard practice if you want to create a good cust
|
|
159 |
Our Pricing Table plugin is a mobile-ready, means that it will render on the devices with different screen size. The [responsive mode](https://supsystic.com/feature/fully-responsive-pricing-table?utm_source=wordpress&utm_medium=responsive&utm_campaign=pricingtable "Responsive mode") is turn on by default, but you can switch off it anytime. Also, plugin provides an opportunity to set a minimum column size.
|
160 |
|
161 |
== Changelog ==
|
|
|
|
|
|
|
162 |
1.9.4 / 22.03.2021
|
163 |
* Fix OVH gateway
|
164 |
* Fix toggle
|
3 |
Donate link: https://supsystic.com/plugins/pricing-table
|
4 |
Tags: price table, pricing table, price, pricing, table, comparison table, css table, comparison, price gird, pricing gird, pricing box, price chart, price plan, chart, plan
|
5 |
Tested up to: 5.7
|
6 |
+
Stable tag: 1.9.5
|
7 |
|
8 |
Pricing Table generator by Supsystic allows you to create responsive pricing tables or comparison table without any programming skills
|
9 |
|
159 |
Our Pricing Table plugin is a mobile-ready, means that it will render on the devices with different screen size. The [responsive mode](https://supsystic.com/feature/fully-responsive-pricing-table?utm_source=wordpress&utm_medium=responsive&utm_campaign=pricingtable "Responsive mode") is turn on by default, but you can switch off it anytime. Also, plugin provides an opportunity to set a minimum column size.
|
160 |
|
161 |
== Changelog ==
|
162 |
+
1.9.5 / 22.06.2021
|
163 |
+
* Minor fixes
|
164 |
+
|
165 |
1.9.4 / 22.03.2021
|
166 |
* Fix OVH gateway
|
167 |
* Fix toggle
|