Ignore:
Timestamp:
Oct 23, 2009, 11:01:10 PM (15 years ago)
Author:
vdigital
Message:

[Public Piwigo WordPress Widget] is closed!
[PiwigoPress] is its new name.

[PiwigoPress] Don't make any mistake it is a WordPress sidebar widget!
Set release 1.02
Co-Authors for WordPress Plugin dir,
Italian version

File:
1 moved

Legend:

Unmodified
Added
Removed
  • extensions/PiwigoPress/PiwigoPress.php

    r4099 r4101  
    44Plugin URI: http://piwigo.org/ext/extension_view.php?eid=316
    55Description: PiwigoPress is a WordPress 2.8 widget, it links a public picture in your Piwigo gallery (<a href="http://piwigo.org/">Piwigo</a>). In other words, it's a WordPress Sidebar Widget with some available public pictures in your Piwigo gallery as a prereq.
    6 Version: 1.01
     6Version: 1.02
    77Author: vpiwigo ( for VDigital, rvelices, Laurent Duretz, ddtddt, rio (and all The Piwigo Team))
    88Author URI: http://www.vdigital.org/sharing/
     
    2525    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    2626*/
    27 if (!defined('PWGP_NAME')) define('PWGP_NAME','Public Piwigo WordPress ');
    28 if (!defined('PWGP_PFX')) define('PWGP_PFX','Public_Piwigo_WordPress_');
     27if (!defined('PWGP_NAME')) define('PWGP_NAME','PiwigoPress');
    2928
    3029load_plugin_textdomain('pwg', 'wp-content/plugins/PiwigoPress', 'PiwigoPress' );
     
    3332{
    3433        function PiwigoPress(){
    35                 $widget_ops = array('classname' => PWGP_PFX . 'Widget',
     34                $widget_ops = array('classname' => PWGP_NAME,
    3635                        'description' => __( "Adds a thumbnail and its link (to the picture) inside your blog sidebar.",'pwg') );
    3736                $control_ops = array('width' => 300, 'height' => 300);
    38                 $this->WP_Widget(PWGP_PFX . 'Widget', PWGP_NAME . 'Widget', $widget_ops, $control_ops);
     37                $this->WP_Widget(PWGP_NAME, PWGP_NAME, $widget_ops, $control_ops);
    3938        }
    4039        // Code generator
     
    7271// Register
    7372function PiwigoPress_Init() {
    74                         register_widget(PWGP_PFX . 'Widget');
     73                        register_widget('PiwigoPress');
    7574}
    76 add_action('widgets_init', PWGP_PFX . '_Init');
     75add_action('widgets_init', PWGP_NAME . '_Init');
    7776?>
Note: See TracChangeset for help on using the changeset viewer.