CMS Tree Page View - Version 0.7.16

Version Description

  • fix for wpml-languages with "-" in them, like chinese simplified or chinese traditional. http://wordpress.org/support/topic/plugin-cms-tree-page-view-broken-for-languages-with-a-in
  • fixed some problems with columns and utf-encoding
  • moved adding page to a box above the tree, so you won't get the feeling that the tree has been deleted when you add a page.
Download this release

Release Info

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

Code changes from version 0.7.14 to 0.7.16

functions.php CHANGED
@@ -365,6 +365,8 @@ function cms_tpv_print_common_tree_stuff($post_type = "") {
365
  <div class="cms_tpv_working">
366
  <?php _e("Loading...", 'cms-tree-page-view') ?>
367
  </div>
 
 
368
 
369
  <div class="updated below-h2 hidden cms_tpv_search_no_hits"><p><?php _e("Search: no pages found", 'cms-tree-page-view') ?></p></div>
370
 
@@ -551,7 +553,7 @@ function cms_tpv_print_childs($pageID, $view = "all", $arrOpenChilds = null, $po
551
  $screen = convert_to_screen("edit");
552
  $screen->post_type = null;
553
 
554
- ob_start(); // some plugins, for example magic fields, return javascript and things here. we're not campatible with that, so just swallow any output
555
  $posts_columns = get_column_headers($screen);
556
  ob_get_clean();
557
 
@@ -692,7 +694,7 @@ function cms_tpv_print_childs($pageID, $view = "all", $arrOpenChilds = null, $po
692
  "editlink": "<?php echo htmlspecialchars_decode($editLink) ?>",
693
  "modified_time": "<?php echo $post_modified_time ?>",
694
  "modified_author": "<?php echo $post_author ?>",
695
- "columns": "<?php echo rawurlencode($str_columns) ?>",
696
  "user_can_edit_page": "<?php echo (int) $user_can_edit_page ?>"
697
  }
698
  <?php
365
  <div class="cms_tpv_working">
366
  <?php _e("Loading...", 'cms-tree-page-view') ?>
367
  </div>
368
+
369
+ <div class="cms_tpv_message updated below-h2 hidden"><p>Message goes here.</p></div>
370
 
371
  <div class="updated below-h2 hidden cms_tpv_search_no_hits"><p><?php _e("Search: no pages found", 'cms-tree-page-view') ?></p></div>
372
 
553
  $screen = convert_to_screen("edit");
554
  $screen->post_type = null;
555
 
556
+ ob_start(); // some plugins, for example magic fields, return javascript and things here. we're not compatible with that, so just swallow any output
557
  $posts_columns = get_column_headers($screen);
558
  ob_get_clean();
559
 
694
  "editlink": "<?php echo htmlspecialchars_decode($editLink) ?>",
695
  "modified_time": "<?php echo $post_modified_time ?>",
696
  "modified_author": "<?php echo $post_author ?>",
697
+ "columns": "<?php echo rawurlencode(utf8_decode($str_columns)) ?>",
698
  "user_can_edit_page": "<?php echo (int) $user_can_edit_page ?>"
699
  }
700
  <?php
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 you 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.7.14
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
@@ -25,9 +25,10 @@ License: GPL2
25
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  */
27
 
28
- require("functions.php");
 
29
 
30
- define( "CMS_TPV_VERSION", "0.7.14");
31
  define( "CMS_TPV_URL", WP_PLUGIN_URL . '/cms-tree-page-view/');
32
  define( "CMS_TPV_NAME", "CMS Tree Page View");
33
 
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 you 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.7.16
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
25
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26
  */
27
 
28
+ #require("functions.php");
29
+ require(dirname(__FILE__)."/functions.php");
30
 
31
+ define( "CMS_TPV_VERSION", "0.7.16");
32
  define( "CMS_TPV_URL", WP_PLUGIN_URL . '/cms-tree-page-view/');
33
  define( "CMS_TPV_NAME", "CMS Tree Page View");
34
 
languages/cms-tree-page-view-cs_CZ.mo ADDED
Binary file
languages/cms-tree-page-view-cs_CZ.po ADDED
@@ -0,0 +1,323 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ 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-01-19 11:55+0100\n"
7
+ "Last-Translator: Georgij Gadjukin <georgij@gadjukin.net>\n"
8
+ "Language-Team: gadjukin.net <georgij@gadjukin.net>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=utf-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: Czech\n"
14
+ "X-Poedit-Country: \n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: \n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: functions.php:639
23
+ #, php-format
24
+ #@ default
25
+ msgid "%s pending"
26
+ msgstr "%s čeká"
27
+
28
+ #: functions.php:612
29
+ #@ cms-tree-page-view
30
+ msgid "<Untitled page>"
31
+ msgstr "<Nepojmenovaná stránka>"
32
+
33
+ #: functions.php:60
34
+ #: functions.php:384
35
+ #@ cms-tree-page-view
36
+ msgid "Add new page after"
37
+ msgstr "Přidat novou stránku po"
38
+
39
+ #: functions.php:66
40
+ #: functions.php:388
41
+ #@ cms-tree-page-view
42
+ msgid "Add new page inside"
43
+ msgstr "Přidat novou vnořenou stránku "
44
+
45
+ #: functions.php:59
46
+ #@ cms-tree-page-view
47
+ msgid "Add page"
48
+ msgstr "Přidat stránku"
49
+
50
+ #: functions.php:74
51
+ #@ cms-tree-page-view
52
+ msgid "Adding page..."
53
+ msgstr "Přidávám stránku..."
54
+
55
+ #: functions.php:384
56
+ #@ cms-tree-page-view
57
+ msgid "After"
58
+ msgstr "Po"
59
+
60
+ #: functions.php:341
61
+ #@ cms-tree-page-view
62
+ msgid "All"
63
+ msgstr "Vše"
64
+
65
+ #: functions.php:392
66
+ #@ cms-tree-page-view
67
+ msgid "Can not create page inside of a page with draft status"
68
+ msgstr "Nelze vytvořit vnořenou stránku pokud je status Koncept"
69
+
70
+ #: functions.php:357
71
+ #@ cms-tree-page-view
72
+ msgid "Clear search"
73
+ msgstr "Zrušit výběr"
74
+
75
+ #: functions.php:680
76
+ #@ cms-tree-page-view
77
+ msgid "Click to edit. Drag to move."
78
+ msgstr "Kliknutím upravit. Tažením přesunout"
79
+
80
+ #: functions.php:349
81
+ #@ cms-tree-page-view
82
+ msgid "Collapse"
83
+ msgstr "Sbalit"
84
+
85
+ #: functions.php:632
86
+ #@ default
87
+ msgid "Comments"
88
+ msgstr "Komentáře"
89
+
90
+ #: functions.php:57
91
+ #: functions.php:379
92
+ #@ cms-tree-page-view
93
+ msgid "Edit"
94
+ msgstr "Upravit"
95
+
96
+ #: functions.php:55
97
+ #: functions.php:379
98
+ #@ cms-tree-page-view
99
+ msgid "Edit page"
100
+ msgstr "Upravit stránku"
101
+
102
+ #: functions.php:53
103
+ #@ cms-tree-page-view
104
+ msgid "Enter title of new page"
105
+ msgstr "Zadejte název nové stránky"
106
+
107
+ #: functions.php:348
108
+ #@ cms-tree-page-view
109
+ msgid "Expand"
110
+ msgstr "Rozbalit"
111
+
112
+ #: functions.php:208
113
+ #@ cms-tree-page-view
114
+ msgid "In menu"
115
+ msgstr "V menu"
116
+
117
+ #: functions.php:388
118
+ #@ cms-tree-page-view
119
+ msgid "Inside"
120
+ msgstr "Vnořit"
121
+
122
+ #: functions.php:395
123
+ #@ cms-tree-page-view
124
+ msgid "Last modified"
125
+ msgstr "Poslední změna"
126
+
127
+ #: functions.php:372
128
+ #@ cms-tree-page-view
129
+ msgid "Loading tree"
130
+ msgstr "Načítám strom"
131
+
132
+ #: functions.php:366
133
+ #@ cms-tree-page-view
134
+ msgid "Loading..."
135
+ msgstr "Načítám..."
136
+
137
+ #: functions.php:831
138
+ #@ cms-tree-page-view
139
+ msgid "New page"
140
+ msgstr "Nová stránka"
141
+
142
+ #: functions.php:335
143
+ #@ cms-tree-page-view
144
+ msgid "No posts found."
145
+ msgstr "Žádný příspěvek"
146
+
147
+ #: functions.php:360
148
+ #@ cms-tree-page-view
149
+ msgid "Nothing found."
150
+ msgstr "Nic nenalezeno"
151
+
152
+ #: functions.php:204
153
+ #@ cms-tree-page-view
154
+ msgid "On dashboard"
155
+ msgstr "Na nástěnce"
156
+
157
+ #: functions.php:400
158
+ #@ cms-tree-page-view
159
+ msgid "Page ID"
160
+ msgstr "ID stránky"
161
+
162
+ #: functions.php:73
163
+ #@ cms-tree-page-view
164
+ msgid "Password protected page"
165
+ msgstr "Stránka chráněná heslem"
166
+
167
+ #: functions.php:342
168
+ #@ cms-tree-page-view
169
+ msgid "Public"
170
+ msgstr "Veřejné"
171
+
172
+ #: functions.php:219
173
+ #@ cms-tree-page-view
174
+ msgid "Save Changes"
175
+ msgstr "Uložit změny"
176
+
177
+ #: functions.php:358
178
+ #@ cms-tree-page-view
179
+ msgid "Search"
180
+ msgstr "Hledat"
181
+
182
+ #: functions.php:369
183
+ #@ cms-tree-page-view
184
+ msgid "Search: no pages found"
185
+ msgstr "Hledání: nic nenalezeno"
186
+
187
+ #: functions.php:359
188
+ #@ cms-tree-page-view
189
+ msgid "Searching..."
190
+ msgstr "Hledám..."
191
+
192
+ #: functions.php:180
193
+ #@ cms-tree-page-view
194
+ msgid "Select where to show a tree for pages and custom post types"
195
+ msgstr "Vyberte, kde chcete zobrazit strom pro stránky a příspěvky"
196
+
197
+ #: functions.php:63
198
+ #@ cms-tree-page-view
199
+ msgid "Sorry, can't create a sub page to a page with status \"draft\"."
200
+ msgstr "Sorry, nemůžete vytvořit podstránku u stránky, která má status \"Koncept\""
201
+
202
+ #: functions.php:607
203
+ #@ cms-tree-page-view
204
+ msgid "Unknown user"
205
+ msgstr "Neznámý uživatel"
206
+
207
+ #: functions.php:58
208
+ #: functions.php:380
209
+ #@ cms-tree-page-view
210
+ msgid "View"
211
+ msgstr "Zobrazit"
212
+
213
+ #: functions.php:56
214
+ #: functions.php:380
215
+ #@ cms-tree-page-view
216
+ msgid "View page"
217
+ msgstr "Zobrazit stránku"
218
+
219
+ #: functions.php:61
220
+ #@ cms-tree-page-view
221
+ msgid "after"
222
+ msgstr "po"
223
+
224
+ #: functions.php:397
225
+ #@ cms-tree-page-view
226
+ msgid "by"
227
+ msgstr "od"
228
+
229
+ #: functions.php:54
230
+ #@ cms-tree-page-view
231
+ msgid "child pages"
232
+ msgstr "vnořené stránky"
233
+
234
+ #: functions.php:649
235
+ #@ default
236
+ msgctxt "comment count"
237
+ msgid "%"
238
+ msgstr "%"
239
+
240
+ #: functions.php:649
241
+ #@ default
242
+ msgctxt "comment count"
243
+ msgid "0"
244
+ msgstr "0"
245
+
246
+ #: functions.php:649
247
+ #@ default
248
+ msgctxt "comment count"
249
+ msgid "1"
250
+ msgstr "1"
251
+
252
+ #: functions.php:67
253
+ #@ cms-tree-page-view
254
+ msgid "draft"
255
+ msgstr "koncept"
256
+
257
+ #: functions.php:68
258
+ #@ cms-tree-page-view
259
+ msgid "future"
260
+ msgstr "budoucí"
261
+
262
+ #: functions.php:62
263
+ #@ cms-tree-page-view
264
+ msgid "inside"
265
+ msgstr "vnořit"
266
+
267
+ #: functions.php:70
268
+ #: functions.php:642
269
+ #@ cms-tree-page-view
270
+ #@ default
271
+ msgid "pending"
272
+ msgstr "čekájící"
273
+
274
+ #: functions.php:71
275
+ #@ cms-tree-page-view
276
+ msgid "private"
277
+ msgstr "soukromá"
278
+
279
+ #: functions.php:69
280
+ #@ cms-tree-page-view
281
+ msgid "protected"
282
+ msgstr "chráněná"
283
+
284
+ #: functions.php:175
285
+ #@ cms-tree-page-view
286
+ msgid "settings"
287
+ msgstr "nastavení"
288
+
289
+ #: functions.php:64
290
+ #@ cms-tree-page-view
291
+ msgid "Sorry, can't create a sub page to a page with status \"trash\"."
292
+ msgstr "Sorry, nemůžete vytvořit podstránku u stránky, která má status \"Smazáno\""
293
+
294
+ #: functions.php:65
295
+ #@ cms-tree-page-view
296
+ msgid "Sorry, can't create a page after a page with status \"trash\"."
297
+ msgstr "Sorry, nemůžete vytvořit stránku za stránkou, která má status \"Smazáno\""
298
+
299
+ #: functions.php:72
300
+ #@ cms-tree-page-view
301
+ msgid "trash"
302
+ msgstr "smazáno"
303
+
304
+ #: functions.php:343
305
+ #@ cms-tree-page-view
306
+ msgid "Trash"
307
+ msgstr "Smazáno"
308
+
309
+ #: functions.php:1013
310
+ #@ cms-tree-page-view
311
+ msgid "Close"
312
+ msgstr "Zavřít"
313
+
314
+ #: functions.php:1014
315
+ #@ cms-tree-page-view
316
+ 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>."
317
+ msgstr "<strong>Děkujeme vám za používání tohoto pluginu!</strong> Pokud potřebujete poradit, prosím podívejte se na <a href=\\\"http://eskapism.se/code-playground/cms-tree-page-view/?utm_source=wordpress&utm_medium=banner&utm_campaign=promobox\\\">domovskou stránku pluginu</a> nebo <a href=\\\"http://wordpress.org/tags/cms-tree-page-view?forum_id=10\\\">fórum podpory</a> ."
318
+
319
+ #: functions.php:1015
320
+ #@ cms-tree-page-view
321
+ 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."
322
+ 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."
323
+
languages/cms-tree-page-view-it_IT.mo ADDED
Binary file
languages/cms-tree-page-view-it_IT.po ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of the WordPress plugin by .
2
+ # Copyright (C) 2010
3
+ # This file is distributed under the same license as the package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: \n"
9
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/cms-tree-page-view\n"
10
+ "POT-Creation-Date: 2010-06-30 19:00+0000\n"
11
+ "PO-Revision-Date: 2011-01-17 19:00+0100\n"
12
+ "Last-Translator: Andrea Bersi\n"
13
+ "Language-Team: \n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Poedit-Language: Italian\n"
18
+ "X-Poedit-Country: ITALIA\n"
19
+
20
+ #: functions.php:45
21
+ msgid "Enter title of new page"
22
+ msgstr "Inserire titolo pagina"
23
+
24
+ #: functions.php:46
25
+ msgid "child pages"
26
+ msgstr "Pagine figlie"
27
+
28
+ #: functions.php:47
29
+ msgid "Edit page"
30
+ msgstr "Modifica la pagina"
31
+
32
+ #: functions.php:48
33
+ msgid "View page"
34
+ msgstr "Vedi pagina"
35
+
36
+ #: functions.php:49
37
+ msgid "Edit"
38
+ msgstr "Modifica"
39
+
40
+ #: functions.php:50
41
+ msgid "View"
42
+ msgstr "Vedi"
43
+
44
+ #: functions.php:51
45
+ msgid "Add page"
46
+ msgstr "Aggiungi nuova pagina"
47
+
48
+ #: functions.php:52
49
+ msgid "Add new page after"
50
+ msgstr "Aggiungi dopo la pagina"
51
+
52
+ #: functions.php:53
53
+ msgid "after"
54
+ msgstr "dopo"
55
+
56
+ #: functions.php:54
57
+ msgid "inside"
58
+ msgstr "all'interno della pagina"
59
+
60
+ #: functions.php:55
61
+ msgid "Add new page inside"
62
+ msgstr "Aggiungi pagina figlia"
63
+
64
+ #: functions.php:56
65
+ msgid "draft"
66
+ msgstr "Bozza"
67
+
68
+ #: functions.php:57
69
+ msgid "future"
70
+ msgstr "pianificata"
71
+
72
+ #: functions.php:58
73
+ msgid "protected"
74
+ msgstr "protetta"
75
+
76
+ #: functions.php:59
77
+ msgid "pending"
78
+ msgstr "in attesa"
79
+
80
+ #: functions.php:60
81
+ msgid "private"
82
+ msgstr "privata"
83
+
84
+ #: functions.php:61
85
+ msgid "Password protected page"
86
+ msgstr "Pagina protetta da password"
87
+
88
+ #: functions.php:113
89
+ msgid "settings"
90
+ msgstr "impostazioni"
91
+
92
+ #: functions.php:120
93
+ msgid "Show tree"
94
+ msgstr "Mostra gerarchia"
95
+
96
+ #: functions.php:124
97
+ msgid "on the dashboard"
98
+ msgstr "nella bacheca"
99
+
100
+ #: functions.php:128
101
+ msgid "under the pages menu"
102
+ msgstr "nel menù delle pagine"
103
+
104
+ #: functions.php:135
105
+ msgid "Save Changes"
106
+ msgstr "Salva"
107
+
108
+ #: functions.php:150
109
+ msgid "No pages found. Maybe you want to <a href='post-new.php?post_type=page'>add a new page</a>?"
110
+ msgstr "Nessuna pagina. Vuoi <a href='post-new.php?post_type=page'>creare una pagina</a>?"
111
+
112
+ #: functions.php:157
113
+ msgid "All"
114
+ msgstr "Tutte le pagine"
115
+
116
+ #: functions.php:158
117
+ msgid "Public"
118
+ msgstr "Pagine pubblicate"
119
+
120
+ #: functions.php:160
121
+ msgid "Expand"
122
+ msgstr "Espandi"
123
+
124
+ #: functions.php:161
125
+ msgid "Collapse"
126
+ msgstr "Contrai"
127
+
128
+ #: functions.php:166
129
+ msgid "Clear search"
130
+ msgstr "Cancella risultati ricerca"
131
+
132
+ #: functions.php:167
133
+ msgid "Search"
134
+ msgstr "Ricerca"
135
+
136
+ #: functions.php:168
137
+ msgid "Searching..."
138
+ msgstr "Ricerca..."
139
+
140
+ #: functions.php:173
141
+ msgid "Loading..."
142
+ msgstr "Caricamento..."
143
+
144
+ #: functions.php:175
145
+ msgid "Search: no pages found"
146
+ msgstr "Ricerca: nessuna pagina trovata"
147
+
148
+ #: functions.php:177
149
+ msgid "Loading tree"
150
+ msgstr "Caricamento gerarchia"
151
+
152
+ #: functions.php:277
153
+ msgid "<Untitled page>"
154
+ msgstr "<Nessun titolo>"
155
+
156
+ #: functions.php:295
157
+ msgid "Click to edit. Drag to move."
158
+ msgstr "Clicca per modificare o per variare la gerarchia"
159
+
160
+ #: functions.php:432
161
+ msgid "New page"
162
+ msgstr "Nuova pagina"
163
+
164
+ #: functions.php:395
165
+ msgid "Last modified"
166
+ msgstr "Modificato il"
167
+
168
+ #: functions.php:384
169
+ msgid "After"
170
+ msgstr "dopo"
171
+
172
+ #: functions.php:388
173
+ msgid "Inside"
174
+ msgstr "all'interno della pagina"
175
+
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.1
7
- Stable tag: 0.7.14
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
 
@@ -44,6 +44,8 @@ This plugin is available in the following languages:
44
  * Russian
45
  * Belorussian
46
  * Swedish
 
 
47
 
48
  #### Making the tree available for your vistors
49
  If you're looking for a version of this page tree that the vistors of your site can use, then check out
@@ -78,6 +80,17 @@ Now the tree with the pages will be visible both on the dashboard and in the men
78
 
79
  == Changelog ==
80
 
 
 
 
 
 
 
 
 
 
 
 
81
  = 0.7.14 =
82
  - Added links to PayPal and Flattr, so users who like the plugin can donate.
83
 
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.1
7
+ Stable tag: 0.7.16
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
 
44
  * Russian
45
  * Belorussian
46
  * Swedish
47
+ * Czech
48
+ * Italian
49
 
50
  #### Making the tree available for your vistors
51
  If you're looking for a version of this page tree that the vistors of your site can use, then check out
80
 
81
  == Changelog ==
82
 
83
+ = 0.7.16 =
84
+ - fix for wpml-languages with "-" in them, like chinese simplified or chinese traditional.
85
+ http://wordpress.org/support/topic/plugin-cms-tree-page-view-broken-for-languages-with-a-in
86
+ - fixed some problems with columns and utf-encoding
87
+ - moved adding page to a box above the tree, so you won't get the feeling that the tree has been deleted when you add a page.
88
+
89
+ = 0.7.15 =
90
+ - Czech translation added
91
+ - Italian translation added, by Andrea Bersi (http://www.andreabersi.com)
92
+ - require(dirname(__FILE__)."/functions.php"); instead of just require("functions.php");. Should fix problems with for example BackWPup.
93
+
94
  = 0.7.14 =
95
  - Added links to PayPal and Flattr, so users who like the plugin can donate.
96
 
scripts/cms_tree_page_view.js CHANGED
@@ -153,7 +153,7 @@ jQuery(".cms_tpv_action_add_page_after").live("click", function() {
153
  jPrompt(cmstpv_l10n.Enter_title_of_new_page, "", "CMS Tree Page View", function(new_page_title) {
154
  if (new_page_title) {
155
  var pageID = $this.parents("li:first").attr("id");
156
- $this.closest(".cms_tpv_container").html(cmstpv_l10n.Adding_page);
157
  jQuery.post(ajaxurl, {
158
  "action": "cms_tpv_add_page",
159
  "pageID": pageID,
@@ -196,7 +196,7 @@ jQuery(".cms_tpv_action_add_page_inside").live("click", function() {
196
  jPrompt(cmstpv_l10n.Enter_title_of_new_page, "", "CMS Tree Page View", function(new_page_title) {
197
  if (new_page_title) {
198
  var pageID = $this.parents("li:first").attr("id");
199
- $this.closest(".cms_tpv_container").html(cmstpv_l10n.Adding_page);
200
  jQuery.post(ajaxurl, {
201
  "action": "cms_tpv_add_page",
202
  "pageID": pageID,
@@ -502,7 +502,7 @@ jQuery("a.cms_tvp_switch_lang").live("click", function(e) {
502
  $wrapper.find("ul.cms_tvp_switch_langs a").removeClass("current");
503
  jQuery(this).addClass("current");
504
 
505
- var re = /cms_tpv_switch_language_code_([\w]+)/;
506
  var matches = re.exec( jQuery(this).attr("class") );
507
  var lang_code = matches[1];
508
  $wrapper.find("[name=cms_tpv_meta_wpml_language]").val(lang_code);
153
  jPrompt(cmstpv_l10n.Enter_title_of_new_page, "", "CMS Tree Page View", function(new_page_title) {
154
  if (new_page_title) {
155
  var pageID = $this.parents("li:first").attr("id");
156
+ jQuery(".cms_tpv_message").html("<p>"+cmstpv_l10n.Adding_page+"</p>").slideDown("fast");
157
  jQuery.post(ajaxurl, {
158
  "action": "cms_tpv_add_page",
159
  "pageID": pageID,
196
  jPrompt(cmstpv_l10n.Enter_title_of_new_page, "", "CMS Tree Page View", function(new_page_title) {
197
  if (new_page_title) {
198
  var pageID = $this.parents("li:first").attr("id");
199
+ jQuery(".cms_tpv_message").html("<p>" + cmstpv_l10n.Adding_page + "</p>").slideDown("fast");
200
  jQuery.post(ajaxurl, {
201
  "action": "cms_tpv_add_page",
202
  "pageID": pageID,
502
  $wrapper.find("ul.cms_tvp_switch_langs a").removeClass("current");
503
  jQuery(this).addClass("current");
504
 
505
+ var re = /cms_tpv_switch_language_code_([\w-]+)/;
506
  var matches = re.exec( jQuery(this).attr("class") );
507
  var lang_code = matches[1];
508
  $wrapper.find("[name=cms_tpv_meta_wpml_language]").val(lang_code);
styles/styles.css CHANGED
@@ -8,7 +8,13 @@
8
 
9
  .cms_tpv_wrapper {
10
  z-index: 10;
 
11
  }
 
 
 
 
 
12
  .cms_tpv_container {
13
  /* clear: both; */
14
  overflow: visible;
8
 
9
  .cms_tpv_wrapper {
10
  z-index: 10;
11
+ margin-right: 250px;
12
  }
13
+
14
+ .postbox .cms_tpv_wrapper {
15
+ width: auto;
16
+ }
17
+
18
  .cms_tpv_container {
19
  /* clear: both; */
20
  overflow: visible;