Changeset 15998 for extensions/bbcode_bar/main.inc.php
- Timestamp:
- Jun 24, 2012, 3:10:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/bbcode_bar/main.inc.php
r11377 r15998 26 26 function add_bbcode_bar() 27 27 { 28 global $page ;28 global $page, $pwg_loaded_plugins; 29 29 30 30 if (isset($page['body_id']) AND $page['body_id'] == 'thePicturePage') 31 31 { 32 set_bbcode_bar(); 32 $prefilter = 'picture'; 33 } 34 else if ( 35 script_basename() == 'index' and isset($pwg_loaded_plugins['Comments_on_Albums']) 36 and isset($page['section']) and $page['section'] == 'categories' and isset($page['category']) 37 ) 38 { 39 $prefilter = 'comments_on_albums'; 40 } 41 else if (isset($_GET['/guestbook'])) 42 { 43 $prefilter = 'index'; 44 } 45 46 if (isset($prefilter)) 47 { 48 set_bbcode_bar($prefilter); 33 49 } 34 50 }
Note: See TracChangeset
for help on using the changeset viewer.