| 1 |
<?php |
| 2 |
|
| 3 |
defined( 'ABSPATH' ) or die(); |
| 4 |
|
| 5 |
/** @var \Gianism\UI\SettingScreen $this */ |
| 6 |
/** @var \Gianism\Service\Line $instance */ |
| 7 |
|
| 8 |
?> |
| 9 |
|
| 10 |
<h3>LINE</h3> |
| 11 |
|
| 12 |
<h4>Step1. <?php esc_html_e( 'Create new channel', 'wp-gianism' ); ?></h4> |
| 13 |
|
| 14 |
<p><?php esc_html_e( 'If you don\'t have LINE account, create new one.', 'wp-gianism' ); ?></p> |
| 15 |
<p><?php _e( 'Go to <a href="https://developers.line.me/">LINE developer</a> and click <code>Start LINE login</code>.', 'wp-gianism' ); ?></p> |
| 16 |
<p><?php esc_html_e( 'Then register new client. Enter required information.', 'wp-gianism' ); ?></p> |
| 17 |
|
| 18 |
<table class="gianism-example-table"> |
| 19 |
<tr> |
| 20 |
<th><?php esc_html_e( 'Provider Name', 'wp-gianism' ); ?></th> |
| 21 |
<td> |
| 22 |
<?php |
| 23 |
// translators: %s is site name. |
| 24 |
printf( __( 'Your service or company name. e.g. <code>%s</code>', 'wp-gianism' ), esc_html( get_bloginfo( 'name' ) ) ); |
| 25 |
?> |
| 26 |
</td> |
| 27 |
</tr> |
| 28 |
<tr> |
| 29 |
<th><?php esc_html_e( 'Application Name', 'wp-gianism' ); ?></th> |
| 30 |
<td> |
| 31 |
<?php |
| 32 |
// translators: %s is site name. |
| 33 |
printf( __( 'Your application name. Site name <code>%s</code> is clear for your user.', 'wp-gianism' ), esc_html( get_bloginfo( 'name' ) ) ); |
| 34 |
?> |
| 35 |
</td> |
| 36 |
</tr> |
| 37 |
<tr> |
| 38 |
<th><?php esc_html_e( 'Redirect URI', 'wp-gianism' ); ?></th> |
| 39 |
<td> |
| 40 |
<code> |
| 41 |
<?php |
| 42 |
echo esc_html( home_url( "/{$instance->url_prefix}/", $this->option->is_ssl_required() ? 'https' : 'http' ) ); |
| 43 |
?> |
| 44 |
</code> |
| 45 |
</td> |
| 46 |
</tr> |
| 47 |
</table> |
| 48 |
|
| 49 |
<h4>Step2. <?php $this->e( 'Enter API Information' ); ?></h4> |
| 50 |
|
| 51 |
<p><?php printf( $this->_( 'Save credentials on <a href="%s">WordPress admin screen</a>.' ), $this->setting_url() ); ?></p> |
| 52 |
|