T(-) Countdown - Version 2.3.15

Version Description

  • widget scripts are only called on widget page
  • updated method jQuery datepicker was being called in Widget
Download this release

Release Info

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

Code changes from version 2.3.14 to 2.3.15

admin/collapse-style.css CHANGED
@@ -25,32 +25,3 @@
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; }
25
  .collapseall:hover, .expandall:hover {
26
  text-decoration: underline;
27
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
countdown-timer.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: T(-) Countdown
4
  Text Domain: jquery-t-countdown-widget
5
  Plugin URI: http://plugins.twinpictures.de/plugins/t-minus-countdown/
6
  Description: Display and configure multiple T(-) Countdown timers using a shortcode or sidebar widget.
7
- Version: 2.3.14
8
  Author: twinpictures, baden03
9
  Author URI: http://www.twinpictures.de/
10
  License: GPL2
@@ -12,7 +12,7 @@ License: GPL2
12
 
13
  class WP_TMinusCD {
14
  var $plugin_name = 'T(-) Countdown';
15
- var $version = '2.3.14';
16
  var $domain = 'tminus';
17
  var $plguin_options_page_title = 'T(-) Countdown Options';
18
  var $plugin_options_menue_title = 'T(-) Countdown';
@@ -115,7 +115,7 @@ class WP_TMinusCD {
115
  $plugin_url = plugins_url() .'/'. dirname( plugin_basename(__FILE__) );
116
 
117
  //jquery widget scripts
118
- wp_register_script('jquery-ui-timepicker-addon', $plugin_url.'/js/jquery-ui-timepicker-addon.min.js', array ('jquery'), '1.5.2', true);
119
  wp_enqueue_script('jquery-ui-timepicker-addon');
120
 
121
  wp_register_style('jquery-datepicker-css', $plugin_url.'/admin/jquery-ui-timepicker-addon.min.css' );
4
  Text Domain: jquery-t-countdown-widget
5
  Plugin URI: http://plugins.twinpictures.de/plugins/t-minus-countdown/
6
  Description: Display and configure multiple T(-) Countdown timers using a shortcode or sidebar widget.
7
+ Version: 2.3.15
8
  Author: twinpictures, baden03
9
  Author URI: http://www.twinpictures.de/
10
  License: GPL2
12
 
13
  class WP_TMinusCD {
14
  var $plugin_name = 'T(-) Countdown';
15
+ var $version = '2.3.15';
16
  var $domain = 'tminus';
17
  var $plguin_options_page_title = 'T(-) Countdown Options';
18
  var $plugin_options_menue_title = 'T(-) Countdown';
115
  $plugin_url = plugins_url() .'/'. dirname( plugin_basename(__FILE__) );
116
 
117
  //jquery widget scripts
118
+ wp_register_script('jquery-ui-timepicker-addon', $plugin_url.'/js/jquery-ui-timepicker-addon.min.js', array ('jquery'), '1.6.3', true);
119
  wp_enqueue_script('jquery-ui-timepicker-addon');
120
 
121
  wp_register_style('jquery-datepicker-css', $plugin_url.'/admin/jquery-ui-timepicker-addon.min.css' );
js/jquery.collapse.js CHANGED
@@ -26,16 +26,14 @@
26
 
27
  jQuery(document).ready(function() {
28
 
29
- jQuery(document).on('click', '.t-datepicker', function(event) {
30
- jQuery(this).datetimepicker('destroy').datetimepicker(
31
- {
32
  dateFormat : 'yy-mm-dd',
33
  timeFormat: 'HH:mm:ss'
34
  }
35
  ).focus();
36
  });
37
 
38
-
39
  jQuery('.collapseomatic:not(.colomat-close)').each(function(index) {
40
  var thisid = jQuery(this).attr('id');
41
  jQuery('#target-'+thisid).css('display', 'none');
26
 
27
  jQuery(document).ready(function() {
28
 
29
+ jQuery(document).on('click', '.t-datepicker', function() {
30
+ jQuery(this).datetimepicker({
 
31
  dateFormat : 'yy-mm-dd',
32
  timeFormat: 'HH:mm:ss'
33
  }
34
  ).focus();
35
  });
36
 
 
37
  jQuery('.collapseomatic:not(.colomat-close)').each(function(index) {
38
  var thisid = jQuery(this).attr('id');
39
  jQuery('#target-'+thisid).css('display', 'none');
js/jquery.t-countdown.js CHANGED
@@ -220,9 +220,9 @@
220
 
221
  if ($(digit + ' div.tc_top').html() != n + ''){
222
  $(digit + ' div.tc_top').css({'display': 'none'});
223
- $(digit + ' div.tc_top').html((n ? n : '0')).stop(true, true).slideDown(duration);
224
 
225
- $(digit + ' div.tc_bottom').stop(true, true).animate({'height': ''}, duration, function() {
226
  $(digit + ' div.tc_bottom').html($(digit + ' div.tc_top').html());
227
  $(digit + ' div.tc_bottom').css({'display': 'block', 'height': ''});
228
  $(digit + ' div.tc_top').hide().slideUp(10);
220
 
221
  if ($(digit + ' div.tc_top').html() != n + ''){
222
  $(digit + ' div.tc_top').css({'display': 'none'});
223
+ $(digit + ' div.tc_top').html((n ? n : '0')).stop(true, true, true).slideDown(duration);
224
 
225
+ $(digit + ' div.tc_bottom').stop(true, true, true).animate({'height': ''}, duration, function() {
226
  $(digit + ' div.tc_bottom').html($(digit + ' div.tc_top').html());
227
  $(digit + ' div.tc_bottom').css({'display': 'block', 'height': ''});
228
  $(digit + ' div.tc_top').hide().slideUp(10);
readme.txt CHANGED
@@ -4,8 +4,8 @@ Contributors: twinpictures, baden03
4
  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: 4.0
7
- Tested up to: 4.6
8
- Stable tag: 2.3.14
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -65,9 +65,13 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the
65
 
66
  == Changelog ==
67
 
 
 
 
 
68
  = 2.3.14 =
69
  * accepts numTransObj as object that holds number translations non arabic numerals
70
- * fully tested with WordPress 4.6
71
 
72
  = 2.3.13 =
73
  * updated version and method of loading remote jQuery UI from google cdn
4
  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: 4.0
7
+ Tested up to: 4.7
8
+ Stable tag: 2.3.15
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.15 =
69
+ * widget scripts are only called on widget page
70
+ * updated method jQuery datepicker was being called in Widget
71
+
72
  = 2.3.14 =
73
  * accepts numTransObj as object that holds number translations non arabic numerals
74
+ * fully tested with WordPress 4.6.1
75
 
76
  = 2.3.13 =
77
  * updated version and method of loading remote jQuery UI from google cdn