PluginProbe
codoc / 0.7
codoc v0.7
0.9.8.8 0.9.8.9 0.9.9 0.9.9.1 trunk 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.8.1 0.8.2 0.8.3 0.8.4 0.8.6 0.8.7 0.8.8 0.8.9 0.9 0.9.1 0.9.10 0.9.11 All 114 releases
codoc / views / codoc-shortcodes-list.php

codoc-shortcodes-list.php in codoc 0.7, at views/codoc-shortcodes-list.php

44 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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