Changeset 4041


Ignore:
Timestamp:
Oct 15, 2009, 11:00:17 AM (11 years ago)
Author:
cljosse
Message:

[mail_supervisor] insert multi tabs

Location:
extensions/Mail_supervisor
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/Mail_supervisor/admin/mail_superv_admin.php

    r4040 r4041  
    2626  die('Hacking attempt!');
    2727}
     28if (!defined('MAILl_SUPERV_DIR')) define('MAILl_SUPERV_DIR' , basename(dirname(__FILE__)));
     29if (!defined('MAIL_SUPERV_PATH')) define('MAIL_SUPERV_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
     30
     31
    2832global $user, $lang, $conf, $errors;
    2933global $args, $conf_mail,$infos_message,$erreu_message ;
     
    3539include_once (PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
    3640include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
     41
    3742
    3843include_once (MAIL_SUPERV_PATH.'include/constants.php');
  • extensions/Mail_supervisor/include/fonctions.php

    r4040 r4041  
    2626  die('Hacking attempt!');
    2727}
    28 
     28if (!defined('MAILl_SUPERV_DIR')) define('MAILl_SUPERV_DIR' , basename(dirname(__FILE__)));
     29if (!defined('MAIL_SUPERV_PATH')) define('MAIL_SUPERV_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
    2930
    3031load_language('plugin.lang', MAIL_SUPERV_PATH);
  • extensions/Mail_supervisor/main.inc.php

    r4040 r4041  
    2424/*
    2525Plugin Name: Mail supervisor
    26 Version: 1.0.3
     26Version: 1.1.0
    2727Description:  Mail supervisor surveille l'envoie des mails.
    2828Plugin URI: http://piwigo.org/ext/extension_view.php?eid=315
     
    3131*/
    3232
    33 
    3433if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
    3534
    36 define('mail_superv_DIR' , basename(dirname(__FILE__)));
    37 define('MAIL_SUPERV_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
     35if (!defined('MAILl_SUPERV_DIR')) define('MAILl_SUPERV_DIR' , basename(dirname(__FILE__)));
     36if (!defined('MAIL_SUPERV_PATH')) define('MAIL_SUPERV_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
     37
    3838include_once (MAIL_SUPERV_PATH.'include/constants.php');
    3939include_once (MAIL_SUPERV_PATH.'include/fonctions.php');
  • extensions/Mail_supervisor/maintain.inc.php

    r4040 r4041  
    2626}
    2727
    28 if(!defined("MAIL_SUPERV_PATH"))
    29   define('MAIL_SUPERV_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
     28
     29if (!defined('MAILl_SUPERV_DIR')) define('MAILl_SUPERV_DIR' , basename(dirname(__FILE__)));
     30if (!defined('MAIL_SUPERV_PATH')) define('MAIL_SUPERV_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
    3031
    3132include_once (MAIL_SUPERV_PATH.'include/constants.php');
Note: See TracChangeset for help on using the changeset viewer.