Nested Pages - Version 1.1.9

Version Description

  • Minor bug fixes in editor capabilities
  • Italian translation (Provided by Francesco Canovi)
Download this release

Release Info

Developer kylephillips
Plugin Icon 128x128 Nested Pages
Version 1.1.9
Comparing to
See all releases

Code changes from version 1.1.8 to 1.1.9

includes/class-np-activate.php CHANGED
@@ -22,7 +22,7 @@ class NP_Activate {
22
  */
23
  public function install()
24
  {
25
- $this->version = '1.1.8';
26
  new NP_ActivateUpgrades($this->version);
27
  $this->setVersion();
28
  $this->setOptions();
22
  */
23
  public function install()
24
  {
25
+ $this->version = '1.1.9';
26
  new NP_ActivateUpgrades($this->version);
27
  $this->setVersion();
28
  $this->setOptions();
includes/class-np-dependencies.php CHANGED
@@ -26,7 +26,7 @@ class NP_Dependencies {
26
  'nestedpages',
27
  $this->plugin_dir . '/assets/css/nestedpages.css',
28
  array(),
29
- '1.1.8'
30
  );
31
  }
32
 
@@ -64,7 +64,7 @@ class NP_Dependencies {
64
  'nestedpages',
65
  $this->plugin_dir . '/assets/js/nestedpages.min.js',
66
  array('jquery'),
67
- '1.1.8'
68
  );
69
  $localized_data = array(
70
  'np_nonce' => wp_create_nonce( 'nestedpages-nonce' ),
26
  'nestedpages',
27
  $this->plugin_dir . '/assets/css/nestedpages.css',
28
  array(),
29
+ '1.1.9'
30
  );
31
  }
32
 
64
  'nestedpages',
65
  $this->plugin_dir . '/assets/js/nestedpages.min.js',
66
  array('jquery'),
67
+ '1.1.9'
68
  );
69
  $localized_data = array(
70
  'np_nonce' => wp_create_nonce( 'nestedpages-nonce' ),
includes/class-np-factory-post.php CHANGED
@@ -32,11 +32,11 @@ class NP_PostFactory {
32
  {
33
  foreach($data['post_title'] as $key => $title){
34
  $post = array(
35
- 'post_title' => $title,
36
  'post_type' => 'page',
37
- 'post_status' => $data['_status'],
38
- 'post_author' => $data['post_author'],
39
- 'post_parent' => $data['parent_id']
40
  );
41
  $new_page_id = wp_insert_post($post);
42
  $this->new_ids[$key] = $new_page_id;
32
  {
33
  foreach($data['post_title'] as $key => $title){
34
  $post = array(
35
+ 'post_title' => sanitize_text_field($title),
36
  'post_type' => 'page',
37
+ 'post_status' => sanitize_text_field($data['_status']),
38
+ 'post_author' => sanitize_text_field($data['post_author']),
39
+ 'post_parent' => sanitize_text_field($data['parent_id'])
40
  );
41
  $new_page_id = wp_insert_post($post);
42
  $this->new_ids[$key] = $new_page_id;
languages/nestedpages-it_IT.mo ADDED
Binary file
languages/nestedpages-it_IT.po ADDED
@@ -0,0 +1,343 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Nested Pages\n"
4
+ "POT-Creation-Date: 2014-11-20 20:17-0500\n"
5
+ "PO-Revision-Date: 2014-12-16 18:44+0100\n"
6
+ "Last-Translator: Francesco Canovi <francesco@blackstudio.it>\n"
7
+ "Language-Team: \n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.7.1\n"
12
+ "X-Poedit-Basepath: ..\n"
13
+ "X-Poedit-SourceCharset: UTF-8\n"
14
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
15
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
16
+ "_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Language: it_IT\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ #: includes/class-nestedpages.php:85
22
+ msgid "Settings"
23
+ msgstr "Impostazioni"
24
+
25
+ #: includes/class-np-confirmation.php:58
26
+ msgid "pages moved to the Trash"
27
+ msgstr "pagine spostate nel Cestino"
28
+
29
+ #: includes/class-np-confirmation.php:60
30
+ msgid "page moved to the Trash"
31
+ msgstr "pagina spostata del Cestino"
32
+
33
+ #: includes/class-np-confirmation.php:65
34
+ msgid "Undo"
35
+ msgstr "Annulla"
36
+
37
+ #: includes/class-np-confirmation.php:80
38
+ msgid "pages"
39
+ msgstr "pagine"
40
+
41
+ #: includes/class-np-confirmation.php:80
42
+ msgid "page"
43
+ msgstr "pagina"
44
+
45
+ #: includes/class-np-confirmation.php:81
46
+ msgid "restored from trash"
47
+ msgstr "recuperata dal Cestino"
48
+
49
+ #: includes/class-np-confirmation.php:90
50
+ msgid "Link successfully deleted."
51
+ msgstr "Collegamento eliminato con successo."
52
+
53
+ #: includes/class-np-dependencies.php:77 views/pages.php:18
54
+ msgid "Expand Pages"
55
+ msgstr "Espandi Pagine"
56
+
57
+ #: includes/class-np-dependencies.php:78
58
+ msgid "Collapse Pages"
59
+ msgstr "Collassa Pagine"
60
+
61
+ #: includes/class-np-dependencies.php:79 views/pages.php:34
62
+ msgid "Show Hidden"
63
+ msgstr "Mostra Nascoste"
64
+
65
+ #: includes/class-np-dependencies.php:80
66
+ msgid "Hide Hidden"
67
+ msgstr "Nascondi Nascoste"
68
+
69
+ #: includes/class-np-dependencies.php:81 views/link-form.php:14
70
+ #: views/pages.php:9 views/pages.php:10
71
+ msgid "Add Link"
72
+ msgstr "Aggiungi Collegamento"
73
+
74
+ #: includes/class-np-dependencies.php:82
75
+ msgid "Add Child Link"
76
+ msgstr "Aggiungi Collegamento Figlio"
77
+
78
+ #: includes/class-np-handler-base.php:64
79
+ msgid "Incorrect Form Field"
80
+ msgstr "Campo del modulo non corretto"
81
+
82
+ #: includes/class-np-handler-base.php:94
83
+ msgid "There was an error updating the page."
84
+ msgstr "Si è verificato un errore durante l'aggiornamento della pagina."
85
+
86
+ #: includes/class-np-handler-newredirect.php:40
87
+ #: includes/class-np-handler-quickedit-redirect.php:36
88
+ msgid "Link successfully updated"
89
+ msgstr "Collegamento aggiornato con successo"
90
+
91
+ #: includes/class-np-handler-quickedit.php:38
92
+ msgid "Post successfully updated"
93
+ msgstr "Post aggiornato con successo"
94
+
95
+ #: includes/class-np-handler-sort.php:36
96
+ msgid "Page order successfully updated."
97
+ msgstr "Ordine pagine aggiornato con successo."
98
+
99
+ #: includes/class-np-handler-sort.php:38
100
+ msgid "There was an order updating the page order."
101
+ msgstr ""
102
+ "Si è verificato un errore durante l'aggiornamento dell'ordine delle pagine."
103
+
104
+ #: includes/class-np-handler-syncmenu.php:32
105
+ msgid "Menu sync enabled."
106
+ msgstr "Sincronizzazione Menu abilitata."
107
+
108
+ #: includes/class-np-handler-syncmenu.php:35
109
+ msgid "Menu sync disabled."
110
+ msgstr "Sincronizzazione Menu disabilitata."
111
+
112
+ #: includes/class-np-newpage.php:42
113
+ msgid "Adding child page under:"
114
+ msgstr "Aggiungendo Pagina Figlia sotto:"
115
+
116
+ #: includes/class-np-pagelisting.php:79
117
+ msgid "All Pages"
118
+ msgstr "Tutte le Pagine"
119
+
120
+ #: includes/class-np-pagelisting.php:80
121
+ msgid "Add New"
122
+ msgstr "Aggiungi nuova"
123
+
124
+ #: includes/class-np-pagelisting.php:81
125
+ msgid "Default Pages"
126
+ msgstr "Pagine (Default)"
127
+
128
+ #: includes/class-np-posttypes.php:21
129
+ msgid "Redirects"
130
+ msgstr "Redirects"
131
+
132
+ #: includes/class-np-posttypes.php:22
133
+ msgid "Redirect"
134
+ msgstr "Redirect"
135
+
136
+ #: includes/class-np-redirects.php:65
137
+ msgid "Nested Pages"
138
+ msgstr "Nested Pages"
139
+
140
+ #: includes/class-np-repository-post.php:58 views/quickedit.php:20
141
+ msgid "Title"
142
+ msgstr "Titolo"
143
+
144
+ #: includes/class-np-repository-post.php:298
145
+ msgid "Label"
146
+ msgstr "Etichetta"
147
+
148
+ #: includes/class-np-validation.php:49 includes/class-np-validation.php:64
149
+ msgid "Please provide a valid date."
150
+ msgstr "Si prega di inserire una data valida."
151
+
152
+ #: includes/class-np-validation.php:76
153
+ msgid "Please provide a menu title."
154
+ msgstr "Si prega di inserire un titolo per il menu."
155
+
156
+ #: includes/class-np-validation.php:79
157
+ msgid "Please provide a valid URL."
158
+ msgstr "Si prega di inserire una URL valida."
159
+
160
+ #: includes/class-np-validation.php:90
161
+ msgid "Please provide a "
162
+ msgstr "Si prega di fornire"
163
+
164
+ #: views/link-form.php:31 views/quickedit-redirect.php:17
165
+ #: views/quickedit.php:148
166
+ msgid "Navigation Label"
167
+ msgstr "Etichetta di navigazione"
168
+
169
+ #: views/link-form.php:36 views/quickedit-redirect.php:22
170
+ msgid "URL"
171
+ msgstr "URL"
172
+
173
+ #: views/link-form.php:41 views/quickedit-redirect.php:27
174
+ #: views/quickedit.php:58
175
+ msgid "Status"
176
+ msgstr "Stato"
177
+
178
+ #: views/link-form.php:44 views/pages.php:33 views/quickedit-redirect.php:30
179
+ #: views/quickedit.php:61
180
+ msgid "Published"
181
+ msgstr "Pubblicato"
182
+
183
+ #: views/link-form.php:45 views/quickedit-redirect.php:31
184
+ #: views/quickedit.php:62
185
+ msgid "Scheduled"
186
+ msgstr "Programmato"
187
+
188
+ #: views/link-form.php:47 views/quickedit-redirect.php:33
189
+ #: views/quickedit.php:64
190
+ msgid "Pending Review"
191
+ msgstr "In attesa di Revisione"
192
+
193
+ #: views/link-form.php:48 views/quickedit-redirect.php:34
194
+ #: views/quickedit.php:65
195
+ msgid "Draft"
196
+ msgstr "Bozza"
197
+
198
+ #: views/link-form.php:59 views/quickedit-redirect.php:54
199
+ #: views/quickedit.php:164
200
+ msgid "Hide in Nav Menu"
201
+ msgstr "Nascondi nel Menu di Navigazione"
202
+
203
+ #: views/link-form.php:64 views/quickedit-redirect.php:60
204
+ #: views/quickedit.php:105
205
+ msgid "Hide in Nested Pages"
206
+ msgstr "Nascondi in Nested Pages"
207
+
208
+ #: views/link-form.php:69 views/quickedit-redirect.php:66
209
+ #: views/quickedit.php:170
210
+ msgid "Open link in a new window/tab"
211
+ msgstr "Apri collegamento in una nuova finestra/scheda"
212
+
213
+ #: views/link-form.php:80
214
+ msgid "Close"
215
+ msgstr "Chiudi"
216
+
217
+ #: views/link-form.php:83
218
+ msgid "Save Link"
219
+ msgstr "Salva Collegamento"
220
+
221
+ #: views/pages.php:24
222
+ msgid "Sync Menu"
223
+ msgstr "Sincronizza Menu"
224
+
225
+ #: views/pages.php:32
226
+ msgid "All"
227
+ msgstr "Tutto"
228
+
229
+ #: views/pages.php:37
230
+ msgid "Trash"
231
+ msgstr "Cestino"
232
+
233
+ #: views/pages.php:40
234
+ msgid "Default"
235
+ msgstr "Predefinito"
236
+
237
+ #: views/quickedit-redirect.php:8
238
+ msgid "Link"
239
+ msgstr "Collegamento"
240
+
241
+ #: views/quickedit-redirect.php:44 views/quickedit.php:152
242
+ msgid "Title Attribute"
243
+ msgstr "Attributo Titolo"
244
+
245
+ #: views/quickedit-redirect.php:48 views/quickedit.php:156
246
+ msgid "CSS Classes"
247
+ msgstr "Classi CSS"
248
+
249
+ #: views/quickedit-redirect.php:81 views/quickedit.php:184
250
+ msgid "Cancel"
251
+ msgstr "Annulla"
252
+
253
+ #: views/quickedit-redirect.php:84 views/quickedit.php:187
254
+ msgid "Update"
255
+ msgstr "Aggiorna"
256
+
257
+ #: views/quickedit.php:11 views/row-redirect.php:53 views/row.php:94
258
+ msgid "Quick Edit"
259
+ msgstr "Modifica Rapida"
260
+
261
+ #: views/quickedit.php:24
262
+ msgid "Slug"
263
+ msgstr "Slug"
264
+
265
+ #: views/quickedit.php:28
266
+ msgid "Date"
267
+ msgstr "Data"
268
+
269
+ #: views/quickedit.php:49
270
+ msgid "Author"
271
+ msgstr "Autore"
272
+
273
+ #: views/quickedit.php:73
274
+ msgid "Template"
275
+ msgstr "Modello"
276
+
277
+ #: views/quickedit.php:75
278
+ msgid "Default Template"
279
+ msgstr "Modello di Default"
280
+
281
+ #: views/quickedit.php:82
282
+ msgid "Password"
283
+ msgstr "Password"
284
+
285
+ #: views/quickedit.php:85
286
+ msgid "&ndash;OR&ndash;"
287
+ msgstr "&ndash;OR&ndash;"
288
+
289
+ #: views/quickedit.php:88
290
+ msgid "Private"
291
+ msgstr "Privato"
292
+
293
+ #: views/quickedit.php:97
294
+ msgid "Allow Comments"
295
+ msgstr "Permetti Commenti"
296
+
297
+ #: views/quickedit.php:113
298
+ msgid "Menu Options"
299
+ msgstr "Opzioni Menu"
300
+
301
+ #: views/quickedit.php:115
302
+ msgid "Taxonomies"
303
+ msgstr "Tassonomie"
304
+
305
+ #: views/row-redirect.php:30 views/row.php:33
306
+ msgid "Hidden"
307
+ msgstr "Nascosto"
308
+
309
+ #: views/row.php:41
310
+ msgid "currently editing"
311
+ msgstr "modifica in corso"
312
+
313
+ #: views/row.php:43
314
+ msgid "Edit"
315
+ msgstr "Modifica"
316
+
317
+ #: views/row.php:66
318
+ msgid "Add Child"
319
+ msgstr "Aggiungi figlio"
320
+
321
+ #: views/row.php:98
322
+ msgid "View"
323
+ msgstr "Mostra"
324
+
325
+ #: views/settings.php:2
326
+ msgid "Nested Pages Settings"
327
+ msgstr "Nested Pages Settings"
328
+
329
+ #: views/settings.php:8
330
+ msgid "Nested Pages Version"
331
+ msgstr "Nested Pages Version"
332
+
333
+ #: views/settings.php:12
334
+ msgid "Menu Name"
335
+ msgstr "Nome Menu"
336
+
337
+ #: views/settings.php:15
338
+ msgid ""
339
+ "Important: Once the menu name has changed, theme files should be updated to "
340
+ "reference the new name."
341
+ msgstr ""
342
+ "Importante: una volta cambiato il nome del Menu, i file del tema devono "
343
+ "essere aggiornati per rispecchiare il nuovo nome."
nestedpages.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Nested Pages
4
  Plugin URI: http://nestedpages.com
5
  Description: Provides an intuitive drag and drop interface for managing pages in the Wordpress admin, while maintaining quick edit functionality.
6
- Version: 1.1.8
7
  Author: Kyle Phillips
8
  Author URI: https://github.com/kylephillips
9
  Text Domain: nestedpages
3
  Plugin Name: Nested Pages
4
  Plugin URI: http://nestedpages.com
5
  Description: Provides an intuitive drag and drop interface for managing pages in the Wordpress admin, while maintaining quick edit functionality.
6
+ Version: 1.1.9
7
  Author: Kyle Phillips
8
  Author URI: https://github.com/kylephillips
9
  Text Domain: nestedpages
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://nestedpages.com/
4
  Tags: pages, admin, nested, tree view, page tree, sort, quick edit
5
  Requires at least: 3.8
6
  Tested up to: 4.1
7
- Stable tag: 1.1.7
8
 
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -33,6 +33,7 @@ For more information visit [nestedpages.com](http://nestedpages.com).
33
  * Finnish (Roni Laukkarinen)
34
  * French (Nico Mollet)
35
  * German/Swiss German (Bartosz Podlewski)
 
36
 
37
  == Installation ==
38
 
@@ -76,6 +77,10 @@ If you have Wordpress SEO by Yoast installed, your page score indicators are sho
76
 
77
  == Changelog ==
78
 
 
 
 
 
79
  = 1.1.8 =
80
  * New Child Pages Interface - Add child pages more efficiently with the new add child pages dialog. Add a single child page without leaving the Nested Pages view, or add multiple pages with one click. Reorder multiple child pages before saving with the drag and drop interface you're accustomed to.
81
  * Tested for 4.1 compatibility
@@ -125,8 +130,11 @@ If you have Wordpress SEO by Yoast installed, your page score indicators are sho
125
 
126
  == Upgrade Notice ==
127
 
 
 
 
128
  = 1.1.8 =
129
- New Child Pages Interface
130
 
131
  = 1.1.6 =
132
  Minor UI enhancements and bug fixes.
4
  Tags: pages, admin, nested, tree view, page tree, sort, quick edit
5
  Requires at least: 3.8
6
  Tested up to: 4.1
7
+ Stable tag: 1.1.8
8
 
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
33
  * Finnish (Roni Laukkarinen)
34
  * French (Nico Mollet)
35
  * German/Swiss German (Bartosz Podlewski)
36
+ * Italian (Francesco Canovi)
37
 
38
  == Installation ==
39
 
77
 
78
  == Changelog ==
79
 
80
+ = 1.1.9 =
81
+ * Minor bug fixes in editor capabilities
82
+ * Italian translation (Provided by Francesco Canovi)
83
+
84
  = 1.1.8 =
85
  * New Child Pages Interface - Add child pages more efficiently with the new add child pages dialog. Add a single child page without leaving the Nested Pages view, or add multiple pages with one click. Reorder multiple child pages before saving with the drag and drop interface you're accustomed to.
86
  * Tested for 4.1 compatibility
130
 
131
  == Upgrade Notice ==
132
 
133
+ = 1.1.9 =
134
+ Italian translation included along with minor bug fixes.
135
+
136
  = 1.1.8 =
137
+ New Child Pages Interface, various UI enhancements
138
 
139
  = 1.1.6 =
140
  Minor UI enhancements and bug fixes.
views/link-form.php CHANGED
@@ -53,7 +53,7 @@ $can_publish = current_user_can( $post_type_object->cap->publish_posts );
53
 
54
  <div class="right">
55
 
56
- <?php if ( current_user_can('edit_theme_options') ) : ?>
57
  <label class="checkbox">
58
  <input type="checkbox" name="nav_status" class="np_link_nav_status" value="hide" />
59
  <span class="checkbox-title"><?php _e( 'Hide in Nav Menu', 'nestedpages' ); ?></span>
53
 
54
  <div class="right">
55
 
56
+ <?php if ( $this->user->canSortPages() ) : // Menu Options Button ?>
57
  <label class="checkbox">
58
  <input type="checkbox" name="nav_status" class="np_link_nav_status" value="hide" />
59
  <span class="checkbox-title"><?php _e( 'Hide in Nav Menu', 'nestedpages' ); ?></span>
views/quickedit-redirect.php CHANGED
@@ -39,7 +39,7 @@
39
 
40
  <div class="right">
41
 
42
- <?php if ( current_user_can('edit_theme_options') ) : ?>
43
  <div class="form-control">
44
  <label><?php _e( 'Title Attribute' ); ?></label>
45
  <input type="text" name="np_title_attribute" class="np_title_attribute" value="" />
39
 
40
  <div class="right">
41
 
42
+ <?php if ( $this->user->canSortPages() ) : // Menu Options Button ?>
43
  <div class="form-control">
44
  <label><?php _e( 'Title Attribute' ); ?></label>
45
  <input type="text" name="np_title_attribute" class="np_title_attribute" value="" />
views/quickedit.php CHANGED
@@ -108,7 +108,7 @@
108
  <?php endif; // Edit theme options?>
109
 
110
 
111
- <?php if ( current_user_can('edit_theme_options') ) : // Menu Options Button ?>
112
  <div class="form-control np-toggle-options">
113
  <a href="#" class="np-btn np-btn-half np-toggle-menuoptions"><?php _e('Menu Options', 'nestedpages'); ?></a>
114
  <?php if ( !empty($this->h_taxonomies) ) : ?>
@@ -141,7 +141,7 @@
141
  <?php endif; // if taxonomies ?>
142
 
143
 
144
- <?php if ( current_user_can('edit_theme_options') ) : // Menu Options?>
145
  <div class="np-menuoptions">
146
  <div class="menuoptions-left">
147
  <div class="form-control">
108
  <?php endif; // Edit theme options?>
109
 
110
 
111
+ <?php if ( $this->user->canSortPages() ) : // Menu Options Button ?>
112
  <div class="form-control np-toggle-options">
113
  <a href="#" class="np-btn np-btn-half np-toggle-menuoptions"><?php _e('Menu Options', 'nestedpages'); ?></a>
114
  <?php if ( !empty($this->h_taxonomies) ) : ?>
141
  <?php endif; // if taxonomies ?>
142
 
143
 
144
+ <?php if ( $this->user->canSortPages() ) : // Menu Options?>
145
  <div class="np-menuoptions">
146
  <div class="menuoptions-left">
147
  <div class="form-control">