Ignore:
Timestamp:
Jan 28, 2011, 9:38:13 AM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] no load jquery


File:
1 edited

Legend:

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

    r8957 r8959  
    147147                $file =AUTOSIZE_PATH_ABS.'template/picture_2_2.tpl' ;
    148148
    149         $template->set_filenames(array('autosize_content_header'=> $file ));                           
     149
     150
     151        $template->set_filenames(array('autosize_content_header'=> $file )); 
     152
     153         
     154       if (PHPWG_VERSION < 2.2 )
     155                $file =AUTOSIZE_PATH_ABS.'template/header_2_1.tpl' ;
     156        else
     157                $file =AUTOSIZE_PATH_ABS.'template/header_2_2.tpl' ;
     158
     159                $template->set_filenames(array('autosize_content_header2'=> $file )); 
     160                $template->concat('autosize_content', $template->parse('autosize_content_header2', true));   
     161                       
     162        $template->set_filenames(array('autosize_init_header'=> $file ));
     163                                       
    150164                                if($autosize_parametres->check_icon_v == 'on'){                         
    151165                                                $template->assign('cl_autosize_button',
Note: See TracChangeset for help on using the changeset viewer.