CMS Tree Page View - Version 0.8.10

Version Description

  • Updated Polish translation, including .mo-file
Download this release

Release Info

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

Code changes from version 0.8.7 to 0.8.10

functions.php CHANGED
@@ -8,7 +8,7 @@ function cms_tpv_admin_head() {
8
 
9
  global $cms_tpv_view;
10
  if (isset($_GET["cms_tpv_view"])) {
11
- $cms_tpv_view = $_GET["cms_tpv_view"];
12
  } else {
13
  $cms_tpv_view = "all";
14
  }
@@ -35,6 +35,7 @@ function cms_tpv_admin_head() {
35
  }
36
 
37
  function cms_admin_enqueue_scripts() {
 
38
  wp_enqueue_script( "jquery-cookie", CMS_TPV_URL . "scripts/jquery.biscuit.js", array("jquery")); // renamed from cookie to fix problems with mod_security
39
  wp_enqueue_script( "jquery-jstree", CMS_TPV_URL . "scripts/jquery.jstree.js", false, CMS_TPV_VERSION);
40
  wp_enqueue_script( "jquery-alerts", CMS_TPV_URL . "scripts/jquery.alerts.js", false, CMS_TPV_VERSION);
@@ -48,15 +49,6 @@ function cms_admin_enqueue_scripts() {
48
  wp_enqueue_style( "cms_tpv_styles", CMS_TPV_URL . "styles/styles.css", false, CMS_TPV_VERSION );
49
  wp_enqueue_style( "jquery-alerts", CMS_TPV_URL . "styles/jquery.alerts.css", false, CMS_TPV_VERSION );
50
 
51
- }
52
-
53
-
54
- function cms_tpv_admin_init() {
55
-
56
- // DEBUG
57
- //wp_enqueue_script( "jquery-hotkeys" );
58
-
59
- load_plugin_textdomain('cms-tree-page-view', WP_CONTENT_DIR . "/plugins/languages", "/cms-tree-page-view/languages");
60
  $oLocale = array(
61
  "Enter_title_of_new_page" => __("Enter title of new page", 'cms-tree-page-view'),
62
  "child_pages" => __("child pages", 'cms-tree-page-view'),
@@ -83,6 +75,17 @@ function cms_tpv_admin_init() {
83
  );
84
  wp_localize_script( "cms_tree_page_view", 'cmstpv_l10n', $oLocale);
85
 
 
 
 
 
 
 
 
 
 
 
 
86
  }
87
 
88
  // save settings
8
 
9
  global $cms_tpv_view;
10
  if (isset($_GET["cms_tpv_view"])) {
11
+ $cms_tpv_view = htmlspecialchars($_GET["cms_tpv_view"]);
12
  } else {
13
  $cms_tpv_view = "all";
14
  }
35
  }
36
 
37
  function cms_admin_enqueue_scripts() {
38
+
39
  wp_enqueue_script( "jquery-cookie", CMS_TPV_URL . "scripts/jquery.biscuit.js", array("jquery")); // renamed from cookie to fix problems with mod_security
40
  wp_enqueue_script( "jquery-jstree", CMS_TPV_URL . "scripts/jquery.jstree.js", false, CMS_TPV_VERSION);
41
  wp_enqueue_script( "jquery-alerts", CMS_TPV_URL . "scripts/jquery.alerts.js", false, CMS_TPV_VERSION);
49
  wp_enqueue_style( "cms_tpv_styles", CMS_TPV_URL . "styles/styles.css", false, CMS_TPV_VERSION );
50
  wp_enqueue_style( "jquery-alerts", CMS_TPV_URL . "styles/jquery.alerts.css", false, CMS_TPV_VERSION );
51
 
 
 
 
 
 
 
 
 
 
52
  $oLocale = array(
53
  "Enter_title_of_new_page" => __("Enter title of new page", 'cms-tree-page-view'),
54
  "child_pages" => __("child pages", 'cms-tree-page-view'),
75
  );
76
  wp_localize_script( "cms_tree_page_view", 'cmstpv_l10n', $oLocale);
77
 
78
+
79
+ }
80
+
81
+
82
+ function cms_tpv_admin_init() {
83
+
84
+ // DEBUG
85
+ //wp_enqueue_script( "jquery-hotkeys" );
86
+
87
+ load_plugin_textdomain('cms-tree-page-view', WP_CONTENT_DIR . "/plugins/languages", "/cms-tree-page-view/languages");
88
+
89
  }
90
 
91
  // save settings
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
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
@@ -28,7 +28,7 @@ License: GPL2
28
  #require("functions.php");
29
  require(dirname(__FILE__)."/functions.php");
30
 
31
- define( "CMS_TPV_VERSION", "0.8.7");
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)
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.10
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.10");
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)
languages/cms-tree-page-view-pl_PL.mo ADDED
Binary file
languages/cms-tree-page-view-pl_PL.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: CMS Tree Page View\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/cms-tree-page-view\n"
5
  "POT-Creation-Date: 2010-08-28 21:55+0000\n"
6
- "PO-Revision-Date: 2011-08-08 15:28+0100\n"
7
  "Last-Translator: Michał Księżuk <michal@ksiezuk.pl>\n"
8
  "Language-Team: gadjukin.net <georgij@gadjukin.net>\n"
9
  "MIME-Version: 1.0\n"
@@ -164,7 +164,7 @@ msgstr "Strona chroniona hasłem"
164
  #@ cms-tree-page-view
165
  #: functions.php:342
166
  msgid "Public"
167
- msgstr "Publiczne"
168
 
169
  #@ cms-tree-page-view
170
  #: functions.php:219
@@ -316,5 +316,5 @@ msgstr "<strong>Dziękuję za używanie tej wtyczki!</strong> Jeśli potrzebujes
316
  #@ cms-tree-page-view
317
  #: functions.php:1015
318
  msgid "If you like this plugin, please <a href=\"http://eskapism.se/sida/donate/?utm_source=wordpress&utm_medium=banner&utm_campaign=promobox\">support my work by donating</a> - or at least say something nice about this plugin in a blog post or tweet."
319
- msgstr "Jeśli spodobała się Tobie ta wtyczka, proszę <a href=\\\"http://eskapism.se/sida/donate/?utm_source=wordpress&utm_medium=banner&utm_campaign=promobox\\\">wesprzyj moją pracę</a> - albo przynajmniej napisz coś miłego o tej wtyczce na swoim blogu lub Tweeterze."
320
 
3
  "Project-Id-Version: CMS Tree Page View\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/cms-tree-page-view\n"
5
  "POT-Creation-Date: 2010-08-28 21:55+0000\n"
6
+ "PO-Revision-Date: 2011-08-08 15:18+0100\n"
7
  "Last-Translator: Michał Księżuk <michal@ksiezuk.pl>\n"
8
  "Language-Team: gadjukin.net <georgij@gadjukin.net>\n"
9
  "MIME-Version: 1.0\n"
164
  #@ cms-tree-page-view
165
  #: functions.php:342
166
  msgid "Public"
167
+ msgstr "Publiczny"
168
 
169
  #@ cms-tree-page-view
170
  #: functions.php:219
316
  #@ cms-tree-page-view
317
  #: functions.php:1015
318
  msgid "If you like this plugin, please <a href=\"http://eskapism.se/sida/donate/?utm_source=wordpress&utm_medium=banner&utm_campaign=promobox\">support my work by donating</a> - or at least say something nice about this plugin in a blog post or tweet."
319
+ msgstr "Pokud se vám tento plugin líbí, prosím podpořte mou práci <a href=\\\"http://eskapism.se/sida/donate/?utm_source=wordpress&utm_medium=banner&utm_campaign=promobox\\\">malým darem</a> - nebo alespoň řekněte něco pěkného o tomto pluginu v blogu."
320
 
languages/cms-tree-page-view_ro_RO.mo ADDED
Binary file
languages/cms-tree-page-view_ro_RO.po ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is distributed under the same license as the package.
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: \n"
5
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/cms-tree-page-view\n"
6
+ "POT-Creation-Date: 2011-03-06 14:33:36+00:00\n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=UTF-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "PO-Revision-Date: 2012-03-22 17:32+0200\n"
11
+ "X-Poedit-Language: Romanian\n"
12
+ "X-Poedit-Country: Romania\n"
13
+ "Language-Team: Web Geeks\n"
14
+ "Last-Translator: \n"
15
+
16
+ #: functions.php:53
17
+ msgid "Enter title of new page"
18
+ msgstr "Introduceţi titlul de pagină nouă"
19
+
20
+ #: functions.php:54
21
+ msgid "child pages"
22
+ msgstr "pagini de copil"
23
+
24
+ #: functions.php:55
25
+ #: functions.php:381
26
+ msgid "Edit page"
27
+ msgstr "Editare pagină"
28
+
29
+ #: functions.php:56
30
+ #: functions.php:382
31
+ msgid "View page"
32
+ msgstr "Vizualizare pagină"
33
+
34
+ #: functions.php:57
35
+ #: functions.php:381
36
+ msgid "Edit"
37
+ msgstr "Editare"
38
+
39
+ #: functions.php:58
40
+ #: functions.php:382
41
+ msgid "View"
42
+ msgstr "Vizualizare"
43
+
44
+ #: functions.php:59
45
+ msgid "Add page"
46
+ msgstr "Adăugare pagină"
47
+
48
+ #: functions.php:60
49
+ #: functions.php:386
50
+ msgid "Add new page after"
51
+ msgstr "Adăugare pagină după"
52
+
53
+ #: functions.php:61
54
+ msgid "after"
55
+ msgstr "după"
56
+
57
+ #: functions.php:62
58
+ msgid "inside"
59
+ msgstr "interior"
60
+
61
+ #: functions.php:63
62
+ msgid "Sorry, can't create a sub page to a page with status \"draft\"."
63
+ msgstr "Ne pare rău, nu se poate crea o pagină sub la o pagină cu statut de \"proiect\"."
64
+
65
+ #: functions.php:64
66
+ msgid "Sorry, can't create a sub page to a page with status \"trash\"."
67
+ msgstr "Ne pare rău, nu se poate crea o pagină sub la o pagină cu statut de \"gunoi\"."
68
+
69
+ #: functions.php:65
70
+ msgid "Sorry, can't create a page after a page with status \"trash\"."
71
+ msgstr "Ne pare rău, nu se poate crea o pagină după pagină, cu statut \"gunoi\"."
72
+
73
+ #: functions.php:66
74
+ #: functions.php:390
75
+ msgid "Add new page inside"
76
+ msgstr "Adăugare pagină nouă în interiorul"
77
+
78
+ #: functions.php:67
79
+ msgid "draft"
80
+ msgstr "proiectul"
81
+
82
+ #: functions.php:68
83
+ msgid "future"
84
+ msgstr "viitor"
85
+
86
+ #: functions.php:69
87
+ msgid "protected"
88
+ msgstr "protejat"
89
+
90
+ #: functions.php:70
91
+ #: functions.php:644
92
+ msgid "pending"
93
+ msgstr "aşteptare"
94
+
95
+ #: functions.php:71
96
+ msgid "private"
97
+ msgstr "privat"
98
+
99
+ #: functions.php:72
100
+ msgid "trash"
101
+ msgstr "gunoi"
102
+
103
+ #: functions.php:73
104
+ msgid "Password protected page"
105
+ msgstr "Pagina protejată prin parolă"
106
+
107
+ #: functions.php:74
108
+ msgid "Adding page..."
109
+ msgstr "Adăugarea de pagină..."
110
+
111
+ #: functions.php:175
112
+ msgid "settings"
113
+ msgstr "Setări"
114
+
115
+ #: functions.php:180
116
+ msgid "Select where to show a tree for pages and custom post types"
117
+ msgstr "Selectaţi de unde pentru a afişa un copac pentru pagini şi tipurile particularizate post"
118
+
119
+ #: functions.php:204
120
+ msgid "On dashboard"
121
+ msgstr "Pe tabloul de bord"
122
+
123
+ #: functions.php:208
124
+ msgid "In menu"
125
+ msgstr "În meniul"
126
+
127
+ #: functions.php:219
128
+ msgid "Save Changes"
129
+ msgstr "Salvaţi modificările"
130
+
131
+ #: functions.php:335
132
+ msgid "No posts found."
133
+ msgstr "Nu posturile de găsit."
134
+
135
+ #: functions.php:341
136
+ msgid "All"
137
+ msgstr "Toate"
138
+
139
+ #: functions.php:342
140
+ msgid "Public"
141
+ msgstr "Publice"
142
+
143
+ #: functions.php:343
144
+ msgid "Trash"
145
+ msgstr "Gunoi"
146
+
147
+ #: functions.php:348
148
+ msgid "Expand"
149
+ msgstr "Extinde"
150
+
151
+ #: functions.php:349
152
+ msgid "Collapse"
153
+ msgstr "Colaps"
154
+
155
+ #: functions.php:357
156
+ msgid "Clear search"
157
+ msgstr "Căutare clar"
158
+
159
+ #: functions.php:358
160
+ msgid "Search"
161
+ msgstr "Căutare"
162
+
163
+ #: functions.php:359
164
+ msgid "Searching..."
165
+ msgstr "Se caută..."
166
+
167
+ #: functions.php:360
168
+ msgid "Nothing found."
169
+ msgstr "Nimic găsit."
170
+
171
+ #: functions.php:366
172
+ msgid "Loading..."
173
+ msgstr "Încărcare..."
174
+
175
+ #: functions.php:371
176
+ msgid "Search: no pages found"
177
+ msgstr "Căutare: nu pagini găsit"
178
+
179
+ #: functions.php:374
180
+ msgid "Loading tree"
181
+ msgstr "Încărcare copac"
182
+
183
+ #: functions.php:386
184
+ msgid "After"
185
+ msgstr "După"
186
+
187
+ #: functions.php:390
188
+ msgid "Inside"
189
+ msgstr "În interiorul"
190
+
191
+ #: functions.php:394
192
+ msgid "Can not create page inside of a page with draft status"
193
+ msgstr "Nu puteţi crea pagina în interiorul o pagină cu statut de proiect"
194
+
195
+ #: functions.php:397
196
+ msgid "Last modified"
197
+ msgstr "Modificat ultima dată"
198
+
199
+ #: functions.php:399
200
+ msgid "by"
201
+ msgstr "de"
202
+
203
+ #: functions.php:402
204
+ msgid "Page ID"
205
+ msgstr "ID-ul page"
206
+
207
+ #: functions.php:609
208
+ msgid "Unknown user"
209
+ msgstr "Utilizator necunoscut"
210
+
211
+ #: functions.php:614
212
+ msgid "<Untitled page>"
213
+ msgstr "< Fără titlu pagină >"
214
+
215
+ #: functions.php:634
216
+ msgid "Comments"
217
+ msgstr "Comentarii"
218
+
219
+ #: functions.php:641
220
+ msgid "%s pending"
221
+ msgstr "%s până la"
222
+
223
+ #: functions.php:651
224
+ msgctxt "comment count"
225
+ msgid "0"
226
+ msgstr "0"
227
+
228
+ #: functions.php:651
229
+ msgctxt "comment count"
230
+ msgid "1"
231
+ msgstr "1"
232
+
233
+ #: functions.php:651
234
+ msgctxt "comment count"
235
+ msgid "%"
236
+ msgstr "%"
237
+
238
+ #: functions.php:682
239
+ msgid "Click to edit. Drag to move."
240
+ msgstr "Faceţi clic pentru a edita. Trageţi pentru a muta."
241
+
242
+ #: functions.php:833
243
+ msgid "New page"
244
+ msgstr "Pagină nouă"
245
+
246
+ #: functions.php:1015
247
+ msgid "Close"
248
+ msgstr "Închide"
249
+
250
+ #: functions.php:1016
251
+ msgid "<strong>Thank you for using this plugin!</strong> If you need help please check out the <a href=\"http://eskapism.se/code-playground/cms-tree-page-view/?utm_source=wordpress&utm_medium=banner&utm_campaign=promobox\">plugin homepage</a> or the <a href=\"http://wordpress.org/tags/cms-tree-page-view?forum_id=10\">support forum</a>."
252
+ msgstr "<strong> Vă mulţumim pentru folosirea acestui plugin! </strong> Dacă aveţi nevoie de ajutor vă rugăm să verificaţi <a href=\"http://eskapism.se/code-playground/cms-tree-page-view/?utm_source=wordpress&utm_medium=banner&utm_campaign=promobox\">pagina </a> sau <a href=\"http://wordpress.org/tags/cms-tree-page-view?forum_id=10\"> Forum </a>."
253
+
254
+ #: functions.php:1017
255
+ msgid "If you like this plugin, please <a href=\"http://eskapism.se/sida/donate/?utm_source=wordpress&utm_medium=banner&utm_campaign=promobox\">support my work by donating</a> - or at least say something nice about this plugin in a blog post or tweet."
256
+ msgstr "Dacă vă place acest plug-in, vă rugăm să <a href=\"http://eskapism.se/sida/donate/?utm_source=wordpress&utm_medium=banner&utm_campaign=promobox\">munca mea prin donarea </a> - sau cel puţin spune ceva frumos despre acest plug-in într-un post pe blog-ul sau Twitter."
257
+
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.0
6
  Tested up to: 3.3.1
7
- Stable tag: 0.8.7
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
 
@@ -86,6 +86,17 @@ Now the tree with the pages will be visible both on the dashboard and in the men
86
 
87
  == Changelog ==
88
 
 
 
 
 
 
 
 
 
 
 
 
89
  = 0.8.7 =
90
  - Updated German translation
91
  - Fixed PHP notice messages
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.1
7
+ Stable tag: 0.8.10
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
 
86
 
87
  == Changelog ==
88
 
89
+ = 0.8.10 =
90
+ - Updated Polish translation, including .mo-file
91
+
92
+ = 0.8.9 =
93
+ - Added Belarusian translation. thanks Web Geek Science  (<a href="http://webhostinggeeks.com/">Web Hosting Geeks</a>)
94
+ - Fixed XSS vulnerability as described here: https://www.htbridge.com/advisory/HTB23083
95
+
96
+ = 0.8.8 =
97
+ - Fix for tree not remembering state
98
+ - Fix for tree not opening on first click
99
+
100
  = 0.8.7 =
101
  - Updated German translation
102
  - Fixed PHP notice messages