Pz-LinkCard - Version 2.2.9

Version Description

Download this release

Release Info

Developer poporon
Plugin Icon 128x128 Pz-LinkCard
Version 2.2.9
Comparing to
See all releases

Code changes from version 2.2.8 to 2.2.9

css/admin.css CHANGED
@@ -34,3 +34,43 @@
34
  text-align: center;
35
  padding: 10px;
36
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  text-align: center;
35
  padding: 10px;
36
  }
37
+
38
+
39
+ .pz-lkc-tabs {
40
+ position: relative;
41
+ }
42
+ .pz-lkc-tabs:after {
43
+ position: absolute;
44
+ content: "";
45
+ width: 100%;
46
+ bottom: 0;
47
+ left: 0;
48
+ border-bottom: 2px solid #000;
49
+ z-index: 1;
50
+ }
51
+ .pz-lkc-tab {
52
+ position: relative;
53
+ z-index: 1;
54
+ display: inline-block;
55
+ padding: 4px;
56
+ text-decoration: none;
57
+ border-width: 2px 2px 0 2px;
58
+ border-style: solid;
59
+ border-color: #000;
60
+ background-color: #bbb;
61
+ color: #000;
62
+ border-radius: 8px 8px 0 0;
63
+ }
64
+ .pz-lkc-item {
65
+ display: none;
66
+ padding: 8px;
67
+ }
68
+ .pz-lkc-item-active {
69
+ display: block;
70
+ }
71
+ .pz-lkc-tab-active {
72
+ background-color: #eee;
73
+ color: #000;
74
+ z-index: 2;
75
+ border-bottom-color: #00f;
76
+ }
img/help.png ADDED
Binary file
js/admin.js ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ $(function() {
2
+ $('.pz-lkc-tab').on('click', function() {
3
+ $('.pz-lkc-item').removeClass("pz-lkc-item-active");
4
+ $($(this).attr("href")).addClass("pz-lkc-item-active");
5
+ $('.pz-lkc-tab').removeClass('pz-lkc-tab-active');
6
+ $(this).addClass('pz-lkc-tab-active');
7
+ return false;
8
+ });
9
+ });
languages/pz-linkcard-ja.mo CHANGED
Binary file
languages/pz-linkcard-ja.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Pz-LinkCard\n"
6
  "Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
7
- "POT-Creation-Date: 2019-08-18 16:11+0900\n"
8
- "PO-Revision-Date: 2019-08-18 16:14+0900\n"
9
  "Last-Translator: \n"
10
  "Language-Team: poporon\n"
11
  "Language: ja_JP\n"
@@ -19,79 +19,86 @@ msgstr ""
19
  "Plural-Forms: nplurals=1; plural=0;\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
 
22
- #: ../pz-linkcard.php:353
23
  msgid "Incorrect URL specification."
24
  msgstr ""
25
 
26
- #: ../pz-linkcard.php:1250
27
  msgid "Category"
28
  msgstr "カテゴリー"
29
 
30
- #: ../pz-linkcard.php:1250 ../pz-linkcard.php:1263
31
  msgid "‘"
32
  msgstr "「"
33
 
34
- #: ../pz-linkcard.php:1250 ../pz-linkcard.php:1263
35
  msgid "’"
36
  msgstr "」"
37
 
38
- #: ../pz-linkcard.php:1251 ../pz-linkcard.php:1264
 
39
  msgid "("
40
  msgstr "("
41
 
42
- #: ../pz-linkcard.php:1251 ../pz-linkcard.php:1264
43
  msgid "Count"
44
  msgstr "件数"
45
 
46
- #: ../pz-linkcard.php:1251 ../pz-linkcard.php:1264
 
47
  msgid ")"
48
  msgstr ")"
49
 
50
- #: ../pz-linkcard.php:1263
51
  msgid "Tag"
52
  msgstr "タグ"
53
 
54
- #: ../pz-linkcard.php:1659
55
  msgid "Linkcard"
56
  msgstr "リンクカード"
57
 
58
- #: ../pz-linkcard.php:1659
59
  msgid "Make Linkcard"
60
  msgstr "リンクカードのショートコードを挿入する"
61
 
62
- #: ../pz-linkcard.php:1668
63
  msgid "Invalid URL parameter in "
64
  msgstr "URLパラメーターの指定が無効です→"
65
 
66
- #: ../pz-linkcard.php:1668
 
 
 
 
 
67
  msgid ""
68
- "* You can cancel this message from <a href=\"./options-general.php?page=pz-"
69
  "linkcard-settings\">the setting screen</a>."
70
  msgstr ""
71
- "※このメッセージの表示は<a href=\"./options-general.php?page=pz-linkcard-"
72
  "settings\">設定画面</a>から解除できます。"
73
 
74
- #: ../pz-linkcard.php:1710
75
  msgid "Pz LkC Cache"
76
  msgstr "Pz カード管理"
77
 
78
- #: ../pz-linkcard.php:1711
79
  msgid "Pz LinkCard"
80
  msgstr "Pz カード設定"
81
 
82
- #: ../pz-linkcard.php:1719 ../lib/pz-linkcard-cacheman.php:6
83
  msgid "LinkCard cache manager"
84
  msgstr "リンクカード/DBキャッシュ管理"
85
 
86
- #: ../pz-linkcard.php:1720 ../lib/pz-linkcard-settings.php:4
87
  msgid "LinkCard Settings"
88
  msgstr "リンクカード設定"
89
 
90
- #: ../pz-linkcard.php:1803
91
  msgid "Settings"
92
  msgstr "設定"
93
 
94
- #: ../pz-linkcard.php:1803
95
  msgid "Manage"
96
  msgstr "管理"
97
 
@@ -107,7 +114,7 @@ msgstr "URLキー"
107
 
108
  #: ../lib/pz-linkcard-cacheman-edit.php:22
109
  #: ../lib/pz-linkcard-cacheman-list.php:248 ../lib/pz-linkcard-edit.php:21
110
- #: ../lib/pz-linkcard-settings.php:589
111
  msgid "URL"
112
  msgstr "URL"
113
 
@@ -122,13 +129,13 @@ msgstr "ドメイン"
122
 
123
  #: ../lib/pz-linkcard-cacheman-edit.php:34
124
  #: ../lib/pz-linkcard-cacheman-list.php:249 ../lib/pz-linkcard-edit.php:37
125
- #: ../lib/pz-linkcard-settings.php:570
126
  msgid "Title"
127
  msgstr "タイトル"
128
 
129
  #: ../lib/pz-linkcard-cacheman-edit.php:38
130
  #: ../lib/pz-linkcard-cacheman-list.php:250 ../lib/pz-linkcard-edit.php:41
131
- #: ../lib/pz-linkcard-settings.php:608
132
  msgid "Excerpt"
133
  msgstr "抜粋文"
134
 
@@ -214,11 +221,11 @@ msgstr "すべて"
214
 
215
  #: ../lib/pz-linkcard-cacheman-list.php:177
216
  msgid "Internal"
217
- msgstr "内部リンク"
218
 
219
  #: ../lib/pz-linkcard-cacheman-list.php:178
220
  msgid "External"
221
- msgstr "外部リンク"
222
 
223
  #: ../lib/pz-linkcard-cacheman-list.php:179
224
  msgid "Modify"
@@ -314,6 +321,16 @@ msgstr "削除"
314
  msgid "Export"
315
  msgstr "エクスポート"
316
 
 
 
 
 
 
 
 
 
 
 
317
  #: ../lib/pz-linkcard-cacheman.php:81
318
  msgid "Updated cache"
319
  msgstr "キャッシュを更新しました"
@@ -371,751 +388,841 @@ msgstr "挿入"
371
  msgid "Short code is not set."
372
  msgstr "ショートコードが指定されていません。"
373
 
374
- #: ../lib/pz-linkcard-settings.php:115
375
  msgid "Changes saved."
376
  msgstr "設定を保存しました。"
377
 
378
- #: ../lib/pz-linkcard-settings.php:117
379
  msgid "Not changed."
380
  msgstr "設定は変更されませんでした。"
381
 
382
- #: ../lib/pz-linkcard-settings.php:127
383
  msgid "Error"
384
- msgstr "エラー表示"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385
 
386
- #: ../lib/pz-linkcard-settings.php:130
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
387
  msgid "Invalid URL"
388
  msgstr "URL指定エラー"
389
 
390
- #: ../lib/pz-linkcard-settings.php:131
391
  msgid "Uncheck to cancel the error condition."
392
  msgstr "チェックを外すとエラー状態を解除します。"
393
 
394
- #: ../lib/pz-linkcard-settings.php:134
395
  msgid "Error URL"
396
  msgstr "URL指定エラー"
397
 
398
- #: ../lib/pz-linkcard-settings.php:138
399
  msgid "Error Time"
400
  msgstr "エラー発生時刻"
401
 
402
- #: ../lib/pz-linkcard-settings.php:145
403
  msgid "Basic settings"
404
  msgstr "基本の設定"
405
 
406
- #: ../lib/pz-linkcard-settings.php:148
407
  msgid "Easy format"
408
  msgstr "かんたん書式設定"
409
 
410
- #: ../lib/pz-linkcard-settings.php:151 ../lib/pz-linkcard-settings.php:368
411
- #: ../lib/pz-linkcard-settings.php:409 ../lib/pz-linkcard-settings.php:418
412
- #: ../lib/pz-linkcard-settings.php:457 ../lib/pz-linkcard-settings.php:471
413
- #: ../lib/pz-linkcard-settings.php:539 ../lib/pz-linkcard-settings.php:553
414
- #: ../lib/pz-linkcard-settings.php:699 ../lib/pz-linkcard-settings.php:711
415
- #: ../lib/pz-linkcard-settings.php:730 ../lib/pz-linkcard-settings.php:767
416
- #: ../lib/pz-linkcard-settings.php:778 ../lib/pz-linkcard-settings.php:797
417
  msgid "None"
418
  msgstr "なし"
419
 
420
- #: ../lib/pz-linkcard-settings.php:152
421
  msgid "Pz-LkC Default"
422
  msgstr "Pz リンクカード オリジナル"
423
 
424
- #: ../lib/pz-linkcard-settings.php:153
425
  msgid "Normal"
426
  msgstr "ノーマル(はてなブログカード風)"
427
 
428
- #: ../lib/pz-linkcard-settings.php:154
429
  msgid "Enclose"
430
  msgstr "囲み"
431
 
432
- #: ../lib/pz-linkcard-settings.php:155
 
 
 
 
433
  msgid "Reflection"
434
  msgstr "反射"
435
 
436
- #: ../lib/pz-linkcard-settings.php:156
437
  msgid "Simple"
438
  msgstr "シンプル"
439
 
440
- #: ../lib/pz-linkcard-settings.php:157
441
  msgid "Headline"
442
  msgstr "見出し(付加情報のテキストが見出しとして表示されます)"
443
 
444
- #: ../lib/pz-linkcard-settings.php:158
445
  msgid "Cellophane tape \"center\""
446
  msgstr "セロハンテープ(中央)"
447
 
448
- #: ../lib/pz-linkcard-settings.php:159
449
  msgid "Cellophane tape \"Top corner\""
450
  msgstr "セロハンテープ(左上と右上)"
451
 
452
- #: ../lib/pz-linkcard-settings.php:160
453
  msgid "Cellophane tape \"long\""
454
  msgstr "セロハンテープ(長め)"
455
 
456
- #: ../lib/pz-linkcard-settings.php:161
457
  msgid "Cellophane tape \"digonal\""
458
  msgstr "セロハンテープ(斜め)"
459
 
460
- #: ../lib/pz-linkcard-settings.php:162
461
  msgid "Curling paper"
462
  msgstr "紙がめくれた効果"
463
 
464
- #: ../lib/pz-linkcard-settings.php:163
465
  msgid "Cellophane tape and curling"
466
  msgstr "セロハンテープと紙めくれた効果"
467
 
468
- #: ../lib/pz-linkcard-settings.php:164
469
  msgid "Stitch blue & red"
470
  msgstr "縫い目(青と赤)"
471
 
472
- #: ../lib/pz-linkcard-settings.php:165
473
  msgid "Stitch green & yellow"
474
  msgstr "縫い目(緑と黄色)"
475
 
476
- #: ../lib/pz-linkcard-settings.php:166
477
  msgid "Square"
478
  msgstr "スクエア"
479
 
480
- #: ../lib/pz-linkcard-settings.php:167
481
  msgid "Infomation orange"
482
  msgstr "インフォメーション オレンジ"
483
 
484
- #: ../lib/pz-linkcard-settings.php:168
485
  msgid "Neutral bluegreen"
486
  msgstr "ニュートラル ブルーグリーン"
487
 
488
- #: ../lib/pz-linkcard-settings.php:169
489
  msgid "Enlightened green"
490
  msgstr "エンライテド グリーン"
491
 
492
- #: ../lib/pz-linkcard-settings.php:170
493
  msgid "Resistance blue"
494
  msgstr "レジスタンス ブルー"
495
 
496
- #: ../lib/pz-linkcard-settings.php:171
497
  msgid "Windows XP"
498
  msgstr ""
499
 
500
- #: ../lib/pz-linkcard-settings.php:172
501
  msgid "Windows 95"
502
  msgstr ""
503
 
504
- #: ../lib/pz-linkcard-settings.php:173
505
  msgid "Slanting"
506
  msgstr "斜め"
507
 
508
- #: ../lib/pz-linkcard-settings.php:174
509
  msgid "3D Rotate"
510
  msgstr "3D回転"
511
 
512
- #: ../lib/pz-linkcard-settings.php:175
513
  msgid "Pushpin"
514
  msgstr "押しピン"
515
 
516
- #: ../lib/pz-linkcard-settings.php:177
517
- msgid "* It applies over other formatting settings."
518
- msgstr "※ほかの項目よりも優先して適用されます。"
519
 
520
- #: ../lib/pz-linkcard-settings.php:182
521
  msgid "How to (Japanese only)"
522
  msgstr "使い方"
523
 
524
- #: ../lib/pz-linkcard-settings.php:190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
525
  msgid "Position settings"
526
  msgstr "配置の設定"
527
 
528
- #: ../lib/pz-linkcard-settings.php:193
529
  msgid "Use blockquote tag"
530
  msgstr "BLOCKQUOTEタグを使用する"
531
 
532
- #: ../lib/pz-linkcard-settings.php:194
533
  msgid "without using DIV tag, and use BLOCKQUOTE tag"
534
  msgstr "&lt;BLOCKQUOTE&gt;で囲んで引用扱いにします"
535
 
536
- #: ../lib/pz-linkcard-settings.php:198
537
  msgid "Link the whole"
538
  msgstr "カード全体をリンク"
539
 
540
- #: ../lib/pz-linkcard-settings.php:202
541
  msgid "Enclose the entire card at anchor"
542
  msgstr ""
543
  "カード全体をAタグで囲って、どこをクリックしてもリンク先を開くようにします。"
544
 
545
- #: ../lib/pz-linkcard-settings.php:208
546
  msgid "Margin"
547
  msgstr "余白"
548
 
549
- #: ../lib/pz-linkcard-settings.php:215 ../lib/pz-linkcard-settings.php:248
550
  msgid "Margin top"
551
  msgstr "上の余白"
552
 
553
- #: ../lib/pz-linkcard-settings.php:217 ../lib/pz-linkcard-settings.php:233
554
- #: ../lib/pz-linkcard-settings.php:250 ../lib/pz-linkcard-settings.php:266
555
- #: ../lib/pz-linkcard-settings.php:280 ../lib/pz-linkcard-settings.php:302
556
- #: ../lib/pz-linkcard-settings.php:320 ../lib/pz-linkcard-settings.php:338
557
  msgid "Not defined"
558
  msgstr "設定しない"
559
 
560
- #: ../lib/pz-linkcard-settings.php:218 ../lib/pz-linkcard-settings.php:234
561
- #: ../lib/pz-linkcard-settings.php:258 ../lib/pz-linkcard-settings.php:274
562
- #: ../lib/pz-linkcard-settings.php:288 ../lib/pz-linkcard-settings.php:310
563
- #: ../lib/pz-linkcard-settings.php:321 ../lib/pz-linkcard-settings.php:339
564
  msgid "0"
565
  msgstr ""
566
 
567
- #: ../lib/pz-linkcard-settings.php:219 ../lib/pz-linkcard-settings.php:235
568
- #: ../lib/pz-linkcard-settings.php:251 ../lib/pz-linkcard-settings.php:267
569
- #: ../lib/pz-linkcard-settings.php:281 ../lib/pz-linkcard-settings.php:303
570
- #: ../lib/pz-linkcard-settings.php:322 ../lib/pz-linkcard-settings.php:340
571
- #: ../lib/pz-linkcard-settings.php:458
572
  msgid "4px"
573
  msgstr ""
574
 
575
- #: ../lib/pz-linkcard-settings.php:220 ../lib/pz-linkcard-settings.php:236
576
- #: ../lib/pz-linkcard-settings.php:252 ../lib/pz-linkcard-settings.php:268
577
- #: ../lib/pz-linkcard-settings.php:282 ../lib/pz-linkcard-settings.php:304
578
- #: ../lib/pz-linkcard-settings.php:323 ../lib/pz-linkcard-settings.php:341
579
- #: ../lib/pz-linkcard-settings.php:459
580
  msgid "8px"
581
  msgstr ""
582
 
583
- #: ../lib/pz-linkcard-settings.php:221 ../lib/pz-linkcard-settings.php:237
584
- #: ../lib/pz-linkcard-settings.php:253 ../lib/pz-linkcard-settings.php:269
585
- #: ../lib/pz-linkcard-settings.php:283 ../lib/pz-linkcard-settings.php:305
586
- #: ../lib/pz-linkcard-settings.php:324 ../lib/pz-linkcard-settings.php:342
587
- #: ../lib/pz-linkcard-settings.php:460
588
  msgid "16px"
589
  msgstr ""
590
 
591
- #: ../lib/pz-linkcard-settings.php:222 ../lib/pz-linkcard-settings.php:238
592
- #: ../lib/pz-linkcard-settings.php:255 ../lib/pz-linkcard-settings.php:271
593
- #: ../lib/pz-linkcard-settings.php:285 ../lib/pz-linkcard-settings.php:307
594
- #: ../lib/pz-linkcard-settings.php:325 ../lib/pz-linkcard-settings.php:343
595
- #: ../lib/pz-linkcard-settings.php:461
596
  msgid "32px"
597
  msgstr ""
598
 
599
- #: ../lib/pz-linkcard-settings.php:223 ../lib/pz-linkcard-settings.php:239
600
- #: ../lib/pz-linkcard-settings.php:256 ../lib/pz-linkcard-settings.php:272
601
- #: ../lib/pz-linkcard-settings.php:286 ../lib/pz-linkcard-settings.php:308
602
- #: ../lib/pz-linkcard-settings.php:326 ../lib/pz-linkcard-settings.php:344
603
  msgid "40px"
604
  msgstr ""
605
 
606
- #: ../lib/pz-linkcard-settings.php:224 ../lib/pz-linkcard-settings.php:240
607
- #: ../lib/pz-linkcard-settings.php:257 ../lib/pz-linkcard-settings.php:273
608
- #: ../lib/pz-linkcard-settings.php:287 ../lib/pz-linkcard-settings.php:309
609
- #: ../lib/pz-linkcard-settings.php:327 ../lib/pz-linkcard-settings.php:345
610
- #: ../lib/pz-linkcard-settings.php:462
611
  msgid "64px"
612
  msgstr ""
613
 
614
- #: ../lib/pz-linkcard-settings.php:231 ../lib/pz-linkcard-settings.php:264
615
  msgid "Margin left"
616
  msgstr "左の余白"
617
 
618
- #: ../lib/pz-linkcard-settings.php:254 ../lib/pz-linkcard-settings.php:270
619
- #: ../lib/pz-linkcard-settings.php:284 ../lib/pz-linkcard-settings.php:306
620
  msgid "24px"
621
  msgstr ""
622
 
623
- #: ../lib/pz-linkcard-settings.php:278 ../lib/pz-linkcard-settings.php:318
624
  msgid "Margin right"
625
  msgstr "右の余白"
626
 
627
- #: ../lib/pz-linkcard-settings.php:294 ../lib/pz-linkcard-settings.php:424
628
- #: ../lib/pz-linkcard-settings.php:523
629
  msgid "Width"
630
  msgstr "幅"
631
 
632
- #: ../lib/pz-linkcard-settings.php:295 ../lib/pz-linkcard-settings.php:426
633
- #: ../lib/pz-linkcard-settings.php:580 ../lib/pz-linkcard-settings.php:599
634
- #: ../lib/pz-linkcard-settings.php:618 ../lib/pz-linkcard-settings.php:636
635
- #: ../lib/pz-linkcard-settings.php:653 ../lib/pz-linkcard-settings.php:671
636
  msgid "Height"
637
  msgstr "高さ"
638
 
639
- #: ../lib/pz-linkcard-settings.php:300 ../lib/pz-linkcard-settings.php:336
640
  msgid "Margin bottom"
641
  msgstr "下の余白"
642
 
643
- #: ../lib/pz-linkcard-settings.php:333
644
  msgid "Centering"
645
  msgstr "中央に寄せる"
646
 
647
- #: ../lib/pz-linkcard-settings.php:357
648
  msgid "Display settings"
649
  msgstr "表示の設定"
650
 
651
- #: ../lib/pz-linkcard-settings.php:360
652
  msgid "Layout"
653
  msgstr "外観設定"
654
 
655
- #: ../lib/pz-linkcard-settings.php:366 ../lib/pz-linkcard-settings.php:643
656
  msgid "Site information"
657
  msgstr "サイト情報"
658
 
659
- #: ../lib/pz-linkcard-settings.php:369
660
  msgid "Top"
661
  msgstr "上側"
662
 
663
- #: ../lib/pz-linkcard-settings.php:370
664
  msgid "Above the title"
665
  msgstr "タイトルの上側"
666
 
667
- #: ../lib/pz-linkcard-settings.php:371
668
  msgid "Bottom"
669
  msgstr "下側"
670
 
671
- #: ../lib/pz-linkcard-settings.php:373
672
  msgid "Use SiteName"
673
  msgstr "サイト名称を使用"
674
 
675
- #: ../lib/pz-linkcard-settings.php:378
676
  msgid "For internal links, display the posting date"
677
  msgstr "内部リンクの場合に投稿日を表示する"
678
 
679
- #: ../lib/pz-linkcard-settings.php:385
680
  msgid "Make additional information heading display"
681
  msgstr "付加情報を見出し表示にする"
682
 
683
- #: ../lib/pz-linkcard-settings.php:392
684
  msgid "Turn off the anchor text underlining"
685
  msgstr "リンク文字のアンダーラインを除去する"
686
 
687
- #: ../lib/pz-linkcard-settings.php:399
688
  msgid "Separator line"
689
  msgstr "区切り線"
690
 
691
- #: ../lib/pz-linkcard-settings.php:407
692
  msgid "Display URL"
693
  msgstr "リンク先URLの表示"
694
 
695
- #: ../lib/pz-linkcard-settings.php:410
696
  msgid "Under title"
697
  msgstr "タイトルの下"
698
 
699
- #: ../lib/pz-linkcard-settings.php:411 ../lib/pz-linkcard-settings.php:555
700
  msgid "Bihind site-info"
701
  msgstr "サイト情報の後ろ"
702
 
703
- #: ../lib/pz-linkcard-settings.php:416 ../lib/pz-linkcard-settings.php:696
704
- #: ../lib/pz-linkcard-settings.php:764 ../lib/pz-linkcard-settings.php:832
705
  msgid "Thumbnail"
706
  msgstr "サムネイル"
707
 
708
- #: ../lib/pz-linkcard-settings.php:419
709
  msgid "Right"
710
  msgstr "右側"
711
 
712
- #: ../lib/pz-linkcard-settings.php:420
713
  msgid "Left"
714
  msgstr "左側"
715
 
716
- #: ../lib/pz-linkcard-settings.php:421
717
  msgid "Upper"
718
  msgstr "上側"
719
 
720
- #: ../lib/pz-linkcard-settings.php:428 ../lib/pz-linkcard-settings.php:450
721
  msgid "Shadow"
722
  msgstr "影を付ける"
723
 
724
- #: ../lib/pz-linkcard-settings.php:433
725
  msgid "Hollow content area"
726
  msgstr "記事の情報に枠を付ける"
727
 
728
- #: ../lib/pz-linkcard-settings.php:438
729
  msgid "Display excerpt"
730
  msgstr "抜粋文を表示する"
731
 
732
- #: ../lib/pz-linkcard-settings.php:443
733
  msgid "Hollow"
734
  msgstr "内側に影を付ける"
735
 
736
- #: ../lib/pz-linkcard-settings.php:455
737
  msgid "Round a square"
738
  msgstr "角を丸める"
739
 
740
- #: ../lib/pz-linkcard-settings.php:469
741
  msgid "When the mouse is on"
742
  msgstr "マウスが上に乗ったとき、"
743
 
744
- #: ../lib/pz-linkcard-settings.php:472
745
  msgid "Lighten"
746
  msgstr "薄色にする"
747
 
748
- #: ../lib/pz-linkcard-settings.php:473
749
  msgid "Hover (light)"
750
  msgstr "浮かせる(薄色)"
751
 
752
- #: ../lib/pz-linkcard-settings.php:474
753
  msgid "Hover (dark)"
754
  msgstr "浮かせる(濃色)"
755
 
756
- #: ../lib/pz-linkcard-settings.php:475
757
  msgid "Radius"
758
  msgstr "角を丸める"
759
 
760
- #: ../lib/pz-linkcard-settings.php:504
761
  msgid "Border"
762
  msgstr "枠線の太さ"
763
 
764
- #: ../lib/pz-linkcard-settings.php:506 ../lib/pz-linkcard-settings.php:572
765
- #: ../lib/pz-linkcard-settings.php:591 ../lib/pz-linkcard-settings.php:610
766
- #: ../lib/pz-linkcard-settings.php:628 ../lib/pz-linkcard-settings.php:645
767
- #: ../lib/pz-linkcard-settings.php:663
768
- msgid "Color"
769
- msgstr "色"
770
-
771
- #: ../lib/pz-linkcard-settings.php:511
772
  msgid "none"
773
  msgstr "なし"
774
 
775
- #: ../lib/pz-linkcard-settings.php:512
776
  msgid "solid"
777
  msgstr "solid/実線"
778
 
779
- #: ../lib/pz-linkcard-settings.php:513
780
  msgid "dotted"
781
  msgstr "dotted/点線"
782
 
783
- #: ../lib/pz-linkcard-settings.php:514
784
  msgid "dashed"
785
  msgstr "dashed/破線"
786
 
787
- #: ../lib/pz-linkcard-settings.php:515
788
  msgid "double"
789
  msgstr "double/二重線"
790
 
791
- #: ../lib/pz-linkcard-settings.php:516
792
  msgid "groove"
793
  msgstr "groove/立体(へこみ)"
794
 
795
- #: ../lib/pz-linkcard-settings.php:517
796
  msgid "ridge"
797
  msgstr "ridge/立体(隆起)"
798
 
799
- #: ../lib/pz-linkcard-settings.php:518
800
  msgid "inset"
801
  msgstr "inset/立体(押したボタンのような効果)"
802
 
803
- #: ../lib/pz-linkcard-settings.php:519
804
  msgid "outset"
805
  msgstr "outset/立体(ボタンのような効果)"
806
 
807
- #: ../lib/pz-linkcard-settings.php:531
808
  msgid "Reset img style"
809
  msgstr "CSSリセット(img)"
810
 
811
- #: ../lib/pz-linkcard-settings.php:532
812
  msgid ""
813
  "When unnecessary frame is displayed on the image, you can improve it by case"
814
  msgstr "画像がずれて表示されるときに改善される可能性が有ります(推奨)"
815
 
816
- #: ../lib/pz-linkcard-settings.php:536 ../lib/pz-linkcard-settings.php:626
817
  msgid "More button"
818
  msgstr "続きを読むボタン"
819
 
820
- #: ../lib/pz-linkcard-settings.php:540
821
  msgid "Text link"
822
  msgstr "テキストリンク"
823
 
824
- #: ../lib/pz-linkcard-settings.php:541
825
  msgid "Simple button"
826
  msgstr "シンプルなボタン"
827
 
828
- #: ../lib/pz-linkcard-settings.php:542
829
  msgid "Blue"
830
  msgstr "ブルー"
831
 
832
- #: ../lib/pz-linkcard-settings.php:543
833
  msgid "Dark"
834
  msgstr "ダーク"
835
 
836
- #: ../lib/pz-linkcard-settings.php:545
837
- msgid "*"
838
- msgstr "※"
839
-
840
- #: ../lib/pz-linkcard-settings.php:545
841
  msgid ""
842
  "It is recommended that you leave the card height blank when using this "
843
  "setting."
844
  msgstr "この設定を使用するときはカードの高さを空欄にすることをお勧めします。"
845
 
846
- #: ../lib/pz-linkcard-settings.php:550
847
  msgid "Display SNS Count"
848
  msgstr "シェア数を表示する"
849
 
850
- #: ../lib/pz-linkcard-settings.php:554
851
  msgid "Bihind title"
852
  msgstr "タイトルの後ろ"
853
 
854
- #: ../lib/pz-linkcard-settings.php:557
855
  msgid "Twitter"
856
  msgstr "ツイッター"
857
 
858
- #: ../lib/pz-linkcard-settings.php:558
859
  msgid "Facebook"
860
  msgstr "フェイスブック(シェア数)"
861
 
862
- #: ../lib/pz-linkcard-settings.php:559
863
  msgid "Hatena"
864
  msgstr "はてなブックマーク"
865
 
866
- #: ../lib/pz-linkcard-settings.php:560
867
  msgid "Pocket"
868
  msgstr ""
869
 
870
- #: ../lib/pz-linkcard-settings.php:566
871
  msgid "Letter settings"
872
  msgstr "文字の設定"
873
 
874
- #: ../lib/pz-linkcard-settings.php:573 ../lib/pz-linkcard-settings.php:592
875
- #: ../lib/pz-linkcard-settings.php:611 ../lib/pz-linkcard-settings.php:629
876
- #: ../lib/pz-linkcard-settings.php:646 ../lib/pz-linkcard-settings.php:664
 
 
 
 
 
 
877
  msgid "Outline"
878
  msgstr "縁取り"
879
 
880
- #: ../lib/pz-linkcard-settings.php:577 ../lib/pz-linkcard-settings.php:596
881
- #: ../lib/pz-linkcard-settings.php:615 ../lib/pz-linkcard-settings.php:633
882
- #: ../lib/pz-linkcard-settings.php:650 ../lib/pz-linkcard-settings.php:668
883
  msgid "Size"
884
  msgstr "大きさ"
885
 
886
- #: ../lib/pz-linkcard-settings.php:583 ../lib/pz-linkcard-settings.php:602
887
- #: ../lib/pz-linkcard-settings.php:621 ../lib/pz-linkcard-settings.php:656
888
  msgid "Length"
889
  msgstr "桁数"
890
 
891
- #: ../lib/pz-linkcard-settings.php:584 ../lib/pz-linkcard-settings.php:603
892
  msgid "No wrap"
893
  msgstr "折り返さない"
894
 
895
- #: ../lib/pz-linkcard-settings.php:661 ../lib/pz-linkcard-settings.php:719
896
- #: ../lib/pz-linkcard-settings.php:786 ../lib/pz-linkcard-settings.php:840
897
  msgid "Added information"
898
  msgstr "付加情報"
899
 
900
- #: ../lib/pz-linkcard-settings.php:676
901
  msgid "Resize"
902
  msgstr "幅に合わせて縮小"
903
 
904
- #: ../lib/pz-linkcard-settings.php:677
905
  msgid "Adjust thumbnail and letter size according to width"
906
  msgstr "画面幅に合わせて文字とサムネイルの大きさを調整します。"
907
 
908
- #: ../lib/pz-linkcard-settings.php:684
909
  msgid "External link settings"
910
  msgstr "外部リンクの設定"
911
 
912
- #: ../lib/pz-linkcard-settings.php:688 ../lib/pz-linkcard-settings.php:756
913
- #: ../lib/pz-linkcard-settings.php:824
 
 
 
 
 
914
  msgid "Background Color"
915
  msgstr "背景色"
916
 
917
- #: ../lib/pz-linkcard-settings.php:692
918
  msgid "Background image"
919
  msgstr "背景画像"
920
 
921
- #: ../lib/pz-linkcard-settings.php:700 ../lib/pz-linkcard-settings.php:712
922
- #: ../lib/pz-linkcard-settings.php:768 ../lib/pz-linkcard-settings.php:779
923
  msgid "Direct"
924
  msgstr "直接取得する"
925
 
926
- #: ../lib/pz-linkcard-settings.php:701 ../lib/pz-linkcard-settings.php:713
927
- #: ../lib/pz-linkcard-settings.php:769 ../lib/pz-linkcard-settings.php:780
928
  msgid "Use WebAPI"
929
  msgstr "WebAPIを利用する"
930
 
931
- #: ../lib/pz-linkcard-settings.php:702 ../lib/pz-linkcard-settings.php:714
932
- #: ../lib/pz-linkcard-settings.php:770 ../lib/pz-linkcard-settings.php:781
933
  msgid "Use WebAPI ,If can not direct"
934
  msgstr "直接取得できない場合、WebAPIを利用する"
935
 
936
- #: ../lib/pz-linkcard-settings.php:708 ../lib/pz-linkcard-settings.php:775
937
- #: ../lib/pz-linkcard-settings.php:836
938
  msgid "Favicon"
939
  msgstr "サイトアイコン"
940
 
941
- #: ../lib/pz-linkcard-settings.php:723 ../lib/pz-linkcard-settings.php:790
 
942
  msgid "Text of more button"
943
  msgstr "続きを読むボタンの文字"
944
 
945
- #: ../lib/pz-linkcard-settings.php:727 ../lib/pz-linkcard-settings.php:794
946
- #: ../lib/pz-linkcard-settings.php:844
947
  msgid "Open new window/tab"
948
  msgstr "新しいウィンドウで開く"
949
 
950
- #: ../lib/pz-linkcard-settings.php:731 ../lib/pz-linkcard-settings.php:798
951
  msgid "All client"
952
  msgstr "すべての端末"
953
 
954
- #: ../lib/pz-linkcard-settings.php:732 ../lib/pz-linkcard-settings.php:799
955
  msgid "Other than mobile"
956
  msgstr "モバイル端末以外"
957
 
958
- #: ../lib/pz-linkcard-settings.php:737 ../lib/pz-linkcard-settings.php:804
 
959
  msgid "Get contents"
960
  msgstr "記事取得方法"
961
 
962
- #: ../lib/pz-linkcard-settings.php:739 ../lib/pz-linkcard-settings.php:810
963
  msgid "Initially acquired only from the content"
964
  msgstr "カード管理画面に記録されている内容から表示する"
965
 
966
- #: ../lib/pz-linkcard-settings.php:743
967
  msgid "Set nofollow"
968
  msgstr "nofollowを付与する"
969
 
970
- #: ../lib/pz-linkcard-settings.php:744
971
  msgid "In the case of an external site, it puts the \"nofollow\""
972
  msgstr "外部リンクのリンクを nofollow にする"
973
 
974
- #: ../lib/pz-linkcard-settings.php:747
975
  msgid "Use HatenaBlogCard"
976
  msgstr "はてなブログカードを利用する"
977
 
978
- #: ../lib/pz-linkcard-settings.php:748
979
  msgid "External links will use Always HatenaBlogCard."
980
  msgstr "外部リンクは「はてなブログカード」を利用する"
981
 
982
- #: ../lib/pz-linkcard-settings.php:748 ../lib/pz-linkcard-settings.php:1069
983
  msgid "(Not recommended)"
984
  msgstr "(非推奨)"
985
 
986
- #: ../lib/pz-linkcard-settings.php:753
987
  msgid "Internal link settings"
988
  msgstr "内部リンクの設定"
989
 
990
- #: ../lib/pz-linkcard-settings.php:760 ../lib/pz-linkcard-settings.php:828
991
  msgid "Background Image"
992
  msgstr "背景画像"
993
 
994
- #: ../lib/pz-linkcard-settings.php:808
995
  msgid "Always get the latest from the content"
996
  msgstr "常に最新の記事内容から抜粋文を作成する"
997
 
998
- #: ../lib/pz-linkcard-settings.php:809
999
  msgid "Always get the latest from the excerpt"
1000
  msgstr "抜粋文が設定されている投稿はそちらを優先する"
1001
 
1002
- #: ../lib/pz-linkcard-settings.php:815
1003
  msgid "Retry get PID"
1004
  msgstr "記事URLの再取得"
1005
 
1006
- #: ../lib/pz-linkcard-settings.php:816
1007
  msgid "When the `Post ID` can not be acquired, it is acquired again."
1008
  msgstr "記事IDが取得できなかった場合に、リダイレクト先のURLを取得する。"
1009
 
1010
- #: ../lib/pz-linkcard-settings.php:821
1011
  msgid "Same-page link settings"
1012
  msgstr "同ページへのリンクの設定"
1013
 
1014
- #: ../lib/pz-linkcard-settings.php:833 ../lib/pz-linkcard-settings.php:837
1015
- #: ../lib/pz-linkcard-settings.php:845
 
1016
  msgid "It is common with setting Internal-link"
1017
  msgstr "内部リンク用の設定が使用されます"
1018
 
1019
- #: ../lib/pz-linkcard-settings.php:850
 
 
 
 
1020
  msgid "Web-API settings"
1021
  msgstr "画像取得APIの設定"
1022
 
1023
- #: ../lib/pz-linkcard-settings.php:853
1024
  msgid "Favicon API"
1025
  msgstr "ファビコンの取得API"
1026
 
1027
- #: ../lib/pz-linkcard-settings.php:856
1028
- msgid ""
1029
- "%DOMAIN% replace to domain name (ex. poporon.poponet.jp )<br>%DOMAIN_URL% "
1030
- "replace to domain URL (ex. http://poporon.poponet.jp )"
1031
- msgstr ""
1032
- "%DOMAIN% と記述するとドメイン名(例.poporon.poponet.jp)に、<br />"
1033
- "%DOMAIN_URL% と記述するとドメインのURL(例.http://poporon.poponet.jp)に置き"
1034
- "換わります。"
1035
 
1036
- #: ../lib/pz-linkcard-settings.php:857 ../lib/pz-linkcard-settings.php:866
 
 
 
 
1037
  msgid "%URL% replace to URL."
1038
  msgstr "%URL% と記述すると記事のURLに置き換わります。"
1039
 
1040
- #: ../lib/pz-linkcard-settings.php:858 ../lib/pz-linkcard-settings.php:867
1041
  msgid "ex1."
1042
  msgstr "例1."
1043
 
1044
- #: ../lib/pz-linkcard-settings.php:859 ../lib/pz-linkcard-settings.php:868
1045
  msgid "ex2."
1046
  msgstr "例2."
1047
 
1048
- #: ../lib/pz-linkcard-settings.php:863
1049
  msgid "Thumbnail API"
1050
  msgstr "サムネイル画像の取得API"
1051
 
1052
- #: ../lib/pz-linkcard-settings.php:874
1053
- msgid "Check link settings"
1054
- msgstr "リンク先チェックの設定"
1055
 
1056
- #: ../lib/pz-linkcard-settings.php:877
1057
  msgid "Do not link at error"
1058
  msgstr "エラーのときリンクしない"
1059
 
1060
- #: ../lib/pz-linkcard-settings.php:878
1061
  msgid "When access status is \"403\", \"404\", \"410\", unlink"
1062
  msgstr "ステータスが「403」「404」「410」のときにリンクを無効にします"
1063
 
1064
- #: ../lib/pz-linkcard-settings.php:881
1065
  msgid "SSL verification disabled"
1066
  msgstr "SSL検証を無効"
1067
 
1068
- #: ../lib/pz-linkcard-settings.php:882
1069
  msgid "Try setting if the contents of the SSL site can not be acquired."
1070
  msgstr ""
1071
  "SSLサイトのタイトルや記事内容が取得できない場合に設定することで取得できる可能"
1072
  "性があります。"
1073
 
1074
- #: ../lib/pz-linkcard-settings.php:885
1075
  msgid "Follow location"
1076
  msgstr "リダイレクト処理"
1077
 
1078
- #: ../lib/pz-linkcard-settings.php:886
1079
  msgid "Track when the link destination is redirected."
1080
  msgstr "リンク先がリダイレクトされている場合に追跡します。"
1081
 
1082
- #: ../lib/pz-linkcard-settings.php:889
1083
  msgid "Set referer"
1084
  msgstr "リファラーの通知"
1085
 
1086
- #: ../lib/pz-linkcard-settings.php:890
1087
  msgid "Notify the article URL to the link destination."
1088
  msgstr "リンク先に記事のURLを知らせます。"
1089
 
1090
- #: ../lib/pz-linkcard-settings.php:893
1091
  msgid "Use User-Agent"
1092
  msgstr "ユーザーエージェントの通知"
1093
 
1094
- #: ../lib/pz-linkcard-settings.php:895
1095
  msgid "Notify using Pz-LinkCard to the link destination."
1096
  msgstr "リンク先にPz-LinkCardを使用していることを知らせます。"
1097
 
1098
- #: ../lib/pz-linkcard-settings.php:900
1099
  msgid "Broken link checker"
1100
  msgstr "リンク切れチェック"
1101
 
1102
- #: ../lib/pz-linkcard-settings.php:901
1103
  msgid "Alive confirmation of the link destination."
1104
  msgstr "リンク先がアクセスできるか定期的に確認します。"
1105
 
1106
- #: ../lib/pz-linkcard-settings.php:904
1107
  msgid "Broken link count"
1108
  msgstr "リンク切れカウント"
1109
 
1110
- #: ../lib/pz-linkcard-settings.php:905
1111
  msgid "The number of broken links is displayed next to the submenu."
1112
  msgstr "サブメニューの横にリンク切れの件数を表示します。"
1113
 
1114
- #: ../lib/pz-linkcard-settings.php:908
1115
  msgid "Multi-site compatible"
1116
  msgstr "サブディレクトリを外部リンクにする"
1117
 
1118
- #: ../lib/pz-linkcard-settings.php:909
1119
  msgid ""
1120
  "In the case of the multi-site of the subdirectory type, the site under the "
1121
  "subdirectory is judged as an external site."
@@ -1123,56 +1230,56 @@ msgstr ""
1123
  "サブディレクトリ型のマルチサイトの場合で、メインサイトからサブサイトを外部サ"
1124
  "イトとして判定する。"
1125
 
1126
- #: ../lib/pz-linkcard-settings.php:914
1127
  msgid "Editor settings"
1128
  msgstr "エディターの設定"
1129
 
1130
- #: ../lib/pz-linkcard-settings.php:917
1131
  msgid "ShortCode 1"
1132
  msgstr "ショートコード 1"
1133
 
1134
- #: ../lib/pz-linkcard-settings.php:919 ../lib/pz-linkcard-settings.php:937
1135
- #: ../lib/pz-linkcard-settings.php:942 ../lib/pz-linkcard-settings.php:947
1136
  msgid "Case-sensitive"
1137
  msgstr "大文字と小文字を区別します"
1138
 
1139
- #: ../lib/pz-linkcard-settings.php:922
1140
  msgid "Use inlinetext"
1141
  msgstr "ショートコードで囲んだ文字列"
1142
 
1143
- #: ../lib/pz-linkcard-settings.php:926
1144
  msgid "No use"
1145
  msgstr "使用しない"
1146
 
1147
- #: ../lib/pz-linkcard-settings.php:927
1148
  msgid "Use to excerpt"
1149
  msgstr "抜粋文として使用"
1150
 
1151
- #: ../lib/pz-linkcard-settings.php:928
1152
  msgid "Use to title"
1153
  msgstr "タイトルとして使用"
1154
 
1155
- #: ../lib/pz-linkcard-settings.php:931
1156
  msgid "This setting applies only to the Shortcode1"
1157
  msgstr "ショートコード1にのみ適用されます"
1158
 
1159
- #: ../lib/pz-linkcard-settings.php:935
1160
  msgid "ShortCode 2"
1161
  msgstr "ショートコード 2"
1162
 
1163
- #: ../lib/pz-linkcard-settings.php:940
1164
  msgid "ShortCode 3"
1165
  msgstr "ショートコード 3"
1166
 
1167
- #: ../lib/pz-linkcard-settings.php:945
1168
  msgid "ShortCode 4"
1169
  msgstr "ショートコード 4"
1170
 
1171
- #: ../lib/pz-linkcard-settings.php:950
1172
  msgid "Parameters"
1173
  msgstr "パラメータ"
1174
 
1175
- #: ../lib/pz-linkcard-settings.php:953
1176
  msgid ""
1177
  "For any shortcode you can change the title and excerpt with `title` "
1178
  "parameter and `content` parameter"
@@ -1180,210 +1287,194 @@ msgstr ""
1180
  "どのショートコードでも title パラメータと content パラメータでタイトルと抜粋"
1181
  "文を指定できます。"
1182
 
1183
- #: ../lib/pz-linkcard-settings.php:958 ../lib/pz-linkcard-settings.php:966
1184
  msgid "Convert text link"
1185
  msgstr "テキストリンク行の変換"
1186
 
1187
- #: ../lib/pz-linkcard-settings.php:959 ../lib/pz-linkcard-settings.php:967
1188
  msgid "Convert lines with text link only to Linkcard."
1189
  msgstr "テキストリンクだけの行をリンクカードに変換する。"
1190
 
1191
- #: ../lib/pz-linkcard-settings.php:962
1192
  msgid "Convert URL"
1193
  msgstr "URL行の変換"
1194
 
1195
- #: ../lib/pz-linkcard-settings.php:963
1196
  msgid "Convert lines with URL only to Linkcard."
1197
  msgstr "URLだけの行をリンクカードに変換する。"
1198
 
1199
- #: ../lib/pz-linkcard-settings.php:971
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1200
  msgid "Add insert button"
1201
  msgstr "リンクカードボタンを追加"
1202
 
1203
- #: ../lib/pz-linkcard-settings.php:972
1204
  msgid "Add insert button to visual editor."
1205
  msgstr "ビジュアルエディタにリンクカードを挿入するボタンを追加する。"
1206
 
1207
- #: ../lib/pz-linkcard-settings.php:975
1208
  msgid "Add quick tag"
1209
  msgstr "クイックタグを追加"
1210
 
1211
- #: ../lib/pz-linkcard-settings.php:976
1212
  msgid "Add quick tag button to text editor."
1213
  msgstr "テキストエディタにリンクカードを挿入するボタンを追加する。"
1214
 
1215
- #: ../lib/pz-linkcard-settings.php:982
1216
  msgid "Advanced settings"
1217
- msgstr "詳しい人向けの設定"
1218
 
1219
- #: ../lib/pz-linkcard-settings.php:985
1220
  msgid "Trailing slash"
1221
  msgstr "末尾のスラッシュ"
1222
 
1223
- #: ../lib/pz-linkcard-settings.php:989
1224
  msgid "As it"
1225
  msgstr "そのまま"
1226
 
1227
- #: ../lib/pz-linkcard-settings.php:990
1228
  msgid "When only domain name, remove"
1229
  msgstr "ドメイン名のみのときだけ削除"
1230
 
1231
- #: ../lib/pz-linkcard-settings.php:991
1232
  msgid "Always remove"
1233
  msgstr "常に削除"
1234
 
1235
- #: ../lib/pz-linkcard-settings.php:997
1236
  msgid "CSS to be added"
1237
  msgstr "追加するスタイルシート"
1238
 
1239
- #: ../lib/pz-linkcard-settings.php:1001
1240
  msgid "specified CSS"
1241
  msgstr "指定したCSSを使用"
1242
 
1243
- #: ../lib/pz-linkcard-settings.php:1002
1244
  msgid "Use specified CSS file"
1245
  msgstr "指定したCSSファイルを使用する"
1246
 
1247
- #: ../lib/pz-linkcard-settings.php:1005 ../lib/pz-linkcard-settings.php:1009
1248
  msgid "CSS file"
1249
  msgstr "CSSファイル名"
1250
 
1251
- #: ../lib/pz-linkcard-settings.php:1006
1252
  msgid "(ex. https://exsample.com/style.css )"
1253
- msgstr "例.https://exsample.com/style.css"
1254
 
1255
- #: ../lib/pz-linkcard-settings.php:1013
1256
  msgid "CSS URL"
1257
  msgstr "CSSファイルのURL"
1258
 
1259
- #: ../lib/pz-linkcard-settings.php:1018
1260
  msgid "Class ID to be added(for PC)"
1261
  msgstr "PCのときに追加するクラス名"
1262
 
1263
- #: ../lib/pz-linkcard-settings.php:1022
1264
  msgid "Class ID to be added(for Mobile)"
1265
  msgstr "モバイルのときに追加するクラス名"
1266
 
1267
- #: ../lib/pz-linkcard-settings.php:1027
1268
- msgid "Do shortcode"
1269
- msgstr "ショートコード 実行"
1270
-
1271
- #: ../lib/pz-linkcard-settings.php:1028
1272
- msgid "Force shortcode development."
1273
- msgstr "リンク・URLから変換したときにショートコードを強制的に実行する。"
1274
-
1275
- #: ../lib/pz-linkcard-settings.php:1032
1276
  msgid "Google AMP URL"
1277
  msgstr "URLによるAMP判断"
1278
 
1279
- #: ../lib/pz-linkcard-settings.php:1033
1280
  msgid "If the URL is AMP, display simple."
1281
  msgstr ""
1282
  "アクセスされたURLの末尾が「/amp」「/amp/」「/?amp=1」の場合、簡易表示に切り替"
1283
  "える。"
1284
 
1285
- #: ../lib/pz-linkcard-settings.php:1037
1286
  msgid "IDNA Convert"
1287
  msgstr "IDNAドメインの表示"
1288
 
1289
- #: ../lib/pz-linkcard-settings.php:1038
1290
  msgid "Convert domain name from IDNA ASCII to Unicode."
1291
  msgstr ""
1292
  "IDNAのASCII方式でエンコードされたドメイン名をUnicodeに変換して表示します(日"
1293
  "本語ドメインなど)"
1294
 
1295
- #: ../lib/pz-linkcard-settings.php:1042
1296
  msgid "Relative URL"
1297
  msgstr "相対指定URL"
1298
 
1299
- #: ../lib/pz-linkcard-settings.php:1043
1300
  msgid "For relative-specified URLs, complement the site URL."
1301
  msgstr "相対指定のURLの場合、サイトURLを補完します。"
1302
 
1303
- #: ../lib/pz-linkcard-settings.php:1047
1304
  msgid "Display link to author page"
1305
  msgstr "プラグイン名を表示する"
1306
 
1307
- #: ../lib/pz-linkcard-settings.php:1051
1308
  msgid "Plugin URL"
1309
  msgstr "プラグインページURL"
1310
 
1311
- #: ../lib/pz-linkcard-settings.php:1055
1312
  msgid "Plugin name"
1313
  msgstr "プラグイン名"
1314
 
1315
- #: ../lib/pz-linkcard-settings.php:1059
1316
  msgid "Plugin version"
1317
  msgstr "プラグインバージョン"
1318
 
1319
- #: ../lib/pz-linkcard-settings.php:1063
1320
  msgid "Saved datetime"
1321
  msgstr "保存した日時"
1322
 
1323
- #: ../lib/pz-linkcard-settings.php:1068
1324
  msgid "Display elapsed time"
1325
  msgstr "実行時間の表示"
1326
 
1327
- #: ../lib/pz-linkcard-settings.php:1069
1328
  msgid "Output the elapsed time to HTML comment."
1329
  msgstr "作成にかかった時間をコメントとしてHTMLへ出力する"
1330
 
1331
- #: ../lib/pz-linkcard-settings.php:1075
1332
- msgid "Initialize"
1333
- msgstr "初期化"
1334
-
1335
- #: ../lib/pz-linkcard-settings.php:1078
1336
  msgid "Return to the initial setting"
1337
  msgstr "設定を初期状態へ戻す"
1338
 
1339
- #: ../lib/pz-linkcard-settings.php:1084
1340
- msgid "etc"
1341
- msgstr "その他"
1342
-
1343
- #: ../lib/pz-linkcard-settings.php:1087
1344
- msgid "Author's site"
1345
- msgstr "作者のサイト"
1346
-
1347
- #: ../lib/pz-linkcard-settings.php:1088
1348
- msgid "Popozure."
1349
- msgstr "ぽぽづれ。"
1350
-
1351
- #: ../lib/pz-linkcard-settings.php:1088
1352
- msgid "Poporon's PC daily diary"
1353
- msgstr "ぽぽろんのパソコンつれづれ(ズレズレ?)日記"
1354
-
1355
- #: ../lib/pz-linkcard-settings.php:1091
1356
- msgid "When in trouble"
1357
- msgstr "困ったときは"
1358
-
1359
- #: ../lib/pz-linkcard-settings.php:1092
1360
- msgid "Twitter account"
1361
- msgstr "ツイッター アカウント"
1362
-
1363
- #: ../lib/pz-linkcard-settings.php:1095
1364
- msgid "Donation"
1365
- msgstr "寄付"
1366
-
1367
- #: ../lib/pz-linkcard-style.php:624
1368
  msgid "Style sheet saved."
1369
  msgstr "設定を元にスタイルシートを自動生成しました。"
1370
 
1371
- #: ../lib/pz-linkcard-style.php:626
1372
  msgid "Style sheet failed."
1373
  msgstr "スタイルシートの自動生成に失敗しました。"
1374
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1375
  #~ msgid "Hover"
1376
  #~ msgstr "浮かせる"
1377
 
1378
  #~ msgid "Thinning at mouseover"
1379
  #~ msgstr "マウスでポイントしたときに表示を薄くする"
1380
 
1381
- #~ msgid "Only external link"
1382
- #~ msgstr "外部リンクのみ変換"
1383
-
1384
- #~ msgid "Conversion only external link"
1385
- #~ msgstr "外部リンクのときのみ変換します"
1386
-
1387
  #~ msgid "Insert Pz-LinkCard"
1388
  #~ msgstr "リンクカード作成"
1389
 
@@ -1428,9 +1519,6 @@ msgstr "スタイルシートの自動生成に失敗しました。"
1428
  #~ msgid "Style"
1429
  #~ msgstr "表示設定"
1430
 
1431
- #~ msgid "Link check"
1432
- #~ msgstr "リンク先のチェック"
1433
-
1434
  #~ msgid "Debug"
1435
  #~ msgstr "詳しい人用(Debug)"
1436
 
@@ -1478,9 +1566,6 @@ msgstr "スタイルシートの自動生成に失敗しました。"
1478
  #~ msgid "Wheat"
1479
  #~ msgstr "小麦色(明るい茶色)"
1480
 
1481
- #~ msgid "Basic"
1482
- #~ msgstr "基本設定"
1483
-
1484
  #~ msgid "Will some of the parameters are forcibly changed"
1485
  #~ msgstr "選択した定型書式によって、一部の設定が無効になります。"
1486
 
4
  msgstr ""
5
  "Project-Id-Version: Pz-LinkCard\n"
6
  "Report-Msgid-Bugs-To: http://wppolyglots.wordpress.com\n"
7
+ "POT-Creation-Date: 2019-09-21 07:46+0900\n"
8
+ "PO-Revision-Date: 2019-09-21 07:47+0900\n"
9
  "Last-Translator: \n"
10
  "Language-Team: poporon\n"
11
  "Language: ja_JP\n"
19
  "Plural-Forms: nplurals=1; plural=0;\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
 
22
+ #: ../pz-linkcard.php:356
23
  msgid "Incorrect URL specification."
24
  msgstr ""
25
 
26
+ #: ../pz-linkcard.php:1259
27
  msgid "Category"
28
  msgstr "カテゴリー"
29
 
30
+ #: ../pz-linkcard.php:1259 ../pz-linkcard.php:1272
31
  msgid "‘"
32
  msgstr "「"
33
 
34
+ #: ../pz-linkcard.php:1259 ../pz-linkcard.php:1272
35
  msgid "’"
36
  msgstr "」"
37
 
38
+ #: ../pz-linkcard.php:1260 ../pz-linkcard.php:1273
39
+ #: ../lib/pz-linkcard-settings.php:895 ../lib/pz-linkcard-settings.php:904
40
  msgid "("
41
  msgstr "("
42
 
43
+ #: ../pz-linkcard.php:1260 ../pz-linkcard.php:1273
44
  msgid "Count"
45
  msgstr "件数"
46
 
47
+ #: ../pz-linkcard.php:1260 ../pz-linkcard.php:1273
48
+ #: ../lib/pz-linkcard-settings.php:895 ../lib/pz-linkcard-settings.php:904
49
  msgid ")"
50
  msgstr ")"
51
 
52
+ #: ../pz-linkcard.php:1272
53
  msgid "Tag"
54
  msgstr "タグ"
55
 
56
+ #: ../pz-linkcard.php:1673
57
  msgid "Linkcard"
58
  msgstr "リンクカード"
59
 
60
+ #: ../pz-linkcard.php:1673
61
  msgid "Make Linkcard"
62
  msgstr "リンクカードのショートコードを挿入する"
63
 
64
+ #: ../pz-linkcard.php:1682
65
  msgid "Invalid URL parameter in "
66
  msgstr "URLパラメーターの指定が無効です→"
67
 
68
+ #: ../pz-linkcard.php:1682 ../lib/pz-linkcard-settings.php:202
69
+ #: ../lib/pz-linkcard-settings.php:556
70
+ msgid "*"
71
+ msgstr "※"
72
+
73
+ #: ../pz-linkcard.php:1682
74
  msgid ""
75
+ "You can cancel this message from <a href=\"./options-general.php?page=pz-"
76
  "linkcard-settings\">the setting screen</a>."
77
  msgstr ""
78
+ "このメッセージの表示は<a href=\"./options-general.php?page=pz-linkcard-"
79
  "settings\">設定画面</a>から解除できます。"
80
 
81
+ #: ../pz-linkcard.php:1724
82
  msgid "Pz LkC Cache"
83
  msgstr "Pz カード管理"
84
 
85
+ #: ../pz-linkcard.php:1725
86
  msgid "Pz LinkCard"
87
  msgstr "Pz カード設定"
88
 
89
+ #: ../pz-linkcard.php:1733 ../lib/pz-linkcard-cacheman.php:6
90
  msgid "LinkCard cache manager"
91
  msgstr "リンクカード/DBキャッシュ管理"
92
 
93
+ #: ../pz-linkcard.php:1734 ../lib/pz-linkcard-settings.php:4
94
  msgid "LinkCard Settings"
95
  msgstr "リンクカード設定"
96
 
97
+ #: ../pz-linkcard.php:1817
98
  msgid "Settings"
99
  msgstr "設定"
100
 
101
+ #: ../pz-linkcard.php:1817
102
  msgid "Manage"
103
  msgstr "管理"
104
 
114
 
115
  #: ../lib/pz-linkcard-cacheman-edit.php:22
116
  #: ../lib/pz-linkcard-cacheman-list.php:248 ../lib/pz-linkcard-edit.php:21
117
+ #: ../lib/pz-linkcard-settings.php:601
118
  msgid "URL"
119
  msgstr "URL"
120
 
129
 
130
  #: ../lib/pz-linkcard-cacheman-edit.php:34
131
  #: ../lib/pz-linkcard-cacheman-list.php:249 ../lib/pz-linkcard-edit.php:37
132
+ #: ../lib/pz-linkcard-settings.php:582
133
  msgid "Title"
134
  msgstr "タイトル"
135
 
136
  #: ../lib/pz-linkcard-cacheman-edit.php:38
137
  #: ../lib/pz-linkcard-cacheman-list.php:250 ../lib/pz-linkcard-edit.php:41
138
+ #: ../lib/pz-linkcard-settings.php:620
139
  msgid "Excerpt"
140
  msgstr "抜粋文"
141
 
221
 
222
  #: ../lib/pz-linkcard-cacheman-list.php:177
223
  msgid "Internal"
224
+ msgstr "内部"
225
 
226
  #: ../lib/pz-linkcard-cacheman-list.php:178
227
  msgid "External"
228
+ msgstr "外部"
229
 
230
  #: ../lib/pz-linkcard-cacheman-list.php:179
231
  msgid "Modify"
321
  msgid "Export"
322
  msgstr "エクスポート"
323
 
324
+ #: ../lib/pz-linkcard-cacheman.php:6 ../lib/pz-linkcard-settings.php:150
325
+ #: ../lib/pz-linkcard-settings.php:169 ../lib/pz-linkcard-settings.php:228
326
+ #: ../lib/pz-linkcard-settings.php:396 ../lib/pz-linkcard-settings.php:578
327
+ #: ../lib/pz-linkcard-settings.php:696 ../lib/pz-linkcard-settings.php:770
328
+ #: ../lib/pz-linkcard-settings.php:843 ../lib/pz-linkcard-settings.php:889
329
+ #: ../lib/pz-linkcard-settings.php:913 ../lib/pz-linkcard-settings.php:954
330
+ #: ../lib/pz-linkcard-settings.php:1028 ../lib/pz-linkcard-settings.php:1117
331
+ msgid "Help"
332
+ msgstr " ヘルプ"
333
+
334
  #: ../lib/pz-linkcard-cacheman.php:81
335
  msgid "Updated cache"
336
  msgstr "キャッシュを更新しました"
388
  msgid "Short code is not set."
389
  msgstr "ショートコードが指定されていません。"
390
 
391
+ #: ../lib/pz-linkcard-settings.php:121
392
  msgid "Changes saved."
393
  msgstr "設定を保存しました。"
394
 
395
+ #: ../lib/pz-linkcard-settings.php:123
396
  msgid "Not changed."
397
  msgstr "設定は変更されませんでした。"
398
 
399
+ #: ../lib/pz-linkcard-settings.php:133
400
  msgid "Error"
401
+ msgstr "エラー"
402
+
403
+ #: ../lib/pz-linkcard-settings.php:134
404
+ msgid "Basic"
405
+ msgstr "基本"
406
+
407
+ #: ../lib/pz-linkcard-settings.php:135
408
+ msgid "Position"
409
+ msgstr "配置"
410
+
411
+ #: ../lib/pz-linkcard-settings.php:136
412
+ msgid "Display"
413
+ msgstr "表示"
414
+
415
+ #: ../lib/pz-linkcard-settings.php:137
416
+ msgid "Letter"
417
+ msgstr "文字"
418
+
419
+ #: ../lib/pz-linkcard-settings.php:138
420
+ msgid "External link"
421
+ msgstr "外部リンク"
422
 
423
+ #: ../lib/pz-linkcard-settings.php:139
424
+ msgid "Internal link"
425
+ msgstr "内部リンク"
426
+
427
+ #: ../lib/pz-linkcard-settings.php:140
428
+ msgid "Same page link"
429
+ msgstr "同ページ"
430
+
431
+ #: ../lib/pz-linkcard-settings.php:141
432
+ msgid "Web API"
433
+ msgstr ""
434
+
435
+ #: ../lib/pz-linkcard-settings.php:142
436
+ msgid "Link check"
437
+ msgstr "検査"
438
+
439
+ #: ../lib/pz-linkcard-settings.php:143
440
+ msgid "Editor"
441
+ msgstr "エディタ"
442
+
443
+ #: ../lib/pz-linkcard-settings.php:144
444
+ msgid "Advanced"
445
+ msgstr "上級者向け"
446
+
447
+ #: ../lib/pz-linkcard-settings.php:145 ../lib/pz-linkcard-settings.php:1117
448
+ msgid "Initialize"
449
+ msgstr "初期化"
450
+
451
+ #: ../lib/pz-linkcard-settings.php:150
452
+ msgid "Error settings"
453
+ msgstr "エラーの設定"
454
+
455
+ #: ../lib/pz-linkcard-settings.php:153
456
  msgid "Invalid URL"
457
  msgstr "URL指定エラー"
458
 
459
+ #: ../lib/pz-linkcard-settings.php:154
460
  msgid "Uncheck to cancel the error condition."
461
  msgstr "チェックを外すとエラー状態を解除します。"
462
 
463
+ #: ../lib/pz-linkcard-settings.php:157
464
  msgid "Error URL"
465
  msgstr "URL指定エラー"
466
 
467
+ #: ../lib/pz-linkcard-settings.php:161
468
  msgid "Error Time"
469
  msgstr "エラー発生時刻"
470
 
471
+ #: ../lib/pz-linkcard-settings.php:169
472
  msgid "Basic settings"
473
  msgstr "基本の設定"
474
 
475
+ #: ../lib/pz-linkcard-settings.php:172
476
  msgid "Easy format"
477
  msgstr "かんたん書式設定"
478
 
479
+ #: ../lib/pz-linkcard-settings.php:175 ../lib/pz-linkcard-settings.php:407
480
+ #: ../lib/pz-linkcard-settings.php:448 ../lib/pz-linkcard-settings.php:457
481
+ #: ../lib/pz-linkcard-settings.php:496 ../lib/pz-linkcard-settings.php:510
482
+ #: ../lib/pz-linkcard-settings.php:550 ../lib/pz-linkcard-settings.php:564
483
+ #: ../lib/pz-linkcard-settings.php:715 ../lib/pz-linkcard-settings.php:727
484
+ #: ../lib/pz-linkcard-settings.php:746 ../lib/pz-linkcard-settings.php:788
485
+ #: ../lib/pz-linkcard-settings.php:799 ../lib/pz-linkcard-settings.php:818
486
  msgid "None"
487
  msgstr "なし"
488
 
489
+ #: ../lib/pz-linkcard-settings.php:176
490
  msgid "Pz-LkC Default"
491
  msgstr "Pz リンクカード オリジナル"
492
 
493
+ #: ../lib/pz-linkcard-settings.php:177
494
  msgid "Normal"
495
  msgstr "ノーマル(はてなブログカード風)"
496
 
497
+ #: ../lib/pz-linkcard-settings.php:178
498
  msgid "Enclose"
499
  msgstr "囲み"
500
 
501
+ #: ../lib/pz-linkcard-settings.php:179
502
+ msgid "Compact"
503
+ msgstr "コンパクト"
504
+
505
+ #: ../lib/pz-linkcard-settings.php:180
506
  msgid "Reflection"
507
  msgstr "反射"
508
 
509
+ #: ../lib/pz-linkcard-settings.php:181
510
  msgid "Simple"
511
  msgstr "シンプル"
512
 
513
+ #: ../lib/pz-linkcard-settings.php:182
514
  msgid "Headline"
515
  msgstr "見出し(付加情報のテキストが見出しとして表示されます)"
516
 
517
+ #: ../lib/pz-linkcard-settings.php:183
518
  msgid "Cellophane tape \"center\""
519
  msgstr "セロハンテープ(中央)"
520
 
521
+ #: ../lib/pz-linkcard-settings.php:184
522
  msgid "Cellophane tape \"Top corner\""
523
  msgstr "セロハンテープ(左上と右上)"
524
 
525
+ #: ../lib/pz-linkcard-settings.php:185
526
  msgid "Cellophane tape \"long\""
527
  msgstr "セロハンテープ(長め)"
528
 
529
+ #: ../lib/pz-linkcard-settings.php:186
530
  msgid "Cellophane tape \"digonal\""
531
  msgstr "セロハンテープ(斜め)"
532
 
533
+ #: ../lib/pz-linkcard-settings.php:187
534
  msgid "Curling paper"
535
  msgstr "紙がめくれた効果"
536
 
537
+ #: ../lib/pz-linkcard-settings.php:188
538
  msgid "Cellophane tape and curling"
539
  msgstr "セロハンテープと紙めくれた効果"
540
 
541
+ #: ../lib/pz-linkcard-settings.php:189
542
  msgid "Stitch blue & red"
543
  msgstr "縫い目(青と赤)"
544
 
545
+ #: ../lib/pz-linkcard-settings.php:190
546
  msgid "Stitch green & yellow"
547
  msgstr "縫い目(緑と黄色)"
548
 
549
+ #: ../lib/pz-linkcard-settings.php:191
550
  msgid "Square"
551
  msgstr "スクエア"
552
 
553
+ #: ../lib/pz-linkcard-settings.php:192
554
  msgid "Infomation orange"
555
  msgstr "インフォメーション オレンジ"
556
 
557
+ #: ../lib/pz-linkcard-settings.php:193
558
  msgid "Neutral bluegreen"
559
  msgstr "ニュートラル ブルーグリーン"
560
 
561
+ #: ../lib/pz-linkcard-settings.php:194
562
  msgid "Enlightened green"
563
  msgstr "エンライテド グリーン"
564
 
565
+ #: ../lib/pz-linkcard-settings.php:195
566
  msgid "Resistance blue"
567
  msgstr "レジスタンス ブルー"
568
 
569
+ #: ../lib/pz-linkcard-settings.php:196
570
  msgid "Windows XP"
571
  msgstr ""
572
 
573
+ #: ../lib/pz-linkcard-settings.php:197
574
  msgid "Windows 95"
575
  msgstr ""
576
 
577
+ #: ../lib/pz-linkcard-settings.php:198
578
  msgid "Slanting"
579
  msgstr "斜め"
580
 
581
+ #: ../lib/pz-linkcard-settings.php:199
582
  msgid "3D Rotate"
583
  msgstr "3D回転"
584
 
585
+ #: ../lib/pz-linkcard-settings.php:200
586
  msgid "Pushpin"
587
  msgstr "押しピン"
588
 
589
+ #: ../lib/pz-linkcard-settings.php:202
590
+ msgid "It applies over other formatting settings."
591
+ msgstr "ほかの項目よりも優先して適用されます。"
592
 
593
+ #: ../lib/pz-linkcard-settings.php:207
594
  msgid "How to (Japanese only)"
595
  msgstr "使い方"
596
 
597
+ #: ../lib/pz-linkcard-settings.php:212
598
+ msgid "Author's site"
599
+ msgstr "作者のサイト"
600
+
601
+ #: ../lib/pz-linkcard-settings.php:213
602
+ msgid "Popozure."
603
+ msgstr "ぽぽづれ。"
604
+
605
+ #: ../lib/pz-linkcard-settings.php:213
606
+ msgid "Poporon's PC daily diary"
607
+ msgstr "ぽぽろんのパソコンつれづれ(ズレズレ?)日記"
608
+
609
+ #: ../lib/pz-linkcard-settings.php:216
610
+ msgid "When in trouble"
611
+ msgstr "困ったときは"
612
+
613
+ #: ../lib/pz-linkcard-settings.php:217
614
+ msgid "Twitter account"
615
+ msgstr "ツイッター アカウント"
616
+
617
+ #: ../lib/pz-linkcard-settings.php:220
618
+ msgid "Donation"
619
+ msgstr "寄付"
620
+
621
+ #: ../lib/pz-linkcard-settings.php:228
622
  msgid "Position settings"
623
  msgstr "配置の設定"
624
 
625
+ #: ../lib/pz-linkcard-settings.php:231
626
  msgid "Use blockquote tag"
627
  msgstr "BLOCKQUOTEタグを使用する"
628
 
629
+ #: ../lib/pz-linkcard-settings.php:232
630
  msgid "without using DIV tag, and use BLOCKQUOTE tag"
631
  msgstr "&lt;BLOCKQUOTE&gt;で囲んで引用扱いにします"
632
 
633
+ #: ../lib/pz-linkcard-settings.php:236
634
  msgid "Link the whole"
635
  msgstr "カード全体をリンク"
636
 
637
+ #: ../lib/pz-linkcard-settings.php:240
638
  msgid "Enclose the entire card at anchor"
639
  msgstr ""
640
  "カード全体をAタグで囲って、どこをクリックしてもリンク先を開くようにします。"
641
 
642
+ #: ../lib/pz-linkcard-settings.php:246
643
  msgid "Margin"
644
  msgstr "余白"
645
 
646
+ #: ../lib/pz-linkcard-settings.php:253 ../lib/pz-linkcard-settings.php:286
647
  msgid "Margin top"
648
  msgstr "上の余白"
649
 
650
+ #: ../lib/pz-linkcard-settings.php:255 ../lib/pz-linkcard-settings.php:271
651
+ #: ../lib/pz-linkcard-settings.php:288 ../lib/pz-linkcard-settings.php:304
652
+ #: ../lib/pz-linkcard-settings.php:318 ../lib/pz-linkcard-settings.php:340
653
+ #: ../lib/pz-linkcard-settings.php:358 ../lib/pz-linkcard-settings.php:376
654
  msgid "Not defined"
655
  msgstr "設定しない"
656
 
657
+ #: ../lib/pz-linkcard-settings.php:256 ../lib/pz-linkcard-settings.php:272
658
+ #: ../lib/pz-linkcard-settings.php:296 ../lib/pz-linkcard-settings.php:312
659
+ #: ../lib/pz-linkcard-settings.php:326 ../lib/pz-linkcard-settings.php:348
660
+ #: ../lib/pz-linkcard-settings.php:359 ../lib/pz-linkcard-settings.php:377
661
  msgid "0"
662
  msgstr ""
663
 
664
+ #: ../lib/pz-linkcard-settings.php:257 ../lib/pz-linkcard-settings.php:273
665
+ #: ../lib/pz-linkcard-settings.php:289 ../lib/pz-linkcard-settings.php:305
666
+ #: ../lib/pz-linkcard-settings.php:319 ../lib/pz-linkcard-settings.php:341
667
+ #: ../lib/pz-linkcard-settings.php:360 ../lib/pz-linkcard-settings.php:378
668
+ #: ../lib/pz-linkcard-settings.php:497
669
  msgid "4px"
670
  msgstr ""
671
 
672
+ #: ../lib/pz-linkcard-settings.php:258 ../lib/pz-linkcard-settings.php:274
673
+ #: ../lib/pz-linkcard-settings.php:290 ../lib/pz-linkcard-settings.php:306
674
+ #: ../lib/pz-linkcard-settings.php:320 ../lib/pz-linkcard-settings.php:342
675
+ #: ../lib/pz-linkcard-settings.php:361 ../lib/pz-linkcard-settings.php:379
676
+ #: ../lib/pz-linkcard-settings.php:498
677
  msgid "8px"
678
  msgstr ""
679
 
680
+ #: ../lib/pz-linkcard-settings.php:259 ../lib/pz-linkcard-settings.php:275
681
+ #: ../lib/pz-linkcard-settings.php:291 ../lib/pz-linkcard-settings.php:307
682
+ #: ../lib/pz-linkcard-settings.php:321 ../lib/pz-linkcard-settings.php:343
683
+ #: ../lib/pz-linkcard-settings.php:362 ../lib/pz-linkcard-settings.php:380
684
+ #: ../lib/pz-linkcard-settings.php:499
685
  msgid "16px"
686
  msgstr ""
687
 
688
+ #: ../lib/pz-linkcard-settings.php:260 ../lib/pz-linkcard-settings.php:276
689
+ #: ../lib/pz-linkcard-settings.php:293 ../lib/pz-linkcard-settings.php:309
690
+ #: ../lib/pz-linkcard-settings.php:323 ../lib/pz-linkcard-settings.php:345
691
+ #: ../lib/pz-linkcard-settings.php:363 ../lib/pz-linkcard-settings.php:381
692
+ #: ../lib/pz-linkcard-settings.php:500
693
  msgid "32px"
694
  msgstr ""
695
 
696
+ #: ../lib/pz-linkcard-settings.php:261 ../lib/pz-linkcard-settings.php:277
697
+ #: ../lib/pz-linkcard-settings.php:294 ../lib/pz-linkcard-settings.php:310
698
+ #: ../lib/pz-linkcard-settings.php:324 ../lib/pz-linkcard-settings.php:346
699
+ #: ../lib/pz-linkcard-settings.php:364 ../lib/pz-linkcard-settings.php:382
700
  msgid "40px"
701
  msgstr ""
702
 
703
+ #: ../lib/pz-linkcard-settings.php:262 ../lib/pz-linkcard-settings.php:278
704
+ #: ../lib/pz-linkcard-settings.php:295 ../lib/pz-linkcard-settings.php:311
705
+ #: ../lib/pz-linkcard-settings.php:325 ../lib/pz-linkcard-settings.php:347
706
+ #: ../lib/pz-linkcard-settings.php:365 ../lib/pz-linkcard-settings.php:383
707
+ #: ../lib/pz-linkcard-settings.php:501
708
  msgid "64px"
709
  msgstr ""
710
 
711
+ #: ../lib/pz-linkcard-settings.php:269 ../lib/pz-linkcard-settings.php:302
712
  msgid "Margin left"
713
  msgstr "左の余白"
714
 
715
+ #: ../lib/pz-linkcard-settings.php:292 ../lib/pz-linkcard-settings.php:308
716
+ #: ../lib/pz-linkcard-settings.php:322 ../lib/pz-linkcard-settings.php:344
717
  msgid "24px"
718
  msgstr ""
719
 
720
+ #: ../lib/pz-linkcard-settings.php:316 ../lib/pz-linkcard-settings.php:356
721
  msgid "Margin right"
722
  msgstr "右の余白"
723
 
724
+ #: ../lib/pz-linkcard-settings.php:332 ../lib/pz-linkcard-settings.php:463
725
+ #: ../lib/pz-linkcard-settings.php:537
726
  msgid "Width"
727
  msgstr "幅"
728
 
729
+ #: ../lib/pz-linkcard-settings.php:333 ../lib/pz-linkcard-settings.php:465
730
+ #: ../lib/pz-linkcard-settings.php:592 ../lib/pz-linkcard-settings.php:611
731
+ #: ../lib/pz-linkcard-settings.php:630 ../lib/pz-linkcard-settings.php:648
732
+ #: ../lib/pz-linkcard-settings.php:665 ../lib/pz-linkcard-settings.php:683
733
  msgid "Height"
734
  msgstr "高さ"
735
 
736
+ #: ../lib/pz-linkcard-settings.php:338 ../lib/pz-linkcard-settings.php:374
737
  msgid "Margin bottom"
738
  msgstr "下の余白"
739
 
740
+ #: ../lib/pz-linkcard-settings.php:371
741
  msgid "Centering"
742
  msgstr "中央に寄せる"
743
 
744
+ #: ../lib/pz-linkcard-settings.php:396
745
  msgid "Display settings"
746
  msgstr "表示の設定"
747
 
748
+ #: ../lib/pz-linkcard-settings.php:399
749
  msgid "Layout"
750
  msgstr "外観設定"
751
 
752
+ #: ../lib/pz-linkcard-settings.php:405 ../lib/pz-linkcard-settings.php:655
753
  msgid "Site information"
754
  msgstr "サイト情報"
755
 
756
+ #: ../lib/pz-linkcard-settings.php:408
757
  msgid "Top"
758
  msgstr "上側"
759
 
760
+ #: ../lib/pz-linkcard-settings.php:409
761
  msgid "Above the title"
762
  msgstr "タイトルの上側"
763
 
764
+ #: ../lib/pz-linkcard-settings.php:410
765
  msgid "Bottom"
766
  msgstr "下側"
767
 
768
+ #: ../lib/pz-linkcard-settings.php:412
769
  msgid "Use SiteName"
770
  msgstr "サイト名称を使用"
771
 
772
+ #: ../lib/pz-linkcard-settings.php:417
773
  msgid "For internal links, display the posting date"
774
  msgstr "内部リンクの場合に投稿日を表示する"
775
 
776
+ #: ../lib/pz-linkcard-settings.php:424
777
  msgid "Make additional information heading display"
778
  msgstr "付加情報を見出し表示にする"
779
 
780
+ #: ../lib/pz-linkcard-settings.php:431
781
  msgid "Turn off the anchor text underlining"
782
  msgstr "リンク文字のアンダーラインを除去する"
783
 
784
+ #: ../lib/pz-linkcard-settings.php:438
785
  msgid "Separator line"
786
  msgstr "区切り線"
787
 
788
+ #: ../lib/pz-linkcard-settings.php:446
789
  msgid "Display URL"
790
  msgstr "リンク先URLの表示"
791
 
792
+ #: ../lib/pz-linkcard-settings.php:449
793
  msgid "Under title"
794
  msgstr "タイトルの下"
795
 
796
+ #: ../lib/pz-linkcard-settings.php:450 ../lib/pz-linkcard-settings.php:566
797
  msgid "Bihind site-info"
798
  msgstr "サイト情報の後ろ"
799
 
800
+ #: ../lib/pz-linkcard-settings.php:455 ../lib/pz-linkcard-settings.php:712
801
+ #: ../lib/pz-linkcard-settings.php:785 ../lib/pz-linkcard-settings.php:858
802
  msgid "Thumbnail"
803
  msgstr "サムネイル"
804
 
805
+ #: ../lib/pz-linkcard-settings.php:458
806
  msgid "Right"
807
  msgstr "右側"
808
 
809
+ #: ../lib/pz-linkcard-settings.php:459
810
  msgid "Left"
811
  msgstr "左側"
812
 
813
+ #: ../lib/pz-linkcard-settings.php:460
814
  msgid "Upper"
815
  msgstr "上側"
816
 
817
+ #: ../lib/pz-linkcard-settings.php:467 ../lib/pz-linkcard-settings.php:489
818
  msgid "Shadow"
819
  msgstr "影を付ける"
820
 
821
+ #: ../lib/pz-linkcard-settings.php:472
822
  msgid "Hollow content area"
823
  msgstr "記事の情報に枠を付ける"
824
 
825
+ #: ../lib/pz-linkcard-settings.php:477
826
  msgid "Display excerpt"
827
  msgstr "抜粋文を表示する"
828
 
829
+ #: ../lib/pz-linkcard-settings.php:482
830
  msgid "Hollow"
831
  msgstr "内側に影を付ける"
832
 
833
+ #: ../lib/pz-linkcard-settings.php:494
834
  msgid "Round a square"
835
  msgstr "角を丸める"
836
 
837
+ #: ../lib/pz-linkcard-settings.php:508
838
  msgid "When the mouse is on"
839
  msgstr "マウスが上に乗ったとき、"
840
 
841
+ #: ../lib/pz-linkcard-settings.php:511
842
  msgid "Lighten"
843
  msgstr "薄色にする"
844
 
845
+ #: ../lib/pz-linkcard-settings.php:512
846
  msgid "Hover (light)"
847
  msgstr "浮かせる(薄色)"
848
 
849
+ #: ../lib/pz-linkcard-settings.php:513
850
  msgid "Hover (dark)"
851
  msgstr "浮かせる(濃色)"
852
 
853
+ #: ../lib/pz-linkcard-settings.php:514
854
  msgid "Radius"
855
  msgstr "角を丸める"
856
 
857
+ #: ../lib/pz-linkcard-settings.php:524
858
  msgid "Border"
859
  msgstr "枠線の太さ"
860
 
861
+ #: ../lib/pz-linkcard-settings.php:527
 
 
 
 
 
 
 
862
  msgid "none"
863
  msgstr "なし"
864
 
865
+ #: ../lib/pz-linkcard-settings.php:528
866
  msgid "solid"
867
  msgstr "solid/実線"
868
 
869
+ #: ../lib/pz-linkcard-settings.php:529
870
  msgid "dotted"
871
  msgstr "dotted/点線"
872
 
873
+ #: ../lib/pz-linkcard-settings.php:530
874
  msgid "dashed"
875
  msgstr "dashed/破線"
876
 
877
+ #: ../lib/pz-linkcard-settings.php:531
878
  msgid "double"
879
  msgstr "double/二重線"
880
 
881
+ #: ../lib/pz-linkcard-settings.php:532
882
  msgid "groove"
883
  msgstr "groove/立体(へこみ)"
884
 
885
+ #: ../lib/pz-linkcard-settings.php:533
886
  msgid "ridge"
887
  msgstr "ridge/立体(隆起)"
888
 
889
+ #: ../lib/pz-linkcard-settings.php:534
890
  msgid "inset"
891
  msgstr "inset/立体(押したボタンのような効果)"
892
 
893
+ #: ../lib/pz-linkcard-settings.php:535
894
  msgid "outset"
895
  msgstr "outset/立体(ボタンのような効果)"
896
 
897
+ #: ../lib/pz-linkcard-settings.php:542
898
  msgid "Reset img style"
899
  msgstr "CSSリセット(img)"
900
 
901
+ #: ../lib/pz-linkcard-settings.php:543
902
  msgid ""
903
  "When unnecessary frame is displayed on the image, you can improve it by case"
904
  msgstr "画像がずれて表示されるときに改善される可能性が有ります(推奨)"
905
 
906
+ #: ../lib/pz-linkcard-settings.php:547 ../lib/pz-linkcard-settings.php:638
907
  msgid "More button"
908
  msgstr "続きを読むボタン"
909
 
910
+ #: ../lib/pz-linkcard-settings.php:551
911
  msgid "Text link"
912
  msgstr "テキストリンク"
913
 
914
+ #: ../lib/pz-linkcard-settings.php:552
915
  msgid "Simple button"
916
  msgstr "シンプルなボタン"
917
 
918
+ #: ../lib/pz-linkcard-settings.php:553
919
  msgid "Blue"
920
  msgstr "ブルー"
921
 
922
+ #: ../lib/pz-linkcard-settings.php:554
923
  msgid "Dark"
924
  msgstr "ダーク"
925
 
926
+ #: ../lib/pz-linkcard-settings.php:556
 
 
 
 
927
  msgid ""
928
  "It is recommended that you leave the card height blank when using this "
929
  "setting."
930
  msgstr "この設定を使用するときはカードの高さを空欄にすることをお勧めします。"
931
 
932
+ #: ../lib/pz-linkcard-settings.php:561
933
  msgid "Display SNS Count"
934
  msgstr "シェア数を表示する"
935
 
936
+ #: ../lib/pz-linkcard-settings.php:565
937
  msgid "Bihind title"
938
  msgstr "タイトルの後ろ"
939
 
940
+ #: ../lib/pz-linkcard-settings.php:568
941
  msgid "Twitter"
942
  msgstr "ツイッター"
943
 
944
+ #: ../lib/pz-linkcard-settings.php:569
945
  msgid "Facebook"
946
  msgstr "フェイスブック(シェア数)"
947
 
948
+ #: ../lib/pz-linkcard-settings.php:570
949
  msgid "Hatena"
950
  msgstr "はてなブックマーク"
951
 
952
+ #: ../lib/pz-linkcard-settings.php:571
953
  msgid "Pocket"
954
  msgstr ""
955
 
956
+ #: ../lib/pz-linkcard-settings.php:578
957
  msgid "Letter settings"
958
  msgstr "文字の設定"
959
 
960
+ #: ../lib/pz-linkcard-settings.php:584 ../lib/pz-linkcard-settings.php:603
961
+ #: ../lib/pz-linkcard-settings.php:622 ../lib/pz-linkcard-settings.php:640
962
+ #: ../lib/pz-linkcard-settings.php:657 ../lib/pz-linkcard-settings.php:675
963
+ msgid "Color"
964
+ msgstr "色"
965
+
966
+ #: ../lib/pz-linkcard-settings.php:585 ../lib/pz-linkcard-settings.php:604
967
+ #: ../lib/pz-linkcard-settings.php:623 ../lib/pz-linkcard-settings.php:641
968
+ #: ../lib/pz-linkcard-settings.php:658 ../lib/pz-linkcard-settings.php:676
969
  msgid "Outline"
970
  msgstr "縁取り"
971
 
972
+ #: ../lib/pz-linkcard-settings.php:589 ../lib/pz-linkcard-settings.php:608
973
+ #: ../lib/pz-linkcard-settings.php:627 ../lib/pz-linkcard-settings.php:645
974
+ #: ../lib/pz-linkcard-settings.php:662 ../lib/pz-linkcard-settings.php:680
975
  msgid "Size"
976
  msgstr "大きさ"
977
 
978
+ #: ../lib/pz-linkcard-settings.php:595 ../lib/pz-linkcard-settings.php:614
979
+ #: ../lib/pz-linkcard-settings.php:633 ../lib/pz-linkcard-settings.php:668
980
  msgid "Length"
981
  msgstr "桁数"
982
 
983
+ #: ../lib/pz-linkcard-settings.php:596 ../lib/pz-linkcard-settings.php:615
984
  msgid "No wrap"
985
  msgstr "折り返さない"
986
 
987
+ #: ../lib/pz-linkcard-settings.php:673 ../lib/pz-linkcard-settings.php:735
988
+ #: ../lib/pz-linkcard-settings.php:807 ../lib/pz-linkcard-settings.php:866
989
  msgid "Added information"
990
  msgstr "付加情報"
991
 
992
+ #: ../lib/pz-linkcard-settings.php:688
993
  msgid "Resize"
994
  msgstr "幅に合わせて縮小"
995
 
996
+ #: ../lib/pz-linkcard-settings.php:689
997
  msgid "Adjust thumbnail and letter size according to width"
998
  msgstr "画面幅に合わせて文字とサムネイルの大きさを調整します。"
999
 
1000
+ #: ../lib/pz-linkcard-settings.php:696
1001
  msgid "External link settings"
1002
  msgstr "外部リンクの設定"
1003
 
1004
+ #: ../lib/pz-linkcard-settings.php:700 ../lib/pz-linkcard-settings.php:773
1005
+ #: ../lib/pz-linkcard-settings.php:846
1006
+ msgid "Border Color"
1007
+ msgstr "枠線の色"
1008
+
1009
+ #: ../lib/pz-linkcard-settings.php:704 ../lib/pz-linkcard-settings.php:777
1010
+ #: ../lib/pz-linkcard-settings.php:850
1011
  msgid "Background Color"
1012
  msgstr "背景色"
1013
 
1014
+ #: ../lib/pz-linkcard-settings.php:708
1015
  msgid "Background image"
1016
  msgstr "背景画像"
1017
 
1018
+ #: ../lib/pz-linkcard-settings.php:716 ../lib/pz-linkcard-settings.php:728
1019
+ #: ../lib/pz-linkcard-settings.php:789 ../lib/pz-linkcard-settings.php:800
1020
  msgid "Direct"
1021
  msgstr "直接取得する"
1022
 
1023
+ #: ../lib/pz-linkcard-settings.php:717 ../lib/pz-linkcard-settings.php:729
1024
+ #: ../lib/pz-linkcard-settings.php:790 ../lib/pz-linkcard-settings.php:801
1025
  msgid "Use WebAPI"
1026
  msgstr "WebAPIを利用する"
1027
 
1028
+ #: ../lib/pz-linkcard-settings.php:718 ../lib/pz-linkcard-settings.php:730
1029
+ #: ../lib/pz-linkcard-settings.php:791 ../lib/pz-linkcard-settings.php:802
1030
  msgid "Use WebAPI ,If can not direct"
1031
  msgstr "直接取得できない場合、WebAPIを利用する"
1032
 
1033
+ #: ../lib/pz-linkcard-settings.php:724 ../lib/pz-linkcard-settings.php:796
1034
+ #: ../lib/pz-linkcard-settings.php:862
1035
  msgid "Favicon"
1036
  msgstr "サイトアイコン"
1037
 
1038
+ #: ../lib/pz-linkcard-settings.php:739 ../lib/pz-linkcard-settings.php:811
1039
+ #: ../lib/pz-linkcard-settings.php:870
1040
  msgid "Text of more button"
1041
  msgstr "続きを読むボタンの文字"
1042
 
1043
+ #: ../lib/pz-linkcard-settings.php:743 ../lib/pz-linkcard-settings.php:815
1044
+ #: ../lib/pz-linkcard-settings.php:874
1045
  msgid "Open new window/tab"
1046
  msgstr "新しいウィンドウで開く"
1047
 
1048
+ #: ../lib/pz-linkcard-settings.php:747 ../lib/pz-linkcard-settings.php:819
1049
  msgid "All client"
1050
  msgstr "すべての端末"
1051
 
1052
+ #: ../lib/pz-linkcard-settings.php:748 ../lib/pz-linkcard-settings.php:820
1053
  msgid "Other than mobile"
1054
  msgstr "モバイル端末以外"
1055
 
1056
+ #: ../lib/pz-linkcard-settings.php:753 ../lib/pz-linkcard-settings.php:825
1057
+ #: ../lib/pz-linkcard-settings.php:878
1058
  msgid "Get contents"
1059
  msgstr "記事取得方法"
1060
 
1061
+ #: ../lib/pz-linkcard-settings.php:755 ../lib/pz-linkcard-settings.php:831
1062
  msgid "Initially acquired only from the content"
1063
  msgstr "カード管理画面に記録されている内容から表示する"
1064
 
1065
+ #: ../lib/pz-linkcard-settings.php:759
1066
  msgid "Set nofollow"
1067
  msgstr "nofollowを付与する"
1068
 
1069
+ #: ../lib/pz-linkcard-settings.php:760
1070
  msgid "In the case of an external site, it puts the \"nofollow\""
1071
  msgstr "外部リンクのリンクを nofollow にする"
1072
 
1073
+ #: ../lib/pz-linkcard-settings.php:763
1074
  msgid "Use HatenaBlogCard"
1075
  msgstr "はてなブログカードを利用する"
1076
 
1077
+ #: ../lib/pz-linkcard-settings.php:764
1078
  msgid "External links will use Always HatenaBlogCard."
1079
  msgstr "外部リンクは「はてなブログカード」を利用する"
1080
 
1081
+ #: ../lib/pz-linkcard-settings.php:764 ../lib/pz-linkcard-settings.php:1110
1082
  msgid "(Not recommended)"
1083
  msgstr "(非推奨)"
1084
 
1085
+ #: ../lib/pz-linkcard-settings.php:770
1086
  msgid "Internal link settings"
1087
  msgstr "内部リンクの設定"
1088
 
1089
+ #: ../lib/pz-linkcard-settings.php:781 ../lib/pz-linkcard-settings.php:854
1090
  msgid "Background Image"
1091
  msgstr "背景画像"
1092
 
1093
+ #: ../lib/pz-linkcard-settings.php:829
1094
  msgid "Always get the latest from the content"
1095
  msgstr "常に最新の記事内容から抜粋文を作成する"
1096
 
1097
+ #: ../lib/pz-linkcard-settings.php:830
1098
  msgid "Always get the latest from the excerpt"
1099
  msgstr "抜粋文が設定されている投稿はそちらを優先する"
1100
 
1101
+ #: ../lib/pz-linkcard-settings.php:836 ../lib/pz-linkcard-settings.php:882
1102
  msgid "Retry get PID"
1103
  msgstr "記事URLの再取得"
1104
 
1105
+ #: ../lib/pz-linkcard-settings.php:837
1106
  msgid "When the `Post ID` can not be acquired, it is acquired again."
1107
  msgstr "記事IDが取得できなかった場合に、リダイレクト先のURLを取得する。"
1108
 
1109
+ #: ../lib/pz-linkcard-settings.php:843
1110
  msgid "Same-page link settings"
1111
  msgstr "同ページへのリンクの設定"
1112
 
1113
+ #: ../lib/pz-linkcard-settings.php:859 ../lib/pz-linkcard-settings.php:863
1114
+ #: ../lib/pz-linkcard-settings.php:875 ../lib/pz-linkcard-settings.php:879
1115
+ #: ../lib/pz-linkcard-settings.php:883
1116
  msgid "It is common with setting Internal-link"
1117
  msgstr "内部リンク用の設定が使用されます"
1118
 
1119
+ #: ../lib/pz-linkcard-settings.php:871
1120
+ msgid "Cannot set"
1121
+ msgstr "設定できません"
1122
+
1123
+ #: ../lib/pz-linkcard-settings.php:889
1124
  msgid "Web-API settings"
1125
  msgstr "画像取得APIの設定"
1126
 
1127
+ #: ../lib/pz-linkcard-settings.php:892
1128
  msgid "Favicon API"
1129
  msgstr "ファビコンの取得API"
1130
 
1131
+ #: ../lib/pz-linkcard-settings.php:895
1132
+ msgid "%DOMAIN% replace to domain name."
1133
+ msgstr "%DOMAIN% と記述するとドメイン名に置き換わります。"
1134
+
1135
+ #: ../lib/pz-linkcard-settings.php:895 ../lib/pz-linkcard-settings.php:904
1136
+ msgid "ex."
1137
+ msgstr "例."
 
1138
 
1139
+ #: ../lib/pz-linkcard-settings.php:895
1140
+ msgid "%DOMAIN_URL% replace to domain URL."
1141
+ msgstr "%DOMAIN_URL% と記述するとドメインのURLに置き換わります。"
1142
+
1143
+ #: ../lib/pz-linkcard-settings.php:895 ../lib/pz-linkcard-settings.php:904
1144
  msgid "%URL% replace to URL."
1145
  msgstr "%URL% と記述すると記事のURLに置き換わります。"
1146
 
1147
+ #: ../lib/pz-linkcard-settings.php:896 ../lib/pz-linkcard-settings.php:905
1148
  msgid "ex1."
1149
  msgstr "例1."
1150
 
1151
+ #: ../lib/pz-linkcard-settings.php:897 ../lib/pz-linkcard-settings.php:906
1152
  msgid "ex2."
1153
  msgstr "例2."
1154
 
1155
+ #: ../lib/pz-linkcard-settings.php:901
1156
  msgid "Thumbnail API"
1157
  msgstr "サムネイル画像の取得API"
1158
 
1159
+ #: ../lib/pz-linkcard-settings.php:913
1160
+ msgid "Link check settings"
1161
+ msgstr "リンク先検査の設定"
1162
 
1163
+ #: ../lib/pz-linkcard-settings.php:916
1164
  msgid "Do not link at error"
1165
  msgstr "エラーのときリンクしない"
1166
 
1167
+ #: ../lib/pz-linkcard-settings.php:917
1168
  msgid "When access status is \"403\", \"404\", \"410\", unlink"
1169
  msgstr "ステータスが「403」「404」「410」のときにリンクを無効にします"
1170
 
1171
+ #: ../lib/pz-linkcard-settings.php:920
1172
  msgid "SSL verification disabled"
1173
  msgstr "SSL検証を無効"
1174
 
1175
+ #: ../lib/pz-linkcard-settings.php:921
1176
  msgid "Try setting if the contents of the SSL site can not be acquired."
1177
  msgstr ""
1178
  "SSLサイトのタイトルや記事内容が取得できない場合に設定することで取得できる可能"
1179
  "性があります。"
1180
 
1181
+ #: ../lib/pz-linkcard-settings.php:924
1182
  msgid "Follow location"
1183
  msgstr "リダイレクト処理"
1184
 
1185
+ #: ../lib/pz-linkcard-settings.php:925
1186
  msgid "Track when the link destination is redirected."
1187
  msgstr "リンク先がリダイレクトされている場合に追跡します。"
1188
 
1189
+ #: ../lib/pz-linkcard-settings.php:928
1190
  msgid "Set referer"
1191
  msgstr "リファラーの通知"
1192
 
1193
+ #: ../lib/pz-linkcard-settings.php:929
1194
  msgid "Notify the article URL to the link destination."
1195
  msgstr "リンク先に記事のURLを知らせます。"
1196
 
1197
+ #: ../lib/pz-linkcard-settings.php:932
1198
  msgid "Use User-Agent"
1199
  msgstr "ユーザーエージェントの通知"
1200
 
1201
+ #: ../lib/pz-linkcard-settings.php:934
1202
  msgid "Notify using Pz-LinkCard to the link destination."
1203
  msgstr "リンク先にPz-LinkCardを使用していることを知らせます。"
1204
 
1205
+ #: ../lib/pz-linkcard-settings.php:939
1206
  msgid "Broken link checker"
1207
  msgstr "リンク切れチェック"
1208
 
1209
+ #: ../lib/pz-linkcard-settings.php:940
1210
  msgid "Alive confirmation of the link destination."
1211
  msgstr "リンク先がアクセスできるか定期的に確認します。"
1212
 
1213
+ #: ../lib/pz-linkcard-settings.php:943
1214
  msgid "Broken link count"
1215
  msgstr "リンク切れカウント"
1216
 
1217
+ #: ../lib/pz-linkcard-settings.php:944
1218
  msgid "The number of broken links is displayed next to the submenu."
1219
  msgstr "サブメニューの横にリンク切れの件数を表示します。"
1220
 
1221
+ #: ../lib/pz-linkcard-settings.php:947
1222
  msgid "Multi-site compatible"
1223
  msgstr "サブディレクトリを外部リンクにする"
1224
 
1225
+ #: ../lib/pz-linkcard-settings.php:948
1226
  msgid ""
1227
  "In the case of the multi-site of the subdirectory type, the site under the "
1228
  "subdirectory is judged as an external site."
1230
  "サブディレクトリ型のマルチサイトの場合で、メインサイトからサブサイトを外部サ"
1231
  "イトとして判定する。"
1232
 
1233
+ #: ../lib/pz-linkcard-settings.php:954
1234
  msgid "Editor settings"
1235
  msgstr "エディターの設定"
1236
 
1237
+ #: ../lib/pz-linkcard-settings.php:957
1238
  msgid "ShortCode 1"
1239
  msgstr "ショートコード 1"
1240
 
1241
+ #: ../lib/pz-linkcard-settings.php:959 ../lib/pz-linkcard-settings.php:977
1242
+ #: ../lib/pz-linkcard-settings.php:982 ../lib/pz-linkcard-settings.php:987
1243
  msgid "Case-sensitive"
1244
  msgstr "大文字と小文字を区別します"
1245
 
1246
+ #: ../lib/pz-linkcard-settings.php:962
1247
  msgid "Use inlinetext"
1248
  msgstr "ショートコードで囲んだ文字列"
1249
 
1250
+ #: ../lib/pz-linkcard-settings.php:966
1251
  msgid "No use"
1252
  msgstr "使用しない"
1253
 
1254
+ #: ../lib/pz-linkcard-settings.php:967
1255
  msgid "Use to excerpt"
1256
  msgstr "抜粋文として使用"
1257
 
1258
+ #: ../lib/pz-linkcard-settings.php:968
1259
  msgid "Use to title"
1260
  msgstr "タイトルとして使用"
1261
 
1262
+ #: ../lib/pz-linkcard-settings.php:971
1263
  msgid "This setting applies only to the Shortcode1"
1264
  msgstr "ショートコード1にのみ適用されます"
1265
 
1266
+ #: ../lib/pz-linkcard-settings.php:975
1267
  msgid "ShortCode 2"
1268
  msgstr "ショートコード 2"
1269
 
1270
+ #: ../lib/pz-linkcard-settings.php:980
1271
  msgid "ShortCode 3"
1272
  msgstr "ショートコード 3"
1273
 
1274
+ #: ../lib/pz-linkcard-settings.php:985
1275
  msgid "ShortCode 4"
1276
  msgstr "ショートコード 4"
1277
 
1278
+ #: ../lib/pz-linkcard-settings.php:990
1279
  msgid "Parameters"
1280
  msgstr "パラメータ"
1281
 
1282
+ #: ../lib/pz-linkcard-settings.php:993
1283
  msgid ""
1284
  "For any shortcode you can change the title and excerpt with `title` "
1285
  "parameter and `content` parameter"
1287
  "どのショートコードでも title パラメータと content パラメータでタイトルと抜粋"
1288
  "文を指定できます。"
1289
 
1290
+ #: ../lib/pz-linkcard-settings.php:998
1291
  msgid "Convert text link"
1292
  msgstr "テキストリンク行の変換"
1293
 
1294
+ #: ../lib/pz-linkcard-settings.php:999
1295
  msgid "Convert lines with text link only to Linkcard."
1296
  msgstr "テキストリンクだけの行をリンクカードに変換する。"
1297
 
1298
+ #: ../lib/pz-linkcard-settings.php:1002
1299
  msgid "Convert URL"
1300
  msgstr "URL行の変換"
1301
 
1302
+ #: ../lib/pz-linkcard-settings.php:1003
1303
  msgid "Convert lines with URL only to Linkcard."
1304
  msgstr "URLだけの行をリンクカードに変換する。"
1305
 
1306
+ #: ../lib/pz-linkcard-settings.php:1006
1307
+ msgid "External link only"
1308
+ msgstr "外部リンクのみ"
1309
+
1310
+ #: ../lib/pz-linkcard-settings.php:1007
1311
+ msgid "Convert only external links."
1312
+ msgstr "外部リンクのときのみ変換します。"
1313
+
1314
+ #: ../lib/pz-linkcard-settings.php:1011
1315
+ msgid "Do shortcode"
1316
+ msgstr "ショートコード 実行"
1317
+
1318
+ #: ../lib/pz-linkcard-settings.php:1012
1319
+ msgid "Force shortcode development."
1320
+ msgstr "リンク・URLから変換したときにショートコードを強制的に実行する。"
1321
+
1322
+ #: ../lib/pz-linkcard-settings.php:1016
1323
  msgid "Add insert button"
1324
  msgstr "リンクカードボタンを追加"
1325
 
1326
+ #: ../lib/pz-linkcard-settings.php:1017
1327
  msgid "Add insert button to visual editor."
1328
  msgstr "ビジュアルエディタにリンクカードを挿入するボタンを追加する。"
1329
 
1330
+ #: ../lib/pz-linkcard-settings.php:1020
1331
  msgid "Add quick tag"
1332
  msgstr "クイックタグを追加"
1333
 
1334
+ #: ../lib/pz-linkcard-settings.php:1021
1335
  msgid "Add quick tag button to text editor."
1336
  msgstr "テキストエディタにリンクカードを挿入するボタンを追加する。"
1337
 
1338
+ #: ../lib/pz-linkcard-settings.php:1028
1339
  msgid "Advanced settings"
1340
+ msgstr "上級者向けの設定"
1341
 
1342
+ #: ../lib/pz-linkcard-settings.php:1031
1343
  msgid "Trailing slash"
1344
  msgstr "末尾のスラッシュ"
1345
 
1346
+ #: ../lib/pz-linkcard-settings.php:1035
1347
  msgid "As it"
1348
  msgstr "そのまま"
1349
 
1350
+ #: ../lib/pz-linkcard-settings.php:1036
1351
  msgid "When only domain name, remove"
1352
  msgstr "ドメイン名のみのときだけ削除"
1353
 
1354
+ #: ../lib/pz-linkcard-settings.php:1037
1355
  msgid "Always remove"
1356
  msgstr "常に削除"
1357
 
1358
+ #: ../lib/pz-linkcard-settings.php:1043
1359
  msgid "CSS to be added"
1360
  msgstr "追加するスタイルシート"
1361
 
1362
+ #: ../lib/pz-linkcard-settings.php:1047
1363
  msgid "specified CSS"
1364
  msgstr "指定したCSSを使用"
1365
 
1366
+ #: ../lib/pz-linkcard-settings.php:1048
1367
  msgid "Use specified CSS file"
1368
  msgstr "指定したCSSファイルを使用する"
1369
 
1370
+ #: ../lib/pz-linkcard-settings.php:1051 ../lib/pz-linkcard-settings.php:1055
1371
  msgid "CSS file"
1372
  msgstr "CSSファイル名"
1373
 
1374
+ #: ../lib/pz-linkcard-settings.php:1052
1375
  msgid "(ex. https://exsample.com/style.css )"
1376
+ msgstr "(例.https://exsample.com/style.css"
1377
 
1378
+ #: ../lib/pz-linkcard-settings.php:1059
1379
  msgid "CSS URL"
1380
  msgstr "CSSファイルのURL"
1381
 
1382
+ #: ../lib/pz-linkcard-settings.php:1064
1383
  msgid "Class ID to be added(for PC)"
1384
  msgstr "PCのときに追加するクラス名"
1385
 
1386
+ #: ../lib/pz-linkcard-settings.php:1068
1387
  msgid "Class ID to be added(for Mobile)"
1388
  msgstr "モバイルのときに追加するクラス名"
1389
 
1390
+ #: ../lib/pz-linkcard-settings.php:1073
 
 
 
 
 
 
 
 
1391
  msgid "Google AMP URL"
1392
  msgstr "URLによるAMP判断"
1393
 
1394
+ #: ../lib/pz-linkcard-settings.php:1074
1395
  msgid "If the URL is AMP, display simple."
1396
  msgstr ""
1397
  "アクセスされたURLの末尾が「/amp」「/amp/」「/?amp=1」の場合、簡易表示に切り替"
1398
  "える。"
1399
 
1400
+ #: ../lib/pz-linkcard-settings.php:1078
1401
  msgid "IDNA Convert"
1402
  msgstr "IDNAドメインの表示"
1403
 
1404
+ #: ../lib/pz-linkcard-settings.php:1079
1405
  msgid "Convert domain name from IDNA ASCII to Unicode."
1406
  msgstr ""
1407
  "IDNAのASCII方式でエンコードされたドメイン名をUnicodeに変換して表示します(日"
1408
  "本語ドメインなど)"
1409
 
1410
+ #: ../lib/pz-linkcard-settings.php:1083
1411
  msgid "Relative URL"
1412
  msgstr "相対指定URL"
1413
 
1414
+ #: ../lib/pz-linkcard-settings.php:1084
1415
  msgid "For relative-specified URLs, complement the site URL."
1416
  msgstr "相対指定のURLの場合、サイトURLを補完します。"
1417
 
1418
+ #: ../lib/pz-linkcard-settings.php:1088
1419
  msgid "Display link to author page"
1420
  msgstr "プラグイン名を表示する"
1421
 
1422
+ #: ../lib/pz-linkcard-settings.php:1092
1423
  msgid "Plugin URL"
1424
  msgstr "プラグインページURL"
1425
 
1426
+ #: ../lib/pz-linkcard-settings.php:1096
1427
  msgid "Plugin name"
1428
  msgstr "プラグイン名"
1429
 
1430
+ #: ../lib/pz-linkcard-settings.php:1100
1431
  msgid "Plugin version"
1432
  msgstr "プラグインバージョン"
1433
 
1434
+ #: ../lib/pz-linkcard-settings.php:1104
1435
  msgid "Saved datetime"
1436
  msgstr "保存した日時"
1437
 
1438
+ #: ../lib/pz-linkcard-settings.php:1109
1439
  msgid "Display elapsed time"
1440
  msgstr "実行時間の表示"
1441
 
1442
+ #: ../lib/pz-linkcard-settings.php:1110
1443
  msgid "Output the elapsed time to HTML comment."
1444
  msgstr "作成にかかった時間をコメントとしてHTMLへ出力する"
1445
 
1446
+ #: ../lib/pz-linkcard-settings.php:1120
 
 
 
 
1447
  msgid "Return to the initial setting"
1448
  msgstr "設定を初期状態へ戻す"
1449
 
1450
+ #: ../lib/pz-linkcard-style.php:639
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1451
  msgid "Style sheet saved."
1452
  msgstr "設定を元にスタイルシートを自動生成しました。"
1453
 
1454
+ #: ../lib/pz-linkcard-style.php:641
1455
  msgid "Style sheet failed."
1456
  msgstr "スタイルシートの自動生成に失敗しました。"
1457
 
1458
+ #~ msgid ""
1459
+ #~ "%DOMAIN% replace to domain name (ex. poporon.poponet.jp )<br>%DOMAIN_URL% "
1460
+ #~ "replace to domain URL (ex. http://poporon.poponet.jp )"
1461
+ #~ msgstr ""
1462
+ #~ "%DOMAIN% と記述するとドメイン名(例.poporon.poponet.jp)に、<br />"
1463
+ #~ "%DOMAIN_URL% と記述するとドメインのURL(例.http://poporon.poponet.jp)に"
1464
+ #~ "置き換わります。"
1465
+
1466
+ #~ msgid "Check link settings"
1467
+ #~ msgstr "リンク先チェックの設定"
1468
+
1469
+ #~ msgid "etc"
1470
+ #~ msgstr "その他"
1471
+
1472
  #~ msgid "Hover"
1473
  #~ msgstr "浮かせる"
1474
 
1475
  #~ msgid "Thinning at mouseover"
1476
  #~ msgstr "マウスでポイントしたときに表示を薄くする"
1477
 
 
 
 
 
 
 
1478
  #~ msgid "Insert Pz-LinkCard"
1479
  #~ msgstr "リンクカード作成"
1480
 
1519
  #~ msgid "Style"
1520
  #~ msgstr "表示設定"
1521
 
 
 
 
1522
  #~ msgid "Debug"
1523
  #~ msgstr "詳しい人用(Debug)"
1524
 
1566
  #~ msgid "Wheat"
1567
  #~ msgstr "小麦色(明るい茶色)"
1568
 
 
 
 
1569
  #~ msgid "Will some of the parameters are forcibly changed"
1570
  #~ msgstr "選択した定型書式によって、一部の設定が無効になります。"
1571
 
lib/pz-linkcard-cacheman.php CHANGED
@@ -3,7 +3,7 @@
3
  if (!is_user_logged_in()) die;
4
 
5
  echo '<div class="wrap">';
6
- echo '<h1>'.__('LinkCard cache manager', $this->text_domain).'</h1>';
7
 
8
  // echo '<pre>';
9
  // print_r($_REQUEST);
3
  if (!is_user_logged_in()) die;
4
 
5
  echo '<div class="wrap">';
6
+ echo '<h1>'.__('LinkCard cache manager', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-manager" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a></h1>';
7
 
8
  // echo '<pre>';
9
  // print_r($_REQUEST);
lib/pz-linkcard-init.php CHANGED
@@ -42,6 +42,11 @@
42
  $this->options['nowrap-url'] = '1';
43
  $this->options['hover'] = $this->options['opacity'];
44
  }
 
 
 
 
 
45
 
46
  // 現バージョン
47
  $this->options['plugin-version'] = $this->defaults['plugin-version'];
42
  $this->options['nowrap-url'] = '1';
43
  $this->options['hover'] = $this->options['opacity'];
44
  }
45
+ if ($this->options['plugin-version'] < '2.2.9') {
46
+ $this->options['ex-border-color'] = $this->options['border-color'];
47
+ $this->options['in-border-color'] = $this->options['border-color'];
48
+ $this->options['th-border-color'] = $this->options['border-color'];
49
+ }
50
 
51
  // 現バージョン
52
  $this->options['plugin-version'] = $this->defaults['plugin-version'];
lib/pz-linkcard-settings.php CHANGED
@@ -2,7 +2,7 @@
2
  <div class="wrap">
3
  <div id="icon-options-general" class="icon32"></div>
4
  <h2><?php echo __('LinkCard Settings', $this->text_domain).' ver.'.$this->options['plugin-version'];?></h2>
5
- <div id="settings" style="clear:both;">
6
  <?php
7
  if ( isset($_POST['properties'])) {
8
  check_admin_referer('pz_options');
@@ -14,31 +14,31 @@
14
  $this->options[$key] = null;
15
  }
16
  }
17
-
18
  if (isset($this->options['initialize']) && $this->options['initialize'] == '1') {
19
  delete_option('Pz_LinkCard_options');
20
  $this->options = $this->defaults;
21
  }
22
-
23
  $this->options['ex-image'] = stripslashes($this->options['ex-image']);
24
  $this->options['in-image'] = stripslashes($this->options['in-image']);
25
  $this->options['th-image'] = stripslashes($this->options['th-image']);
26
-
27
  $this->options['ex-info'] = stripslashes($this->options['ex-info']);
28
  $this->options['in-info'] = stripslashes($this->options['in-info']);
29
  $this->options['th-info'] = stripslashes($this->options['th-info']);
30
-
31
  $this->options['favicon-api'] = preg_replace( array('/%DOMAIN%/i', '/%DOMAIN_URL%/i', '/%URL%/i' ), array('%DOMAIN%', '%DOMAIN_URL%', '%URL%'), (isset($this->options['favicon-api'])) ? $this->options['favicon-api'] : null );
32
  $this->options['thumbnail-api'] = preg_replace( array('/%DOMAIN%/i', '/%DOMAIN_URL%/i', '/%URL%/i' ), array('%DOMAIN%', '%DOMAIN_URL%', '%URL%'), (isset($this->options['thumbnail-api'])) ? $this->options['thumbnail-api'] : null );
33
-
34
  $this->options['saved-date'] = time();
35
-
36
  $result = true;
37
  if ($this->options['code1'] == '') {
38
  echo '<div class="error fade"><p><strong>'.__('Short code is not set.', $this->text_domain).'</strong></p></div>';
39
  $result = false;
40
  }
41
-
42
  $width = $this->options['width'];
43
  if ($width) {
44
  if (substr($width, -1 ) == '%') {
@@ -52,7 +52,7 @@
52
  $this->options['width'] = pz_TrimNum($width, $this->defaults['width']).'px';
53
  }
54
  }
55
-
56
  if ($this->options['content-height']) {
57
  $this->options['content-height'] = pz_TrimNum($this->options['content-height'], $this->defaults['content-height'] ).'px';
58
  }
@@ -75,25 +75,31 @@
75
  $this->options['thumbnail-width'] = pz_TrimNum($this->options['thumbnail-width'], $this->defaults['thumbnail-width']).'px';
76
  $this->options['thumbnail-height'] = pz_TrimNum($this->options['thumbnail-height'], $this->defaults['thumbnail-height']).'px';
77
  $this->options['border-width'] = pz_TrimNum($this->options['border-width'], $this->defaults['border-width']).'px';
78
-
79
- $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['border-color']);
80
- $this->options['border-color'] = '#'.$color_code;
81
-
 
 
 
 
 
 
82
  $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['color-info']);
83
  $this->options['color-info'] = '#'.$color_code;
84
-
85
  $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['color-added']);
86
  $this->options['color-added'] = '#'.$color_code;
87
-
88
  $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['color-title']);
89
  $this->options['color-title'] = '#'.$color_code;
90
-
91
  $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['color-url']);
92
  $this->options['color-url'] = '#'.$color_code;
93
-
94
  $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['color-excerpt']);
95
  $this->options['color-excerpt'] = '#'.$color_code;
96
-
97
  // サムネイルのキャッシュディレクトリの用意
98
  $thumbnail_dir = $this->upload_dir_path.'cache/';
99
  $thumbnail_url = $this->upload_dir_url .'cache/';
@@ -107,7 +113,7 @@
107
  }
108
  $this->options['thumbnail-dir'] = $thumbnail_dir;
109
  $this->options['thumbnail-url'] = $thumbnail_url;
110
-
111
  // オプションの更新
112
  if ($result == true) {
113
  $result = update_option('Pz_LinkCard_options', $this->options);
@@ -123,980 +129,1002 @@
123
  <form action="" method="post">
124
  <?php wp_nonce_field('pz_options'); ?>
125
 
126
- <div <?php if (!$this->options['flg-invalid']) { echo 'style="display: none;"'; } ?>>
127
- <h3><?php _e('Error', $this->text_domain); ?></h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  <table class="form-table">
129
  <tr valign="top">
130
- <th scope="row"><?php _e('Invalid URL', $this->text_domain); ?></th>
131
- <td><label><input name="properties[flg-invalid]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-invalid']) ? $this->options['flg-invalid'] : null, 1); ?> /><?php _e('Uncheck to cancel the error condition.', $this->text_domain); ?></label></td>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  </tr>
133
- <tr valign="top" style="display: none;">
134
- <th scope="row"><?php _e('Error URL', $this->text_domain); ?></th>
135
- <td><input name="properties[invalid-url]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['invalid-url']); ?>" size="80" /></td>
 
 
 
 
 
 
 
 
 
 
136
  </tr>
137
  <tr valign="top" style="display: none;">
138
- <th scope="row"><?php _e('Error Time', $this->text_domain); ?></th>
139
- <td><input name="properties[invalid-time]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['invalid-time']); ?>" size="10" /></td>
140
  </tr>
 
141
  </table>
142
- <?php submit_button(); ?>
143
  </div>
 
 
 
 
 
 
 
 
144
 
145
- <h3><?php _e('Basic settings', $this->text_domain); ?></h3>
146
- <table class="form-table">
147
- <tr valign="top">
148
- <th scope="row"><?php _e('Easy format', $this->text_domain); ?></th>
149
- <td>
150
- <select name="properties[special-format]">
151
- <option value="" <?php if($this->options['special-format'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
152
- <option value="LkC" <?php if($this->options['special-format'] == 'LkC') echo 'selected="selected"'; ?>><?php _e('Pz-LkC Default', $this->text_domain); ?></option>
153
- <option value="hbc" <?php if($this->options['special-format'] == 'hbc') echo 'selected="selected"'; ?>><?php _e('Normal', $this->text_domain); ?></option>
154
- <option value="ecl" <?php if($this->options['special-format'] == 'ecl') echo 'selected="selected"'; ?>><?php _e('Enclose', $this->text_domain); ?></option>
155
- <option value="ref" <?php if($this->options['special-format'] == 'ref') echo 'selected="selected"'; ?>><?php _e('Reflection', $this->text_domain); ?></option>
156
- <option value="smp" <?php if($this->options['special-format'] == 'smp') echo 'selected="selected"'; ?>><?php _e('Simple', $this->text_domain); ?></option>
157
- <option value="JIN" <?php if($this->options['special-format'] == 'JIN') echo 'selected="selected"'; ?>><?php _e('Headline', $this->text_domain); ?></option>
158
- <option value="ct1" <?php if($this->options['special-format'] == 'ct1') echo 'selected="selected"'; ?>><?php _e('Cellophane tape "center"', $this->text_domain); ?></option>
159
- <option value="ct2" <?php if($this->options['special-format'] == 'ct2') echo 'selected="selected"'; ?>><?php _e('Cellophane tape "Top corner"', $this->text_domain); ?></option>
160
- <option value="ct3" <?php if($this->options['special-format'] == 'ct3') echo 'selected="selected"'; ?>><?php _e('Cellophane tape "long"', $this->text_domain); ?></option>
161
- <option value="ct4" <?php if($this->options['special-format'] == 'ct4') echo 'selected="selected"'; ?>><?php _e('Cellophane tape "digonal"', $this->text_domain); ?></option>
162
- <option value="ppc" <?php if($this->options['special-format'] == 'ppc') echo 'selected="selected"'; ?>><?php _e('Curling paper', $this->text_domain); ?></option>
163
- <option value="tac" <?php if($this->options['special-format'] == 'tac') echo 'selected="selected"'; ?>><?php _e('Cellophane tape and curling', $this->text_domain); ?></option>
164
- <option value="sBR" <?php if($this->options['special-format'] == 'sBR') echo 'selected="selected"'; ?>><?php _e('Stitch blue & red', $this->text_domain); ?></option>
165
- <option value="sGY" <?php if($this->options['special-format'] == 'sGY') echo 'selected="selected"'; ?>><?php _e('Stitch green & yellow', $this->text_domain); ?></option>
166
- <option value="sqr" <?php if($this->options['special-format'] == 'sqr') echo 'selected="selected"'; ?>><?php _e('Square', $this->text_domain); ?></option>
167
- <option value="inI" <?php if($this->options['special-format'] == 'inI') echo 'selected="selected"'; ?>><?php _e('Infomation orange', $this->text_domain); ?></option>
168
- <option value="inN" <?php if($this->options['special-format'] == 'inN') echo 'selected="selected"'; ?>><?php _e('Neutral bluegreen', $this->text_domain); ?></option>
169
- <option value="inE" <?php if($this->options['special-format'] == 'inE') echo 'selected="selected"'; ?>><?php _e('Enlightened green', $this->text_domain); ?></option>
170
- <option value="inR" <?php if($this->options['special-format'] == 'inR') echo 'selected="selected"'; ?>><?php _e('Resistance blue', $this->text_domain); ?></option>
171
- <option value="wxp" <?php if($this->options['special-format'] == 'wxp') echo 'selected="selected"'; ?>><?php _e('Windows XP', $this->text_domain); ?></option>
172
- <option value="w95" <?php if($this->options['special-format'] == 'w95') echo 'selected="selected"'; ?>><?php _e('Windows 95', $this->text_domain); ?></option>
173
- <option value="slt" <?php if($this->options['special-format'] == 'slt') echo 'selected="selected"'; ?>><?php _e('Slanting', $this->text_domain); ?></option>
174
- <option value="3Dr" <?php if($this->options['special-format'] == '3Dr') echo 'selected="selected"'; ?>><?php _e('3D Rotate', $this->text_domain); ?></option>
175
- <option value="pin" <?php if($this->options['special-format'] == 'pin') echo 'selected="selected"'; ?>><?php _e('Pushpin', $this->text_domain); ?></option>
176
- </select>
177
- <br><span style="color: #ff8844;"><?php _e('* It applies over other formatting settings.', $this->text_domain); ?></span>
178
- </td>
179
- </tr>
180
-
181
- <tr valign="top">
182
- <th scope="row"><?php _e("How to (Japanese only)", $this->text_domain); ?></th>
183
- <td><A href="https://popozure.info/pz-linkcard" target="_blank">https://popozure.info/pz-linkcard</A></td>
184
- </tr>
185
- </table>
186
-
187
-
188
- <?php submit_button(); ?>
189
-
190
- <h3><?php _e('Position settings', $this->text_domain); ?></h3>
191
- <table class="form-table">
192
- <tr valign="top">
193
- <th scope="row"><?php _e('Use blockquote tag', $this->text_domain); ?></th>
194
- <td><label><input name="properties[blockquote]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['blockquote']) ? $this->options['blockquote'] : null, 1); ?> /><?php _e('without using DIV tag, and use BLOCKQUOTE tag', $this->text_domain); ?></label></td>
195
- </tr>
196
-
197
- <tr valign="top">
198
- <th scope="row"><?php _e('Link the whole', $this->text_domain); ?></th>
199
- <td>
200
- <label>
201
- <input name="properties[link-all]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['link-all']) ? $this->options['link-all'] : null, 1); ?> />
202
- <?php _e('Enclose the entire card at anchor', $this->text_domain); ?>
203
- </label>
204
- </td>
205
- </tr>
206
-
207
- <tr valign="top">
208
- <th scope="row"><?php _e('Margin', $this->text_domain); ?></th>
209
- <td>
210
- <table style="border: 1px dashed #000; background-color: #eee; width: 600px;">
211
- <tr>
212
- <td>
213
- </td>
214
- <td align="center">
215
- <?php _e('Margin top', $this->text_domain); ?><br>
216
- <select name="properties[margin-top]">
217
- <option value="" <?php if($this->options['margin-top'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
218
- <option value="0" <?php if($this->options['margin-top'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
219
- <option value="4px" <?php if($this->options['margin-top'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
220
- <option value="8px" <?php if($this->options['margin-top'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
221
- <option value="16px" <?php if($this->options['margin-top'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
222
- <option value="32px" <?php if($this->options['margin-top'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
223
- <option value="40px" <?php if($this->options['margin-top'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
224
- <option value="64px" <?php if($this->options['margin-top'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
225
- </select>
226
- </td>
227
- <td></td>
228
- </tr>
229
- <tr>
230
- <td align="center">
231
- <?php _e('Margin left', $this->text_domain); ?><br>
232
- <select name="properties[margin-left]">
233
- <option value="" <?php if($this->options['margin-left'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
234
- <option value="0" <?php if($this->options['margin-left'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
235
- <option value="4px" <?php if($this->options['margin-left'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
236
- <option value="8px" <?php if($this->options['margin-left'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
237
- <option value="16px" <?php if($this->options['margin-left'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
238
- <option value="32px" <?php if($this->options['margin-left'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
239
- <option value="40px" <?php if($this->options['margin-left'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
240
- <option value="64px" <?php if($this->options['margin-left'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
241
- </select>
242
- </td>
243
- <td align="center" style="border: 1px solid #000; background-color: #fff;">
244
-
245
- <table class="form-table">
246
- <tr>
247
- <td colspan="2" align="center">
248
- <?php _e('Margin top', $this->text_domain); ?><br>
249
- <select name="properties[card-top]">
250
- <option value="" <?php if($this->options['card-top'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
251
- <option value="4px" <?php if($this->options['card-top'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
252
- <option value="8px" <?php if($this->options['card-top'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
253
- <option value="16px" <?php if($this->options['card-top'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
254
- <option value="24px" <?php if($this->options['card-top'] == '24px') echo 'selected="selected"'; ?>><?php _e('24px', $this->text_domain); ?></option>
255
- <option value="32px" <?php if($this->options['card-top'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
256
- <option value="40px" <?php if($this->options['card-top'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
257
- <option value="64px" <?php if($this->options['card-top'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
258
- <option value="0" <?php if($this->options['card-top'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
259
- </select>
260
- </td>
261
- </tr>
262
- <tr>
263
- <td align="center">
264
- <?php _e('Margin left', $this->text_domain); ?><br>
265
- <select name="properties[card-left]">
266
- <option value="" <?php if($this->options['card-left'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
267
- <option value="4px" <?php if($this->options['card-left'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
268
- <option value="8px" <?php if($this->options['card-left'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
269
- <option value="16px" <?php if($this->options['card-left'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
270
- <option value="24px" <?php if($this->options['card-left'] == '24px') echo 'selected="selected"'; ?>><?php _e('24px', $this->text_domain); ?></option>
271
- <option value="32px" <?php if($this->options['card-left'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
272
- <option value="40px" <?php if($this->options['card-left'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
273
- <option value="64px" <?php if($this->options['card-left'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
274
- <option value="0" <?php if($this->options['card-left'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
275
- </select>
276
- </td>
277
- <td align="center">
278
- <?php _e('Margin right', $this->text_domain); ?><br>
279
- <select name="properties[card-right]">
280
- <option value="" <?php if($this->options['card-right'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
281
- <option value="4px" <?php if($this->options['card-right'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
282
- <option value="8px" <?php if($this->options['card-right'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
283
- <option value="16px" <?php if($this->options['card-right'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
284
- <option value="24px" <?php if($this->options['card-right'] == '24px') echo 'selected="selected"'; ?>><?php _e('24px', $this->text_domain); ?></option>
285
- <option value="32px" <?php if($this->options['card-right'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
286
- <option value="40px" <?php if($this->options['card-right'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
287
- <option value="64px" <?php if($this->options['card-right'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
288
- <option value="0" <?php if($this->options['card-right'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
289
- </select>
290
- </td>
291
- </tr>
292
- <tr>
293
- <td colspan="2" align="center">
294
- <?php _e('Width', $this->text_domain); ?><input name="properties[width]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['width']); ?>" style="width: 80px;" /><br>
295
- <?php _e('Height', $this->text_domain); ?><input name="properties[content-height]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['content-height']); ?>" style="width: 80px;" /><br>
296
- </td>
297
- </tr>
298
- <tr>
299
- <td colspan="2" align="center">
300
- <?php _e('Margin bottom', $this->text_domain); ?><br>
301
- <select name="properties[card-bottom]">
302
- <option value="" <?php if($this->options['card-bottom'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
303
- <option value="4px" <?php if($this->options['card-bottom'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
304
- <option value="8px" <?php if($this->options['card-bottom'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
305
- <option value="16px" <?php if($this->options['card-bottom'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
306
- <option value="24px" <?php if($this->options['card-bottom'] == '24px') echo 'selected="selected"'; ?>><?php _e('24px', $this->text_domain); ?></option>
307
- <option value="32px" <?php if($this->options['card-bottom'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
308
- <option value="40px" <?php if($this->options['card-bottom'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
309
- <option value="64px" <?php if($this->options['card-bottom'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
310
- <option value="0" <?php if($this->options['card-bottom'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
311
- </select>
312
- </td>
313
- </tr>
314
- </table>
315
-
316
- </td>
317
- <td align="center">
318
- <?php _e('Margin right', $this->text_domain); ?><br>
319
- <select name="properties[margin-right]">
320
- <option value="" <?php if($this->options['margin-right'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
321
- <option value="0" <?php if($this->options['margin-right'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
322
- <option value="4px" <?php if($this->options['margin-right'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
323
- <option value="8px" <?php if($this->options['margin-right'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
324
- <option value="16px" <?php if($this->options['margin-right'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
325
- <option value="32px" <?php if($this->options['margin-right'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
326
- <option value="40px" <?php if($this->options['margin-right'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
327
- <option value="64px" <?php if($this->options['margin-right'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
328
- </select>
329
- </td>
330
- </tr>
331
- <tr>
332
- <td>
333
- <input name="properties[centering]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['centering']) ? $this->options['centering'] : null, 1); ?> /><?php _e('Centering', $this->text_domain); ?>
334
- </td>
335
- <td align="center">
336
- <?php _e('Margin bottom', $this->text_domain); ?><br>
337
- <select name="properties[margin-bottom]">
338
- <option value="" <?php if($this->options['margin-bottom'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
339
- <option value="0" <?php if($this->options['margin-bottom'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
340
- <option value="4px" <?php if($this->options['margin-bottom'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
341
- <option value="8px" <?php if($this->options['margin-bottom'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
342
- <option value="16px" <?php if($this->options['margin-bottom'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
343
- <option value="32px" <?php if($this->options['margin-bottom'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
344
- <option value="40px" <?php if($this->options['margin-bottom'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
345
- <option value="64px" <?php if($this->options['margin-bottom'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
346
- </select>
347
- </td>
348
- <td>
349
- </td>
350
- </tr>
351
- </table>
352
- </td>
353
- </tr>
354
- </table>
355
- <?php submit_button(); ?>
356
 
357
- <h3><?php _e('Display settings', $this->text_domain); ?></h3>
358
- <table class="form-table">
359
- <tr>
360
- <th scope="row"><?php _e('Layout', $this->text_domain); ?></th>
361
- <td>
362
-
363
- <table style="border: 1px solid #000; background-color: #fff; width: 500px;">
364
- <tr>
365
- <td colspan="2">
366
- <?php _e('Site information', $this->text_domain); ?>
367
- <select name="properties[info-position]">
368
- <option value="" <?php if($this->options['info-position'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
369
- <option value="1" <?php if($this->options['info-position'] == '1') echo 'selected="selected"'; ?>><?php _e('Top', $this->text_domain); ?></option>
370
- <option value="3" <?php if($this->options['info-position'] == '3') echo 'selected="selected"'; ?>><?php _e('Above the title', $this->text_domain); ?></option>
371
- <option value="2" <?php if($this->options['info-position'] == '2') echo 'selected="selected"'; ?>><?php _e('Bottom', $this->text_domain); ?></option>
372
- </select>
373
- <label><input name="properties[use-sitename]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['use-sitename']) ? $this->options['use-sitename'] : null, 1); ?> /><?php _e('Use SiteName', $this->text_domain); ?></label>
374
- </td>
375
- </tr>
376
- <tr>
377
- <td>
378
- <label><input name="properties[display-date]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['display-date']) ? $this->options['display-date'] : null, 1); ?> /><?php _e('For internal links, display the posting date', $this->text_domain); ?></label>
379
- </td>
380
- <td>
381
- </td>
382
- </tr>
383
- <tr>
384
- <td>
385
- <label><input name="properties[heading]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['heading']) ? $this->options['heading'] : null, 1); ?> /><?php _e('Make additional information heading display', $this->text_domain); ?></label>
386
- </td>
387
- <td>
388
- </td>
389
- </tr>
390
- <tr>
391
- <td>
392
- <label><input name="properties[flg-anker]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-anker']) ? $this->options['flg-anker'] : null, 1); ?> /><?php _e('Turn off the anchor text underlining', $this->text_domain); ?></label>
393
- </td>
394
- <td>
395
- </td>
396
- </tr>
397
- <tr>
398
- <td>
399
- <label><input name="properties[separator]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['separator']) ? $this->options['separator'] : null, 1); ?> /><?php _e('Separator line', $this->text_domain); ?></label>
400
- </td>
401
- <td>
402
- </td>
403
- </tr>
404
- <tr>
405
- <td>
406
- <label>
407
- <?php _e('Display URL', $this->text_domain); ?>
408
- <select name="properties[display-url]">
409
- <option value="" <?php if($this->options['display-url'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
410
- <option value="1" <?php if($this->options['display-url'] == '1') echo 'selected="selected"'; ?>><?php _e('Under title', $this->text_domain); ?></option>
411
- <option value="2" <?php if($this->options['display-url'] == '2') echo 'selected="selected"'; ?>><?php _e('Bihind site-info', $this->text_domain); ?></option>
412
  </select>
413
- </label>
414
- </td>
415
- <td rowspan="3" style="border: 1px solid #000;">
416
- <?php _e('Thumbnail', $this->text_domain); ?>
417
- <select name="properties[thumbnail-position]">
418
- <option value="0" <?php if($this->options['thumbnail-position'] == '0') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
419
- <option value="1" <?php if($this->options['thumbnail-position'] == '1') echo 'selected="selected"'; ?>><?php _e('Right', $this->text_domain); ?></option>
420
- <option value="2" <?php if($this->options['thumbnail-position'] == '2') echo 'selected="selected"'; ?>><?php _e('Left', $this->text_domain); ?></option>
421
- <option value="3" <?php if($this->options['thumbnail-position'] == '3') echo 'selected="selected"'; ?>><?php _e('Upper', $this->text_domain); ?></option>
422
- </select>
423
- <br>
424
- <?php _e('Width', $this->text_domain); ?><input name="properties[thumbnail-width]" type="text" id="inputtext" value="<?php echo (isset($this->options['thumbnail-width']) ? $this->options['thumbnail-width'] : $this->defaults['thumbnail-width']); ?>" style="width: 4em;" />
425
- <br>
426
- <?php _e('Height', $this->text_domain); ?><input name="properties[thumbnail-height]" type="text" id="inputtext" value="<?php echo (isset($this->options['thumbnail-height']) ? $this->options['thumbnail-height'] : $this->defaults['thumbnail-height']); ?>" style="width: 4em;" />
427
- <br>
428
- <label><input name="properties[thumbnail-shadow]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['thumbnail-shadow']) ? $this->options['thumbnail-shadow'] : null, 1); ?> /><?php _e('Shadow', $this->text_domain); ?></label>
429
- </td>
430
- </tr>
431
- <tr>
432
- <td>
433
- <label><input name="properties[content-inset]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['content-inset']) ? $this->options['content-inset'] : null, 1); ?> /><?php _e('Hollow content area', $this->text_domain); ?></label>
434
- </td>
435
- </tr>
436
- <tr>
437
- <td>
438
- <label><input name="properties[display-excerpt]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['display-excerpt']) ? $this->options['display-excerpt'] : null, 1); ?> /><?php _e('Display excerpt', $this->text_domain); ?></label>
439
- </td>
440
- </tr>
441
- <tr>
442
- <td>
443
- <label><input name="properties[shadow-inset]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['shadow-inset']) ? $this->options['shadow-inset'] : null, 1); ?> /><?php _e('Hollow', $this->text_domain); ?></label>
444
- </td>
445
- <td>
446
- </td>
447
- </tr>
448
- <tr>
449
- <td>
450
- <label><input name="properties[shadow]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['shadow']) ? $this->options['shadow'] : null, 1); ?> /><?php _e('Shadow', $this->text_domain); ?></label></td>
451
- </td>
452
- </tr>
453
- <tr>
454
- <td>
455
- <?php _e('Round a square', $this->text_domain); ?>
456
- <select name="properties[radius]">
457
- <option value="" <?php if($this->options['radius'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
458
- <option value="2" <?php if($this->options['radius'] == '2') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
459
- <option value="1" <?php if($this->options['radius'] == '1') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
460
- <option value="3" <?php if($this->options['radius'] == '3') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
461
- <option value="4" <?php if($this->options['radius'] == '4') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
462
- <option value="5" <?php if($this->options['radius'] == '5') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
463
- </select>
464
- </td>
465
- </tr>
466
- <tr>
467
- <td>
468
- <label>
469
- <?php _e('When the mouse is on', $this->text_domain); ?>
470
- <select name="properties[hover]">
471
- <option value="" <?php if($this->options['hover'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
472
- <option value="1" <?php if($this->options['hover'] == '1') echo 'selected="selected"'; ?>><?php _e('Lighten', $this->text_domain); ?></option>
473
- <option value="2" <?php if($this->options['hover'] == '2') echo 'selected="selected"'; ?>><?php _e('Hover (light)', $this->text_domain); ?></option>
474
- <option value="3" <?php if($this->options['hover'] == '3') echo 'selected="selected"'; ?>><?php _e('Hover (dark)', $this->text_domain); ?></option>
475
- <option value="7" <?php if($this->options['hover'] == '7') echo 'selected="selected"'; ?>><?php _e('Radius', $this->text_domain); ?></option>
476
  </select>
477
- </label>
478
- </td>
479
- </tr>
480
- </table>
481
- </td>
482
- </tr>
483
-
484
- <?php
485
- $this->options['border-width'] = (preg_replace('/[^0-9]/', '', $this->options['border-width']) - 0).'px';
486
- $this->options['border-style'] = (isset($this->options['border-style']) ? $this->options['border-style'] : $this->defaults['border-style']);
487
- $this->options['border-color'] = (isset($this->options['border-color']) ? $this->options['border-color'] : $this->defaults['border-color']);
488
- $in_data = (isset($this->options['border']) ? $this->options['border'] : '');
489
- if ($in_data == '1gr') { $this->options['border-width'] = '1px'; $this->options['border-color'] = '#dddddd'; }
490
- if ($in_data == '2gr') { $this->options['border-width'] = '2px'; $this->options['border-color'] = '#dddddd'; }
491
- if ($in_data == '4gr') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#dddddd'; }
492
- if ($in_data == '1bk') { $this->options['border-width'] = '1px'; $this->options['border-color'] = '#444444'; }
493
- if ($in_data == '2bk') { $this->options['border-width'] = '2px'; $this->options['border-color'] = '#444444'; }
494
- if ($in_data == '4bk') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#444444'; }
495
- if ($in_data == '8bk') { $this->options['border-width'] = '8px'; $this->options['border-color'] = '#444444'; }
496
- if ($in_data == 'blu') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#1e90ff'; }
497
- if ($in_data == 'gre') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#66cdaa'; }
498
- if ($in_data == 'red') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#ff69b4'; }
499
- if ($in_data == 'wht') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#f5deb3'; }
500
- if ($in_data == 'dbl') { $this->options['border-width'] = '4px'; $this->options['border-color'] = '#444444'; }
501
- if ($in_data == 'dot') { $this->options['border-width'] = '1px'; $this->options['border-color'] = '#444444'; }
502
- ?>
503
-
504
- <th scope="row"><?php _e('Border', $this->text_domain); ?></th>
505
- <td>
506
- <?php _e('Color', $this->text_domain); ?><input name="properties[border-color]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['border-color']); ?>" />
507
- <table>
508
- <tr>
509
- <td>
510
- <select name="properties[border-style]">
511
- <option value="none" <?php if ($this->options['border-style'] == 'none') echo 'selected="selected"'; ?>><?php _e('none', $this->text_domain); ?></option>
512
- <option value="solid" <?php if ($this->options['border-style'] == 'solid') echo 'selected="selected"'; ?>><?php _e('solid', $this->text_domain); ?></option>
513
- <option value="dotted" <?php if ($this->options['border-style'] == 'dotted') echo 'selected="selected"'; ?>><?php _e('dotted', $this->text_domain); ?></option>
514
- <option value="dashed" <?php if ($this->options['border-style'] == 'dashed') echo 'selected="selected"'; ?>><?php _e('dashed', $this->text_domain); ?></option>
515
- <option value="double" <?php if ($this->options['border-style'] == 'double') echo 'selected="selected"'; ?>><?php _e('double', $this->text_domain); ?></option>
516
- <option value="groove" <?php if ($this->options['border-style'] == 'groove') echo 'selected="selected"'; ?>><?php _e('groove', $this->text_domain); ?></option>
517
- <option value="ridge" <?php if ($this->options['border-style'] == 'ridge') echo 'selected="selected"'; ?>><?php _e('ridge', $this->text_domain); ?></option>
518
- <option value="inset" <?php if ($this->options['border-style'] == 'inset') echo 'selected="selected"'; ?>><?php _e('inset', $this->text_domain); ?></option>
519
- <option value="outset" <?php if ($this->options['border-style'] == 'outset') echo 'selected="selected"'; ?>><?php _e('outset', $this->text_domain); ?></option>
520
- </select>
521
- </td>
522
- <td>
523
- <?php _e('Width', $this->text_domain); ?><input name="properties[border-width]" type="text" id="inputtext" value="<?php echo $this->options['border-width']; ?>" style="width: 4em;" />
524
- </td>
525
- </tr>
526
- </table>
527
- </td>
528
- </tr>
529
-
530
- <tr valign="top">
531
- <th scope="row"><?php _e('Reset img style', $this->text_domain); ?></th>
532
- <td><label><input name="properties[style-reset-img]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['style-reset-img']) ? $this->options['style-reset-img'] : null, 1); ?> /><?php _e('When unnecessary frame is displayed on the image, you can improve it by case', $this->text_domain); ?></label></td>
533
- </tr>
534
-
535
- <tr valign="top">
536
- <th scope="row"><?php _e('More button', $this->text_domain); ?></th>
537
- <td>
538
- <select name="properties[flg-more]">
539
- <option value="" <?php if($this->options['flg-more'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
540
- <option value="1" <?php if($this->options['flg-more'] == '1') echo 'selected="selected"'; ?>><?php _e('Text link', $this->text_domain); ?></option>
541
- <option value="2" <?php if($this->options['flg-more'] == '2') echo 'selected="selected"'; ?>><?php _e('Simple button', $this->text_domain); ?></option>
542
- <option value="3" <?php if($this->options['flg-more'] == '3') echo 'selected="selected"'; ?>><?php _e('Blue', $this->text_domain); ?></option>
543
- <option value="4" <?php if($this->options['flg-more'] == '4') echo 'selected="selected"'; ?>><?php _e('Dark', $this->text_domain); ?></option>
544
- </select>
545
- <p><?php _e('*', $this->text_domain); ?> <?php _e('It is recommended that you leave the card height blank when using this setting.', $this->text_domain); ?></p>
546
- </td>
547
- </tr>
548
-
549
- <tr valign="top">
550
- <th scope="row"><?php _e('Display SNS Count', $this->text_domain); ?></th>
551
- <td>
552
- <select name="properties[sns-position]">
553
- <option value="" <?php if($this->options['sns-position'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
554
- <option value="1" <?php if($this->options['sns-position'] == '1') echo 'selected="selected"'; ?>><?php _e('Bihind title', $this->text_domain); ?></option>
555
- <option value="2" <?php if($this->options['sns-position'] == '2') echo 'selected="selected"'; ?>><?php _e('Bihind site-info', $this->text_domain); ?></option>
556
- </select>
557
- <label><input name="properties[sns-tw]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['sns-tw']) ? $this->options['sns-tw'] : null, 1); ?> /><?php _e('Twitter', $this->text_domain); ?></label>
558
- <label><input name="properties[sns-fb]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['sns-fb']) ? $this->options['sns-fb'] : null, 1); ?> /><?php _e('Facebook', $this->text_domain); ?></label>
559
- <label><input name="properties[sns-hb]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['sns-hb']) ? $this->options['sns-hb'] : null, 1); ?> /><?php _e('Hatena', $this->text_domain); ?></label>
560
- <label><input name="properties[sns-po]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['sns-po']) ? $this->options['sns-po'] : null, 1); ?> /><?php _e('Pocket', $this->text_domain); ?></label>
561
- </td>
562
- </tr>
563
- </table>
564
- <?php submit_button(); ?>
565
-
566
- <h3><?php _e('Letter settings', $this->text_domain); ?></h3>
567
- <table class="form-table" style="max-width: 900px;">
568
-
569
- <tr valign="top">
570
- <th scope="row"><?php _e('Title', $this->text_domain); ?></th>
571
- <td>
572
- <?php _e('Color', $this->text_domain); ?><input name="properties[color-title]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-title']); ?>" />
573
- <label><input name="properties[outline-title]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-title']) ? $this->options['outline-title'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
574
- <input name="properties[outline-color-title]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-title']) ? $this->options['outline-color-title'] : $this->defaults['outline-color-title'])); ?>" />
575
- </td>
576
- <td>
577
- <?php _e('Size', $this->text_domain); ?><input name="properties[size-title]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-title']) ? $this->options['size-title'] : $this->defaults['size-title']); ?>" style="width: 4em;" />
578
- </td>
579
- <td>
580
- <?php _e('Height', $this->text_domain); ?><input name="properties[height-title]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-title']) ? $this->options['height-title'] : $this->defaults['height-title']); ?>" style="width: 4em;" />
581
- </td>
582
- <td>
583
- <?php _e('Length', $this->text_domain); ?><input name="properties[trim-title]" type="text" id="inputtext" value="<?php echo (isset($this->options['trim-title']) ? $this->options['trim-title'] : $this->defaults['trim-title']); ?>" style="width: 3em;" />
584
- <br><label><input name="properties[nowrap-title]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['nowrap-title']) ? $this->options['nowrap-title'] : null, 1); ?> /><?php _e('No wrap', $this->text_domain); ?></label>
585
- </td>
586
- </tr>
587
-
588
- <tr valign="top">
589
- <th scope="row"><?php _e('URL', $this->text_domain); ?></th>
590
- <td>
591
- <?php _e('Color', $this->text_domain); ?><input name="properties[color-url]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-url']); ?>" />
592
- <label><input name="properties[outline-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-url']) ? $this->options['outline-url'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
593
- <input name="properties[outline-color-url]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-url']) ? $this->options['outline-color-url'] : $this->defaults['outline-color-url'])); ?>" />
594
- </td>
595
- <td>
596
- <?php _e('Size', $this->text_domain); ?><input name="properties[size-url]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-url']) ? $this->options['size-url'] : $this->defaults['size-url']); ?>" style="width: 4em;" />
597
- </td>
598
- <td>
599
- <?php _e('Height', $this->text_domain); ?><input name="properties[height-url]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-url']) ? $this->options['height-url'] : $this->defaults['height-url']); ?>" style="width: 4em;" />
600
- </td>
601
- <td>
602
- <?php _e('Length', $this->text_domain); ?><input name="properties[trim-url]" type="text" id="inputtext" value="<?php echo (isset($this->options['trim-url']) ? $this->options['trim-url'] : $this->defaults['trim-url']); ?>" style="width: 3em;" />
603
- <br><label><input name="properties[nowrap-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['nowrap-url']) ? $this->options['nowrap-url'] : null, 1); ?> /><?php _e('No wrap', $this->text_domain); ?></label>
604
- </td>
605
- </tr>
606
-
607
- <tr valign="top">
608
- <th scope="row"><?php _e('Excerpt', $this->text_domain); ?></th>
609
- <td>
610
- <?php _e('Color', $this->text_domain); ?><input name="properties[color-excerpt]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-excerpt']); ?>" />
611
- <label><input name="properties[outline-excerpt]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-excerpt']) ? $this->options['outline-excerpt'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
612
- <input name="properties[outline-color-excerpt]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-excerpt']) ? $this->options['outline-color-excerpt'] : $this->defaults['outline-color-excerpt'])); ?>" />
613
- </td>
614
- <td>
615
- <?php _e('Size', $this->text_domain); ?><input name="properties[size-excerpt]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-excerpt']) ? $this->options['size-excerpt'] : $this->defaults['size-excerpt']); ?>" style="width: 4em;" />
616
- </td>
617
- <td>
618
- <?php _e('Height', $this->text_domain); ?><input name="properties[height-excerpt]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-excerpt']) ? $this->options['height-excerpt'] : $this->defaults['height-excerpt']); ?>" style="width: 4em;" />
619
- </td>
620
- <td>
621
- &nbsp;<?php _e('Length', $this->text_domain); ?><input name="properties[trim-count]" type="text" id="inputtext" value="<?php echo (isset($this->options['trim-count']) ? $this->options['trim-count'] : $this->defaults['trim-sount']); ?>" style="width: 3em;" />
622
- </td>
623
- </tr>
624
-
625
- <tr valign="top">
626
- <th scope="row"><?php _e('More button', $this->text_domain); ?></th>
627
- <td>
628
- <?php _e('Color', $this->text_domain); ?><input name="properties[color-more]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-more']); ?>" />
629
- <label><input name="properties[outline-more]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-more']) ? $this->options['outline-more'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
630
- <input name="properties[outline-color-more]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-more']) ? $this->options['outline-color-more'] : $this->defaults['outline-color-more'])); ?>" />
631
- </td>
632
- <td>
633
- <?php _e('Size', $this->text_domain); ?><input name="properties[size-more]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-more']) ? $this->options['size-more'] : $this->defaults['size-more']); ?>" style="width: 4em;" />
634
- </td>
635
- <td>
636
- <?php _e('Height', $this->text_domain); ?><input name="properties[height-more]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-more']) ? $this->options['height-more'] : $this->defaults['height-more']); ?>" style="width: 4em;" />
637
- </td>
638
- <td>
639
- </td>
640
- </tr>
641
-
642
- <tr valign="top">
643
- <th scope="row"><?php _e('Site information', $this->text_domain); ?></th>
644
- <td>
645
- <?php _e('Color', $this->text_domain); ?><input name="properties[color-info]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-info']); ?>" />
646
- <label><input name="properties[outline-info]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-info']) ? $this->options['outline-info'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
647
- <input name="properties[outline-color-info]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-info']) ? $this->options['outline-color-info'] : $this->defaults['outline-color-info'])); ?>" />
648
- </td>
649
- <td>
650
- <?php _e('Size', $this->text_domain); ?><input name="properties[size-info]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-info']) ? $this->options['size-info'] : $this->defaults['size-info']); ?>" style="width: 4em;" />
651
- </td>
652
- <td>
653
- <?php _e('Height', $this->text_domain); ?><input name="properties[height-info]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-info']) ? $this->options['height-info'] : $this->defaults['height-info']); ?>" style="width: 4em;" />
654
- </td>
655
- <td>
656
- <?php _e('Length', $this->text_domain); ?><input name="properties[trim-sitename]" type="text" id="inputtext" value="<?php echo (isset($this->options['trim-sitename']) ? $this->options['trim-sitename'] : $this->defaults['trim-sitename']); ?>" style="width: 3em;" />
657
- </td>
658
- </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
659
 
660
- <tr valign="top">
661
- <th scope="row"><?php _e('Added information', $this->text_domain); ?></th>
662
- <td>
663
- <?php _e('Color', $this->text_domain); ?><input name="properties[color-added]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-added']); ?>" />
664
- <label><input name="properties[outline-added]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-added']) ? $this->options['outline-added'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
665
- <input name="properties[outline-color-added]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-added']) ? $this->options['outline-color-added'] : $this->defaults['outline-color-added'])); ?>" />
666
- </td>
667
- <td>
668
- <?php _e('Size', $this->text_domain); ?><input name="properties[size-added]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-added']) ? $this->options['size-added'] : $this->defaults['size-added']); ?>" style="width: 4em;" />
669
- </td>
670
- <td>
671
- <?php _e('Height', $this->text_domain); ?><input name="properties[height-added]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-added']) ? $this->options['height-added'] : $this->defaults['height-added']); ?>" style="width: 4em;" />
672
- </td>
673
- </tr>
 
 
 
674
 
675
- <tr valign="top">
676
- <th scope="row"><?php _e('Resize', $this->text_domain); ?></th>
677
- <td colspan="4"><label><input name="properties[thumbnail-resize]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['thumbnail-resize']) ? $this->options['thumbnail-resize'] : null, 1); ?> /><?php _e('Adjust thumbnail and letter size according to width', $this->text_domain); ?></label></td>
678
- </tr>
679
 
680
- </table>
681
- <?php submit_button(); ?>
 
 
 
 
 
 
 
 
 
 
 
682
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
683
 
684
- <h3><?php _e('External link settings', $this->text_domain); ?></h3>
685
- <table class="form-table">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
686
 
687
- <tr valign="top">
688
- <th scope="row"><?php _e('Background Color', $this->text_domain); ?></th>
689
- <td><input name="properties[ex-bgcolor]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['ex-bgcolor']); ?>" /></td>
690
- </tr>
691
- <tr valign="top">
692
- <th scope="row"><?php _e('Background image', $this->text_domain); ?></th>
693
- <td><input name="properties[ex-image]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['ex-image']); ?>" size="80" /></td>
694
- </tr>
695
- <tr valign="top">
696
- <th scope="row"><?php _e('Thumbnail', $this->text_domain); ?></th>
697
- <td>
698
- <select name="properties[ex-thumbnail]">
699
- <option value="" <?php if($this->options['ex-thumbnail'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
700
- <option value="1" <?php if($this->options['ex-thumbnail'] == '1') echo 'selected="selected"'; ?>><?php _e('Direct', $this->text_domain); ?></option>
701
- <option value="3" <?php if($this->options['ex-thumbnail'] == '3') echo 'selected="selected"'; ?>><?php _e('Use WebAPI', $this->text_domain); ?></option>
702
- <option value="13" <?php if($this->options['ex-thumbnail'] == '13') echo 'selected="selected"'; ?>><?php _e('Use WebAPI ,If can not direct', $this->text_domain); ?></option>
703
- </select>
 
704
 
705
- </td>
706
- </tr>
707
- <tr valign="top">
708
- <th scope="row"><?php _e('Favicon', $this->text_domain); ?></th>
709
- <td>
710
- <select name="properties[ex-favicon]">
711
- <option value="" <?php if($this->options['ex-favicon'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
712
- <option value="1" <?php if($this->options['ex-favicon'] == '1') echo 'selected="selected"'; ?> disabled="disabled"><?php _e('Direct', $this->text_domain); ?></option>
713
- <option value="3" <?php if($this->options['ex-favicon'] == '3') echo 'selected="selected"'; ?>><?php _e('Use WebAPI', $this->text_domain); ?></option>
714
- <option value="13" <?php if($this->options['ex-favicon'] == '13') echo 'selected="selected"'; ?> disabled="disabled"><?php _e('Use WebAPI ,If can not direct', $this->text_domain); ?></option>
715
- </select>
716
- </td>
717
- </tr>
718
- <tr valign="top">
719
- <th scope="row"><?php _e('Added information', $this->text_domain); ?></th>
720
- <td><input name="properties[ex-info]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['ex-info']); ?>" class="regular-text" /></td>
721
- </tr>
722
- <tr valign="top">
723
- <th scope="row"><?php _e('Text of more button', $this->text_domain); ?></th>
724
- <td><input name="properties[ex-more-text]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['ex-more-text']); ?>" class="regular-text" /></td>
725
- </tr>
726
- <tr valign="top">
727
- <th scope="row"><?php _e('Open new window/tab', $this->text_domain); ?></th>
728
- <td>
729
- <select name="properties[ex-target]">
730
- <option value="" <?php if($this->options['ex-target'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
731
- <option value="1" <?php if($this->options['ex-target'] == '1') echo 'selected="selected"'; ?>><?php _e('All client', $this->text_domain); ?></option>
732
- <option value="2" <?php if($this->options['ex-target'] == '2') echo 'selected="selected"'; ?>><?php _e('Other than mobile', $this->text_domain); ?></option>
733
- </select>
734
- </td>
735
- </tr>
736
- <tr valign="top">
737
- <th scope="row"><?php _e('Get contents', $this->text_domain); ?></th>
738
- <td>
739
- <?php _e('Initially acquired only from the content', $this->text_domain); ?>
740
- </td>
741
- </tr>
742
- <tr valign="top">
743
- <th scope="row"><?php _e('Set nofollow', $this->text_domain); ?></th>
744
- <td><label><input name="properties[nofollow]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['nofollow']) ? $this->options['nofollow'] : null, 1); ?> /><?php _e('In the case of an external site, it puts the "nofollow"', $this->text_domain); ?></label></td>
745
- </tr>
746
- <tr valign="top">
747
- <th scope="row"><?php _e('Use HatenaBlogCard', $this->text_domain); ?></th>
748
- <td><label><input name="properties[use-hatena]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['use-hatena']) ? $this->options['use-hatena'] : null, 1); ?> /><?php _e('External links will use Always HatenaBlogCard.', $this->text_domain); _e('(Not recommended)', $this->text_domain); ?></label></td>
749
- </tr>
750
- </table>
751
- <?php submit_button(); ?>
752
 
753
- <h3><?php _e('Internal link settings', $this->text_domain); ?></h3>
754
- <table class="form-table">
755
- <tr valign="top">
756
- <th scope="row"><?php _e('Background Color', $this->text_domain); ?></th>
757
- <td><input name="properties[in-bgcolor]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['in-bgcolor']); ?>" /></td>
758
- </tr>
759
- <tr valign="top">
760
- <th scope="row"><?php _e('Background Image', $this->text_domain); ?></th>
761
- <td><input name="properties[in-image]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['in-image']); ?>" size="80" /></td>
762
- </tr>
763
- <tr valign="top">
764
- <th scope="row"><?php _e('Thumbnail', $this->text_domain); ?></th>
765
- <td>
766
- <select name="properties[in-thumbnail]">
767
- <option value="" <?php if($this->options['in-thumbnail'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
768
- <option value="1" <?php if($this->options['in-thumbnail'] == '1') echo 'selected="selected"'; ?>><?php _e('Direct', $this->text_domain); ?></option>
769
- <option value="3" <?php if($this->options['in-thumbnail'] == '3') echo 'selected="selected"'; ?>><?php _e('Use WebAPI', $this->text_domain); ?></option>
770
- <option value="13" <?php if($this->options['in-thumbnail'] == '13') echo 'selected="selected"'; ?>><?php _e('Use WebAPI ,If can not direct', $this->text_domain); ?></option>
771
- </select>
772
- </td>
773
- </tr>
774
- <tr valign="top">
775
- <th scope="row"><?php _e('Favicon', $this->text_domain); ?></th>
776
- <td>
777
- <select name="properties[in-favicon]">
778
- <option value="" <?php if($this->options['in-favicon'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
779
- <option value="1" <?php if($this->options['in-favicon'] == '1') echo 'selected="selected"'; ?> <?php if(!function_exists('has_site_icon') || !has_site_icon()) echo 'disabled="disabled"'; ?>><?php _e('Direct', $this->text_domain); ?></option>
780
- <option value="3" <?php if($this->options['in-favicon'] == '3') echo 'selected="selected"'; ?>><?php _e('Use WebAPI', $this->text_domain); ?></option>
781
- <option value="13" <?php if($this->options['in-favicon'] == '13') echo 'selected="selected"'; ?>><?php _e('Use WebAPI ,If can not direct', $this->text_domain); ?></option>
782
- </select>
783
- </td>
784
- </tr>
785
- <tr valign="top">
786
- <th scope="row"><?php _e('Added information', $this->text_domain); ?></th>
787
- <td><input name="properties[in-info]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['in-info']); ?>" class="regular-text" /><br></td>
788
- </tr>
789
- <tr valign="top">
790
- <th scope="row"><?php _e('Text of more button', $this->text_domain); ?></th>
791
- <td><input name="properties[in-more-text]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['in-more-text']); ?>" class="regular-text" /></td>
792
- </tr>
793
- <tr valign="top">
794
- <th scope="row"><?php _e('Open new window/tab', $this->text_domain); ?></th>
795
- <td>
796
- <select name="properties[in-target]">
797
- <option value="" <?php if($this->options['in-target'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
798
- <option value="1" <?php if($this->options['in-target'] == '1') echo 'selected="selected"'; ?>><?php _e('All client', $this->text_domain); ?></option>
799
- <option value="2" <?php if($this->options['in-target'] == '2') echo 'selected="selected"'; ?>><?php _e('Other than mobile', $this->text_domain); ?></option>
800
- </select>
801
- </td>
802
- </tr>
803
- <tr valign="top">
804
- <th scope="row"><?php _e('Get contents', $this->text_domain); ?></th>
805
- <td>
806
- <select name="properties[in-get]">
807
- <?php $in_data = (isset($this->options['in-get']) ? $this->options['in-get'] : ''); ?>
808
- <option value="" <?php if($in_data == '') echo 'selected="selected"'; ?>><?php _e('Always get the latest from the content', $this->text_domain); ?></option>
809
- <option value="1" <?php if($in_data == '1') echo 'selected="selected"'; ?>><?php _e('Always get the latest from the excerpt', $this->text_domain); ?></option>
810
- <option value="2" <?php if($in_data == '2') echo 'selected="selected"'; ?>><?php _e('Initially acquired only from the content', $this->text_domain); ?></option>
811
- </select>
812
- </td>
813
- </tr>
814
- <tr valign="top">
815
- <th scope="row"><?php _e('Retry get PID', $this->text_domain); ?></th>
816
- <td><label><input name="properties[flg-get-pid]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-get-pid']) ? $this->options['flg-get-pid'] : null, 1); ?> /><?php _e('When the `Post ID` can not be acquired, it is acquired again.', $this->text_domain); ?></label></td>
817
- </tr>
818
- </table>
819
- <?php submit_button(); ?>
820
 
821
- <h3><?php _e('Same-page link settings', $this->text_domain); ?></h3>
822
- <table class="form-table">
823
- <tr valign="top">
824
- <th scope="row"><?php _e('Background Color', $this->text_domain); ?></th>
825
- <td><input name="properties[th-bgcolor]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['th-bgcolor']); ?>" /></td>
826
- </tr>
827
- <tr valign="top">
828
- <th scope="row"><?php _e('Background Image', $this->text_domain); ?></th>
829
- <td><input name="properties[th-image]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['th-image']); ?>" size="80" /></td>
830
- </tr>
831
- <tr valign="top">
832
- <th scope="row"><?php _e('Thumbnail', $this->text_domain); ?></th>
833
- <td><?php _e('It is common with setting Internal-link', $this->text_domain); ?></td>
834
- </re>
835
- <tr valign="top">
836
- <th scope="row"><?php _e('Favicon', $this->text_domain); ?></th>
837
- <td><?php _e('It is common with setting Internal-link', $this->text_domain); ?></td>
838
- </re>
839
- <tr valign="top">
840
- <th scope="row"><?php _e('Added information', $this->text_domain); ?></th>
841
- <td><input name="properties[th-info]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['th-info']); ?>" class="regular-text" /></td>
842
- </tr>
843
- <tr valign="top">
844
- <th scope="row"><?php _e('Open new window/tab', $this->text_domain); ?></th>
845
- <td><?php _e('It is common with setting Internal-link', $this->text_domain); ?></td>
846
- </re>
847
- </table>
848
- <?php submit_button(); ?>
849
 
850
- <h3><?php _e('Web-API settings', $this->text_domain); ?></h3>
851
- <table class="form-table"
852
- <tr valign="top">
853
- <th scope="row"><?php _e('Favicon API', $this->text_domain); ?></th>
854
- <td>
855
- <input name="properties[favicon-api]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['favicon-api']); ?>" size="80" onclick="this.select(0,this.value.length);" />
856
- <p><?php _e('%DOMAIN% replace to domain name (ex. poporon.poponet.jp )<br>%DOMAIN_URL% replace to domain URL (ex. http://poporon.poponet.jp )', $this->text_domain); ?></p>
857
- <p><?php _e('%URL% replace to URL.', $this->text_domain); ?></p>
858
- <p><?php _e('ex1.', $this->text_domain); ?><input name="" type="text" id="inputtext" value="https://www.google.com/s2/favicons?domain=%DOMAIN%" size="70" onclick="this.select(0,this.value.length);" readonly /></p>
859
- <p><?php _e('ex2.', $this->text_domain); ?><input name="" type="text" id="inputtext" value="https://favicon.hatena.ne.jp/?url=%URL%" size="70" onclick="this.select(0,this.value.length);" readonly /></p>
860
- </td>
861
- </tr>
862
- <tr valign="top">
863
- <th scope="row" rowspan="3"><?php _e('Thumbnail API', $this->text_domain); ?></th>
864
- <td>
865
- <input name="properties[thumbnail-api]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['thumbnail-api']); ?>" size="80" onclick="this.select(0,this.value.length);" />
866
- <p><?php _e('%URL% replace to URL.', $this->text_domain); ?></p>
867
- <p><?php _e('ex1.', $this->text_domain); ?><input name="" type="text" id="inputtext" value="https://s.wordpress.com/mshots/v1/%URL%?w=100" size="70" onclick="this.select(0,this.value.length);" readonly /></p>
868
- <p><?php _e('ex2.', $this->text_domain); ?><input name="" type="text" id="inputtext" value="https://capture.heartrails.com/100x100?%URL%" size="70" onclick="this.select(0,this.value.length);" readonly /></p>
869
- </td>
870
- </tr>
871
- </table>
872
- <?php submit_button(); ?>
873
 
874
- <h3><?php _e('Check link settings', $this->text_domain); ?></h3>
875
- <table class="form-table">
876
- <tr valign="top">
877
- <th scope="row"><?php _e('Do not link at error', $this->text_domain); ?></th>
878
- <td><label><input name="properties[flg-unlink]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-unlink']) ? $this->options['flg-unlink'] : null, 1); ?> /><?php _e('When access status is "403", "404", "410", unlink', $this->text_domain); ?></label></td>
879
- </tr>
880
- <tr valign="top">
881
- <th scope="row"><?php _e('SSL verification disabled', $this->text_domain); ?></th>
882
- <td><label><input name="properties[flg-ssl]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-ssl']) ? $this->options['flg-ssl'] : null, 1); ?> /><?php _e('Try setting if the contents of the SSL site can not be acquired.', $this->text_domain); ?></label></td>
883
- </tr>
884
- <tr valign="top">
885
- <th scope="row"><?php _e('Follow location', $this->text_domain); ?></th>
886
- <td><label><input name="properties[flg-redir]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-redir']) ? $this->options['flg-redir'] : null, 1); ?> /><?php _e('Track when the link destination is redirected.', $this->text_domain); ?></label></td>
887
- </tr>
888
- <tr valign="top">
889
- <th scope="row"><?php _e('Set referer', $this->text_domain); ?></th>
890
- <td><label><input name="properties[flg-referer]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-referer']) ? $this->options['flg-referer'] : null, 1); ?> /><?php _e('Notify the article URL to the link destination.', $this->text_domain); ?></label></td>
891
- </tr>
892
- <tr valign="top">
893
- <th scope="row"><?php _e('Use User-Agent', $this->text_domain); ?></th>
894
- <td>
895
- <label><input name="properties[flg-agent]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-agent']) ? $this->options['flg-agent'] : null, 1); ?> /></label><?php _e('Notify using Pz-LinkCard to the link destination.', $this->text_domain); ?></label>
896
- <p style="margin-left: 20px;"><input name="properties[user-agent]" type="text" id="inputtext" value="<?php echo esc_attr('Pz-LinkCard-Crawler/'.$this->options['plugin-version']); ?>" size="77" readonly /></p>
897
- </td>
898
- </tr>
899
- <tr valign="top">
900
- <th scope="row"><?php _e('Broken link checker', $this->text_domain); ?></th>
901
- <td><label><input name="properties[flg-alive]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-alive']) ? $this->options['flg-alive'] : null, 1); ?> /><?php _e('Alive confirmation of the link destination.', $this->text_domain); ?></label></td>
902
- </tr>
903
- <tr valign="top">
904
- <th scope="row"><?php _e('Broken link count', $this->text_domain); ?></th>
905
- <td><label><input name="properties[flg-alive-count]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-alive-count']) ? $this->options['flg-alive-count'] : null, 1); ?> /><?php _e('The number of broken links is displayed next to the submenu.', $this->text_domain); ?></label></td>
906
- </tr>
907
- <tr valign="top">
908
- <th scope="row"><?php _e('Multi-site compatible', $this->text_domain); ?></th>
909
- <td><label><input name="properties[flg-subdir]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-subdir']) ? $this->options['flg-subdir'] : null, 1); ?> /><?php _e('In the case of the multi-site of the subdirectory type, the site under the subdirectory is judged as an external site.', $this->text_domain); ?></label></td>
910
- </tr>
911
- </table>
912
- <?php submit_button(); ?>
913
 
914
- <h3><?php _e('Editor settings', $this->text_domain); ?></h3>
915
- <table class="form-table">
916
- <tr valign="top">
917
- <th scope="row"><?php _e('ShortCode 1', $this->text_domain); ?></th>
918
- <td>[<input name="properties[code1]" type="text" id="code1" value="<?php echo esc_attr($this->options['code1']); ?>" class="regular-text" style="width: 8em;" onKeyUp="document.getElementById('open1').innerText = document.getElementById('code1').value; document.getElementById('close1').innerText = document.getElementById('code1').value; document.getElementById('open2').innerText = document.getElementById('code1').value;" /> url="http://xxx" <span style="color: #aabbff; font-weight: bold;">title=</span><span style="color: #aabbff;">"xxxxxx"</span> <span style="color: #bbaaff; font-weight: bold;">content=</span><span style="color: #bbaaff;">"xxxxxx"</span>]
919
- <p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
920
- </tr>
921
- <tr valign="top">
922
- <th scope="row"><?php _e('Use inlinetext', $this->text_domain); ?></th>
923
- <td>
924
- [<span style="color: #888888;" id="open1"><?php echo esc_attr($this->options['code1']); ?></span> url="http://xxx"]
925
- <select name="properties[use-inline]">
926
- <option value="" <?php if($this->options['use-inline'] == '') echo 'selected="selected"'; ?>><?php _e('No use', $this->text_domain); ?></option>
927
- <option value="1" <?php if($this->options['use-inline'] == '1') echo 'selected="selected"'; ?>><?php _e('Use to excerpt', $this->text_domain); ?></option>
928
- <option value="2" <?php if($this->options['use-inline'] == '2') echo 'selected="selected"'; ?>><?php _e('Use to title', $this->text_domain); ?></option>
929
- </select>
930
- [/<span style="color: #888888;" id="close1"><?php echo esc_attr($this->options['code1']); ?></span>]
931
- <p><?php _e('This setting applies only to the Shortcode1', $this->text_domain); ?></p></td>
932
- </td>
933
- </tr>
934
- <tr valign="top">
935
- <th scope="row"><?php _e('ShortCode 2', $this->text_domain); ?></th>
936
- <td>[<input name="properties[code2]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['code2']); ?>" class="regular-text" style="width: 8em;" /> url="http://xxx" <span style="color: #aabbff; font-weight: bold;">title=</span><span style="color: #aabbff;">"xxxxxx"</span> <span style="color: #bbaaff; font-weight: bold;">content=</span><span style="color: #bbaaff;">"xxxxxx"</span>]
937
- <p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
938
- </tr>
939
- <tr valign="top">
940
- <th scope="row"><?php _e('ShortCode 3', $this->text_domain); ?></th>
941
- <td>[<input name="properties[code3]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['code3']); ?>"class="regular-text" style="width: 8em;" /> url="http://xxx" <span style="color: #aabbff; font-weight: bold;">title=</span><span style="color: #aabbff;">"xxxxxx"</span> <span style="color: #bbaaff; font-weight: bold;">content=</span><span style="color: #bbaaff;">"xxxxxx"</span>]
942
- <p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
943
- </tr>
944
- <tr valign="top" style="display: none;">
945
- <th scope="row"><?php _e('ShortCode 4', $this->text_domain); ?></th>
946
- <td>[<input name="properties[code4]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['code4']); ?>" class="regular-text" style="width: 8em;" /> url="http://xxx" <span style="color: #aabbff; font-weight: bold;">title=</span><span style="color: #aabbff;">"xxxxxx"</span> <span style="color: #bbaaff; font-weight: bold;">content=</span><span style="color: #bbaaff;">"xxxxxx"</span>]
947
- <p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
948
- </tr>
949
- <tr valign="top">
950
- <th scope="row"><?php _e('Parameters', $this->text_domain); ?></th>
951
- <td>
952
- [<span style="color: #888888;" id="open2"><?php echo esc_attr($this->options['code1']); ?></span> url="http://xxx" <span style="color: #4488ff; font-weight: bold;">title=</span>"xxxxxx" <span style="color: #8844ff; font-weight: bold;">content=</span>"xxxxxx"]<br>
953
- <?php _e('For any shortcode you can change the title and excerpt with `title` parameter and `content` parameter', $this->text_domain); ?>
954
- </ts>
955
- </tr>
956
 
957
- <tr valign="top">
958
- <th scope="row"><?php _e('Convert text link', $this->text_domain); ?></th>
959
- <td><label><input name="properties[auto-atag]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['auto-atag']) ? $this->options['auto-atag'] : null, 1); ?> /><?php _e('Convert lines with text link only to Linkcard.', $this->text_domain); ?></label></td>
960
- </tr>
961
- <tr valign="top">
962
- <th scope="row"><?php _e('Convert URL', $this->text_domain); ?></th>
963
- <td><label><input name="properties[auto-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['auto-url']) ? $this->options['auto-url'] : null, 1); ?> /><?php _e('Convert lines with URL only to Linkcard.', $this->text_domain); ?></label></td>
964
- </tr>
965
- <tr valign="top">
966
- <th scope="row"><?php _e('Convert text link', $this->text_domain); ?></th>
967
- <td><label><input name="properties[auto-external]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['auto-external']) ? $this->options['auto-external'] : null, 1); ?> /><?php _e('Convert lines with text link only to Linkcard.', $this->text_domain); ?></label></td>
968
- </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
969
 
970
- <tr valign="top">
971
- <th scope="row"><?php _e('Add insert button', $this->text_domain); ?></th>
972
- <td><label><input name="properties[flg-edit-insert]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-edit-insert']) ? $this->options['flg-edit-insert'] : null, 1); ?> /><?php _e('Add insert button to visual editor.', $this->text_domain); ?></label></td>
973
- </tr>
974
- <tr valign="top">
975
- <th scope="row"><?php _e('Add quick tag', $this->text_domain); ?></th>
976
- <td><label><input name="properties[flg-edit-qtag]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-edit-qtag']) ? $this->options['flg-edit-qtag'] : null, 1); ?> /><?php _e('Add quick tag button to text editor.', $this->text_domain); ?></label></td>
977
- </tr>
 
 
 
 
978
 
979
- </table>
980
- <?php submit_button(); ?>
 
 
981
 
982
- <h3><?php _e('Advanced settings', $this->text_domain); ?></h3>
983
- <table class="form-table">
984
- <tr valign="top">
985
- <th scope="row"><?php _e('Trailing slash', $this->text_domain); ?></th>
986
- <td>
987
- <select name="properties[trail-slash]">
988
- <?php $in_data = (isset($this->options['trail-slash']) ? $this->options['trail-slash'] : ''); ?>
989
- <option value="" <?php if($in_data == '') echo 'selected="selected"'; ?>><?php _e('As it', $this->text_domain); ?></option>
990
- <option value="1" <?php if($in_data == '1') echo 'selected="selected"'; ?>><?php _e('When only domain name, remove', $this->text_domain); ?></option>
991
- <option value="2" <?php if($in_data == '2') echo 'selected="selected"'; ?>><?php _e('Always remove', $this->text_domain); ?></option>
992
- </select>
993
- </td>
994
- </tr>
995
 
996
- <tr valign="top">
997
- <th scope="row"><?php _e('CSS to be added', $this->text_domain); ?></th>
998
- <td><input name="properties[css-add]" type="text" id="inputtext" value="<?php echo (isset($this->options['css-add']) ? esc_attr($this->options['css-add']) : ''); ?>" size="80" /><br>
999
- </tr>
1000
- <tr valign="top" style="display: none;">
1001
- <th scope="row"><?php _e('specified CSS', $this->text_domain); ?></th>
1002
- <td><label><input name="properties[css-sp]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['css-sp']) ? $this->options['css-sp'] : null, 1); ?> /><?php _e('Use specified CSS file', $this->text_domain); ?></label></td>
1003
- </tr>
1004
- <tr valign="top" style="display: none;">
1005
- <th scope="row"><?php _e('CSS file', $this->text_domain); ?></th>
1006
- <td><input name="properties[css-file]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['css-file']); ?>" size="80" /><br><p><?php _e('(ex. https://exsample.com/style.css )', $this->text_domain); ?></p></td>
1007
- </tr>
1008
- <tr valign="top" style="display: none;">
1009
- <th scope="row"><?php _e('CSS file', $this->text_domain); ?></th>
1010
- <td><input name="properties[css-path]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['css-path']); ?>" size="80" /><br>
1011
- </tr>
1012
- <tr valign="top" style="display: none;">
1013
- <th scope="row"><?php _e('CSS URL', $this->text_domain); ?></th>
1014
- <td><input name="properties[css-url]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['css-url']); ?>" size="80" /><br>
1015
- </tr>
1016
 
1017
- <tr valign="top">
1018
- <th scope="row"><?php _e('Class ID to be added(for PC)', $this->text_domain); ?></th>
1019
- <td><input name="properties[class-pc]" type="text" id="inputtext" value="<?php echo (isset($this->options['class-pc']) ? esc_attr($this->options['class-pc']) : ''); ?>" size="40" /><br>
1020
- </tr>
1021
- <tr valign="top">
1022
- <th scope="row"><?php _e('Class ID to be added(for Mobile)', $this->text_domain); ?></th>
1023
- <td><input name="properties[class-mobile]" type="text" id="inputtext" value="<?php echo (isset($this->options['class-mobile']) ? esc_attr($this->options['class-mobile']) : ''); ?>" size="40" /><br>
1024
- </tr>
 
 
 
 
 
 
 
 
 
 
 
 
1025
 
1026
- <tr valign="top">
1027
- <th scope="row"><?php _e('Do shortcode', $this->text_domain); ?></th>
1028
- <td><label><input name="properties[flg-do-shortcode]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-do-shortcode']) ? $this->options['flg-do-shortcode'] : null, 1); ?> /><?php _e('Force shortcode development.', $this->text_domain); ?></label></td>
1029
- </tr>
 
 
 
 
1030
 
1031
- <tr valign="top">
1032
- <th scope="row"><?php _e('Google AMP URL', $this->text_domain); ?></th>
1033
- <td><label><input name="properties[flg-amp-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-amp-url']) ? $this->options['flg-amp-url'] : null, 1); ?> /><?php _e('If the URL is AMP, display simple.', $this->text_domain); ?></label></td>
1034
- </tr>
1035
 
1036
- <tr valign="top">
1037
- <th scope="row"><?php _e('IDNA Convert', $this->text_domain); ?></th>
1038
- <td><label><input name="properties[flg-idn]" type="checkbox" id="check" value="1" <?php checked( (isset($this->options['flg-idn']) && function_exists('idn_to_utf8') ) ? $this->options['flg-idn'] : null, 1); ?> /><?php _e('Convert domain name from IDNA ASCII to Unicode.', $this->text_domain); ?></label></td>
1039
- </tr>
1040
 
1041
- <tr valign="top">
1042
- <th scope="row"><?php _e('Relative URL', $this->text_domain); ?></th>
1043
- <td><label><input name="properties[flg-relative-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-relative-url']) ? $this->options['flg-relative-url'] : null, 1); ?> /><?php _e('For relative-specified URLs, complement the site URL.', $this->text_domain); ?></label></td>
1044
- </tr>
1045
 
1046
- <tr valign="top" style="display: none;">
1047
- <th scope="row"><?php _e('Display link to author page', $this->text_domain); ?></th>
1048
- <td><input name="properties[plugin-link]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['plugin-link']) ? $this->options['plugin-link'] : null, 1); ?> disabled="disabled" /><a href="<?php echo $this->options['plugin-url']; ?>" target="_blank"><?php echo $this->options['plugin-name']; ?></a></td>
1049
- </tr>
1050
- <tr valign="top" style="display: none;">
1051
- <th scope="row"><?php _e('Plugin URL', $this->text_domain); ?></th>
1052
- <td><input name="properties[plugin-url]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['plugin-url']); ?>" class="regular-text" /></td>
1053
- </tr>
1054
- <tr valign="top" style="display: none;">
1055
- <th scope="row"><?php _e('Plugin name', $this->text_domain); ?></th>
1056
- <td><input name="properties[plugin-name]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['plugin-name']); ?>" class="regular-text" /></td>
1057
- </tr>
1058
- <tr valign="top" style="display: none;">
1059
- <th scope="row"><?php _e('Plugin version', $this->text_domain); ?></th>
1060
- <td><input name="properties[plugin-version]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['plugin-version']); ?>" class="regular-text" /></td>
1061
- </tr>
1062
- <tr valign="top" style="display: none;">
1063
- <th scope="row"><?php _e('Saved datetime', $this->text_domain); ?></th>
1064
- <td><input name="properties[saved-date]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['saved-date']); ?>" /></td>
1065
- </tr>
1066
 
1067
- <tr valign="top">
1068
- <th scope="row"><?php _e('Display elapsed time', $this->text_domain); ?></th>
1069
- <td><label><input name="properties[debug-time]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['debug-time']) ? $this->options['debug-time'] : null, 1); ?> /><?php _e('Output the elapsed time to HTML comment.', $this->text_domain); _e('(Not recommended)', $this->text_domain); ?></label></td>
1070
- </tr>
1071
 
 
 
 
 
 
 
 
 
 
 
1072
  </table>
1073
- <?php submit_button(); ?>
1074
 
1075
- <h3><?php _e('Initialize', $this->text_domain); ?></h3>
1076
- <table class="form-table">
1077
- <tr valign="top">
1078
- <th scope="row"><?php _e('Return to the initial setting', $this->text_domain); ?></th>
1079
- <td><label><input name="properties[initialize]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['initialize']) ? $this->options['initialize'] : null, 1); ?> /></label></td>
1080
- </tr>
1081
- </table>
1082
  <?php submit_button(); ?>
1083
 
1084
- <h3><?php _e('etc', $this->text_domain); ?></h3>
1085
- <table class="form-table">
1086
- <tr valign="top">
1087
- <th scope="row"><?php _e("Author's site", $this->text_domain); ?></th>
1088
- <td><?php echo __('Popozure.', $this->text_domain).' ('.__("Poporon's PC daily diary", $this->text_domain).')'; ?><BR><A href="https://popozure.info" target="_blank">https://popozure.info</A></td>
1089
- </tr>
1090
- <tr valign="top">
1091
- <th scope="row"><?php _e("When in trouble", $this->text_domain); ?></th>
1092
- <td><?php echo __('Twitter account', $this->text_domain); ?><BR><A href="https://twitter.com/popozure" target="_blank">@popozure</A></td>
1093
- </tr>
1094
- <tr valign="top" style="display: none;">
1095
- <th scope="row"><?php _e("Donation", $this->text_domain); ?></th>
1096
- <td>https://www.amazon.co.jp/gp/registry/wishlist/2KIBQLC1VLA9X</td>
1097
- </tr>
1098
- </table>
1099
-
1100
  </form>
1101
  </div>
1102
  </div>
2
  <div class="wrap">
3
  <div id="icon-options-general" class="icon32"></div>
4
  <h2><?php echo __('LinkCard Settings', $this->text_domain).' ver.'.$this->options['plugin-version'];?></h2>
5
+ <div id="settings" style="clear:both;">
6
  <?php
7
  if ( isset($_POST['properties'])) {
8
  check_admin_referer('pz_options');
14
  $this->options[$key] = null;
15
  }
16
  }
17
+
18
  if (isset($this->options['initialize']) && $this->options['initialize'] == '1') {
19
  delete_option('Pz_LinkCard_options');
20
  $this->options = $this->defaults;
21
  }
22
+
23
  $this->options['ex-image'] = stripslashes($this->options['ex-image']);
24
  $this->options['in-image'] = stripslashes($this->options['in-image']);
25
  $this->options['th-image'] = stripslashes($this->options['th-image']);
26
+
27
  $this->options['ex-info'] = stripslashes($this->options['ex-info']);
28
  $this->options['in-info'] = stripslashes($this->options['in-info']);
29
  $this->options['th-info'] = stripslashes($this->options['th-info']);
30
+
31
  $this->options['favicon-api'] = preg_replace( array('/%DOMAIN%/i', '/%DOMAIN_URL%/i', '/%URL%/i' ), array('%DOMAIN%', '%DOMAIN_URL%', '%URL%'), (isset($this->options['favicon-api'])) ? $this->options['favicon-api'] : null );
32
  $this->options['thumbnail-api'] = preg_replace( array('/%DOMAIN%/i', '/%DOMAIN_URL%/i', '/%URL%/i' ), array('%DOMAIN%', '%DOMAIN_URL%', '%URL%'), (isset($this->options['thumbnail-api'])) ? $this->options['thumbnail-api'] : null );
33
+
34
  $this->options['saved-date'] = time();
35
+
36
  $result = true;
37
  if ($this->options['code1'] == '') {
38
  echo '<div class="error fade"><p><strong>'.__('Short code is not set.', $this->text_domain).'</strong></p></div>';
39
  $result = false;
40
  }
41
+
42
  $width = $this->options['width'];
43
  if ($width) {
44
  if (substr($width, -1 ) == '%') {
52
  $this->options['width'] = pz_TrimNum($width, $this->defaults['width']).'px';
53
  }
54
  }
55
+
56
  if ($this->options['content-height']) {
57
  $this->options['content-height'] = pz_TrimNum($this->options['content-height'], $this->defaults['content-height'] ).'px';
58
  }
75
  $this->options['thumbnail-width'] = pz_TrimNum($this->options['thumbnail-width'], $this->defaults['thumbnail-width']).'px';
76
  $this->options['thumbnail-height'] = pz_TrimNum($this->options['thumbnail-height'], $this->defaults['thumbnail-height']).'px';
77
  $this->options['border-width'] = pz_TrimNum($this->options['border-width'], $this->defaults['border-width']).'px';
78
+
79
+ $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['ex-border-color']);
80
+ $this->options['ex-border-color'] = '#'.$color_code;
81
+
82
+ $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['in-border-color']);
83
+ $this->options['in-border-color'] = '#'.$color_code;
84
+
85
+ $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['th-border-color']);
86
+ $this->options['th-border-color'] = '#'.$color_code;
87
+
88
  $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['color-info']);
89
  $this->options['color-info'] = '#'.$color_code;
90
+
91
  $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['color-added']);
92
  $this->options['color-added'] = '#'.$color_code;
93
+
94
  $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['color-title']);
95
  $this->options['color-title'] = '#'.$color_code;
96
+
97
  $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['color-url']);
98
  $this->options['color-url'] = '#'.$color_code;
99
+
100
  $color_code = preg_replace('/[^0-9a-f]/i', '', $this->options['color-excerpt']);
101
  $this->options['color-excerpt'] = '#'.$color_code;
102
+
103
  // サムネイルのキャッシュディレクトリの用意
104
  $thumbnail_dir = $this->upload_dir_path.'cache/';
105
  $thumbnail_url = $this->upload_dir_url .'cache/';
113
  }
114
  $this->options['thumbnail-dir'] = $thumbnail_dir;
115
  $this->options['thumbnail-url'] = $thumbnail_url;
116
+
117
  // オプションの更新
118
  if ($result == true) {
119
  $result = update_option('Pz_LinkCard_options', $this->options);
129
  <form action="" method="post">
130
  <?php wp_nonce_field('pz_options'); ?>
131
 
132
+ <div class="pz-lkc-tabs">
133
+ <a class="pz-lkc-tab<?php if ($this->options['flg-invalid']) { echo ' pz-lkc-tab-active'; } ?>" href="#pz-lkc-error"<?php if (!$this->options['flg-invalid']) { echo ' style="display: none;"'; } ?>><?php _e('Error', $this->text_domain); ?></a>
134
+ <a class="pz-lkc-tab<?php if (!$this->options['flg-invalid']) { echo ' pz-lkc-tab-active'; } ?>" href="#pz-lkc-basic"><?php _e('Basic', $this->text_domain); ?></a>
135
+ <a class="pz-lkc-tab" href="#pz-lkc-position"><?php _e('Position', $this->text_domain); ?></a>
136
+ <a class="pz-lkc-tab" href="#pz-lkc-display"><?php _e('Display', $this->text_domain); ?></a>
137
+ <a class="pz-lkc-tab" href="#pz-lkc-letter"><?php _e('Letter', $this->text_domain); ?></a>
138
+ <a class="pz-lkc-tab" href="#pz-lkc-external"><?php _e('External link', $this->text_domain); ?></a>
139
+ <a class="pz-lkc-tab" href="#pz-lkc-internal"><?php _e('Internal link', $this->text_domain); ?></a>
140
+ <a class="pz-lkc-tab" href="#pz-lkc-samepage"><?php _e('Same page link', $this->text_domain); ?></a>
141
+ <a class="pz-lkc-tab" href="#pz-lkc-api"><?php _e('Web API', $this->text_domain); ?></a>
142
+ <a class="pz-lkc-tab" href="#pz-lkc-check"><?php _e('Link check', $this->text_domain); ?></a>
143
+ <a class="pz-lkc-tab" href="#pz-lkc-editor"><?php _e('Editor', $this->text_domain); ?></a>
144
+ <a class="pz-lkc-tab" href="#pz-lkc-advanced"><?php _e('Advanced', $this->text_domain); ?></a>
145
+ <a class="pz-lkc-tab" href="#pz-lkc-initialize"><?php _e('Initialize', $this->text_domain); ?></a>
146
+ </div>
147
+
148
+ <div class="pz-lkc-item<?php if ($this->options['flg-invalid']) { echo ' pz-lkc-item-active'; } ?>" id="pz-lkc-error">
149
+ <div<?php if (!$this->options['flg-invalid']) { echo ' style="display: none;"'; } ?>>
150
+ <h3><?php echo __('Error settings', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-settings-error" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a>'; ?></h3>
151
+ <table class="form-table">
152
+ <tr valign="top">
153
+ <th scope="row"><?php _e('Invalid URL', $this->text_domain); ?></th>
154
+ <td><label><input name="properties[flg-invalid]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-invalid']) ? $this->options['flg-invalid'] : null, 1); ?> /><?php _e('Uncheck to cancel the error condition.', $this->text_domain); ?></label></td>
155
+ </tr>
156
+ <tr valign="top" style="display: none;">
157
+ <th scope="row"><?php _e('Error URL', $this->text_domain); ?></th>
158
+ <td><input name="properties[invalid-url]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['invalid-url']); ?>" size="80" /></td>
159
+ </tr>
160
+ <tr valign="top" style="display: none;">
161
+ <th scope="row"><?php _e('Error Time', $this->text_domain); ?></th>
162
+ <td><input name="properties[invalid-time]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['invalid-time']); ?>" size="10" /></td>
163
+ </tr>
164
+ </table>
165
+ </div>
166
+ </div>
167
+
168
+ <div class="pz-lkc-item<?php if (!$this->options['flg-invalid']) { echo ' pz-lkc-item-active'; } ?>" id="pz-lkc-basic">
169
+ <h3><?php echo __('Basic settings', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-settings-basic" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a>'; ?></h3>
170
  <table class="form-table">
171
  <tr valign="top">
172
+ <th scope="row"><?php _e('Easy format', $this->text_domain); ?></th>
173
+ <td>
174
+ <select name="properties[special-format]">
175
+ <option value="" <?php if($this->options['special-format'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
176
+ <option value="LkC" <?php if($this->options['special-format'] == 'LkC') echo 'selected="selected"'; ?>><?php _e('Pz-LkC Default', $this->text_domain); ?></option>
177
+ <option value="hbc" <?php if($this->options['special-format'] == 'hbc') echo 'selected="selected"'; ?>><?php _e('Normal', $this->text_domain); ?></option>
178
+ <option value="ecl" <?php if($this->options['special-format'] == 'ecl') echo 'selected="selected"'; ?>><?php _e('Enclose', $this->text_domain); ?></option>
179
+ <option value="cmp" <?php if($this->options['special-format'] == 'cmp') echo 'selected="selected"'; ?>><?php _e('Compact', $this->text_domain); ?></option>
180
+ <option value="ref" <?php if($this->options['special-format'] == 'ref') echo 'selected="selected"'; ?>><?php _e('Reflection', $this->text_domain); ?></option>
181
+ <option value="smp" <?php if($this->options['special-format'] == 'smp') echo 'selected="selected"'; ?>><?php _e('Simple', $this->text_domain); ?></option>
182
+ <option value="JIN" <?php if($this->options['special-format'] == 'JIN') echo 'selected="selected"'; ?>><?php _e('Headline', $this->text_domain); ?></option>
183
+ <option value="ct1" <?php if($this->options['special-format'] == 'ct1') echo 'selected="selected"'; ?>><?php _e('Cellophane tape "center"', $this->text_domain); ?></option>
184
+ <option value="ct2" <?php if($this->options['special-format'] == 'ct2') echo 'selected="selected"'; ?>><?php _e('Cellophane tape "Top corner"', $this->text_domain); ?></option>
185
+ <option value="ct3" <?php if($this->options['special-format'] == 'ct3') echo 'selected="selected"'; ?>><?php _e('Cellophane tape "long"', $this->text_domain); ?></option>
186
+ <option value="ct4" <?php if($this->options['special-format'] == 'ct4') echo 'selected="selected"'; ?>><?php _e('Cellophane tape "digonal"', $this->text_domain); ?></option>
187
+ <option value="ppc" <?php if($this->options['special-format'] == 'ppc') echo 'selected="selected"'; ?>><?php _e('Curling paper', $this->text_domain); ?></option>
188
+ <option value="tac" <?php if($this->options['special-format'] == 'tac') echo 'selected="selected"'; ?>><?php _e('Cellophane tape and curling', $this->text_domain); ?></option>
189
+ <option value="sBR" <?php if($this->options['special-format'] == 'sBR') echo 'selected="selected"'; ?>><?php _e('Stitch blue & red', $this->text_domain); ?></option>
190
+ <option value="sGY" <?php if($this->options['special-format'] == 'sGY') echo 'selected="selected"'; ?>><?php _e('Stitch green & yellow', $this->text_domain); ?></option>
191
+ <option value="sqr" <?php if($this->options['special-format'] == 'sqr') echo 'selected="selected"'; ?>><?php _e('Square', $this->text_domain); ?></option>
192
+ <option value="inI" <?php if($this->options['special-format'] == 'inI') echo 'selected="selected"'; ?>><?php _e('Infomation orange', $this->text_domain); ?></option>
193
+ <option value="inN" <?php if($this->options['special-format'] == 'inN') echo 'selected="selected"'; ?>><?php _e('Neutral bluegreen', $this->text_domain); ?></option>
194
+ <option value="inE" <?php if($this->options['special-format'] == 'inE') echo 'selected="selected"'; ?>><?php _e('Enlightened green', $this->text_domain); ?></option>
195
+ <option value="inR" <?php if($this->options['special-format'] == 'inR') echo 'selected="selected"'; ?>><?php _e('Resistance blue', $this->text_domain); ?></option>
196
+ <option value="wxp" <?php if($this->options['special-format'] == 'wxp') echo 'selected="selected"'; ?>><?php _e('Windows XP', $this->text_domain); ?></option>
197
+ <option value="w95" <?php if($this->options['special-format'] == 'w95') echo 'selected="selected"'; ?>><?php _e('Windows 95', $this->text_domain); ?></option>
198
+ <option value="slt" <?php if($this->options['special-format'] == 'slt') echo 'selected="selected"'; ?>><?php _e('Slanting', $this->text_domain); ?></option>
199
+ <option value="3Dr" <?php if($this->options['special-format'] == '3Dr') echo 'selected="selected"'; ?>><?php _e('3D Rotate', $this->text_domain); ?></option>
200
+ <option value="pin" <?php if($this->options['special-format'] == 'pin') echo 'selected="selected"'; ?>><?php _e('Pushpin', $this->text_domain); ?></option>
201
+ </select>
202
+ <br><span style="color: #ff8844;"><?php echo __('*', $this->text_domain).' '.__('It applies over other formatting settings.', $this->text_domain); ?></span>
203
+ </td>
204
  </tr>
205
+
206
+ <tr valign="top">
207
+ <th scope="row"><?php _e("How to (Japanese only)", $this->text_domain); ?></th>
208
+ <td><A href="https://popozure.info/pz-linkcard" target="_blank">https://popozure.info/pz-linkcard</A></td>
209
+ </tr>
210
+
211
+ <tr valign="top">
212
+ <th scope="row"><?php _e("Author's site", $this->text_domain); ?></th>
213
+ <td><?php echo __('Popozure.', $this->text_domain).' ('.__("Poporon's PC daily diary", $this->text_domain).')'; ?><BR><A href="https://popozure.info" target="_blank">https://popozure.info</A></td>
214
+ </tr>
215
+ <tr valign="top">
216
+ <th scope="row"><?php _e("When in trouble", $this->text_domain); ?></th>
217
+ <td><?php echo __('Twitter account', $this->text_domain); ?><BR><A href="https://twitter.com/popozure" target="_blank">@popozure</A></td>
218
  </tr>
219
  <tr valign="top" style="display: none;">
220
+ <th scope="row"><?php _e("Donation", $this->text_domain); ?></th>
221
+ <td>https://www.amazon.co.jp/gp/registry/wishlist/2KIBQLC1VLA9X</td>
222
  </tr>
223
+
224
  </table>
 
225
  </div>
226
+
227
+ <div class="pz-lkc-item" id="pz-lkc-position">
228
+ <h3><?php echo __('Position settings', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-settings-position" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a>'; ?></h3>
229
+ <table class="form-table">
230
+ <tr valign="top">
231
+ <th scope="row"><?php _e('Use blockquote tag', $this->text_domain); ?></th>
232
+ <td><label><input name="properties[blockquote]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['blockquote']) ? $this->options['blockquote'] : null, 1); ?> /><?php _e('without using DIV tag, and use BLOCKQUOTE tag', $this->text_domain); ?></label></td>
233
+ </tr>
234
 
235
+ <tr valign="top">
236
+ <th scope="row"><?php _e('Link the whole', $this->text_domain); ?></th>
237
+ <td>
238
+ <label>
239
+ <input name="properties[link-all]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['link-all']) ? $this->options['link-all'] : null, 1); ?> />
240
+ <?php _e('Enclose the entire card at anchor', $this->text_domain); ?>
241
+ </label>
242
+ </td>
243
+ </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
 
245
+ <tr valign="top">
246
+ <th scope="row"><?php _e('Margin', $this->text_domain); ?></th>
247
+ <td>
248
+ <table style="border: 1px dashed #000; background-color: #eee; width: 600px;">
249
+ <tr>
250
+ <td>
251
+ </td>
252
+ <td align="center">
253
+ <?php _e('Margin top', $this->text_domain); ?><br>
254
+ <select name="properties[margin-top]">
255
+ <option value="" <?php if($this->options['margin-top'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
256
+ <option value="0" <?php if($this->options['margin-top'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
257
+ <option value="4px" <?php if($this->options['margin-top'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
258
+ <option value="8px" <?php if($this->options['margin-top'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
259
+ <option value="16px" <?php if($this->options['margin-top'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
260
+ <option value="32px" <?php if($this->options['margin-top'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
261
+ <option value="40px" <?php if($this->options['margin-top'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
262
+ <option value="64px" <?php if($this->options['margin-top'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
263
  </select>
264
+ </td>
265
+ <td></td>
266
+ </tr>
267
+ <tr>
268
+ <td align="center">
269
+ <?php _e('Margin left', $this->text_domain); ?><br>
270
+ <select name="properties[margin-left]">
271
+ <option value="" <?php if($this->options['margin-left'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
272
+ <option value="0" <?php if($this->options['margin-left'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
273
+ <option value="4px" <?php if($this->options['margin-left'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
274
+ <option value="8px" <?php if($this->options['margin-left'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
275
+ <option value="16px" <?php if($this->options['margin-left'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
276
+ <option value="32px" <?php if($this->options['margin-left'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
277
+ <option value="40px" <?php if($this->options['margin-left'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
278
+ <option value="64px" <?php if($this->options['margin-left'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
  </select>
280
+ </td>
281
+ <td align="center" style="border: 1px solid #000; background-color: #fff;">
282
+
283
+ <table class="form-table">
284
+ <tr>
285
+ <td colspan="2" align="center">
286
+ <?php _e('Margin top', $this->text_domain); ?><br>
287
+ <select name="properties[card-top]">
288
+ <option value="" <?php if($this->options['card-top'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
289
+ <option value="4px" <?php if($this->options['card-top'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
290
+ <option value="8px" <?php if($this->options['card-top'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
291
+ <option value="16px" <?php if($this->options['card-top'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
292
+ <option value="24px" <?php if($this->options['card-top'] == '24px') echo 'selected="selected"'; ?>><?php _e('24px', $this->text_domain); ?></option>
293
+ <option value="32px" <?php if($this->options['card-top'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
294
+ <option value="40px" <?php if($this->options['card-top'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
295
+ <option value="64px" <?php if($this->options['card-top'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
296
+ <option value="0" <?php if($this->options['card-top'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
297
+ </select>
298
+ </td>
299
+ </tr>
300
+ <tr>
301
+ <td align="center">
302
+ <?php _e('Margin left', $this->text_domain); ?><br>
303
+ <select name="properties[card-left]">
304
+ <option value="" <?php if($this->options['card-left'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
305
+ <option value="4px" <?php if($this->options['card-left'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
306
+ <option value="8px" <?php if($this->options['card-left'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
307
+ <option value="16px" <?php if($this->options['card-left'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
308
+ <option value="24px" <?php if($this->options['card-left'] == '24px') echo 'selected="selected"'; ?>><?php _e('24px', $this->text_domain); ?></option>
309
+ <option value="32px" <?php if($this->options['card-left'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
310
+ <option value="40px" <?php if($this->options['card-left'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
311
+ <option value="64px" <?php if($this->options['card-left'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
312
+ <option value="0" <?php if($this->options['card-left'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
313
+ </select>
314
+ </td>
315
+ <td align="center">
316
+ <?php _e('Margin right', $this->text_domain); ?><br>
317
+ <select name="properties[card-right]">
318
+ <option value="" <?php if($this->options['card-right'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
319
+ <option value="4px" <?php if($this->options['card-right'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
320
+ <option value="8px" <?php if($this->options['card-right'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
321
+ <option value="16px" <?php if($this->options['card-right'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
322
+ <option value="24px" <?php if($this->options['card-right'] == '24px') echo 'selected="selected"'; ?>><?php _e('24px', $this->text_domain); ?></option>
323
+ <option value="32px" <?php if($this->options['card-right'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
324
+ <option value="40px" <?php if($this->options['card-right'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
325
+ <option value="64px" <?php if($this->options['card-right'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
326
+ <option value="0" <?php if($this->options['card-right'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
327
+ </select>
328
+ </td>
329
+ </tr>
330
+ <tr>
331
+ <td colspan="2" align="center">
332
+ <?php _e('Width', $this->text_domain); ?><input name="properties[width]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['width']); ?>" style="width: 80px;" /><br>
333
+ <?php _e('Height', $this->text_domain); ?><input name="properties[content-height]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['content-height']); ?>" style="width: 80px;" /><br>
334
+ </td>
335
+ </tr>
336
+ <tr>
337
+ <td colspan="2" align="center">
338
+ <?php _e('Margin bottom', $this->text_domain); ?><br>
339
+ <select name="properties[card-bottom]">
340
+ <option value="" <?php if($this->options['card-bottom'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
341
+ <option value="4px" <?php if($this->options['card-bottom'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
342
+ <option value="8px" <?php if($this->options['card-bottom'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
343
+ <option value="16px" <?php if($this->options['card-bottom'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
344
+ <option value="24px" <?php if($this->options['card-bottom'] == '24px') echo 'selected="selected"'; ?>><?php _e('24px', $this->text_domain); ?></option>
345
+ <option value="32px" <?php if($this->options['card-bottom'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
346
+ <option value="40px" <?php if($this->options['card-bottom'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
347
+ <option value="64px" <?php if($this->options['card-bottom'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
348
+ <option value="0" <?php if($this->options['card-bottom'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
349
+ </select>
350
+ </td>
351
+ </tr>
352
+ </table>
353
+
354
+ </td>
355
+ <td align="center">
356
+ <?php _e('Margin right', $this->text_domain); ?><br>
357
+ <select name="properties[margin-right]">
358
+ <option value="" <?php if($this->options['margin-right'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
359
+ <option value="0" <?php if($this->options['margin-right'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
360
+ <option value="4px" <?php if($this->options['margin-right'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
361
+ <option value="8px" <?php if($this->options['margin-right'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
362
+ <option value="16px" <?php if($this->options['margin-right'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
363
+ <option value="32px" <?php if($this->options['margin-right'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
364
+ <option value="40px" <?php if($this->options['margin-right'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
365
+ <option value="64px" <?php if($this->options['margin-right'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
366
+ </select>
367
+ </td>
368
+ </tr>
369
+ <tr>
370
+ <td>
371
+ <input name="properties[centering]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['centering']) ? $this->options['centering'] : null, 1); ?> /><?php _e('Centering', $this->text_domain); ?>
372
+ </td>
373
+ <td align="center">
374
+ <?php _e('Margin bottom', $this->text_domain); ?><br>
375
+ <select name="properties[margin-bottom]">
376
+ <option value="" <?php if($this->options['margin-bottom'] == '') echo 'selected="selected"'; ?>><?php _e('Not defined', $this->text_domain); ?></option>
377
+ <option value="0" <?php if($this->options['margin-bottom'] == '0') echo 'selected="selected"'; ?>><?php _e('0', $this->text_domain); ?></option>
378
+ <option value="4px" <?php if($this->options['margin-bottom'] == '4px') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
379
+ <option value="8px" <?php if($this->options['margin-bottom'] == '8px') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
380
+ <option value="16px" <?php if($this->options['margin-bottom'] == '16px') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
381
+ <option value="32px" <?php if($this->options['margin-bottom'] == '32px') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
382
+ <option value="40px" <?php if($this->options['margin-bottom'] == '40px') echo 'selected="selected"'; ?>><?php _e('40px', $this->text_domain); ?></option>
383
+ <option value="64px" <?php if($this->options['margin-bottom'] == '64px') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
384
+ </select>
385
+ </td>
386
+ <td>
387
+ </td>
388
+ </tr>
389
+ </table>
390
+ </td>
391
+ </tr>
392
+ </table>
393
+ </div>
394
+
395
+ <div class="pz-lkc-item" id="pz-lkc-display">
396
+ <h3><?php echo __('Display settings', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-settings-display" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a>'; ?></h3>
397
+ <table class="form-table">
398
+ <tr>
399
+ <th scope="row"><?php _e('Layout', $this->text_domain); ?></th>
400
+ <td>
401
+
402
+ <table style="border: 1px solid #000; background-color: #fff; width: 500px;">
403
+ <tr>
404
+ <td colspan="2">
405
+ <?php _e('Site information', $this->text_domain); ?>
406
+ <select name="properties[info-position]">
407
+ <option value="" <?php if($this->options['info-position'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
408
+ <option value="1" <?php if($this->options['info-position'] == '1') echo 'selected="selected"'; ?>><?php _e('Top', $this->text_domain); ?></option>
409
+ <option value="3" <?php if($this->options['info-position'] == '3') echo 'selected="selected"'; ?>><?php _e('Above the title', $this->text_domain); ?></option>
410
+ <option value="2" <?php if($this->options['info-position'] == '2') echo 'selected="selected"'; ?>><?php _e('Bottom', $this->text_domain); ?></option>
411
+ </select>
412
+ <label><input name="properties[use-sitename]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['use-sitename']) ? $this->options['use-sitename'] : null, 1); ?> /><?php _e('Use SiteName', $this->text_domain); ?></label>
413
+ </td>
414
+ </tr>
415
+ <tr>
416
+ <td>
417
+ <label><input name="properties[display-date]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['display-date']) ? $this->options['display-date'] : null, 1); ?> /><?php _e('For internal links, display the posting date', $this->text_domain); ?></label>
418
+ </td>
419
+ <td>
420
+ </td>
421
+ </tr>
422
+ <tr>
423
+ <td>
424
+ <label><input name="properties[heading]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['heading']) ? $this->options['heading'] : null, 1); ?> /><?php _e('Make additional information heading display', $this->text_domain); ?></label>
425
+ </td>
426
+ <td>
427
+ </td>
428
+ </tr>
429
+ <tr>
430
+ <td>
431
+ <label><input name="properties[flg-anker]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-anker']) ? $this->options['flg-anker'] : null, 1); ?> /><?php _e('Turn off the anchor text underlining', $this->text_domain); ?></label>
432
+ </td>
433
+ <td>
434
+ </td>
435
+ </tr>
436
+ <tr>
437
+ <td>
438
+ <label><input name="properties[separator]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['separator']) ? $this->options['separator'] : null, 1); ?> /><?php _e('Separator line', $this->text_domain); ?></label>
439
+ </td>
440
+ <td>
441
+ </td>
442
+ </tr>
443
+ <tr>
444
+ <td>
445
+ <label>
446
+ <?php _e('Display URL', $this->text_domain); ?>
447
+ <select name="properties[display-url]">
448
+ <option value="" <?php if($this->options['display-url'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
449
+ <option value="1" <?php if($this->options['display-url'] == '1') echo 'selected="selected"'; ?>><?php _e('Under title', $this->text_domain); ?></option>
450
+ <option value="2" <?php if($this->options['display-url'] == '2') echo 'selected="selected"'; ?>><?php _e('Bihind site-info', $this->text_domain); ?></option>
451
+ </select>
452
+ </label>
453
+ </td>
454
+ <td rowspan="3" style="border: 1px solid #000;">
455
+ <?php _e('Thumbnail', $this->text_domain); ?>
456
+ <select name="properties[thumbnail-position]">
457
+ <option value="0" <?php if($this->options['thumbnail-position'] == '0') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
458
+ <option value="1" <?php if($this->options['thumbnail-position'] == '1') echo 'selected="selected"'; ?>><?php _e('Right', $this->text_domain); ?></option>
459
+ <option value="2" <?php if($this->options['thumbnail-position'] == '2') echo 'selected="selected"'; ?>><?php _e('Left', $this->text_domain); ?></option>
460
+ <option value="3" <?php if($this->options['thumbnail-position'] == '3') echo 'selected="selected"'; ?>><?php _e('Upper', $this->text_domain); ?></option>
461
+ </select>
462
+ <br>
463
+ <?php _e('Width', $this->text_domain); ?><input name="properties[thumbnail-width]" type="text" id="inputtext" value="<?php echo (isset($this->options['thumbnail-width']) ? $this->options['thumbnail-width'] : $this->defaults['thumbnail-width']); ?>" style="width: 4em;" />
464
+ <br>
465
+ <?php _e('Height', $this->text_domain); ?><input name="properties[thumbnail-height]" type="text" id="inputtext" value="<?php echo (isset($this->options['thumbnail-height']) ? $this->options['thumbnail-height'] : $this->defaults['thumbnail-height']); ?>" style="width: 4em;" />
466
+ <br>
467
+ <label><input name="properties[thumbnail-shadow]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['thumbnail-shadow']) ? $this->options['thumbnail-shadow'] : null, 1); ?> /><?php _e('Shadow', $this->text_domain); ?></label>
468
+ </td>
469
+ </tr>
470
+ <tr>
471
+ <td>
472
+ <label><input name="properties[content-inset]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['content-inset']) ? $this->options['content-inset'] : null, 1); ?> /><?php _e('Hollow content area', $this->text_domain); ?></label>
473
+ </td>
474
+ </tr>
475
+ <tr>
476
+ <td>
477
+ <label><input name="properties[display-excerpt]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['display-excerpt']) ? $this->options['display-excerpt'] : null, 1); ?> /><?php _e('Display excerpt', $this->text_domain); ?></label>
478
+ </td>
479
+ </tr>
480
+ <tr>
481
+ <td>
482
+ <label><input name="properties[shadow-inset]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['shadow-inset']) ? $this->options['shadow-inset'] : null, 1); ?> /><?php _e('Hollow', $this->text_domain); ?></label>
483
+ </td>
484
+ <td>
485
+ </td>
486
+ </tr>
487
+ <tr>
488
+ <td>
489
+ <label><input name="properties[shadow]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['shadow']) ? $this->options['shadow'] : null, 1); ?> /><?php _e('Shadow', $this->text_domain); ?></label></td>
490
+ </td>
491
+ </tr>
492
+ <tr>
493
+ <td>
494
+ <?php _e('Round a square', $this->text_domain); ?>
495
+ <select name="properties[radius]">
496
+ <option value="" <?php if($this->options['radius'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
497
+ <option value="2" <?php if($this->options['radius'] == '2') echo 'selected="selected"'; ?>><?php _e('4px', $this->text_domain); ?></option>
498
+ <option value="1" <?php if($this->options['radius'] == '1') echo 'selected="selected"'; ?>><?php _e('8px', $this->text_domain); ?></option>
499
+ <option value="3" <?php if($this->options['radius'] == '3') echo 'selected="selected"'; ?>><?php _e('16px', $this->text_domain); ?></option>
500
+ <option value="4" <?php if($this->options['radius'] == '4') echo 'selected="selected"'; ?>><?php _e('32px', $this->text_domain); ?></option>
501
+ <option value="5" <?php if($this->options['radius'] == '5') echo 'selected="selected"'; ?>><?php _e('64px', $this->text_domain); ?></option>
502
+ </select>
503
+ </td>
504
+ </tr>
505
+ <tr>
506
+ <td>
507
+ <label>
508
+ <?php _e('When the mouse is on', $this->text_domain); ?>
509
+ <select name="properties[hover]">
510
+ <option value="" <?php if($this->options['hover'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
511
+ <option value="1" <?php if($this->options['hover'] == '1') echo 'selected="selected"'; ?>><?php _e('Lighten', $this->text_domain); ?></option>
512
+ <option value="2" <?php if($this->options['hover'] == '2') echo 'selected="selected"'; ?>><?php _e('Hover (light)', $this->text_domain); ?></option>
513
+ <option value="3" <?php if($this->options['hover'] == '3') echo 'selected="selected"'; ?>><?php _e('Hover (dark)', $this->text_domain); ?></option>
514
+ <option value="7" <?php if($this->options['hover'] == '7') echo 'selected="selected"'; ?>><?php _e('Radius', $this->text_domain); ?></option>
515
+ </select>
516
+ </label>
517
+ </td>
518
+ </tr>
519
+ </table>
520
+ </td>
521
+ </tr>
522
 
523
+ <tr>
524
+ <th scope="row"><?php _e('Border', $this->text_domain); ?></th>
525
+ <td>
526
+ <select name="properties[border-style]">
527
+ <option value="none" <?php if ($this->options['border-style'] == 'none') echo 'selected="selected"'; ?>><?php _e('none', $this->text_domain); ?></option>
528
+ <option value="solid" <?php if ($this->options['border-style'] == 'solid') echo 'selected="selected"'; ?>><?php _e('solid', $this->text_domain); ?></option>
529
+ <option value="dotted" <?php if ($this->options['border-style'] == 'dotted') echo 'selected="selected"'; ?>><?php _e('dotted', $this->text_domain); ?></option>
530
+ <option value="dashed" <?php if ($this->options['border-style'] == 'dashed') echo 'selected="selected"'; ?>><?php _e('dashed', $this->text_domain); ?></option>
531
+ <option value="double" <?php if ($this->options['border-style'] == 'double') echo 'selected="selected"'; ?>><?php _e('double', $this->text_domain); ?></option>
532
+ <option value="groove" <?php if ($this->options['border-style'] == 'groove') echo 'selected="selected"'; ?>><?php _e('groove', $this->text_domain); ?></option>
533
+ <option value="ridge" <?php if ($this->options['border-style'] == 'ridge') echo 'selected="selected"'; ?>><?php _e('ridge', $this->text_domain); ?></option>
534
+ <option value="inset" <?php if ($this->options['border-style'] == 'inset') echo 'selected="selected"'; ?>><?php _e('inset', $this->text_domain); ?></option>
535
+ <option value="outset" <?php if ($this->options['border-style'] == 'outset') echo 'selected="selected"'; ?>><?php _e('outset', $this->text_domain); ?></option>
536
+ </select>
537
+ &nbsp;<?php _e('Width', $this->text_domain); ?><input name="properties[border-width]" type="text" id="inputtext" value="<?php echo $this->options['border-width']; ?>" style="width: 4em;" />
538
+ </td>
539
+ </tr>
540
 
541
+ <tr valign="top">
542
+ <th scope="row"><?php _e('Reset img style', $this->text_domain); ?></th>
543
+ <td><label><input name="properties[style-reset-img]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['style-reset-img']) ? $this->options['style-reset-img'] : null, 1); ?> /><?php _e('When unnecessary frame is displayed on the image, you can improve it by case', $this->text_domain); ?></label></td>
544
+ </tr>
545
 
546
+ <tr valign="top">
547
+ <th scope="row"><?php _e('More button', $this->text_domain); ?></th>
548
+ <td>
549
+ <select name="properties[flg-more]">
550
+ <option value="" <?php if($this->options['flg-more'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
551
+ <option value="1" <?php if($this->options['flg-more'] == '1') echo 'selected="selected"'; ?>><?php _e('Text link', $this->text_domain); ?></option>
552
+ <option value="2" <?php if($this->options['flg-more'] == '2') echo 'selected="selected"'; ?>><?php _e('Simple button', $this->text_domain); ?></option>
553
+ <option value="3" <?php if($this->options['flg-more'] == '3') echo 'selected="selected"'; ?>><?php _e('Blue', $this->text_domain); ?></option>
554
+ <option value="4" <?php if($this->options['flg-more'] == '4') echo 'selected="selected"'; ?>><?php _e('Dark', $this->text_domain); ?></option>
555
+ </select>
556
+ <p><?php _e('*', $this->text_domain); ?> <?php _e('It is recommended that you leave the card height blank when using this setting.', $this->text_domain); ?></p>
557
+ </td>
558
+ </tr>
559
 
560
+ <tr valign="top">
561
+ <th scope="row"><?php _e('Display SNS Count', $this->text_domain); ?></th>
562
+ <td>
563
+ <select name="properties[sns-position]">
564
+ <option value="" <?php if($this->options['sns-position'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
565
+ <option value="1" <?php if($this->options['sns-position'] == '1') echo 'selected="selected"'; ?>><?php _e('Bihind title', $this->text_domain); ?></option>
566
+ <option value="2" <?php if($this->options['sns-position'] == '2') echo 'selected="selected"'; ?>><?php _e('Bihind site-info', $this->text_domain); ?></option>
567
+ </select>
568
+ <label><input name="properties[sns-tw]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['sns-tw']) ? $this->options['sns-tw'] : null, 1); ?> /><?php _e('Twitter', $this->text_domain); ?></label>
569
+ <label><input name="properties[sns-fb]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['sns-fb']) ? $this->options['sns-fb'] : null, 1); ?> /><?php _e('Facebook', $this->text_domain); ?></label>
570
+ <label><input name="properties[sns-hb]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['sns-hb']) ? $this->options['sns-hb'] : null, 1); ?> /><?php _e('Hatena', $this->text_domain); ?></label>
571
+ <label><input name="properties[sns-po]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['sns-po']) ? $this->options['sns-po'] : null, 1); ?> /><?php _e('Pocket', $this->text_domain); ?></label>
572
+ </td>
573
+ </tr>
574
+ </table>
575
+ </div>
576
+
577
+ <div class="pz-lkc-item" id="pz-lkc-letter">
578
+ <h3><?php echo __('Letter settings', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-settings-letter" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a>'; ?></h3>
579
+ <table class="form-table" style="max-width: 900px;">
580
 
581
+ <tr valign="top">
582
+ <th scope="row"><?php _e('Title', $this->text_domain); ?></th>
583
+ <td>
584
+ <?php _e('Color', $this->text_domain); ?><input name="properties[color-title]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-title']); ?>" />
585
+ <label><input name="properties[outline-title]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-title']) ? $this->options['outline-title'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
586
+ <input name="properties[outline-color-title]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-title']) ? $this->options['outline-color-title'] : $this->defaults['outline-color-title'])); ?>" />
587
+ </td>
588
+ <td>
589
+ <?php _e('Size', $this->text_domain); ?><input name="properties[size-title]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-title']) ? $this->options['size-title'] : $this->defaults['size-title']); ?>" style="width: 4em;" />
590
+ </td>
591
+ <td>
592
+ <?php _e('Height', $this->text_domain); ?><input name="properties[height-title]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-title']) ? $this->options['height-title'] : $this->defaults['height-title']); ?>" style="width: 4em;" />
593
+ </td>
594
+ <td>
595
+ <?php _e('Length', $this->text_domain); ?><input name="properties[trim-title]" type="text" id="inputtext" value="<?php echo (isset($this->options['trim-title']) ? $this->options['trim-title'] : $this->defaults['trim-title']); ?>" style="width: 3em;" />
596
+ <br><label><input name="properties[nowrap-title]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['nowrap-title']) ? $this->options['nowrap-title'] : null, 1); ?> /><?php _e('No wrap', $this->text_domain); ?></label>
597
+ </td>
598
+ </tr>
599
 
600
+ <tr valign="top">
601
+ <th scope="row"><?php _e('URL', $this->text_domain); ?></th>
602
+ <td>
603
+ <?php _e('Color', $this->text_domain); ?><input name="properties[color-url]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-url']); ?>" />
604
+ <label><input name="properties[outline-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-url']) ? $this->options['outline-url'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
605
+ <input name="properties[outline-color-url]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-url']) ? $this->options['outline-color-url'] : $this->defaults['outline-color-url'])); ?>" />
606
+ </td>
607
+ <td>
608
+ <?php _e('Size', $this->text_domain); ?><input name="properties[size-url]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-url']) ? $this->options['size-url'] : $this->defaults['size-url']); ?>" style="width: 4em;" />
609
+ </td>
610
+ <td>
611
+ <?php _e('Height', $this->text_domain); ?><input name="properties[height-url]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-url']) ? $this->options['height-url'] : $this->defaults['height-url']); ?>" style="width: 4em;" />
612
+ </td>
613
+ <td>
614
+ <?php _e('Length', $this->text_domain); ?><input name="properties[trim-url]" type="text" id="inputtext" value="<?php echo (isset($this->options['trim-url']) ? $this->options['trim-url'] : $this->defaults['trim-url']); ?>" style="width: 3em;" />
615
+ <br><label><input name="properties[nowrap-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['nowrap-url']) ? $this->options['nowrap-url'] : null, 1); ?> /><?php _e('No wrap', $this->text_domain); ?></label>
616
+ </td>
617
+ </tr>
618
 
619
+ <tr valign="top">
620
+ <th scope="row"><?php _e('Excerpt', $this->text_domain); ?></th>
621
+ <td>
622
+ <?php _e('Color', $this->text_domain); ?><input name="properties[color-excerpt]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-excerpt']); ?>" />
623
+ <label><input name="properties[outline-excerpt]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-excerpt']) ? $this->options['outline-excerpt'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
624
+ <input name="properties[outline-color-excerpt]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-excerpt']) ? $this->options['outline-color-excerpt'] : $this->defaults['outline-color-excerpt'])); ?>" />
625
+ </td>
626
+ <td>
627
+ <?php _e('Size', $this->text_domain); ?><input name="properties[size-excerpt]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-excerpt']) ? $this->options['size-excerpt'] : $this->defaults['size-excerpt']); ?>" style="width: 4em;" />
628
+ </td>
629
+ <td>
630
+ <?php _e('Height', $this->text_domain); ?><input name="properties[height-excerpt]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-excerpt']) ? $this->options['height-excerpt'] : $this->defaults['height-excerpt']); ?>" style="width: 4em;" />
631
+ </td>
632
+ <td>
633
+ &nbsp;<?php _e('Length', $this->text_domain); ?><input name="properties[trim-count]" type="text" id="inputtext" value="<?php echo (isset($this->options['trim-count']) ? $this->options['trim-count'] : $this->defaults['trim-sount']); ?>" style="width: 3em;" />
634
+ </td>
635
+ </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
636
 
637
+ <tr valign="top">
638
+ <th scope="row"><?php _e('More button', $this->text_domain); ?></th>
639
+ <td>
640
+ <?php _e('Color', $this->text_domain); ?><input name="properties[color-more]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-more']); ?>" />
641
+ <label><input name="properties[outline-more]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-more']) ? $this->options['outline-more'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
642
+ <input name="properties[outline-color-more]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-more']) ? $this->options['outline-color-more'] : $this->defaults['outline-color-more'])); ?>" />
643
+ </td>
644
+ <td>
645
+ <?php _e('Size', $this->text_domain); ?><input name="properties[size-more]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-more']) ? $this->options['size-more'] : $this->defaults['size-more']); ?>" style="width: 4em;" />
646
+ </td>
647
+ <td>
648
+ <?php _e('Height', $this->text_domain); ?><input name="properties[height-more]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-more']) ? $this->options['height-more'] : $this->defaults['height-more']); ?>" style="width: 4em;" />
649
+ </td>
650
+ <td>
651
+ </td>
652
+ </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
653
 
654
+ <tr valign="top">
655
+ <th scope="row"><?php _e('Site information', $this->text_domain); ?></th>
656
+ <td>
657
+ <?php _e('Color', $this->text_domain); ?><input name="properties[color-info]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-info']); ?>" />
658
+ <label><input name="properties[outline-info]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-info']) ? $this->options['outline-info'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
659
+ <input name="properties[outline-color-info]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-info']) ? $this->options['outline-color-info'] : $this->defaults['outline-color-info'])); ?>" />
660
+ </td>
661
+ <td>
662
+ <?php _e('Size', $this->text_domain); ?><input name="properties[size-info]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-info']) ? $this->options['size-info'] : $this->defaults['size-info']); ?>" style="width: 4em;" />
663
+ </td>
664
+ <td>
665
+ <?php _e('Height', $this->text_domain); ?><input name="properties[height-info]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-info']) ? $this->options['height-info'] : $this->defaults['height-info']); ?>" style="width: 4em;" />
666
+ </td>
667
+ <td>
668
+ <?php _e('Length', $this->text_domain); ?><input name="properties[trim-sitename]" type="text" id="inputtext" value="<?php echo (isset($this->options['trim-sitename']) ? $this->options['trim-sitename'] : $this->defaults['trim-sitename']); ?>" style="width: 3em;" />
669
+ </td>
670
+ </tr>
 
 
 
 
 
 
 
 
 
 
 
671
 
672
+ <tr valign="top">
673
+ <th scope="row"><?php _e('Added information', $this->text_domain); ?></th>
674
+ <td>
675
+ <?php _e('Color', $this->text_domain); ?><input name="properties[color-added]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['color-added']); ?>" />
676
+ <label><input name="properties[outline-added]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['outline-added']) ? $this->options['outline-added'] : null, 1); ?> /><?php _e('Outline', $this->text_domain); ?></label>
677
+ <input name="properties[outline-color-added]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr((isset($this->options['outline-color-added']) ? $this->options['outline-color-added'] : $this->defaults['outline-color-added'])); ?>" />
678
+ </td>
679
+ <td>
680
+ <?php _e('Size', $this->text_domain); ?><input name="properties[size-added]" type="text" id="inputtext" value="<?php echo (isset($this->options['size-added']) ? $this->options['size-added'] : $this->defaults['size-added']); ?>" style="width: 4em;" />
681
+ </td>
682
+ <td>
683
+ <?php _e('Height', $this->text_domain); ?><input name="properties[height-added]" type="text" id="inputtext" value="<?php echo (isset($this->options['height-added']) ? $this->options['height-added'] : $this->defaults['height-added']); ?>" style="width: 4em;" />
684
+ </td>
685
+ </tr>
 
 
 
 
 
 
 
 
 
686
 
687
+ <tr valign="top">
688
+ <th scope="row"><?php _e('Resize', $this->text_domain); ?></th>
689
+ <td colspan="4"><label><input name="properties[thumbnail-resize]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['thumbnail-resize']) ? $this->options['thumbnail-resize'] : null, 1); ?> /><?php _e('Adjust thumbnail and letter size according to width', $this->text_domain); ?></label></td>
690
+ </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
691
 
692
+ </table>
693
+ </div>
694
+
695
+ <div class="pz-lkc-item" id="pz-lkc-external">
696
+ <h3><?php echo __('External link settings', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-settings-external-link" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a>'; ?></h3>
697
+ <table class="form-table">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
698
 
699
+ <tr valign="top">
700
+ <th scope="row"><?php _e('Border Color', $this->text_domain); ?></th>
701
+ <td><input name="properties[ex-border-color]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['ex-border-color']); ?>" /></td>
702
+ </tr>
703
+ <tr valign="top">
704
+ <th scope="row"><?php _e('Background Color', $this->text_domain); ?></th>
705
+ <td><input name="properties[ex-bgcolor]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['ex-bgcolor']); ?>" /></td>
706
+ </tr>
707
+ <tr valign="top">
708
+ <th scope="row"><?php _e('Background image', $this->text_domain); ?></th>
709
+ <td><input name="properties[ex-image]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['ex-image']); ?>" size="80" /></td>
710
+ </tr>
711
+ <tr valign="top">
712
+ <th scope="row"><?php _e('Thumbnail', $this->text_domain); ?></th>
713
+ <td>
714
+ <select name="properties[ex-thumbnail]">
715
+ <option value="" <?php if($this->options['ex-thumbnail'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
716
+ <option value="1" <?php if($this->options['ex-thumbnail'] == '1') echo 'selected="selected"'; ?>><?php _e('Direct', $this->text_domain); ?></option>
717
+ <option value="3" <?php if($this->options['ex-thumbnail'] == '3') echo 'selected="selected"'; ?>><?php _e('Use WebAPI', $this->text_domain); ?></option>
718
+ <option value="13" <?php if($this->options['ex-thumbnail'] == '13') echo 'selected="selected"'; ?>><?php _e('Use WebAPI ,If can not direct', $this->text_domain); ?></option>
719
+ </select>
720
+
721
+ </td>
722
+ </tr>
723
+ <tr valign="top">
724
+ <th scope="row"><?php _e('Favicon', $this->text_domain); ?></th>
725
+ <td>
726
+ <select name="properties[ex-favicon]">
727
+ <option value="" <?php if($this->options['ex-favicon'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
728
+ <option value="1" <?php if($this->options['ex-favicon'] == '1') echo 'selected="selected"'; ?> disabled="disabled"><?php _e('Direct', $this->text_domain); ?></option>
729
+ <option value="3" <?php if($this->options['ex-favicon'] == '3') echo 'selected="selected"'; ?>><?php _e('Use WebAPI', $this->text_domain); ?></option>
730
+ <option value="13" <?php if($this->options['ex-favicon'] == '13') echo 'selected="selected"'; ?> disabled="disabled"><?php _e('Use WebAPI ,If can not direct', $this->text_domain); ?></option>
731
+ </select>
732
+ </td>
733
+ </tr>
734
+ <tr valign="top">
735
+ <th scope="row"><?php _e('Added information', $this->text_domain); ?></th>
736
+ <td><input name="properties[ex-info]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['ex-info']); ?>" class="regular-text" /></td>
737
+ </tr>
738
+ <tr valign="top">
739
+ <th scope="row"><?php _e('Text of more button', $this->text_domain); ?></th>
740
+ <td><input name="properties[ex-more-text]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['ex-more-text']); ?>" class="regular-text" /></td>
741
+ </tr>
742
+ <tr valign="top">
743
+ <th scope="row"><?php _e('Open new window/tab', $this->text_domain); ?></th>
744
+ <td>
745
+ <select name="properties[ex-target]">
746
+ <option value="" <?php if($this->options['ex-target'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
747
+ <option value="1" <?php if($this->options['ex-target'] == '1') echo 'selected="selected"'; ?>><?php _e('All client', $this->text_domain); ?></option>
748
+ <option value="2" <?php if($this->options['ex-target'] == '2') echo 'selected="selected"'; ?>><?php _e('Other than mobile', $this->text_domain); ?></option>
749
+ </select>
750
+ </td>
751
+ </tr>
752
+ <tr valign="top">
753
+ <th scope="row"><?php _e('Get contents', $this->text_domain); ?></th>
754
+ <td>
755
+ <?php _e('Initially acquired only from the content', $this->text_domain); ?>
756
+ </td>
757
+ </tr>
758
+ <tr valign="top">
759
+ <th scope="row"><?php _e('Set nofollow', $this->text_domain); ?></th>
760
+ <td><label><input name="properties[nofollow]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['nofollow']) ? $this->options['nofollow'] : null, 1); ?> /><?php _e('In the case of an external site, it puts the "nofollow"', $this->text_domain); ?></label></td>
761
+ </tr>
762
+ <tr valign="top">
763
+ <th scope="row"><?php _e('Use HatenaBlogCard', $this->text_domain); ?></th>
764
+ <td><label><input name="properties[use-hatena]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['use-hatena']) ? $this->options['use-hatena'] : null, 1); ?> /><?php _e('External links will use Always HatenaBlogCard.', $this->text_domain); _e('(Not recommended)', $this->text_domain); ?></label></td>
765
+ </tr>
766
+ </table>
767
+ </div>
768
+
769
+ <div class="pz-lkc-item" id="pz-lkc-internal">
770
+ <h3><?php echo __('Internal link settings', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-settings-internal-link" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a>'; ?></h3>
771
+ <table class="form-table">
772
+ <tr valign="top">
773
+ <th scope="row"><?php _e('Border Color', $this->text_domain); ?></th>
774
+ <td><input name="properties[in-border-color]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['in-border-color']); ?>" /></td>
775
+ </tr>
776
+ <tr valign="top">
777
+ <th scope="row"><?php _e('Background Color', $this->text_domain); ?></th>
778
+ <td><input name="properties[in-bgcolor]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['in-bgcolor']); ?>" /></td>
779
+ </tr>
780
+ <tr valign="top">
781
+ <th scope="row"><?php _e('Background Image', $this->text_domain); ?></th>
782
+ <td><input name="properties[in-image]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['in-image']); ?>" size="80" /></td>
783
+ </tr>
784
+ <tr valign="top">
785
+ <th scope="row"><?php _e('Thumbnail', $this->text_domain); ?></th>
786
+ <td>
787
+ <select name="properties[in-thumbnail]">
788
+ <option value="" <?php if($this->options['in-thumbnail'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
789
+ <option value="1" <?php if($this->options['in-thumbnail'] == '1') echo 'selected="selected"'; ?>><?php _e('Direct', $this->text_domain); ?></option>
790
+ <option value="3" <?php if($this->options['in-thumbnail'] == '3') echo 'selected="selected"'; ?>><?php _e('Use WebAPI', $this->text_domain); ?></option>
791
+ <option value="13" <?php if($this->options['in-thumbnail'] == '13') echo 'selected="selected"'; ?>><?php _e('Use WebAPI ,If can not direct', $this->text_domain); ?></option>
792
+ </select>
793
+ </td>
794
+ </tr>
795
+ <tr valign="top">
796
+ <th scope="row"><?php _e('Favicon', $this->text_domain); ?></th>
797
+ <td>
798
+ <select name="properties[in-favicon]">
799
+ <option value="" <?php if($this->options['in-favicon'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
800
+ <option value="1" <?php if($this->options['in-favicon'] == '1') echo 'selected="selected"'; ?> <?php if(!function_exists('has_site_icon') || !has_site_icon()) echo 'disabled="disabled"'; ?>><?php _e('Direct', $this->text_domain); ?></option>
801
+ <option value="3" <?php if($this->options['in-favicon'] == '3') echo 'selected="selected"'; ?>><?php _e('Use WebAPI', $this->text_domain); ?></option>
802
+ <option value="13" <?php if($this->options['in-favicon'] == '13') echo 'selected="selected"'; ?>><?php _e('Use WebAPI ,If can not direct', $this->text_domain); ?></option>
803
+ </select>
804
+ </td>
805
+ </tr>
806
+ <tr valign="top">
807
+ <th scope="row"><?php _e('Added information', $this->text_domain); ?></th>
808
+ <td><input name="properties[in-info]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['in-info']); ?>" class="regular-text" /><br></td>
809
+ </tr>
810
+ <tr valign="top">
811
+ <th scope="row"><?php _e('Text of more button', $this->text_domain); ?></th>
812
+ <td><input name="properties[in-more-text]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['in-more-text']); ?>" class="regular-text" /></td>
813
+ </tr>
814
+ <tr valign="top">
815
+ <th scope="row"><?php _e('Open new window/tab', $this->text_domain); ?></th>
816
+ <td>
817
+ <select name="properties[in-target]">
818
+ <option value="" <?php if($this->options['in-target'] == '') echo 'selected="selected"'; ?>><?php _e('None', $this->text_domain); ?></option>
819
+ <option value="1" <?php if($this->options['in-target'] == '1') echo 'selected="selected"'; ?>><?php _e('All client', $this->text_domain); ?></option>
820
+ <option value="2" <?php if($this->options['in-target'] == '2') echo 'selected="selected"'; ?>><?php _e('Other than mobile', $this->text_domain); ?></option>
821
+ </select>
822
+ </td>
823
+ </tr>
824
+ <tr valign="top">
825
+ <th scope="row"><?php _e('Get contents', $this->text_domain); ?></th>
826
+ <td>
827
+ <select name="properties[in-get]">
828
+ <?php $in_data = (isset($this->options['in-get']) ? $this->options['in-get'] : ''); ?>
829
+ <option value="" <?php if($in_data == '') echo 'selected="selected"'; ?>><?php _e('Always get the latest from the content', $this->text_domain); ?></option>
830
+ <option value="1" <?php if($in_data == '1') echo 'selected="selected"'; ?>><?php _e('Always get the latest from the excerpt', $this->text_domain); ?></option>
831
+ <option value="2" <?php if($in_data == '2') echo 'selected="selected"'; ?>><?php _e('Initially acquired only from the content', $this->text_domain); ?></option>
832
+ </select>
833
+ </td>
834
+ </tr>
835
+ <tr valign="top">
836
+ <th scope="row"><?php _e('Retry get PID', $this->text_domain); ?></th>
837
+ <td><label><input name="properties[flg-get-pid]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-get-pid']) ? $this->options['flg-get-pid'] : null, 1); ?> /><?php _e('When the `Post ID` can not be acquired, it is acquired again.', $this->text_domain); ?></label></td>
838
+ </tr>
839
+ </table>
840
+ </div>
841
+
842
+ <div class="pz-lkc-item" id="pz-lkc-samepage">
843
+ <h3><?php echo __('Same-page link settings', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-settings-same-page-link" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a>'; ?></h3>
844
+ <table class="form-table">
845
+ <tr valign="top">
846
+ <th scope="row"><?php _e('Border Color', $this->text_domain); ?></th>
847
+ <td><input name="properties[th-border-color]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['th-border-color']); ?>" /></td>
848
+ </tr>
849
+ <tr valign="top">
850
+ <th scope="row"><?php _e('Background Color', $this->text_domain); ?></th>
851
+ <td><input name="properties[th-bgcolor]" type="text" class="color-picker" id="pickedcolor" value="<?php echo esc_attr($this->options['th-bgcolor']); ?>" /></td>
852
+ </tr>
853
+ <tr valign="top">
854
+ <th scope="row"><?php _e('Background Image', $this->text_domain); ?></th>
855
+ <td><input name="properties[th-image]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['th-image']); ?>" size="80" /></td>
856
+ </tr>
857
+ <tr valign="top">
858
+ <th scope="row"><?php _e('Thumbnail', $this->text_domain); ?></th>
859
+ <td><?php _e('It is common with setting Internal-link', $this->text_domain); ?></td>
860
+ </re>
861
+ <tr valign="top">
862
+ <th scope="row"><?php _e('Favicon', $this->text_domain); ?></th>
863
+ <td><?php _e('It is common with setting Internal-link', $this->text_domain); ?></td>
864
+ </re>
865
+ <tr valign="top">
866
+ <th scope="row"><?php _e('Added information', $this->text_domain); ?></th>
867
+ <td><input name="properties[th-info]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['th-info']); ?>" class="regular-text" /></td>
868
+ </tr>
869
+ <tr valign="top">
870
+ <th scope="row"><?php _e('Text of more button', $this->text_domain); ?></th>
871
+ <td><?php _e('Cannot set', $this->text_domain); ?></td>
872
+ </tr>
873
+ <tr valign="top">
874
+ <th scope="row"><?php _e('Open new window/tab', $this->text_domain); ?></th>
875
+ <td><?php _e('It is common with setting Internal-link', $this->text_domain); ?></td>
876
+ </re>
877
+ <tr valign="top">
878
+ <th scope="row"><?php _e('Get contents', $this->text_domain); ?></th>
879
+ <td><?php _e('It is common with setting Internal-link', $this->text_domain); ?></td>
880
+ </tr>
881
+ <tr valign="top">
882
+ <th scope="row"><?php _e('Retry get PID', $this->text_domain); ?></th>
883
+ <td><?php _e('It is common with setting Internal-link', $this->text_domain); ?></td>
884
+ </tr>
885
+ </table>
886
+ </div>
887
+
888
+ <div class="pz-lkc-item" id="pz-lkc-api">
889
+ <h3><?php echo __('Web-API settings', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-settings-web-api" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a>'; ?></h3>
890
+ <table class="form-table"
891
+ <tr valign="top">
892
+ <th scope="row"><?php _e('Favicon API', $this->text_domain); ?></th>
893
+ <td>
894
+ <input name="properties[favicon-api]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['favicon-api']); ?>" size="80" onclick="this.select(0,this.value.length);" />
895
+ <p><?php echo __('%DOMAIN% replace to domain name.', $this->text_domain).' '.__('(', $this->text_domain).__('ex.', $this->text_domain).' popozure.info '.__(')', $this->text_domain).'<br>'.__('%DOMAIN_URL% replace to domain URL.').' '.__('(', $this->text_domain).__('ex.', $this->text_domain).' https://popozure.info '.__(')', $this->text_domain).'<br>'.__('%URL% replace to URL.', $this->text_domain).' '.__('(', $this->text_domain).__('ex.', $this->text_domain).' https://popozure.info/pz-linkcard '.__(')', $this->text_domain); ?>
896
+ <p><?php _e('ex1.', $this->text_domain); ?><input name="" type="text" id="inputtext" value="https://www.google.com/s2/favicons?domain=%DOMAIN%" size="70" onclick="this.select(0,this.value.length);" readonly /></p>
897
+ <p><?php _e('ex2.', $this->text_domain); ?><input name="" type="text" id="inputtext" value="https://favicon.hatena.ne.jp/?url=%URL%" size="70" onclick="this.select(0,this.value.length);" readonly /></p>
898
+ </td>
899
+ </tr>
900
+ <tr valign="top">
901
+ <th scope="row" rowspan="3"><?php _e('Thumbnail API', $this->text_domain); ?></th>
902
+ <td>
903
+ <input name="properties[thumbnail-api]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['thumbnail-api']); ?>" size="80" onclick="this.select(0,this.value.length);" />
904
+ <p><?php echo __('%URL% replace to URL.', $this->text_domain).' '.__('(', $this->text_domain).__('ex.', $this->text_domain).' https://popozure.info/pz-linkcard '.__(')', $this->text_domain); ?></p>
905
+ <p><?php _e('ex1.', $this->text_domain); ?><input name="" type="text" id="inputtext" value="https://s.wordpress.com/mshots/v1/%URL%?w=100" size="70" onclick="this.select(0,this.value.length);" readonly /></p>
906
+ <p><?php _e('ex2.', $this->text_domain); ?><input name="" type="text" id="inputtext" value="https://capture.heartrails.com/100x100?%URL%" size="70" onclick="this.select(0,this.value.length);" readonly /></p>
907
+ </td>
908
+ </tr>
909
+ </table>
910
+ </div>
911
+
912
+ <div class="pz-lkc-item" id="pz-lkc-check">
913
+ <h3><?php echo __('Link check settings', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-settings-link-check" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a>'; ?></h3>
914
+ <table class="form-table">
915
+ <tr valign="top">
916
+ <th scope="row"><?php _e('Do not link at error', $this->text_domain); ?></th>
917
+ <td><label><input name="properties[flg-unlink]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-unlink']) ? $this->options['flg-unlink'] : null, 1); ?> /><?php _e('When access status is "403", "404", "410", unlink', $this->text_domain); ?></label></td>
918
+ </tr>
919
+ <tr valign="top">
920
+ <th scope="row"><?php _e('SSL verification disabled', $this->text_domain); ?></th>
921
+ <td><label><input name="properties[flg-ssl]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-ssl']) ? $this->options['flg-ssl'] : null, 1); ?> /><?php _e('Try setting if the contents of the SSL site can not be acquired.', $this->text_domain); ?></label></td>
922
+ </tr>
923
+ <tr valign="top">
924
+ <th scope="row"><?php _e('Follow location', $this->text_domain); ?></th>
925
+ <td><label><input name="properties[flg-redir]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-redir']) ? $this->options['flg-redir'] : null, 1); ?> /><?php _e('Track when the link destination is redirected.', $this->text_domain); ?></label></td>
926
+ </tr>
927
+ <tr valign="top">
928
+ <th scope="row"><?php _e('Set referer', $this->text_domain); ?></th>
929
+ <td><label><input name="properties[flg-referer]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-referer']) ? $this->options['flg-referer'] : null, 1); ?> /><?php _e('Notify the article URL to the link destination.', $this->text_domain); ?></label></td>
930
+ </tr>
931
+ <tr valign="top">
932
+ <th scope="row"><?php _e('Use User-Agent', $this->text_domain); ?></th>
933
+ <td>
934
+ <label><input name="properties[flg-agent]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-agent']) ? $this->options['flg-agent'] : null, 1); ?> /></label><?php _e('Notify using Pz-LinkCard to the link destination.', $this->text_domain); ?></label>
935
+ <p style="margin-left: 20px;"><input name="properties[user-agent]" type="text" id="inputtext" value="<?php echo esc_attr('Pz-LinkCard-Crawler/'.$this->options['plugin-version']); ?>" size="77" readonly /></p>
936
+ </td>
937
+ </tr>
938
+ <tr valign="top">
939
+ <th scope="row"><?php _e('Broken link checker', $this->text_domain); ?></th>
940
+ <td><label><input name="properties[flg-alive]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-alive']) ? $this->options['flg-alive'] : null, 1); ?> /><?php _e('Alive confirmation of the link destination.', $this->text_domain); ?></label></td>
941
+ </tr>
942
+ <tr valign="top">
943
+ <th scope="row"><?php _e('Broken link count', $this->text_domain); ?></th>
944
+ <td><label><input name="properties[flg-alive-count]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-alive-count']) ? $this->options['flg-alive-count'] : null, 1); ?> /><?php _e('The number of broken links is displayed next to the submenu.', $this->text_domain); ?></label></td>
945
+ </tr>
946
+ <tr valign="top">
947
+ <th scope="row"><?php _e('Multi-site compatible', $this->text_domain); ?></th>
948
+ <td><label><input name="properties[flg-subdir]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-subdir']) ? $this->options['flg-subdir'] : null, 1); ?> /><?php _e('In the case of the multi-site of the subdirectory type, the site under the subdirectory is judged as an external site.', $this->text_domain); ?></label></td>
949
+ </tr>
950
+ </table>
951
+ </div>
952
+
953
+ <div class="pz-lkc-item" id="pz-lkc-editor">
954
+ <h3><?php echo __('Editor settings', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-settings-editor" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a>'; ?></h3>
955
+ <table class="form-table">
956
+ <tr valign="top">
957
+ <th scope="row"><?php _e('ShortCode 1', $this->text_domain); ?></th>
958
+ <td>[<input name="properties[code1]" type="text" id="code1" value="<?php echo esc_attr($this->options['code1']); ?>" class="regular-text" style="width: 8em;" onKeyUp="document.getElementById('open1').innerText = document.getElementById('code1').value; document.getElementById('close1').innerText = document.getElementById('code1').value; document.getElementById('open2').innerText = document.getElementById('code1').value;" /> url="http://xxx" <span style="color: #aabbff; font-weight: bold;">title=</span><span style="color: #aabbff;">"xxxxxx"</span> <span style="color: #bbaaff; font-weight: bold;">content=</span><span style="color: #bbaaff;">"xxxxxx"</span>]
959
+ <p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
960
+ </tr>
961
+ <tr valign="top">
962
+ <th scope="row"><?php _e('Use inlinetext', $this->text_domain); ?></th>
963
+ <td>
964
+ [<span style="color: #888888;" id="open1"><?php echo esc_attr($this->options['code1']); ?></span> url="http://xxx"]
965
+ <select name="properties[use-inline]">
966
+ <option value="" <?php if($this->options['use-inline'] == '') echo 'selected="selected"'; ?>><?php _e('No use', $this->text_domain); ?></option>
967
+ <option value="1" <?php if($this->options['use-inline'] == '1') echo 'selected="selected"'; ?>><?php _e('Use to excerpt', $this->text_domain); ?></option>
968
+ <option value="2" <?php if($this->options['use-inline'] == '2') echo 'selected="selected"'; ?>><?php _e('Use to title', $this->text_domain); ?></option>
969
+ </select>
970
+ [/<span style="color: #888888;" id="close1"><?php echo esc_attr($this->options['code1']); ?></span>]
971
+ <p><?php _e('This setting applies only to the Shortcode1', $this->text_domain); ?></p></td>
972
+ </td>
973
+ </tr>
974
+ <tr valign="top">
975
+ <th scope="row"><?php _e('ShortCode 2', $this->text_domain); ?></th>
976
+ <td>[<input name="properties[code2]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['code2']); ?>" class="regular-text" style="width: 8em;" /> url="http://xxx" <span style="color: #aabbff; font-weight: bold;">title=</span><span style="color: #aabbff;">"xxxxxx"</span> <span style="color: #bbaaff; font-weight: bold;">content=</span><span style="color: #bbaaff;">"xxxxxx"</span>]
977
+ <p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
978
+ </tr>
979
+ <tr valign="top">
980
+ <th scope="row"><?php _e('ShortCode 3', $this->text_domain); ?></th>
981
+ <td>[<input name="properties[code3]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['code3']); ?>"class="regular-text" style="width: 8em;" /> url="http://xxx" <span style="color: #aabbff; font-weight: bold;">title=</span><span style="color: #aabbff;">"xxxxxx"</span> <span style="color: #bbaaff; font-weight: bold;">content=</span><span style="color: #bbaaff;">"xxxxxx"</span>]
982
+ <p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
983
+ </tr>
984
+ <tr valign="top" style="display: none;">
985
+ <th scope="row"><?php _e('ShortCode 4', $this->text_domain); ?></th>
986
+ <td>[<input name="properties[code4]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['code4']); ?>" class="regular-text" style="width: 8em;" /> url="http://xxx" <span style="color: #aabbff; font-weight: bold;">title=</span><span style="color: #aabbff;">"xxxxxx"</span> <span style="color: #bbaaff; font-weight: bold;">content=</span><span style="color: #bbaaff;">"xxxxxx"</span>]
987
+ <p><?php _e('Case-sensitive', $this->text_domain); ?></p></td>
988
+ </tr>
989
+ <tr valign="top">
990
+ <th scope="row"><?php _e('Parameters', $this->text_domain); ?></th>
991
+ <td>
992
+ [<span style="color: #888888;" id="open2"><?php echo esc_attr($this->options['code1']); ?></span> url="http://xxx" <span style="color: #4488ff; font-weight: bold;">title=</span>"xxxxxx" <span style="color: #8844ff; font-weight: bold;">content=</span>"xxxxxx"]<br>
993
+ <?php _e('For any shortcode you can change the title and excerpt with `title` parameter and `content` parameter', $this->text_domain); ?>
994
+ </ts>
995
+ </tr>
996
 
997
+ <tr valign="top">
998
+ <th scope="row"><?php _e('Convert text link', $this->text_domain); ?></th>
999
+ <td><label><input name="properties[auto-atag]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['auto-atag']) ? $this->options['auto-atag'] : null, 1); ?> /><?php _e('Convert lines with text link only to Linkcard.', $this->text_domain); ?></label></td>
1000
+ </tr>
1001
+ <tr valign="top">
1002
+ <th scope="row"><?php _e('Convert URL', $this->text_domain); ?></th>
1003
+ <td><label><input name="properties[auto-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['auto-url']) ? $this->options['auto-url'] : null, 1); ?> /><?php _e('Convert lines with URL only to Linkcard.', $this->text_domain); ?></label></td>
1004
+ </tr>
1005
+ <tr valign="top">
1006
+ <th scope="row"><?php _e('External link only', $this->text_domain); ?></th>
1007
+ <td><label><input name="properties[auto-external]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['auto-external']) ? $this->options['auto-external'] : null, 1); ?> /><?php _e('Convert only external links.', $this->text_domain); ?></label></td>
1008
+ </tr>
1009
 
1010
+ <tr valign="top">
1011
+ <th scope="row"><?php _e('Do shortcode', $this->text_domain); ?></th>
1012
+ <td><label><input name="properties[flg-do-shortcode]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-do-shortcode']) ? $this->options['flg-do-shortcode'] : null, 1); ?> /><?php _e('Force shortcode development.', $this->text_domain); ?></label></td>
1013
+ </tr>
1014
 
1015
+ <tr valign="top">
1016
+ <th scope="row"><?php _e('Add insert button', $this->text_domain); ?></th>
1017
+ <td><label><input name="properties[flg-edit-insert]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-edit-insert']) ? $this->options['flg-edit-insert'] : null, 1); ?> /><?php _e('Add insert button to visual editor.', $this->text_domain); ?></label></td>
1018
+ </tr>
1019
+ <tr valign="top">
1020
+ <th scope="row"><?php _e('Add quick tag', $this->text_domain); ?></th>
1021
+ <td><label><input name="properties[flg-edit-qtag]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-edit-qtag']) ? $this->options['flg-edit-qtag'] : null, 1); ?> /><?php _e('Add quick tag button to text editor.', $this->text_domain); ?></label></td>
1022
+ </tr>
 
 
 
 
 
1023
 
1024
+ </table>
1025
+ </div>
1026
+
1027
+ <div class="pz-lkc-item" id="pz-lkc-advanced">
1028
+ <h3><?php echo __('Advanced settings', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-settings-advanced" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a>'; ?></h3>
1029
+ <table class="form-table">
1030
+ <tr valign="top">
1031
+ <th scope="row"><?php _e('Trailing slash', $this->text_domain); ?></th>
1032
+ <td>
1033
+ <select name="properties[trail-slash]">
1034
+ <?php $in_data = (isset($this->options['trail-slash']) ? $this->options['trail-slash'] : ''); ?>
1035
+ <option value="" <?php if($in_data == '') echo 'selected="selected"'; ?>><?php _e('As it', $this->text_domain); ?></option>
1036
+ <option value="1" <?php if($in_data == '1') echo 'selected="selected"'; ?>><?php _e('When only domain name, remove', $this->text_domain); ?></option>
1037
+ <option value="2" <?php if($in_data == '2') echo 'selected="selected"'; ?>><?php _e('Always remove', $this->text_domain); ?></option>
1038
+ </select>
1039
+ </td>
1040
+ </tr>
 
 
 
1041
 
1042
+ <tr valign="top">
1043
+ <th scope="row"><?php _e('CSS to be added', $this->text_domain); ?></th>
1044
+ <td><input name="properties[css-add]" type="text" id="inputtext" value="<?php echo (isset($this->options['css-add']) ? esc_attr($this->options['css-add']) : ''); ?>" size="80" /><br>
1045
+ </tr>
1046
+ <tr valign="top" style="display: none;">
1047
+ <th scope="row"><?php _e('specified CSS', $this->text_domain); ?></th>
1048
+ <td><label><input name="properties[css-sp]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['css-sp']) ? $this->options['css-sp'] : null, 1); ?> /><?php _e('Use specified CSS file', $this->text_domain); ?></label></td>
1049
+ </tr>
1050
+ <tr valign="top" style="display: none;">
1051
+ <th scope="row"><?php _e('CSS file', $this->text_domain); ?></th>
1052
+ <td><input name="properties[css-file]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['css-file']); ?>" size="80" /><br><p><?php _e('(ex. https://exsample.com/style.css )', $this->text_domain); ?></p></td>
1053
+ </tr>
1054
+ <tr valign="top" style="display: none;">
1055
+ <th scope="row"><?php _e('CSS file', $this->text_domain); ?></th>
1056
+ <td><input name="properties[css-path]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['css-path']); ?>" size="80" /><br>
1057
+ </tr>
1058
+ <tr valign="top" style="display: none;">
1059
+ <th scope="row"><?php _e('CSS URL', $this->text_domain); ?></th>
1060
+ <td><input name="properties[css-url]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['css-url']); ?>" size="80" /><br>
1061
+ </tr>
1062
 
1063
+ <tr valign="top">
1064
+ <th scope="row"><?php _e('Class ID to be added(for PC)', $this->text_domain); ?></th>
1065
+ <td><input name="properties[class-pc]" type="text" id="inputtext" value="<?php echo (isset($this->options['class-pc']) ? esc_attr($this->options['class-pc']) : ''); ?>" size="40" /><br>
1066
+ </tr>
1067
+ <tr valign="top">
1068
+ <th scope="row"><?php _e('Class ID to be added(for Mobile)', $this->text_domain); ?></th>
1069
+ <td><input name="properties[class-mobile]" type="text" id="inputtext" value="<?php echo (isset($this->options['class-mobile']) ? esc_attr($this->options['class-mobile']) : ''); ?>" size="40" /><br>
1070
+ </tr>
1071
 
1072
+ <tr valign="top">
1073
+ <th scope="row"><?php _e('Google AMP URL', $this->text_domain); ?></th>
1074
+ <td><label><input name="properties[flg-amp-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-amp-url']) ? $this->options['flg-amp-url'] : null, 1); ?> /><?php _e('If the URL is AMP, display simple.', $this->text_domain); ?></label></td>
1075
+ </tr>
1076
 
1077
+ <tr valign="top">
1078
+ <th scope="row"><?php _e('IDNA Convert', $this->text_domain); ?></th>
1079
+ <td><label><input name="properties[flg-idn]" type="checkbox" id="check" value="1" <?php checked( (isset($this->options['flg-idn']) && function_exists('idn_to_utf8') ) ? $this->options['flg-idn'] : null, 1); ?> /><?php _e('Convert domain name from IDNA ASCII to Unicode.', $this->text_domain); ?></label></td>
1080
+ </tr>
1081
 
1082
+ <tr valign="top">
1083
+ <th scope="row"><?php _e('Relative URL', $this->text_domain); ?></th>
1084
+ <td><label><input name="properties[flg-relative-url]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['flg-relative-url']) ? $this->options['flg-relative-url'] : null, 1); ?> /><?php _e('For relative-specified URLs, complement the site URL.', $this->text_domain); ?></label></td>
1085
+ </tr>
1086
 
1087
+ <tr valign="top" style="display: none;">
1088
+ <th scope="row"><?php _e('Display link to author page', $this->text_domain); ?></th>
1089
+ <td><input name="properties[plugin-link]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['plugin-link']) ? $this->options['plugin-link'] : null, 1); ?> disabled="disabled" /><a href="<?php echo $this->options['plugin-url']; ?>" target="_blank"><?php echo $this->options['plugin-name']; ?></a></td>
1090
+ </tr>
1091
+ <tr valign="top" style="display: none;">
1092
+ <th scope="row"><?php _e('Plugin URL', $this->text_domain); ?></th>
1093
+ <td><input name="properties[plugin-url]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['plugin-url']); ?>" class="regular-text" /></td>
1094
+ </tr>
1095
+ <tr valign="top" style="display: none;">
1096
+ <th scope="row"><?php _e('Plugin name', $this->text_domain); ?></th>
1097
+ <td><input name="properties[plugin-name]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['plugin-name']); ?>" class="regular-text" /></td>
1098
+ </tr>
1099
+ <tr valign="top" style="display: none;">
1100
+ <th scope="row"><?php _e('Plugin version', $this->text_domain); ?></th>
1101
+ <td><input name="properties[plugin-version]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['plugin-version']); ?>" class="regular-text" /></td>
1102
+ </tr>
1103
+ <tr valign="top" style="display: none;">
1104
+ <th scope="row"><?php _e('Saved datetime', $this->text_domain); ?></th>
1105
+ <td><input name="properties[saved-date]" type="text" id="inputtext" value="<?php echo esc_attr($this->options['saved-date']); ?>" /></td>
1106
+ </tr>
1107
 
1108
+ <tr valign="top">
1109
+ <th scope="row"><?php _e('Display elapsed time', $this->text_domain); ?></th>
1110
+ <td><label><input name="properties[debug-time]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['debug-time']) ? $this->options['debug-time'] : null, 1); ?> /><?php _e('Output the elapsed time to HTML comment.', $this->text_domain); _e('(Not recommended)', $this->text_domain); ?></label></td>
1111
+ </tr>
1112
 
1113
+ </table>
1114
+ </div>
1115
+
1116
+ <div class="pz-lkc-item" id="pz-lkc-initialize">
1117
+ <h3><?php echo __('Initialize', $this->text_domain).'<a href="https://popozure.info/pz-linkcard-settings-initialize" target="_blank"><img src="'.$this->plugin_dir_url.'img/help.png" width="16" height="16" title="'.__('Help', $this->text_domain).'" alt="help"></a>'; ?></h3>
1118
+ <table class="form-table">
1119
+ <tr valign="top">
1120
+ <th scope="row"><?php _e('Return to the initial setting', $this->text_domain); ?></th>
1121
+ <td><label><input name="properties[initialize]" type="checkbox" id="check" value="1" <?php checked(isset($this->options['initialize']) ? $this->options['initialize'] : null, 1); ?> /></label></td>
1122
+ </tr>
1123
  </table>
1124
+ </div>
1125
 
 
 
 
 
 
 
 
1126
  <?php submit_button(); ?>
1127
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1128
  </form>
1129
  </div>
1130
  </div>
lib/pz-linkcard-style.php CHANGED
@@ -14,7 +14,7 @@
14
  // バージョン
15
  $file_text = str_replace('/*VERSION*/', $this->options['plugin-version'], $file_text );
16
 
17
- // オマケ書式
18
  switch ($this->options['special-format']) {
19
  case 'LkC': // Pz-LkC Default
20
  $file_text = str_replace('/*EX-IMAGE*/', 'background-image: linear-gradient(#78f 0%, #78f 10%, #fff 30%);', $file_text );
@@ -25,15 +25,19 @@
25
  $file_text = str_replace('/*COLOR-INFO*/', 'color: #fff;', $file_text );
26
  $file_text = str_replace('/*COLOR-ADDED*/', 'color: #fff;', $file_text );
27
  }
28
- $file_text = str_replace('/*THUMBNAIL_POSITION*/', 'float: left;', $file_text );
29
  break;
30
  case 'smp': // Simple(サムネイルとタイトル)
31
- $file_text = str_replace('/*BORDER*/', 'border: none;', $file_text );
 
 
32
  $file_text = str_replace('/*NONE-INFO*/', 'display: none !important;', $file_text );
33
  $file_text = str_replace('/*NONE-EXCERPT*/', 'display: none !important;', $file_text );
34
  break;
35
  case 'hbc': // ノーマル(はてなブログカード風)
36
- $file_text = str_replace('/*BORDER*/', 'border: 1px solid rgba(0,0,0,0.1);', $file_text );
 
 
37
  $file_text = str_replace('/*RADIUS*/', 'border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px;', $file_text );
38
  $file_text = str_replace('/*SHADOW*/', 'box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);', $file_text );
39
  break;
@@ -48,7 +52,7 @@
48
  $file_text = str_replace('/*CARD-LEFT*/', 'margin-left: 20px;', $file_text );
49
  $file_text = str_replace('/*WIDTH*/', 'max-width: 96%;', $file_text );
50
  $file_text = str_replace('/*RADIUS*/', 'border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px;', $file_text );
51
- $file_text = str_replace('/*LINKCARD-WRAP-MARGIN*/', 'margin: 0 auto;', $file_text );
52
  $file_text = str_replace('/*THUMBNAIL-WIDTH*/', 'max-width: 150px;', $file_text );
53
  $file_text = str_replace('/*THUMBNAIL-HEIGHT*/', 'height: 108px; overflow: hidden;', $file_text );
54
  $file_text = str_replace('/*THUMBNAIL-IMG-WIDTH*/', 'width: 150px;', $file_text );
@@ -60,7 +64,9 @@
60
  $added_height = intval(preg_replace('/[^0-9]/', '', isset($this->options['height-added'] ) ? $this->options['height-added'] : $this->defaults['height-added'] ) );
61
  $heading_height = intval( $added_height / 2 );
62
  $heading_padding = intval( $added_height / 4 );
63
- $file_text = str_replace('/*HEADING*/', 'position: absolute; top: -15px; left: 20px; padding: 0 10px; background-color: '.$this->options['border-color'].'; border-radius: 2px;', $file_text );
 
 
64
  if (isset($this->options['thumbnail-resize']) && $this->options['thumbnail-resize'] == '1') {
65
  $size_title = intval(preg_replace('/[^0-9]/', '', isset($this->options['size-title']) ? $this->options['size-title'] : $this->defaults['size-title'] ) );
66
  $size_excerpt = intval(preg_replace('/[^0-9]/', '', isset($this->options['size-excerpt']) ? $this->options['size-excerpt'] : $this->defaults['size-excerpt'] ) );
@@ -88,6 +94,33 @@
88
  $css .= '.lkc-this-wrap:hover::after { width: calc(100% + 12px); height: calc(100% + 12px); border-color: '.$this->options['th-bgcolor'].'; }'.PHP_EOL;
89
  $file_text = str_replace('/*OPTION*/', $css, $file_text );
90
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  case 'ref': // 反射
92
  $css = '.lkc-internal-wrap , .lkc-external-wrap , .lkc-this-wrap { overflow: hidden; }'.PHP_EOL;
93
  $css .= '.lkc-internal-wrap::before , .lkc-external-wrap::before , .lkc-this-wrap::before { content: ""; display: block; width: 500px; height: 120px; background: '.$this->options['border-color'].'; position: absolute; top: -10px; left: -500px; transform: rotate(-45deg); transition: all .3s ease-in-out; }'.PHP_EOL;
@@ -169,7 +202,9 @@
169
  $file_text = str_replace('/*WRAP-AFTER*/', 'content: ""; display: block; position: absolute; background-image: url("'.$this->plugin_dir_url.'img/pin.png"); background-repeat: no-repeat; background-position: center; left: 47%; top: -16px; width: 40px; height: 40px; z-index: 1; pointer-events: none;', $file_text );
170
  break;
171
  case 'inN': // 中立青緑(イングレス風)
172
- $file_text = str_replace('/*BORDER*/', 'border: 4px solid #59fbea;', $file_text );
 
 
173
  $file_text = str_replace('/*COLOR-TITLE*/', 'color: #59fbea;', $file_text );
174
  $file_text = str_replace('/*COLOR-URL*/', 'color: #59fbea;', $file_text );
175
  $file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #59fbea;', $file_text );
@@ -180,7 +215,9 @@
180
  $file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba( 89,251,234,0.05);', $file_text );
181
  break;
182
  case 'inI': // 情報オレンジ(イングレス風)
183
- $file_text = str_replace('/*BORDER*/', 'border: 4px solid #ebbc4a;', $file_text );
 
 
184
  $file_text = str_replace('/*COLOR-TITLE*/', 'color: #ebbc4a;', $file_text );
185
  $file_text = str_replace('/*COLOR-URL*/', 'color: #ebbc4a;', $file_text );
186
  $file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #ebbc4a;', $file_text );
@@ -191,7 +228,9 @@
191
  $file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba(235,188, 74,0.05);', $file_text );
192
  break;
193
  case 'inE': // エンライテッドカラー(イングレス風)
194
- $file_text = str_replace('/*BORDER*/', 'border: 4px solid #28f428;', $file_text );
 
 
195
  $file_text = str_replace('/*COLOR-TITLE*/', 'color: #28f428;', $file_text );
196
  $file_text = str_replace('/*COLOR-URL*/', 'color: #28f428;', $file_text );
197
  $file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #28f428;', $file_text );
@@ -202,7 +241,9 @@
202
  $file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba( 40,244, 40,0.05);', $file_text );
203
  break;
204
  case 'inR': // レジスタンスカラー(イングレス風)
205
- $file_text = str_replace('/*BORDER*/', 'border: 4px solid #00c2ff;', $file_text );
 
 
206
  $file_text = str_replace('/*COLOR-TITLE*/', 'color: #00c2ff;', $file_text );
207
  $file_text = str_replace('/*COLOR-URL*/', 'color: #00c2ff;', $file_text );
208
  $file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #00c2ff;', $file_text );
@@ -213,13 +254,17 @@
213
  $file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba( 0,194,255,0.05);', $file_text );
214
  break;
215
  case 'sBR': // 縫い目(青&赤)
216
- $file_text = str_replace('/*BORDER*/', 'border: 2px dashed rgba(255,255,255,0.5);', $file_text );
 
 
217
  $file_text = str_replace('/*EX-BGCOLOR*/', 'background: #bcddff; box-shadow: 0 0 0 5px #aabbee, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #aabbee, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #aabbee, 3px 3px 6px 4px rgba(0,0,0,0.6);', $file_text );
218
  $file_text = str_replace('/*IN-BGCOLOR*/', 'background: #f8d0d0; box-shadow: 0 0 0 5px #e8a8a8, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #e8a8a8, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #e8a8a8, 3px 3px 6px 4px rgba(0,0,0,0.6);', $file_text );
219
  $file_text = str_replace('/*TH-BGCOLOR*/', 'background: #f29db0; box-shadow: 0 0 0 5px #de8899, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #de8899, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #de8899, 3px 3px 6px 4px rgba(0,0,0,0.6);', $file_text );
220
  break;
221
  case 'sGY': // 縫い目(緑&黄)
222
- $file_text = str_replace('/*BORDER*/', 'border: 2px dashed rgba(255,255,255,0.5);', $file_text );
 
 
223
  $file_text = str_replace('/*EX-BGCOLOR*/', 'background: #acefdd; box-shadow: 0 0 0 5px #8abecb, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #8abecb, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #8abecb, 3px 3px 6px 4px rgba(0,0,0,0.6);', $file_text );
224
  $file_text = str_replace('/*IN-BGCOLOR*/', 'background: #ffde51; box-shadow: 0 0 0 5px #fbca4d, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #fbca4d, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #fbca4d, 3px 3px 6px 4px rgba(0,0,0,0.6);', $file_text );
225
  $file_text = str_replace('/*TH-BGCOLOR*/', 'background: #f0e0b0; box-shadow: 0 0 0 5px #decca0, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #decca0, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #decca0, 3px 3px 6px 4px rgba(0,0,0,0.6);', $file_text );
@@ -368,10 +413,10 @@
368
 
369
  // センタリング指定あり
370
  if (isset($this->options['centering']) && $this->options['centering'] == '1') {
371
- $file_text = str_replace('/*LINKCARD-WRAP-MARGIN*/', 'margin: 0 auto;', $file_text );
372
  $file_text = str_replace('/*HATENA-WRAP-MARGIN*/', 'margin: 0 auto;', $file_text );
373
  } else {
374
- $file_text = str_replace('/*LINKCARD-WRAP-MARGIN*/', 'margin: 0;', $file_text );
375
  $file_text = str_replace('/*HATENA-WRAP-MARGIN*/', 'margin: 0;', $file_text );
376
  }
377
 
@@ -442,21 +487,24 @@
442
  $content_height = intval(preg_replace('/[^0-9]/', '', isset($this->options['content-height'] ) ? $this->options['content-height'] : $this->defaults['content-height'] ) );
443
  switch ($this->options['thumbnail-position']) {
444
  case '1':
445
- $file_text = str_replace('/*THUMBNAIL_POSITION*/', 'float: right;', $file_text );
 
446
  $file_text = str_replace('/*THUMBNAIL-WIDTH*/', 'max-width: '.$thumbnail_width .'px;', $file_text );
447
  $file_text = str_replace('/*THUMBNAIL-HEIGHT*/', 'max-height: '.$thumbnail_height.'px;', $file_text );
448
  $file_text = str_replace('/*THUMBNAIL-IMG-WIDTH*/', 'width: '.$thumbnail_width .'px;', $file_text );
449
  $file_text = str_replace('/*THUMBNAIL-IMG-HEIGHT*/','max-height: '.$thumbnail_height.'px;', $file_text );
450
  break;
451
  case '2':
452
- $file_text = str_replace('/*THUMBNAIL_POSITION*/', 'float: left;', $file_text );
 
453
  $file_text = str_replace('/*THUMBNAIL-WIDTH*/', 'max-width: '.$thumbnail_width .'px;', $file_text );
454
  $file_text = str_replace('/*THUMBNAIL-HEIGHT*/', 'max-height: '.$thumbnail_height.'px;', $file_text );
455
  $file_text = str_replace('/*THUMBNAIL-IMG-WIDTH*/', 'width: '.$thumbnail_width .'px;', $file_text );
456
  $file_text = str_replace('/*THUMBNAIL-IMG-HEIGHT*/','max-height: '.$thumbnail_height.'px;', $file_text );
457
  break;
458
  case '3':
459
- $file_text = str_replace('/*THUMBNAIL_POSITION*/', 'display: block;', $file_text );
 
460
  $file_text = str_replace('/*THUMBNAIL-WIDTH*/', '', $file_text );
461
  $file_text = str_replace('/*THUMBNAIL-HEIGHT*/', 'height: '.$thumbnail_height.'px; overflow: hidden;', $file_text );
462
  $file_text = str_replace('/*THUMBNAIL-IMG-WIDTH*/', 'width: '.$content_width .'px;', $file_text );
@@ -504,56 +552,15 @@
504
  $file_text = str_replace('/*CONTENT-HEIGHT*/', 'height: '.$this->options['content-height'].';', $file_text );
505
  }
506
 
507
- // 枠線の太さ
508
- switch (isset($this->options['border']) ? $this->options['border'] : '') {
509
- case '1gr':
510
- $file_text = str_replace('/*BORDER*/', 'border: 1px solid #ddd;', $file_text );
511
- break;
512
- case '2gr':
513
- $file_text = str_replace('/*BORDER*/', 'border: 2px solid #ddd;', $file_text );
514
- break;
515
- case '4gr':
516
- $file_text = str_replace('/*BORDER*/', 'border: 4px solid #ddd;', $file_text );
517
- break;
518
- case '1bk':
519
- $file_text = str_replace('/*BORDER*/', 'border: 1px solid #444;', $file_text );
520
- break;
521
- case '2bk':
522
- $file_text = str_replace('/*BORDER*/', 'border: 2px solid #444;', $file_text );
523
- break;
524
- case '4bk':
525
- $file_text = str_replace('/*BORDER*/', 'border: 4px solid #444;', $file_text );
526
- break;
527
- case '8bk':
528
- $file_text = str_replace('/*BORDER*/', 'border: 8px solid #444;', $file_text );
529
- break;
530
- case 'blu':
531
- $file_text = str_replace('/*BORDER*/', 'border: 4px solid #1e90ff;', $file_text );
532
- break;
533
- case 'gre':
534
- $file_text = str_replace('/*BORDER*/', 'border: 4px solid #66cdaa;', $file_text );
535
- break;
536
- case 'red':
537
- $file_text = str_replace('/*BORDER*/', 'border: 4px solid #ff69b4;', $file_text );
538
- break;
539
- case 'wht': // Wheat
540
- $file_text = str_replace('/*BORDER*/', 'border: 4px solid #f5deb3;', $file_text );
541
- break;
542
- case 'dbl':
543
- $file_text = str_replace('/*BORDER*/', 'border: 4px double #444;', $file_text );
544
- break;
545
- case 'dot':
546
- $file_text = str_replace('/*BORDER*/', 'border: 1px dotted #444;', $file_text );
547
- break;
548
- default:
549
- break;
550
- }
551
-
552
  // 枠線の太さ
553
  $border = (preg_replace('/[^0-9]/', '', $this->options['border-width']) - 0).'px ';
554
  $border .= (isset($this->options['border-style']) ? $this->options['border-style'] : $this->defaults['border-style']).' ';
555
- $border .= (isset($this->options['border-color']) ? $this->options['border-color'] : $this->defaults['border-color']).';';
556
- $file_text = str_replace('/*BORDER*/', 'border: '.$border, $file_text );
 
 
 
 
557
 
558
  // 抜粋文の部分を凹ませる
559
  if (isset($this->options['content-inset']) && $this->options['content-inset'] == '1') {
@@ -562,6 +569,12 @@
562
  $file_text = str_replace('/*CONTENT-BGCOLOR*/', 'background-color: rgba(255, 255, 255, 0.8 );', $file_text );
563
  }
564
 
 
 
 
 
 
 
565
  // サイト情報の区切り線
566
  if (isset($this->options['separator']) && $this->options['separator'] == '1') {
567
  switch ($this->options['info-position']) {
@@ -579,7 +592,9 @@
579
  $added_height = intval(preg_replace('/[^0-9]/', '', isset($this->options['height-added'] ) ? $this->options['height-added'] : $this->defaults['height-added'] ) );
580
  $heading_height = intval( $added_height / 2 );
581
  $heading_padding = intval( $added_height / 4 );
582
- $file_text = str_replace('/*HEADING*/', 'position: absolute; top: -'.$heading_height.'px; left: 20px; padding: 0 '.$heading_padding.'px; background-color: '.$this->options['border-color'].'; border-radius: 2px;', $file_text );
 
 
583
  }
584
 
585
  // 続きを読むボタン
14
  // バージョン
15
  $file_text = str_replace('/*VERSION*/', $this->options['plugin-version'], $file_text );
16
 
17
+ // かんたん書式設定
18
  switch ($this->options['special-format']) {
19
  case 'LkC': // Pz-LkC Default
20
  $file_text = str_replace('/*EX-IMAGE*/', 'background-image: linear-gradient(#78f 0%, #78f 10%, #fff 30%);', $file_text );
25
  $file_text = str_replace('/*COLOR-INFO*/', 'color: #fff;', $file_text );
26
  $file_text = str_replace('/*COLOR-ADDED*/', 'color: #fff;', $file_text );
27
  }
28
+ $file_text = str_replace('/*THUMBNAIL-POSITION*/', 'float: left;', $file_text );
29
  break;
30
  case 'smp': // Simple(サムネイルとタイトル)
31
+ $file_text = str_replace('/*EX-BORDER*/', 'border: none;', $file_text );
32
+ $file_text = str_replace('/*IN-BORDER*/', 'border: none;', $file_text );
33
+ $file_text = str_replace('/*TH-BORDER*/', 'border: none;', $file_text );
34
  $file_text = str_replace('/*NONE-INFO*/', 'display: none !important;', $file_text );
35
  $file_text = str_replace('/*NONE-EXCERPT*/', 'display: none !important;', $file_text );
36
  break;
37
  case 'hbc': // ノーマル(はてなブログカード風)
38
+ $file_text = str_replace('/*EX-BORDER*/', 'border: 1px solid rgba(0,0,0,0.1);', $file_text );
39
+ $file_text = str_replace('/*IN-BORDER*/', 'border: 1px solid rgba(0,0,0,0.1);', $file_text );
40
+ $file_text = str_replace('/*TH-BORDER*/', 'border: 1px solid rgba(0,0,0,0.1);', $file_text );
41
  $file_text = str_replace('/*RADIUS*/', 'border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px;', $file_text );
42
  $file_text = str_replace('/*SHADOW*/', 'box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);', $file_text );
43
  break;
52
  $file_text = str_replace('/*CARD-LEFT*/', 'margin-left: 20px;', $file_text );
53
  $file_text = str_replace('/*WIDTH*/', 'max-width: 96%;', $file_text );
54
  $file_text = str_replace('/*RADIUS*/', 'border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px;', $file_text );
55
+ $file_text = str_replace('/*WRAP-MARGIN*/', 'margin: 0 auto;', $file_text );
56
  $file_text = str_replace('/*THUMBNAIL-WIDTH*/', 'max-width: 150px;', $file_text );
57
  $file_text = str_replace('/*THUMBNAIL-HEIGHT*/', 'height: 108px; overflow: hidden;', $file_text );
58
  $file_text = str_replace('/*THUMBNAIL-IMG-WIDTH*/', 'width: 150px;', $file_text );
64
  $added_height = intval(preg_replace('/[^0-9]/', '', isset($this->options['height-added'] ) ? $this->options['height-added'] : $this->defaults['height-added'] ) );
65
  $heading_height = intval( $added_height / 2 );
66
  $heading_padding = intval( $added_height / 4 );
67
+ $file_text = str_replace('/*EX-HEADING*/', 'position: absolute; top: -15px; left: 20px; padding: 0 10px; background-color: '.$this->options['ex-border-color'].'; border-radius: 2px;', $file_text );
68
+ $file_text = str_replace('/*IN-HEADING*/', 'position: absolute; top: -15px; left: 20px; padding: 0 10px; background-color: '.$this->options['in-border-color'].'; border-radius: 2px;', $file_text );
69
+ $file_text = str_replace('/*TH-HEADING*/', 'position: absolute; top: -15px; left: 20px; padding: 0 10px; background-color: '.$this->options['th-border-color'].'; border-radius: 2px;', $file_text );
70
  if (isset($this->options['thumbnail-resize']) && $this->options['thumbnail-resize'] == '1') {
71
  $size_title = intval(preg_replace('/[^0-9]/', '', isset($this->options['size-title']) ? $this->options['size-title'] : $this->defaults['size-title'] ) );
72
  $size_excerpt = intval(preg_replace('/[^0-9]/', '', isset($this->options['size-excerpt']) ? $this->options['size-excerpt'] : $this->defaults['size-excerpt'] ) );
94
  $css .= '.lkc-this-wrap:hover::after { width: calc(100% + 12px); height: calc(100% + 12px); border-color: '.$this->options['th-bgcolor'].'; }'.PHP_EOL;
95
  $file_text = str_replace('/*OPTION*/', $css, $file_text );
96
  break;
97
+ case 'cmp': // コンパクト(Twitter風)
98
+ $file_text = str_replace('/*EX-BORDER*/', 'border: 1px solid rgba(0,0,0,0.1);', $file_text );
99
+ $file_text = str_replace('/*IN-BORDER*/', 'border: 1px solid rgba(0,0,0,0.1);', $file_text );
100
+ $file_text = str_replace('/*TH-BORDER*/', 'border: 1px solid rgba(0,0,0,0.1);', $file_text );
101
+ $file_text = str_replace('/*CONTENT-HEIGHT*/', 'height: 108px;', $file_text );
102
+ $file_text = str_replace('/*WRAP-MARGIN*/', 'margin: 0;', $file_text );
103
+ $file_text = str_replace('/*PADDING*/', 'padding: 0;', $file_text );
104
+ $file_text = str_replace('/*RADIUS*/', 'border-radius: 16px; -webkit-border-radius: 16px; -moz-border-radius: 16px;', $file_text );
105
+ $file_text = str_replace('/*CARD-TOP*/', 'margin: 0;', $file_text );
106
+ $file_text = str_replace('/*CARD-RIGHT*/', '', $file_text );
107
+ $file_text = str_replace('/*CARD-BOTTOM*/', '', $file_text );
108
+ $file_text = str_replace('/*CARD-LEFT*/', '', $file_text );
109
+ $file_text = str_replace('/*MARGIN-TITLE*/', 'margin: 30px 0 0 108px;', $file_text );
110
+ $file_text = str_replace('/*MARGIN-URL*/', 'margin: 0 0 0 108px;', $file_text );
111
+ $file_text = str_replace('/*MARGIN-EXCERPT*/', 'margin: 0 0 0 108px;', $file_text );
112
+ $file_text = str_replace('/*CONTENT-PADDING*/', 'padding: 0;', $file_text );
113
+ $file_text = str_replace('/*CONTENT-MARGIN*/', 'margin: 0;', $file_text );
114
+ $content_height = intval(preg_replace('/[^0-9]/', '', isset($this->options['content-height'] ) ? $this->options['content-height'] : $this->defaults['content-height'] ) );
115
+ $file_text = str_replace('/*THUMBNAIL-WIDTH*/', 'display: block; overflow: hidden;', $file_text );
116
+ $file_text = str_replace('/*THUMBNAIL-HEIGHT*/', 'height: 108px;', $file_text );
117
+ $file_text = str_replace('/*THUMBNAIL-IMG-WIDTH*/', 'width: 100px;', $file_text );
118
+ $file_text = str_replace('/*THUMBNAIL-IMG-HEIGHT*/', 'height: 108px;', $file_text );
119
+ $file_text = str_replace('/*THUMBNAIL-POSITION*/', 'float: left;', $file_text );
120
+ $file_text = str_replace('/*THUMBNAIL-MARGIN*/', 'margin: 0 8px 0 0;', $file_text );
121
+ $file_text = str_replace('/*THUMBNAIL-RADIUS*/', 'border-radius: 16px 0 0 16px;', $file_text );
122
+ $file_text = str_replace('/*POSITION-INFO*/', 'position: absolute; top: 8px; left: 108px;', $file_text );
123
+ break;
124
  case 'ref': // 反射
125
  $css = '.lkc-internal-wrap , .lkc-external-wrap , .lkc-this-wrap { overflow: hidden; }'.PHP_EOL;
126
  $css .= '.lkc-internal-wrap::before , .lkc-external-wrap::before , .lkc-this-wrap::before { content: ""; display: block; width: 500px; height: 120px; background: '.$this->options['border-color'].'; position: absolute; top: -10px; left: -500px; transform: rotate(-45deg); transition: all .3s ease-in-out; }'.PHP_EOL;
202
  $file_text = str_replace('/*WRAP-AFTER*/', 'content: ""; display: block; position: absolute; background-image: url("'.$this->plugin_dir_url.'img/pin.png"); background-repeat: no-repeat; background-position: center; left: 47%; top: -16px; width: 40px; height: 40px; z-index: 1; pointer-events: none;', $file_text );
203
  break;
204
  case 'inN': // 中立青緑(イングレス風)
205
+ $file_text = str_replace('/*EX-BORDER*/', 'border: 4px solid #59fbea;', $file_text );
206
+ $file_text = str_replace('/*IN-BORDER*/', 'border: 4px solid #59fbea;', $file_text );
207
+ $file_text = str_replace('/*TH-BORDER*/', 'border: 4px solid #59fbea;', $file_text );
208
  $file_text = str_replace('/*COLOR-TITLE*/', 'color: #59fbea;', $file_text );
209
  $file_text = str_replace('/*COLOR-URL*/', 'color: #59fbea;', $file_text );
210
  $file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #59fbea;', $file_text );
215
  $file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba( 89,251,234,0.05);', $file_text );
216
  break;
217
  case 'inI': // 情報オレンジ(イングレス風)
218
+ $file_text = str_replace('/*EX-BORDER*/', 'border: 4px solid #ebbc4a;', $file_text );
219
+ $file_text = str_replace('/*IN-BORDER*/', 'border: 4px solid #ebbc4a;', $file_text );
220
+ $file_text = str_replace('/*TH-BORDER*/', 'border: 4px solid #ebbc4a;', $file_text );
221
  $file_text = str_replace('/*COLOR-TITLE*/', 'color: #ebbc4a;', $file_text );
222
  $file_text = str_replace('/*COLOR-URL*/', 'color: #ebbc4a;', $file_text );
223
  $file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #ebbc4a;', $file_text );
228
  $file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba(235,188, 74,0.05);', $file_text );
229
  break;
230
  case 'inE': // エンライテッドカラー(イングレス風)
231
+ $file_text = str_replace('/*EX-BORDER*/', 'border: 4px solid #28f428;', $file_text );
232
+ $file_text = str_replace('/*IN-BORDER*/', 'border: 4px solid #28f428;', $file_text );
233
+ $file_text = str_replace('/*TH-BORDER*/', 'border: 4px solid #28f428;', $file_text );
234
  $file_text = str_replace('/*COLOR-TITLE*/', 'color: #28f428;', $file_text );
235
  $file_text = str_replace('/*COLOR-URL*/', 'color: #28f428;', $file_text );
236
  $file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #28f428;', $file_text );
241
  $file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba( 40,244, 40,0.05);', $file_text );
242
  break;
243
  case 'inR': // レジスタンスカラー(イングレス風)
244
+ $file_text = str_replace('/*EX-BORDER*/', 'border: 4px solid #00c2ff;', $file_text );
245
+ $file_text = str_replace('/*IN-BORDER*/', 'border: 4px solid #00c2ff;', $file_text );
246
+ $file_text = str_replace('/*TH-BORDER*/', 'border: 4px solid #00c2ff;', $file_text );
247
  $file_text = str_replace('/*COLOR-TITLE*/', 'color: #00c2ff;', $file_text );
248
  $file_text = str_replace('/*COLOR-URL*/', 'color: #00c2ff;', $file_text );
249
  $file_text = str_replace('/*COLOR-EXCERPT*/', 'color: #00c2ff;', $file_text );
254
  $file_text = str_replace('/*TH-BGCOLOR*/', 'background-color: rgba( 0,194,255,0.05);', $file_text );
255
  break;
256
  case 'sBR': // 縫い目(青&赤)
257
+ $file_text = str_replace('/*EX-BORDER*/', 'border: 2px dashed rgba(255,255,255,0.5);', $file_text );
258
+ $file_text = str_replace('/*IN-BORDER*/', 'border: 2px dashed rgba(255,255,255,0.5);', $file_text );
259
+ $file_text = str_replace('/*TH-BORDER*/', 'border: 2px dashed rgba(255,255,255,0.5);', $file_text );
260
  $file_text = str_replace('/*EX-BGCOLOR*/', 'background: #bcddff; box-shadow: 0 0 0 5px #aabbee, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #aabbee, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #aabbee, 3px 3px 6px 4px rgba(0,0,0,0.6);', $file_text );
261
  $file_text = str_replace('/*IN-BGCOLOR*/', 'background: #f8d0d0; box-shadow: 0 0 0 5px #e8a8a8, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #e8a8a8, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #e8a8a8, 3px 3px 6px 4px rgba(0,0,0,0.6);', $file_text );
262
  $file_text = str_replace('/*TH-BGCOLOR*/', 'background: #f29db0; box-shadow: 0 0 0 5px #de8899, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #de8899, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #de8899, 3px 3px 6px 4px rgba(0,0,0,0.6);', $file_text );
263
  break;
264
  case 'sGY': // 縫い目(緑&黄)
265
+ $file_text = str_replace('/*EX-BORDER*/', 'border: 2px dashed rgba(255,255,255,0.5);', $file_text );
266
+ $file_text = str_replace('/*IN-BORDER*/', 'border: 2px dashed rgba(255,255,255,0.5);', $file_text );
267
+ $file_text = str_replace('/*TH-BORDER*/', 'border: 2px dashed rgba(255,255,255,0.5);', $file_text );
268
  $file_text = str_replace('/*EX-BGCOLOR*/', 'background: #acefdd; box-shadow: 0 0 0 5px #8abecb, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #8abecb, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #8abecb, 3px 3px 6px 4px rgba(0,0,0,0.6);', $file_text );
269
  $file_text = str_replace('/*IN-BGCOLOR*/', 'background: #ffde51; box-shadow: 0 0 0 5px #fbca4d, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #fbca4d, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #fbca4d, 3px 3px 6px 4px rgba(0,0,0,0.6);', $file_text );
270
  $file_text = str_replace('/*TH-BGCOLOR*/', 'background: #f0e0b0; box-shadow: 0 0 0 5px #decca0, 3px 3px 6px 4px rgba(0,0,0,0.6); -moz-box-shadow: 0 0 0 5px #decca0, 3px 3px 6px 4px rgba(0,0,0,0.6); -webkit-box-shadow: 0 0 0 5px #decca0, 3px 3px 6px 4px rgba(0,0,0,0.6);', $file_text );
413
 
414
  // センタリング指定あり
415
  if (isset($this->options['centering']) && $this->options['centering'] == '1') {
416
+ $file_text = str_replace('/*WRAP-MARGIN*/', 'margin: 0 auto;', $file_text );
417
  $file_text = str_replace('/*HATENA-WRAP-MARGIN*/', 'margin: 0 auto;', $file_text );
418
  } else {
419
+ $file_text = str_replace('/*WRAP-MARGIN*/', 'margin: 0;', $file_text );
420
  $file_text = str_replace('/*HATENA-WRAP-MARGIN*/', 'margin: 0;', $file_text );
421
  }
422
 
487
  $content_height = intval(preg_replace('/[^0-9]/', '', isset($this->options['content-height'] ) ? $this->options['content-height'] : $this->defaults['content-height'] ) );
488
  switch ($this->options['thumbnail-position']) {
489
  case '1':
490
+ $file_text = str_replace('/*THUMBNAIL-POSITION*/', 'float: right;', $file_text );
491
+ $file_text = str_replace('/*THUMBNAIL-MARGIN*/', 'margin: 0 6px 4px 4px;', $file_text );
492
  $file_text = str_replace('/*THUMBNAIL-WIDTH*/', 'max-width: '.$thumbnail_width .'px;', $file_text );
493
  $file_text = str_replace('/*THUMBNAIL-HEIGHT*/', 'max-height: '.$thumbnail_height.'px;', $file_text );
494
  $file_text = str_replace('/*THUMBNAIL-IMG-WIDTH*/', 'width: '.$thumbnail_width .'px;', $file_text );
495
  $file_text = str_replace('/*THUMBNAIL-IMG-HEIGHT*/','max-height: '.$thumbnail_height.'px;', $file_text );
496
  break;
497
  case '2':
498
+ $file_text = str_replace('/*THUMBNAIL-POSITION*/', 'float: left;', $file_text );
499
+ $file_text = str_replace('/*THUMBNAIL-MARGIN*/', 'margin: 0 6px 4px 4px;', $file_text );
500
  $file_text = str_replace('/*THUMBNAIL-WIDTH*/', 'max-width: '.$thumbnail_width .'px;', $file_text );
501
  $file_text = str_replace('/*THUMBNAIL-HEIGHT*/', 'max-height: '.$thumbnail_height.'px;', $file_text );
502
  $file_text = str_replace('/*THUMBNAIL-IMG-WIDTH*/', 'width: '.$thumbnail_width .'px;', $file_text );
503
  $file_text = str_replace('/*THUMBNAIL-IMG-HEIGHT*/','max-height: '.$thumbnail_height.'px;', $file_text );
504
  break;
505
  case '3':
506
+ $file_text = str_replace('/*THUMBNAIL-POSITION*/', 'display: block;', $file_text );
507
+ $file_text = str_replace('/*THUMBNAIL-MARGIN*/', 'margin: 0 6px 4px 4px;', $file_text );
508
  $file_text = str_replace('/*THUMBNAIL-WIDTH*/', '', $file_text );
509
  $file_text = str_replace('/*THUMBNAIL-HEIGHT*/', 'height: '.$thumbnail_height.'px; overflow: hidden;', $file_text );
510
  $file_text = str_replace('/*THUMBNAIL-IMG-WIDTH*/', 'width: '.$content_width .'px;', $file_text );
552
  $file_text = str_replace('/*CONTENT-HEIGHT*/', 'height: '.$this->options['content-height'].';', $file_text );
553
  }
554
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
555
  // 枠線の太さ
556
  $border = (preg_replace('/[^0-9]/', '', $this->options['border-width']) - 0).'px ';
557
  $border .= (isset($this->options['border-style']) ? $this->options['border-style'] : $this->defaults['border-style']).' ';
558
+ $ex_border = $border.(isset($this->options['ex-border-color']) ? $this->options['ex-border-color'] : $this->defaults['ex-border-color']).';';
559
+ $in_border = $border.(isset($this->options['in-border-color']) ? $this->options['in-border-color'] : $this->defaults['in-border-color']).';';
560
+ $th_border = $border.(isset($this->options['th-border-color']) ? $this->options['th-border-color'] : $this->defaults['th-border-color']).';';
561
+ $file_text = str_replace('/*EX-BORDER*/', 'border: '.$ex_border, $file_text );
562
+ $file_text = str_replace('/*IN-BORDER*/', 'border: '.$in_border, $file_text );
563
+ $file_text = str_replace('/*TH-BORDER*/', 'border: '.$th_border, $file_text );
564
 
565
  // 抜粋文の部分を凹ませる
566
  if (isset($this->options['content-inset']) && $this->options['content-inset'] == '1') {
569
  $file_text = str_replace('/*CONTENT-BGCOLOR*/', 'background-color: rgba(255, 255, 255, 0.8 );', $file_text );
570
  }
571
 
572
+ // 記事情報のマージン
573
+ $file_text = str_replace('/*CONTENT-MARGIN*/', 'margin: 6px 0 0 0;', $file_text );
574
+
575
+ // 抜粋文のマージン
576
+ $file_text = str_replace('/*MARGIN-EXCERPT*/', 'margin: 0;', $file_text );
577
+
578
  // サイト情報の区切り線
579
  if (isset($this->options['separator']) && $this->options['separator'] == '1') {
580
  switch ($this->options['info-position']) {
592
  $added_height = intval(preg_replace('/[^0-9]/', '', isset($this->options['height-added'] ) ? $this->options['height-added'] : $this->defaults['height-added'] ) );
593
  $heading_height = intval( $added_height / 2 );
594
  $heading_padding = intval( $added_height / 4 );
595
+ $file_text = str_replace('/*EX-HEADING*/', 'position: absolute; top: -'.$heading_height.'px; left: 20px; padding: 0 '.$heading_padding.'px; background-color: '.$this->options['ex-border-color'].'; border-radius: 2px;', $file_text );
596
+ $file_text = str_replace('/*IN-HEADING*/', 'position: absolute; top: -'.$heading_height.'px; left: 20px; padding: 0 '.$heading_padding.'px; background-color: '.$this->options['in-border-color'].'; border-radius: 2px;', $file_text );
597
+ $file_text = str_replace('/*TH-HEADING*/', 'position: absolute; top: -'.$heading_height.'px; left: 20px; padding: 0 '.$heading_padding.'px; background-color: '.$this->options['th-border-color'].'; border-radius: 2px;', $file_text );
598
  }
599
 
600
  // 続きを読むボタン
pz-linkcard.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Pz-LinkCard
4
  Plugin URI: http://poporon.poponet.jp/pz-linkcard
5
  Description: リンクをカード形式で表示します。
6
- Version: 2.2.8
7
  Author: poporon
8
  Author URI: http://poporon.poponet.jp
9
  License: GPLv2 or later
@@ -107,6 +107,9 @@ class Pz_LinkCard {
107
  'ex-bgcolor' => '#ffffff',
108
  'in-bgcolor' => '#f8f8f8',
109
  'th-bgcolor' => '#eeeeee',
 
 
 
110
  'in-get' => null,
111
  'ex-image' => null,
112
  'in-image' => null,
@@ -174,7 +177,7 @@ class Pz_LinkCard {
174
  'invalid-time' => null,
175
  'plugin-link' => null,
176
  'plugin-name' => 'Pz-LinkCard',
177
- 'plugin-version' => '2.2.8',
178
  'plugin-url' => 'https://popozure.info/pz-linkcard',
179
  'pz-hbc-options' => null,
180
  'debug-time' => null
@@ -540,6 +543,8 @@ class Pz_LinkCard {
540
  case '1':
541
  $wrap_op = '<div class="lkc-this-wrap">';
542
  $wrap_cl = '</div>';
 
 
543
  $more = null;
544
  $more_text = null;
545
  $info = isset($this->options['th-info']) ? $this->options['th-info'] : null ;
@@ -549,6 +554,8 @@ class Pz_LinkCard {
549
  case '2':
550
  $wrap_op = '<div class="lkc-internal-wrap">';
551
  $wrap_cl = '</div>';
 
 
552
  $more = isset($this->options['flg-more']) ? $this->options['flg-more'] : null ;
553
  $more_text = isset($this->options['in-more-text']) ? $this->options['in-more-text'] : null ;
554
  $info = isset($this->options['in-info']) ? $this->options['in-info'] : null ;
@@ -558,6 +565,8 @@ class Pz_LinkCard {
558
  default:
559
  $wrap_op = '<div class="lkc-external-wrap">';
560
  $wrap_cl = '</div>';
 
 
561
  $more = isset($this->options['flg-more']) ? $this->options['flg-more'] : null ;
562
  $more_text = isset($this->options['ex-more-text']) ? $this->options['ex-more-text'] : null ;
563
  $info = isset($this->options['ex-info']) ? $this->options['ex-info'] : '' ;
@@ -796,7 +805,7 @@ class Pz_LinkCard {
796
 
797
  // サイト情報
798
  if ($info) {
799
- $added_info = '<div class="lkc-added">'.$info.'</div>';
800
  } else {
801
  $added_info = '';
802
  }
@@ -1649,6 +1658,7 @@ class Pz_LinkCard {
1649
 
1650
  // 管理画面時のスタイルシート、スクリプト設定
1651
  public function enqueue_admin($hook) {
 
1652
  wp_enqueue_style ('wp-color-picker');
1653
  wp_enqueue_script ('colorpicker-script', plugins_url('js/color-picker.js', __FILE__), array('wp-color-picker'), false, true);
1654
  // wp_enqueue_media();
@@ -1669,7 +1679,7 @@ class Pz_LinkCard {
1669
  // 管理画面時の注意書き設定
1670
  public function add_notices() {
1671
  if ($this->options['flg-invalid']) {
1672
- echo '<div class="error fade is-dismissible"><p><strong>'.$this->slug.': '.__('Invalid URL parameter in ', $this->text_domain).'<a href="'.$this->options['invalid-url'].'" target="_blank">'.$this->options['invalid-url'].'</a></strong><br>'.__('* You can cancel this message from <a href="./options-general.php?page=pz-linkcard-settings">the setting screen</a>.', $this->text_domain).'</p></div>';
1673
  }
1674
  }
1675
 
3
  Plugin Name: Pz-LinkCard
4
  Plugin URI: http://poporon.poponet.jp/pz-linkcard
5
  Description: リンクをカード形式で表示します。
6
+ Version: 2.2.9
7
  Author: poporon
8
  Author URI: http://poporon.poponet.jp
9
  License: GPLv2 or later
107
  'ex-bgcolor' => '#ffffff',
108
  'in-bgcolor' => '#f8f8f8',
109
  'th-bgcolor' => '#eeeeee',
110
+ 'ex-border-color' => '#888888',
111
+ 'in-border-color' => '#888888',
112
+ 'th-border-color' => '#888888',
113
  'in-get' => null,
114
  'ex-image' => null,
115
  'in-image' => null,
177
  'invalid-time' => null,
178
  'plugin-link' => null,
179
  'plugin-name' => 'Pz-LinkCard',
180
+ 'plugin-version' => '2.2.9',
181
  'plugin-url' => 'https://popozure.info/pz-linkcard',
182
  'pz-hbc-options' => null,
183
  'debug-time' => null
543
  case '1':
544
  $wrap_op = '<div class="lkc-this-wrap">';
545
  $wrap_cl = '</div>';
546
+ $added_op = '<div class="lkc-this-added">';
547
+ $added_cl = '</div>';
548
  $more = null;
549
  $more_text = null;
550
  $info = isset($this->options['th-info']) ? $this->options['th-info'] : null ;
554
  case '2':
555
  $wrap_op = '<div class="lkc-internal-wrap">';
556
  $wrap_cl = '</div>';
557
+ $added_op = '<div class="lkc-internal-added">';
558
+ $added_cl = '</div>';
559
  $more = isset($this->options['flg-more']) ? $this->options['flg-more'] : null ;
560
  $more_text = isset($this->options['in-more-text']) ? $this->options['in-more-text'] : null ;
561
  $info = isset($this->options['in-info']) ? $this->options['in-info'] : null ;
565
  default:
566
  $wrap_op = '<div class="lkc-external-wrap">';
567
  $wrap_cl = '</div>';
568
+ $added_op = '<div class="lkc-external-added">';
569
+ $added_cl = '</div>';
570
  $more = isset($this->options['flg-more']) ? $this->options['flg-more'] : null ;
571
  $more_text = isset($this->options['ex-more-text']) ? $this->options['ex-more-text'] : null ;
572
  $info = isset($this->options['ex-info']) ? $this->options['ex-info'] : '' ;
805
 
806
  // サイト情報
807
  if ($info) {
808
+ $added_info = $added_op.$info.$added_cl;
809
  } else {
810
  $added_info = '';
811
  }
1658
 
1659
  // 管理画面時のスタイルシート、スクリプト設定
1660
  public function enqueue_admin($hook) {
1661
+ wp_enqueue_script ('pz-lkc-admin', plugins_url('js/admin.js', __FILE__), array('jquery'), false, true);
1662
  wp_enqueue_style ('wp-color-picker');
1663
  wp_enqueue_script ('colorpicker-script', plugins_url('js/color-picker.js', __FILE__), array('wp-color-picker'), false, true);
1664
  // wp_enqueue_media();
1679
  // 管理画面時の注意書き設定
1680
  public function add_notices() {
1681
  if ($this->options['flg-invalid']) {
1682
+ echo '<div class="error fade is-dismissible"><p><strong>'.$this->slug.': '.__('Invalid URL parameter in ', $this->text_domain).'<a href="'.$this->options['invalid-url'].'" target="_blank">'.$this->options['invalid-url'].'</a></strong><br>'.__('*', $this->text_domain).' '.__('You can cancel this message from <a href="./options-general.php?page=pz-linkcard-settings">the setting screen</a>.', $this->text_domain).'</p></div>';
1683
  }
1684
  }
1685
 
readme.txt CHANGED
@@ -163,6 +163,20 @@ A7.
163
  5. "Write shortcode and url"
164
 
165
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  Ver2.2.8
167
  * WordPressテーマ「Cocoon」を使用しているとき、外部リンクのアイコンが表示されないように修正しました。
168
  Fixed: When using the WordPress theme "Cocoon", the external link icon was not displayed.
163
  5. "Write shortcode and url"
164
 
165
  == Changelog ==
166
+ Ver2.2.9
167
+ * WordPress 5.2.3 での動作確認。
168
+ Compatible with WordPress 5.2.3.
169
+ * 「かんたん書式設定」に「コンパクト」を追加しました。
170
+ Added: Tiny format 'Compact'.
171
+ * 「Pz カード管理」の画面にヘルプアイコンを設置しました。
172
+ Added: A help icon has been added to the "Pz Card Manager" screen.
173
+ * 「Pz カード設定」の画面にヘルプアイコンを設置しました。
174
+ Added: A help icon has been added to the "Pz Card Settings" screen.
175
+ * 「Pz カード設定」の画面をタブ方式に変更しました。
176
+ Modified: Changed the "Pz card setting" screen to tab method.
177
+ * 外部リンク、内部リンク、同ページでそれぞれ枠線の色を選択できるように修正しました。
178
+ Modified: Modified to be able to select the border color for the external link, internal link, and the same page respectively.
179
+
180
  Ver2.2.8
181
  * WordPressテーマ「Cocoon」を使用しているとき、外部リンクのアイコンが表示されないように修正しました。
182
  Fixed: When using the WordPress theme "Cocoon", the external link icon was not displayed.
templete/pz-linkcard-templete.css CHANGED
@@ -17,22 +17,24 @@
17
  .lkc-link {
18
  /*ANKER*/
19
  }
20
- .lkc-internal-wrap {
21
- /*IN-BGCOLOR*/
22
- /*IN-IMAGE*/
23
- }
24
  .lkc-external-wrap {
 
25
  /*EX-BGCOLOR*/
26
  /*EX-IMAGE*/
27
  }
 
 
 
 
 
28
  .lkc-this-wrap {
 
29
  /*TH-BGCOLOR*/
30
  /*TH-IMAGE*/
31
  }
32
- .lkc-internal-wrap , .lkc-external-wrap , .lkc-this-wrap {
33
  position: relative;
34
- /*LINKCARD-WRAP-MARGIN*/
35
- /*BORDER*/
36
  /*PADDING*/
37
  /*RADIUS*/
38
  /*SHADOW*/
@@ -41,19 +43,19 @@
41
  /*WRAP*/
42
  /*NOHOVER*/
43
  }
44
- .lkc-internal-wrap::before , .lkc-external-wrap::before , .lkc-this-wrap::before {
45
  /*WRAP-BEFORE*/
46
  }
47
- .lkc-internal-wrap::after , .lkc-external-wrap::after , .lkc-this-wrap::after {
48
  /*WRAP-AFTER*/
49
  }
50
- .lkc-internal-wrap:hover , .lkc-external-wrap:hover , .lkc-this-wrap:hover {
51
  /*HOVER*/
52
  }
53
- .lkc-internal-wrap:hover::before , .lkc-external-wrap:hover::before , .lkc-this-wrap:hover::before {
54
  /*HOVER-BEFORE*/
55
  }
56
- .lkc-internal-wrap:hover::after , .lkc-external-wrap:hover::after , .lkc-this-wrap:hover::after {
57
  /*HOVER-AFTER*/
58
  }
59
  .lkc-card {
@@ -67,13 +69,14 @@
67
  /*CONTENT-INSET*/
68
  /*CONTENT-BGCOLOR*/
69
  /*CONTENT-HEIGHT*/
70
- margin-top: 6px;
71
  word-break: break-all;
72
  white-space: normal;
73
  overflow: hidden;
74
  /*SEPARATOR*/
75
  }
76
  .lkc-title-text {
 
77
  /*COLOR-TITLE*/
78
  /*OUTCOLOR-TITLE*/
79
  /*SIZE-TITLE*/
@@ -87,6 +90,7 @@
87
  text-decoration: underline;
88
  }
89
  .lkc-url {
 
90
  /*COLOR-URL*/
91
  /*OUTCOLOR-URL*/
92
  /*SIZE-URL*/
@@ -110,12 +114,12 @@
110
  display: inline;
111
  }
112
  .lkc-excerpt {
 
113
  /*COLOR-EXCERPT*/
114
  /*OUTCOLOR-EXCERPT*/
115
  /*SIZE-EXCERPT*/
116
  /*HEIGHT-EXCERPT*/
117
  padding: 0;
118
- margin: 0;
119
  overflow: hidden;
120
  /*NONE-EXCERPT*/
121
  }
@@ -131,8 +135,8 @@
131
  /*THUMBNAIL-WIDTH*/
132
  /*THUMBNAIL-HEIGHT*/
133
  padding: 0;
134
- margin: 0 6px 4px 4px;
135
- /*THUMBNAIL_POSITION*/
136
  }
137
  .lkc-thumbnail-img {
138
  /*THUMBNAIL-IMG-WIDTH*/
@@ -142,6 +146,7 @@
142
  /*THUMBNAIL-SHADOW*/
143
  }
144
  .lkc-info {
 
145
  padding: 0;
146
  /*COLOR-INFO*/
147
  /*OUTCOLOR-INFO*/
@@ -169,12 +174,20 @@
169
  text-decoration: none;
170
  display: inline /*IMPORTANT*/;
171
  }
172
- .lkc-added {
 
 
 
 
 
 
 
 
 
173
  /*COLOR-ADDED*/
174
  /*OUTCOLOR-ADDED*/
175
  /*SIZE-ADDED*/
176
  /*HEIGHT-ADDED*/
177
- /*HEADING*/
178
  display: inline /*IMPORTANT*/;
179
  }
180
  .lkc-date {
17
  .lkc-link {
18
  /*ANKER*/
19
  }
 
 
 
 
20
  .lkc-external-wrap {
21
+ /*EX-BORDER*/
22
  /*EX-BGCOLOR*/
23
  /*EX-IMAGE*/
24
  }
25
+ .lkc-internal-wrap {
26
+ /*IN-BORDER*/
27
+ /*IN-BGCOLOR*/
28
+ /*IN-IMAGE*/
29
+ }
30
  .lkc-this-wrap {
31
+ /*TH-BORDER*/
32
  /*TH-BGCOLOR*/
33
  /*TH-IMAGE*/
34
  }
35
+ .lkc-external-wrap , .lkc-internal-wrap , .lkc-this-wrap {
36
  position: relative;
37
+ /*WRAP-MARGIN*/
 
38
  /*PADDING*/
39
  /*RADIUS*/
40
  /*SHADOW*/
43
  /*WRAP*/
44
  /*NOHOVER*/
45
  }
46
+ .lkc-external-wrap::before , .lkc-internal-wrap::before , .lkc-this-wrap::before {
47
  /*WRAP-BEFORE*/
48
  }
49
+ .lkc-external-wrap::after , .lkc-internal-wrap::after , .lkc-this-wrap::after {
50
  /*WRAP-AFTER*/
51
  }
52
+ .lkc-external-wrap:hover , .lkc-internal-wrap:hover , .lkc-this-wrap:hover {
53
  /*HOVER*/
54
  }
55
+ .lkc-external-wrap:hover::before , .lkc-internal-wrap:hover::before , .lkc-this-wrap:hover::before {
56
  /*HOVER-BEFORE*/
57
  }
58
+ .lkc-external-wrap:hover::after , .lkc-internal-wrap:hover::after , .lkc-this-wrap:hover::after {
59
  /*HOVER-AFTER*/
60
  }
61
  .lkc-card {
69
  /*CONTENT-INSET*/
70
  /*CONTENT-BGCOLOR*/
71
  /*CONTENT-HEIGHT*/
72
+ /*CONTENT-MARGIN*/
73
  word-break: break-all;
74
  white-space: normal;
75
  overflow: hidden;
76
  /*SEPARATOR*/
77
  }
78
  .lkc-title-text {
79
+ /*MARGIN-TITLE*/
80
  /*COLOR-TITLE*/
81
  /*OUTCOLOR-TITLE*/
82
  /*SIZE-TITLE*/
90
  text-decoration: underline;
91
  }
92
  .lkc-url {
93
+ /*MARGIN-URL*/
94
  /*COLOR-URL*/
95
  /*OUTCOLOR-URL*/
96
  /*SIZE-URL*/
114
  display: inline;
115
  }
116
  .lkc-excerpt {
117
+ /*MARGIN-EXCERPT*/
118
  /*COLOR-EXCERPT*/
119
  /*OUTCOLOR-EXCERPT*/
120
  /*SIZE-EXCERPT*/
121
  /*HEIGHT-EXCERPT*/
122
  padding: 0;
 
123
  overflow: hidden;
124
  /*NONE-EXCERPT*/
125
  }
135
  /*THUMBNAIL-WIDTH*/
136
  /*THUMBNAIL-HEIGHT*/
137
  padding: 0;
138
+ /*THUMBNAIL-MARGIN*/
139
+ /*THUMBNAIL-POSITION*/
140
  }
141
  .lkc-thumbnail-img {
142
  /*THUMBNAIL-IMG-WIDTH*/
146
  /*THUMBNAIL-SHADOW*/
147
  }
148
  .lkc-info {
149
+ /*POSITION-INFO*/
150
  padding: 0;
151
  /*COLOR-INFO*/
152
  /*OUTCOLOR-INFO*/
174
  text-decoration: none;
175
  display: inline /*IMPORTANT*/;
176
  }
177
+ .lkc-external-added {
178
+ /*EX-HEADING*/
179
+ }
180
+ .lkc-internal-added {
181
+ /*IN-HEADING*/
182
+ }
183
+ .lkc-this-added {
184
+ /*TH-HEADING*/
185
+ }
186
+ .lkc-external-added , .lkc-internal-added , .lkc-this-added {
187
  /*COLOR-ADDED*/
188
  /*OUTCOLOR-ADDED*/
189
  /*SIZE-ADDED*/
190
  /*HEIGHT-ADDED*/
 
191
  display: inline /*IMPORTANT*/;
192
  }
193
  .lkc-date {