Changeset 2144 for trunk/admin.php
- Timestamp:
- Oct 19, 2007, 4:05:21 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin.php
r2107 r2144 116 116 117 117 //---------------------------------------------------------------- plugin menus 118 $plugin_menu_links = array( 118 $plugin_menu_links = trigger_event('get_admin_plugin_menu_links', array() ); 119 120 function UC_name_compare($a, $b) 121 { 122 return strcmp(strtolower($a['NAME']), strtolower($b['NAME'])); 123 } 124 usort($plugin_menu_links, 'UC_name_compare'); 125 126 array_unshift($plugin_menu_links, 119 127 array( 120 128 'NAME' => l10n('admin'), … … 122 130 ) 123 131 ); 124 $plugin_menu_links = trigger_event('get_admin_plugin_menu_links', 125 $plugin_menu_links ); 132 126 133 foreach ($plugin_menu_links as $menu_item) 127 134 {
Note: See TracChangeset
for help on using the changeset viewer.