Changeset 11217 for extensions/Front2Back/main.inc.php
- Timestamp:
- Jun 3, 2011, 1:57:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Front2Back/main.inc.php
r10985 r11217 15 15 include_once(F2B_PATH . 'Front2Back.php'); 16 16 add_event_handler('render_element_content', 'Front2Back_content', 99, 2); 17 17 18 18 if (script_basename() == 'admin') 19 19 { 20 21 22 23 24 25 26 27 20 add_event_handler('get_admin_plugin_menu_links', 'Front2Back_admin_menu'); 21 function Front2Back_admin_menu($menu) 22 { 23 array_push($menu, array( 24 'NAME' => 'Front2Back', 25 'URL' => get_root_url().'admin.php?page=plugin-' . F2B_DIR)); 26 return $menu; 27 } 28 28 } 29 29
Note: See TracChangeset
for help on using the changeset viewer.