diff --git a/mod/admin.php b/mod/admin.php index 1bcbb45e7..fcd67aa9e 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -441,6 +441,7 @@ function admin_page_contactblock(App $a) '$baseurl' => System::baseUrl(true), '$contacts' => $contacts, + '$total_contacts' => tt('%s total blocked contact', '%s total blocked contacts', $total), '$paginate' => paginate($a), '$contacturl' => ['contact_url', t("Profile URL"), '', t("URL of the remote contact to block.")], )); diff --git a/view/templates/admin/contactblock.tpl b/view/templates/admin/contactblock.tpl index dcd33e879..152550f01 100644 --- a/view/templates/admin/contactblock.tpl +++ b/view/templates/admin/contactblock.tpl @@ -1,4 +1,3 @@ - +
{{$description}}
@@ -20,7 +10,7 @@+ | {{foreach $th_contacts as $th}} | {{$th}} @@ -39,10 +29,17 @@ | |
---|---|---|---|
+ | + {{$total_contacts}} + | +
{{$select_all}} | {{$select_none}}
+ {{$paginate}} - {{else}}{{$no_data|escape:'html'}}
{{/if}} @@ -58,6 +55,6 @@ - +