Changeset 4721 for extensions/Mail_supervisor
- Timestamp:
- Jan 22, 2010, 11:20:13 AM (15 years ago)
- Location:
- extensions/Mail_supervisor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Mail_supervisor/admin/mail_black_liste.tpl
r4715 r4721 36 36 <table> 37 37 <div > 38 <input name="ip_black" id = "ip_black_test" type="text" value="{$ip_black}" 39 /> 38 <input name="ip_black" id = "ip_black_test" type="text" value="{$ip_black}" /> 40 39 <input class="cluetip" title="{'Test'|translate}|{'hlp_7_3'|translate}" type="submit" name="submit" value="{'Test'|translate}" /> 41 40 … … 79 78 <tr class="throw"> 80 79 <th>{$champs_bl[1]|@translate}</th> 81 <th>{$champs_bl[2]|@translate}</th>82 <th>{$champs_bl[3]|@translate}</th>83 <th>{$champs_bl[4]|@translate}</th>84 <th>{$champs_bl[5]|@translate}</th>85 <th>{$champs_bl[6]|@translate}</th>86 80 <th>{$champs_bl[7]|@translate}</th> 87 81 <th>{'blackliste'|@translate}</th> … … 90 84 <tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}"> 91 85 <td>{$group.ip}</td> 92 <td>{$group.pays}</td> 93 <td>{$group.region}</td> 94 <td>{$group.ville}</td> 95 <td>{$group.adresse}</td> 96 <td>{$group.fai}</td> 86 97 87 <td>{$group.nb}</td> 98 88 <td style="text-align:center;"> … … 122 112 <p class="Style1"> 123 113 {'IP_adress'|translate} : {$IP} 124 {'pays'|translate} : {$PAYS}125 {'ville'|translate} : {$VILLE}126 {'region'|translate} : {$REGION}127 114 </p> 128 115 -
extensions/Mail_supervisor/admin/mail_superv_admin.php
r4715 r4721 86 86 include_once (MAIL_SUPERV_PATH.'include/fonctions.php'); 87 87 global $pays,$region,$ville,$ip ; 88 if(!isset($pays)) Get_geo(); 88 89 89 90 90 $mails_options = explode("," , $conf['mail_superv']); … … 342 342 $info_ip = trim($val[0]) ; 343 343 $ip_black = trim($val[1]) ; 344 344 345 345 if (isset($_POST['ip_black'])) $ip_black = ($ip_black == "" ) ? $_POST['ip_black'] : $ip_black ; 346 346 347 347 $istype=""; 348 348 349 349 350 if ( isset($_POST['submit']) ) 350 351 { 351 352 352 353 if (clj_is_ip($ip_black)) $istype='IP'; 353 354 elseif (clj_is_mail($ip_black)) $istype='MAIL'; 355 356 else $istype='LOGIN'; 357 354 elseif (clj_is_mail($ip_black)) $istype='MAIL'; 355 else $istype='LOGIN'; 356 358 357 if ( $_POST['submit'] == l10n('Ajout') ) 359 358 { … … 382 381 if (!empty($liste_ip)) $champs_ip=array_keys($liste_ip[0]); 383 382 if (!empty($liste_bl)) $champs_bl=array_keys($liste_bl[0]); 384 $smile_bonjour=MAIL_SUPERV_PATH."smilies/mouche.gif" ;385 $img_logo=MAIL_SUPERV_PATH."smilies/logo.png" ;383 $smile_bonjour=MAIL_SUPERV_PATH."smilies/mouche.gif" ; 384 $img_logo=MAIL_SUPERV_PATH."smilies/logo.png" ; 386 385 $template->assign( 387 386 array( -
extensions/Mail_supervisor/include/fonctions.php
r4715 r4721 638 638 639 639 if (count($mails_options) < 7 ) return false ; 640 Get_Geo();640 641 641 $champs=implode(',',$superv_bl_champs); 642 642 $query = "
Note: See TracChangeset
for help on using the changeset viewer.