Changeset 7741
- Timestamp:
- Nov 11, 2010, 10:57:42 AM (13 years ago)
- Location:
- extensions/Autosize
- Files:
-
- 3 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 -
extensions/Autosize/js/Affiche_script.js
r7740 r7741 1006 1006 1007 1007 }); 1008 jQuery("#Debug1").text("i nfo_theImage.height : " + info_theImage.height);1008 jQuery("#Debug1").text("img_finale.heightt : " + img_finale.height); 1009 1009 //=================================================== 1010 1010 jQuery("#Debug2").css({ position: "absolute", -
extensions/Autosize/js/conflit.js
r7740 r7741 22 22 var ret_element = ""; 23 23 if (retour.match(RegExp("jQuery", "gi"))) { 24 ret_element = jQuery(element); 24 ret_element = jQuery(element); 25 } 26 else if (retour.match(RegExp("rv_gmaps", "gi"))) { 27 ret_element = jQuery().$Prototype(element); 25 28 } else if (retour.match(RegExp("GMaps", "gi"))) { 26 29 ret_element = jQuery(element); … … 29 32 } else if (retour.match(RegExp("luciano", "gi"))) { 30 33 ret_element = jQuery().$Luciano(element); 31 } else if (retour.match(RegExp("rv_gmaps", "gi"))) { 32 ret_element = jQuery().$Prototype(element); 34 33 35 }else if (retour.match(RegExp("jQuery", "gi"))) { 34 36 ret_element = jQuery(element);
Note: See TracChangeset
for help on using the changeset viewer.