Changeset 32070 for extensions/title
- Timestamp:
- Apr 3, 2020, 7:41:48 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/title/initadmin.php
r31795 r32070 3 3 // | Title plugin for piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2011 - 20 16ddtddt http://temmii.com/piwigo/ |5 // | Copyright(C) 2011 - 2020 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | … … 25 25 //Add link menu 26 26 add_event_handler('get_admin_plugin_menu_links', 'title_admin_menu'); 27 function title_admin_menu($menu) 28 { 29 array_push($menu, array(30 'NAME' => l10n('Page title'),31 'URL' => get_admin_plugin_menu_link(TITLE_PATH . 'admin.php')));27 function title_admin_menu($menu){ 28 $menu[] = array( 29 'NAME' => l10n('Page title'), 30 'URL' => TITLE_ADMIN, 31 ); 32 32 return $menu; 33 33 }
Note: See TracChangeset
for help on using the changeset viewer.