Ignore:
Timestamp:
Jan 26, 2011, 12:52:35 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] compatibility whith piwigo 2.2


File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/include/affiche.php

    r8864 r8911  
    11<?php 
    2 
    3        
    4 
    52$visible=(isset($visible))?$visible:false;
    63$img_width=isset($picture['current']['width'])?$picture['current']['width']:480;
     
    1310$DEBUG= isset($conf['cl_debug']) ? $conf['cl_debug'] : $DEBUG ;
    1411 
    15 
     12 $my_path = AUTOSIZE_PATH_ABS;
    1613$theme=$user['theme'];
    1714$user_status = $user['status'] ;
    18                    $template->assign( array(
     15 
     16                   $template->assign( array( 'AUTOSIZE_PATH_ABS' => AUTOSIZE_PATH_ABS
    1917                                                                                        )
    2018                                                                        );             
     
    2927                                        'thumbnail' => $conf['prefix_thumbnail'],
    3028                    'visible' => $visible,
    31 
     29                     'ROOT_URL' => get_root_url()  ,
    3230                    'AUTOSIZE_PATH' => AUTOSIZE_PATH,
    3331                    'theme' => $theme,
Note: See TracChangeset for help on using the changeset viewer.