CMS Tree Page View - Version 1.2.20

Version Description

  • Removed part of a comment beacuse it mentionened a file on another domain and therefore violated the repository guidelines. Also moved some sprites in CSS from loading external to loading internal.
Download this release

Release Info

Developer eskapism
Plugin Icon wp plugin CMS Tree Page View
Version 1.2.20
Comparing to
See all releases

Code changes from version 1.2.19 to 1.2.20

functions.php CHANGED
@@ -441,7 +441,6 @@ function cmstpv_filter_views_edit_postsoverview($filter_var) {
441
  if view-switch exists: add item to it
442
  if view-switch not exists: add it + item to it
443
 
444
- http://playground.ep/wordpress/wp-admin/images/list.png
445
  */
446
  $mode = "tree";
447
  $class = isset($_GET["mode"]) && $_GET["mode"] == $mode ? " class='current' " : "";
441
  if view-switch exists: add item to it
442
  if view-switch not exists: add it + item to it
443
 
 
444
  */
445
  $mode = "tree";
446
  $class = isset($_GET["mode"]) && $_GET["mode"] == $mode ? " class='current' " : "";
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: 1.2.19
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
@@ -27,7 +27,7 @@ License: GPL2
27
 
28
  #require("functions.php");
29
 
30
- define( "CMS_TPV_VERSION", "1.2.19");
31
  define( "CMS_TPV_NAME", "CMS Tree Page View");
32
 
33
  require(dirname(__FILE__) . "/functions.php");
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: 1.2.20
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
27
 
28
  #require("functions.php");
29
 
30
+ define( "CMS_TPV_VERSION", "1.2.20");
31
  define( "CMS_TPV_NAME", "CMS Tree Page View");
32
 
33
  require(dirname(__FILE__) . "/functions.php");
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.5.1
6
  Tested up to: 3.7
7
- Stable tag: 1.2.19
8
 
9
  Adds a tree view of all pages & custom posts. Get a great overview + options to drag & drop to reorder & option to add multiple pages.
10
 
@@ -113,6 +113,9 @@ Now the tree with the pages will be visible both on the dashboard and in the men
113
 
114
  == Changelog ==
115
 
 
 
 
116
  = 1.2.19 =
117
  - Added action "cms_tree_page_view_node_move_finish" that is called after a page is moved with drag and drop. Useful to for example clear caches.
118
 
4
  Tags: page, pages, posts, custom posts, tree, cms, dashboard, overview, drag-and-drop, rearrange, management, manage, admin
5
  Requires at least: 3.5.1
6
  Tested up to: 3.7
7
+ Stable tag: 1.2.20
8
 
9
  Adds a tree view of all pages & custom posts. Get a great overview + options to drag & drop to reorder & option to add multiple pages.
10
 
113
 
114
  == Changelog ==
115
 
116
+ = 1.2.20 =
117
+ - Removed part of a comment beacuse it mentionened a file on another domain and therefore violated the repository guidelines. Also moved some sprites in CSS from loading external to loading internal.
118
+
119
  = 1.2.19 =
120
  - Added action "cms_tree_page_view_node_move_finish" that is called after a page is moved with drag and drop. Useful to for example clear caches.
121
 
styles/images/ui-icons_222222_256x240.png ADDED
Binary file
styles/images/ui-icons_222222_256x240.png.1 ADDED
Binary file
styles/images/ui-icons_cccccc_256x240.png ADDED
Binary file
styles/styles.css CHANGED
@@ -5,7 +5,10 @@
5
  }
6
  */
7
 
8
- @import url("https://secure.wordpress.com/i/noticons/noticons.css");
 
 
 
9
 
10
  .cms_tpv_wrapper {
11
  z-index: 10;
@@ -112,7 +115,7 @@
112
  display:inline-block;
113
  margin:0 3px 0 0; padding:0;
114
  width:16px; height:16px;
115
- /* icon source => http://www.famfamfam.com/lab/icons/silk/ */
116
  background:transparent url(images/lock.png) center no-repeat;
117
  }
118
 
@@ -209,14 +212,14 @@
209
  width: 16px;
210
  height: 16px;
211
  padding: 0 !important;
212
- background: transparent url(https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.3/themes/ui-darkness/images/ui-icons_cccccc_256x240.png) no-repeat -32px -194px;
213
  text-indent: -9999px;
214
  }
215
  #cms_tpv_dashboard_widget .cms_tree_view_search_form_reset {
216
  top: 8px;
217
  }
218
  .cms_tree_view_search_form_reset:hover {
219
- background: transparent url(https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.3/themes/ui-lightness/images/ui-icons_222222_256x240.png) no-repeat -32px -194px;
220
  }
221
 
222
 
@@ -451,7 +454,7 @@ ul.cms_tpv_action_add_doit_pages {
451
  transition: all .25s ease-in-out; -webkit-transition: all .25s ease-in-out; -moz-transition: all .25s ease-in-out; -o-transition: all .25s ease-in-out; -ms-transition: all .25s ease-in-out;
452
  }
453
  .cms_tpv_action_add_doit_pages span:first-child {
454
- background: transparent url(https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.3/themes/ui-darkness/images/ui-icons_222222_256x240.png) no-repeat -2px -228px;
455
  margin-top: 7px;
456
  margin-right: 3px;
457
  float: left;
5
  }
6
  */
7
 
8
+ /*
9
+ Don't use this anymore since it's against the repository guidelines
10
+ @import url("htt ps://secure.wordpress.com/i/noticons/noticons.css");
11
+ */
12
 
13
  .cms_tpv_wrapper {
14
  z-index: 10;
115
  display:inline-block;
116
  margin:0 3px 0 0; padding:0;
117
  width:16px; height:16px;
118
+ /* icon source => http ://www.famfamfam.com/lab/icons/silk/ */
119
  background:transparent url(images/lock.png) center no-repeat;
120
  }
121
 
212
  width: 16px;
213
  height: 16px;
214
  padding: 0 !important;
215
+ background: transparent url(images/ui-icons_cccccc_256x240.png) no-repeat -32px -194px;
216
  text-indent: -9999px;
217
  }
218
  #cms_tpv_dashboard_widget .cms_tree_view_search_form_reset {
219
  top: 8px;
220
  }
221
  .cms_tree_view_search_form_reset:hover {
222
+ background: transparent url(images/ui-icons_222222_256x240.png) no-repeat -32px -194px;
223
  }
224
 
225
 
454
  transition: all .25s ease-in-out; -webkit-transition: all .25s ease-in-out; -moz-transition: all .25s ease-in-out; -o-transition: all .25s ease-in-out; -ms-transition: all .25s ease-in-out;
455
  }
456
  .cms_tpv_action_add_doit_pages span:first-child {
457
+ background: transparent url(images/ui-icons_222222_256x240.png) no-repeat -2px -228px;
458
  margin-top: 7px;
459
  margin-right: 3px;
460
  float: left;