T(-) Countdown - Version 2.0.9

Version Description

  • Fixed issue with Digit Titles not being saved unless in rockstar mode
Download this release

Release Info

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

Code changes from version 2.0.8 to 2.0.9

Files changed (2) hide show
  1. countdown-timer.php +10 -9
  2. readme.txt +9 -3
countdown-timer.php CHANGED
@@ -3,13 +3,13 @@
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.8
7
  Author: Twinpictures
8
  Author URI: http://www.twinpictures.de/
9
  License: GPL2
10
  */
11
 
12
- /* Copyright 2011 Twinpictures (www.twinpictures.de)
13
 
14
  This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License, version 2, as
@@ -24,12 +24,12 @@ License: GPL2
24
  along with this program; if not, write to the Free Software
25
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  */
27
- add_option('t-minus_styles', '');
28
- wp_enqueue_script('jquery');
29
 
30
  //widgit scripts
31
  function countdown_scripts(){
 
32
  $plugin_url = trailingslashit( get_bloginfo('wpurl') ).PLUGINDIR.'/'. dirname( plugin_basename(__FILE__) );
 
33
  if (is_admin()){
34
  //jquery admin stuff
35
  wp_register_script('tminus-admin-script', $plugin_url.'/js/jquery.collapse.js', array ('jquery'), '1.0' );
@@ -395,6 +395,12 @@ class CountDownTimer extends WP_Widget {
395
  $jsplacement = 'footer';
396
  }
397
 
 
 
 
 
 
 
398
  $isrockstar = get_option('rockstar');
399
 
400
  if($isrockstar){
@@ -403,11 +409,6 @@ class CountDownTimer extends WP_Widget {
403
  $bothtml = empty($instance['bothtml']) ? ' ' : apply_filters('widget_bothtml', stripslashes($instance['bothtml']));
404
  $launchhtml = empty($instance['launchhtml']) ? ' ' : apply_filters('widget_launchhtml', stripslashes($instance['launchhtml']));
405
  $launchtarget = empty($instance['launchtarget']) ? 'After Counter' : apply_filters('widget_launchtarget', $instance['launchtarget']);
406
- $weektitle = empty($instance['weektitle']) ? 'weeks' : apply_filters('widget_weektitle', stripslashes($instance['weektitle']));
407
- $daytitle = empty($instance['daytitle']) ? 'days' : apply_filters('widget_daytitle', stripslashes($instance['daytitle']));
408
- $hourtitle = empty($instance['hourtitle']) ? 'hours' : apply_filters('widget_hourtitle', stripslashes($instance['hourtitle']));
409
- $mintitle = empty($instance['mintitle']) ? 'minutes' : apply_filters('widget_mintitle', stripslashes($instance['mintitle']));
410
- $sectitle = empty($instance['sectitle']) ? 'seconds' : apply_filters('widget_sectitle', stripslashes($instance['sectitle']));
411
  }
412
  ?>
413
  <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" /></label></p>
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.9
7
  Author: Twinpictures
8
  Author URI: http://www.twinpictures.de/
9
  License: GPL2
10
  */
11
 
12
+ /* Copyright 2012 Twinpictures (www.twinpictures.de)
13
 
14
  This program is free software; you can redistribute it and/or modify
15
  it under the terms of the GNU General Public License, version 2, as
24
  along with this program; if not, write to the Free Software
25
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  */
 
 
27
 
28
  //widgit scripts
29
  function countdown_scripts(){
30
+ add_option('t-minus_styles', '');
31
  $plugin_url = trailingslashit( get_bloginfo('wpurl') ).PLUGINDIR.'/'. dirname( plugin_basename(__FILE__) );
32
+ wp_enqueue_script('jquery');
33
  if (is_admin()){
34
  //jquery admin stuff
35
  wp_register_script('tminus-admin-script', $plugin_url.'/js/jquery.collapse.js', array ('jquery'), '1.0' );
395
  $jsplacement = 'footer';
396
  }
397
 
398
+ $weektitle = empty($instance['weektitle']) ? 'weeks' : apply_filters('widget_weektitle', stripslashes($instance['weektitle']));
399
+ $daytitle = empty($instance['daytitle']) ? 'days' : apply_filters('widget_daytitle', stripslashes($instance['daytitle']));
400
+ $hourtitle = empty($instance['hourtitle']) ? 'hours' : apply_filters('widget_hourtitle', stripslashes($instance['hourtitle']));
401
+ $mintitle = empty($instance['mintitle']) ? 'minutes' : apply_filters('widget_mintitle', stripslashes($instance['mintitle']));
402
+ $sectitle = empty($instance['sectitle']) ? 'seconds' : apply_filters('widget_sectitle', stripslashes($instance['sectitle']));
403
+
404
  $isrockstar = get_option('rockstar');
405
 
406
  if($isrockstar){
409
  $bothtml = empty($instance['bothtml']) ? ' ' : apply_filters('widget_bothtml', stripslashes($instance['bothtml']));
410
  $launchhtml = empty($instance['launchhtml']) ? ' ' : apply_filters('widget_launchhtml', stripslashes($instance['launchhtml']));
411
  $launchtarget = empty($instance['launchtarget']) ? 'After Counter' : apply_filters('widget_launchtarget', $instance['launchtarget']);
 
 
 
 
 
412
  }
413
  ?>
414
  <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" /></label></p>
readme.txt CHANGED
@@ -4,8 +4,8 @@ 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.8
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
 
@@ -51,6 +51,9 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> does the
51
 
52
  == Changelog ==
53
 
 
 
 
54
  = 2.0.8 =
55
  * adjusted CSS to be compatible with WordPress 3.3
56
 
@@ -111,7 +114,10 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> does the
111
 
112
  == Upgrade Notice ==
113
 
114
- = 2.0.7 =
 
 
 
115
  * fixed css issue for WordPress 3.3
116
 
117
  = 2.0.7 =
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.1
8
+ Stable tag: 2.0.9
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
 
51
 
52
  == Changelog ==
53
 
54
+ = 2.0.9 =
55
+ * Fixed issue with Digit Titles not being saved unless in rockstar mode
56
+
57
  = 2.0.8 =
58
  * adjusted CSS to be compatible with WordPress 3.3
59
 
114
 
115
  == Upgrade Notice ==
116
 
117
+ = 2.0.9 =
118
+ * fixed issue with Display Titles not saving
119
+
120
+ = 2.0.8 =
121
  * fixed css issue for WordPress 3.3
122
 
123
  = 2.0.7 =