Changeset 4156 for extensions/Mail_supervisor/admin/mail_black_liste.tpl
- 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/admin/mail_black_liste.tpl
r4137 r4156 1 <link href="theme.css" rel="stylesheet" type="text/css" /> 1 2 {html_head}<link rel="stylesheet" type="text/css" href="{$MAIL_SUPERV_PATH}admin/theme.css" />{/html_head} 2 3 4 3 <div class="titrePage"> 5 4 <h2>{'supervisor'|translate}</h2> 6 5 </div> 7 6 <div class="bug" > 7 </div> 8 <form action='' method="post" name="form_black"> 8 9 9 </div> 10 <fieldset> 11 <legend >{'options'|translate}</legend> 12 <table> 13 14 <td><input type="checkbox" name="NO_MAIL_LIST" value="on" {$NO_MAIL_LIST} /> {'no_mail_list'|translate} </td> 15 <td><input type="checkbox" name="NO_CONNECT" value="on" {$NO_CONNECT} /> {'no_connect'|translate}</td> 10 16 11 17 12 <form action='' method="post" name="form_black"> 18 19 <tr><td> 20 <input class="submit" type="submit" name="submit" value={'Valider'|translate} /></td></tr> 21 </table> 22 </fieldset> 23 24 13 25 14 26 <fieldset > 15 27 <legend>{'black_liste'|translate}</legend> 16 17 18 <table> 19 20 <input name="info1" type="hidden" > 21 <input name="ip_black" type="hidden" class="items" value="{$ip_black}" > 22 <input type="submit" name="info" value="" id='ip_ajout' class="row2" style="position:absolute; width:0px" > 23 <div> 24 <input name="ip_black_test" id = "ip_black_test" type="text" value="{$ip_black_test}" > {'valider'|@translate} 25 {if not empty($ip_black_test)} 26 <iframe src="http://www.stopforumspam.com/api?ip={$ip_black_test}" scrolling="no" class="frame_" height="50px" ></iframe> 27 {/if} 28 <input type="image" class='row1' 29 src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plug_activate.png" 30 alt="{'ajout'|@translate}" 31 onclick = " 28 <table> 29 <input name="info1" type="hidden" /> 30 <input name="ip_black" type="hidden" class="items" value="{$ip_black}" /> 31 <input type="submit" name="info" value="" id='ip_ajout' class="row2" style="position:absolute; width:0px" /> 32 <div> 33 <input name="ip_black_test" id = "ip_black_test" type="text" value="{$ip_black_test}" /> 34 {if $IS_SPAM == true } 35 <label class="erreur"> {'is_a_spam'|@translate} </label> 36 { else } 37 {'valider'|@translate} 38 {/if} 39 <input type="image" class='row1' 40 src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plug_activate.png" 41 alt="{'ajout'|@translate}" 42 onclick = " 32 43 if (confirm( document.getElementById('btn_ajout{$ip_black_test}').title + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}')) 33 44 form_black.info1.value='ajout:{$ip_black_test}' 34 45 " 35 id="btn_ajout{$ip_black_test}" 36 title="{'ajout'|@translate} {$ip_black_test}" 37 38 > 39 40 41 42 </div> 46 id="btn_ajout{$ip_black_test}" 47 title="{'ajout'|@translate} {$ip_black_test}" /> 48 </div> 43 49 </table> 44 45 46 47 50 48 <table class="table2" > 49 <tr class="throw"> 50 51 <th>{$champs_bl[1]|@translate}</th> 52 <th>{$champs_bl[2]|@translate}</th> 53 <th>{$champs_bl[3]|@translate}</th> 54 <th>{$champs_bl[4]|@translate}</th> 55 <th>{$champs_bl[7]|@translate}</th> 56 <th>{'blackliste'|@translate}</th> 57 </tr> 58 {if not empty($liste_bl)} 59 {foreach from=$liste_bl item=group name=group_loop} 60 <tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}"> 61 <td>{$group.ip}</td> 62 <td>{$group.pays}</td> 63 <td>{$group.region}</td> 64 <td>{$group.ville}</td> 65 <td>{$group.nb}</td> 66 <td style="text-align:center;"> 67 68 <input type="image" class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}" 69 src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" 70 alt="{'delete'|@translate}" 71 onclick = " 72 if (confirm( document.getElementById('btn_delete{$group.ip}').title + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}')) 51 <table class="table2" > 52 {if not empty($liste_bl)} 53 <tr class="throw"> 54 <th>{$champs_bl[1]|@translate}</th> 55 <th>{$champs_bl[2]|@translate}</th> 56 <th>{$champs_bl[3]|@translate}</th> 57 <th>{$champs_bl[4]|@translate}</th> 58 <th>{$champs_bl[7]|@translate}</th> 59 <th>{'blackliste'|@translate}</th> 60 </tr> 61 {foreach from=$liste_bl item=group name=group_loop} 62 <tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}"> 63 <td>{$group.ip}</td> 64 <td>{$group.pays}</td> 65 <td>{$group.region}</td> 66 <td>{$group.ville}</td> 67 <td>{$group.nb}</td> 68 <td style="text-align:center;"> 69 <input type="image" class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}" 70 src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" 71 alt="{'delete'|@translate}" 72 onclick = " 73 if (confirm( document.getElementById('btn_delete{$group.ip}').title + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}')) 73 74 form_black.info1.value='raz:{$group.ip}' 74 75 " 75 id="btn_delete{$group.ip}" 76 title="{'delete'|@translate} {$group.ip}" 77 > 76 id="btn_delete{$group.ip}" 77 title="{'delete'|@translate} {$group.ip}" /> 78 </td> 79 </tr> 80 {/foreach} 81 <tr></tr> 82 <tr></tr> 83 <td> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" />{'unset_black_list'|@translate}</td> 84 <td> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plug_activate.png" />{'set_black_list'|@translate}</td> 78 85 86 {/if} 87 </table> 88 </fieldset> 79 89 80 81 </td>82 </tr>83 {/foreach}84 <td> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" > supprime de la liste noire</td>85 </table>86 87 </fieldset>88 89 {/if}90 91 90 <fieldset > 92 91 <legend>{'liste_ip'|translate}</legend> 93 <p class=" info">92 <p class="Style1"> 94 93 {'IP_adress'|translate} : {$IP} 95 94 96 95 <script language="JavaScript" src="http://j.maxmind.com/app/geoip.js" type="text/javascript" ></script> 97 96 <script language="JavaScript" type="text/javascript"> 98 99 var pays = geoip_country_name(); 100 97 var pays = geoip_country_name(); 101 98 var ville = geoip_city(); 102 99 var region = geoip_region_name() ; 103 100 var latitude = geoip_latitude() ; 104 101 var longitude = geoip_longitude() ; 105 102 document.write ('<input name="pays" type="text" value = '+ pays +' id = "pays" class="info" > '); 103 document.write ('<input name="ville" type="text" value = '+ ville +' id = "ville" class="info" > '); 104 document.write ('<input name="region" type="text" value = '+ region +' id = "region" class="info" > '); 105 document.write ('<input name="latitude" type="text" value = '+ latitude +' id = "latitude" class="info" > '); 106 document.write ('<input name="longitude" type="text" value = '+ longitude + ' id = "longitude" class="info" > '); 106 107 107 document.write (' <input name="pays" type="text" value = '+ pays +' id = "pays" class="info" > ');108 document.write (' <input name="ville" type="text" value = '+ ville +' id = "ville" class="info" > ');109 document.write (' <input name="region" type="text" value = '+ region +' id = "region" class="info" > ');110 document.write (' <input name="latitude" type="text" value = '+ latitude +' id = "latitude" class="info" > ');111 document.write (' <input name="longitude" type="text" value = '+ longitude + ' id = "longitude" class="info" > ');112 108 113 109 </script> … … 150 146 id="btn_permissions{$group.IP}" 151 147 title="{'blacklist'|@translate} {$group.IP}" 152 alt="{'blacklist'|@translate} {$group.IP}" 153 > 148 alt="{'blacklist'|@translate} {$group.IP}" /> 154 149 155 150 … … 161 156 {/foreach} 162 157 {/if} 163 <td> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plug_activate.png" > mise sur la liste noire</td>158 <td> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plug_activate.png" /> {'set_black_list'|@translate}</td> 164 159 165 160 … … 167 162 </fieldset> 168 163 169 </table>164 170 165 171 166 <p> 172 167 173 <input class="submit" type="submit" name="info" value="liste" 168 <input class="submit" type="submit" name="info" value="liste" /> 174 169 175 170 </p> 176 </fieldset> 171 177 172 178 173 </form>
Note: See TracChangeset
for help on using the changeset viewer.