Changeset 1215649
- Timestamp:
- 08/08/2015 10:57:30 AM (11 years ago)
- Location:
- metabox-glossary
- Files:
-
- 8 edited
- 1 copied
-
tags/0.1.1 (copied) (copied from metabox-glossary/trunk)
-
tags/0.1.1/metabox-glossary.php (modified) (2 diffs)
-
tags/0.1.1/mglossary-style.css (modified) (1 diff)
-
tags/0.1.1/readme.txt (modified) (2 diffs)
-
tags/0.1.1/widget.php (modified) (4 diffs)
-
trunk/metabox-glossary.php (modified) (2 diffs)
-
trunk/mglossary-style.css (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/widget.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
metabox-glossary/tags/0.1.1/metabox-glossary.php
r1203272 r1215649 4 4 Plugin URI: http://zeidan.info/metabox_glossary/ 5 5 Description: Metabox Glossary filtering 6 Version: 0.1. 06 Version: 0.1.1 7 7 Author: Eric Zeidan 8 8 Author URI: http://zeidan.es … … 30 30 31 31 if(!is_plugin_active('wp-glossary/wp-glossary.php')) { 32 echo "<div class=\"error\"> <p> This Plugin needs wp-glossary to work, pls. install it first and activate.</p></div>";32 echo "<div class=\"error\"> <p>"._e('This Plugin needs wp-glossary to work, pls. install it first and activate.','metaboxglossary')."</p></div>"; 33 33 exit; 34 34 } -
metabox-glossary/tags/0.1.1/mglossary-style.css
r1203272 r1215649 3 3 Plugin URI: http://zeidan.info/metabox_glossary/ 4 4 Description: Metabox Glossary filtering 5 Version: 0.1. 05 Version: 0.1.1 6 6 Author: Eric Zeidan 7 7 Author URI: http://zeidan.es -
metabox-glossary/tags/0.1.1/readme.txt
r1203300 r1215649 3 3 Tags: Glossary, glossary, Glosario, Wp-glossary, filter, post, post glossary, widget 4 4 Requires at least: 4.0 5 Tested up to: 4. 2.25 Tested up to: 4.3 6 6 Stable tag: 0.1.1 7 7 License: GPLv2 or later … … 43 43 44 44 * First Release 45 46 = 0.1.1 = 47 *Release Date - 8 August, 2015* 48 49 * Change funtions to allow work with PHP5 and WP4.3 -
metabox-glossary/tags/0.1.1/widget.php
r1203272 r1215649 3 3 class mglossary_widget extends WP_Widget { 4 4 5 function mglossary_widget(){5 function __construct(){ 6 6 // Constructor del Widget 7 $widget_ops = array('classname' => 'mglossary_widget', 'description' => "Show Glossary Terms attached to a post");8 $this->WP_Widget('mglossary_widget', "Metabox Glossary Widget", $widget_ops);7 $widget_ops = array('classname' => 'mglossary_widget', 'description' => __("Show Glossary Terms attached to a post","metaboxglossary") ); 8 parent::__construct('mglossary_widget', "Metabox Glossary Widget", $widget_ops); 9 9 } 10 10 … … 66 66 ?></ul><?php 67 67 } else { 68 _e('No entries Glossary' );68 _e('No entries Glossary','metaboxglossary'); 69 69 } 70 70 wp_reset_postdata(); … … 92 92 ?></ul><?php 93 93 } else { 94 _e('No entries Glossary' );94 _e('No entries Glossary','metaboxglossary'); 95 95 } 96 96 wp_reset_postdata(); … … 115 115 ?> 116 116 <p> 117 <label for="<?php echo $this->get_field_id('mglossary_pollid'); ?>"><?php _e('Titulo' ); ?></label>117 <label for="<?php echo $this->get_field_id('mglossary_pollid'); ?>"><?php _e('Titulo','metaboxglossary'); ?></label> 118 118 <input type="text" id="<?php echo $this->get_field_id('mglossary_pollid'); ?>" name="<?php echo $this->get_field_name('mglossary_pollid'); ?>" value="<?php echo $title = $instance["mglossary_pollid"]; ?>"> 119 119 </p> 120 120 <p> 121 121 <input type="checkbox" id="<?php echo $this->get_field_id('mglossary_atoz'); ?>" name="<?php echo $this->get_field_name('mglossary_atoz'); ?>" value="1" <?php if (isset($instance["mglossary_atoz"]) && $instance["mglossary_atoz"] == "1") echo "checked=\"checked\""; ?>> 122 <label for="<?php echo $this->get_field_id('mglossary_atoz'); ?>"><?php _e('Show A-Z' ); ?></label>122 <label for="<?php echo $this->get_field_id('mglossary_atoz'); ?>"><?php _e('Show A-Z','metaboxglossary'); ?></label> 123 123 </p> 124 124 <?php -
metabox-glossary/trunk/metabox-glossary.php
r1203272 r1215649 4 4 Plugin URI: http://zeidan.info/metabox_glossary/ 5 5 Description: Metabox Glossary filtering 6 Version: 0.1. 06 Version: 0.1.1 7 7 Author: Eric Zeidan 8 8 Author URI: http://zeidan.es … … 30 30 31 31 if(!is_plugin_active('wp-glossary/wp-glossary.php')) { 32 echo "<div class=\"error\"> <p> This Plugin needs wp-glossary to work, pls. install it first and activate.</p></div>";32 echo "<div class=\"error\"> <p>"._e('This Plugin needs wp-glossary to work, pls. install it first and activate.','metaboxglossary')."</p></div>"; 33 33 exit; 34 34 } -
metabox-glossary/trunk/mglossary-style.css
r1203272 r1215649 3 3 Plugin URI: http://zeidan.info/metabox_glossary/ 4 4 Description: Metabox Glossary filtering 5 Version: 0.1. 05 Version: 0.1.1 6 6 Author: Eric Zeidan 7 7 Author URI: http://zeidan.es -
metabox-glossary/trunk/readme.txt
r1203300 r1215649 3 3 Tags: Glossary, glossary, Glosario, Wp-glossary, filter, post, post glossary, widget 4 4 Requires at least: 4.0 5 Tested up to: 4. 2.25 Tested up to: 4.3 6 6 Stable tag: 0.1.1 7 7 License: GPLv2 or later … … 43 43 44 44 * First Release 45 46 = 0.1.1 = 47 *Release Date - 8 August, 2015* 48 49 * Change funtions to allow work with PHP5 and WP4.3 -
metabox-glossary/trunk/widget.php
r1203272 r1215649 3 3 class mglossary_widget extends WP_Widget { 4 4 5 function mglossary_widget(){5 function __construct(){ 6 6 // Constructor del Widget 7 $widget_ops = array('classname' => 'mglossary_widget', 'description' => "Show Glossary Terms attached to a post");8 $this->WP_Widget('mglossary_widget', "Metabox Glossary Widget", $widget_ops);7 $widget_ops = array('classname' => 'mglossary_widget', 'description' => __("Show Glossary Terms attached to a post","metaboxglossary") ); 8 parent::__construct('mglossary_widget', "Metabox Glossary Widget", $widget_ops); 9 9 } 10 10 … … 66 66 ?></ul><?php 67 67 } else { 68 _e('No entries Glossary' );68 _e('No entries Glossary','metaboxglossary'); 69 69 } 70 70 wp_reset_postdata(); … … 92 92 ?></ul><?php 93 93 } else { 94 _e('No entries Glossary' );94 _e('No entries Glossary','metaboxglossary'); 95 95 } 96 96 wp_reset_postdata(); … … 115 115 ?> 116 116 <p> 117 <label for="<?php echo $this->get_field_id('mglossary_pollid'); ?>"><?php _e('Titulo' ); ?></label>117 <label for="<?php echo $this->get_field_id('mglossary_pollid'); ?>"><?php _e('Titulo','metaboxglossary'); ?></label> 118 118 <input type="text" id="<?php echo $this->get_field_id('mglossary_pollid'); ?>" name="<?php echo $this->get_field_name('mglossary_pollid'); ?>" value="<?php echo $title = $instance["mglossary_pollid"]; ?>"> 119 119 </p> 120 120 <p> 121 121 <input type="checkbox" id="<?php echo $this->get_field_id('mglossary_atoz'); ?>" name="<?php echo $this->get_field_name('mglossary_atoz'); ?>" value="1" <?php if (isset($instance["mglossary_atoz"]) && $instance["mglossary_atoz"] == "1") echo "checked=\"checked\""; ?>> 122 <label for="<?php echo $this->get_field_id('mglossary_atoz'); ?>"><?php _e('Show A-Z' ); ?></label>122 <label for="<?php echo $this->get_field_id('mglossary_atoz'); ?>"><?php _e('Show A-Z','metaboxglossary'); ?></label> 123 123 </p> 124 124 <?php
Note: See TracChangeset
for help on using the changeset viewer.