Plugin Directory

Changeset 2035871


Ignore:
Timestamp:
02/21/2019 11:41:52 AM (7 years ago)
Author:
helpstring
Message:

Tested Up to 5.1

Location:
child-height-predictor
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • child-height-predictor/tags/1.1/childheight-style.css

    r628667 r2035871  
    2626}
    2727
     28.childheight-units input[type="radio"] {
     29    margin-right: 0px;
     30}
     31
    2832#fathersheight { font-weight: bold; font-size: 12px; background: url('images/schritt-zwei.png') no-repeat 0 -3px; padding: 3px 15px 15px 60px; height: 60px; color: #666; width: 190px; }
    2933
    3034#fathersheight label {
    31     font-size:11px !important;
     35    font-size:11px !important;
     36    color: #666;
     37}
     38
     39#fathersheight input {
     40    padding: 1px 7px;
     41    width: 100%;
    3242}
    3343
     
    3747
    3848#mothersheight label {
    39     font-size:11px !important;
     49    color: #666;
     50    font-size:11px !important;
     51}
     52
     53#mothersheight input {
     54    padding: 1px 7px;
     55    width: 100%;
    4056}
    4157
     
    4561.childheight-child_sex label {
    4662    display:inline !important;
     63}
     64
     65.childheight-child_sex input[type="radio"] {
     66    margin-right: 0px;
    4767}
    4868
  • child-height-predictor/tags/1.1/childheight.php

    r542877 r2035871  
    1717
    1818    // let WP know of this plugin's widget view entry
    19     wp_register_sidebar_widget('childheight_plugin', __('Childheight Calculator', 'childheight_plugin'), array('ChildheightPlugin', 'widget'));
     19    wp_register_sidebar_widget('childheight_plugin', __('Childheight Calculator', 'childheight_plugin'), array($this, 'widget'));
    2020
    2121    // let WP know of this widget's controller entry
    22     wp_register_widget_control('childheight_plugin', __('Childheight Calculator', 'childheight_plugin'), array('ChildheightPlugin', 'control'));
     22    wp_register_widget_control('childheight_plugin', __('Childheight Calculator', 'childheight_plugin'), array($this, 'control'));
    2323
    2424    // short code allows insertion of childheight into regular posts as a [childheight] tag.
    2525    // From PHP in themes, call do_shortcode('childheight');
    26     add_shortcode('childheight', array('ChildheightPlugin', 'shortcode'));
     26    add_shortcode('childheight', array($this, 'shortcode'));
    2727
    28     add_action('admin_menu', array('ChildheightPlugin', 'options_page'));
     28    add_action('admin_menu', array($this, 'options_page'));
    2929
    3030    wp_enqueue_script('jquery');
     
    124124
    125125    function options_page() {
    126     add_submenu_page('plugins.php', 'Child Height Configuration', 'Child Height Configuration', 8, __FILE__, array('ChildheightPlugin', 'options'));
     126    add_submenu_page('plugins.php', 'Child Height Configuration', 'Child Height Configuration', 8, __FILE__, array($this, 'options'));
    127127    }
    128128
     
    156156}
    157157
    158 add_action('widgets_init', array('ChildheightPlugin', 'init'));
     158$child_plugin = new ChildheightPlugin();
     159add_action('widgets_init', array($child_plugin, 'init'));
  • child-height-predictor/tags/1.1/readme.txt

    r657897 r2035871  
    44Tags: calculator, child, height, baby, growth, widget, plugin, sidebar, ostheimer, mother, father, children, wordpress plugin, WordPress Plugin by Ostheimer
    55Requires at least: 3.3.2
    6 Tested up to: 3.5
    7 Stable tag: 1.0.1.5
     6Tested up to: 5.1
     7Stable tag: 1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4545== Upgrade Notice ==
    4646
    47 = 1.0.1.0 =
     47= 1.1 =
    4848This is the inital, stable version
    4949
    5050== Changelog ==
     51
     52= 1.1 =
     53* Tested up to Wordpress 5.1
    5154
    5255= 1.0.1.5 =
  • child-height-predictor/trunk/childheight-style.css

    r628667 r2035871  
    2626}
    2727
     28.childheight-units input[type="radio"] {
     29    margin-right: 0px;
     30}
     31
    2832#fathersheight { font-weight: bold; font-size: 12px; background: url('images/schritt-zwei.png') no-repeat 0 -3px; padding: 3px 15px 15px 60px; height: 60px; color: #666; width: 190px; }
    2933
    3034#fathersheight label {
    31     font-size:11px !important;
     35    font-size:11px !important;
     36    color: #666;
     37}
     38
     39#fathersheight input {
     40    padding: 1px 7px;
     41    width: 100%;
    3242}
    3343
     
    3747
    3848#mothersheight label {
    39     font-size:11px !important;
     49    color: #666;
     50    font-size:11px !important;
     51}
     52
     53#mothersheight input {
     54    padding: 1px 7px;
     55    width: 100%;
    4056}
    4157
     
    4561.childheight-child_sex label {
    4662    display:inline !important;
     63}
     64
     65.childheight-child_sex input[type="radio"] {
     66    margin-right: 0px;
    4767}
    4868
  • child-height-predictor/trunk/childheight.php

    r542877 r2035871  
    1717
    1818    // let WP know of this plugin's widget view entry
    19     wp_register_sidebar_widget('childheight_plugin', __('Childheight Calculator', 'childheight_plugin'), array('ChildheightPlugin', 'widget'));
     19    wp_register_sidebar_widget('childheight_plugin', __('Childheight Calculator', 'childheight_plugin'), array($this, 'widget'));
    2020
    2121    // let WP know of this widget's controller entry
    22     wp_register_widget_control('childheight_plugin', __('Childheight Calculator', 'childheight_plugin'), array('ChildheightPlugin', 'control'));
     22    wp_register_widget_control('childheight_plugin', __('Childheight Calculator', 'childheight_plugin'), array($this, 'control'));
    2323
    2424    // short code allows insertion of childheight into regular posts as a [childheight] tag.
    2525    // From PHP in themes, call do_shortcode('childheight');
    26     add_shortcode('childheight', array('ChildheightPlugin', 'shortcode'));
     26    add_shortcode('childheight', array($this, 'shortcode'));
    2727
    28     add_action('admin_menu', array('ChildheightPlugin', 'options_page'));
     28    add_action('admin_menu', array($this, 'options_page'));
    2929
    3030    wp_enqueue_script('jquery');
     
    124124
    125125    function options_page() {
    126     add_submenu_page('plugins.php', 'Child Height Configuration', 'Child Height Configuration', 8, __FILE__, array('ChildheightPlugin', 'options'));
     126    add_submenu_page('plugins.php', 'Child Height Configuration', 'Child Height Configuration', 8, __FILE__, array($this, 'options'));
    127127    }
    128128
     
    156156}
    157157
    158 add_action('widgets_init', array('ChildheightPlugin', 'init'));
     158$child_plugin = new ChildheightPlugin();
     159add_action('widgets_init', array($child_plugin, 'init'));
  • child-height-predictor/trunk/readme.txt

    r657897 r2035871  
    44Tags: calculator, child, height, baby, growth, widget, plugin, sidebar, ostheimer, mother, father, children, wordpress plugin, WordPress Plugin by Ostheimer
    55Requires at least: 3.3.2
    6 Tested up to: 3.5
    7 Stable tag: 1.0.1.5
     6Tested up to: 5.1
     7Stable tag: 1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4545== Upgrade Notice ==
    4646
    47 = 1.0.1.0 =
     47= 1.1 =
    4848This is the inital, stable version
    4949
    5050== Changelog ==
     51
     52= 1.1 =
     53* Tested up to Wordpress 5.1
    5154
    5255= 1.0.1.5 =
Note: See TracChangeset for help on using the changeset viewer.