Ignore:
Timestamp:
Jun 22, 2009, 2:30:31 PM (15 years ago)
Author:
Criss
Message:

Add coment edit link for author even if he's not an admin
Code cleanup

File:
1 edited

Legend:

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

    r3436 r3439  
    11<?php
    2 /* $Id: main.inc.php,v 1.6 2009/06/18 21:02:12 Criss Exp $ */
     2/* $Id: main.inc.php,v 1.8 2009/06/22 12:25:04 Criss Exp $ */
    33/*
    44 Plugin Name: Comment Editor
    5  Version: 1.0.e
     5 Version: 1.0.f
    66 Description: Allow to edit comment
    77 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=296
     
    1111
    1212/** History **
     13
     14    2009-06-22 1.0.f
     15                        Add edit link for author even if he's not an admin
     16                        Code cleanup
    1317
    1418    2009-06-18 1.0.e
     
    3640
    3741$ce_plugin = new CE_Plugin();
     42add_event_handler(  'render_comment_content',
     43                    array(&$ce_plugin, 'render_comment_content'));
    3844add_event_handler(  'loc_begin_page_header',
    3945                    array(&$ce_plugin, 'loc_begin_page_header'));
Note: See TracChangeset for help on using the changeset viewer.