Changeset 7741 for extensions/Autosize/autosize.inc.php
- Timestamp:
- Nov 11, 2010, 10:57:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/autosize.inc.php
r7740 r7741 153 153 static public function cl_autosize_script() 154 154 { 155 global $template,$user,$conf,$picture ;156 155 global $template,$user,$conf,$picture ,$page; 156 //userDefManage ?? 157 157 $my_path = basename(dirname(__FILE__)).'/' ; 158 158 $my_path = dirname(__FILE__).'/'; 159 159 $debug = isset($conf['debug']) ? $conf['debug'] : false ; 160 160 $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 161 166 $template->set_filenames( 162 167 array('autosize_init'=>$my_path. "template/conflit.tpl" … … 169 174 'AUTOSIZE_ROOT' => AUTOSIZE_PATH) 170 175 ); 171 176 if( $page['body_id'] == 'theAdminPage' ) return ; 172 177 return $template->parse( 'autosize_init', false); 173 178
Note: See TracChangeset
for help on using the changeset viewer.