Version Description
Download this release
Release Info
Developer | poporon |
Plugin | Pz-LinkCard |
Version | 2.1.8.4 |
Comparing to | |
See all releases |
Code changes from version 2.1.8.3 to 2.1.8.4
- js/mce-pz-lkc.js +2 -2
- pz-linkcard.php +3 -3
- readme.txt +4 -0
js/mce-pz-lkc.js
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
tinymce.create('tinymce.plugins.pzlinkcard', {
|
3 |
init: function(ed, url){
|
4 |
ed.addButton('pz_linkcard',{
|
5 |
-
title: '
|
6 |
image: url + '/button.png',
|
7 |
cmd: 'insert_pz_linkcard'
|
8 |
});
|
9 |
ed.addCommand('insert_pz_linkcard', function() {
|
10 |
-
var insert_tag = window.prompt('
|
11 |
if (insert_tag !== null) {
|
12 |
ed.execCommand('mceInsertContent', 0, '[blogcard url="' + insert_tag + '"]');
|
13 |
}
|
2 |
tinymce.create('tinymce.plugins.pzlinkcard', {
|
3 |
init: function(ed, url){
|
4 |
ed.addButton('pz_linkcard',{
|
5 |
+
title: 'Insert Pz-LinkCard',
|
6 |
image: url + '/button.png',
|
7 |
cmd: 'insert_pz_linkcard'
|
8 |
});
|
9 |
ed.addCommand('insert_pz_linkcard', function() {
|
10 |
+
var insert_tag = window.prompt('Input URL', 'http://');
|
11 |
if (insert_tag !== null) {
|
12 |
ed.execCommand('mceInsertContent', 0, '[blogcard url="' + insert_tag + '"]');
|
13 |
}
|
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.1.8.
|
7 |
Author: poporon
|
8 |
Author URI: http://poporon.poponet.jp
|
9 |
License: GPLv2 or later
|
@@ -164,7 +164,7 @@ class Pz_LinkCard {
|
|
164 |
'invalid-time' => null,
|
165 |
'plugin-link' => null,
|
166 |
'plugin-name' => 'Pz-LinkCard',
|
167 |
-
'plugin-version' => '2.1.8.
|
168 |
'plugin-url' => 'https://popozure.info/pz-linkcard',
|
169 |
'pz-hbc-options' => null,
|
170 |
'debug-time' => null
|
@@ -800,7 +800,7 @@ class Pz_LinkCard {
|
|
800 |
$tag = $wrap_op.$a_op_all.'<div class="lkc-card"><div class="lkc-content">'.$a_op.$thumbnail.$domain_info.'<div class="lkc-title"><span class="lkc-title-text">'.$title.'</span>'.$a_cl.$sns_title.$url1.'</div><div class="lkc-excerpt">'.$excerpt.'</div>'.$moretag.'</div><div class="clear"></div></div>'.$a_cl_all.$wrap_cl;
|
801 |
break;
|
802 |
default:
|
803 |
-
$tag = $wrap_op.$a_op_all.'<div class="lkc-card"><div class="lkc-content">'.$a_op.$thumbnail.'<div class="lkc-title"><span class="lkc-title-text">'.$title.'</span>'.$a_cl.$sns_title.'</div>'.$url1.'<div class="lkc-excerpt">'.$excerpt.'</div
|
804 |
}
|
805 |
}
|
806 |
|
3 |
Plugin Name: Pz-LinkCard
|
4 |
Plugin URI: http://poporon.poponet.jp/pz-linkcard
|
5 |
Description: リンクをカード形式で表示します。
|
6 |
+
Version: 2.1.8.4
|
7 |
Author: poporon
|
8 |
Author URI: http://poporon.poponet.jp
|
9 |
License: GPLv2 or later
|
164 |
'invalid-time' => null,
|
165 |
'plugin-link' => null,
|
166 |
'plugin-name' => 'Pz-LinkCard',
|
167 |
+
'plugin-version' => '2.1.8.4',
|
168 |
'plugin-url' => 'https://popozure.info/pz-linkcard',
|
169 |
'pz-hbc-options' => null,
|
170 |
'debug-time' => null
|
800 |
$tag = $wrap_op.$a_op_all.'<div class="lkc-card"><div class="lkc-content">'.$a_op.$thumbnail.$domain_info.'<div class="lkc-title"><span class="lkc-title-text">'.$title.'</span>'.$a_cl.$sns_title.$url1.'</div><div class="lkc-excerpt">'.$excerpt.'</div>'.$moretag.'</div><div class="clear"></div></div>'.$a_cl_all.$wrap_cl;
|
801 |
break;
|
802 |
default:
|
803 |
+
$tag = $wrap_op.$a_op_all.'<div class="lkc-card"><div class="lkc-content">'.$a_op.$thumbnail.'<div class="lkc-title"><span class="lkc-title-text">'.$title.'</span>'.$a_cl.$sns_title.'</div>'.$url1.'<div class="lkc-excerpt">'.$excerpt.'</div>'.$moretag.'</div><div class="clear"></div></div>'.$a_cl_all.$wrap_cl;
|
804 |
}
|
805 |
}
|
806 |
|
readme.txt
CHANGED
@@ -163,6 +163,10 @@ A7.
|
|
163 |
5. "Write shortcode and url"
|
164 |
|
165 |
== Changelog ==
|
|
|
|
|
|
|
|
|
166 |
Ver2.1.8.3
|
167 |
* カード管理画面で警告エラーが発生していたのを修正しました。(Thanks @sayataro98)
|
168 |
Fixed: Fixed a bug.
|
163 |
5. "Write shortcode and url"
|
164 |
|
165 |
== Changelog ==
|
166 |
+
Ver2.1.8.4
|
167 |
+
* サイト情報が「なし」の場合、「続きを読む」ボタンが表示されなかったのを修正しました。(Thanks Andrew)
|
168 |
+
Fixed: Fixed a bug that the `Read more` button is not displayed.
|
169 |
+
|
170 |
Ver2.1.8.3
|
171 |
* カード管理画面で警告エラーが発生していたのを修正しました。(Thanks @sayataro98)
|
172 |
Fixed: Fixed a bug.
|