Changeset 4156 for extensions/Mail_supervisor/include/save_info.php
- Timestamp:
- Oct 30, 2009, 2:59:24 PM (15 years ago)
- Location:
- extensions/Mail_supervisor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Mail_supervisor
- Property svn:ignore
-
old new 1 1 _notes 2 obsolete.list 3 pem_metadata.txt
-
- Property svn:ignore
-
extensions/Mail_supervisor/include/save_info.php
r4132 r4156 7 7 if (!defined('MAIL_SUPERV_PATH')) define('MAIL_SUPERV_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); 8 8 9 10 11 9 //include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); 12 10 include_once (MAIL_SUPERV_PATH.'include/constants.php'); 13 11 include_once (MAIL_SUPERV_PATH.'include/fonctions.php'); 14 12 15 $info_ip = (isset($info_ip)) ? $info_ip : '' ;16 $info_ip = (isset($_POST['info1'])) ? $_POST['info1'] : $info_ip ;13 $info_ip = (isset($info_ip)) ? $info_ip : '' ; 14 $info_ip = (isset($_POST['info1'])) ? $_POST['info1'] : $info_ip ; 17 15 $info_ip = (isset($_POST['info'])) ? $_POST['info'] : $info_ip ; 18 $info_ip .= ":";16 $info_ip .= ":"; 19 17 20 $val=explode(":",$info_ip);21 $info_ip = trim($val[0]) ;22 $ip_black = trim($val[1]) ;18 $val=explode(":",$info_ip); 19 $info_ip = trim($val[0]) ; 20 $ip_black = trim($val[1]) ; 23 21 24 if (isset($_POST['ip_black']))25 $ip_black = ($ip_black == "" ) ? $_POST['ip_black'] : $ip_black ;22 if (isset($_POST['ip_black'])) 23 $ip_black = ($ip_black == "" ) ? $_POST['ip_black'] : $ip_black ; 26 24 global $n ; 27 25
Note: See TracChangeset
for help on using the changeset viewer.