[4414] | 1 | {* $Id: mail_black_liste.tpl 3723 2009-08-07 04:53:38Z rvelices $ *} |
---|
[6874] | 2 | {known_script id="jquery" src= $ROOT_URL|@cat:$path_js|@cat:"jquery.packed.js"} |
---|
| 3 | {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:$path_js|@cat:"plugins/jquery.cluetip.packed.js"} |
---|
[4361] | 4 | |
---|
| 5 | <script type="text/javascript"> |
---|
[5670] | 6 | jQuery().ready(function() |
---|
| 7 | {ldelim} |
---|
| 8 | jQuery('.cluetip').cluetip( |
---|
| 9 | {ldelim} |
---|
| 10 | width: 550, |
---|
[4361] | 11 | splitTitle: '|' |
---|
[5670] | 12 | {rdelim}); |
---|
| 13 | {rdelim}); |
---|
[4361] | 14 | </script> |
---|
| 15 | |
---|
[4156] | 16 | <link href="theme.css" rel="stylesheet" type="text/css" /> |
---|
[4132] | 17 | {html_head}<link rel="stylesheet" type="text/css" href="{$MAIL_SUPERV_PATH}admin/theme.css" />{/html_head} |
---|
| 18 | <div class="titrePage"> |
---|
[4879] | 19 | <h2>{'Sv_supervisor'|translate}{'Sv_version'|translate}{$version}</h2> |
---|
[4132] | 20 | </div> |
---|
| 21 | <div class="bug" > |
---|
| 22 | </div> |
---|
[4156] | 23 | <form action='' method="post" name="form_black"> |
---|
| 24 | <fieldset> |
---|
[4879] | 25 | <legend >{'Sv_options'|translate}</legend> |
---|
[4156] | 26 | <table> |
---|
[4879] | 27 | <td><input type="checkbox" name="no_mail_list" value="on" {$no_mail_list} /> {'Sv_no_mail_list'|translate} </td> |
---|
| 28 | <td><input type="checkbox" name="no_connect" value="on" {$no_connect} /> {'Sv_no_connect'|translate}</td> |
---|
| 29 | <td><input type="checkbox" name="set_auto" value="on" {$set_auto} /> {'Sv_set_auto'|translate}</td> |
---|
| 30 | <td><input type="checkbox" name="set_id" value="on" {$set_id} /> {'Sv_set_id'|translate}</td> |
---|
[4220] | 31 | <tr><p></p><td> |
---|
[4879] | 32 | <input class="submit" type="submit" name="submit" value="{'Sv_Valider'|translate}" /></td></tr> |
---|
[4156] | 33 | </table> |
---|
| 34 | </fieldset> |
---|
[4715] | 35 | <input name="info1" type="hidden" /> |
---|
[4132] | 36 | <fieldset > |
---|
[4879] | 37 | <legend>{'Sv_black_liste'|translate}</legend> |
---|
[4156] | 38 | <table> |
---|
[4361] | 39 | <div > |
---|
[4721] | 40 | <input name="ip_black" id = "ip_black_test" type="text" value="{$ip_black}" /> |
---|
[4879] | 41 | <input class="cluetip" title="{'Sv_Test'|translate}|{'Sv_hlp_7_3'|translate}" type="submit" name="submit" value="{'Sv_Test'|translate}" /> |
---|
[4337] | 42 | |
---|
| 43 | { if $ip_black_len > 0} |
---|
| 44 | |
---|
| 45 | {if $IS_SPAM == true } |
---|
[4879] | 46 | <label class="erreur"> {'Sv_is_a_spam'|@translate} </label> |
---|
[4156] | 47 | { else } |
---|
[4879] | 48 | <label class="erreur"> {'Sv_not_a_spam'|@translate} </label> |
---|
[4156] | 49 | {/if} |
---|
[4337] | 50 | { if $istype == 'IP'} |
---|
[4361] | 51 | |
---|
[4879] | 52 | <input class="cluetip" title="{'Sv_Ajout'|translate}|{'Sv_hlp_7_4'|translate}" type="submit" name="submit" value="{'Sv_Ajout'|translate}" /> |
---|
[4361] | 53 | |
---|
[4220] | 54 | <input type="image" name="submit" class='row1' |
---|
| 55 | src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plug_activate.png" |
---|
[4879] | 56 | alt="{'Sv_Ajout'|@translate}" |
---|
[4220] | 57 | onclick = " |
---|
[4879] | 58 | if (confirm( document.getElementById('btn_ajout{$ip_black}').title + '\n\n' + '{'Sv_Are you sure?'|@translate|@escape:'javascript'}')) |
---|
[4220] | 59 | form_black.info1.value='ajout:{$ip_black}' |
---|
| 60 | " |
---|
| 61 | id="btn_ajout{$ip_black}" |
---|
[4879] | 62 | title="{'Sv_Ajout'|@translate} {$ip_black}" /> |
---|
[4337] | 63 | {/if} |
---|
| 64 | { else } |
---|
[4879] | 65 | |
---|
[4180] | 66 | {/if} |
---|
| 67 | |
---|
| 68 | |
---|
[4220] | 69 | |
---|
| 70 | |
---|
| 71 | |
---|
[4156] | 72 | </div> |
---|
[4337] | 73 | <a href="http://www.stopforumspam.com" > <img src="{$img_logo}" width="32"/> http://www.stopforumspam.com |
---|
| 74 | </a> |
---|
[4136] | 75 | </table> |
---|
| 76 | |
---|
[4156] | 77 | <table class="table2" > |
---|
| 78 | {if not empty($liste_bl)} |
---|
| 79 | <tr class="throw"> |
---|
| 80 | <th>{$champs_bl[1]|@translate}</th> |
---|
| 81 | <th>{$champs_bl[7]|@translate}</th> |
---|
[4879] | 82 | <th>{'Sv_blackliste'|@translate}</th> |
---|
[4156] | 83 | </tr> |
---|
| 84 | {foreach from=$liste_bl item=group name=group_loop} |
---|
| 85 | <tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}"> |
---|
| 86 | <td>{$group.ip}</td> |
---|
[4721] | 87 | |
---|
[4156] | 88 | <td>{$group.nb}</td> |
---|
| 89 | <td style="text-align:center;"> |
---|
| 90 | <input type="image" class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}" |
---|
| 91 | src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" |
---|
[4879] | 92 | alt="{'Sv_delete'|@translate}" |
---|
[4156] | 93 | onclick = " |
---|
[4879] | 94 | if (confirm( document.getElementById('btn_delete{$group.ip}').title + '\n\n' + '{'Sv_Are you sure?'|@translate|@escape:'javascript'}')) |
---|
[4132] | 95 | form_black.info1.value='raz:{$group.ip}' |
---|
[4136] | 96 | " |
---|
[4156] | 97 | id="btn_delete{$group.ip}" |
---|
[4879] | 98 | title="{'Sv_delete'|@translate} {$group.ip}" /> |
---|
[4136] | 99 | </td> |
---|
[4156] | 100 | </tr> |
---|
[4136] | 101 | {/foreach} |
---|
[4156] | 102 | <tr></tr> |
---|
| 103 | <tr></tr> |
---|
[4879] | 104 | <td> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" />{'Sv_unset_black_list'|@translate}</td> |
---|
| 105 | <td> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plug_activate.png" />{'Sv_set_black_list'|@translate}</td> |
---|
[4156] | 106 | |
---|
[4132] | 107 | {/if} |
---|
[4156] | 108 | </table> |
---|
| 109 | </fieldset> |
---|
| 110 | |
---|
[4132] | 111 | <fieldset > |
---|
[4879] | 112 | <legend>{'Sv_liste_ip'|translate}</legend> |
---|
[4156] | 113 | <p class="Style1"> |
---|
[4879] | 114 | {'Sv_iP_adress'|translate} : {$IP} |
---|
[4220] | 115 | </p> |
---|
[4938] | 116 | <table class="table"> |
---|
[6874] | 117 | <td>{'Number of rows per page'|translate}</td> |
---|
[4938] | 118 | <td><input type="text" name="per_page" value="{$per_page}" size=5 /></td> |
---|
| 119 | {if $start >0} |
---|
| 120 | <td><input class="submit" type="submit" name="prev" value= "{'previous_page'|translate}" /></td> |
---|
| 121 | { /if} |
---|
| 122 | <td>{'page'|translate}</td> |
---|
| 123 | <td><input type="text" name="start" value="{$start}" size=5 /></td> |
---|
| 124 | <td>/ {$maxipage} </td> |
---|
| 125 | |
---|
| 126 | |
---|
| 127 | {if $start < $maxipage } |
---|
[6874] | 128 | <td><input class="submit" type="submit" name="next" value= "{'Next'|translate}" /></td> |
---|
[4938] | 129 | { /if} |
---|
| 130 | <td> |
---|
| 131 | <input class="submit" type="submit" name="info" value="{'Sv_list'|translate}" /> |
---|
| 132 | </td> |
---|
| 133 | </table> |
---|
| 134 | |
---|
| 135 | |
---|
[4132] | 136 | <table class="table2"> |
---|
| 137 | |
---|
| 138 | <tr class="throw"> |
---|
| 139 | |
---|
[4938] | 140 | <th>{$champs_ip[0]|@translate}</th> |
---|
[4132] | 141 | <th>{$champs_ip[1]|@translate}</th> |
---|
| 142 | <th>{$champs_ip[2]|@translate}</th> |
---|
| 143 | <th>{$champs_ip[3]|@translate}</th> |
---|
| 144 | <th>{$champs_ip[4]|@translate}</th> |
---|
| 145 | <th>{$champs_ip[5]|@translate}</th> |
---|
| 146 | |
---|
[4879] | 147 | <th>{'Sv_blackliste'|@translate}</th> |
---|
[4132] | 148 | </tr> |
---|
| 149 | {if not empty($liste_ip)} |
---|
| 150 | |
---|
| 151 | {foreach from=$liste_ip item=group name=group_loop} |
---|
| 152 | |
---|
| 153 | <tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}"> |
---|
[4938] | 154 | <td>{$group.id}</td> |
---|
[4132] | 155 | <td>{$group.date}</td> |
---|
| 156 | <td>{$group.time}</td> |
---|
| 157 | <td>{$group.user_id}</td> |
---|
| 158 | <td>{$group.IP}</td> |
---|
[4180] | 159 | <td>{$group.total}</td> |
---|
| 160 | <td style="text-align:center;"> |
---|
[4132] | 161 | <input type="image" |
---|
| 162 | class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}" |
---|
| 163 | src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plug_activate.png" |
---|
| 164 | onclick = " |
---|
[4879] | 165 | if (confirm( document.getElementById('btn_permissions{$group.IP}').title + '\n\n' + '{'Sv_Are you sure?'|@translate|@escape:'javascript'}')) |
---|
[4132] | 166 | form_black.info1.value='ajout:{$group.IP}' |
---|
[4136] | 167 | " |
---|
[4132] | 168 | id="btn_permissions{$group.IP}" |
---|
[4879] | 169 | title="{'Sv_blacklist'|@translate} {$group.IP}" |
---|
| 170 | alt="{'Sv_blacklist'|@translate} {$group.IP}" /> |
---|
[4180] | 171 | </td> |
---|
| 172 | |
---|
| 173 | <td style="text-align:center;"> |
---|
[4132] | 174 | |
---|
| 175 | </td> |
---|
| 176 | </tr> |
---|
| 177 | {/foreach} |
---|
| 178 | {/if} |
---|
[6874] | 179 | <td> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plug_activate.png" /> {'Sv_set_black_list'|@translate}</td> |
---|
[4136] | 180 | </table> |
---|
[4132] | 181 | </fieldset> |
---|
[4939] | 182 | </form> |
---|