Ignore:
Timestamp:
Nov 11, 2010, 10:29:02 AM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] save

File:
1 edited

Legend:

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

    r7725 r7740  
    3030        *
    3131        */
     32       
    3233        static public function cl_autosize_affiche()
    3334        {
     
    3940                load_language('lang', AUTOSIZE_PATH);
    4041                $my_path = dirname(__FILE__).'/';
    41 
     42               
    4243                if (isset( $page['body_id'])  ) {
    4344                if ( $page['body_id']=='thePicturePage'  ) {
     
    157158            $my_path = dirname(__FILE__).'/';
    158159                        $debug = isset($conf['debug']) ? $conf['debug'] : false ;
     160                        $template->func_known_script(array('id'=>'jquery', 'src'=>get_root_url().'themes/default/js/jquery.packed.js'), $smarty);
    159161                $template->set_filenames(
    160162                     array('autosize_init'=>$my_path. "template/conflit.tpl" 
    161163                         )
    162164                      );                 
     165                          $theme=$user['theme'];
    163166                $template->assign(
    164                                                 array(
     167                                                array('theme' => $theme  ,
    165168                                                'DEBUG' => $debug   ,
    166169                                                'AUTOSIZE_ROOT' => AUTOSIZE_PATH)
Note: See TracChangeset for help on using the changeset viewer.