2017-12-01 05:40:55 +00:00
|
|
|
<script>
|
|
|
|
function confirm_delete(uname){
|
|
|
|
return confirm("{{$confirm_delete}}".format(uname));
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<div id="adminpage">
|
2019-07-27 01:16:15 +00:00
|
|
|
<h1>{{$title}} - {{$page}}</h1>
|
2017-12-01 05:40:55 +00:00
|
|
|
<p>{{$intro}}</p>
|
2019-07-26 02:37:30 +00:00
|
|
|
<p>{{$public nofilter}}</p>
|
|
|
|
{{$syntax nofilter}}
|
2017-12-01 05:40:55 +00:00
|
|
|
|
2019-07-27 01:16:15 +00:00
|
|
|
<h2>{{$addtitle}}</h2>
|
2019-04-22 01:40:05 +00:00
|
|
|
<form action="{{$baseurl}}/admin/blocklist/server" method="post">
|
2017-12-01 05:40:55 +00:00
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
|
|
|
{{include file="field_input.tpl" field=$newdomain}}
|
|
|
|
{{include file="field_input.tpl" field=$newreason}}
|
2019-07-26 02:37:30 +00:00
|
|
|
<div class="submit">
|
|
|
|
<button type="submit" class="btn btn-primary" name="page_blocklist_save" value="{{$submit}}">{{$submit}}</button>
|
|
|
|
</div>
|
2017-12-01 05:40:55 +00:00
|
|
|
</form>
|
|
|
|
|
|
|
|
{{if $entries}}
|
2019-07-27 01:16:15 +00:00
|
|
|
<h2>{{$currenttitle}}</h2>
|
2017-12-01 05:40:55 +00:00
|
|
|
<p>{{$currentintro}}</p>
|
2019-04-22 01:40:05 +00:00
|
|
|
<form action="{{$baseurl}}/admin/blocklist/server" method="post">
|
2017-12-01 05:40:55 +00:00
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
|
|
|
{{foreach $entries as $e}}
|
|
|
|
{{include file="field_input.tpl" field=$e.domain}}
|
|
|
|
{{include file="field_input.tpl" field=$e.reason}}
|
|
|
|
{{include file="field_checkbox.tpl" field=$e.delete}}
|
|
|
|
{{/foreach}}
|
2019-07-26 02:37:30 +00:00
|
|
|
<div class="submit">
|
|
|
|
<button type="submit" class="btn btn-primary" name="page_blocklist_edit" value="{{$savechanges}}">{{$savechanges}}</button>
|
|
|
|
</div>
|
2017-12-01 05:40:55 +00:00
|
|
|
{{/if}}
|
|
|
|
</form>
|
|
|
|
</div>
|