Changeset 3900 for extensions


Ignore:
Timestamp:
Sep 22, 2009, 10:18:39 PM (15 years ago)
Author:
tiico
Message:

fix bug 001165

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/piclens/include/config_param.inc.php

    r3708 r3900  
    55 */
    66// Fichier contenant les parametres du plugin (pour le parser)
     7
     8global $user;
    79
    810if ( isset($row['file']) ) {
     
    2830                '%I6'   => isset($row['path']) ? $row['path']: '',
    2931                '%I7'   => isset($row['path']) ?
    30                                             ($row['has_high'] and $user['enabled_high']
     32                                            ($row['has_high'] and (isset($user['enabled_high']) and $user['enabled_high'])
    3133                                                ? dirname($row['path']).'/pwg_high/'.basename($row['path'])
    3234                                                : $row['path'])
     
    5658                '%IA'   => isset($row['path']) ? (url_is_remote($row['path']) ? $row['path']: embellish_url(get_root_url().$row['path'])) : '',
    5759                '%IB'   => isset($row['path']) ?
    58                                             ($row['has_high'] and $user['enabled_high']
     60                                            ($row['has_high'] and (isset($user['enabled_high']) and $user['enabled_high'])
    5961                                                ? (url_is_remote($row['path'])
    6062                                                    ? dirname($row['path']).'/pwg_high/'.basename($row['path'])
Note: See TracChangeset for help on using the changeset viewer.