Changeset 4224 for extensions
- Timestamp:
- Nov 7, 2009, 3:04:32 PM (15 years ago)
- Location:
- extensions/Mail_supervisor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Mail_supervisor/admin/mail_superv_admin.php
r4220 r4224 86 86 include_once (MAIL_SUPERV_PATH.'include/fonctions.php'); 87 87 $mails_options = explode("," , $conf['mail_superv']); 88 $mails_données=Get_Datas(); 88 if (!isset($mails_options[6])) $mails_options[6] = $_SERVER['REMOTE_ADDR'] ; 89 if (!isset($mails_options[5])) $mails_options[5] = 'off' ; 90 if (!isset($mails_options[4])) $mails_options[5] = 'off' ; 91 if (!isset($mails_options[3])) $mails_options[5] = 'off' ; 92 if (!isset($mails_options[2])) $mails_options[5] = 'off' ; 93 if (!isset($mails_options[1])) $mails_options[5] = 'off' ; 94 if (!isset($mails_options[0])) $mails_options[5] = 'off' ; 95 96 $mails_données = Get_Datas(); 89 97 90 98 … … 309 317 $ville = (isset($_POST['ville'])) ? $_POST['ville']: $ville ; 310 318 $region = isset($_POST['region']) ? $_POST['region'] : $region ; 319 320 321 311 322 $ip = ($mails_options[6] == '') ? $_SERVER['REMOTE_ADDR'] : $mails_options[6] ; 312 323 … … 334 345 if ( $_POST['submit'] == l10n('Ajout') ) 335 346 { 336 $info_ip = trim( $_POST['submit']);347 $info_ip = 'Ajout' ; 337 348 $ip_black = trim( $_POST['ip_black']) ; 338 $infos_message .= l10n('ajout'). '---->'. $ip_black ;349 $infos_message .= $info_ip . '---->'. $ip_black ; 339 350 } 340 351 if ( $_POST['submit'] == l10n('Valider') ) -
extensions/Mail_supervisor/include/fonctions.php
r4220 r4224 688 688 689 689 ?> 690 691 692 693 -
extensions/Mail_supervisor/main.inc.php
r4222 r4224 2 2 /* 3 3 Plugin Name: Mail supervisor 4 Version: 1. 04 Version: 1.2.6.a 5 5 Description: ATTENTION VERSION TEST en place de la version 1.2.4) Mail supervisor surveille l'envoie des mails. 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=315
Note: See TracChangeset
for help on using the changeset viewer.