Changeset 32706 for extensions/Evil_Blog


Ignore:
Timestamp:
Jan 8, 2022, 6:23:39 PM (3 years ago)
Author:
plg
Message:

compatibility with Piwigo 12

File:
1 edited

Legend:

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

    r31378 r32706  
    66Author: EvilKant
    77Description: Small blog for your gallery.
     8Has Settings: true
    89*/
    910
     
    2223  load_language('plugin.lang', Evil_Blog_PATH);
    2324}
    24 
    25 //Делаем пункт меню в админке
    26 add_event_handler('get_admin_plugin_menu_links', 'Evil_Blog_admin_menu');
    27 
    28 function Evil_Blog_admin_menu($menu) {
    29  array_push(
    30    $menu,
    31    array(
    32      'NAME'  => 'Evil_Blog',
    33      'URL'   => get_admin_plugin_menu_link(dirname(__FILE__)).'/admin.php'
    34    )
    35  );
    36  return $menu;
    37 }
    38 
    3925
    4026function Evil_Blog_main () {
Note: See TracChangeset for help on using the changeset viewer.