Changeset 2035871
- Timestamp:
- 02/21/2019 11:41:52 AM (7 years ago)
- Location:
- child-height-predictor
- Files:
-
- 6 edited
- 1 copied
-
tags/1.1 (copied) (copied from child-height-predictor/trunk)
-
tags/1.1/childheight-style.css (modified) (3 diffs)
-
tags/1.1/childheight.php (modified) (3 diffs)
-
tags/1.1/readme.txt (modified) (2 diffs)
-
trunk/childheight-style.css (modified) (3 diffs)
-
trunk/childheight.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
child-height-predictor/tags/1.1/childheight-style.css
r628667 r2035871 26 26 } 27 27 28 .childheight-units input[type="radio"] { 29 margin-right: 0px; 30 } 31 28 32 #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; } 29 33 30 34 #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%; 32 42 } 33 43 … … 37 47 38 48 #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%; 40 56 } 41 57 … … 45 61 .childheight-child_sex label { 46 62 display:inline !important; 63 } 64 65 .childheight-child_sex input[type="radio"] { 66 margin-right: 0px; 47 67 } 48 68 -
child-height-predictor/tags/1.1/childheight.php
r542877 r2035871 17 17 18 18 // 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')); 20 20 21 21 // 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')); 23 23 24 24 // short code allows insertion of childheight into regular posts as a [childheight] tag. 25 25 // From PHP in themes, call do_shortcode('childheight'); 26 add_shortcode('childheight', array( 'ChildheightPlugin', 'shortcode'));26 add_shortcode('childheight', array($this, 'shortcode')); 27 27 28 add_action('admin_menu', array( 'ChildheightPlugin', 'options_page'));28 add_action('admin_menu', array($this, 'options_page')); 29 29 30 30 wp_enqueue_script('jquery'); … … 124 124 125 125 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')); 127 127 } 128 128 … … 156 156 } 157 157 158 add_action('widgets_init', array('ChildheightPlugin', 'init')); 158 $child_plugin = new ChildheightPlugin(); 159 add_action('widgets_init', array($child_plugin, 'init')); -
child-height-predictor/tags/1.1/readme.txt
r657897 r2035871 4 4 Tags: calculator, child, height, baby, growth, widget, plugin, sidebar, ostheimer, mother, father, children, wordpress plugin, WordPress Plugin by Ostheimer 5 5 Requires at least: 3.3.2 6 Tested up to: 3.57 Stable tag: 1. 0.1.56 Tested up to: 5.1 7 Stable tag: 1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 45 45 == Upgrade Notice == 46 46 47 = 1. 0.1.0=47 = 1.1 = 48 48 This is the inital, stable version 49 49 50 50 == Changelog == 51 52 = 1.1 = 53 * Tested up to Wordpress 5.1 51 54 52 55 = 1.0.1.5 = -
child-height-predictor/trunk/childheight-style.css
r628667 r2035871 26 26 } 27 27 28 .childheight-units input[type="radio"] { 29 margin-right: 0px; 30 } 31 28 32 #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; } 29 33 30 34 #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%; 32 42 } 33 43 … … 37 47 38 48 #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%; 40 56 } 41 57 … … 45 61 .childheight-child_sex label { 46 62 display:inline !important; 63 } 64 65 .childheight-child_sex input[type="radio"] { 66 margin-right: 0px; 47 67 } 48 68 -
child-height-predictor/trunk/childheight.php
r542877 r2035871 17 17 18 18 // 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')); 20 20 21 21 // 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')); 23 23 24 24 // short code allows insertion of childheight into regular posts as a [childheight] tag. 25 25 // From PHP in themes, call do_shortcode('childheight'); 26 add_shortcode('childheight', array( 'ChildheightPlugin', 'shortcode'));26 add_shortcode('childheight', array($this, 'shortcode')); 27 27 28 add_action('admin_menu', array( 'ChildheightPlugin', 'options_page'));28 add_action('admin_menu', array($this, 'options_page')); 29 29 30 30 wp_enqueue_script('jquery'); … … 124 124 125 125 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')); 127 127 } 128 128 … … 156 156 } 157 157 158 add_action('widgets_init', array('ChildheightPlugin', 'init')); 158 $child_plugin = new ChildheightPlugin(); 159 add_action('widgets_init', array($child_plugin, 'init')); -
child-height-predictor/trunk/readme.txt
r657897 r2035871 4 4 Tags: calculator, child, height, baby, growth, widget, plugin, sidebar, ostheimer, mother, father, children, wordpress plugin, WordPress Plugin by Ostheimer 5 5 Requires at least: 3.3.2 6 Tested up to: 3.57 Stable tag: 1. 0.1.56 Tested up to: 5.1 7 Stable tag: 1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 45 45 == Upgrade Notice == 46 46 47 = 1. 0.1.0=47 = 1.1 = 48 48 This is the inital, stable version 49 49 50 50 == Changelog == 51 52 = 1.1 = 53 * Tested up to Wordpress 5.1 51 54 52 55 = 1.0.1.5 =
Note: See TracChangeset
for help on using the changeset viewer.