Ignore:
Timestamp:
Jan 27, 2011, 1:54:24 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] bug on template


File:
1 edited

Legend:

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

    r8911 r8940  
    2727if (!defined('ROOT_URL'))
    2828define(  'ROOT_URL',  get_root_url().'/' );
     29
     30$AUTOSIZE_PATH_ABS=str_replace('\\','/',dirname(__FILE__) );
    2931if (!defined('AUTOSIZE_PATH_ABS'))
    3032define(
    31   'AUTOSIZE_PATH_ABS',
    32    dirname(__FILE__).'/'
     33  'AUTOSIZE_PATH_ABS',   $AUTOSIZE_PATH_ABS."/"
    3334);
    3435
     
    102103                           save_framework('".$ma_page."');
    103104                        </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='' />";
    104108                $template->append('footer_elements',$autoscript); 
    105109                return ;
Note: See TracChangeset for help on using the changeset viewer.