Changeset 4337 for extensions/Mail_supervisor/admin
- Timestamp:
- Nov 22, 2009, 10:16:24 AM (14 years ago)
- Location:
- extensions/Mail_supervisor/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Mail_supervisor/admin/mail_black_liste.tpl
r4323 r4337 26 26 /> 27 27 <input type="submit" name="submit" value="{'Test'|translate}" /> 28 { if $ip_black_len > 0} 29 {if $IS_SPAM == true } 30 <label class="erreur"> {'is_a_spam'|@translate} {'cde_ajout'|@translate} </label> 28 29 { if $ip_black_len > 0} 30 31 {if $IS_SPAM == true } 32 <label class="erreur"> {'is_a_spam'|@translate} </label> 31 33 { else } 32 34 <label class="erreur"> {'not_a_spam'|@translate} </label> 33 35 {/if} 36 { if $istype == 'IP'} 34 37 <input type="submit" name="submit" value="{'Ajout'|translate}" /> 35 38 <input type="image" name="submit" class='row1' … … 42 45 id="btn_ajout{$ip_black}" 43 46 title="{'ajout'|@translate} {$ip_black}" /> 44 { else } 47 {/if} 48 { else } 45 49 {'valider'|@translate} 46 50 {/if} … … 51 55 52 56 </div> 57 <a href="http://www.stopforumspam.com" > <img src="{$img_logo}" width="32"/> http://www.stopforumspam.com 58 </a> 53 59 </table> 54 60 -
extensions/Mail_supervisor/admin/mail_superv_admin.php
r4224 r4337 312 312 load_language('help/plugin.lang', MAIL_SUPERV_PATH); 313 313 global $pays,$region,$ville ; 314 global $user_name,$mail_adresse,$ip ; 315 314 316 $aff_nb=false; 315 317 //------------------------------------------------------------------------------------ … … 338 340 if (isset($_POST['ip_black'])) $ip_black = ($ip_black == "" ) ? $_POST['ip_black'] : $ip_black ; 339 341 340 342 $istype=""; 341 343 342 344 if ( isset($_POST['submit']) ) 343 345 { 344 346 347 if (clj_is_ip($ip_black)) $istype='IP'; 348 349 elseif (clj_is_mail($ip_black)) $istype='MAIL'; 350 351 else $istype='LOGIN'; 352 345 353 if ( $_POST['submit'] == l10n('Ajout') ) 346 354 { … … 369 377 if (!empty($liste_bl)) $champs_bl=array_keys($liste_bl[0]); 370 378 $smile_bonjour=MAIL_SUPERV_PATH."smilies/mouche.gif" ; 379 $img_logo=MAIL_SUPERV_PATH."smilies/logo.png" ; 371 380 $template->assign( 372 381 array( 373 382 'smile_bonjour' => $smile_bonjour , 383 'img_logo' => $img_logo , 374 384 'champs_ip' => $champs_ip , 375 385 'liste_ip' => $liste_ip, … … 377 387 'liste_bl' => $liste_bl , 378 388 'conf_admin_layout' => $conf['admin_layout'] , 389 'istype' => $istype , 379 390 'ip_black' => $ip_black , 380 391 'IS_SPAM' => test_spam( $ip_black),
Note: See TracChangeset
for help on using the changeset viewer.