Version Description
- Hopefully fixed so scripts and styles can be loaded over https, if WP is accessed over https.
Download this release
Release Info
Developer | eskapism |
Plugin | CMS Tree Page View |
Version | 0.8.4 |
Comparing to | |
See all releases |
Code changes from version 0.8.3 to 0.8.4
- index.php +20 -3
- readme.txt +5 -2
- styles/styles.css +1 -0
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: CMS Tree Page View
|
4 |
Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/
|
5 |
Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. Use the tree view to edit, view, add pages and search pages (very useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this!
|
6 |
-
Version: 0.8.
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://eskapism.se/
|
9 |
License: GPL2
|
@@ -28,10 +28,27 @@ License: GPL2
|
|
28 |
#require("functions.php");
|
29 |
require(dirname(__FILE__)."/functions.php");
|
30 |
|
31 |
-
define( "CMS_TPV_VERSION", "0.8.
|
32 |
-
define( "CMS_TPV_URL", WP_PLUGIN_URL . '/cms-tree-page-view/');
|
33 |
define( "CMS_TPV_NAME", "CMS Tree Page View");
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
// on admin init: add styles and scripts
|
36 |
add_action( 'admin_init', 'cms_tpv_admin_init' );
|
37 |
add_action( 'admin_init', 'cms_tpv_save_settings' );
|
3 |
Plugin Name: CMS Tree Page View
|
4 |
Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/
|
5 |
Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. Use the tree view to edit, view, add pages and search pages (very useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this!
|
6 |
+
Version: 0.8.4
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://eskapism.se/
|
9 |
License: GPL2
|
28 |
#require("functions.php");
|
29 |
require(dirname(__FILE__)."/functions.php");
|
30 |
|
31 |
+
define( "CMS_TPV_VERSION", "0.8.4");
|
|
|
32 |
define( "CMS_TPV_NAME", "CMS Tree Page View");
|
33 |
|
34 |
+
// This gives the full URL including http. Apparently is does not work with https (gives http-link instead)
|
35 |
+
// On my system it will be: http://localhost/wp/wp-content/plugins/cms-tree-page-view/
|
36 |
+
// define( "CMS_TPV_URL", WP_PLUGIN_URL . '/cms-tree-page-view/');
|
37 |
+
|
38 |
+
// Define path to this plugin. This needs to be done in a kinda wierd way because of the fact that I use symblinks on my system.
|
39 |
+
$plugin_dir_url = plugin_dir_url( __FILE__ ); // Gives wrong path on my system
|
40 |
+
$arr_authors_wierd_local_paths = array(
|
41 |
+
"/Users/bonny/Dropbox/Webb/"
|
42 |
+
);
|
43 |
+
$plugin_dir_url = str_replace($arr_authors_wierd_local_paths, "/", $plugin_dir_url);
|
44 |
+
|
45 |
+
// Now we have http://localhost/wp/wp-content/pluginscms-tree-page-view/trunk/
|
46 |
+
// So replace last /trunk/ part
|
47 |
+
$plugin_dir_url = preg_replace("/\/trunk\/$/", "/", $plugin_dir_url);
|
48 |
+
|
49 |
+
// There! Now we should have it.
|
50 |
+
define( "CMS_TPV_URL", $plugin_dir_url);
|
51 |
+
|
52 |
// on admin init: add styles and scripts
|
53 |
add_action( 'admin_init', 'cms_tpv_admin_init' );
|
54 |
add_action( 'admin_init', 'cms_tpv_save_settings' );
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: eskapism, MarsApril
|
|
3 |
Donate link: http://eskapism.se/sida/donate/
|
4 |
Tags: page, pages, posts, custom posts, tree, cms, dashboard, overview, drag-and-drop, rearrange, management, manage, admin
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 0.8.
|
8 |
|
9 |
Adds a tree of all your pages or custom posts. Use drag & drop to reorder your pages, and edit, view, add, and search your pages.
|
10 |
|
@@ -85,6 +85,9 @@ Now the tree with the pages will be visible both on the dashboard and in the men
|
|
85 |
|
86 |
== Changelog ==
|
87 |
|
|
|
|
|
|
|
88 |
= 0.8.3 =
|
89 |
- Added Lithuanian translation by www.kerge.lt. Thank you!
|
90 |
|
3 |
Donate link: http://eskapism.se/sida/donate/
|
4 |
Tags: page, pages, posts, custom posts, tree, cms, dashboard, overview, drag-and-drop, rearrange, management, manage, admin
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 3.3
|
7 |
+
Stable tag: 0.8.4
|
8 |
|
9 |
Adds a tree of all your pages or custom posts. Use drag & drop to reorder your pages, and edit, view, add, and search your pages.
|
10 |
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
+
= 0.8.4 =
|
89 |
+
- Hopefully fixed so scripts and styles can be loaded over https, if WP is accessed over https.
|
90 |
+
|
91 |
= 0.8.3 =
|
92 |
- Added Lithuanian translation by www.kerge.lt. Thank you!
|
93 |
|
styles/styles.css
CHANGED
@@ -280,6 +280,7 @@ p.cms_tpv_annoying_little_box_close {
|
|
280 |
font-size: 11px;
|
281 |
}
|
282 |
.cms_tpv_page_actions dl dd {
|
|
|
283 |
}
|
284 |
.cms_tpv_page_actions dl dt {
|
285 |
color: #999;
|
280 |
font-size: 11px;
|
281 |
}
|
282 |
.cms_tpv_page_actions dl dd {
|
283 |
+
margin: 0;
|
284 |
}
|
285 |
.cms_tpv_page_actions dl dt {
|
286 |
color: #999;
|