[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/e107_plugins/calendar_menu/ -> e_notify.php (source)

   1  <?php
   2  /*
   3  + ----------------------------------------------------------------------------+
   4  |     e107 website system
   5  |
   6  |     ©Steve Dunstan 2001-2002
   7  |     http://e107.org
   8  |     jalist@e107.org
   9  |
  10  |     Released under the terms and conditions of the
  11  |     GNU General Public License (http://gnu.org).
  12  |
  13  |     $Source: /cvsroot/e107/e107_0.7/e107_plugins/calendar_menu/e_notify.php,v $
  14  |     $Revision: 1.1 $
  15  |     $Date: 2006/11/16 10:24:15 $
  16  |     $Author: e107coders $
  17  +----------------------------------------------------------------------------+
  18  */
  19  
  20  if (!defined('e107_INIT')) { exit; }
  21  
  22  if(defined('ADMIN_PAGE') && ADMIN_PAGE === true)
  23  {
  24      include_lan(e_PLUGIN."calendar_menu/languages/".e_LANGUAGE.".php");
  25      $config_category = NT_LAN_EC_1;
  26      $config_events = array('ecalnew' => NT_LAN_EC_7, 'ecaledit' => NT_LAN_EC_2);
  27  }
  28  
  29  if (!function_exists('notify_ecalnew'))
  30  {
  31  	function notify_ecalnew($data) {
  32          global $nt;
  33          include_lan(e_PLUGIN."calendar_menu/languages/".e_LANGUAGE.".php");
  34          $message = NT_LAN_EC_3.': '.USERNAME.' ('.NT_LAN_EC_4.': '.$data['ip'].' )<br />';
  35          $message .= NT_LAN_EC_5.':<br />'.$data['cmessage'].'<br /><br />';
  36          $nt -> send('ecaledit', NT_LAN_EC_6, $message);
  37      }
  38  }
  39  
  40  if (!function_exists('notify_ecaledit')) {
  41  	function notify_ecaledit($data) {
  42          global $nt;
  43          include_lan(e_PLUGIN."calendar_menu/languages/".e_LANGUAGE.".php");
  44          $message = NT_LAN_EC_3.': '.USERNAME.' ('.NT_LAN_EC_4.': '.$data['ip'].' )<br />';
  45          $message .= NT_LAN_EC_5.':<br />'.$data['cmessage'].'<br /><br />';
  46          $nt -> send('ecaledit', NT_LAN_EC_8, $message);
  47      }
  48  }
  49  
  50  
  51  
  52  
  53  ?>


Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7