Ignore:
Timestamp:
Jun 18, 2009, 9:29:00 AM (15 years ago)
Author:
Criss
Message:

Fix plugin URI to be available in plugin update check page.
Reduce code line size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/CommentEditor/main.inc.php

    r3426 r3431  
    33/*
    44 Plugin Name: Comment Editor
    5  Version: 1.0.a
     5 Version: 1.0.b
    66 Description: Allow to edit comment
    7  Plugin URI: http://piwigo.org/
     7 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=296
    88 Author: Criss
    99 Author URI: http://piwigo.org/
    1010*/
    1111
     12/** History **
     13
     14    2009-06-18 1.0.b
     15                        Fix plugin URI to be available in plugin update
     16                        check page.
     17                        Reduce code line size.
     18
     19*/
    1220if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
    1321
     
    1826
    1927$ce_plugin = new CE_Plugin();
    20 add_event_handler('loc_begin_page_header',  array(&$ce_plugin, 'loc_begin_page_header'));
    21 add_event_handler('loc_begin_index',        array(&$ce_plugin, 'loc_end_index'), 1);
     28add_event_handler(  'loc_begin_page_header',
     29                    array(&$ce_plugin, 'loc_begin_page_header'));
     30add_event_handler(  'loc_begin_index',
     31                    array(&$ce_plugin, 'loc_end_index'), 1);
    2232
    2333set_plugin_data($plugin['id'], $ce_plugin);
Note: See TracChangeset for help on using the changeset viewer.