Changeset 8959


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

[Autosize][beta] no load jquery


Location:
extensions/Autosize
Files:
2 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',
  • extensions/Autosize/template/header_2_1.tpl

    r8940 r8959  
    11{html_head}
    2 {known_script id="jquery" src = $ROOT_URL|@cat:"themes/default/js/jquery.js" now=0}
     2{known_script id="jquery" src = $ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=0}
    33{known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.js"}
    44{known_script id="conflit_script" src = $AUTOSIZE_PATH|@cat:"js/conflit.js" }
Note: See TracChangeset for help on using the changeset viewer.