| 1 |
<?php if (!$response['body']['status']): ?> |
| 2 |
<b>ユーザーコードを� |
| 3 |
�力してください</b> |
| 4 |
<?php endif ?> |
| 5 |
<div> |
| 6 |
<table class="wp-list-table"> |
| 7 |
<tr> |
| 8 |
<td>ユーザーコード</td> |
| 9 |
<td> |
| 10 |
<input id="codoc-usercode" value="<?php echo esc_html($usercode) ?>" placeholder="ここにコピーして貼付け" type="text"> |
| 11 |
【<a href="<?php echo CODOC_URL . "/me/account" ?>" target="_blank">確認↗</a>】 |
| 12 |
</td> |
| 13 |
</tr> |
| 14 |
<tr> |
| 15 |
<td>記事コード</td> |
| 16 |
<td><input id="codoc-entrycode" value="<?php echo esc_html($entrycode) ?>" type="text"><button class="submit-codoc-form">一覧を再取得</button></td> |
| 17 |
<td> |
| 18 |
【<a href="<?php echo CODOC_URL . "/me/account" ?>" target="_blank">記事を作成↗</a>】 |
| 19 |
</td> |
| 20 |
</tr> |
| 21 |
</table> |
| 22 |
|
| 23 |
|
| 24 |
</div> |
| 25 |
<table class="wp-list-table widefat fixed striped"> |
| 26 |
<!-- <table class="widefat fixed striped"> --> |
| 27 |
<thead> |
| 28 |
<tr> |
| 29 |
<th scope="col">タイトル</th> |
| 30 |
<th scope="col">記事コード</th> |
| 31 |
<th scope="col">shortcode</th> |
| 32 |
</tr> |
| 33 |
</thead> |
| 34 |
<tbody> |
| 35 |
<?php foreach($entries as $entry): ?> |
| 36 |
<tr> |
| 37 |
<td><?php echo esc_html($entry['title']) ?></td> |
| 38 |
<td><?php echo esc_html($entry['code']) ?></td> |
| 39 |
<td><a href="#entry" class="return_codoc_shortcode" data-id="<?php echo esc_html($entry['code']) ?>">張り付け</a></td> |
| 40 |
</tr> |
| 41 |
<?php endforeach ?> |
| 42 |
</tbody> |
| 43 |
</table> |
| 44 |
|