2 function confirm_delete(uname){
3 return confirm("{{$l10n.confirm_delete}}".format(uname));
7 <h1>{{$l10n.title}} - {{$l10n.page}}</h1>
9 <p>{{$l10n.public nofilter}}</p>
11 <h2>{{$l10n.importtitle}}</h2>
12 {{$l10n.download nofilter}}
14 <form action="{{$baseurl}}/moderation/blocklist/server/import" method="post" enctype="multipart/form-data">
15 <input type="hidden" name="form_security_token" value="{{$form_security_token_import}}">
16 {{include file="field_input.tpl" field=$listfile}}
18 <button type="submit" class="btn btn-primary" name="page_blocklist_upload">{{$l10n.importsubmit}}</button>
22 <h2>{{$l10n.addtitle}}</h2>
23 {{$l10n.syntax nofilter}}
24 <form action="{{$baseurl}}/moderation/blocklist/server/add" method="get">
25 {{include file="field_input.tpl" field=$newdomain}}
27 <button type="submit" class="btn btn-primary">{{$l10n.addsubmit}}</button>
32 <h2>{{$l10n.currenttitle}}</h2>
33 <form action="{{$baseurl}}/moderation/blocklist/server" method="post">
34 <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
35 {{foreach $entries as $e}}
36 {{include file="field_input.tpl" field=$e.domain}}
37 {{include file="field_input.tpl" field=$e.reason}}
38 {{include file="field_checkbox.tpl" field=$e.delete}}
41 <button type="submit" class="btn btn-primary" name="page_blocklist_edit" value="{{$l10n.savechanges}}">{{$l10n.savechanges}}</button>