Changeset 8929


Ignore:
Timestamp:
Jan 26, 2011, 6:46:37 PM (13 years ago)
Author:
cljosse
Message:

[cl_conflit] template compatibility with piwigo 2.2

Location:
extensions/cl_conflit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/cl_conflit/conflit.inc.php

    r8629 r8929  
    2525   PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'
    2626);
    27 
     27if (!defined('CONFLIT_PATH_ABS'))
     28define(
     29  'CONFLIT_PATH_ABS',dirname(__FILE__).'/');
    2830class conflit_controler {
    2931//============================================================
     
    4345                $cl_conflit_parametres =         cl_conflit_Get_Options() ;
    4446                $theme=$user['theme'];
    45                 $url = get_root_url();         
     47                $url = get_root_url(); 
     48   
    4649                $template->assign(
    4750                                                array(
     
    5356                                                'theme' => $theme  ,
    5457                                                'DEBUG' => $DEBUG   ,
    55                                                 'CONFLIT_PATH' => CONFLIT_PATH)
    56                                                  );
     58                        'CONFLIT_PATH' => CONFLIT_PATH,
     59                                                'CONFLIT_PATH_ABS' => CONFLIT_PATH_ABS 
     60                        ) );
    5761       
    5862                return $template->parse( 'cl_conflit_init', false);
     
    7983                                                'theme' => $theme  ,
    8084                                                'DEBUG' => $DEBUG   ,
    81                                                 'CONFLIT_PATH' => CONFLIT_PATH)
     85                                                'CONFLIT_PATH' => CONFLIT_PATH,
     86                        'CONFLIT_PATH_ABS' => CONFLIT_PATH_ABS
     87                        )
    8288                                                );
    8389                                                 
  • extensions/cl_conflit/main.inc.php

    r8740 r8929  
    22/*
    33Plugin Name: cl_conflit
    4 Version: 1.0.8
     4Version: 1.0.9
    55Description: gestion des conflits entre jQuery et les autres librairies
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=474
Note: See TracChangeset for help on using the changeset viewer.