T(-) Countdown - Version 2.3.5

Version Description

  • Modified php constructor
  • Adjusted language domain inline with new WordPress Translation tool
  • Fixed bug with html in launch text
Download this release

Release Info

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

Code changes from version 2.3.4 to 2.3.5

Files changed (27) hide show
  1. countdown-timer.php +99 -99
  2. languages/{tminus-ca_CA.mo → jquery-t-countdown-widget-ca.mo} +0 -0
  3. languages/{tminus-ca_CA.po → jquery-t-countdown-widget-ca.po} +0 -0
  4. languages/{tminus-cs_CZ.mo → jquery-t-countdown-widget-cs.mo} +0 -0
  5. languages/{tminus-cs_CZ.po → jquery-t-countdown-widget-cs.po} +0 -0
  6. languages/{tminus-de_DE.mo → jquery-t-countdown-widget-de.mo} +0 -0
  7. languages/{tminus-de_DE.po → jquery-t-countdown-widget-de.po} +0 -0
  8. languages/{tminus-es_ES.mo → jquery-t-countdown-widget-es.mo} +0 -0
  9. languages/{tminus-es_ES.po → jquery-t-countdown-widget-es.po} +0 -0
  10. languages/{tminus-fa_FA.mo → jquery-t-countdown-widget-fa.mo} +0 -0
  11. languages/{tminus-fa_FA.po → jquery-t-countdown-widget-fa.po} +0 -0
  12. languages/{tminus-fr_FR.mo → jquery-t-countdown-widget-fr.mo} +0 -0
  13. languages/{tminus-fr_FR.po → jquery-t-countdown-widget-fr.po} +0 -0
  14. languages/{tminus-it_IT.mo → jquery-t-countdown-widget-it_IT.mo} +0 -0
  15. languages/{tminus-it_IT.po → jquery-t-countdown-widget-it_IT.po} +0 -0
  16. languages/{tminus-lt_LT.mo → jquery-t-countdown-widget-lt_LT.mo} +0 -0
  17. languages/{tminus-lt_LT.po → jquery-t-countdown-widget-lt_LT.po} +0 -0
  18. languages/{tminus-nl_NL.mo → jquery-t-countdown-widget-nl.mo} +0 -0
  19. languages/{tminus-nl_NL.po → jquery-t-countdown-widget-nl.po} +0 -0
  20. languages/{tminus-pt_BR.mo → jquery-t-countdown-widget-pt.mo} +0 -0
  21. languages/{tminus-pt_BR.po → jquery-t-countdown-widget-pt.po} +0 -0
  22. languages/{tminus-ru_RU.mo → jquery-t-countdown-widget-ru.mo} +0 -0
  23. languages/{tminus-ru_RU.po → jquery-t-countdown-widget-ru.po} +0 -0
  24. languages/{tminus-sk_SK.mo → jquery-t-countdown-widget-sk.mo} +0 -0
  25. languages/{tminus-sk_SK.po → jquery-t-countdown-widget-sk.po} +0 -0
  26. languages/{tminus.pot → jquery-t-countdown-widget.pot} +0 -0
  27. readme.txt +7 -2
countdown-timer.php CHANGED
@@ -1,21 +1,19 @@
1
  <?php
2
  /*
3
  Plugin Name: T(-) Countdown
4
- Text Domain: tminus
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.4
9
  Author: twinpictures, baden03
10
  Author URI: http://www.twinpictures.de/
11
  License: GPL2
12
  */
13
 
14
- //delete_option('WP_TMC_options');
15
-
16
  class WP_TMinusCD {
17
  var $plugin_name = 'T(-) Countdown';
18
- var $version = '2.3.4';
19
  var $domain = 'tminus';
20
  var $plguin_options_page_title = 'T(-) Countdown Options';
21
  var $plugin_options_menue_title = 'T(-) Countdown';
@@ -74,7 +72,7 @@ class WP_TMinusCD {
74
  // Add link to options page from plugin list
75
  function plugin_actions($links) {
76
  $new_links = array();
77
- $new_links[] = '<a href="options-general.php?page='.$this->plugin_options_slug.'">' . __('Settings', $this->domain) . '</a>';
78
  return array_merge($new_links, $links);
79
  }
80
 
@@ -148,22 +146,22 @@ class WP_TMinusCD {
148
  */
149
  function options_page() {
150
  $like_it_arr = array(
151
- __('made you feel all warm and fuzzy on the inside', $this->domain),
152
- __('restored your faith in humanity... even if only for a fleeting second', $this->domain),
153
- __('rocked your world', 'provided a positive vision of future living', $this->domain),
154
- __('inspired you to commit a random act of kindness', $this->domain),
155
- __('encouraged more regular flossing of the teeth', $this->domain),
156
- __('helped organize your life in the small ways that matter', $this->domain),
157
- __('saved your minutes--if not tens of minutes--writing your own solution', $this->domain),
158
- __('brightened your day... or darkened it if sleeping in', $this->domain),
159
- __('caused you to dance a little jig of joy and joyousness', $this->domain),
160
- __('inspired you to tweet a little @twinpictues social love', $this->domain),
161
- __('tasted great, while also being less filling', $this->domain),
162
- __('caused you to shout: "everybody spread love, give me some mo!"', $this->domain),
163
- __('really tied the room together, Dude', $this->domain),
164
- __('helped you keep the funk alive', $this->domain),
165
- __('<a href="http://www.youtube.com/watch?v=dvQ28F5fOdU" target="_blank">soften hands while you do dishes</a>', $this->domain),
166
- __('helped that little old lady <a href="http://www.youtube.com/watch?v=Ug75diEyiA0" target="_blank">find the beef</a>', $this->domain)
167
  );
168
  $rand_key = array_rand($like_it_arr);
169
  $like_it = $like_it_arr[$rand_key];
@@ -185,8 +183,8 @@ class WP_TMinusCD {
185
  <div class="postbox-container metabox-holder meta-box-sortables" style="width: 69%">
186
  <div style="margin:0 5px;">
187
  <div class="postbox">
188
- <div class="handlediv" title="<?php _e( 'Click to toggle', $this->domain ) ?>"><br/></div>
189
- <h3 class="handle"><?php _e( 'T(-) Countdown Settings', $this->domain ) ?></h3>
190
  <div class="inside">
191
  <form method="post" action="options.php">
192
  <?php
@@ -196,15 +194,15 @@ class WP_TMinusCD {
196
 
197
  <table class="form-table">
198
  <tr>
199
- <th><?php _e( 'Rockstar Features', $this->domain ) ?>:</th>
200
- <td><label><input type="checkbox" id="<?php echo $this->options_name ?>[rockstar]" name="<?php echo $this->options_name ?>[rockstar]" value="rockstar" <?php echo checked( $options['rockstar'], 'rockstar' ); ?> /> <?php _e('Enable', $this->domain); ?>
201
- <br /><span class="description"><?php _e('Enable rockstar features.', $this->domain); ?></span></label>
202
  </td>
203
  </tr>
204
 
205
 
206
  <tr>
207
- <th><?php _e( 'Force Load CSS', $this->domain ) ?>:</th>
208
  <td><label>
209
  <select name="<?php echo $this->options_name ?>[force_css]" id="<?php echo $this->options_name ?>[force_css]">
210
  <option value=''> </option>
@@ -219,19 +217,19 @@ class WP_TMinusCD {
219
  }
220
  ?>
221
  </select>
222
- <br /><span class="description"><?php _e('Force a css style to load in the header', $this->domain); ?></span></label>
223
  </td>
224
  </tr>
225
 
226
  <tr>
227
- <th><?php _e( 'Custom CSS', $this->domain ) ?>:</th>
228
  <td><label><textarea id="<?php echo $this->options_name ?>[custom_css]" name="<?php echo $this->options_name ?>[custom_css]" style="width: 100%; height: 537px;"><?php echo $options['custom_css']; ?></textarea>
229
- <br /><span class="description"><?php _e( 'Custom CSS style for <em>ultimate flexibility</em>', $this->domain ) ?></span></label>
230
  </td>
231
  </tr>
232
  </table>
233
  <p class="submit" style="margin-bottom: 20px;">
234
- <input class="button-primary" type="submit" value="<?php _e( 'Save Changes', $this->domain ) ?>" style="float: right;" />
235
  </p>
236
  </form>
237
  </div>
@@ -244,12 +242,12 @@ class WP_TMinusCD {
244
  <div class="postbox">
245
  <h3><?php _e( 'About' ) ?></h3>
246
  <div class="inside">
247
- <h4><?php echo $this->plugin_name; ?> <?php _e('Version', $this->domain); ?> <?php echo $this->version; ?></h4>
248
- <p><?php _e( 'T(-) Countdown is a highly customizable, HTML5 countdown timer that can be displayed as a sidebar widget or in a post or page using a shortcode.', $this->domain) ?></p>
249
  <ul>
250
- <li><?php printf( __( '%sDetailed documentation%s, complete with working demonstrations of all shortcode attributes, is availabel for your instructional enjoyment.', 'tminus'), '<a href="http://plugins.twinpictures.de/plugins/t-minus-countdown/documentation/" target="_blank">', '</a>'); ?></li>
251
- <li><?php printf( __( 'A %sCommunity translation%s tool has been set up that allows anyone to assist in translating T(-) Countdown. All are %swelcome to participate%s.', 'tminus'), '<a href="http://translate.twinpictures.de/projects/t-countdown" target="_blank">', '</a>', '<a href="http://translate.twinpictures.de/wordpress/wp-login.php?action=register" target="_blank">', '</a>' ); ?></li>
252
- <li><?php printf( __( 'If this plugin %s, please consider %ssharing your story%s with others.', 'tminus'), $like_it, '<a href="'.$share_it.'" target="_blank">', '</a>' ) ?></li>
253
  <li><a href="https://wordpress.org/plugins/jquery-t-countdown-widget/" target="_blank">WordPress.org</a> | <a href="http://plugins.twinpictures.de/plugins/t-minus-countdown/" target="_blank">Twinpictues Plugin Oven</a></li>
254
  </ul>
255
  </ul>
@@ -264,12 +262,12 @@ class WP_TMinusCD {
264
  <div class="handlediv" title="<?php _e( 'Click to toggle' ) ?>"><br/></div>
265
  <h3 class="handle"><?php _e( 'T(-) Countdown Control' ) ?></h3>
266
  <div class="inside">
267
- <p><?php printf(__( '%sT(-) Countdown Control%s is our premium plugin that manages and schedules multiple recurring countdown timers for repeating events.', 'tminus' ), '<a href="http://plugins.twinpictures.de/premium-plugins/t-minus-countdown-control/?utm_source=t-countdown&utm_medium=plugin-settings-page&utm_content=t-countdown&utm_campaign=t-control-sidebar">', '</a>'); ?></p>
268
- <h4><?php _e('Reasons To Go Pro', 'tminus'); ?></h4>
269
  <ol>
270
- <li><?php _e('Schedule and manage multiple recurring countdowns', 'tminus'); ?></li>
271
- <li><?php _e('Highly responsive professional support', 'tminus'); ?></li>
272
- <li><?php printf(__('%sT(-) Countdown Control Testimonials%s', 'tminus'), '<a href="http://plugins.twinpictures.de/testimonial/t-countdown-control-testimonias/" target="_blank">', '</a>'); ?></li>
273
  </ol>
274
  </div>
275
  </div>
@@ -282,9 +280,9 @@ class WP_TMinusCD {
282
  <div class="postbox-container side metabox-holder" style="width:29%;">
283
  <div style="margin:0 5px;">
284
  <div class="postbox">
285
- <h3 class="handle"><?php _e( 'Register T(-) Countdown Events', $this->domain) ?></h3>
286
  <div class="inside">
287
- <p><?php printf( __('To receive plugin updates you must register your plugin. Enter your T(-) Countdown Events licence key below. Licence keys may be viewed and managed by logging into %syour account%s.', $this->domain), '<a href="http://plugins.twinpictures.de/your-account/" target="_blank">', '</a>'); ?></p>
288
  <form method="post" action="options.php">
289
  <?php
290
  settings_fields( $this->license_group );
@@ -295,16 +293,16 @@ class WP_TMinusCD {
295
  <table style="width: 100%">
296
  <tbody>
297
  <tr>
298
- <th><?php _e( 'License Key', $this->domain ) ?>:</th>
299
  <td><label for="<?php echo $this->license_name ?>[tminus_event_license_key]"><input type="password" id="<?php echo $this->license_name ?>[tminus_event_license_key]" name="<?php echo $this->license_name ?>[tminus_event_license_key]" value="<?php esc_attr_e( $tce_licence ); ?>" style="width: 100%" />
300
- <br /><span class="description"><?php _e('Enter your license key', $this->domain); ?></span></label>
301
  </td>
302
 
303
  </tr>
304
 
305
  <?php if( isset($options['tminus_event_license_key']) ) { ?>
306
  <tr valign="top">
307
- <th><?php _e('License Status', $this->domain); ?>:</th>
308
  <td>
309
  <?php if( isset($options['tminus_event_license_status']) && $options['tminus_event_license_status'] == 'valid' ) { ?>
310
  <span style="color:green;"><?php _e('active'); ?></span><br/>
@@ -323,7 +321,7 @@ class WP_TMinusCD {
323
  </tbody>
324
  </table>
325
  </fieldset>
326
- <?php submit_button( __( 'Register', $this->domain) ); ?>
327
  </form>
328
  </div>
329
  </div>
@@ -336,7 +334,7 @@ class WP_TMinusCD {
336
  <div class="handlediv" title="<?php _e( 'Click to toggle', 'colomat' ) ?>"><br/></div>
337
  <h3 class="hndle">T(-) Countdown Events</h3>
338
  <div class="inside">
339
- <p><?php printf( __('%sT(-) Countdown Events%s is a new add-on plugin for T(-) Countdown Control that adds multiple event scheduling. Trigger events, such as changing content or firing a javascript function at specific times while the countdown is running.', $this->domain), '<a href="http://plugins.twinpictures.de/premium-plugins/t-countdown-events/?utm_source=t-countdown&utm_medium=plugin-settings-page&utm_content=t-countdown&utm_campaign=t-events-sidebar" target="_blank">', '</a>'); ?></p>
340
  </div>
341
  </div>
342
  </div>
@@ -382,17 +380,17 @@ function folder_array($path, $exclude = ".|..") {
382
  */
383
  class CountDownTimer extends WP_Widget {
384
  /** constructor */
385
- public function __construct(){
386
- parent::__construct(
387
- 'CountDownTimer',
388
- __( 'T(-) Countdown', 'tminus' ),
389
- array(
390
- 'classname' => 'CountDownTimer',
391
- 'description' => __( 'A highly customizable jQuery countdown timer by Twinpictures', 'tminus' )
392
- )
393
- );
394
- load_plugin_textdomain( 'tminus', false, basename( dirname( __FILE__ ) ) . '/languages' );
395
- }
396
 
397
  /** Widget */
398
  function widget($args, $instance) {
@@ -567,13 +565,13 @@ class CountDownTimer extends WP_Widget {
567
  }
568
  }
569
  ?>
570
- <p><label><?php _e('Title:', 'tminus'); ?> <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>
571
 
572
- <p><label><?php _e('Target:', 'tminus'); ?> <input style="width: 230px;" id="<?php echo $this->get_field_id('t'); ?>" name="<?php echo $this->get_field_name('t'); ?>" type="text" value="<?php echo $t; ?>" class="t-datepicker"/></label></p>
573
  <?php
574
  if( is_plugin_active( 't-countdown-events/t-countdown-events.php' ) ){
575
  echo '<p><label>Event: <select name="'.$this->get_field_name('event_id').'" id="'.$this->get_field_name('event_id').'">';
576
- echo '<option value="">'.__('Select Event', 'tminus').'</option>';
577
  $args = array(
578
  'post_type' => 't-countdown-events',
579
  'posts_per_page' => -1,
@@ -593,7 +591,7 @@ class CountDownTimer extends WP_Widget {
593
  echo '</select></p>';
594
  }
595
  ?>
596
- <p><?php _e('Style:', 'tminus'); ?> <select name="<?php echo $this->get_field_name('style'); ?>" id="<?php echo $this->get_field_name('style'); ?>">
597
  <?php
598
  $styles_arr = $this->get_styles($options['custom_css']);
599
  foreach($styles_arr as $style_name){
@@ -606,34 +604,34 @@ class CountDownTimer extends WP_Widget {
606
  ?>
607
  </select></p>
608
 
609
- <p><label><input type="checkbox" id="<?php echo $this->get_field_id('omitweeks'); ?>" name="<?php echo $this->get_field_name('omitweeks'); ?>" value="true" <?php echo checked( $omitweeks, 'true' ); ?> /> <?php _e('Omit weeks from timer.', 'tminus'); ?></label></p>
610
 
611
- <p><label><input type="checkbox" id="<?php echo $this->get_field_id('jsplacement'); ?>" name="<?php echo $this->get_field_name('jsplacement'); ?>" value="inline" <?php echo checked( $jsplacement, 'inline' ); ?> /> <?php _e('Inject JavaScript Inline.', 'tminus'); ?></label></p>
612
 
613
  <?php
614
- echo '<h3>'.__('Rockstar Features', 'tminus').'</h3>';
615
  if($isrockstar){
616
  ?>
617
- <a class="collapseomatic" id="tophtml<?php echo $this->get_field_id('tophtml'); ?>"><?php _e('Above Countdown', 'tminus'); ?></a>
618
  <div id="target-tophtml<?php echo $this->get_field_id('tophtml'); ?>" class="collapseomatic_content">
619
- <p><label for="<?php echo $this->get_field_id('tophtml'); ?>"><?php _e('Top HTML:', 'tminus'); ?></label> <textarea id="<?php echo $this->get_field_id('tophtml'); ?>" name="<?php echo $this->get_field_name('tophtml'); ?>"><?php echo $tophtml; ?></textarea></p>
620
  </div>
621
  <br/>
622
- <a class="collapseomatic" id="bothtml<?php echo $this->get_field_id('bothtml'); ?>"><?php _e('Below Countdown', 'tminus'); ?></a>
623
  <div id="target-bothtml<?php echo $this->get_field_id('bothtml'); ?>" class="collapseomatic_content">
624
- <p><label for="<?php echo $this->get_field_id('bothtml'); ?>"><?php _e('Bottom HTML:', 'tminus'); ?></label> <textarea id="<?php echo $this->get_field_id('bothtml'); ?>" name="<?php echo $this->get_field_name('bothtml'); ?>"><?php echo $bothtml; ?></textarea></p>
625
  </div>
626
  <br/>
627
- <a class="collapseomatic" id="launchhtml<?php echo $this->get_field_id('launchhtml'); ?>"><?php _e('When Countdown Reaches Zero', 'tminus'); ?></a>
628
  <div id="target-launchhtml<?php echo $this->get_field_id('launchhtml'); ?>" class="collapseomatic_content">
629
- <p><label for="<?php echo $this->get_field_id('launchhtml'); ?>"><?php _e('Launch Event HTML:', 'tminus'); ?></label> <textarea id="<?php echo $this->get_field_id('launchhtml'); ?>" name="<?php echo $this->get_field_name('launchhtml'); ?>"><?php echo $launchhtml; ?></textarea></p>
630
- <p><?php _e('Launch Target:', 'tminus'); ?> <select name="<?php echo $this->get_field_name('launchtarget'); ?>" id="<?php echo $this->get_field_name('launchtarget'); ?>">
631
  <?php
632
  $target_arr = array(
633
- 'tophtml' => __('Above Countdown', 'tminus'),
634
- 'bothtml' => __('Below Countdown', 'tminus'),
635
- 'countdown' => __('Entire Countdown', 'tminus'),
636
- 'countup' => __('Count Up', 'tminus')
637
  );
638
  foreach($target_arr as $key => $val){
639
  $selected = "";
@@ -646,13 +644,13 @@ class CountDownTimer extends WP_Widget {
646
  </select></p>
647
  </div>
648
  <br/>
649
- <a class="collapseomatic" id="titles<?php echo $this->get_field_id('weeks'); ?>"><?php _e('Digit Titles', 'tminus'); ?></a>
650
  <div id="target-titles<?php echo $this->get_field_id('weeks'); ?>" class="collapseomatic_content">
651
- <p><label for="<?php echo $this->get_field_id('weeks'); ?>"><?php _e('How do you spell "weeks"?:', 'tminus'); ?> <input class="widefat" id="<?php echo $this->get_field_id('weeks'); ?>" name="<?php echo $this->get_field_name('weeks'); ?>" type="text" value="<?php echo $weeks; ?>" /></label></p>
652
- <p><label for="<?php echo $this->get_field_id('days'); ?>"><?php _e('How do you spell "days"?:', 'tminus'); ?> <input class="widefat" id="<?php echo $this->get_field_id('days'); ?>" name="<?php echo $this->get_field_name('days'); ?>" type="text" value="<?php echo $days; ?>" /></label></p>
653
- <p><label for="<?php echo $this->get_field_id('hours'); ?>"><?php _e('How do you spell "hours"?:', 'tminus'); ?> <input class="widefat" id="<?php echo $this->get_field_id('hours'); ?>" name="<?php echo $this->get_field_name('hours'); ?>" type="text" value="<?php echo $hours; ?>" /></label></p>
654
- <p><label for="<?php echo $this->get_field_id('minutes'); ?>"><?php _e('How do you spell "minutes"?:', 'tminus'); ?> <input class="widefat" id="<?php echo $this->get_field_id('minutes'); ?>" name="<?php echo $this->get_field_name('minutes'); ?>" type="text" value="<?php echo $minutes; ?>" /></label></p>
655
- <p><label for="<?php echo $this->get_field_id('seconds'); ?>"><?php _e('And "seconds" are spelled:', 'tminus'); ?> <input class="widefat" id="<?php echo $this->get_field_id('seconds'); ?>" name="<?php echo $this->get_field_name('seconds'); ?>" type="text" value="<?php echo $seconds; ?>" /></label></p>
656
  </div>
657
 
658
  <?php
@@ -663,15 +661,15 @@ class CountDownTimer extends WP_Widget {
663
  $like_it = $like_it_arr[$rand_key];
664
  ?>
665
  <p>
666
- <?php printf( __('T(-) Countdown %s!', 'tminus'), $like_it); ?>
667
- <a href="options-general.php?page=t-countdown"><?php _e('Enable Rockstar Features', 'tminus'); ?></a>
668
  </p>
669
  <?php } //end if not rockstar ?>
670
 
671
  <br/>
672
- <a class="collapseomatic" id="tccc<?php echo $this->get_field_id('isrockstar'); ?>"><?php _e('Schedule Recurring Countdown', 'tminus'); ?></a>
673
  <div id="target-tccc<?php echo $this->get_field_id('isrockstar'); ?>" class="collapseomatic_content">
674
- <p><?php printf(__('%sT(-) Countdown Control%s is a premium countdown plugin that includes the ability to schedule and manage multiple recurring T(-) Countdowns... the Jedi way.', 'tminus'), '<a href="http://plugins.twinpictures.de/premium-plugins/t-minus-countdown-control/?utm_source=t-countdown&utm_medium=widget-settings&utm_content=t-countdown-control&utm_campaign=t-countdown-widget" target="blank" title="(-) Countdown Control">', '</a>'); ?></p>
675
  </div>
676
  <br/><br/>
677
  <?php
@@ -679,9 +677,10 @@ class CountDownTimer extends WP_Widget {
679
  } // class CountDownTimer
680
 
681
  // register CountDownTimer widget
682
- add_action( 'widgets_init', function(){
683
- register_widget( 'CountDownTimer' );
684
- });
 
685
 
686
  //code for the footer
687
  add_action('wp_footer', 'print_my_script', 99);
@@ -718,7 +717,7 @@ function print_my_script() {
718
  if($script['content']){
719
  echo ", onComplete: function() {
720
  $('#".$script['id']."-".$script['launchtarget']."').css({'width' : '".$script['launchwidth']."', 'height' : '".$script['launchheight']."'});
721
- $('#".$script['id']."-".$script['launchtarget']."').html('".do_shortcode($script['content'])."');
722
  }";
723
  }
724
  ?>
@@ -740,11 +739,11 @@ function tminuscountdown($atts, $content=null) {
740
  extract(shortcode_atts(array(
741
  'id' => $ran,
742
  't' => '',
743
- 'weeks' => __('weeks', 'tminus'),
744
- 'days' => __('days', 'tminus'),
745
- 'hours' => __('hours', 'tminus'),
746
- 'minutes' => __('minutes', 'tminus'),
747
- 'seconds' => __('seconds', 'tminus'),
748
  'omitweeks' => 'false',
749
  'style' => 'jedi',
750
  'before' => '',
@@ -900,8 +899,9 @@ function tminuscountdown($atts, $content=null) {
900
  $launchheight .= 'px';
901
  }
902
 
 
903
  $content = str_replace(array('\r\n', '\r', '\n<p>', '\n'), '', $content);
904
- $content = stripslashes($content);
905
  if($jsplacement == "footer"){
906
  $add_my_script[$id] = array(
907
  'id' => $id,
@@ -942,7 +942,7 @@ function tminuscountdown($atts, $content=null) {
942
  if($content){
943
  $tminus .= ", onComplete: function() {
944
  $('#".$id."-".$launchtarget."').css({'width' : '".$launchwidth."', 'height' : '".$launchheight."'});
945
- $('#".$id."-".$launchtarget."').html('".do_shortcode($content)."');
946
  }";
947
  }
948
  $tminus .= "});
1
  <?php
2
  /*
3
  Plugin Name: T(-) Countdown
4
+ 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.5
9
  Author: twinpictures, baden03
10
  Author URI: http://www.twinpictures.de/
11
  License: GPL2
12
  */
13
 
 
 
14
  class WP_TMinusCD {
15
  var $plugin_name = 'T(-) Countdown';
16
+ var $version = '2.3.5';
17
  var $domain = 'tminus';
18
  var $plguin_options_page_title = 'T(-) Countdown Options';
19
  var $plugin_options_menue_title = 'T(-) Countdown';
72
  // Add link to options page from plugin list
73
  function plugin_actions($links) {
74
  $new_links = array();
75
+ $new_links[] = '<a href="options-general.php?page='.$this->plugin_options_slug.'">' . __('Settings', 'jquery-t-countdown-widget') . '</a>';
76
  return array_merge($new_links, $links);
77
  }
78
 
146
  */
147
  function options_page() {
148
  $like_it_arr = array(
149
+ __('made you feel all warm and fuzzy on the inside', 'jquery-t-countdown-widget'),
150
+ __('restored your faith in humanity... even if only for a fleeting second', 'jquery-t-countdown-widget'),
151
+ __('rocked your world', 'provided a positive vision of future living', 'jquery-t-countdown-widget'),
152
+ __('inspired you to commit a random act of kindness', 'jquery-t-countdown-widget'),
153
+ __('encouraged more regular flossing of the teeth', 'jquery-t-countdown-widget'),
154
+ __('helped organize your life in the small ways that matter', 'jquery-t-countdown-widget'),
155
+ __('saved your minutes--if not tens of minutes--writing your own solution', 'jquery-t-countdown-widget'),
156
+ __('brightened your day... or darkened it if sleeping in', 'jquery-t-countdown-widget'),
157
+ __('caused you to dance a little jig of joy and joyousness', 'jquery-t-countdown-widget'),
158
+ __('inspired you to tweet a little @twinpictues social love', 'jquery-t-countdown-widget'),
159
+ __('tasted great, while also being less filling', 'jquery-t-countdown-widget'),
160
+ __('caused you to shout: "everybody spread love, give me some mo!"', 'jquery-t-countdown-widget'),
161
+ __('really tied the room together, Dude', 'jquery-t-countdown-widget'),
162
+ __('helped you keep the funk alive', 'jquery-t-countdown-widget'),
163
+ __('<a href="http://www.youtube.com/watch?v=dvQ28F5fOdU" target="_blank">soften hands while you do dishes</a>', 'jquery-t-countdown-widget'),
164
+ __('helped that little old lady <a href="http://www.youtube.com/watch?v=Ug75diEyiA0" target="_blank">find the beef</a>', 'jquery-t-countdown-widget')
165
  );
166
  $rand_key = array_rand($like_it_arr);
167
  $like_it = $like_it_arr[$rand_key];
183
  <div class="postbox-container metabox-holder meta-box-sortables" style="width: 69%">
184
  <div style="margin:0 5px;">
185
  <div class="postbox">
186
+ <div class="handlediv" title="<?php _e( 'Click to toggle', 'jquery-t-countdown-widget' ) ?>"><br/></div>
187
+ <h3 class="handle"><?php _e( 'T(-) Countdown Settings', 'jquery-t-countdown-widget' ) ?></h3>
188
  <div class="inside">
189
  <form method="post" action="options.php">
190
  <?php
194
 
195
  <table class="form-table">
196
  <tr>
197
+ <th><?php _e( 'Rockstar Features', 'jquery-t-countdown-widget' ) ?>:</th>
198
+ <td><label><input type="checkbox" id="<?php echo $this->options_name ?>[rockstar]" name="<?php echo $this->options_name ?>[rockstar]" value="rockstar" <?php echo checked( $options['rockstar'], 'rockstar' ); ?> /> <?php _e('Enable', 'jquery-t-countdown-widget'); ?>
199
+ <br /><span class="description"><?php _e('Enable rockstar features.', 'jquery-t-countdown-widget'); ?></span></label>
200
  </td>
201
  </tr>
202
 
203
 
204
  <tr>
205
+ <th><?php _e( 'Force Load CSS', 'jquery-t-countdown-widget' ) ?>:</th>
206
  <td><label>
207
  <select name="<?php echo $this->options_name ?>[force_css]" id="<?php echo $this->options_name ?>[force_css]">
208
  <option value=''> </option>
217
  }
218
  ?>
219
  </select>
220
+ <br /><span class="description"><?php _e('Force a css style to load in the header', 'jquery-t-countdown-widget'); ?></span></label>
221
  </td>
222
  </tr>
223
 
224
  <tr>
225
+ <th><?php _e( 'Custom CSS', 'jquery-t-countdown-widget' ) ?>:</th>
226
  <td><label><textarea id="<?php echo $this->options_name ?>[custom_css]" name="<?php echo $this->options_name ?>[custom_css]" style="width: 100%; height: 537px;"><?php echo $options['custom_css']; ?></textarea>
227
+ <br /><span class="description"><?php _e( 'Custom CSS style for <em>ultimate flexibility</em>', 'jquery-t-countdown-widget' ) ?></span></label>
228
  </td>
229
  </tr>
230
  </table>
231
  <p class="submit" style="margin-bottom: 20px;">
232
+ <input class="button-primary" type="submit" value="<?php _e( 'Save Changes', 'jquery-t-countdown-widget' ) ?>" style="float: right;" />
233
  </p>
234
  </form>
235
  </div>
242
  <div class="postbox">
243
  <h3><?php _e( 'About' ) ?></h3>
244
  <div class="inside">
245
+ <h4><?php echo $this->plugin_name; ?> <?php _e('Version', 'jquery-t-countdown-widget'); ?> <?php echo $this->version; ?></h4>
246
+ <p><?php _e( 'T(-) Countdown is a highly customizable, HTML5 countdown timer that can be displayed as a sidebar widget or in a post or page using a shortcode.', 'jquery-t-countdown-widget') ?></p>
247
  <ul>
248
+ <li><?php printf( __( '%sDetailed documentation%s, complete with working demonstrations of all shortcode attributes, is availabel for your instructional enjoyment.', 'jquery-t-countdown-widget'), '<a href="http://plugins.twinpictures.de/plugins/t-minus-countdown/documentation/" target="_blank">', '</a>'); ?></li>
249
+ <li><?php printf( __( 'A %sCommunity translation%s tool has been set up that allows anyone to assist in translating T(-) Countdown. All are %swelcome to participate%s.', 'jquery-t-countdown-widget'), '<a href="http://translate.twinpictures.de/projects/t-countdown" target="_blank">', '</a>', '<a href="http://translate.twinpictures.de/wordpress/wp-login.php?action=register" target="_blank">', '</a>' ); ?></li>
250
+ <li><?php printf( __( 'If this plugin %s, please consider %ssharing your story%s with others.', 'jquery-t-countdown-widget'), $like_it, '<a href="'.$share_it.'" target="_blank">', '</a>' ) ?></li>
251
  <li><a href="https://wordpress.org/plugins/jquery-t-countdown-widget/" target="_blank">WordPress.org</a> | <a href="http://plugins.twinpictures.de/plugins/t-minus-countdown/" target="_blank">Twinpictues Plugin Oven</a></li>
252
  </ul>
253
  </ul>
262
  <div class="handlediv" title="<?php _e( 'Click to toggle' ) ?>"><br/></div>
263
  <h3 class="handle"><?php _e( 'T(-) Countdown Control' ) ?></h3>
264
  <div class="inside">
265
+ <p><?php printf(__( '%sT(-) Countdown Control%s is our premium plugin that manages and schedules multiple recurring countdown timers for repeating events.', 'jquery-t-countdown-widget' ), '<a href="http://plugins.twinpictures.de/premium-plugins/t-minus-countdown-control/?utm_source=t-countdown&utm_medium=plugin-settings-page&utm_content=t-countdown&utm_campaign=t-control-sidebar">', '</a>'); ?></p>
266
+ <h4><?php _e('Reasons To Go Pro', 'jquery-t-countdown-widget'); ?></h4>
267
  <ol>
268
+ <li><?php _e('Schedule and manage multiple recurring countdowns', 'jquery-t-countdown-widget'); ?></li>
269
+ <li><?php _e('Highly responsive professional support', 'jquery-t-countdown-widget'); ?></li>
270
+ <li><?php printf(__('%sT(-) Countdown Control Testimonials%s', 'jquery-t-countdown-widget'), '<a href="http://plugins.twinpictures.de/testimonial/t-countdown-control-testimonias/" target="_blank">', '</a>'); ?></li>
271
  </ol>
272
  </div>
273
  </div>
280
  <div class="postbox-container side metabox-holder" style="width:29%;">
281
  <div style="margin:0 5px;">
282
  <div class="postbox">
283
+ <h3 class="handle"><?php _e( 'Register T(-) Countdown Events', 'jquery-t-countdown-widget') ?></h3>
284
  <div class="inside">
285
+ <p><?php printf( __('To receive plugin updates you must register your plugin. Enter your T(-) Countdown Events licence key below. Licence keys may be viewed and managed by logging into %syour account%s.', 'jquery-t-countdown-widget'), '<a href="http://plugins.twinpictures.de/your-account/" target="_blank">', '</a>'); ?></p>
286
  <form method="post" action="options.php">
287
  <?php
288
  settings_fields( $this->license_group );
293
  <table style="width: 100%">
294
  <tbody>
295
  <tr>
296
+ <th><?php _e( 'License Key', 'jquery-t-countdown-widget' ) ?>:</th>
297
  <td><label for="<?php echo $this->license_name ?>[tminus_event_license_key]"><input type="password" id="<?php echo $this->license_name ?>[tminus_event_license_key]" name="<?php echo $this->license_name ?>[tminus_event_license_key]" value="<?php esc_attr_e( $tce_licence ); ?>" style="width: 100%" />
298
+ <br /><span class="description"><?php _e('Enter your license key', 'jquery-t-countdown-widget'); ?></span></label>
299
  </td>
300
 
301
  </tr>
302
 
303
  <?php if( isset($options['tminus_event_license_key']) ) { ?>
304
  <tr valign="top">
305
+ <th><?php _e('License Status', 'jquery-t-countdown-widget'); ?>:</th>
306
  <td>
307
  <?php if( isset($options['tminus_event_license_status']) && $options['tminus_event_license_status'] == 'valid' ) { ?>
308
  <span style="color:green;"><?php _e('active'); ?></span><br/>
321
  </tbody>
322
  </table>
323
  </fieldset>
324
+ <?php submit_button( __( 'Register', 'jquery-t-countdown-widget') ); ?>
325
  </form>
326
  </div>
327
  </div>
334
  <div class="handlediv" title="<?php _e( 'Click to toggle', 'colomat' ) ?>"><br/></div>
335
  <h3 class="hndle">T(-) Countdown Events</h3>
336
  <div class="inside">
337
+ <p><?php printf( __('%sT(-) Countdown Events%s is a new add-on plugin for T(-) Countdown Control that adds multiple event scheduling. Trigger events, such as changing content or firing a javascript function at specific times while the countdown is running.', 'jquery-t-countdown-widget'), '<a href="http://plugins.twinpictures.de/premium-plugins/t-countdown-events/?utm_source=t-countdown&utm_medium=plugin-settings-page&utm_content=t-countdown&utm_campaign=t-events-sidebar" target="_blank">', '</a>'); ?></p>
338
  </div>
339
  </div>
340
  </div>
380
  */
381
  class CountDownTimer extends WP_Widget {
382
  /** constructor */
383
+ function __construct() {
384
+
385
+ $widget_ops = array(
386
+ 'classname' => 'CountDownTimer',
387
+ 'description' => __( 'A highly customizable jQuery countdown timer by Twinpictures', 'jquery-t-countdown-widget' )
388
+ );
389
+
390
+ parent::__construct( 'CountDownTimer', __( 'T(-) Countdown', 'jquery-t-countdown-widget' ), $widget_ops );
391
+
392
+ }
393
+
394
 
395
  /** Widget */
396
  function widget($args, $instance) {
565
  }
566
  }
567
  ?>
568
+ <p><label><?php _e('Title:', 'jquery-t-countdown-widget'); ?> <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>
569
 
570
+ <p><label><?php _e('Target:', 'jquery-t-countdown-widget'); ?> <input style="width: 230px;" id="<?php echo $this->get_field_id('t'); ?>" name="<?php echo $this->get_field_name('t'); ?>" type="text" value="<?php echo $t; ?>" class="t-datepicker"/></label></p>
571
  <?php
572
  if( is_plugin_active( 't-countdown-events/t-countdown-events.php' ) ){
573
  echo '<p><label>Event: <select name="'.$this->get_field_name('event_id').'" id="'.$this->get_field_name('event_id').'">';
574
+ echo '<option value="">'.__('Select Event', 'jquery-t-countdown-widget').'</option>';
575
  $args = array(
576
  'post_type' => 't-countdown-events',
577
  'posts_per_page' => -1,
591
  echo '</select></p>';
592
  }
593
  ?>
594
+ <p><?php _e('Style:', 'jquery-t-countdown-widget'); ?> <select name="<?php echo $this->get_field_name('style'); ?>" id="<?php echo $this->get_field_name('style'); ?>">
595
  <?php
596
  $styles_arr = $this->get_styles($options['custom_css']);
597
  foreach($styles_arr as $style_name){
604
  ?>
605
  </select></p>
606
 
607
+ <p><label><input type="checkbox" id="<?php echo $this->get_field_id('omitweeks'); ?>" name="<?php echo $this->get_field_name('omitweeks'); ?>" value="true" <?php echo checked( $omitweeks, 'true' ); ?> /> <?php _e('Omit weeks from timer.', 'jquery-t-countdown-widget'); ?></label></p>
608
 
609
+ <p><label><input type="checkbox" id="<?php echo $this->get_field_id('jsplacement'); ?>" name="<?php echo $this->get_field_name('jsplacement'); ?>" value="inline" <?php echo checked( $jsplacement, 'inline' ); ?> /> <?php _e('Inject JavaScript Inline.', 'jquery-t-countdown-widget'); ?></label></p>
610
 
611
  <?php
612
+ echo '<h3>'.__('Rockstar Features', 'jquery-t-countdown-widget').'</h3>';
613
  if($isrockstar){
614
  ?>
615
+ <a class="collapseomatic" id="tophtml<?php echo $this->get_field_id('tophtml'); ?>"><?php _e('Above Countdown', 'jquery-t-countdown-widget'); ?></a>
616
  <div id="target-tophtml<?php echo $this->get_field_id('tophtml'); ?>" class="collapseomatic_content">
617
+ <p><label for="<?php echo $this->get_field_id('tophtml'); ?>"><?php _e('Top HTML:', 'jquery-t-countdown-widget'); ?></label> <textarea id="<?php echo $this->get_field_id('tophtml'); ?>" name="<?php echo $this->get_field_name('tophtml'); ?>"><?php echo $tophtml; ?></textarea></p>
618
  </div>
619
  <br/>
620
+ <a class="collapseomatic" id="bothtml<?php echo $this->get_field_id('bothtml'); ?>"><?php _e('Below Countdown', 'jquery-t-countdown-widget'); ?></a>
621
  <div id="target-bothtml<?php echo $this->get_field_id('bothtml'); ?>" class="collapseomatic_content">
622
+ <p><label for="<?php echo $this->get_field_id('bothtml'); ?>"><?php _e('Bottom HTML:', 'jquery-t-countdown-widget'); ?></label> <textarea id="<?php echo $this->get_field_id('bothtml'); ?>" name="<?php echo $this->get_field_name('bothtml'); ?>"><?php echo $bothtml; ?></textarea></p>
623
  </div>
624
  <br/>
625
+ <a class="collapseomatic" id="launchhtml<?php echo $this->get_field_id('launchhtml'); ?>"><?php _e('When Countdown Reaches Zero', 'jquery-t-countdown-widget'); ?></a>
626
  <div id="target-launchhtml<?php echo $this->get_field_id('launchhtml'); ?>" class="collapseomatic_content">
627
+ <p><label for="<?php echo $this->get_field_id('launchhtml'); ?>"><?php _e('Launch Event HTML:', 'jquery-t-countdown-widget'); ?></label> <textarea id="<?php echo $this->get_field_id('launchhtml'); ?>" name="<?php echo $this->get_field_name('launchhtml'); ?>"><?php echo $launchhtml; ?></textarea></p>
628
+ <p><?php _e('Launch Target:', 'jquery-t-countdown-widget'); ?> <select name="<?php echo $this->get_field_name('launchtarget'); ?>" id="<?php echo $this->get_field_name('launchtarget'); ?>">
629
  <?php
630
  $target_arr = array(
631
+ 'tophtml' => __('Above Countdown', 'jquery-t-countdown-widget'),
632
+ 'bothtml' => __('Below Countdown', 'jquery-t-countdown-widget'),
633
+ 'countdown' => __('Entire Countdown', 'jquery-t-countdown-widget'),
634
+ 'countup' => __('Count Up', 'jquery-t-countdown-widget')
635
  );
636
  foreach($target_arr as $key => $val){
637
  $selected = "";
644
  </select></p>
645
  </div>
646
  <br/>
647
+ <a class="collapseomatic" id="titles<?php echo $this->get_field_id('weeks'); ?>"><?php _e('Digit Titles', 'jquery-t-countdown-widget'); ?></a>
648
  <div id="target-titles<?php echo $this->get_field_id('weeks'); ?>" class="collapseomatic_content">
649
+ <p><label for="<?php echo $this->get_field_id('weeks'); ?>"><?php _e('How do you spell "weeks"?:', 'jquery-t-countdown-widget'); ?> <input class="widefat" id="<?php echo $this->get_field_id('weeks'); ?>" name="<?php echo $this->get_field_name('weeks'); ?>" type="text" value="<?php echo $weeks; ?>" /></label></p>
650
+ <p><label for="<?php echo $this->get_field_id('days'); ?>"><?php _e('How do you spell "days"?:', 'jquery-t-countdown-widget'); ?> <input class="widefat" id="<?php echo $this->get_field_id('days'); ?>" name="<?php echo $this->get_field_name('days'); ?>" type="text" value="<?php echo $days; ?>" /></label></p>
651
+ <p><label for="<?php echo $this->get_field_id('hours'); ?>"><?php _e('How do you spell "hours"?:', 'jquery-t-countdown-widget'); ?> <input class="widefat" id="<?php echo $this->get_field_id('hours'); ?>" name="<?php echo $this->get_field_name('hours'); ?>" type="text" value="<?php echo $hours; ?>" /></label></p>
652
+ <p><label for="<?php echo $this->get_field_id('minutes'); ?>"><?php _e('How do you spell "minutes"?:', 'jquery-t-countdown-widget'); ?> <input class="widefat" id="<?php echo $this->get_field_id('minutes'); ?>" name="<?php echo $this->get_field_name('minutes'); ?>" type="text" value="<?php echo $minutes; ?>" /></label></p>
653
+ <p><label for="<?php echo $this->get_field_id('seconds'); ?>"><?php _e('And "seconds" are spelled:', 'jquery-t-countdown-widget'); ?> <input class="widefat" id="<?php echo $this->get_field_id('seconds'); ?>" name="<?php echo $this->get_field_name('seconds'); ?>" type="text" value="<?php echo $seconds; ?>" /></label></p>
654
  </div>
655
 
656
  <?php
661
  $like_it = $like_it_arr[$rand_key];
662
  ?>
663
  <p>
664
+ <?php printf( __('T(-) Countdown %s!', 'jquery-t-countdown-widget'), $like_it); ?>
665
+ <a href="options-general.php?page=t-countdown"><?php _e('Enable Rockstar Features', 'jquery-t-countdown-widget'); ?></a>
666
  </p>
667
  <?php } //end if not rockstar ?>
668
 
669
  <br/>
670
+ <a class="collapseomatic" id="tccc<?php echo $this->get_field_id('isrockstar'); ?>"><?php _e('Schedule Recurring Countdown', 'jquery-t-countdown-widget'); ?></a>
671
  <div id="target-tccc<?php echo $this->get_field_id('isrockstar'); ?>" class="collapseomatic_content">
672
+ <p><?php printf(__('%sT(-) Countdown Control%s is a premium countdown plugin that includes the ability to schedule and manage multiple recurring T(-) Countdowns... the Jedi way.', 'jquery-t-countdown-widget'), '<a href="http://plugins.twinpictures.de/premium-plugins/t-minus-countdown-control/?utm_source=t-countdown&utm_medium=widget-settings&utm_content=t-countdown-control&utm_campaign=t-countdown-widget" target="blank" title="(-) Countdown Control">', '</a>'); ?></p>
673
  </div>
674
  <br/><br/>
675
  <?php
677
  } // class CountDownTimer
678
 
679
  // register CountDownTimer widget
680
+ function tminus_register_widget() {
681
+ register_widget( 'CountDownTimer' );
682
+ }
683
+ add_action( 'widgets_init', 'tminus_register_widget' );
684
 
685
  //code for the footer
686
  add_action('wp_footer', 'print_my_script', 99);
717
  if($script['content']){
718
  echo ", onComplete: function() {
719
  $('#".$script['id']."-".$script['launchtarget']."').css({'width' : '".$script['launchwidth']."', 'height' : '".$script['launchheight']."'});
720
+ $('#".$script['id']."-".$script['launchtarget']."').html(".$script['content'].");
721
  }";
722
  }
723
  ?>
739
  extract(shortcode_atts(array(
740
  'id' => $ran,
741
  't' => '',
742
+ 'weeks' => __('weeks', 'jquery-t-countdown-widget'),
743
+ 'days' => __('days', 'jquery-t-countdown-widget'),
744
+ 'hours' => __('hours', 'jquery-t-countdown-widget'),
745
+ 'minutes' => __('minutes', 'jquery-t-countdown-widget'),
746
+ 'seconds' => __('seconds', 'jquery-t-countdown-widget'),
747
  'omitweeks' => 'false',
748
  'style' => 'jedi',
749
  'before' => '',
899
  $launchheight .= 'px';
900
  }
901
 
902
+ $content = json_encode(do_shortcode($content));
903
  $content = str_replace(array('\r\n', '\r', '\n<p>', '\n'), '', $content);
904
+
905
  if($jsplacement == "footer"){
906
  $add_my_script[$id] = array(
907
  'id' => $id,
942
  if($content){
943
  $tminus .= ", onComplete: function() {
944
  $('#".$id."-".$launchtarget."').css({'width' : '".$launchwidth."', 'height' : '".$launchheight."'});
945
+ $('#".$id."-".$launchtarget."').html(".$content.");
946
  }";
947
  }
948
  $tminus .= "});
languages/{tminus-ca_CA.mo → jquery-t-countdown-widget-ca.mo} RENAMED
File without changes
languages/{tminus-ca_CA.po → jquery-t-countdown-widget-ca.po} RENAMED
File without changes
languages/{tminus-cs_CZ.mo → jquery-t-countdown-widget-cs.mo} RENAMED
File without changes
languages/{tminus-cs_CZ.po → jquery-t-countdown-widget-cs.po} RENAMED
File without changes
languages/{tminus-de_DE.mo → jquery-t-countdown-widget-de.mo} RENAMED
File without changes
languages/{tminus-de_DE.po → jquery-t-countdown-widget-de.po} RENAMED
File without changes
languages/{tminus-es_ES.mo → jquery-t-countdown-widget-es.mo} RENAMED
File without changes
languages/{tminus-es_ES.po → jquery-t-countdown-widget-es.po} RENAMED
File without changes
languages/{tminus-fa_FA.mo → jquery-t-countdown-widget-fa.mo} RENAMED
File without changes
languages/{tminus-fa_FA.po → jquery-t-countdown-widget-fa.po} RENAMED
File without changes
languages/{tminus-fr_FR.mo → jquery-t-countdown-widget-fr.mo} RENAMED
File without changes
languages/{tminus-fr_FR.po → jquery-t-countdown-widget-fr.po} RENAMED
File without changes
languages/{tminus-it_IT.mo → jquery-t-countdown-widget-it_IT.mo} RENAMED
File without changes
languages/{tminus-it_IT.po → jquery-t-countdown-widget-it_IT.po} RENAMED
File without changes
languages/{tminus-lt_LT.mo → jquery-t-countdown-widget-lt_LT.mo} RENAMED
File without changes
languages/{tminus-lt_LT.po → jquery-t-countdown-widget-lt_LT.po} RENAMED
File without changes
languages/{tminus-nl_NL.mo → jquery-t-countdown-widget-nl.mo} RENAMED
File without changes
languages/{tminus-nl_NL.po → jquery-t-countdown-widget-nl.po} RENAMED
File without changes
languages/{tminus-pt_BR.mo → jquery-t-countdown-widget-pt.mo} RENAMED
File without changes
languages/{tminus-pt_BR.po → jquery-t-countdown-widget-pt.po} RENAMED
File without changes
languages/{tminus-ru_RU.mo → jquery-t-countdown-widget-ru.mo} RENAMED
File without changes
languages/{tminus-ru_RU.po → jquery-t-countdown-widget-ru.po} RENAMED
File without changes
languages/{tminus-sk_SK.mo → jquery-t-countdown-widget-sk.mo} RENAMED
File without changes
languages/{tminus-sk_SK.po → jquery-t-countdown-widget-sk.po} RENAMED
File without changes
languages/{tminus.pot → jquery-t-countdown-widget.pot} RENAMED
File without changes
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: 3.9
7
- Tested up to: 4.3.0
8
- Stable tag: 2.3.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -65,6 +65,11 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the
65
 
66
  == Changelog ==
67
 
 
 
 
 
 
68
  = 2.3.4 =
69
  * Corrected name of widget
70
 
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: 3.9
7
+ Tested up to: 4.3.1
8
+ Stable tag: 2.3.5
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.5 =
69
+ * Modified php constructor
70
+ * Adjusted language domain inline with new WordPress Translation tool
71
+ * Fixed bug with html in launch text
72
+
73
  = 2.3.4 =
74
  * Corrected name of widget
75