T(-) Countdown - Version 2.3.8

Version Description

  • updated the readme.txt file to reflect the retirement of J-Steu
  • count-up will switch to 3 digits when above 99 days/weeks
Download this release

Release Info

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

Code changes from version 2.3.7 to 2.3.8

Files changed (2) hide show
  1. countdown-timer.php +4 -4
  2. readme.txt +7 -3
countdown-timer.php CHANGED
@@ -5,7 +5,7 @@ Text Domain: jquery-t-countdown-widget
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.7
9
  Author: twinpictures, baden03
10
  Author URI: http://www.twinpictures.de/
11
  License: GPL2
@@ -13,7 +13,7 @@ License: GPL2
13
 
14
  class WP_TMinusCD {
15
  var $plugin_name = 'T(-) Countdown';
16
- var $version = '2.3.6';
17
  var $domain = 'tminus';
18
  var $plguin_options_page_title = 'T(-) Countdown Options';
19
  var $plugin_options_menue_title = 'T(-) Countdown';
@@ -866,13 +866,13 @@ function tminuscountdown($atts, $content=null) {
866
  //set up correct style class for double or triple digit love
867
  $dclass = $style.'-dash '.$style.'-days_dash';
868
 
869
- if($omitweeks == 'true' && $date_arr['days'][3] > 99){
870
  $dclass = $style.'-tripdash '.$style.'-days_trip_dash';
871
  }
872
 
873
  $tminus .= '<div class="'.$dclass.'"><div class="'.$style.'-dash_title">'.$days.'</div>';
874
 
875
- if($omitweeks == 'true' && $date_arr['days'][3] > 99){
876
  $tminus .= '<div class="'.$style.'-digit">'.$date_arr['days'][0].'</div>';
877
  }
878
  $tminus .= '<div class="'.$style.'-digit">'.$date_arr['days'][1].'</div><div class="'.$style.'-digit">'.$date_arr['days'][2].'</div>';
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.8
9
  Author: twinpictures, baden03
10
  Author URI: http://www.twinpictures.de/
11
  License: GPL2
13
 
14
  class WP_TMinusCD {
15
  var $plugin_name = 'T(-) Countdown';
16
+ var $version = '2.3.8';
17
  var $domain = 'tminus';
18
  var $plguin_options_page_title = 'T(-) Countdown Options';
19
  var $plugin_options_menue_title = 'T(-) Countdown';
866
  //set up correct style class for double or triple digit love
867
  $dclass = $style.'-dash '.$style.'-days_dash';
868
 
869
+ if($omitweeks == 'true' && abs($date_arr['days'][3]) > 99){
870
  $dclass = $style.'-tripdash '.$style.'-days_trip_dash';
871
  }
872
 
873
  $tminus .= '<div class="'.$dclass.'"><div class="'.$style.'-dash_title">'.$days.'</div>';
874
 
875
+ if($omitweeks == 'true' && abs($date_arr['days'][3]) > 99){
876
  $tminus .= '<div class="'.$style.'-digit">'.$date_arr['days'][0].'</div>';
877
  }
878
  $tminus .= '<div class="'.$style.'-digit">'.$date_arr['days'][1].'</div><div class="'.$style.'-digit">'.$date_arr['days'][2].'</div>';
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.3.1
8
- Stable tag: 2.3.7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -51,7 +51,7 @@ Yes, yes... <a href='http://www.facebook.com/twinpictures'>Twinpictures is on Fa
51
  Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the Twitter.
52
 
53
  = Where may one enjoy U.S. news that gives giggle? =
54
- * The Daily Show with John Stewart
55
  * Last Week Tonight with John Oliver
56
 
57
  == Screenshots ==
@@ -65,6 +65,10 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the
65
 
66
  == Changelog ==
67
 
 
 
 
 
68
  = 2.3.7 =
69
  * fixed error with wrongly named function, thank you Stefano
70
 
@@ -256,4 +260,4 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the
256
  * The plugin came to be.
257
 
258
  == Upgrade Notice ==
259
- 2.3.7: Fixed error with wrongly named function, thank you Stefano. Also added missing text domain, renamed language files to xx_XX.mo and xx_XX.po and fixed a typo.
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.3.1
8
+ Stable tag: 2.3.8
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
51
  Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the Twitter.
52
 
53
  = Where may one enjoy U.S. news that gives giggle? =
54
+ * The Daily Show with <i>Trevor Noah</i>
55
  * Last Week Tonight with John Oliver
56
 
57
  == Screenshots ==
65
 
66
  == Changelog ==
67
 
68
+ = 2.3.8 =
69
+ * updated the readme.txt file to reflect the retirement of J-Steu
70
+ * count-up will switch to 3 digits when above 99 days/weeks
71
+
72
  = 2.3.7 =
73
  * fixed error with wrongly named function, thank you Stefano
74
 
260
  * The plugin came to be.
261
 
262
  == Upgrade Notice ==
263
+ J-Steu has retired, Trevor Noah inherits the Daily Show throne. Also: count-up will switch to 3 digits when above 99 days/weeks.