Plugin Directory

Changeset 1215649


Ignore:
Timestamp:
08/08/2015 10:57:30 AM (11 years ago)
Author:
k2klettern
Message:

tagging version 0.1.1

Location:
metabox-glossary
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • metabox-glossary/tags/0.1.1/metabox-glossary.php

    r1203272 r1215649  
    44Plugin URI: http://zeidan.info/metabox_glossary/
    55Description: Metabox Glossary filtering
    6 Version: 0.1.0
     6Version: 0.1.1
    77Author: Eric Zeidan
    88Author URI: http://zeidan.es
     
    3030
    3131if(!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>";
    3333        exit;
    3434}
  • metabox-glossary/tags/0.1.1/mglossary-style.css

    r1203272 r1215649  
    33Plugin URI: http://zeidan.info/metabox_glossary/
    44Description: Metabox Glossary filtering
    5 Version: 0.1.0
     5Version: 0.1.1
    66Author: Eric Zeidan
    77Author URI: http://zeidan.es
  • metabox-glossary/tags/0.1.1/readme.txt

    r1203300 r1215649  
    33Tags: Glossary, glossary, Glosario, Wp-glossary, filter, post, post glossary, widget
    44Requires at least: 4.0
    5 Tested up to: 4.2.2
     5Tested up to: 4.3
    66Stable tag: 0.1.1
    77License: GPLv2 or later
     
    4343
    4444* 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  
    33class mglossary_widget extends WP_Widget {
    44 
    5     function mglossary_widget(){
     5    function __construct(){
    66        // 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);
    99    }
    1010 
     
    6666                        ?></ul><?php
    6767                         } else {
    68                             _e('No entries Glossary');
     68                            _e('No entries Glossary','metaboxglossary');
    6969                        }
    7070                        wp_reset_postdata();
     
    9292                            ?></ul><?php
    9393                             } else {
    94                                 _e('No entries Glossary');
     94                                _e('No entries Glossary','metaboxglossary');
    9595                            }
    9696                            wp_reset_postdata();
     
    115115        ?>
    116116        <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>
    118118            <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"]; ?>">
    119119        </p>
    120120        <p>
    121121            <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>
    123123        </p>
    124124        <?php
  • metabox-glossary/trunk/metabox-glossary.php

    r1203272 r1215649  
    44Plugin URI: http://zeidan.info/metabox_glossary/
    55Description: Metabox Glossary filtering
    6 Version: 0.1.0
     6Version: 0.1.1
    77Author: Eric Zeidan
    88Author URI: http://zeidan.es
     
    3030
    3131if(!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>";
    3333        exit;
    3434}
  • metabox-glossary/trunk/mglossary-style.css

    r1203272 r1215649  
    33Plugin URI: http://zeidan.info/metabox_glossary/
    44Description: Metabox Glossary filtering
    5 Version: 0.1.0
     5Version: 0.1.1
    66Author: Eric Zeidan
    77Author URI: http://zeidan.es
  • metabox-glossary/trunk/readme.txt

    r1203300 r1215649  
    33Tags: Glossary, glossary, Glosario, Wp-glossary, filter, post, post glossary, widget
    44Requires at least: 4.0
    5 Tested up to: 4.2.2
     5Tested up to: 4.3
    66Stable tag: 0.1.1
    77License: GPLv2 or later
     
    4343
    4444* 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  
    33class mglossary_widget extends WP_Widget {
    44 
    5     function mglossary_widget(){
     5    function __construct(){
    66        // 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);
    99    }
    1010 
     
    6666                        ?></ul><?php
    6767                         } else {
    68                             _e('No entries Glossary');
     68                            _e('No entries Glossary','metaboxglossary');
    6969                        }
    7070                        wp_reset_postdata();
     
    9292                            ?></ul><?php
    9393                             } else {
    94                                 _e('No entries Glossary');
     94                                _e('No entries Glossary','metaboxglossary');
    9595                            }
    9696                            wp_reset_postdata();
     
    115115        ?>
    116116        <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>
    118118            <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"]; ?>">
    119119        </p>
    120120        <p>
    121121            <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>
    123123        </p>
    124124        <?php
Note: See TracChangeset for help on using the changeset viewer.