Changeset 11334 for extensions/SmartAlbums/main.inc.php
- Timestamp:
- Jun 12, 2011, 7:54:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmartAlbums/main.inc.php
r11290 r11334 16 16 define('CATEGORY_FILTERS_TABLE', $prefixeTable.'category_filters'); 17 17 18 if (script_basename() == 'admin') 18 if (script_basename() == 'index') 19 { 20 add_event_handler('loc_end_section_init', 'smart_init_page_items'); 21 include_once(SMART_PATH.'include/init_page_items.php'); 22 } 23 else if (script_basename() == 'admin') 19 24 { 20 25 load_language('plugin.lang', SMART_PATH); 21 26 22 add_event_handler('loc_begin_cat_modify', 'smart_init_cat_modify'); 23 function smart_init_cat_modify() 24 { 25 include_once(SMART_PATH.'init_cat_modify.php'); 26 smart_cat_modify(); 27 } 27 add_event_handler('loc_begin_cat_modify', 'smart_cat_modify'); 28 include_once(SMART_PATH.'include/init_cat_modify.php'); 28 29 29 add_event_handler('loc_begin_cat_list', 'smart_init_cat_list'); 30 function smart_init_cat_list() 31 { 32 include_once(SMART_PATH.'init_cat_list.php'); 33 smart_cat_list(); 34 } 30 add_event_handler('loc_begin_cat_list', 'smart_cat_list'); 31 include_once(SMART_PATH.'include/init_cat_list.php'); 35 32 } 36 33
Note: See TracChangeset
for help on using the changeset viewer.