PluginProbe
Friends / 2.9.1
Friends v2.9.1
4.3.2 4.3.1 4.3.0 4.2.2 4.2.1 4.2.0 4.1.0 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.0 2.9.1 All 88 releases
friends / templates / admin / activitypub-settings.php

activitypub-settings.php in Friends 2.9.1, at templates/admin/activitypub-settings.php

48 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * This template contains the Friends Settings.
4 *
5 * @package Friends
6 */
7
8 ?>
9 <form method="post">
10 <?php wp_nonce_field( 'friends-activitypub-settings' ); ?>
11 <table class="form-table">
12 <tbody>
13 <tr>
14 <th scope="row"><?php esc_html_e( 'Boosts', 'friends' ); ?></th>
15 <td>
16 <fieldset>
17 <label for="activitypub_reblog">
18 <input name="activitypub_reblog" type="checkbox" id="activitypub_reblog" value="1" <?php checked( $args['reblog'] ); ?> />
19 <span><?php esc_html_e( 'When you boost a status, also reblog it.', 'friends' ); ?></span>
20 </label>
21 </fieldset>
22 <p class="description"><?php esc_html_e( 'If unchecked, the boosting will only happen via ActivityPub.', 'friends' ); ?></p>
23 </td>
24 </tr>
25 </tbody>
26 </table>
27
28 <p class="submit">
29 <input type="submit" id="submit" class="button button-primary" value="<?php /* phpcs:ignore WordPress.WP.I18n.MissingArgDomain */ esc_html_e( 'Save Changes' ); ?>">
30 </p>
31
32 <p class="description">
33 <?php
34 echo wp_kses(
35 sprintf(
36 // translators: %s is the URL of the Friends admin menu.
37 __( 'Find further settings around ActivityPub in the <a href=%s>ActivityPub plugin settings</a>.', 'friends' ),
38 '"' . admin_url( 'options-general.php?page=activitypub&tab=settings' ) . '"'
39 ),
40 array(
41 'a' => array( 'href' => array() ),
42 )
43 );
44 ?>
45 </p>
46 </form>
47 <?php
48