Version Description
Download this release
Release Info
Developer | miyauchi |
Plugin | TinyMCE Templates |
Version | 1.0.0 |
Comparing to | |
See all releases |
Code changes from version 0.31 to 1.0.0
- includes/TinyMCETemplate.class.php +1 -1
- readme.txt +3 -3
- tinymce_templates.php +5 -5
includes/TinyMCETemplate.class.php
CHANGED
@@ -47,7 +47,7 @@ class TinyMCETemplate{
|
|
47 |
$path = dirname(__FILE__).'/../mce_plugins/plugins';
|
48 |
$lang = $path.'/template/langs/langs.php';
|
49 |
$inits = array();
|
50 |
-
$url =
|
51 |
if ($wp_rewrite->using_permalinks()) {
|
52 |
$this->list_url = $url.'/mce_templates.js';
|
53 |
} else {
|
47 |
$path = dirname(__FILE__).'/../mce_plugins/plugins';
|
48 |
$lang = $path.'/template/langs/langs.php';
|
49 |
$inits = array();
|
50 |
+
$url = site_url();
|
51 |
if ($wp_rewrite->using_permalinks()) {
|
52 |
$this->list_url = $url.'/mce_templates.js';
|
53 |
} else {
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: miyauchi
|
|
3 |
Donate link: http://firegoby.theta.ne.jp/
|
4 |
Tags: tinymce, Visual Editor, template
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 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.
|
@@ -38,7 +38,7 @@ You can send your own language pack to me.
|
|
38 |
* A plug-in installation screen is displayed on the WordPress admin panel.
|
39 |
* It installs it in `wp-content/plugins`.
|
40 |
* The plug-in is made effective.
|
41 |
-
* Open 'Template' menu.
|
42 |
|
43 |
== Screenshots ==
|
44 |
|
3 |
Donate link: http://firegoby.theta.ne.jp/
|
4 |
Tags: tinymce, Visual Editor, template
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 3.1
|
7 |
+
Stable tag: 1.0.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.
|
38 |
* A plug-in installation screen is displayed on the WordPress admin panel.
|
39 |
* It installs it in `wp-content/plugins`.
|
40 |
* The plug-in is made effective.
|
41 |
+
* Open 'Template' menu.
|
42 |
|
43 |
== Screenshots ==
|
44 |
|
tinymce_templates.php
CHANGED
@@ -4,7 +4,7 @@ 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 (THETA NETWORKS Co,.Ltd)
|
7 |
-
Version: 0.
|
8 |
Author URI: http://firegoby.theta.ne.jp/
|
9 |
*/
|
10 |
|
@@ -65,8 +65,8 @@ class MceTemplates{
|
|
65 |
`author` bigint(20) unsigned NOT NULL,
|
66 |
`modified` timestamp NOT NULL,
|
67 |
UNIQUE KEY ID (`ID`))
|
68 |
-
ENGINE = MYISAM
|
69 |
-
CHARACTER SET utf8
|
70 |
COLLATE utf8_unicode_ci;
|
71 |
";
|
72 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
@@ -84,8 +84,8 @@ class MceTemplates{
|
|
84 |
public function loadAdmin()
|
85 |
{
|
86 |
load_plugin_textdomain(
|
87 |
-
TINYMCE_TEMPLATES_DOMAIN,
|
88 |
-
PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)).'/langs',
|
89 |
dirname(plugin_basename(__FILE__)).'/langs'
|
90 |
);
|
91 |
|
4 |
Plugin URI: http://firegoby.theta.ne.jp/wp/tinymce_templates
|
5 |
Description: Manage & Add Tiny MCE template.
|
6 |
Author: Takayuki Miyauchi (THETA NETWORKS Co,.Ltd)
|
7 |
+
Version: 1.0.0
|
8 |
Author URI: http://firegoby.theta.ne.jp/
|
9 |
*/
|
10 |
|
65 |
`author` bigint(20) unsigned NOT NULL,
|
66 |
`modified` timestamp NOT NULL,
|
67 |
UNIQUE KEY ID (`ID`))
|
68 |
+
ENGINE = MYISAM
|
69 |
+
CHARACTER SET utf8
|
70 |
COLLATE utf8_unicode_ci;
|
71 |
";
|
72 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
84 |
public function loadAdmin()
|
85 |
{
|
86 |
load_plugin_textdomain(
|
87 |
+
TINYMCE_TEMPLATES_DOMAIN,
|
88 |
+
PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)).'/langs',
|
89 |
dirname(plugin_basename(__FILE__)).'/langs'
|
90 |
);
|
91 |
|