Ignore:
Timestamp:
Jan 26, 2011, 1:17:55 PM (13 years ago)
Author:
cljosse
Message:

[Autosize][beta] compatibility (admin.tpl) whith piwigo 2.2


File:
1 edited

Legend:

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

    r8911 r8912  
    1313$theme=$user['theme'];
    1414$user_status = $user['status'] ;
    15  
    16                    $template->assign( array( 'AUTOSIZE_PATH_ABS' => AUTOSIZE_PATH_ABS
     15
     16                   $template->assign( array(
     17                   'AUTOSIZE_PATH_ABS' => AUTOSIZE_PATH_ABS,
     18                   'ROOT_URL' => ROOT_URL,
     19                   'AUTOSIZE_PATH' => AUTOSIZE_PATH,
    1720                                                                                        )
    18                                                                         );             
     21                                                                        );     
     22                                       
    1923        $template->assign(
    2024                                        array(
     
    2731                                        'thumbnail' => $conf['prefix_thumbnail'],
    2832                    'visible' => $visible,
    29                      'ROOT_URL' => get_root_url()  ,
    30                     'AUTOSIZE_PATH' => AUTOSIZE_PATH,
     33
    3134                    'theme' => $theme,
    3235                                         'SCALED_WIDTH' => $picture['current']['scaled_width'],
Note: See TracChangeset for help on using the changeset viewer.