PluginProbe
Social Media Auto Poster – Schedule & Publish to Buffer / 6.0.3
Social Media Auto Poster – Schedule & Publish to Buffer v6.0.3
6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.1.2 6.1.1 6.1.0 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 All 125 releases
wp-to-buffer / lib / views / settings-auth-required.php

settings-auth-required.php in Social Media Auto Poster – Schedule & Publish to Buffer 6.0.3, at lib/views/settings-auth-required.php

81 lines 2.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Outputs a screen with a button/link/form to authenticate the Plugin
4 * with the third party API service.
5 *
6 * @package WP_To_Social_Pro
7 * @author WP Zinc
8 */
9
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit; // Exit if accessed directly.
12 }
13 ?>
14 <header>
15 <h1>
16 <?php echo esc_html( $this->base->plugin->displayName ); ?>
17
18 <span>
19 <?php esc_html_e( 'Settings', 'wp-to-buffer' ); ?>
20 </span>
21 </h1>
22 </header>
23
24 <div class="wrap">
25 <div class="wrap-inner">
26 <!-- Notices -->
27 <hr class="wp-header-end" />
28
29 <div id="poststuff">
30 <div id="post-body" class="metabox-holder columns-1">
31 <div id="post-body-content">
32 <div id="normal-sortables" class="meta-box-sortables ui-sortable">
33 <div class="postbox">
34 <div class="wpzinc-option">
35 <p class="description">
36 <?php
37 echo esc_html(
38 sprintf(
39 /* translators: %1$s: Social Media Service Name (Buffer, Hootsuite), %2$s: Social Media Service Name (Buffer, Hootsuite) */
40 __( 'To allow this Plugin to post updates to your social media profiles using %1$s, please authorize %2$s below.', 'wp-to-buffer' ),
41 $this->base->plugin->account,
42 $this->base->plugin->account
43 )
44 );
45 ?>
46 </p>
47 <p class="description">
48 <?php
49 echo esc_html(
50 sprintf(
51 /* translators: %1$s: Social Media Service Name (Buffer, Hootsuite) */
52 __( 'Don\'t have a %1$s account?', 'wp-to-buffer' ),
53 $this->base->plugin->account
54 )
55 );
56 ?>
57 <a href="<?php echo esc_attr( $this->base->get_class( 'api' )->get_registration_url() ); ?>" target="_blank" rel="nofollow noopener">
58 <?php esc_html_e( 'Sign up for free', 'wp-to-buffer' ); ?>
59 </a>
60 </p>
61 </div>
62
63 <?php
64 /**
65 * Allow the API to output its authentication button link or form, to authenticate
66 * with the API.
67 *
68 * @since 4.2.0
69 *
70 * @param array $schedule Schedule Options
71 */
72 do_action( $this->base->plugin->filter_name . '_output_auth' );
73 ?>
74 </div>
75 </div>
76 </div>
77 </div>
78 </div>
79 </div>
80 </div>
81