Changeset 11291


Ignore:
Timestamp:
06/10/11 20:38:54 (8 years ago)
Author:
mistic100
Message:

compatible with new versions of SmiliesSupport and BBcode Bar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Comments_on_Albums/main.inc.php

    r11267 r11291  
    4343    $page['section'] == 'categories' AND isset($page['category']) AND  
    4444    ( !isset($pwg_loaded_plugins['rv_tscroller']) OR count($page['navigation_bar']) == 0 ) 
    45     )  
    46   {    
     45  ) {    
    4746    if (isset($pwg_loaded_plugins['bbcode_bar']) AND !isset($_GET['comment_to_edit']))  
    4847    { 
    4948      set_bbcode_bar(); 
     49      $template->set_prefilter('comments_on_albums', 'set_bbcode_bar_prefilter');  
     50      if (isset($pwg_loaded_plugins['SmiliesSupport'])) 
     51      { 
     52        $template->set_prefilter('comments_on_albums', 'set_smiliessupport_prefilter'); 
     53      } 
    5054    } 
    5155    else if (isset($pwg_loaded_plugins['SmiliesSupport']) AND !isset($_GET['comment_to_edit']))  
    5256    { 
    5357      set_smiliessupport(); 
     58      $template->set_prefilter('comments_on_albums', 'set_smiliessupport_prefilter'); 
    5459    } 
    5560     
Note: See TracChangeset for help on using the changeset viewer.