| 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><i class="lsf lsf-line"></i> 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 printf( __( 'Your service or company name. e.g. <code>%s</code>', 'wp-gianism' ), get_bloginfo( 'name' ) ); ?> |
| 23 |
</td> |
| 24 |
</tr> |
| 25 |
<tr> |
| 26 |
<th><?php esc_html_e( 'Application Name', 'wp-gianism' ) ?></th> |
| 27 |
<td> |
| 28 |
<?php printf( __( 'Your application name. Site name <code>%s</code> is clear for your user.', 'wp-gianism' ), get_bloginfo( 'name' ) ); ?> |
| 29 |
</td> |
| 30 |
</tr> |
| 31 |
<tr> |
| 32 |
<th><?php esc_html_e( 'Redirect URI', 'wp-gianism' ) ?></th> |
| 33 |
<td> |
| 34 |
<code><?php echo esc_html( home_url( "/{$instance->url_prefix}/", $this->option->is_ssl_required() ? 'https' : 'http' ) ) ?></code> |
| 35 |
</td> |
| 36 |
</tr> |
| 37 |
</table> |
| 38 |
|
| 39 |
<h4>Step2. <?php $this->e( 'Enter API Information' ); ?></h4> |
| 40 |
|
| 41 |
<p><?php printf( $this->_( 'Save credentials on <a href="%s">WordPress admin screen</a>.' ), $this->setting_url() ); ?></p> |
| 42 |
|