Changeset 8940 for extensions/Autosize/autosize.inc.php
- Timestamp:
- Jan 27, 2011, 1:54:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/autosize.inc.php
r8911 r8940 27 27 if (!defined('ROOT_URL')) 28 28 define( 'ROOT_URL', get_root_url().'/' ); 29 30 $AUTOSIZE_PATH_ABS=str_replace('\\','/',dirname(__FILE__) ); 29 31 if (!defined('AUTOSIZE_PATH_ABS')) 30 32 define( 31 'AUTOSIZE_PATH_ABS', 32 dirname(__FILE__).'/' 33 'AUTOSIZE_PATH_ABS', $AUTOSIZE_PATH_ABS."/" 33 34 ); 34 35 … … 102 103 save_framework('".$ma_page."'); 103 104 </script>"; 105 $autoscript .="<input id='ret_autosize' type='hidden' value='' />"; 106 $autoscript .="<input id='src_img_h' type='hidden' value='' />"; 107 $autoscript .="<input id='src_img_w' type='hidden' value='' />"; 104 108 $template->append('footer_elements',$autoscript); 105 109 return ;
Note: See TracChangeset
for help on using the changeset viewer.