Ignore:
Timestamp:
Jan 8, 2013, 10:48:14 PM (12 years ago)
Author:
julien1311
Message:

[piwecard] lots of improvements

File:
1 edited

Legend:

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

    r19968 r20010  
    3232load_language('plugin.lang', ECARD_PATH);       
    3333
    34 $ecard = new Piwecard();
     34$piwecard = new Piwecard();
    3535
    3636// Add ecard to picture page
    37 add_event_handler('loc_end_picture', array(&$ecard, 'display_ecard_to_picture'));
     37add_event_handler('loc_end_picture', array(&$piwecard, 'display_ecard_to_picture'));
    3838
    39 add_event_handler('loc_end_section_init', array(&$ecard, 'section_init_ecard'));
    40 add_event_handler('loc_end_index', array(&$ecard, 'index_ecard'));
     39add_event_handler('loc_end_section_init', array(&$piwecard, 'section_init_ecard'));
     40add_event_handler('loc_end_index', array(&$piwecard, 'index_ecard'));
    4141
    4242add_event_handler('loc_end_page_header', 'css_js_ecard');
    4343
    44 set_plugin_data($plugin['id'], $ecard);
     44set_plugin_data($plugin['id'], $piwecard);
    4545
    4646/* +-----------------------------------------------------------------------+
Note: See TracChangeset for help on using the changeset viewer.