Changeset 30415 for extensions/see_photos_by_user/main.inc.php
- Timestamp:
- Nov 10, 2014, 11:38:20 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/see_photos_by_user/main.inc.php
r30403 r30415 18 18 19 19 include_once(SPBA_PATH . 'include/function.see.inc.php'); 20 21 20 global $conf; 22 $showSPBU = $conf['see_photos_by_user_show'];23 21 24 22 /*init plugin - filter http*/ 25 23 add_event_handler('loc_end_section_init', 'section_init_SPBA'); 26 27 24 function section_init_SPBA() { 28 25 /*init plugin lang*/ … … 66 63 67 64 } 65 66 67 68 68 69 /*Schow link in menu*/ 69 if ( in_array($showSPBU, array(1, 3))) {70 if ($conf['see_photos_by_user_show']==1) { 70 71 add_event_handler('blockmanager_apply', 'add_link_SPBA'); 71 72 } … … 93 94 94 95 /*schow users menu*/ 95 if ( in_array($showSPBU, array(2, 3, 4))) {96 if ($conf['see_photos_by_user_show']==2) { 96 97 add_event_handler('blockmanager_register_blocks', 'register_users_menubar_blocks'); 97 98 add_event_handler('blockmanager_apply', 'users_apply');
Note: See TracChangeset
for help on using the changeset viewer.