T(-) Countdown - Version 2.3.2

Version Description

  • added htmlencoding for html areas above and below countdown.
Download this release

Release Info

Developer baden03
Plugin Icon 128x128 T(-) Countdown
Version 2.3.2
Comparing to
See all releases

Code changes from version 2.3.1 to 2.3.2

Files changed (3) hide show
  1. admin/collapse-style.css +30 -1
  2. countdown-timer.php +7 -4
  3. readme.txt +7 -1
admin/collapse-style.css CHANGED
@@ -24,4 +24,33 @@
24
  }
25
  .collapseall:hover, .expandall:hover {
26
  text-decoration: underline;
27
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
  .collapseall:hover, .expandall:hover {
26
  text-decoration: underline;
27
+ }
28
+
29
+ /* css for timepicker */
30
+ .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
31
+ .ui-timepicker-div dl { text-align: left; }
32
+ .ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
33
+ .ui-timepicker-div dl dd { margin: 0 10px 10px 40%; }
34
+ .ui-timepicker-div td { font-size: 90%; }
35
+ .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
36
+ .ui-timepicker-div .ui_tpicker_unit_hide{ display: none; }
37
+
38
+ .ui-timepicker-rtl{ direction: rtl; }
39
+ .ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
40
+ .ui-timepicker-rtl dl dt{ float: right; clear: right; }
41
+ .ui-timepicker-rtl dl dd { margin: 0 40% 10px 10px; }
42
+
43
+ /* Shortened version style */
44
+ .ui-timepicker-div.ui-timepicker-oneLine { padding-right: 2px; }
45
+ .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time,
46
+ .ui-timepicker-div.ui-timepicker-oneLine dt { display: none; }
47
+ .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label { display: block; padding-top: 2px; }
48
+ .ui-timepicker-div.ui-timepicker-oneLine dl { text-align: right; }
49
+ .ui-timepicker-div.ui-timepicker-oneLine dl dd,
50
+ .ui-timepicker-div.ui-timepicker-oneLine dl dd > div { display:inline-block; margin:0; }
51
+ .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before,
52
+ .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before { content:':'; display:inline-block; }
53
+ .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before,
54
+ .ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before { content:'.'; display:inline-block; }
55
+ .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide,
56
+ .ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before{ display: none; }
countdown-timer.php CHANGED
@@ -5,7 +5,7 @@ Text Domain: tminus
5
  Domain Path: /languages
6
  Plugin URI: http://plugins.twinpictures.de/plugins/t-minus-countdown/
7
  Description: Display and configure multiple T(-) Countdown timers using a shortcode or sidebar widget.
8
- Version: 2.3.1
9
  Author: twinpictures, baden03
10
  Author URI: http://www.twinpictures.de/
11
  License: GPL2
@@ -15,7 +15,7 @@ License: GPL2
15
 
16
  class WP_TMinusCD {
17
  var $plugin_name = 'T(-) Countdown';
18
- var $version = '2.3.1';
19
  var $domain = 'tminus';
20
  var $plguin_options_page_title = 'T(-) Countdown Options';
21
  var $plugin_options_menue_title = 'T(-) Countdown';
@@ -447,6 +447,9 @@ class CountDownTimer extends WP_Widget {
447
  $sc_atts = '';
448
  foreach($instance AS $key => $value){
449
  if(!empty($value)){
 
 
 
450
  $sc_atts .= $key . '="'.$value.'" ';
451
  }
452
  }
@@ -824,7 +827,7 @@ function tminuscountdown($atts, $content=null) {
824
  $tminus .= '<div class="'.$style.'-countdown '.$dash_omitweeks_class.'">';
825
  $tminus .= '<div id="'.$id.'-tophtml" class="'.$style.'-tophtml">';
826
  if($before){
827
- $tminus .= $before;
828
  }
829
  $tminus .= '</div>';
830
 
@@ -877,7 +880,7 @@ function tminuscountdown($atts, $content=null) {
877
 
878
  $tminus .= '<div id="'.$id.'-bothtml" class="'.$style.'-bothtml">';
879
  if($after){
880
- $tminus .= $after;
881
  }
882
  $tminus .= '</div></div></div>';
883
 
5
  Domain Path: /languages
6
  Plugin URI: http://plugins.twinpictures.de/plugins/t-minus-countdown/
7
  Description: Display and configure multiple T(-) Countdown timers using a shortcode or sidebar widget.
8
+ Version: 2.3.2
9
  Author: twinpictures, baden03
10
  Author URI: http://www.twinpictures.de/
11
  License: GPL2
15
 
16
  class WP_TMinusCD {
17
  var $plugin_name = 'T(-) Countdown';
18
+ var $version = '2.3.2';
19
  var $domain = 'tminus';
20
  var $plguin_options_page_title = 'T(-) Countdown Options';
21
  var $plugin_options_menue_title = 'T(-) Countdown';
447
  $sc_atts = '';
448
  foreach($instance AS $key => $value){
449
  if(!empty($value)){
450
+ if($key == 'before' || $key == 'after'){
451
+ $value = htmlspecialchars($value);
452
+ }
453
  $sc_atts .= $key . '="'.$value.'" ';
454
  }
455
  }
827
  $tminus .= '<div class="'.$style.'-countdown '.$dash_omitweeks_class.'">';
828
  $tminus .= '<div id="'.$id.'-tophtml" class="'.$style.'-tophtml">';
829
  if($before){
830
+ $tminus .= htmlspecialchars_decode($before);
831
  }
832
  $tminus .= '</div>';
833
 
880
 
881
  $tminus .= '<div id="'.$id.'-bothtml" class="'.$style.'-bothtml">';
882
  if($after){
883
+ $tminus .= htmlspecialchars_decode($after);
884
  }
885
  $tminus .= '</div></div></div>';
886
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://plugins.twinpictures.de/plugins/t-minus-countdown/
5
  Tags: countdown, timer, clock, ticker, widget, event, counter, count down, twinpictures, t minus, t-minus, plugin-oven, pluginoven, G2, spaceBros, littlewebtings, jQuery, javascript
6
  Requires at least: 3.9
7
  Tested up to: 4.2
8
- Stable tag: 2.3.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -65,6 +65,9 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the
65
 
66
  == Changelog ==
67
 
 
 
 
68
  = 2.3.1 =
69
  * fixed fatal bug when registering events ajax callback
70
  * added force load css option for systems that will not dynamically load css
@@ -234,6 +237,9 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the
234
 
235
  == Upgrade Notice ==
236
 
 
 
 
237
  = 2.3.1 =
238
  * fixed fatal bug when registering events ajax callback
239
  * added force load css option for systems that will not dynamically load css
5
  Tags: countdown, timer, clock, ticker, widget, event, counter, count down, twinpictures, t minus, t-minus, plugin-oven, pluginoven, G2, spaceBros, littlewebtings, jQuery, javascript
6
  Requires at least: 3.9
7
  Tested up to: 4.2
8
+ Stable tag: 2.3.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
65
 
66
  == Changelog ==
67
 
68
+ = 2.3.2 =
69
+ * added htmlencoding for html areas above and below countdown.
70
+
71
  = 2.3.1 =
72
  * fixed fatal bug when registering events ajax callback
73
  * added force load css option for systems that will not dynamically load css
237
 
238
  == Upgrade Notice ==
239
 
240
+ = 2.3.2 =
241
+ * added htmlencoding for html areas above and below countdown.
242
+
243
  = 2.3.1 =
244
  * fixed fatal bug when registering events ajax callback
245
  * added force load css option for systems that will not dynamically load css