From 8da42654c57573e7d241efadb0292b2ff6326537 Mon Sep 17 00:00:00 2001 From: danix Date: Wed, 4 Jul 2018 17:57:25 +0200 Subject: [PATCH] initial commit --- danixland-countdown.php | 194 +++++++++++++++++++++++++++++++++++ i18n/danixland-countdown.pot | 72 +++++++++++++ inc/style/basic.css | 67 ++++++++++++ inc/style/digital.ttf | Bin 0 -> 34404 bytes readme.txt | 75 ++++++++++++++ 5 files changed, 408 insertions(+) create mode 100644 danixland-countdown.php create mode 100644 i18n/danixland-countdown.pot create mode 100644 inc/style/basic.css create mode 100644 inc/style/digital.ttf create mode 100644 readme.txt diff --git a/danixland-countdown.php b/danixland-countdown.php new file mode 100644 index 0000000..c10f7a2 --- /dev/null +++ b/danixland-countdown.php @@ -0,0 +1,194 @@ + 400, 'height' => 350); + parent::__construct( + 'dnx-countdown', // id_base + __('danixland CountDown', 'dnxcd' ), // Name + array( 'description' => __('Use this widget to add a simple Count Down to your Sidebar', 'dnxcd') ), + $control_ops + ); + } + + /** + * How to display the widget on the public side of the site. + */ + public function widget( $args, $instance ) { + extract( $args ); + + /* Our variables from the widget settings. */ + $title = apply_filters('widget_title', $instance['title'] ); + + /* Before widget (defined by themes). */ + echo $before_widget; + + /* Display the widget title if one was input (before and after defined by themes). */ + if ( $title ) { + echo $before_title . $title . $after_title; + } + + if ( '' != get_option('dnxcd_future_date') ) { + echo '
'; + $date = gmdate('U', strtotime( get_option('dnxcd_future_date') )); + $diff = $date - gmdate('U'); + if ( '' != get_option('dnxcd_widget_link') ) { + echo ''; + echo '-' . floor($diff / (24 * 60 * 60)); + echo ''; + } else { + echo '-' . floor($diff / (24 * 60 * 60)); + } + echo '
'; + echo '
' . __('days to go', 'dnxcd') . '
'; + } else { + echo "
" . __('the date is missing
configure widget', 'dnxcd') . "
"; + } + + /* After widget (defined by themes). */ + echo $after_widget; + } + + //Update the widget + + public function update( $new_instance, $old_instance ) { + $instance = $old_instance; + + //Strip tags from title and name to remove HTML + $instance['title'] = sanitize_text_field( $new_instance['title'] ); + $instance['date'] = strip_tags( $new_instance['date'] ); + $instance['link'] = esc_url( $new_instance['link'], array('http', 'https') ); + $instance['style'] = (bool) $new_instance['style']; + + update_option( 'dnxcd_future_date', $instance['date'] ); + update_option( 'dnxcd_widget_link', $instance['link'] ); + update_option( 'dnxcd_use_style', $instance['style'] ); + + return $instance; + } + + /** + * Displays just a quick notice with a link to the Settings page + */ + public function form( $instance ) { + $defaults = array( + 'title' => __( 'Count Down', 'dnxcd' ), + 'date' => get_option( 'dnxcd_future_date' ), + 'link' => get_option( 'dnxcd_widget_link' ), + 'style' => get_option( 'dnxcd_use_style' ) + ); + $instance = wp_parse_args( (array) $instance, $defaults ); + extract( $instance, EXTR_SKIP ); + ?> + +

+ + +

+

+ + + + +

+

+ id="get_field_id( 'style' ); ?>" name="get_field_name( 'style' ); ?>" /> + +

+ diff --git a/i18n/danixland-countdown.pot b/i18n/danixland-countdown.pot new file mode 100644 index 0000000..ded775b --- /dev/null +++ b/i18n/danixland-countdown.pot @@ -0,0 +1,72 @@ +# Copyright (C) 2016 danixland CountDown +# This file is distributed under the same license as the danixland CountDown package. +msgid "" +msgstr "" +"Project-Id-Version: danixland CountDown 0.4\n" +"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/danixland-" +"countdown\n" +"POT-Creation-Date: 2016-01-22 11:15:01+00:00\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" + +#. #-#-#-#-# plugin.pot (danixland CountDown 0.4) #-#-#-#-# +#. Plugin Name of the plugin/theme +#: danixland-countdown.php:100 +msgid "danixland CountDown" +msgstr "" + +#: danixland-countdown.php:101 +msgid "Use this widget to add a simple Count Down to your Sidebar" +msgstr "" + +#: danixland-countdown.php:135 +msgid "days to go" +msgstr "" + +#: danixland-countdown.php:137 +msgid "configure widget" +msgstr "" + +#: danixland-countdown.php:137 +msgid "the date is missing
configure widget" +msgstr "" + +#: danixland-countdown.php:167 +msgid "Count Down" +msgstr "" + +#: danixland-countdown.php:177 +msgid "Title:" +msgstr "" + +#: danixland-countdown.php:181 +msgid "Future Date (dd-mm-yyyy):" +msgstr "" + +#: danixland-countdown.php:183 +msgid "Link (only http/https allowed):" +msgstr "" + +#: danixland-countdown.php:188 +msgid "Enable Widget Stylesheet?" +msgstr "" + +#. Plugin URI of the plugin/theme +msgid "http://danixland.net/?p=3330" +msgstr "" + +#. Description of the plugin/theme +msgid "A simple plugin that shows a widget with a countdown" +msgstr "" + +#. Author of the plugin/theme +msgid "Danilo 'danix' Macri" +msgstr "" + +#. Author URI of the plugin/theme +msgid "http://danixland.net" +msgstr "" diff --git a/inc/style/basic.css b/inc/style/basic.css new file mode 100644 index 0000000..f551ee9 --- /dev/null +++ b/inc/style/basic.css @@ -0,0 +1,67 @@ +@font-face { + + font-family: digit; + + src: local(digit), url('digital.ttf') format('opentype'); +} + +.dnx-countdown { + font: 400 6em 'digit', sans-serif; +} +.dnx-countdown a { + text-decoration: none; +} +.dnx-days { + font-size: 3em; + font-weight: 400; +} +.dnx-warning a { + text-decoration: none; + display: block; + margin: 4px auto 0; + text-align: center; + font-family: Arial, Helvetica, sans-serif; + font-size: 14px; + font-weight: 600; + color: #ffffff; + padding: 5px 7px; + background: -moz-linear-gradient( + top, + #ff5454 0%, + #960000); + background: -webkit-gradient( + linear, left top, left bottom, + from(#ff5454), + to(#960000)); + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + border: 1px solid #470000; + -moz-box-shadow: + 0px 2px 6px rgba(000,000,000,0.5), + inset 0px 1px 1px rgba(255,255,255,0.5); + -webkit-box-shadow: + 0px 2px 6px rgba(000,000,000,0.5), + inset 0px 1px 1px rgba(255,255,255,0.5); + box-shadow: + 0px 2px 6px rgba(000,000,000,0.5), + inset 0px 1px 1px rgba(255,255,255,0.5); + text-shadow: + 0px -1px 0px rgba(000,000,000,0.7), + 0px 1px 0px rgba(255,255,255,0.3); +} +.dnx-warning a:hover, +.dnx-warning a:active { + text-decoration: none; + background: -moz-linear-gradient( + bottom, + #ff5454 0%, + #960000); + background: -webkit-gradient( + linear, left bottom, left top, + from(#ff5454), + to(#960000)); + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; +} \ No newline at end of file diff --git a/inc/style/digital.ttf b/inc/style/digital.ttf new file mode 100644 index 0000000000000000000000000000000000000000..a481b97b4f84fd4199360c511517a5cf22d2a664 GIT binary patch literal 34404 zcmeHw4R}=5ng4rdCYfaNF`3LHlkdzVgbWapFd+nS(4Y`MfI5mOXhk9k9|8eGg!oxR zu@({CuBF!9D(zZptyQYlQnZM6wW+mT%BtJ#W?j0qv~^u&)ponA&g}1Z&b^bFB*eJO z6aN3_$t3qZ=bn4+J@0wXd*1VYoVg>0h~xt}B(UJ(Mdu!S_~GY8>`$X~!v%{P!mB19 zTP0#Vg7f9kvlm?av)%755V^e$=QA#uyKu?ct2d?L<_RKcM^>zF-+0gEuXl?0%0z6@ z6`Okk`PXL87MZ*g^;fRkxN80MxrN(B3fGBvPhZu(X`}ch6VF3^$y>GVx|MZbe7hL+ zKNPv>;OdU`z3U#_;}CK2C|cdw-tpey_nrbis{Pd{NGq_1aNdFYC#+uI(|hQn(s$5y z2Fe~=w_!#51?yHuMQ&n$e!0HAccVSm`wLvV1LuLR_Vt~8FFlF#n}J{YT^l!S>bc^) ztEP!;Cq5rRkX8X!Hqc3x*o_a3djzz$ zJ!jj2lDlFv9N;BXb znGyd`&QkDfX+eIj%mkb#rvbLfEWmT*^!NvIu7c-D1o`u2HsE|Y18{+y3AhmOeff;E z0$w0<0Hbmi;DvHF;6*YQa1r2tK-$a$Tr6#Xm&iGQm&&<-OB7rx=f#i7WpX~?Xa%Dd2j!46sYV4RSg18|Aa{cjOwm0-3xf*brtd0LcZk2U_ zw<)+?)+2wrbOC-|HUQos8{@y1FUU23I~2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&6u5K25^*FPZstDY5_9%x6f%{%bRzDOHYgGY^_L&NTBmvdwXgnFoCw zAK>@2y77Bc?f7-&PRNk}e$n|lz(x2Ks_RkGh2Lu4fb%){wdPK6VLM7Xkn6^`m+|{j zIKuedu137?lK1rBUe=q6U+>~|-n9;CH=ec%ziicmUvlPICsICRGhhd5&Q;gf;Cegi z^X`RcwF}44D?>{z!851fDa0dy-vL{J=LC=stMVrNhFBQiPsT5EtLqlN#HL3!qPzir zThw1Y@Ur?q42fSCp1cB>tjFC$exK~@?#}j}&W^xU*98`>xxTY&?S{adb)CKKT^*g> z^?`2%!i|kH1B-gDTh}?Yr5=~o1-jR)THUiL(A~MIvwL%AM}1&*PtV3#4GmkiY^mSG zikmt&cXrjU*sy-?npJCh+Sg5O2`t>uwSh-!N$T0O`o?fz&c^OQV@qIKc-FM$S&fZo ze%iD|H9lcve1~-5gt)bJcXn=R@9qq&+|V7^*x9{lLs$E{z_pt?>vLRfC<6NHJG)n` z(S?DH>pI&vb)vMZ=h_uLs8`=OE!;G{c}C03)Bc}ez<^@TPsa{J88MJx+Y__zK%J59 z*X&FNo&y%`R_xrO*f|V_orV`zCbRQ2lni~Eg~R`4f`76Y`1I4LO$mTbOt^NH3&=`L zFZOYx5(=Bt)TbZ_$hAsP)MKURE2(uYJsH=lx+@?!l56rA6hQ6jzJQvzU6|6>nnHok zqo5cvktyeG1h8H1KvTng)Upload" section on the WordPress admin area just upload the zip file, otherwise unpack the zip file and upload the **"danixland-countdown"** directory inside the "wp-content/plugins" directory of your WordPress installation using your favourite ftp client. +1. Activate the plugin through the 'Plugins' menu in WordPress. +1. Configure the widget from the Appearance->Widgets page in your Admin area and add it to your sidebar. + + +== Frequently Asked Questions == + += What can I do to customize even more the appearance of the widget? = + +You can disable the css stylesheet provided with the plugin, but it will also disable the use of the custom digital font shipped with it. +If you want to override the css without disabling it you can edit the style of the div with id **#dnx-countdown**, it contains all the output by this plugin. + += I like the font shipped with this plugin, can I use it somewhere else? = + +The font is free for home use, it was created for the shareware program Calculator-7 by http://www.styleseven.com/. +It can be used in other projects as long as they are free, just by giving credit to the author at the website http://www.styleseven.com/ + +== Screenshots == + +1. The widget as seen in the "Available Widgets" panel in your Widgets Admin page. +2. The widget settings, available once you put it in your sidebar. +3. The jQuery datepicker dialog visible once you click on the date input. +4. The widget as seen on a page using the twentythirteen theme. + + +== Changelog == + += 0.4 = + * Updated Plugin to the new Plugins API. Minimum WordPress requirement is now 3.4 + * Dropped use of external jQuery lib in favor of html5 date picker. + += 0.3 = + * Added various functions that take care of uninstalling all the data when the plugin is disabled. + += 0.1 = + * This is the first release. + + +== Upgrade Notice == + += 0.4 = +* It's highly recommended to upgrade since previous versions of the plugin made use of the old Plugins API and are deprecated with versions of WordPress starting from 3.4 + + +== ToDo list == + +List is actually empty, but I'm open to suggestions. + +== Translations == + +None as of now. This plugin ships with a .pot file that will allow you to create a translation in your language. +If you want it to be added to this plugin contact me and I'll add it and put a link to your WordPress profile here in this section. -- 2.20.1