Changeset 15997 for extensions/SmiliesSupport/main.inc.php
- Timestamp:
- Jun 24, 2012, 3:07:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmiliesSupport/main.inc.php
r14526 r15997 23 23 24 24 // if BBCodeBar is installed let him manage smilies 25 if ( isset($page['body_id']) AND $page['body_id'] == 'thePicturePage' 26 AND !isset($pwg_loaded_plugins['bbcode_bar']) 27 ) { 28 set_smiliessupport(); 25 if (isset($pwg_loaded_plugins['bbcode_bar'])) return; 26 27 if (isset($page['body_id']) AND $page['body_id'] == 'thePicturePage') 28 { 29 $prefilter = 'picture'; 30 } 31 else if ( 32 script_basename() == 'index' and isset($pwg_loaded_plugins['Comments_on_Albums']) 33 and isset($page['section']) and $page['section'] == 'categories' and isset($page['category']) 34 ) 35 { 36 $prefilter = 'comments_on_albums'; 37 } 38 else if (isset($_GET['/guestbook'])) 39 { 40 $prefilter = 'index'; 41 } 42 43 if (isset($prefilter)) 44 { 45 set_smiliessupport($prefilter); 29 46 } 30 47 }
Note: See TracChangeset
for help on using the changeset viewer.