Changeset 10280


Ignore:
Timestamp:
Apr 11, 2011, 8:48:23 AM (10 years ago)
Author:
cljosse
Message:

[extensions] autosize compatibility with diaporama:theme kardon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/autosize.inc.php

    r9948 r10280  
    4343        {
    4444                global  $template,$user,$conf,$picture ,$page, $cl_plugin ;
    45                 if(isset($page['body_id']) &&   $page['body_id'] == 'theAdminPage' ) return ;
     45    if(isset($page['body_id']) &&       $page['body_id'] == 'theAdminPage' ) return ;
     46    if ('kardon' == $user['theme'] and isset($_GET['slideshow'])) return ;
     47     
    4648                $ma_page=isset($page['body_id'])?$page['body_id']:"" ;
    4749                if ($ma_page=='thePiwiShackControllerPage') return ;
     
    8082 {
    8183           global  $template,$user,$conf,$picture ,$page, $cl_plugin,$known_script ;
     84     if ('kardon' == $user['theme'] and isset($_GET['slideshow'])) return ;
     85
    8286                        $my_path = dirname(__FILE__).'/';
    8387                        $DEBUG =  isset($conf['cl_debug']) ? $conf['cl_debug'] : "false"  ;
     
    136140                global $infos_message,$erreur_message;
    137141                global  $conf,$lang ,$user,$userdata;
    138 
     142    if ('kardon' == $user['theme'] and isset($_GET['slideshow'])) return ;
    139143                load_language('lang', AUTOSIZE_PATH);
    140144                $my_path = dirname(__FILE__).'/';
Note: See TracChangeset for help on using the changeset viewer.