wordpress-activitypub/templates/followers-list.php

18 lines
611 B
PHP
Raw Normal View History

2019-08-21 10:38:43 +02:00
<div class="wrap">
<h1><?php \esc_html_e( 'Followers', 'activitypub' ); ?></h1>
2019-08-21 10:38:43 +02:00
2022-12-02 20:44:56 +01:00
<?php // translators: ?>
<p><?php \printf( \esc_html__( 'You currently have %s followers.', 'activitypub' ), \esc_attr( \Activitypub\Collection\Followers::count_followers( \get_current_user_id() ) ) ); ?></p>
2019-08-21 10:38:43 +02:00
<?php $token_table = new \Activitypub\Table\Followers(); ?>
2019-08-21 10:38:43 +02:00
<form method="get">
2023-04-21 16:25:15 +02:00
<input type="hidden" name="page" value="activitypub-followers-list" />
2019-08-21 10:38:43 +02:00
<?php
$token_table->prepare_items();
$token_table->display();
?>
2023-04-21 16:40:46 +02:00
<?php wp_nonce_field( 'activitypub-followers-list', '_apnonce' ); ?>
2019-08-21 10:38:43 +02:00
</form>
</div>