<script>
// update pending count //
$(function(){
-
$("nav").bind('nav-update', function(e,data){
var elm = $('#pending-update');
var register = $(data).find('register').html();
<h4>{{$page.0}}</h4>
<ul class="admin linklist" role="menu">
{{foreach $page.1 as $item}}
- <li class='admin link button {{$item.2}}' role="menuitem"><a href='{{$item.0}}'>{{$item.1}}</a></li>
+ <li class="admin link button {{$item.2}}" role="menuitem"><a href="{{$item.0}}">{{$item.1}}</a></li>
{{/foreach}}
</ul>
{{/foreach}}
<div id="adminpage">
<h1>{{$title}} - {{$page}}</h1>
<p>{{$description nofilter}}</p>
- <form action="{{$baseurl}}/admin/blocklist/contact" method="post">
+ <form action="{{$baseurl}}/moderation/blocklist/contact" method="post">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
<h3>{{$h_contacts}}</h3>
</form>
<h3>{{$h_newblock}}</h3>
- <form action="{{$baseurl}}/admin/blocklist/contact" method="post">
+ <form action="{{$baseurl}}/moderation/blocklist/contact" method="post">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
<table id="contactblock">
<tbody>
<div class="submit"><input type="submit" name="page_contactblock_block" value="{{$submit}}" /></div>
</form>
</div>
-
<div id="adminpage">
- <p><a href="{{$baseurl}}/admin/blocklist/server">{{$l10n.return_list}}</a></p>
+ <p><a href="{{$baseurl}}/moderation/blocklist/server">{{$l10n.return_list}}</a></p>
<h1>{{$l10n.title}} - {{$l10n.page}}</h1>
{{$l10n.syntax nofilter}}
- <form action="{{$baseurl}}/admin/blocklist/server/add" method="get">
+ <form action="{{$baseurl}}/moderation/blocklist/server/add" method="get">
{{include file="field_input.tpl" field=$newdomain}}
<div class="submit">
<button type="submit" class="btn btn-primary">{{$l10n.submit}}</button>
</form>
{{if $pattern}}
<h2>{{$l10n.matching_servers}}</h2>
- <form action="{{$baseurl}}/admin/blocklist/server/add" method="post">
+ <form action="{{$baseurl}}/moderation/blocklist/server/add" method="post">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
<input type="hidden" name="pattern" value="{{$pattern}}">
<table class="table table-condensed table-striped table-bordered">
<div id="adminpage">
- <p><a href="{{$baseurl}}/admin/blocklist/server">{{$l10n.return_list}}</a></p>
+ <p><a href="{{$baseurl}}/moderation/blocklist/server">{{$l10n.return_list}}</a></p>
<h1>{{$l10n.title}} - {{$l10n.page}}</h1>
{{if !$blocklist}}
{{$l10n.download nofilter}}
- <form action="{{$baseurl}}/admin/blocklist/server/import" method="post" enctype="multipart/form-data">
+ <form action="{{$baseurl}}/moderation/blocklist/server/import" method="post" enctype="multipart/form-data">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
{{include file="field_input.tpl" field=$listfile}}
<div class="submit">
</form>
{{else}}
<h2>{{$l10n.patterns}}</h2>
- <form action="{{$baseurl}}/admin/blocklist/server/import" method="post">
+ <form action="{{$baseurl}}/moderation/blocklist/server/import" method="post">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
<input type="hidden" name="blocklist" value="{{$blocklist|json_encode}}">
<table class="table table-condensed table-striped table-bordered">
<h2>{{$l10n.importtitle}}</h2>
{{$l10n.download nofilter}}
- <form action="{{$baseurl}}/admin/blocklist/server/import" method="post" enctype="multipart/form-data">
+ <form action="{{$baseurl}}/moderation/blocklist/server/import" method="post" enctype="multipart/form-data">
<input type="hidden" name="form_security_token" value="{{$form_security_token_import}}">
{{include file="field_input.tpl" field=$listfile}}
<div class="submit">
<h2>{{$l10n.addtitle}}</h2>
{{$l10n.syntax nofilter}}
- <form action="{{$baseurl}}/admin/blocklist/server/add" method="get">
+ <form action="{{$baseurl}}/moderation/blocklist/server/add" method="get">
{{include file="field_input.tpl" field=$newdomain}}
<div class="submit">
<button type="submit" class="btn btn-primary">{{$l10n.addsubmit}}</button>
{{if $entries}}
<h2>{{$l10n.currenttitle}}</h2>
- <form action="{{$baseurl}}/admin/blocklist/server" method="post">
+ <form action="{{$baseurl}}/moderation/blocklist/server" method="post">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
{{foreach $entries as $e}}
{{include file="field_input.tpl" field=$e.domain}}
<p>{{$intro1}}</p>
<p>{{$intro2}}</p>
- <form action="{{$baseurl}}/admin/item/delete" method="post">
+ <form action="{{$baseurl}}/moderation/item/delete" method="post">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
{{include file="field_input.tpl" field=$deleteitemguid}}
<div class="submit"><input type="submit" name="page_deleteitem_submit" value="{{$submit}}" /></div>
-<div id='adminpage'>
+<div id="adminpage">
<h1>{{$title}} - {{$page}}</h1>
<dl>
</div>
<div id="admin-settings-contactblock-block-collapse" class="panel-body panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-contactblock-block">
- <form action="{{$baseurl}}/admin/blocklist/contact" method="post">
+ <form action="{{$baseurl}}/moderation/blocklist/contact" method="post">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
{{include file="field_input.tpl" field=$contacturl}}
</div>
<div id="admin-settings-contactblock-blocked-collapse" class="panel-body panel-collapse collapse {{if count($contacts) > 0}}in{{/if}}" role="tabpanel" aria-labelledby="admin-settings-contactblock-blocked">
- <form action="{{$baseurl}}/admin/blocklist/contact" method="post">
+ <form action="{{$baseurl}}/moderation/blocklist/contact" method="post">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
{{if $contacts}}