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

[Autosize][beta] save

File:
1 edited

Legend:

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

    r7740 r7741  
    153153        static public function cl_autosize_script()
    154154        {
    155            global  $template,$user,$conf,$picture ;
    156 
     155           global  $template,$user,$conf,$picture ,$page;
     156           //userDefManage ??
    157157                $my_path =  basename(dirname(__FILE__)).'/' ;
    158158            $my_path = dirname(__FILE__).'/';
    159159                        $debug = isset($conf['debug']) ? $conf['debug'] : false ;
    160160                        $template->func_known_script(array('id'=>'jquery', 'src'=>get_root_url().'themes/default/js/jquery.packed.js'), $smarty);
     161                $template->func_known_script(array('id'=>'jquery', 'src'=>$my_path. '/js/jconflit.js'), $smarty);
     162       
     163
     164
     165
    161166                $template->set_filenames(
    162167                     array('autosize_init'=>$my_path. "template/conflit.tpl" 
     
    169174                                                'AUTOSIZE_ROOT' => AUTOSIZE_PATH)
    170175                                                 );
    171 
     176if(     $page['body_id'] == 'theAdminPage' ) return ;
    172177                   return $template->parse( 'autosize_init', false);
    173178
Note: See TracChangeset for help on using the changeset viewer.