Changeset 11376 for extensions/SmartAlbums/main.inc.php
- Timestamp:
- Jun 14, 2011, 6:41:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmartAlbums/main.inc.php
r11334 r11376 16 16 define('CATEGORY_FILTERS_TABLE', $prefixeTable.'category_filters'); 17 17 18 add_event_handler('invalidate_user_cache', 'smart_make_all_associations'); 19 add_event_handler('login_success', 'smart_make_all_associations'); 20 include_once(SMART_PATH.'include/functions.inc.php'); 21 18 22 if (script_basename() == 'index') 19 23 { … … 30 34 add_event_handler('loc_begin_cat_list', 'smart_cat_list'); 31 35 include_once(SMART_PATH.'include/init_cat_list.php'); 36 37 add_event_handler('get_admin_plugin_menu_links', 'smart_admin_menu'); 38 function smart_admin_menu($menu) 39 { 40 array_push($menu, array( 41 'NAME' => 'SmartAlbums', 42 'URL' => get_root_url().'admin.php?page=plugin-' . SMART_DIR)); 43 return $menu; 44 } 32 45 } 33 46
Note: See TracChangeset
for help on using the changeset viewer.