T(-) Countdown - Version 2.0.7

Version Description

  • super fun with svn tagging issues.
Download this release

Release Info

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

Code changes from version 2.0.4 to 2.0.7

Files changed (2) hide show
  1. countdown-timer.php +18 -8
  2. readme.txt +32 -8
countdown-timer.php CHANGED
@@ -2,10 +2,10 @@
2
  /*
3
  Plugin Name: jQuery T(-) Countdown
4
  Plugin URI: http://www.twinpictures.de/jquery-t-minus-2-0/
5
- Description: Display and configure multiple jQuery countdown timers using a shortcode or as a sidebar widget.
6
- Version: 2.0.4
7
  Author: Twinpictures
8
- Author URI: http://www.twinpictures.de
9
  License: GPL2
10
  */
11
 
@@ -43,7 +43,7 @@ function countdown_scripts(){
43
  }
44
  else{
45
  //lwtCountdown script
46
- wp_register_script('countdown-script', $plugin_url.'/js/jquery.lwtCountdown-1.1.js', array ('jquery'), '1.1' );
47
  wp_enqueue_script('countdown-script');
48
  }
49
  }
@@ -224,7 +224,7 @@ class CountDownTimer extends WP_Widget {
224
 
225
  echo '<div class="'.$dclass.'">
226
  <span class="'.$style.'-dash_title">'.$daytitle.'</span>';
227
- //show thrid day digit if there are NO weeks and the number of days is greater that 99
228
  if($omitweeks == 'true' && $date['days'][3] > 99){
229
  echo '<div class="'.$style.'-digit">'.$date['days'][0].'</div>';
230
  }
@@ -248,7 +248,8 @@ class CountDownTimer extends WP_Widget {
248
  <span class="'.$style.'-dash_title">'.$sectitle.'</span>
249
  <div class="'.$style.'-digit">'.$date['secs'][1].'</div>
250
  <div class="'.$style.'-digit">'.$date['secs'][2].'</div>
251
- </div>
 
252
  </div>'; //close the dashboard
253
 
254
  echo '<div id="'.$args['widget_id'].'-bothtml" class="'.$style.'-bothtml">';
@@ -497,7 +498,15 @@ class CountDownTimer extends WP_Widget {
497
  <?php
498
  if(!$isrockstar){
499
  echo '</div>';
500
- }
 
 
 
 
 
 
 
 
501
  }
502
  } // class CountDownTimer
503
 
@@ -688,7 +697,8 @@ function tminuscountdown($atts, $content=null) {
688
  <span class="'.$style.'-dash_title">'.$seconds.'</span>
689
  <div class="'.$style.'-digit">'.$date_arr['secs'][1].'</div>
690
  <div class="'.$style.'-digit">'.$date_arr['secs'][2].'</div>
691
- </div>
 
692
  </div>'; //close the dashboard
693
 
694
  $tminus .= '<div id="'.$id.'-below" class="'.$style.'-bothtml">';
2
  /*
3
  Plugin Name: jQuery T(-) Countdown
4
  Plugin URI: http://www.twinpictures.de/jquery-t-minus-2-0/
5
+ Description: Display and configure multiple jQuery countdown timers using a shortcode or sidebar widget.
6
+ Version: 2.0.7
7
  Author: Twinpictures
8
+ Author URI: http://www.twinpictures.de/
9
  License: GPL2
10
  */
11
 
43
  }
44
  else{
45
  //lwtCountdown script
46
+ wp_register_script('countdown-script', $plugin_url.'/js/jquery.lwtCountdown-1.2.js', array ('jquery'), '1.2' );
47
  wp_enqueue_script('countdown-script');
48
  }
49
  }
224
 
225
  echo '<div class="'.$dclass.'">
226
  <span class="'.$style.'-dash_title">'.$daytitle.'</span>';
227
+ //show third day digit if there are NO weeks and the number of days is greater that 99
228
  if($omitweeks == 'true' && $date['days'][3] > 99){
229
  echo '<div class="'.$style.'-digit">'.$date['days'][0].'</div>';
230
  }
248
  <span class="'.$style.'-dash_title">'.$sectitle.'</span>
249
  <div class="'.$style.'-digit">'.$date['secs'][1].'</div>
250
  <div class="'.$style.'-digit">'.$date['secs'][2].'</div>
251
+ </div>
252
+ <div class="t-throbTimer"></div>
253
  </div>'; //close the dashboard
254
 
255
  echo '<div id="'.$args['widget_id'].'-bothtml" class="'.$style.'-bothtml">';
498
  <?php
499
  if(!$isrockstar){
500
  echo '</div>';
501
+ }
502
+
503
+ ?>
504
+ <br/>
505
+ <a class="collapseomatic" id="tccc<?php echo $this->get_field_id('isrockstar'); ?>"><?php _e('Schedule Recurring Countdown'); ?></a>
506
+ <div id="target-tccc<?php echo $this->get_field_id('isrockstar'); ?>" class="collapseomatic_content">
507
+ <p><a href="http://www.twinpictures.de/t-countdown-control/" target="_blank" title="T(-) Countdown Control">T(-) Countdown Control</a> is a premium countdown plugin that includes the ability to schedule and manage mulitple recurring T(-) Countdowns... the Jedi way.</p>
508
+ </div>
509
+ <?php
510
  }
511
  } // class CountDownTimer
512
 
697
  <span class="'.$style.'-dash_title">'.$seconds.'</span>
698
  <div class="'.$style.'-digit">'.$date_arr['secs'][1].'</div>
699
  <div class="'.$style.'-digit">'.$date_arr['secs'][2].'</div>
700
+ </div>
701
+ <div class="t-throbTimer"></div>
702
  </div>'; //close the dashboard
703
 
704
  $tminus .= '<div id="'.$id.'-below" class="'.$style.'-bothtml">';
readme.txt CHANGED
@@ -1,17 +1,17 @@
1
  === jQuery T Minus CountDown Widget ===
2
 
3
- Contributors: Twinpictures, G2, littlewebthings
4
  Donate link: http://www.twinpictures.de/jquery-t-minus-2-0/
5
  Tags: countdown, timer, clock, ticker, widget, event, counter, count down, t minus, t-minus, twinpictures, G2, spaceBros, littlewebtings, jQuery, javascript
6
  Requires at least: 2.8
7
- Tested up to: 3.1
8
- Stable tag: 2.0.4
9
 
10
- jQuery T(-) CountDown will dispaly a highly customizable, sweet-n-sexy flash-free countdown timer in the sidebar or in your post using a shortcode.
11
 
12
  == Description ==
13
 
14
- jQuery T(-) CountDown will display a sweet, sexy and totally flash-free countdown timer clock based on littlewebthings' CountDown jQuery plugin. Perfect for informing one's website visitors of an upcoming event, such as a pending space voyage. Using Jedi Mindtricks and CSS... but mostly CSS, the countdown timer is highly customizable for your viewing pleasure. Intergalactic planetary thanks to CosmoBro at g2.de and Lauren at siliconstudio.com for the included css flavors.
15
 
16
  == Installation ==
17
 
@@ -37,6 +37,12 @@ A <a href='http://www.twinpictures.de/jquery-t-minus-2-0/'>complete listing of s
37
  = Where can I get reliable news that makes me giggle? =
38
  The Daily Show with John Stewart
39
 
 
 
 
 
 
 
40
  == Screenshots ==
41
 
42
  1. screenshot-1.png shows the jQuery T(-) CountDown in action with the three included styles: Darth, Jedi and Carbonite.
@@ -45,6 +51,15 @@ The Daily Show with John Stewart
45
 
46
  == Changelog ==
47
 
 
 
 
 
 
 
 
 
 
48
  = 2.0.4 =
49
  * Now works with retched Internet Explorer browser-like crap. Included new 'carbonlite' theme for single line countdown love.
50
 
@@ -56,14 +71,14 @@ The Daily Show with John Stewart
56
 
57
  = 2.0.1 =
58
  * Verify that a style has been set before looping - was throwing an error.
59
- * Inproved loadtimes by printing all javascript in the footer
60
- * Workaround for strange behavor with html content sent using shortcode
61
 
62
  = 2.0 =
63
  * Multiple instance sidebar widgets.
64
  * Advanced above and below HTML areas.
65
  * Advanced 'on-launch' event that will display custom HTML in a target area when the countdown reaches 00:00:00.
66
- * Added shortcode to include mulitple countdowns in post and pages.
67
 
68
  = 1.7 =
69
  * 1.6 had completely different file structure that hosed the svn repository.
@@ -93,6 +108,15 @@ The Daily Show with John Stewart
93
 
94
  == Upgrade Notice ==
95
 
 
 
 
 
 
 
 
 
 
96
  = 2.0.4 =
97
  * Works with retched Internet Explorer browser-like crap. Includes new single-line 'carbonlite' theme.
98
 
1
  === jQuery T Minus CountDown Widget ===
2
 
3
+ Contributors: Twinpictures
4
  Donate link: http://www.twinpictures.de/jquery-t-minus-2-0/
5
  Tags: countdown, timer, clock, ticker, widget, event, counter, count down, t minus, t-minus, twinpictures, G2, spaceBros, littlewebtings, jQuery, javascript
6
  Requires at least: 2.8
7
+ Tested up to: 3.3
8
+ Stable tag: 2.0.7
9
 
10
+ jQuery T(-) CountDown will display a highly customizable, sweet-n-sexy flash-free countdown timer in the sidebar or in your post using a shortcode.
11
 
12
  == Description ==
13
 
14
+ jQuery T(-) CountDown will display a sweet, sexy and totally flash-free countdown timer clock based on littlewebthings' CountDown jQuery plugin. Perfect for informing one's website visitors of an upcoming event, such as a pending space voyage. Using Jedi Mind-tricks and CSS... but mostly CSS, the countdown timer is highly customizable for your viewing pleasure. Intergalactic planetary thanks to CosmoBro at g2.de and Lauren at siliconstudio.com for the included css flavors.
15
 
16
  == Installation ==
17
 
37
  = Where can I get reliable news that makes me giggle? =
38
  The Daily Show with John Stewart
39
 
40
+ = I am a Social Netwookiee, do you have a Facebook page? =
41
+ Yes, yes... <a href='http://www.facebook.com/twinpictures'>Twinpictures is on Facebook</a>.
42
+
43
+ = Does Twinpictures do the Twitter? =
44
+ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> does the twitter tweeting around here.
45
+
46
  == Screenshots ==
47
 
48
  1. screenshot-1.png shows the jQuery T(-) CountDown in action with the three included styles: Darth, Jedi and Carbonite.
51
 
52
  == Changelog ==
53
 
54
+ = 2.0.7 =
55
+ * super fun with svn tagging issues.
56
+
57
+ = 2.0.6 =
58
+ * further countdown optimizations.
59
+
60
+ = 2.0.5 =
61
+ * Reworked the countdown timer function to deal with the requestAnimationFrame issue on an inactive tab in Chrome. By not blindly stacking timers on a tab the user cannot see them, the browser will have a reduced CPU footprint, leading to improved battery life in mobile devices.
62
+
63
  = 2.0.4 =
64
  * Now works with retched Internet Explorer browser-like crap. Included new 'carbonlite' theme for single line countdown love.
65
 
71
 
72
  = 2.0.1 =
73
  * Verify that a style has been set before looping - was throwing an error.
74
+ * Improved load times by printing all javascript in the footer
75
+ * Workaround for strange behavior with html content sent using shortcode
76
 
77
  = 2.0 =
78
  * Multiple instance sidebar widgets.
79
  * Advanced above and below HTML areas.
80
  * Advanced 'on-launch' event that will display custom HTML in a target area when the countdown reaches 00:00:00.
81
+ * Added shortcode to include multiple countdowns in post and pages.
82
 
83
  = 1.7 =
84
  * 1.6 had completely different file structure that hosed the svn repository.
108
 
109
  == Upgrade Notice ==
110
 
111
+ = 2.0.7 =
112
+ * fixing svn issues. old js file is being uploaded. grrr.
113
+
114
+ = 2.0.6 =
115
+ * Additional countdown timer optimizations.
116
+
117
+ = 2.0.5 =
118
+ * Improved countdown timer that reduces the browser's CPU footprint and improves battery life for mobile devices.
119
+
120
  = 2.0.4 =
121
  * Works with retched Internet Explorer browser-like crap. Includes new single-line 'carbonlite' theme.
122