Plugin Directory

Changeset 655348


Ignore:
Timestamp:
01/19/2013 05:43:28 PM (13 years ago)
Author:
fergbrain
Message:

3.0.5 release

Location:
countdown-timer/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • countdown-timer/trunk/.gitignore

    r651785 r655348  
    1010assets/banner-772x250.jpg
    1111report
     12fergcorp_debugCountdownTimer.php
  • countdown-timer/trunk/fergcorp_countdownTimer.php

    r651785 r655348  
    44Plugin URI: http://www.andrewferguson.net/wordpress-plugins/countdown-timer/
    55Description: Use shortcodes and a widget to count down or up to the years, months, weeks, days, hours, minutes, and/or seconds to a particular event.
    6 Version: 3.0.4
     6Version: 3.0.5
    77Author: Andrew Ferguson
    88Author URI: http://www.andrewferguson.net
     
    111111        $this->loadSettings();
    112112
    113         if(version_compare($this->version, "3.0.4", "<")){
     113        if(version_compare($this->version, "3.0.5", "<")){
    114114            add_action('admin_init', array( &$this, 'install' ) );
    115115            add_action('admin_init', array( &$this, 'loadSettings' ) );
     
    693693
    694694        if(!$this->eventsPresent){
    695                 $toReturn = __('No dates present', 'fergcorp_countdownTimer');
     695                $toReturn = "<li>".__('No dates present', 'fergcorp_countdownTimer')."</li>";
    696696        }
    697697
     
    10871087     * @author Andrew Ferguson
    10881088    */
    1089     public function install(){
     1089    public static function install(){
    10901090        $plugin_data = get_plugin_data(__FILE__);
    10911091
    1092         //Don't test for now
    1093         // @codeCoverageIgnoreStart
    10941092        //Move widget details from old option to new option only if the new option does not exist
    10951093        if( ( $oldWidget = get_option( "widget_fergcorp_countdown" ) ) && (!get_option( "widget_fergcorp_countdown_timer_widget" ) ) ) {
     
    11281126            delete_option("widget_fergcorp_countdown");
    11291127        }
    1130         // @codeCoverageIgnoreEnd
    1131 
    1132         // @codeCoverageIgnoreStart
     1128
    11331129        //Move timeFormat data from old option to new option only if the new option does not exist
    11341130        if( ( $timeOffset = get_option( "fergcorp_countdownTimer_timeOffset" ) ) && (!get_option( "fergcorp_countdownTimer_timeFormat" ) ) ) {
     
    11401136            delete_option("fergcorp_countdownTimer_timeOffset");
    11411137        }
    1142         // @codeCoverageIgnoreEnd
    1143 
    1144         // @codeCoverageIgnoreStart
     1138
    11451139        $oneTimeEvent = get_option("fergcorp_countdownTimer_oneTimeEvent");
    11461140        if( ( $oneTimeEvent )  && ( gettype($oneTimeEvent[0]) == "array") ) {
     
    11511145            update_option("fergcorp_countdownTimer_oneTimeEvent", $event_object_array);
    11521146        }
    1153         // @codeCoverageIgnoreEnd
    11541147
    11551148        //Install the defaults
    1156         $this->install_option('fergcorp_countdownTimer_', 'deleteOneTimeEvents', '0');
    1157         $this->install_option('fergcorp_countdownTimer_', 'timeFormat', 'F jS, Y, g:i a');
    1158         $this->install_option('fergcorp_countdownTimer_', 'showYear', '1');
    1159         $this->install_option('fergcorp_countdownTimer_', 'showMonth', '1');
    1160         $this->install_option('fergcorp_countdownTimer_', 'showWeek', '0');
    1161         $this->install_option('fergcorp_countdownTimer_', 'showDay', '1');
    1162         $this->install_option('fergcorp_countdownTimer_', 'showHour', '1');
    1163         $this->install_option('fergcorp_countdownTimer_', 'showMinute', '1');
    1164         $this->install_option('fergcorp_countdownTimer_', 'showSecond', '0');
    1165         $this->install_option('fergcorp_countdownTimer_', 'stripZero', '1');
    1166         $this->install_option('fergcorp_countdownTimer_', 'enableJS', '1');
    1167         $this->install_option('fergcorp_countdownTimer_', 'timeSinceTime', '0');
    1168         $this->install_option('fergcorp_countdownTimer_', 'titleSuffix', ':<br />');
    1169         $this->install_option('fergcorp_countdownTimer_', 'enableShortcodeExcerpt', '0');
    1170         $this->install_option('fergcorp_countdownTimer_', 'oneTimeEvent', '0');
     1149        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'deleteOneTimeEvents', '0');
     1150        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'timeFormat', 'F jS, Y, g:i a');
     1151        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'showYear', '1');
     1152        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'showMonth', '1');
     1153        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'showWeek', '0');
     1154        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'showDay', '1');
     1155        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'showHour', '1');
     1156        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'showMinute', '1');
     1157        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'showSecond', '0');
     1158        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'stripZero', '1');
     1159        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'enableJS', '1');
     1160        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'timeSinceTime', '0');
     1161        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'titleSuffix', ':<br />');
     1162        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'enableShortcodeExcerpt', '0');
     1163        Fergcorp_Countdown_Timer::install_option('fergcorp_countdownTimer_', 'oneTimeEvent', '0');
    11711164
    11721165        //Update version number...last thing
     
    12651258    }
    12661259
    1267     /*public function getTimestamp() {
     1260    public function getTimestamp() {
    12681261         return method_exists('DateTime', 'getTimestamp') ? parent::getTimestamp() : $this->time;
    1269     }*/
     1262    }
    12701263
    12711264    public function setTitle ( $title ) {
  • countdown-timer/trunk/lang/fergcorp_countdownTimer-bs_BA.po

    r558835 r655348  
    11msgid ""
    22msgstr ""
    3 "Project-Id-Version: Countdown Timer v3.0 Beta 2\n"
     3"Project-Id-Version: Countdown Timer v3.0.5\n"
    44"Report-Msgid-Bugs-To: \n"
    55"POT-Creation-Date: 2012-06-14 21:03-0800\n"
    6 "PO-Revision-Date: 2012-06-15 05:20:38+0000\n"
     6"PO-Revision-Date: 2013-01-19 17:41:23+0000\n"
    77"Last-Translator: Andrew Ferguson <andrew@fergcorp.com>\n"
    88"Language-Team: \n"
     
    2020"X-Textdomain-Support: yes"
    2121
    22 #: fergcorp_countdownTimer.php:174
     22#: fergcorp_countdownTimer.php:205
    2323#@ fergcorp_countdownTimer
    2424msgid "Countdown Timer Settings"
    2525msgstr ""
    2626
    27 #: fergcorp_countdownTimer.php:174
    28 #: fergcorp_countdownTimer.php:1284
     27#: fergcorp_countdownTimer.php:205
     28#: fergcorp_countdownTimer.php:1329
    2929#@ fergcorp_countdownTimer
    3030msgid "Countdown Timer"
    3131msgstr ""
    3232
    33 #: fergcorp_countdownTimer.php:200
     33#: fergcorp_countdownTimer.php:231
    3434#@ fergcorp_countdownTimer
    3535msgid "Are you sure you wish to delete"
    3636msgstr "Sigurno želite obrisati"
    3737
    38 #: fergcorp_countdownTimer.php:247
     38#: fergcorp_countdownTimer.php:318
    3939#@ fergcorp_countdownTimer
    4040msgid "Plugin Homepage"
    4141msgstr "Stranica dodatka"
    4242
    43 #: fergcorp_countdownTimer.php:248
     43#: fergcorp_countdownTimer.php:319
    4444#@ fergcorp_countdownTimer
    4545msgid "Support Forum"
    4646msgstr "Forum za podršku"
    4747
    48 #: fergcorp_countdownTimer.php:249
     48#: fergcorp_countdownTimer.php:320
    4949#@ fergcorp_countdownTimer
    5050msgid "Amazon Wishlist"
    5151msgstr "Lista želja"
    5252
    53 #: fergcorp_countdownTimer.php:253
     53#: fergcorp_countdownTimer.php:324
    5454#@ fergcorp_countdownTimer
    5555msgid "I've coded and supported this plugin for several years now, however I am a full-time engineer with a real, full-time job and really only do this programming thing on the side for the love of it. If you would like to continue to see updates, please consider donating above."
    5656msgstr ""
    5757
    58 #: fergcorp_countdownTimer.php:256
     58#: fergcorp_countdownTimer.php:266
    5959#@ fergcorp_countdownTimer
    6060msgid "Resources"
    6161msgstr "Resursi"
    6262
    63 #: fergcorp_countdownTimer.php:270
     63#: fergcorp_countdownTimer.php:280
    6464#, fuzzy
    6565#@ fergcorp_countdownTimer
     
    6767msgstr "Instalacione napomene"
    6868
    69 #: fergcorp_countdownTimer.php:271
     69#: fergcorp_countdownTimer.php:281
    7070#@ fergcorp_countdownTimer
    7171msgid "One Time Events"
    7272msgstr "Pojedinačni događaji"
    7373
    74 #: fergcorp_countdownTimer.php:272
     74#: fergcorp_countdownTimer.php:282
    7575#@ fergcorp_countdownTimer
    7676msgid "Management"
    7777msgstr "Kontola"
    7878
    79 #: fergcorp_countdownTimer.php:273
     79#: fergcorp_countdownTimer.php:283
    8080#@ fergcorp_countdownTimer
    8181msgid "Countdown Time Display"
    8282msgstr "Odbrojavanje - šta prikazati"
    8383
    84 #: fergcorp_countdownTimer.php:274
    85 #: fergcorp_countdownTimer.php:557
     84#: fergcorp_countdownTimer.php:284
     85#: fergcorp_countdownTimer.php:582
    8686#@ fergcorp_countdownTimer
    8787msgid "onHover Time Format"
    8888msgstr "Izgled vremena na prelaz miša"
    8989
    90 #: fergcorp_countdownTimer.php:275
     90#: fergcorp_countdownTimer.php:285
    9191#@ fergcorp_countdownTimer
    9292msgid "Display Format Options"
    9393msgstr "Opcije prikaza"
    9494
    95 #: fergcorp_countdownTimer.php:276
     95#: fergcorp_countdownTimer.php:286
    9696#@ fergcorp_countdownTimer
    9797msgid "Example Display"
    9898msgstr "Izgled stavke"
    9999
    100 #: fergcorp_countdownTimer.php:283
     100#: fergcorp_countdownTimer.php:293
    101101#@ fergcorp_countdownTimer
    102102msgid "Save Changes"
    103103msgstr ""
    104104
    105 #: fergcorp_countdownTimer.php:305
     105#: fergcorp_countdownTimer.php:339
    106106#@ fergcorp_countdownTimer
    107107msgid "This setting controls what units of time are displayed."
    108108msgstr "Ovdje podešavate koje će se vremenske jedinice prikazivati."
    109109
    110 #: fergcorp_countdownTimer.php:307
     110#: fergcorp_countdownTimer.php:341
    111111#@ fergcorp_countdownTimer
    112112msgid "Years:"
    113113msgstr "Godine:"
    114114
    115 #: fergcorp_countdownTimer.php:308
     115#: fergcorp_countdownTimer.php:342
    116116#@ fergcorp_countdownTimer
    117117msgid "Months:"
    118118msgstr "Mjeseci:"
    119119
    120 #: fergcorp_countdownTimer.php:310
     120#: fergcorp_countdownTimer.php:344
    121121#@ fergcorp_countdownTimer
    122122msgid "Days:"
    123123msgstr "Dani:"
    124124
    125 #: fergcorp_countdownTimer.php:311
     125#: fergcorp_countdownTimer.php:345
    126126#@ fergcorp_countdownTimer
    127127msgid "Hours:"
    128128msgstr "Sati:"
    129129
    130 #: fergcorp_countdownTimer.php:312
     130#: fergcorp_countdownTimer.php:346
    131131#@ fergcorp_countdownTimer
    132132msgid "Minutes:"
    133133msgstr "Minute:"
    134134
    135 #: fergcorp_countdownTimer.php:313
    136 #: fergcorp_countdownTimer.php:511
     135#: fergcorp_countdownTimer.php:347
     136#: fergcorp_countdownTimer.php:536
    137137#@ fergcorp_countdownTimer
    138138msgid "Seconds:"
    139139msgstr "Sekunde:"
    140140
    141 #: fergcorp_countdownTimer.php:314
     141#: fergcorp_countdownTimer.php:348
    142142#@ fergcorp_countdownTimer
    143143msgid "Strip non-significant zeros:"
    144144msgstr "Ukloni bespotrebne nule:"
    145145
    146 #: fergcorp_countdownTimer.php:333
     146#: fergcorp_countdownTimer.php:367
    147147#@ fergcorp_countdownTimer
    148148msgid "Delete"
    149149msgstr "Obriši"
    150150
    151 #: fergcorp_countdownTimer.php:334
     151#: fergcorp_countdownTimer.php:368
    152152#@ fergcorp_countdownTimer
    153153msgid "Event Date"
    154154msgstr "Datum stavke"
    155155
    156 #: fergcorp_countdownTimer.php:335
     156#: fergcorp_countdownTimer.php:369
    157157#@ fergcorp_countdownTimer
    158158msgid "Event Title"
    159159msgstr "Naslov stavke"
    160160
    161 #: fergcorp_countdownTimer.php:336
     161#: fergcorp_countdownTimer.php:370
    162162#@ fergcorp_countdownTimer
    163163msgid "Link"
    164164msgstr "Link"
    165165
    166 #: fergcorp_countdownTimer.php:337
     166#: fergcorp_countdownTimer.php:371
    167167#@ fergcorp_countdownTimer
    168168msgid "Display \"Time since\""
    169169msgstr "Prikaći \"Prošlo od tada\""
    170170
    171 #: fergcorp_countdownTimer.php:435
     171#: fergcorp_countdownTimer.php:460
    172172#@ fergcorp_countdownTimer
    173173msgid "Automatically delete 'One Time Events' after they have occured?"
    174174msgstr "Automatski briši 'Pojedinačne događaje' nakon što se dese?"
    175175
    176 #: fergcorp_countdownTimer.php:444
    177 #: fergcorp_countdownTimer.php:1163
     176#: fergcorp_countdownTimer.php:469
     177#: fergcorp_countdownTimer.php:1228
    178178#@ fergcorp_countdownTimer
    179179msgid "Yes"
    180180msgstr "Da"
    181181
    182 #: fergcorp_countdownTimer.php:454
    183 #: fergcorp_countdownTimer.php:1173
     182#: fergcorp_countdownTimer.php:479
     183#: fergcorp_countdownTimer.php:1238
    184184#@ fergcorp_countdownTimer
    185185msgid "No"
    186186msgstr "Ne"
    187187
    188 #: fergcorp_countdownTimer.php:469
     188#: fergcorp_countdownTimer.php:494
    189189#, php-format
    190190#@ fergcorp_countdownTimer
     
    192192msgstr "Odbrojavanje koristi <a %s>PHP's <b>strtotime</b> funkcije</a> i regularno će prepoznati bilo koji tekstualni opis datuma na <b>Engleskom</b>."
    193193
    194 #: fergcorp_countdownTimer.php:470
     194#: fergcorp_countdownTimer.php:495
    195195#@ fergcorp_countdownTimer
    196196msgid "Examples of some (but not all) valid dates"
    197197msgstr "Primjeri nekih (ali ne i svih) validnih vremenskih izraza (<b>Morate koristiti engleske izraze!</b> - op.p)"
    198198
    199 #: fergcorp_countdownTimer.php:479
    200 #, fuzzy, php-format, php-format
     199#: fergcorp_countdownTimer.php:504
     200#, fuzzy, php-format, php-format, php-format
    201201#@ fergcorp_countdownTimer
    202202msgid "To insert the Countdown Timer into your sidebar, you can use the <a %s>Countdown Timer Widget</a>."
    203203msgstr "Dospjeli ste dovdje, još malo do kraja. Da ubacite Odborojavanje vremena u vaš sidebar <a %s>koristite widžet Odbrojavanje</a>, pod uvjetom da su vam widžeti omogućeni (ili imate ovlasti da ih omogućite)."
    204204
    205 #: fergcorp_countdownTimer.php:481
     205#: fergcorp_countdownTimer.php:506
    206206#, php-format
    207207#@ fergcorp_countdownTimer
     
    209209msgstr "Za prikaz <b>Odbrojavanje vremena</b> unutar stranice ili post-a, koristite <abbr %s %s>shortcodes</abbr>, za prikaz svih ili dio brojača, odnosno:"
    210210
    211 #: fergcorp_countdownTimer.php:481
     211#: fergcorp_countdownTimer.php:506
    212212#@ fergcorp_countdownTimer
    213213msgid "A shortcode is a WordPress-specific code that lets you do nifty things with very little effort. Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line. Shortcode = shortcut."
    214214msgstr "\"Shortcode\" je WordPress-ov kôd koji omogućava pravljenje ekstra stvari uz malo truda. Njegovim korištenjem možete uvesti datoteke ili kreirati objekte. Posao za koji bi morali pisati mnogo komplikovanog i ružnog kôda. \"Shortcode\" = <u>shortcut</u>, tj. kratica (u programiranju)"
    215215
    216 #: fergcorp_countdownTimer.php:488
     216#: fergcorp_countdownTimer.php:513
    217217#@ fergcorp_countdownTimer
    218218msgid "Where <em>##</em> is maximum number of results to be displayed - ordered by date."
    219219msgstr "Gdje su <em>##</em> maksimalan broj rezultata koje treba prikazati - redoslijed po datumu."
    220220
    221 #: fergcorp_countdownTimer.php:489
     221#: fergcorp_countdownTimer.php:514
    222222#@ fergcorp_countdownTimer
    223223msgid "If you want to insert individual countdown timers, such as in posts or on pages, you can use the following shortcode:"
    224224msgstr "Ako želite imati pojedinačnu kontrolu nad Odbrojavanjem (npr. u postovima ili stranicama) koristite sljedeći kôd:"
    225225
    226 #: fergcorp_countdownTimer.php:491
     226#: fergcorp_countdownTimer.php:516
    227227#@ fergcorp_countdownTimer
    228228msgid "Time until my birthday:"
    229229msgstr "Vrijeme do mog rođendana:"
    230230
    231 #: fergcorp_countdownTimer.php:495
    232 #, fuzzy, php-format, php-format
     231#: fergcorp_countdownTimer.php:520
     232#, fuzzy, php-format, php-format, php-format
    233233#@ fergcorp_countdownTimer
    234234msgid "Where <em>ENTER_DATE_HERE</em> uses <a %s>PHP's strtotime function</a> and will parse about any English textual datetime description."
    235235msgstr "Odbrojavanje koristi <a %s>PHP's <b>strtotime</b> funkcije</a> i regularno će prepoznati bilo koji tekstualni opis datuma na <b>Engleskom</b>."
    236236
    237 #: fergcorp_countdownTimer.php:510
     237#: fergcorp_countdownTimer.php:535
    238238#@ fergcorp_countdownTimer
    239239msgid "How long the timer remain visable if \"Display 'Time Since'\" is ticked:"
    240240msgstr "Koliko dugo će brojač biti vidljiv ukoliko je označeno \"Prošlo od tada\":"
    241241
    242 #: fergcorp_countdownTimer.php:520
     242#: fergcorp_countdownTimer.php:545
    243243#@ fergcorp_countdownTimer
    244244msgid "(0 = infinite; 86400 seconds = 1 day; 604800 seconds = 1 week)"
    245245msgstr "(0 = beskonačno; 86400 sekundi = 1 dan; 604800 = 1 sedmica)"
    246246
    247 #: fergcorp_countdownTimer.php:522
     247#: fergcorp_countdownTimer.php:547
    248248#@ fergcorp_countdownTimer
    249249msgid "Enable JavaScript countdown:"
    250250msgstr "Ukljući JavaScript odbrojavanje:"
    251251
    252 #: fergcorp_countdownTimer.php:529
     252#: fergcorp_countdownTimer.php:554
    253253#@ fergcorp_countdownTimer
    254254msgid "By default, WordPress does not parse shortcodes that are in excerpts. If you want to enable this functionality, you can do so here. Note that this will enable the parsing of <em>all</em> shortcodes in the excerpt, not just the ones associated with Countdown Timer."
    255255msgstr ""
    256256
    257 #: fergcorp_countdownTimer.php:530
     257#: fergcorp_countdownTimer.php:555
    258258#@ fergcorp_countdownTimer
    259259msgid "Enable shortcodes in the_excerpt:"
    260260msgstr ""
    261261
    262 #: fergcorp_countdownTimer.php:551
     262#: fergcorp_countdownTimer.php:576
    263263#, php-format
    264264#@ fergcorp_countdownTimer
     
    266266msgstr "Ukoliko ste podesili 'Izgled vremena na prelaz miša', prelaskom miša preko preostalog vremena će prikazati datum na koji se nešto treba desiti. Izgled vremena na prelaz miša koristi <a %s>PHP's Date() function</a>."
    267267
    268 #: fergcorp_countdownTimer.php:552
     268#: fergcorp_countdownTimer.php:577
    269269#@ fergcorp_countdownTimer
    270270msgid "Examples"
    271271msgstr "Primjeri"
    272272
    273 #: fergcorp_countdownTimer.php:554
    274 #: fergcorp_countdownTimer.php:555
     273#: fergcorp_countdownTimer.php:579
     274#: fergcorp_countdownTimer.php:580
    275275#@ fergcorp_countdownTimer
    276276msgid "goes to"
    277277msgstr "ide"
    278278
    279 #: fergcorp_countdownTimer.php:582
     279#: fergcorp_countdownTimer.php:607
    280280#@ fergcorp_countdownTimer
    281281msgid "This setting allows you to customize how each event is styled and wrapped."
    282282msgstr "Ove postavke vam omogućuju da podesite kako će svaka stavka izgledati."
    283283
    284 #: fergcorp_countdownTimer.php:583
     284#: fergcorp_countdownTimer.php:608
    285285#@ fergcorp_countdownTimer
    286286msgid "<strong>Title Suffix</strong> sets the content that appears immediately after title and before the timer."
    287287msgstr "<b>Sufix</b> postavlja sadržaj koji će biti prikazan odmah nakon naslova a prije brojača."
    288288
    289 #: fergcorp_countdownTimer.php:584
     289#: fergcorp_countdownTimer.php:609
    290290#@ fergcorp_countdownTimer
    291291msgid "Examples/Defaults"
    292292msgstr "Primjeri/Orginalne postavke"
    293293
    294 #: fergcorp_countdownTimer.php:586
    295 #: fergcorp_countdownTimer.php:588
     294#: fergcorp_countdownTimer.php:611
     295#: fergcorp_countdownTimer.php:613
    296296#@ fergcorp_countdownTimer
    297297msgid "Title Suffix"
    298298msgstr "Sufix naslova"
    299299
    300 #: fergcorp_countdownTimer.php:668
     300#: fergcorp_countdownTimer.php:695
    301301#@ fergcorp_countdownTimer
    302302msgid "No dates present"
    303303msgstr "Nijedan datum nije postavljen"
    304304
    305 #: fergcorp_countdownTimer.php:713
    306 #: fergcorp_countdownTimer.php:1044
     305#: fergcorp_countdownTimer.php:748
     306#: fergcorp_countdownTimer.php:1074
    307307#, php-format
    308308#@ fergcorp_countdownTimer
     
    310310msgstr "prije %s"
    311311
    312 #: fergcorp_countdownTimer.php:721
    313 #: fergcorp_countdownTimer.php:1045
     312#: fergcorp_countdownTimer.php:756
     313#: fergcorp_countdownTimer.php:1075
    314314#, php-format
    315315#@ fergcorp_countdownTimer
     
    317317msgstr "za %s"
    318318
    319 #. gettext fix: duplicate plural forms found, that may be ambiguous! Please check the code!
    320 #: fergcorp_countdownTimer.php:781
    321 #: fergcorp_countdownTimer.php:1022
    322 #: fergcorp_countdownTimer.php:1023
    323 #: fergcorp_countdownTimer.php:893
     319#: fergcorp_countdownTimer.php:816
     320#: fergcorp_countdownTimer.php:930
     321#: fergcorp_countdownTimer.php:1052
     322#: fergcorp_countdownTimer.php:1053
    324323#, php-format
    325324#@ fergcorp_countdownTimer
     
    329328msgstr[1] "%d godine,"
    330329
    331 #. gettext fix: duplicate plural forms found, that may be ambiguous! Please check the code!
    332 #: fergcorp_countdownTimer.php:793
    333 #: fergcorp_countdownTimer.php:1025
    334 #: fergcorp_countdownTimer.php:1026
    335 #: fergcorp_countdownTimer.php:890
     330#: fergcorp_countdownTimer.php:828
     331#: fergcorp_countdownTimer.php:926
     332#: fergcorp_countdownTimer.php:1055
     333#: fergcorp_countdownTimer.php:1056
    336334#, php-format
    337335#@ fergcorp_countdownTimer
     
    341339msgstr[1] "%d mjeseca,"
    342340
    343 #. gettext fix: duplicate plural forms found, that may be ambiguous! Please check the code!
    344 #: fergcorp_countdownTimer.php:820
    345 #: fergcorp_countdownTimer.php:1028
    346 #: fergcorp_countdownTimer.php:1029
    347 #: fergcorp_countdownTimer.php:887
     341#: fergcorp_countdownTimer.php:855
     342#: fergcorp_countdownTimer.php:923
     343#: fergcorp_countdownTimer.php:1058
     344#: fergcorp_countdownTimer.php:1059
    348345#, php-format
    349346#@ fergcorp_countdownTimer
     
    353350msgstr[1] "%d sedmice,"
    354351
    355 #. gettext fix: duplicate plural forms found, that may be ambiguous! Please check the code!
    356 #: fergcorp_countdownTimer.php:831
    357 #: fergcorp_countdownTimer.php:1031
    358 #: fergcorp_countdownTimer.php:1032
    359 #: fergcorp_countdownTimer.php:884
     352#: fergcorp_countdownTimer.php:866
     353#: fergcorp_countdownTimer.php:920
     354#: fergcorp_countdownTimer.php:1061
     355#: fergcorp_countdownTimer.php:1062
    360356#, php-format
    361357#@ fergcorp_countdownTimer
     
    365361msgstr[1] "%d dana,"
    366362
    367 #. gettext fix: duplicate plural forms found, that may be ambiguous! Please check the code!
    368 #: fergcorp_countdownTimer.php:844
    369 #: fergcorp_countdownTimer.php:1034
    370 #: fergcorp_countdownTimer.php:1035
    371 #: fergcorp_countdownTimer.php:881
     363#: fergcorp_countdownTimer.php:879
     364#: fergcorp_countdownTimer.php:917
     365#: fergcorp_countdownTimer.php:1064
     366#: fergcorp_countdownTimer.php:1065
    372367#, php-format
    373368#@ fergcorp_countdownTimer
     
    377372msgstr[1] "%d sahata,"
    378373
    379 #. gettext fix: duplicate plural forms found, that may be ambiguous! Please check the code!
    380 #: fergcorp_countdownTimer.php:857
    381 #: fergcorp_countdownTimer.php:1037
    382 #: fergcorp_countdownTimer.php:1038
    383 #: fergcorp_countdownTimer.php:878
     374#: fergcorp_countdownTimer.php:892
     375#: fergcorp_countdownTimer.php:914
     376#: fergcorp_countdownTimer.php:1067
     377#: fergcorp_countdownTimer.php:1068
    384378#, php-format
    385379#@ fergcorp_countdownTimer
     
    389383msgstr[1] "%d minute,"
    390384
    391 #: fergcorp_countdownTimer.php:869
    392 #: fergcorp_countdownTimer.php:875
    393 #: fergcorp_countdownTimer.php:1040
    394 #: fergcorp_countdownTimer.php:1041
     385#: fergcorp_countdownTimer.php:904
     386#: fergcorp_countdownTimer.php:911
     387#: fergcorp_countdownTimer.php:1070
     388#: fergcorp_countdownTimer.php:1071
    395389#, php-format
    396390#@ fergcorp_countdownTimer
     
    400394msgstr[1] "%d sekunde,"
    401395
    402 #: fergcorp_countdownTimer.php:1273
     396#: fergcorp_countdownTimer.php:1318
    403397#@ fergcorp_countdownTimer
    404398msgid "Adds the Countdown Timer"
    405399msgstr "Odbrojavanje - šta prikazati"
    406400
    407 #: fergcorp_countdownTimer.php:1289
     401#: fergcorp_countdownTimer.php:1334
    408402#@ fergcorp_countdownTimer
    409403msgid "Title:"
    410404msgstr "Naslov:"
    411405
    412 #: fergcorp_countdownTimer.php:1291
     406#: fergcorp_countdownTimer.php:1336
    413407#@ fergcorp_countdownTimer
    414408msgid "Maximum # of events to show:"
    415409msgstr "Najviše prikazanih stavki:"
    416410
    417 #: fergcorp_countdownTimer.php:1293
     411#: fergcorp_countdownTimer.php:1338
    418412#@ fergcorp_countdownTimer
    419413msgid "Notes:"
    420414msgstr "Napomene:"
    421415
    422 #: fergcorp_countdownTimer.php:1293
     416#: fergcorp_countdownTimer.php:1338
    423417#@ fergcorp_countdownTimer
    424418msgid "Set 'Maximum # of events' to '-1' if you want no limit."
    425419msgstr "Podesite 'Najviše prikazanih stavki:' na '-1' za neograničen broj."
    426420
    427 #: fergcorp_countdownTimer.php:309
     421#: fergcorp_countdownTimer.php:343
    428422#@ fergcorp_countdownTimer
    429423msgid "Weeks:"
  • countdown-timer/trunk/readme.txt

    r652174 r655348  
    55Requires at least: 3.5
    66Tested up to: 3.5
    7 Stable tag: 3.0.3
     7Stable tag: 3.0.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9595Where "ENTER_DATE_HERE" uses PHP's strtotime function and will parse about any English textual date/time description (such as "08 December 2012"). A complete list of valid formats can be found on PHP's [Supported Date and Time Format](http://www.php.net/manual/en/datetime.formats.php) page.
    9696
    97 = PHP =
     97= PHP = 
    9898
    9999Countdown Timer also provides a PHP function designed to be accessed publicly so you can include it in elements of your site that may not be in The Loop.
    100 
     100 
    101101`fergcorp_countdownTimer(##)`
    102102
     
    176176
    177177== Upgrade Notice ==
    178 = 3.0.4 =
    179 A couple of major bug fixes
     178= 3.0.5 =
     179A couple of major bug fixes that deal resolve issues with using PHP < 5.3 and scope of object during activation
    180180
    181181== Changelog ==
    182182
     183= 3.0.5 =
     184Relase date: 1/19/2013
     185
     186 * Bug fix: Eliminates Fatal error: Using $this when not in object context in...that prevented plugin from activating in certain circumstances
     187 * Bug fix: Added getTimestamp function needed for PHP < 5.3
     188 * Bug fix: Properly enclose "No dates present" in <li> tags
    183189
    184190= 3.0.4 =
     
    209215 * Bug fix: Will now check to see if the plugin has been updated and update settings as required to avoid problems such as "Call to a member function date() on a non-object...". Thanks to [pixwell] and [bonzo01] for pointing this out; special thanks to fiancée for letting me spend some time to fix it.
    210216 * Bug fix: Widget settings now properly moved from 2.4.3 to new format
    211  * Cosmetic: Spaces after input labels
     217 * Cosmetic: Spaces after input labels 
    212218
    213219= 3.0 =
     
    226232 * Updated readme instructions for installation and usage
    227233 * Added banner graphic for WordPress directory
    228 
     234 
    229235
    230236= 2.4.3 =
     
    260266 * Rewrote parts of fergcorp_countdownTimer_format to make it less repetitive. Also removed last three variables: displayFormatPrefix, displayFormatSuffix, and displayStyle
    261267 * Completely moved namespace from afdn to fergcorp
    262  * Changed the way dates are removed. Made it based on the lack of a date, instead of the lack of a title.
     268 * Changed the way dates are removed. Made it based on the lack of a date, instead of the lack of a title. 
    263269 * Reduced the user access level to Options Manager instead of Administrator
    264270 * Moved the options page from tools to settings in the admin menu
     
    462468
    463469= 1.2 =
    464 Release date: 03/13/2006:
     470Release date: 03/13/2006: 
    465471
    466472Development has been slow. Not really a lot to do. But version 1.2 offers some great things, including a bug fix! Deleting two or more events doesn't make the plugin freak out anymore (the bug fix). You can also customize how the onHover time is displayed, including not displaying it at all (just leave it blank). Because you can leave it blank, there is no default; but you can use and PHP 'date()' format. I recommend 'j M Y, G:i:s'. I also added a six month delay before the date on recurring events is reset'although as I'm writing this, I realize there's a slight bug there, nothing critical though. I welcome any new ideas, just leave a comment down below!
  • countdown-timer/trunk/tests/CountDownTimerTest.php

    r651785 r655348  
    11<?php
    22require_once('fergcorp_countdownTimer.php');
     3echo 'Current PHP version: ' . phpversion() . "\n";
    34
    45Class Test_Init_Fergcorp_Countdown_Timer extends WP_UnitTestCase{
     
    8586        $GLOBALS['fergcorp_countdownTimer_init'] = new Fergcorp_Countdown_Timer();
    8687        $this->plugin = $GLOBALS['fergcorp_countdownTimer_init'];
    87         $this->plugin->install();
    88 
    89         $this->plugin->__construct();
     88        //$this->plugin->install();
     89
     90        //$this->plugin->__construct();
    9091    }
    9192
     
    126127        }
    127128    }
     129   
     130    /**
     131     * @group install
     132     * @covers Fergcorp_Countdown_Timer::install
     133     */
     134    public function test_install_v2_4_3(){
     135        $oneTimeEvent = array(
     136            array(
     137                    "date"      =>  1356998400,
     138                    "text"      =>  "First of the year",
     139                    "timeSince" =>  "1",
     140                    "link"      =>  "http://google.com",
     141                ),
     142            array(
     143                    "date"      =>  1451001600,
     144                    "text"      =>  "Christmas 2015",
     145                    "timeSince" =>  NULL,
     146                    "link"      =>  "",
     147                ),
     148        );
     149       
     150        $sidebars_widgets = array(
     151                                    "wp_inactive_widgets"   => array(),
     152                                    "sidebar-1"             => array(   "fergcorp_countdowntimer",
     153                                                                        "search-2",
     154                                                                        "recent-posts-2",
     155                                                                        "recent-comments-2",
     156                                                                        "archives-2",
     157                                                                        "categories-2",
     158                                                                        "meta-2",
     159                                                                    ),
     160                                    "sidebar-2"             => array(),
     161                                    "sidebar-3"             => array(),
     162                                    "array_version" => 3
     163                                );
     164        wp_set_sidebars_widgets($sidebars_widgets);
     165        wp_get_sidebars_widgets();
     166       
     167        $installValues = array(
     168                                'widget_fergcorp_countdown'                         =>  'a:2:{s:5:"title";s:18:"My Countdown Timer";s:5:"count";i:5;}',
     169                                'fergcorp_countdownTimer_deleteOneTimeEvents'       =>  '0',
     170                                'fergcorp_countdownTimer_timeOffset'                =>  'j M Y, G:i:s',
     171                                'fergcorp_countdownTimer_showYear'                  =>  '0',
     172                                'fergcorp_countdownTimer_showMonth'                 =>  '1',
     173                                'fergcorp_countdownTimer_showWeek'                  =>  '0',
     174                                'fergcorp_countdownTimer_showDay'                   =>  '1',
     175                                'fergcorp_countdownTimer_showHour'                  =>  '0',
     176                                'fergcorp_countdownTimer_showMinute'                =>  '0',
     177                                'fergcorp_countdownTimer_showSecond'                =>  '0',
     178                                'fergcorp_countdownTimer_stripZero'                 =>  '1',
     179                                'fergcorp_countdownTimer_enableJS'                  =>  '1',
     180                                'fergcorp_countdownTimer_timeSinceTime'             =>  '0',
     181                                'fergcorp_countdownTimer_titleSuffix'               =>  '::',
     182                                'fergcorp_countdownTimer_enableShortcodeExcerpt'    =>  '0',
     183                                'fergcorp_countdownTimer_version'                   =>  '2.4.3',
     184                                'fergcorp_countdownTimer_oneTimeEvent'              =>  $oneTimeEvent,
     185        );
     186       
     187        foreach($installValues as $key => $value){
     188            update_option($key, $value);
     189        }
     190       
     191        $updatedValues = array(
     192                                        'deleteOneTimeEvents' => '0',
     193                                        'timeFormat' => 'j M Y, G:i:s',
     194                                        'showYear' => '0',
     195                                        'showMonth' => '1',
     196                                        'showWeek' => '0',
     197                                        'showDay' => '1',
     198                                        'showHour' => '0',
     199                                        'showMinute' => '0',
     200                                        'showSecond' => '0',
     201                                        'stripZero' => '1',
     202                                        'enableJS' => '1',
     203                                        'timeSinceTime' => '0',
     204                                        'titleSuffix' => '::',
     205                                        'enableShortcodeExcerpt' => '0',
     206
     207                                        'version' => $this->pluginData["Version"]
     208                                    ); 
     209       
     210        $this->plugin->install();
     211       
     212        foreach($updatedValues as $key => $value){
     213            $this->assertEquals($value, get_option("fergcorp_countdownTimer_".$key));
     214        }
     215       
     216        $updatedOneTimeEvent = get_option("fergcorp_countdownTimer_oneTimeEvent");
     217       
     218        for($i=0; $i < count($oneTimeEvent); $i++){
     219            $this->assertEquals($oneTimeEvent[$i]["date"], $updatedOneTimeEvent[$i]->getTimestamp());
     220            $this->assertEquals($oneTimeEvent[$i]["text"], $updatedOneTimeEvent[$i]->getTitle());
     221            $this->assertEquals($oneTimeEvent[$i]["timeSince"], $updatedOneTimeEvent[$i]->getTimeSince());
     222            $this->assertEquals($oneTimeEvent[$i]["link"], $updatedOneTimeEvent[$i]->getURL());
     223        }
     224    }
     225
     226    /**
     227     * @group install
     228     * @covers Fergcorp_Countdown_Timer::install
     229     */
     230    public function test_install_partial_v2_v_3(){
     231        $oneTimeEvent = array(
     232            array(
     233                    "date"      =>  1356998400,
     234                    "text"      =>  "First of the year",
     235                    "timeSince" =>  "1",
     236                    "link"      =>  "http://google.com",
     237                ),
     238            array(
     239                    "date"      =>  1451001600,
     240                    "text"      =>  "Christmas 2015",
     241                    "timeSince" =>  NULL,
     242                    "link"      =>  "",
     243                ),
     244        );
     245       
     246        $sidebars_widgets = array(
     247                                    "wp_inactive_widgets"   => array(),
     248                                    "sidebar-1"             => array(   "fergcorp_countdowntimer",
     249                                                                        "search-2",
     250                                                                        "recent-posts-2",
     251                                                                        "recent-comments-2",
     252                                                                        "archives-2",
     253                                                                        "categories-2",
     254                                                                        "meta-2",
     255                                                                    ),
     256                                    "sidebar-2"             => array(),
     257                                    "sidebar-3"             => array(),
     258                                    "array_version" => 3
     259                                );
     260        wp_set_sidebars_widgets($sidebars_widgets);
     261        wp_get_sidebars_widgets();
     262       
     263        $installValues = array(
     264                                'widget_fergcorp_countdown_timer_widget'            =>  'blahblah', //dummy values
     265                                'widget_fergcorp_countdown'                         =>  'a:2:{s:5:"title";s:18:"My Countdown Timer";s:5:"count";i:5;}',
     266                                'fergcorp_countdownTimer_deleteOneTimeEvents'       =>  '0',
     267                                'fergcorp_countdownTimer_timeOffset'                =>  'j M Y, G:i:s',
     268                                'fergcorp_countdownTimer_timeFormat'                =>  'F jS, Y, g:i a',
     269                                'fergcorp_countdownTimer_showYear'                  =>  '0',
     270                                'fergcorp_countdownTimer_showMonth'                 =>  '1',
     271                                'fergcorp_countdownTimer_showWeek'                  =>  '0',
     272                                'fergcorp_countdownTimer_showDay'                   =>  '1',
     273                                'fergcorp_countdownTimer_showHour'                  =>  '0',
     274                                'fergcorp_countdownTimer_showMinute'                =>  '0',
     275                                'fergcorp_countdownTimer_showSecond'                =>  '0',
     276                                'fergcorp_countdownTimer_stripZero'                 =>  '1',
     277                                'fergcorp_countdownTimer_enableJS'                  =>  '1',
     278                                'fergcorp_countdownTimer_timeSinceTime'             =>  '0',
     279                                'fergcorp_countdownTimer_titleSuffix'               =>  '::',
     280                                'fergcorp_countdownTimer_enableShortcodeExcerpt'    =>  '0',
     281                                'fergcorp_countdownTimer_version'                   =>  '2.4.3',
     282                                'fergcorp_countdownTimer_oneTimeEvent'              =>  $oneTimeEvent,
     283        );
     284       
     285        foreach($installValues as $key => $value){
     286            update_option($key, $value);
     287        }
     288       
     289        $updatedValues = array(
     290                                        'deleteOneTimeEvents' => '0',
     291                                        'showYear' => '0',
     292                                        'showMonth' => '1',
     293                                        'showWeek' => '0',
     294                                        'showDay' => '1',
     295                                        'showHour' => '0',
     296                                        'showMinute' => '0',
     297                                        'showSecond' => '0',
     298                                        'stripZero' => '1',
     299                                        'enableJS' => '1',
     300                                        'timeSinceTime' => '0',
     301                                        'titleSuffix' => '::',
     302                                        'enableShortcodeExcerpt' => '0',
     303
     304                                        'version' => $this->pluginData["Version"]
     305                                    ); 
     306       
     307        $this->plugin->install();
     308       
     309        foreach($updatedValues as $key => $value){
     310            $this->assertEquals($value, get_option("fergcorp_countdownTimer_".$key));
     311        }
     312       
     313        $this->assertEquals(get_option("fergcorp_countdownTimer_timeFormat"), "F jS, Y, g:i a");
     314       
     315        $updatedOneTimeEvent = get_option("fergcorp_countdownTimer_oneTimeEvent");
     316       
     317        for($i=0; $i < count($oneTimeEvent); $i++){
     318            $this->assertEquals($oneTimeEvent[$i]["date"], $updatedOneTimeEvent[$i]->getTimestamp());
     319            $this->assertEquals($oneTimeEvent[$i]["text"], $updatedOneTimeEvent[$i]->getTitle());
     320            $this->assertEquals($oneTimeEvent[$i]["timeSince"], $updatedOneTimeEvent[$i]->getTimeSince());
     321            $this->assertEquals($oneTimeEvent[$i]["link"], $updatedOneTimeEvent[$i]->getURL());
     322        }       
     323       
     324    }
    128325
    129326    /**
     
    243440        //var_dump($r);
    244441
    245         $this->assertTrue($r->isValid());
     442        $this->assertTrue($r->isValid(), $this->htmlStart.$buffer.$this->htmlEnd);
    246443        sleep(1);
    247444
     
    268465        //var_dump($r);
    269466
    270         $this->assertTrue($r->isValid());
     467        $this->assertTrue($r->isValid(), $this->htmlStart.$buffer.$this->htmlEnd);
    271468        sleep(1);
    272469    }
     
    291488        //var_dump($r);
    292489
    293         $this->assertTrue($r->isValid());
     490        $this->assertTrue($r->isValid(), $this->htmlStart.$buffer.$this->htmlEnd);
    294491        sleep(1);
    295492    }
     
    314511        //var_dump($r);
    315512
    316         $this->assertTrue($r->isValid());
     513        $this->assertTrue($r->isValid(), $this->htmlStart.$buffer.$this->htmlEnd);
    317514        sleep(1);
    318515    }
     
    337534        //var_dump($r);
    338535
    339         $this->assertTrue($r->isValid());
     536        $this->assertTrue($r->isValid(), $this->htmlStart.$buffer.$this->htmlEnd);
    340537        sleep(1);
    341538    }
     
    360557        //var_dump($r);
    361558
    362         $this->assertTrue($r->isValid());
     559        $this->assertTrue($r->isValid(), $this->htmlStart.$buffer.$this->htmlEnd);
    363560        sleep(1);
    364561    }
     
    383580        //var_dump($r);
    384581
    385         $this->assertTrue($r->isValid());
     582        $this->assertTrue($r->isValid(), $this->htmlStart.$buffer.$this->htmlEnd);
    386583        sleep(1);
    387584    }
     
    395592    public function test_example_display_meta_box(){
    396593        ob_start();
    397         echo "<ul>";
    398594        $this->plugin->example_display_meta_box();
    399         echo "</ul>";
    400595        $buffer = ob_get_clean();
    401596
     
    408603        //var_dump($r);
    409604
    410         $this->assertTrue($r->isValid());
     605        $this->assertTrue($r->isValid(), $this->htmlStart.$buffer.$this->htmlEnd);
    411606        sleep(1);
    412607    }
     
    503698     * @group settings_page
    504699     * @covers Fergcorp_Countdown_Timer::sanitize
     700     * @covers Fergcorp_Countdown_Timer::compare
    505701     */
    506702    public function test_sanitize(){
     
    9101106    public function test_showTimer_noEvents(){
    9111107
    912         $this->assertRegExp("/^No dates present$/is", $this->plugin->showTimer(-1, FALSE));
     1108        $this->assertRegExp("/^<li>No dates present<\/li>$/is", $this->plugin->showTimer(-1, FALSE));
    9131109    }
    9141110
     
    12461442        $this->assertRegExp("/^var fergcorp_countdown_timer_js_lang = {\"year\":\"%d year,\",\"years\":\"%d years,\",\"month\":\"%d month,\",\"months\":\"%d months,\",\"week\":\"%d week,\",\"weeks\":\"%d weeks,\",\"day\":\"%d day,\",\"days\":\"%d days,\",\"hour\":\"%d hour,\",\"hours\":\"%d hours,\",\"minute\":\"%d minute,\",\"minutes\":\"%d minutes,\",\"second\":\"%d second,\",\"seconds\":\"%d seconds,\",\"agotime\":\"%s ago\",\"intime\":\"in %s\"};\nvar fergcorp_countdown_timer_jsEvents = {\"x[0-9a-z]{32}\":\"[0-9]{10}\",\"x[0-9a-z]{32}\":\"[0-9]{10}\",\"x[0-9a-z]{32}\":\"[0-9]{10}\",\"x[0-9a-z]{32}\":\"[0-9]{10}\"};\nvar fergcorp_countdown_timer_options = {\"showYear\":\"1\",\"showMonth\":\"1\",\"showWeek\":\"0\",\"showDay\":\"1\",\"showHour\":\"1\",\"showMinute\":\"1\",\"showSecond\":\"0\",\"stripZero\":\"1\"};$/is", $GLOBALS["wp_scripts"]->print_scripts_l10n("fergcorp_countdowntimer", FALSE));
    12471443    }
    1248 
    12491444}
    12501445
     
    14901685        $this->expectOutputRegex("/^<aside(.*?)><ul>(.*?)<\/ul><\/aside>$/is");
    14911686        print $this->plugin->widget($args, $instance );
    1492         //<aside id="fergcorp_countdown_timer_widget-2" class="widget widget_fergcorp_countdown_timer_widget"><ul>No dates present</ul></aside>
     1687        //<aside id="fergcorp_countdown_timer_widget-2" class="widget widget_fergcorp_countdown_timer_widget"><ul><li>No dates present</li></ul></aside>
    14931688
    14941689    }
     
    15121707        $this->expectOutputRegex("/^<aside(.*?)><h3(.*?)>New Title<\/h3><ul>(.*?)<\/ul><\/aside>$/is");
    15131708        print $this->plugin->widget($args, $instance );
    1514         //<aside id="fergcorp_countdown_timer_widget-2" class="widget widget_fergcorp_countdown_timer_widget"><h3 class="widget-title">New Title</h3><ul>No dates present</ul></aside>
     1709        //<aside id="fergcorp_countdown_timer_widget-2" class="widget widget_fergcorp_countdown_timer_widget"><h3 class="widget-title">New Title</h3><ul><li>No dates present</li></ul></aside>
    15151710
    15161711    }
Note: See TracChangeset for help on using the changeset viewer.