Ignore:
Timestamp:
May 17, 2011, 6:43:15 PM (13 years ago)
Author:
cljosse
Message:

[extensions] autosize compatibility with pamooramics & gmaps

File:
1 edited

Legend:

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

    r10845 r10913  
    7070        'cl_version' => $cl_plugin['version'] ,
    7171        'name' => $cl_plugin['name'] ,
    72                                                                          
     72        'pamoorama' =>  isset($PAMOORAMICS_PATH)?"true":"false",                                                                 
    7373        'theme' => $theme  ,
    7474        'DEBUG_autosize' =>  $DEBUG_autosize ,
     
    168168
    169169        $template->set_filenames(array('autosize_content_header'=> $file )); 
    170 
    171          
    172        if (PHPWG_VERSION < 2.2 )
    173                 $file =AUTOSIZE_PATH_ABS.'template/header_2_1.tpl' ;
    174         else
    175                 $file =AUTOSIZE_PATH_ABS.'template/header_2_2.tpl' ;
    176 
    177                 $template->set_filenames(array('autosize_content_header2'=> $file )); 
    178                 $template->concat('autosize_content', $template->parse('autosize_content_header2', true));   
     170        $template->concat('autosize_content', $template->parse('autosize_content_header', true));   
    179171                       
    180172        $template->set_filenames(array('autosize_init_header'=> $file ));
Note: See TracChangeset for help on using the changeset viewer.