TinyMCE Templates - Version 2.2.0

Version Description

Download this release

Release Info

Developer miyauchi
Plugin Icon 128x128 TinyMCE Templates
Version 2.2.0
Comparing to
See all releases

Code changes from version 2.1.0 to 2.2.0

languages/tinymce_templates-ja.mo CHANGED
Binary file
languages/tinymce_templates-ja.po CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2011-11-11 20:30+0900\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,51 +17,55 @@ msgstr ""
17
  "Content-Type: text/plain; charset=UTF-8\n"
18
  "Content-Transfer-Encoding: 8bit\n"
19
 
20
- #: ../tinymce-templates.php:157 ../tinymce-templates.php:159
21
  msgid "Templates"
22
  msgstr "テンプレート"
23
 
24
- #: ../tinymce-templates.php:160
25
  msgid "Add New Template"
26
  msgstr "テンプレートの新規登録"
27
 
28
- #: ../tinymce-templates.php:161
29
  msgid "Edit Template"
30
  msgstr "テンプレートを編集"
31
 
32
- #: ../tinymce-templates.php:162
33
  msgid "Add New"
34
  msgstr "新規追加"
35
 
36
- #: ../tinymce-templates.php:163
37
  msgid "New Template"
38
  msgstr "新しいテンプレート"
39
 
40
- #: ../tinymce-templates.php:164
41
  msgid "View Template"
42
  msgstr "テンプレートを表示"
43
 
44
- #: ../tinymce-templates.php:165
45
  msgid "No templatess found."
46
  msgstr "テンプレートが見つかりませんでした。"
47
 
48
- #: ../tinymce-templates.php:167
49
  msgid "No templates found in Trash."
50
  msgstr "ゴミ箱内にテンプレートが見つかりませんでした。"
51
 
52
- #: ../tinymce-templates.php:170
53
  msgid "Search Templates"
54
  msgstr "テンプレートを検索"
55
 
56
- #: ../tinymce-templates.php:198
57
  msgid "Share"
58
  msgstr "共有"
59
 
60
- #: ../tinymce-templates.php:210
 
 
 
 
61
  msgid "Private"
62
  msgstr "個人"
63
 
64
- #: ../tinymce-templates.php:212 ../tinymce-templates.php:214
65
  msgid "Shared"
66
  msgstr "共有"
67
 
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2011-11-12 03:24+0900\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
17
  "Content-Type: text/plain; charset=UTF-8\n"
18
  "Content-Transfer-Encoding: 8bit\n"
19
 
20
+ #: ../tinymce-templates.php:203 ../tinymce-templates.php:205
21
  msgid "Templates"
22
  msgstr "テンプレート"
23
 
24
+ #: ../tinymce-templates.php:206
25
  msgid "Add New Template"
26
  msgstr "テンプレートの新規登録"
27
 
28
+ #: ../tinymce-templates.php:207
29
  msgid "Edit Template"
30
  msgstr "テンプレートを編集"
31
 
32
+ #: ../tinymce-templates.php:208
33
  msgid "Add New"
34
  msgstr "新規追加"
35
 
36
+ #: ../tinymce-templates.php:209
37
  msgid "New Template"
38
  msgstr "新しいテンプレート"
39
 
40
+ #: ../tinymce-templates.php:210
41
  msgid "View Template"
42
  msgstr "テンプレートを表示"
43
 
44
+ #: ../tinymce-templates.php:211
45
  msgid "No templatess found."
46
  msgstr "テンプレートが見つかりませんでした。"
47
 
48
+ #: ../tinymce-templates.php:213
49
  msgid "No templates found in Trash."
50
  msgstr "ゴミ箱内にテンプレートが見つかりませんでした。"
51
 
52
+ #: ../tinymce-templates.php:216
53
  msgid "Search Templates"
54
  msgstr "テンプレートを検索"
55
 
56
+ #: ../tinymce-templates.php:244
57
  msgid "Share"
58
  msgstr "共有"
59
 
60
+ #: ../tinymce-templates.php:252
61
+ msgid "Translators"
62
+ msgstr "翻訳者"
63
+
64
+ #: ../tinymce-templates.php:291
65
  msgid "Private"
66
  msgstr "個人"
67
 
68
+ #: ../tinymce-templates.php:293 ../tinymce-templates.php:295
69
  msgid "Shared"
70
  msgstr "共有"
71
 
languages/tinymce_templates.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2011-11-11 20:30+0900\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,50 +17,54 @@ msgstr ""
17
  "Content-Type: text/plain; charset=CHARSET\n"
18
  "Content-Transfer-Encoding: 8bit\n"
19
 
20
- #: ../tinymce-templates.php:157 ../tinymce-templates.php:159
21
  msgid "Templates"
22
  msgstr ""
23
 
24
- #: ../tinymce-templates.php:160
25
  msgid "Add New Template"
26
  msgstr ""
27
 
28
- #: ../tinymce-templates.php:161
29
  msgid "Edit Template"
30
  msgstr ""
31
 
32
- #: ../tinymce-templates.php:162
33
  msgid "Add New"
34
  msgstr ""
35
 
36
- #: ../tinymce-templates.php:163
37
  msgid "New Template"
38
  msgstr ""
39
 
40
- #: ../tinymce-templates.php:164
41
  msgid "View Template"
42
  msgstr ""
43
 
44
- #: ../tinymce-templates.php:165
45
  msgid "No templatess found."
46
  msgstr ""
47
 
48
- #: ../tinymce-templates.php:167
49
  msgid "No templates found in Trash."
50
  msgstr ""
51
 
52
- #: ../tinymce-templates.php:170
53
  msgid "Search Templates"
54
  msgstr ""
55
 
56
- #: ../tinymce-templates.php:198
57
  msgid "Share"
58
  msgstr ""
59
 
60
- #: ../tinymce-templates.php:210
 
 
 
 
61
  msgid "Private"
62
  msgstr ""
63
 
64
- #: ../tinymce-templates.php:212 ../tinymce-templates.php:214
65
  msgid "Shared"
66
  msgstr ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2011-11-12 03:24+0900\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
17
  "Content-Type: text/plain; charset=CHARSET\n"
18
  "Content-Transfer-Encoding: 8bit\n"
19
 
20
+ #: ../tinymce-templates.php:203 ../tinymce-templates.php:205
21
  msgid "Templates"
22
  msgstr ""
23
 
24
+ #: ../tinymce-templates.php:206
25
  msgid "Add New Template"
26
  msgstr ""
27
 
28
+ #: ../tinymce-templates.php:207
29
  msgid "Edit Template"
30
  msgstr ""
31
 
32
+ #: ../tinymce-templates.php:208
33
  msgid "Add New"
34
  msgstr ""
35
 
36
+ #: ../tinymce-templates.php:209
37
  msgid "New Template"
38
  msgstr ""
39
 
40
+ #: ../tinymce-templates.php:210
41
  msgid "View Template"
42
  msgstr ""
43
 
44
+ #: ../tinymce-templates.php:211
45
  msgid "No templatess found."
46
  msgstr ""
47
 
48
+ #: ../tinymce-templates.php:213
49
  msgid "No templates found in Trash."
50
  msgstr ""
51
 
52
+ #: ../tinymce-templates.php:216
53
  msgid "Search Templates"
54
  msgstr ""
55
 
56
+ #: ../tinymce-templates.php:244
57
  msgid "Share"
58
  msgstr ""
59
 
60
+ #: ../tinymce-templates.php:252
61
+ msgid "Translators"
62
+ msgstr ""
63
+
64
+ #: ../tinymce-templates.php:291
65
  msgid "Private"
66
  msgstr ""
67
 
68
+ #: ../tinymce-templates.php:293 ../tinymce-templates.php:295
69
  msgid "Shared"
70
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/jp/cgi-bin/webscr?cmd=_flow&SESSION=vVwWrw6V
4
  Tags: tinymce, Visual Editor, template
5
  Requires at least: 3.0
6
  Tested up to: 3.2
7
- Stable tag: 2.1.0
8
 
9
  TinyMCE Template plugin will enable to use HTML template on WordPress Visual Editor.
10
  You can edit and share this template with WordPress users.
@@ -16,8 +16,9 @@ You can edit and share this template with WordPress users.
16
 
17
  If you will install this plugin, You will be very easy to edit posts and pages.
18
 
19
- * [GitHub](https://github.com/miya0001/TinyMCE-Templates)
20
- * [Plugin Homepage](http://firegoby.theta.ne.jp/wp/tinymce_templates) (Japanese)
 
21
  * [Support](http://wordpress.org/tags/tinymce-templates)
22
 
23
  = Some features: =
@@ -28,7 +29,7 @@ If you will install this plugin, You will be very easy to edit posts and pages.
28
 
29
  = Translators: =
30
 
31
- * Japanese(ja) - [Takayuki Miyauchi](http://firegoby.theta.ne.jp/)
32
  * Italian(it_IT) - [Andrea Bersi](http://www.andreabersi.com)
33
  * Swedish(sv_SE) - Tobias Bergius
34
  * German(de_DE) - [Martin Lettner](http://www.martinlettner.info/)
@@ -58,8 +59,8 @@ The author must acknowledge the thing that the operation guarantee and the suppo
58
 
59
  == Contact ==
60
 
61
- * email to miya[at]theta.ne.jp
62
- * twitter @miya0001
63
 
64
  == Special Thanks ==
65
 
4
  Tags: tinymce, Visual Editor, template
5
  Requires at least: 3.0
6
  Tested up to: 3.2
7
+ Stable tag: 2.2.0
8
 
9
  TinyMCE Template plugin will enable to use HTML template on WordPress Visual Editor.
10
  You can edit and share this template with WordPress users.
16
 
17
  If you will install this plugin, You will be very easy to edit posts and pages.
18
 
19
+ * [GitHub](https://github.com/miya0001/tinymce-templates)
20
+ * [Plugin Homepage (en)](http://wpist.me/wp/tinymce-templates/)
21
+ * [Plugin Homepage (ja)](http://firegoby.theta.ne.jp/wp/tinymce_templates)
22
  * [Support](http://wordpress.org/tags/tinymce-templates)
23
 
24
  = Some features: =
29
 
30
  = Translators: =
31
 
32
+ * Japanese(ja) - [Takayuki Miyauchi](http://wpist.me/)
33
  * Italian(it_IT) - [Andrea Bersi](http://www.andreabersi.com)
34
  * Swedish(sv_SE) - Tobias Bergius
35
  * German(de_DE) - [Martin Lettner](http://www.martinlettner.info/)
59
 
60
  == Contact ==
61
 
62
+ * http://wpist.me/
63
+ * twitter @wpist_me
64
 
65
  == Special Thanks ==
66
 
tinymce-templates.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /*
3
  Plugin Name: TinyMCE Templates
4
- Plugin URI: http://firegoby.theta.ne.jp/wp/tinymce_templates
5
  Description: Manage & Add Tiny MCE template.
6
  Author: Takayuki Miyauchi
7
- Version: 2.1.0
8
- Author URI: http://firegoby.theta.ne.jp/
9
  */
10
 
11
  /*
@@ -47,7 +47,7 @@ private $base_url;
47
  private $translators = array(
48
  'Takayuki Miyauchi' => array(
49
  'lang' => 'Japanese',
50
- 'url' => 'http://twitter.com/#!/miya0001',
51
  ),
52
  'Andrea Bersi' => array(
53
  'lang' => 'Italian',
@@ -156,6 +156,9 @@ public function admin_head(){
156
  $inits
157
  );
158
  if (get_post_type() === $this->post_type) {
 
 
 
159
  global $hook_suffix;
160
  if ($hook_suffix === 'post.php' || $hook_suffix === 'post-new.php') {
161
  if (get_option("tinymce_templates_db_version") != $this->db_version) {
1
  <?php
2
  /*
3
  Plugin Name: TinyMCE Templates
4
+ Plugin URI: http://wpist.me/wp/tinymce-templates/
5
  Description: Manage & Add Tiny MCE template.
6
  Author: Takayuki Miyauchi
7
+ Version: 2.2.0
8
+ Author URI: http://wpist.me/
9
  */
10
 
11
  /*
47
  private $translators = array(
48
  'Takayuki Miyauchi' => array(
49
  'lang' => 'Japanese',
50
+ 'url' => 'http://wpist.me/',
51
  ),
52
  'Andrea Bersi' => array(
53
  'lang' => 'Italian',
156
  $inits
157
  );
158
  if (get_post_type() === $this->post_type) {
159
+ if (get_option("tinymce_templates_db_version") != $this->db_version) {
160
+ $this->activation();
161
+ }
162
  global $hook_suffix;
163
  if ($hook_suffix === 'post.php' || $hook_suffix === 'post-new.php') {
164
  if (get_option("tinymce_templates_db_version") != $this->db_version) {