Changeset 4199
- Timestamp:
- Nov 5, 2009, 2:00:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Mail_supervisor/main.inc.php
r4180 r4199 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | Piwigo - a PHP based picture gallery |4 // +-----------------------------------------------------------------------+5 // | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org |6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |8 // +-----------------------------------------------------------------------+9 // | This program is free software; you can redistribute it and/or modify |10 // | it under the terms of the GNU General Public License as published by |11 // | the Free Software Foundation |12 // | |13 // | This program is distributed in the hope that it will be useful, but |14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |16 // | General Public License for more details. |17 // | |18 // | You should have received a copy of the GNU General Public License |19 // | along with this program; if not, write to the Free Software |20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |21 // | USA. |22 // +-----------------------------------------------------------------------+23 24 2 /* 25 3 Plugin Name: Mail supervisor 26 Version: 1. 2.427 Description: Mail supervisor surveille l'envoie des mails.4 Version: 1.0 5 Description: Mail supervisor surveille l'envoie des mails. 28 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=315 29 7 Author: cljosse 30 Author URI:http://cl .josse.free.fr8 Author URI:http://cljosse.free.fr 31 9 */ 32 33 10 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 34 35 11 if (!defined('MAIL_SUPERV_DIR')) define('MAIL_SUPERV_DIR' , basename(dirname(__FILE__))); 36 12 if (!defined('MAIL_SUPERV_PATH')) define('MAIL_SUPERV_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); 37 38 13 include_once (MAIL_SUPERV_PATH.'include/constants.php'); 39 include_once (MAIL_SUPERV_PATH.'include/fonctions.php'); 40 41 /* 42 EVENT_HANDLER_PRIORITY_NEUTRAL */ 14 15 /* EVENT_HANDLER_PRIORITY_NEUTRAL */ 43 16 44 17 … … 290 263 } 291 264 292 293 294 265 function affiche_spam () 266 267 { 268 include_once (MAIL_SUPERV_PATH.'include/fonctions.php'); 269 270 affiche_message(); 271 } 295 272 add_event_handler('get_admin_plugin_menu_links', 'admin_menu'); 296 add_event_handler('loc_after_page_header', 'affiche_message'); 297 273 add_event_handler('loc_after_page_header','affiche_spam' ); 298 274 299 275 ?> 300 301 302
Note: See TracChangeset
for help on using the changeset viewer.