[ Index ]
 

Code source de e107 0.7.8

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

title

Body

[fermer]

/e107_plugins/content/ -> 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/content/e_notify.php,v $
  14  |     $Revision: 1.1 $
  15  |     $Date: 2006/06/07 13:37:21 $
  16  |     $Author: lisa_ $
  17  +----------------------------------------------------------------------------+
  18  */
  19  
  20  $lan_file = e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content.php";
  21  include_once(file_exists($lan_file) ? $lan_file : e_PLUGIN."content/languages/English/lan_content.php");
  22  
  23  $config_category = CONTENT_NOTIFY_LAN_1;
  24  $config_events = array('content' => CONTENT_NOTIFY_LAN_2);
  25  
  26  if (!function_exists('notify_content')) {
  27  	function notify_content($data) {
  28          global $nt;
  29          foreach ($data as $key => $value) {
  30              $message .= $key.': '.$value.'<br />';
  31          }
  32          $nt -> send('content', CONTENT_NOTIFY_LAN_3, $message);
  33      }
  34  }
  35  
  36  ?>


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