Version Description
- The plus-sign/expand link now works at least three levels down in the tree
Download this release
Release Info
| Developer | eskapism |
| Plugin | |
| Version | 1.2.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2 to 1.2.1
- index.php +2 -2
- readme.txt +4 -1
- styles.css +8 -0
- test.html +32 -0
index.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: Admin Menu Tree Page View
|
| 4 |
Plugin URI: http://eskapism.se/code-playground/admin-menu-tree-page-view/
|
| 5 |
Description: Get a tree view of all your pages directly in the admin menu. Search, edit, view and add pages - all with just one click away!
|
| 6 |
-
Version: 1.2
|
| 7 |
Author: Pär Thernström
|
| 8 |
Author URI: http://eskapism.se/
|
| 9 |
License: GPL2
|
|
@@ -32,7 +32,7 @@ add_action('wp_ajax_admin_menu_tree_page_view_add_page', 'admin_menu_tree_page_v
|
|
| 32 |
|
| 33 |
function admin_menu_tree_page_view_admin_init() {
|
| 34 |
|
| 35 |
-
define( "admin_menu_tree_page_view_VERSION", "1.2" );
|
| 36 |
define( "admin_menu_tree_page_view_URL", WP_PLUGIN_URL . '/admin-menu-tree-page-view/' );
|
| 37 |
|
| 38 |
wp_enqueue_style("admin_menu_tree_page_view_styles", admin_menu_tree_page_view_URL . "styles.css", false, admin_menu_tree_page_view_VERSION);
|
| 3 |
Plugin Name: Admin Menu Tree Page View
|
| 4 |
Plugin URI: http://eskapism.se/code-playground/admin-menu-tree-page-view/
|
| 5 |
Description: Get a tree view of all your pages directly in the admin menu. Search, edit, view and add pages - all with just one click away!
|
| 6 |
+
Version: 1.2.1
|
| 7 |
Author: Pär Thernström
|
| 8 |
Author URI: http://eskapism.se/
|
| 9 |
License: GPL2
|
| 32 |
|
| 33 |
function admin_menu_tree_page_view_admin_init() {
|
| 34 |
|
| 35 |
+
define( "admin_menu_tree_page_view_VERSION", "1.2.1" );
|
| 36 |
define( "admin_menu_tree_page_view_URL", WP_PLUGIN_URL . '/admin-menu-tree-page-view/' );
|
| 37 |
|
| 38 |
wp_enqueue_style("admin_menu_tree_page_view_styles", admin_menu_tree_page_view_URL . "styles.css", false, admin_menu_tree_page_view_VERSION);
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: http://eskapism.se/sida/donate/
|
|
| 4 |
Tags: admin, page, pages, tree, view, admin menu, menu
|
| 5 |
Requires at least: 3.0
|
| 6 |
Tested up to: 3.0
|
| 7 |
-
Stable tag: 1.2
|
| 8 |
|
| 9 |
Get a tree view of all your pages directly in the admin menu. Search, edit, view and add pages - all with just one click away!
|
| 10 |
|
|
@@ -40,6 +40,9 @@ Now the tree with the pages will be visible in the admin menu to the left.
|
|
| 40 |
|
| 41 |
== Changelog ==
|
| 42 |
|
|
|
|
|
|
|
|
|
|
| 43 |
= 1.2 =
|
| 44 |
- Tree now always opens up when editing a page, so you will always see the page you're ediiting.
|
| 45 |
- When searching, the parents of a page with a match is opened, so search hits will always be visible.
|
| 4 |
Tags: admin, page, pages, tree, view, admin menu, menu
|
| 5 |
Requires at least: 3.0
|
| 6 |
Tested up to: 3.0
|
| 7 |
+
Stable tag: 1.2.1
|
| 8 |
|
| 9 |
Get a tree view of all your pages directly in the admin menu. Search, edit, view and add pages - all with just one click away!
|
| 10 |
|
| 40 |
|
| 41 |
== Changelog ==
|
| 42 |
|
| 43 |
+
= 1.2.1 =
|
| 44 |
+
- The plus-sign/expand link now works at least three levels down in the tree
|
| 45 |
+
|
| 46 |
= 1.2 =
|
| 47 |
- Tree now always opens up when editing a page, so you will always see the page you're ediiting.
|
| 48 |
- When searching, the parents of a page with a match is opened, so search hits will always be visible.
|
styles.css
CHANGED
|
@@ -274,6 +274,14 @@ ul.admin-menu-tree-page-tree ul .admin-menu-tree-page-expand {
|
|
| 274 |
top: 0px;
|
| 275 |
left: 9px;
|
| 276 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 277 |
|
| 278 |
|
| 279 |
ul.admin-menu-tree-page-tree ul {
|
| 274 |
top: 0px;
|
| 275 |
left: 9px;
|
| 276 |
}
|
| 277 |
+
ul.admin-menu-tree-page-tree ul ul .admin-menu-tree-page-expand {
|
| 278 |
+
top: 0px;
|
| 279 |
+
left: 17px;
|
| 280 |
+
}
|
| 281 |
+
ul.admin-menu-tree-page-tree ul ul ul .admin-menu-tree-page-expand {
|
| 282 |
+
top: 0px;
|
| 283 |
+
left: 25px;
|
| 284 |
+
}
|
| 285 |
|
| 286 |
|
| 287 |
ul.admin-menu-tree-page-tree ul {
|
test.html
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE HTML>
|
| 2 |
+
<html lang="en-US">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<title></title>
|
| 6 |
+
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>
|
| 7 |
+
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js"></script>
|
| 8 |
+
<script type="text/javascript" src="jquery.ui.nestedSortable.js"></script>
|
| 9 |
+
</head>
|
| 10 |
+
<body>
|
| 11 |
+
|
| 12 |
+
<ul class="sortable">
|
| 13 |
+
<li><div>Some content</div></li>
|
| 14 |
+
<li><div>Some content</div>
|
| 15 |
+
<ul>
|
| 16 |
+
<li><div>Some sub-item content</div></li>
|
| 17 |
+
<li><div>Some sub-item content</div></li>
|
| 18 |
+
</ul>
|
| 19 |
+
</li>
|
| 20 |
+
<li><div>Some content</div></li>
|
| 21 |
+
</ul>
|
| 22 |
+
<script type="text/javascript">
|
| 23 |
+
|
| 24 |
+
$(function() {
|
| 25 |
+
$("ul.sortable").nestedSortable({
|
| 26 |
+
listType: 'ul'
|
| 27 |
+
});
|
| 28 |
+
});
|
| 29 |
+
|
| 30 |
+
</script>
|
| 31 |
+
</body>
|
| 32 |
+
</html>
|
