Ignore:
Timestamp:
Oct 7, 2011, 7:34:40 PM (12 years ago)
Author:
mistic100
Message:

add a PWG Stuffs module, add menu bar on comments page

File:
1 edited

Legend:

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

    r11327 r12381  
    3030add_event_handler('loc_end_admin', 'COA_admin_comments');
    3131add_event_handler('get_admin_plugin_menu_links', 'COA_admin_menu');
     32add_event_handler('get_stuffs_modules', 'COA_register_stuffs_module');
    3233
    3334
     
    102103}
    103104
     105function COA_register_stuffs_module($modules)
     106{
     107  load_language('plugin.lang', COA_PATH);
     108 
     109  array_push($modules, array(
     110    'path' => COA_PATH . '/stuffs_module',
     111    'name' => l10n('Last comments on albums'),
     112    'description' => l10n('Display last posted comments on albums'),
     113  ));
     114
     115  return $modules;
     116}
     117
     118
    104119?>
Note: See TracChangeset for help on using the changeset viewer.