Changeset 32706 for extensions/Evil_Blog
- Timestamp:
- Jan 8, 2022, 6:23:39 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Evil_Blog/main.inc.php
r31378 r32706 6 6 Author: EvilKant 7 7 Description: Small blog for your gallery. 8 Has Settings: true 8 9 */ 9 10 … … 22 23 load_language('plugin.lang', Evil_Blog_PATH); 23 24 } 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 39 25 40 26 function Evil_Blog_main () {
Note: See TracChangeset
for help on using the changeset viewer.