| 1 |
<?php |
| 2 |
/** |
| 3 |
* This template contains the Friends Welcome Page. |
| 4 |
* |
| 5 |
* @package Friends |
| 6 |
*/ |
| 7 |
|
| 8 |
?> |
| 9 |
|
| 10 |
<h1><?php esc_html_e( 'Welcome to the Friends Plugin!', 'friends' ); ?></h1> |
| 11 |
<p> |
| 12 |
<?php esc_html_e( 'With this plugin you can make your WordPress the center of your online activity.', 'friends' ); ?> |
| 13 |
</p> |
| 14 |
<p> |
| 15 |
<span><?php esc_html_e( 'By building up your network based on your own website, you can stay independent of external social networks.', 'friends' ); ?></span> |
| 16 |
<span><?php esc_html_e( 'This is how it works:', 'friends' ); ?></span> |
| 17 |
</p> |
| 18 |
<ul> |
| 19 |
<li> |
| 20 |
<?php |
| 21 |
// translators: %s is the URL of the user's friends page. |
| 22 |
echo wp_kses( sprintf( __( "Your <a href=%s>Friends page</a> is the place where you'll find the latest posts, messages, videos, etc. from your network.", 'friends' ), '"' . home_url( '/friends/' ) . '"' ), array( 'a' => array( 'href' => array() ) ) ); |
| 23 |
?> |
| 24 |
</li> |
| 25 |
<li> |
| 26 |
<?php |
| 27 |
// translators: %s is the URL of the user's friends page. |
| 28 |
echo wp_kses( sprintf( __( 'You can extend your network by <a href=%1$s>subscribing to web sites</a>, <a href=%1$s>sending friend requests</a> or <a href=%2$s>responding to received friend requests</a>.', 'friends' ), '"' . admin_url( 'admin.php?page=add-friend' ) . '"', '"' . admin_url( 'users.php?role=friend_request' ) . '"' ), array( 'a' => array( 'href' => array() ) ) ); |
| 29 |
?> |
| 30 |
</li> |
| 31 |
<li> |
| 32 |
<span><?php esc_html_e( 'A lot of the functionality you might know from other networks is provided by this plugin, just without outside dependencies.', 'friends' ); ?></span> |
| 33 |
<span> |
| 34 |
<?php |
| 35 |
// translators: %s is the URL of the user's friends page. |
| 36 |
echo wp_kses( sprintf( __( 'For example, when you take certain actions like subcribe to a new site, <a href=%1$s>automatic status posts</a> will be created but you decide when and if you want to publish them.', 'friends' ), '"' . admin_url( 'admin.php?page=automatic-status' ) . '"' ), array( 'a' => array( 'href' => array() ) ) ); |
| 37 |
?> |
| 38 |
</span> |
| 39 |
</li> |
| 40 |
<li> |
| 41 |
<span> |
| 42 |
<?php |
| 43 |
// translators: %s is the URL of the user's friends page. |
| 44 |
echo wp_kses( sprintf( __( 'You can <a href=%s>install more plugins</a> that extend the Friends plugin with further functionality.', 'friends' ), '"' . admin_url( 'admin.php?page=friends-plugins' ) . '"' ), array( 'a' => array( 'href' => array() ) ) ); |
| 45 |
?> |
| 46 |
</span> |
| 47 |
<?php if ( ! isset( $args['plugin-list'] ) || $args['plugin-list'] ) : ?> |
| 48 |
<ul> |
| 49 |
<li><a href="<?php echo \esc_url_raw( \admin_url( 'plugin-install.php?tab=plugin-information&plugin=activitypub&TB_iframe=true' ) ); ?>" class="thickbox open-plugin-details-modal install-now" target="_blank"><?php \esc_html_e( 'ActivityPub Plugin', 'friends' ); ?></a>: <span><?php esc_html_e( 'Be part of the Fediverse!', 'friends' ); ?></span> <span><?php esc_html_e( 'People can follow your blog via ActivityPub (e.g. Mastodon) and you can follow people there.', 'friends' ); ?></span> </li> |
| 50 |
<li><a href="<?php echo \esc_url_raw( \admin_url( 'plugin-install.php?tab=plugin-information&plugin=enable-mastodon-apps&TB_iframe=true' ) ); ?>" class="thickbox open-plugin-details-modal install-now" target="_blank"><?php \esc_html_e( 'Enable Mastodon Apps Plugin', 'friends' ); ?></a>: <span><?php esc_html_e( 'Enjoy the comfort of Mastodon apps!', 'friends' ); ?></span> <span><?php esc_html_e( 'With this plugin you can use your favorite Mastodon app like Tusky, Ivory, or others to stay up to date and publish new status posts.', 'friends' ); ?></span> </li> |
| 51 |
<li><a href="<?php echo \esc_url_raw( \admin_url( 'admin.php?page=friends-plugins' ) ); ?>"><?php \esc_html_e( 'Post Collection Plugin', 'friends' ); ?></a>: <span><?php esc_html_e( 'Collect posts from around the web and create feeds.', 'friends' ); ?></span> </li> |
| 52 |
<li><a href="<?php echo \esc_url_raw( \admin_url( 'admin.php?page=friends-plugins' ) ); ?>"><?php \esc_html_e( 'Send to E-Reader Plugin', 'friends' ); ?></a>: <span><?php esc_html_e( 'Send new articles directly to your e-reader via e-mail or download the ePub.', 'friends' ); ?></span> </li> |
| 53 |
</ul> |
| 54 |
<?php endif; ?> |
| 55 |
</li> |
| 56 |
</ul> |
| 57 |
|