T(-) Countdown - Version 2.3.14

Version Description

  • accepts numTransObj as object that holds number translations non arabic numerals
  • fully tested with WordPress 4.6
Download this release

Release Info

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

Code changes from version 2.3.13 to 2.3.14

Files changed (3) hide show
  1. countdown-timer.php +3 -3
  2. js/jquery.t-countdown.js +21 -1
  3. readme.txt +6 -2
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.13
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.13';
16
  var $domain = 'tminus';
17
  var $plguin_options_page_title = 'T(-) Countdown Options';
18
  var $plugin_options_menue_title = 'T(-) Countdown';
@@ -134,7 +134,7 @@ class WP_TMinusCD {
134
  $plugin_url = plugins_url() .'/'. dirname( plugin_basename(__FILE__) );
135
 
136
  //lwtCountdown script
137
- wp_register_script('countdown-script', $plugin_url.'/js/jquery.t-countdown.js', array ('jquery'), '1.5.8', 'true');
138
  wp_enqueue_script('countdown-script');
139
 
140
  //force load styles
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
 
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';
134
  $plugin_url = plugins_url() .'/'. dirname( plugin_basename(__FILE__) );
135
 
136
  //lwtCountdown script
137
+ wp_register_script('countdown-script', $plugin_url.'/js/jquery.t-countdown.js', array ('jquery'), '1.5.9', 'true');
138
  wp_enqueue_script('countdown-script');
139
 
140
  //force load styles
js/jquery.t-countdown.js CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- * T- Countdown v1.5.8
3
  * http://plugins.twinpictures.de/plugins/t-minus-countdown/
4
  *
5
  * Copyright 2016, Twinpictures
@@ -198,6 +198,26 @@
198
  if (!duration){
199
  duration = 500;
200
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  if ($(digit + ' div.tc_top').html() != n + ''){
202
  $(digit + ' div.tc_top').css({'display': 'none'});
203
  $(digit + ' div.tc_top').html((n ? n : '0')).stop(true, true).slideDown(duration);
1
  /*
2
+ * T- Countdown v1.5.9
3
  * http://plugins.twinpictures.de/plugins/t-minus-countdown/
4
  *
5
  * Copyright 2016, Twinpictures
198
  if (!duration){
199
  duration = 500;
200
  }
201
+
202
+ //check for number translation object
203
+ /* for example *****
204
+ var numTransObj = {
205
+ 0: 'a',
206
+ 1: 'b',
207
+ 2: 'c',
208
+ 3: 'd',
209
+ 4: 'e',
210
+ 5: 'f',
211
+ 6: 'g',
212
+ 7: 'h',
213
+ 8: 'i',
214
+ 9: 'j'
215
+ };
216
+ *******************/
217
+ if(typeof numTransObj != "undefined"){
218
+ n = numTransObj[n];
219
+ }
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);
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-rc2
8
- Stable tag: 2.3.13
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -65,6 +65,10 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the
65
 
66
  == Changelog ==
67
 
 
 
 
 
68
  = 2.3.13 =
69
  * updated version and method of loading remote jQuery UI from google cdn
70
  * widget now uses esc_attr for the title
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
 
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
74
  * widget now uses esc_attr for the title