Ignore:
Timestamp:
Apr 9, 2011, 6:40:27 PM (13 years ago)
Author:
mistic100
Message:

compatibility with 'rv_tscroller' & comments revalidation

File:
1 edited

Legend:

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

    r9968 r10213  
    22/*
    33Plugin Name: Comments on Albums
    4 Version: 1.0
     4Version: 1.1
    55Description: Activate comments on albums pages
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=512
     
    4040        global $template, $page, $conf, $pwg_loaded_plugins;
    4141       
    42         if ($page['section'] == 'categories' AND isset($page['category'])) {   
     42        if ($page['section'] == 'categories' AND isset($page['category'])
     43                AND (!isset($pwg_loaded_plugins['rv_tscroller']) OR count($page['navigation_bar']) == 0))
     44        {       
     45               
    4346                if (isset($pwg_loaded_plugins['bbcode_bar']) AND !isset($_GET['comment_to_edit'])) set_bbcode_bar();
    4447                else if (isset($pwg_loaded_plugins['SmiliesSupport']) AND !isset($_GET['comment_to_edit'])) set_smiliessupport();
Note: See TracChangeset for help on using the changeset viewer.