wordpress-activitypub/templates/followers-list.php

16 lines
511 B
PHP
Raw Normal View History

2019-08-21 10:38:43 +02:00
<div class="wrap">
2019-09-27 11:36:52 +02:00
<h1><?php \esc_html_e( 'Followers (Fediverse)', 'activitypub' ); ?></h1>
2019-08-21 10:38:43 +02:00
2019-11-18 20:57:00 +01:00
<p><?php \printf( \__( 'You currently have %s followers.', 'activitypub' ), \esc_attr( \Activitypub\Peer\Followers::count_followers( \get_current_user_id() ) ) ); ?></p>
2019-08-21 10:38:43 +02:00
<?php $token_table = new \Activitypub\Table\Followers_List(); ?>
<form method="get">
<input type="hidden" name="page" value="indieauth_user_token" />
<?php
$token_table->prepare_items();
$token_table->display();
?>
</form>
</div>