Version Description
- Minor bug fixes
- Minor UI enhancements
- Changes to page and link menu items under appearance > menu now sync the Nested Pages listing when menu sync is enabled (other custom menu item types not yet supported).
- Option added to disable nesting on hierarchical post types while maintaining sort functionality (ideal for live sites where link structures need to remain intact)
- Updated Dutch Translation (Provided by Arno Vije)
- Search capabilities added
- Hash/Empty URLs no longer appended with http://
Download this release
Release Info
Developer | kylephillips |
Plugin | Nested Pages |
Version | 1.3.4 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.4
- app/Bootstrap.php +4 -1
- app/Entities/Listing/Listing.php +55 -8
- app/Entities/Listing/ListingActions.php +25 -0
- app/Entities/NavMenu/NavMenu.php +0 -191
- app/Entities/NavMenu/NavMenuActions.php +24 -0
- app/Entities/NavMenu/NavMenuRemoveItem.php +28 -0
- app/Entities/NavMenu/NavMenuRepository.php +150 -0
- app/Entities/NavMenu/NavMenuSync.php +50 -0
- app/Entities/NavMenu/NavMenuSyncInterface.php +10 -0
- app/Entities/NavMenu/NavMenuSyncListing.php +127 -0
- app/Entities/NavMenu/NavMenuSyncMenu.php +161 -0
- app/Entities/NavMenu/NavMenuTrashActions.php +43 -0
- app/Entities/Post/PostActions.php +0 -40
- app/Entities/Post/PostDataFactory.php +1 -0
- app/Entities/Post/PostTrashActions.php +93 -0
- app/Entities/Post/PostUpdateRepository.php +45 -4
- app/Entities/PostType/PostTypeRepository.php +17 -0
- app/Entities/PostType/RegisterPostTypes.php +2 -2
- app/Entities/User/UserRepository.php +12 -1
- app/Form/FormActionFactory.php +2 -1
- app/Form/Handlers/BaseHandler.php +2 -3
- app/Form/Handlers/QuickEditHandler.php +1 -0
- app/Form/Handlers/SearchHandler.php +35 -0
- app/Helpers.php +1 -3
- app/NestedPages.php +2 -2
- app/Redirects.php +2 -1
- app/Views/forms/empty-trash-modal.php +17 -0
- app/Views/forms/quickedit-link.php +1 -1
- app/Views/forms/quickedit-post.php +2 -2
- app/Views/listing.php +6 -6
- app/Views/partials/row-link.php +9 -2
- app/Views/partials/row.php +5 -5
- app/Views/partials/tool-list.php +13 -4
- app/Views/settings/settings-posttypes.php +11 -2
- assets/banner-772x250.png +0 -0
- assets/css/nestedpages.css +1 -1
- assets/icon-128x128.png +0 -0
- assets/images/spinner-2x.gif +0 -0
- assets/images/spinner.gif +0 -0
- assets/js/lib/nestedpages.js +43 -51
- assets/js/nestedpages.min.js +1 -1
- languages/nestedpages-it_IT.mo +0 -0
- languages/nestedpages-it_IT.po +334 -168
- languages/nestedpages-nl_NL.mo +0 -0
- languages/nestedpages-nl_NL.po +335 -169
- languages/nestedpages-ru_RU.mo +0 -0
- languages/nestedpages-ru_RU.po +638 -0
- nestedpages.php +1 -1
- readme.txt +22 -2
app/Bootstrap.php
CHANGED
@@ -20,7 +20,10 @@ class Bootstrap {
|
|
20 |
new Activation\Activate;
|
21 |
new Redirects;
|
22 |
new Entities\PostType\RegisterPostTypes;
|
23 |
-
new Entities\Post\
|
|
|
|
|
|
|
24 |
new Form\FormActionFactory;
|
25 |
new Config\Settings;
|
26 |
}
|
20 |
new Activation\Activate;
|
21 |
new Redirects;
|
22 |
new Entities\PostType\RegisterPostTypes;
|
23 |
+
new Entities\Post\PostTrashActions;
|
24 |
+
new Entities\Listing\ListingActions;
|
25 |
+
new Entities\NavMenu\NavMenuActions;
|
26 |
+
new Entities\NavMenu\NavMenuTrashActions;
|
27 |
new Form\FormActionFactory;
|
28 |
new Config\Settings;
|
29 |
}
|
app/Entities/Listing/Listing.php
CHANGED
@@ -169,8 +169,10 @@ class Listing {
|
|
169 |
* @param array $pages - array of page objects from current query
|
170 |
* @param int $count - current count in loop
|
171 |
*/
|
172 |
-
private function listOpening($pages, $count)
|
173 |
{
|
|
|
|
|
174 |
// Get array of child pages
|
175 |
$children = array();
|
176 |
$all_children = $pages->posts;
|
@@ -180,15 +182,21 @@ class Listing {
|
|
180 |
// Compare child pages with user's toggled pages
|
181 |
$compared = array_intersect($this->listing_repo->visiblePages($this->post_type->name), $children);
|
182 |
|
|
|
183 |
if ( $count == 1 ) {
|
184 |
-
echo ( $this->user->canSortPages() )
|
185 |
? '<ol class="sortable nplist visible" id="np-' . $this->post_type->name . '">'
|
186 |
: '<ol class="sortable no-sort nplist" visible" id="np-' . $this->post_type->name . '">';
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
|
|
|
|
|
|
|
|
|
|
192 |
}
|
193 |
|
194 |
|
@@ -209,6 +217,7 @@ class Listing {
|
|
209 |
private function publishCount($pages)
|
210 |
{
|
211 |
$publish_count = 1;
|
|
|
212 |
foreach ( $pages->posts as $p ){
|
213 |
if ( $p->post_status !== 'trash' ) $publish_count++;
|
214 |
}
|
@@ -216,6 +225,16 @@ class Listing {
|
|
216 |
}
|
217 |
|
218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
/**
|
220 |
* Loop through all the pages and create the nested / sortable list
|
221 |
* Recursive Method, called in page.php view
|
@@ -233,6 +252,9 @@ class Listing {
|
|
233 |
'post_parent' => $parent_id,
|
234 |
'order' => $this->sort_options->order
|
235 |
);
|
|
|
|
|
|
|
236 |
$pages = new \WP_Query(apply_filters('nestedpages_page_listing', $query_args));
|
237 |
|
238 |
if ( $pages->have_posts() ) :
|
@@ -270,7 +292,7 @@ class Listing {
|
|
270 |
|
271 |
endif; // trash status
|
272 |
|
273 |
-
$this->loopPosts($this->post->id, $count);
|
274 |
|
275 |
if ( $this->post->status !== 'trash' ) {
|
276 |
echo '</li>';
|
@@ -286,4 +308,29 @@ class Listing {
|
|
286 |
}
|
287 |
|
288 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
289 |
}
|
169 |
* @param array $pages - array of page objects from current query
|
170 |
* @param int $count - current count in loop
|
171 |
*/
|
172 |
+
private function listOpening($pages, $count, $sortable = true)
|
173 |
{
|
174 |
+
if ( $this->isSearch() ) $sortable = false;
|
175 |
+
|
176 |
// Get array of child pages
|
177 |
$children = array();
|
178 |
$all_children = $pages->posts;
|
182 |
// Compare child pages with user's toggled pages
|
183 |
$compared = array_intersect($this->listing_repo->visiblePages($this->post_type->name), $children);
|
184 |
|
185 |
+
// Primary List
|
186 |
if ( $count == 1 ) {
|
187 |
+
echo ( $this->user->canSortPages() && $sortable )
|
188 |
? '<ol class="sortable nplist visible" id="np-' . $this->post_type->name . '">'
|
189 |
: '<ol class="sortable no-sort nplist" visible" id="np-' . $this->post_type->name . '">';
|
190 |
+
return;
|
191 |
+
}
|
192 |
+
|
193 |
+
// Don't create new list for child elements of posts in trash
|
194 |
+
if ( get_post_status($pages->query['post_parent']) == 'trash' ) return;
|
195 |
+
|
196 |
+
echo '<ol class="nplist';
|
197 |
+
if ( count($compared) > 0 ) echo ' visible" style="display:block;';
|
198 |
+
echo '" id="np-' . $this->post_type->name . '">';
|
199 |
+
|
200 |
}
|
201 |
|
202 |
|
217 |
private function publishCount($pages)
|
218 |
{
|
219 |
$publish_count = 1;
|
220 |
+
if ( $this->parentTrashed($pages) ) return;
|
221 |
foreach ( $pages->posts as $p ){
|
222 |
if ( $p->post_status !== 'trash' ) $publish_count++;
|
223 |
}
|
225 |
}
|
226 |
|
227 |
|
228 |
+
/**
|
229 |
+
* Is this a search
|
230 |
+
* @return boolean
|
231 |
+
*/
|
232 |
+
private function isSearch()
|
233 |
+
{
|
234 |
+
return ( isset($_GET['search']) && $_GET['search'] !== "" ) ? true : false;
|
235 |
+
}
|
236 |
+
|
237 |
+
|
238 |
/**
|
239 |
* Loop through all the pages and create the nested / sortable list
|
240 |
* Recursive Method, called in page.php view
|
252 |
'post_parent' => $parent_id,
|
253 |
'order' => $this->sort_options->order
|
254 |
);
|
255 |
+
|
256 |
+
if ( $this->isSearch() ) $query_args = $this->searchParams($query_args);
|
257 |
+
|
258 |
$pages = new \WP_Query(apply_filters('nestedpages_page_listing', $query_args));
|
259 |
|
260 |
if ( $pages->have_posts() ) :
|
292 |
|
293 |
endif; // trash status
|
294 |
|
295 |
+
if ( !$this->isSearch() ) $this->loopPosts($this->post->id, $count);
|
296 |
|
297 |
if ( $this->post->status !== 'trash' ) {
|
298 |
echo '</li>';
|
308 |
}
|
309 |
|
310 |
|
311 |
+
/**
|
312 |
+
* Search Posts
|
313 |
+
*/
|
314 |
+
private function searchParams($query_args)
|
315 |
+
{
|
316 |
+
$query_args['post_title_like'] = sanitize_text_field($_GET['search']);
|
317 |
+
unset($query_args['post_parent']);
|
318 |
+
return $query_args;
|
319 |
+
}
|
320 |
+
|
321 |
+
|
322 |
+
/**
|
323 |
+
* Parent Trash Status
|
324 |
+
* @param WP Query object
|
325 |
+
* @return boolean
|
326 |
+
*/
|
327 |
+
private function parentTrashed($pages)
|
328 |
+
{
|
329 |
+
if ( !isset($pages->query['post_parent']) ) return false;
|
330 |
+
if ( get_post_status($pages->query['post_parent']) == 'trash' ) return true;
|
331 |
+
return false;
|
332 |
+
|
333 |
+
}
|
334 |
+
|
335 |
+
|
336 |
}
|
app/Entities/Listing/ListingActions.php
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php namespace NestedPages\Entities\Listing;
|
2 |
+
|
3 |
+
class ListingActions {
|
4 |
+
|
5 |
+
|
6 |
+
public function __construct()
|
7 |
+
{
|
8 |
+
add_filter( 'posts_where', array($this, 'titleSearch'), 10, 2 );
|
9 |
+
}
|
10 |
+
|
11 |
+
|
12 |
+
/**
|
13 |
+
* For performing search query on titles
|
14 |
+
*/
|
15 |
+
public function titleSearch( $where, $wp_query )
|
16 |
+
{
|
17 |
+
global $wpdb;
|
18 |
+
if ( $post_title_like = $wp_query->get( 'post_title_like' ) ){
|
19 |
+
$like = $wpdb->esc_like( $post_title_like );
|
20 |
+
$where .= ' AND ' . $wpdb->posts . '.post_title LIKE \'%' . esc_sql( $like ) . '%\'';
|
21 |
+
}
|
22 |
+
return $where;
|
23 |
+
}
|
24 |
+
|
25 |
+
}
|
app/Entities/NavMenu/NavMenu.php
DELETED
@@ -1,191 +0,0 @@
|
|
1 |
-
<?php namespace NestedPages\Entities\NavMenu;
|
2 |
-
|
3 |
-
use NestedPages\Helpers;
|
4 |
-
|
5 |
-
/**
|
6 |
-
* The generated nav menu that matches the nested pages structure
|
7 |
-
*/
|
8 |
-
class NavMenu {
|
9 |
-
|
10 |
-
/**
|
11 |
-
* The Menu ID
|
12 |
-
*/
|
13 |
-
public $id;
|
14 |
-
|
15 |
-
/**
|
16 |
-
* The Menu Items
|
17 |
-
*/
|
18 |
-
public $items;
|
19 |
-
|
20 |
-
/**
|
21 |
-
* Menu Object
|
22 |
-
* @var object
|
23 |
-
*/
|
24 |
-
private $menu;
|
25 |
-
|
26 |
-
/**
|
27 |
-
* Individual Post
|
28 |
-
* @var array
|
29 |
-
*/
|
30 |
-
private $post;
|
31 |
-
|
32 |
-
|
33 |
-
public function __construct()
|
34 |
-
{
|
35 |
-
$this->setMenu();
|
36 |
-
$this->setID();
|
37 |
-
$this->setItems();
|
38 |
-
}
|
39 |
-
|
40 |
-
|
41 |
-
/**
|
42 |
-
* Get Optional custom menu name
|
43 |
-
* @since 1.1.5
|
44 |
-
*/
|
45 |
-
private function setMenu()
|
46 |
-
{
|
47 |
-
if ( get_option('nestedpages_menu') ){
|
48 |
-
$menu_id = get_option('nestedpages_menu');
|
49 |
-
$this->menu = get_term_by('id', $menu_id, 'nav_menu');
|
50 |
-
} else {
|
51 |
-
$this->createNewMenu();
|
52 |
-
$this->setMenu();
|
53 |
-
}
|
54 |
-
}
|
55 |
-
|
56 |
-
|
57 |
-
/**
|
58 |
-
* Create Empty Menu if one doesn't exist
|
59 |
-
*/
|
60 |
-
private function createNewMenu()
|
61 |
-
{
|
62 |
-
$menu_id = wp_create_nav_menu('Nested Pages');
|
63 |
-
update_option('nestedpages_menu', $menu_id);
|
64 |
-
}
|
65 |
-
|
66 |
-
|
67 |
-
/**
|
68 |
-
* Set the Menu ID
|
69 |
-
*/
|
70 |
-
public function setID()
|
71 |
-
{
|
72 |
-
$this->id = $this->menu->term_id;
|
73 |
-
}
|
74 |
-
|
75 |
-
|
76 |
-
/**
|
77 |
-
* Set the Menu Items
|
78 |
-
*/
|
79 |
-
public function setItems()
|
80 |
-
{
|
81 |
-
$menu = get_term_by('id', $this->id, 'nav_menu');
|
82 |
-
if ( $menu ) {
|
83 |
-
$this->items = wp_get_nav_menu_items($this->id);
|
84 |
-
} else {
|
85 |
-
$this->createNewMenu();
|
86 |
-
$this->setItems();
|
87 |
-
}
|
88 |
-
}
|
89 |
-
|
90 |
-
|
91 |
-
/**
|
92 |
-
* Set the post settings
|
93 |
-
* @param object - post object
|
94 |
-
* @since 1.1.4
|
95 |
-
*/
|
96 |
-
private function set_post($post)
|
97 |
-
{
|
98 |
-
$this->post['ID'] = $post->ID;
|
99 |
-
$this->post['show_in_nav'] = get_post_meta( $post->ID, 'np_nav_status', true);
|
100 |
-
$this->post['nested_pages_visible'] = get_post_meta( $post->ID, 'nested_pages_status', true );
|
101 |
-
$this->post['link_target'] = get_post_meta( $post->ID, 'np_link_target', true );
|
102 |
-
$this->post['title_attribute'] = get_post_meta( $post->ID, 'np_title_attribute', true );
|
103 |
-
$this->post['css_classes'] = get_post_meta( $post->ID, 'np_nav_css_classes', true );
|
104 |
-
$this->post['permalink'] = get_the_permalink($post->ID);
|
105 |
-
|
106 |
-
$nav_title = get_post_meta( $post->ID, 'np_nav_title', true );
|
107 |
-
$this->post['nav_title'] = ( $nav_title !== "" ) ? $nav_title : $post->post_title;
|
108 |
-
}
|
109 |
-
|
110 |
-
|
111 |
-
/**
|
112 |
-
* Create the menu with nested pages (Recursive function)
|
113 |
-
*/
|
114 |
-
public function sync($parent = 0, $menu_parent = 0)
|
115 |
-
{
|
116 |
-
$page_q = new \WP_Query(array(
|
117 |
-
'post_type' => array('page','np-redirect'),
|
118 |
-
'posts_per_page' => -1,
|
119 |
-
'post_status' => 'publish',
|
120 |
-
'orderby' => 'menu_order',
|
121 |
-
'order' => 'ASC',
|
122 |
-
'post_parent' => $parent
|
123 |
-
));
|
124 |
-
if ( $page_q->have_posts() ) : while ( $page_q->have_posts() ) : $page_q->the_post();
|
125 |
-
global $post;
|
126 |
-
$this->set_post($post);
|
127 |
-
if ( ($this->post['show_in_nav'] == 'show') || ($this->post['show_in_nav'] == '') ) {
|
128 |
-
$menu = ( get_post_type() == 'page' ) ? $this->syncPageItem($menu_parent) : $this->syncLinkItem($menu_parent);
|
129 |
-
$this->sync( get_the_id(), $menu );
|
130 |
-
}
|
131 |
-
endwhile; endif; wp_reset_postdata();
|
132 |
-
}
|
133 |
-
|
134 |
-
|
135 |
-
/**
|
136 |
-
* Sync Page Menu Item
|
137 |
-
* @since 1.1.4
|
138 |
-
*/
|
139 |
-
private function syncPageItem($menu_parent)
|
140 |
-
{
|
141 |
-
$menu = wp_update_nav_menu_item($this->id, 0, array(
|
142 |
-
'menu-item-title' => $this->post['nav_title'],
|
143 |
-
'menu-item-url' => $this->post['permalink'],
|
144 |
-
'menu-item-attr-title' => $this->post['title_attribute'],
|
145 |
-
'menu-item-status' => 'publish',
|
146 |
-
'menu-item-classes' => $this->post['css_classes'],
|
147 |
-
'menu-item-type' => 'post_type',
|
148 |
-
'menu-item-object' => 'page',
|
149 |
-
'menu-item-object-id' => $this->post['ID'],
|
150 |
-
'menu-item-parent-id' => $menu_parent,
|
151 |
-
'menu-item-target' => $this->post['link_target']
|
152 |
-
));
|
153 |
-
return $menu;
|
154 |
-
}
|
155 |
-
|
156 |
-
|
157 |
-
/**
|
158 |
-
* Sync Link Menu Item
|
159 |
-
* @since 1.1.4
|
160 |
-
*/
|
161 |
-
private function syncLinkItem($menu_parent)
|
162 |
-
{
|
163 |
-
$menu = wp_update_nav_menu_item($this->id, 0, array(
|
164 |
-
'menu-item-title' => $this->post['nav_title'],
|
165 |
-
'menu-item-url' => Helpers::check_url(get_the_content($this->post['ID'])),
|
166 |
-
'menu-item-attr-title' => $this->post['title_attribute'],
|
167 |
-
'menu-item-status' => 'publish',
|
168 |
-
'menu-item-classes' => $this->post['css_classes'],
|
169 |
-
'menu-item-type' => 'custom',
|
170 |
-
'menu-item-object' => 'page',
|
171 |
-
'menu-item-object-id' => $this->post['ID'],
|
172 |
-
'menu-item-parent-id' => $menu_parent,
|
173 |
-
'menu-item-target' => $this->post['link_target']
|
174 |
-
));
|
175 |
-
return $menu;
|
176 |
-
}
|
177 |
-
|
178 |
-
|
179 |
-
/**
|
180 |
-
* Clear out the menu
|
181 |
-
*/
|
182 |
-
public function clearMenu()
|
183 |
-
{
|
184 |
-
$menu_items = wp_get_nav_menu_items($this->id);
|
185 |
-
foreach ( $menu_items as $i ){
|
186 |
-
wp_delete_post($i->ID, true);
|
187 |
-
}
|
188 |
-
}
|
189 |
-
|
190 |
-
|
191 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/Entities/NavMenu/NavMenuActions.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php namespace NestedPages\Entities\NavMenu;
|
2 |
+
|
3 |
+
use NestedPages\Entities\NavMenu\NavMenuSyncMenu;
|
4 |
+
/**
|
5 |
+
* Hook into WP actions for necessary tasks related to nav menus
|
6 |
+
*/
|
7 |
+
class NavMenuActions {
|
8 |
+
|
9 |
+
public function __construct()
|
10 |
+
{
|
11 |
+
add_action( 'wp_update_nav_menu', array($this, 'syncMenu'), 10 ,2 );
|
12 |
+
}
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Sync Pages when updating nav menu
|
16 |
+
*/
|
17 |
+
public function syncMenu($menu_id, $menu_data = null)
|
18 |
+
{
|
19 |
+
// Core calls action twice. Only want it to run once.
|
20 |
+
// Don't need it to run in wp_update_nav_menu_object function
|
21 |
+
if ( $menu_data == null ) $sync = new NavMenuSyncMenu($menu_id);
|
22 |
+
}
|
23 |
+
|
24 |
+
}
|
app/Entities/NavMenu/NavMenuRemoveItem.php
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php namespace NestedPages\Entities\NavMenu;
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Service Class for removing a single menu item
|
5 |
+
*/
|
6 |
+
class NavMenuRemoveItem {
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Item ID to Remove
|
10 |
+
* @var int - ID of nav menu item
|
11 |
+
*/
|
12 |
+
private $item_id;
|
13 |
+
|
14 |
+
public function __construct($item_id)
|
15 |
+
{
|
16 |
+
$this->item_id = $item_id;
|
17 |
+
$this->removeItem();
|
18 |
+
}
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Delete the Item
|
22 |
+
*/
|
23 |
+
private function removeItem()
|
24 |
+
{
|
25 |
+
wp_delete_post($this->item_id, true);
|
26 |
+
}
|
27 |
+
|
28 |
+
}
|
app/Entities/NavMenu/NavMenuRepository.php
ADDED
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php namespace NestedPages\Entities\NavMenu;
|
2 |
+
|
3 |
+
class NavMenuRepository {
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Get the Menu ID
|
7 |
+
* @since 1.3.4
|
8 |
+
* @return int
|
9 |
+
*/
|
10 |
+
public function getMenuID()
|
11 |
+
{
|
12 |
+
$term = $this->getMenuTermObject();
|
13 |
+
return $term->term_id;
|
14 |
+
}
|
15 |
+
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Get Menu Item ID
|
19 |
+
* @since 1.3.4
|
20 |
+
* @param int $id - Post ID
|
21 |
+
* @return int
|
22 |
+
*/
|
23 |
+
public function getMenuItemID($id)
|
24 |
+
{
|
25 |
+
$meta_query = new \WP_Query(array(
|
26 |
+
'post_type' => 'nav_menu_item',
|
27 |
+
'posts_per_page' => 1,
|
28 |
+
'meta_key' => '_menu_item_object_id',
|
29 |
+
'meta_value' => $id,
|
30 |
+
));
|
31 |
+
return ( $meta_query->have_posts() ) ? $meta_query->posts[0]->ID : $this->getLinkMenuItemXFN($id);
|
32 |
+
}
|
33 |
+
|
34 |
+
|
35 |
+
/**
|
36 |
+
* Get Link from XFN field
|
37 |
+
* Using XFN field to store original post ID
|
38 |
+
* Hack way of doing it, but no other way to tie custom menu items to post type and retain custom functionality
|
39 |
+
* @param int $id - Post ID
|
40 |
+
*/
|
41 |
+
public function getLinkMenuItemXFN($id)
|
42 |
+
{
|
43 |
+
$meta_query = new \WP_Query(array(
|
44 |
+
'post_type' => 'nav_menu_item',
|
45 |
+
'posts_per_page' => 1,
|
46 |
+
'meta_key' => '_menu_item_xfn',
|
47 |
+
'meta_value' => $id,
|
48 |
+
));
|
49 |
+
return ( $meta_query->have_posts() ) ? $meta_query->posts[0]->ID : $this->getLinkMenuItemID($id);
|
50 |
+
}
|
51 |
+
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Get Link Nav Menu from post ID using title
|
55 |
+
* Supporting legacy NP versions before XFN was saved
|
56 |
+
* @since 1.3.4
|
57 |
+
* @param int $id
|
58 |
+
* @return int
|
59 |
+
*/
|
60 |
+
public function getLinkMenuItemID($id)
|
61 |
+
{
|
62 |
+
$post = get_page_by_title( get_the_title($id), OBJECT, 'nav_menu_item');
|
63 |
+
if ( !$post ) return 0;
|
64 |
+
return $post->ID;
|
65 |
+
}
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
/**
|
70 |
+
* Get the Menu Term Object
|
71 |
+
* @since 1.3.4
|
72 |
+
* @return object - WP Term Object
|
73 |
+
*/
|
74 |
+
public function getMenuTermObject()
|
75 |
+
{
|
76 |
+
if ( get_option('nestedpages_menu') ){
|
77 |
+
$menu_id = get_option('nestedpages_menu');
|
78 |
+
return get_term_by('id', $menu_id, 'nav_menu');
|
79 |
+
} else {
|
80 |
+
$this->createNewMenu();
|
81 |
+
$this->getMenuTermObject();
|
82 |
+
}
|
83 |
+
}
|
84 |
+
|
85 |
+
|
86 |
+
/**
|
87 |
+
* Create Empty Menu if one doesn't exist
|
88 |
+
* @since 1.3.4
|
89 |
+
*/
|
90 |
+
private function createNewMenu()
|
91 |
+
{
|
92 |
+
$menu_id = wp_create_nav_menu('Nested Pages');
|
93 |
+
update_option('nestedpages_menu', $menu_id);
|
94 |
+
}
|
95 |
+
|
96 |
+
|
97 |
+
/**
|
98 |
+
* Clear out the menu
|
99 |
+
*/
|
100 |
+
public function clearMenu($menu_id)
|
101 |
+
{
|
102 |
+
$menu_items = wp_get_nav_menu_items($menu_id);
|
103 |
+
foreach ( $menu_items as $i ){
|
104 |
+
wp_delete_post($i->ID, true);
|
105 |
+
}
|
106 |
+
}
|
107 |
+
|
108 |
+
|
109 |
+
/**
|
110 |
+
* Is the provided post a nav menu item
|
111 |
+
* @return boolean
|
112 |
+
* @param int $id - post id
|
113 |
+
*/
|
114 |
+
public function isNavMenuItem($id)
|
115 |
+
{
|
116 |
+
if ( get_post_type($id) == 'nav_menu_item' ) return true;
|
117 |
+
return false;
|
118 |
+
}
|
119 |
+
|
120 |
+
|
121 |
+
/**
|
122 |
+
* Get the Link post id from a title
|
123 |
+
*/
|
124 |
+
public function getLinkfromTitle($title)
|
125 |
+
{
|
126 |
+
$post = get_page_by_title($title, OBJECT, 'np-redirect');
|
127 |
+
return $post->ID;
|
128 |
+
}
|
129 |
+
|
130 |
+
|
131 |
+
/**
|
132 |
+
* Get an array of pages not hidden in nav menu
|
133 |
+
* WP_Query won't return pages with empty meta values, so sql is used
|
134 |
+
* @return array
|
135 |
+
*/
|
136 |
+
public function getPagesInMenu()
|
137 |
+
{
|
138 |
+
global $wpdb;
|
139 |
+
$post_table = $wpdb->prefix . 'posts';
|
140 |
+
$meta_table = $wpdb->prefix . 'postmeta';
|
141 |
+
$sql = "SELECT p.ID AS nav_status FROM wp_posts AS p LEFT JOIN wp_postmeta AS m ON p.ID = m.post_id AND m.meta_key = 'np_nav_status' WHERE p.post_type = 'page' AND (m.meta_value = 'show' OR m.meta_value IS NULL)";
|
142 |
+
$results = $wpdb->get_results($sql, ARRAY_N);
|
143 |
+
if ( !$results ) return;
|
144 |
+
foreach($results as $key => $result){
|
145 |
+
$visible[$key] = $result[0];
|
146 |
+
}
|
147 |
+
return $visible;
|
148 |
+
}
|
149 |
+
|
150 |
+
}
|
app/Entities/NavMenu/NavMenuSync.php
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php namespace NestedPages\Entities\NavMenu;
|
2 |
+
|
3 |
+
use NestedPages\Entities\NavMenu\NavMenuRepository;
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Base Nav Menu Sync class
|
7 |
+
*/
|
8 |
+
abstract class NavMenuSync {
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Nav Menu Repository
|
12 |
+
* @var object NavMenuRepository
|
13 |
+
*/
|
14 |
+
protected $nav_menu_repo;
|
15 |
+
|
16 |
+
/**
|
17 |
+
* The Menu ID
|
18 |
+
* @var int
|
19 |
+
*/
|
20 |
+
protected $id;
|
21 |
+
|
22 |
+
|
23 |
+
public function __construct()
|
24 |
+
{
|
25 |
+
$this->nav_menu_repo = new NavMenuRepository;
|
26 |
+
$this->setMenuID();
|
27 |
+
}
|
28 |
+
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Menu ID Setter
|
32 |
+
*/
|
33 |
+
protected function setMenuID()
|
34 |
+
{
|
35 |
+
$this->id = $this->nav_menu_repo->getMenuID();
|
36 |
+
}
|
37 |
+
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Remove a Menu Item
|
41 |
+
* @since 1.3.4
|
42 |
+
* @param int $id - ID of nav menu item
|
43 |
+
*/
|
44 |
+
protected function removeItem($id)
|
45 |
+
{
|
46 |
+
wp_delete_post($id, true);
|
47 |
+
}
|
48 |
+
|
49 |
+
|
50 |
+
}
|
app/Entities/NavMenu/NavMenuSyncInterface.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php namespace NestedPages\Entities\NavMenu;
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Contract for Nav Menu Sync Classes
|
5 |
+
*/
|
6 |
+
interface NavMenuSyncInterface {
|
7 |
+
|
8 |
+
public function sync();
|
9 |
+
|
10 |
+
}
|
app/Entities/NavMenu/NavMenuSyncListing.php
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php namespace NestedPages\Entities\NavMenu;
|
2 |
+
|
3 |
+
use NestedPages\Entities\NavMenu\NavMenuSync;
|
4 |
+
use NestedPages\Helpers;
|
5 |
+
use NestedPages\Entities\Post\PostDataFactory;
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Syncs the Generated Menu to Match the Listing
|
9 |
+
*/
|
10 |
+
class NavMenuSyncListing extends NavMenuSync implements NavMenuSyncInterface {
|
11 |
+
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Individual Post
|
15 |
+
* @var array
|
16 |
+
*/
|
17 |
+
private $post;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Menu Position Count
|
21 |
+
* @var int
|
22 |
+
*/
|
23 |
+
private $count = 0;
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Post Data Factory
|
27 |
+
*/
|
28 |
+
private $post_factory;
|
29 |
+
|
30 |
+
|
31 |
+
public function __construct()
|
32 |
+
{
|
33 |
+
parent::__construct();
|
34 |
+
$this->post_factory = new PostDataFactory;
|
35 |
+
}
|
36 |
+
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Create the menu with nested pages
|
40 |
+
*/
|
41 |
+
public function sync($parent = 0, $menu_parent = 0)
|
42 |
+
{
|
43 |
+
$this->count = $this->count + 1;
|
44 |
+
$page_q = new \WP_Query(array(
|
45 |
+
'post_type' => array('page','np-redirect'),
|
46 |
+
'posts_per_page' => -1,
|
47 |
+
'post_status' => 'publish',
|
48 |
+
'orderby' => 'menu_order',
|
49 |
+
'order' => 'ASC',
|
50 |
+
'post_parent' => $parent
|
51 |
+
));
|
52 |
+
if ( $page_q->have_posts() ) : while ( $page_q->have_posts() ) : $page_q->the_post();
|
53 |
+
global $post;
|
54 |
+
$this->post = $this->post_factory->build($post);
|
55 |
+
$this->syncItem($menu_parent);
|
56 |
+
endwhile; endif; wp_reset_postdata();
|
57 |
+
}
|
58 |
+
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Sync an individual item
|
62 |
+
* @since 1.3.4
|
63 |
+
*/
|
64 |
+
private function syncItem($menu_parent)
|
65 |
+
{
|
66 |
+
// Get the Menu Item ID using the post ID
|
67 |
+
$menu_item_id = $this->nav_menu_repo->getMenuItemID($this->post->id);
|
68 |
+
|
69 |
+
if ( $this->post->nav_status == 'hide' ) return $this->removeItem($menu_item_id);
|
70 |
+
|
71 |
+
$menu = ( $this->post->type == 'page' )
|
72 |
+
? $this->syncPageItem($menu_parent, $menu_item_id)
|
73 |
+
: $this->syncLinkItem($menu_parent, $menu_item_id);
|
74 |
+
|
75 |
+
$this->sync( $this->post->id, $menu );
|
76 |
+
}
|
77 |
+
|
78 |
+
|
79 |
+
|
80 |
+
/**
|
81 |
+
* Sync Page Menu Item
|
82 |
+
* @since 1.1.4
|
83 |
+
*/
|
84 |
+
private function syncPageItem($menu_parent, $menu_item_id)
|
85 |
+
{
|
86 |
+
$menu = wp_update_nav_menu_item($this->id, $menu_item_id, array(
|
87 |
+
'menu-item-title' => $this->post->nav_title,
|
88 |
+
'menu-item-position' => $this->count,
|
89 |
+
'menu-item-url' => $this->post->link,
|
90 |
+
'menu-item-attr-title' => $this->post->nav_title_attr,
|
91 |
+
'menu-item-status' => 'publish',
|
92 |
+
'menu-item-classes' => $this->post->nav_css,
|
93 |
+
'menu-item-type' => 'post_type',
|
94 |
+
'menu-item-object' => 'page',
|
95 |
+
'menu-item-object-id' => $this->post->id,
|
96 |
+
'menu-item-parent-id' => $menu_parent,
|
97 |
+
'menu-item-target' => $this->post->link_target
|
98 |
+
));
|
99 |
+
return $menu;
|
100 |
+
}
|
101 |
+
|
102 |
+
|
103 |
+
/**
|
104 |
+
* Sync Link Menu Item
|
105 |
+
* @since 1.1.4
|
106 |
+
*/
|
107 |
+
private function syncLinkItem($menu_parent, $menu_item_id)
|
108 |
+
{
|
109 |
+
$menu = wp_update_nav_menu_item($this->id, $menu_item_id, array(
|
110 |
+
'menu-item-title' => $this->post->title,
|
111 |
+
'menu-item-position' => $this->count,
|
112 |
+
'menu-item-url' => Helpers::check_url(get_the_content($this->post->id)),
|
113 |
+
'menu-item-attr-title' => $this->post->nav_title_attr,
|
114 |
+
'menu-item-status' => 'publish',
|
115 |
+
'menu-item-classes' => $this->post->nav_css,
|
116 |
+
'menu-item-type' => 'custom',
|
117 |
+
'menu-item-object' => 'np-redirect',
|
118 |
+
'menu-item-object-id' => $this->post->id,
|
119 |
+
'menu-item-parent-id' => $menu_parent,
|
120 |
+
'menu-item-xfn' => $this->post->id,
|
121 |
+
'menu-item-target' => $this->post->link_target
|
122 |
+
));
|
123 |
+
return $menu;
|
124 |
+
}
|
125 |
+
|
126 |
+
|
127 |
+
}
|
app/Entities/NavMenu/NavMenuSyncMenu.php
ADDED
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php namespace NestedPages\Entities\NavMenu;
|
2 |
+
|
3 |
+
use NestedPages\Entities\NavMenu\NavMenuSync;
|
4 |
+
use NestedPages\Helpers;
|
5 |
+
use NestedPages\Entities\Post\PostUpdateRepository;
|
6 |
+
use NestedPages\Entities\Post\PostRepository;
|
7 |
+
use NestedPages\Entities\NavMenu\NavMenuRepository;
|
8 |
+
|
9 |
+
/**
|
10 |
+
* Syncs the Listing to Match the Menu
|
11 |
+
*/
|
12 |
+
class NavMenuSyncMenu extends NavMenuSync implements NavMenuSyncInterface {
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Menu Items
|
16 |
+
* @var array of objects
|
17 |
+
*/
|
18 |
+
private $menu_items;
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Menu Index
|
22 |
+
* @var array
|
23 |
+
*/
|
24 |
+
private $menu_index;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Post Update Repository
|
28 |
+
* @var object
|
29 |
+
*/
|
30 |
+
private $post_update_repo;
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Post Repository
|
34 |
+
* @var object
|
35 |
+
*/
|
36 |
+
private $post_repo;
|
37 |
+
|
38 |
+
|
39 |
+
public function __construct()
|
40 |
+
{
|
41 |
+
parent::__construct();
|
42 |
+
$this->post_update_repo = new PostUpdateRepository;
|
43 |
+
$this->post_repo = new PostRepository;
|
44 |
+
$this->setMenuItems();
|
45 |
+
$this->sync();
|
46 |
+
return true;
|
47 |
+
}
|
48 |
+
|
49 |
+
|
50 |
+
/**
|
51 |
+
* Get the menu items from menu and set them
|
52 |
+
*/
|
53 |
+
private function setMenuItems()
|
54 |
+
{
|
55 |
+
$this->menu_items = wp_get_nav_menu_items($this->id);
|
56 |
+
}
|
57 |
+
|
58 |
+
|
59 |
+
/**
|
60 |
+
* Loop through the menu items and sync depending on type
|
61 |
+
*/
|
62 |
+
public function sync()
|
63 |
+
{
|
64 |
+
if ( get_option('nestedpages_menusync') !== 'sync' ) return;
|
65 |
+
$this->setMenuIndex();
|
66 |
+
$this->updatePagesNavStatus();
|
67 |
+
// var_dump($this->menu_items); die();
|
68 |
+
foreach($this->menu_items as $key => $item){
|
69 |
+
$this->updatePost($item);
|
70 |
+
}
|
71 |
+
}
|
72 |
+
|
73 |
+
/**
|
74 |
+
* Set Menu Order/Parent Index
|
75 |
+
*/
|
76 |
+
private function setMenuIndex()
|
77 |
+
{
|
78 |
+
foreach($this->menu_items as $key => $item){
|
79 |
+
$this->index[$item->ID] = array(
|
80 |
+
'ID' => $item->object_id,
|
81 |
+
'title' => $item->title
|
82 |
+
);
|
83 |
+
}
|
84 |
+
}
|
85 |
+
|
86 |
+
|
87 |
+
/**
|
88 |
+
* Update the WP Post with Menu Data
|
89 |
+
*/
|
90 |
+
private function updatePost($item)
|
91 |
+
{
|
92 |
+
$parent_id = ( $item->menu_item_parent == '0' ) ? 0 : $this->index[$item->menu_item_parent]['ID'];
|
93 |
+
|
94 |
+
if ( $this->nav_menu_repo->isNavMenuItem($parent_id) ) {
|
95 |
+
$parent_id = $this->nav_menu_repo->getLinkfromTitle($this->index[$item->menu_item_parent]['title']);
|
96 |
+
}
|
97 |
+
|
98 |
+
$post_id = ( $item->object == 'custom' )
|
99 |
+
? $item->xfn
|
100 |
+
: $item->object_id;
|
101 |
+
|
102 |
+
$post_data = array(
|
103 |
+
'menu_order' => $item->menu_order,
|
104 |
+
'post_id' => $post_id,
|
105 |
+
'link_target' => $item->target,
|
106 |
+
'np_nav_title' => $item->title,
|
107 |
+
'np_title_attribute' => $item->attr_title,
|
108 |
+
'post_parent' => $parent_id,
|
109 |
+
'np_nav_css_classes' => $item->classes
|
110 |
+
);
|
111 |
+
if ( $item->type == 'custom' ) {
|
112 |
+
$post_data['content'] = $item->url;
|
113 |
+
$post_data['post_id'] = $item->xfn;
|
114 |
+
}
|
115 |
+
|
116 |
+
if ( is_string(get_post_status($post_id)) ){
|
117 |
+
$this->post_update_repo->updateFromMenuItem($post_data);
|
118 |
+
} else {
|
119 |
+
$this->syncNewLink($item, $parent_id);
|
120 |
+
}
|
121 |
+
}
|
122 |
+
|
123 |
+
|
124 |
+
/**
|
125 |
+
* Sync a new Link
|
126 |
+
*/
|
127 |
+
private function syncNewLink($item, $parent_id)
|
128 |
+
{
|
129 |
+
$post_data = array(
|
130 |
+
'np_link_title' => $item->title,
|
131 |
+
'_status' => 'publish',
|
132 |
+
'np_link_content' => $item->url,
|
133 |
+
'parent_id' => $parent_id,
|
134 |
+
'post_type' => 'np-redirect',
|
135 |
+
'link_target' => $item->target,
|
136 |
+
'menu_order'=> $item->menu_order
|
137 |
+
);
|
138 |
+
$this->post_update_repo->saveRedirect($post_data);
|
139 |
+
}
|
140 |
+
|
141 |
+
|
142 |
+
/**
|
143 |
+
* Update NP Nav Status for Pages
|
144 |
+
* If a menu item is removed, it's nav status needs to be set to hide
|
145 |
+
*/
|
146 |
+
private function updatePagesNavStatus()
|
147 |
+
{
|
148 |
+
$visible_pages = $this->nav_menu_repo->getPagesInMenu();
|
149 |
+
foreach($this->index as $key => $item){
|
150 |
+
$menu_items[$key] = $item['ID'];
|
151 |
+
}
|
152 |
+
foreach($visible_pages as $page){
|
153 |
+
if ( !in_array($page, $menu_items) ) {
|
154 |
+
$data['post_id'] = $page;
|
155 |
+
$data['nav_status'] = 'hide';
|
156 |
+
$this->post_update_repo->updateNavStatus($data);
|
157 |
+
}
|
158 |
+
}
|
159 |
+
}
|
160 |
+
|
161 |
+
}
|
app/Entities/NavMenu/NavMenuTrashActions.php
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php namespace NestedPages\Entities\NavMenu;
|
2 |
+
|
3 |
+
use NestedPages\Entities\NavMenu\NavMenuRepository;
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Performs necessary actions when a menu item is trashed
|
7 |
+
*/
|
8 |
+
class NavMenuTrashActions {
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Nav Menu Repository
|
12 |
+
*/
|
13 |
+
private $nav_menu_repo;
|
14 |
+
|
15 |
+
public function __construct()
|
16 |
+
{
|
17 |
+
$this->nav_menu_repo = new NavMenuRepository;
|
18 |
+
add_action( 'before_delete_post', array( $this, 'removeLinkItem'), 10 );
|
19 |
+
add_action( 'before_delete_post', array( $this, 'hidePagefromNav'), 10 );
|
20 |
+
}
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Remove Link Post (np-redirect) when a link in the menu is removed
|
24 |
+
*/
|
25 |
+
public function removeLinkItem($post_id)
|
26 |
+
{
|
27 |
+
remove_action( 'before_delete_post', array( $this, 'removeLinkItem'), 10 );
|
28 |
+
$redirect_id = get_post_meta($post_id, '_menu_item_xfn', true);
|
29 |
+
if ( $redirect_id !== "" ) wp_delete_post($redirect_id, true);
|
30 |
+
return true;
|
31 |
+
}
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Set Page items to hide from nav if page nav item is deleted
|
35 |
+
*/
|
36 |
+
public function hidePagefromNav($post_id)
|
37 |
+
{
|
38 |
+
if ( get_post_type($post_id) == 'nav_menu_item' ){
|
39 |
+
|
40 |
+
}
|
41 |
+
}
|
42 |
+
|
43 |
+
}
|
app/Entities/Post/PostActions.php
DELETED
@@ -1,40 +0,0 @@
|
|
1 |
-
<?php namespace NestedPages\Entities\Post;
|
2 |
-
/**
|
3 |
-
* WP Actions tied to a Post
|
4 |
-
*/
|
5 |
-
class PostActions {
|
6 |
-
|
7 |
-
public function __construct()
|
8 |
-
{
|
9 |
-
add_action( 'trashed_post', array( $this, 'trashHook' ) );
|
10 |
-
}
|
11 |
-
|
12 |
-
|
13 |
-
/**
|
14 |
-
* Trash hook - make sure child pages of trashed page are visible
|
15 |
-
*/
|
16 |
-
public function trashHook($post_id)
|
17 |
-
{
|
18 |
-
$post_type = get_post_type($post_id);
|
19 |
-
if ( $post_type == 'page' ) $this->resetToggles($post_id);
|
20 |
-
}
|
21 |
-
|
22 |
-
|
23 |
-
/**
|
24 |
-
* Make sure children of trashed pages are viewable in Nested Pages
|
25 |
-
*/
|
26 |
-
private function resetToggles($post_id)
|
27 |
-
{
|
28 |
-
$visible_pages = unserialize(get_user_meta(get_current_user_id(), 'np_visible_pages', true));
|
29 |
-
$child_pages = array();
|
30 |
-
$children = new \WP_Query(array('post_type'=>'page', 'posts_per_page'=>-1, 'post_parent'=>$post_id));
|
31 |
-
if ( $children->have_posts() ) : while ( $children->have_posts() ) : $children->the_post();
|
32 |
-
array_push($child_pages, get_the_id());
|
33 |
-
endwhile; endif; wp_reset_postdata();
|
34 |
-
foreach($child_pages as $child_page){
|
35 |
-
if ( !in_array($child_page, $visible_pages) ) array_push($visible_pages, $child_page);
|
36 |
-
}
|
37 |
-
update_user_meta(get_current_user_id(), 'np_visible_pages', serialize($visible_pages));
|
38 |
-
}
|
39 |
-
|
40 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/Entities/Post/PostDataFactory.php
CHANGED
@@ -40,6 +40,7 @@ class PostDataFactory {
|
|
40 |
$this->post_data->comment_status = $post->comment_status;
|
41 |
$this->post_data->content = $post->post_content;
|
42 |
$this->post_data->hierarchical = is_post_type_hierarchical($post->post_type);
|
|
|
43 |
}
|
44 |
|
45 |
/**
|
40 |
$this->post_data->comment_status = $post->comment_status;
|
41 |
$this->post_data->content = $post->post_content;
|
42 |
$this->post_data->hierarchical = is_post_type_hierarchical($post->post_type);
|
43 |
+
$this->post_data->link = get_the_permalink($post->ID);
|
44 |
}
|
45 |
|
46 |
/**
|
app/Entities/Post/PostTrashActions.php
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php namespace NestedPages\Entities\Post;
|
2 |
+
|
3 |
+
use NestedPages\Entities\User\UserRepository;
|
4 |
+
use NestedPages\Entities\NavMenu\NavMenuSyncListing;
|
5 |
+
use NestedPages\Entities\NavMenu\NavMenuRemoveItem;
|
6 |
+
use NestedPages\Entities\NavMenu\NavMenuRepository;
|
7 |
+
|
8 |
+
/**
|
9 |
+
* WP Actions tied to a Post
|
10 |
+
*/
|
11 |
+
class PostTrashActions {
|
12 |
+
|
13 |
+
/**
|
14 |
+
* User Repository
|
15 |
+
* @var object
|
16 |
+
*/
|
17 |
+
private $user_repo;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Nav Menu Repository
|
21 |
+
*/
|
22 |
+
private $nav_menu_repo;
|
23 |
+
|
24 |
+
|
25 |
+
public function __construct()
|
26 |
+
{
|
27 |
+
$this->user_repo = new UserRepository;
|
28 |
+
$this->nav_menu_repo = new NavMenuRepository;
|
29 |
+
add_action( 'trashed_post', array( $this, 'trashHook' ) );
|
30 |
+
add_action( 'delete_post', array( $this, 'removeLinkNavItem'), 10 );
|
31 |
+
}
|
32 |
+
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Trash hook - make sure child pages of trashed page are visible
|
36 |
+
* @since 1.3.4
|
37 |
+
*/
|
38 |
+
public function trashHook($post_id)
|
39 |
+
{
|
40 |
+
$post_type = get_post_type($post_id);
|
41 |
+
$this->resetToggles($post_id, $post_type);
|
42 |
+
$this->removeNavMenuItem($post_id);
|
43 |
+
if ( $post_type == 'page' ){
|
44 |
+
$sync = new NavMenuSyncListing;
|
45 |
+
$sync->sync();
|
46 |
+
}
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Link Post Types are immediately deleted, so trash hook isn't called
|
51 |
+
* Must remove nav menu items when they're deleted
|
52 |
+
*/
|
53 |
+
public function removeLinkNavItem($post_id)
|
54 |
+
{
|
55 |
+
$post_type = get_post_type($post_id);
|
56 |
+
if ( $post_type == 'nav_menu_item' ) return;
|
57 |
+
if ( $post_type == 'np-redirect' ) $this->removeNavMenuItem($post_id);
|
58 |
+
}
|
59 |
+
|
60 |
+
|
61 |
+
/**
|
62 |
+
* Remove the nav menu item
|
63 |
+
*/
|
64 |
+
private function removeNavMenuItem($post_id)
|
65 |
+
{
|
66 |
+
$nav_item_id = $this->nav_menu_repo->getMenuItemID($post_id);
|
67 |
+
if ( $nav_item_id ) new NavMenuRemoveItem($nav_item_id);
|
68 |
+
}
|
69 |
+
|
70 |
+
|
71 |
+
/**
|
72 |
+
* Make sure children of trashed pages are viewable in Nested Pages
|
73 |
+
*/
|
74 |
+
private function resetToggles($post_id, $post_type)
|
75 |
+
{
|
76 |
+
$visible_pages = $this->user_repo->getVisiblePages();
|
77 |
+
$visible_pages = $visible_pages[$post_type];
|
78 |
+
|
79 |
+
$child_pages = array();
|
80 |
+
|
81 |
+
$children = new \WP_Query(array('post_type'=>$post_type, 'posts_per_page'=>-1, 'post_parent'=>$post_id));
|
82 |
+
if ( $children->have_posts() ) : while ( $children->have_posts() ) : $children->the_post();
|
83 |
+
array_push($child_pages, get_the_id());
|
84 |
+
endwhile; endif; wp_reset_postdata();
|
85 |
+
|
86 |
+
foreach($child_pages as $child_page){
|
87 |
+
if ( !in_array($child_page, $visible_pages) ) array_push($visible_pages, $child_page);
|
88 |
+
}
|
89 |
+
|
90 |
+
$this->user_repo->updateVisiblePages($post_type, $visible_pages);
|
91 |
+
}
|
92 |
+
|
93 |
+
}
|
app/Entities/Post/PostUpdateRepository.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<?php namespace NestedPages\Entities\Post;
|
2 |
|
3 |
use NestedPages\Form\Validation\Validation;
|
|
|
4 |
/**
|
5 |
* Post Create/Update Methods
|
6 |
*/
|
@@ -12,6 +13,11 @@ class PostUpdateRepository {
|
|
12 |
*/
|
13 |
protected $validation;
|
14 |
|
|
|
|
|
|
|
|
|
|
|
15 |
/**
|
16 |
* New Post ID
|
17 |
* @var int
|
@@ -22,6 +28,7 @@ class PostUpdateRepository {
|
|
22 |
public function __construct()
|
23 |
{
|
24 |
$this->validation = new Validation;
|
|
|
25 |
}
|
26 |
|
27 |
|
@@ -119,7 +126,7 @@ class PostUpdateRepository {
|
|
119 |
* @since 1.0
|
120 |
* @param array data
|
121 |
*/
|
122 |
-
|
123 |
{
|
124 |
$status = ( isset($data['nav_status']) ) ? 'hide' : 'show';
|
125 |
$id = ( isset($data['post_id']) ) ? $data['post_id'] : $this->new_id;
|
@@ -281,7 +288,7 @@ class PostUpdateRepository {
|
|
281 |
*/
|
282 |
private function updateLinkTarget($data)
|
283 |
{
|
284 |
-
$link_target = ( isset($data['link_target']) ) ? "_blank" : "";
|
285 |
$id = ( isset($data['post_id']) ) ? $data['post_id'] : $this->new_id;
|
286 |
update_post_meta(
|
287 |
$id,
|
@@ -299,12 +306,14 @@ class PostUpdateRepository {
|
|
299 |
public function updateRedirect($data)
|
300 |
{
|
301 |
$this->validation->checkEmpty($data['post_title'], __('Label', 'nestedpages'));
|
|
|
302 |
$updated_post = array(
|
303 |
'ID' => sanitize_text_field($data['post_id']),
|
304 |
'post_title' => sanitize_text_field($data['post_title']),
|
305 |
'post_status' => sanitize_text_field($data['_status']),
|
306 |
'post_content' => sanitize_text_field($data['post_content']),
|
307 |
-
'post_parent' => sanitize_text_field($data['parent_id'])
|
|
|
308 |
);
|
309 |
$this->new_id = wp_update_post($updated_post);
|
310 |
|
@@ -331,7 +340,8 @@ class PostUpdateRepository {
|
|
331 |
'post_status' => sanitize_text_field($data['_status']),
|
332 |
'post_content' => sanitize_text_field($data['np_link_content']),
|
333 |
'post_parent' => sanitize_text_field($data['parent_id']),
|
334 |
-
'post_type' => 'np-redirect'
|
|
|
335 |
);
|
336 |
$this->new_id = wp_insert_post($new_link);
|
337 |
|
@@ -341,4 +351,35 @@ class PostUpdateRepository {
|
|
341 |
return $this->new_id;
|
342 |
}
|
343 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
}
|
1 |
<?php namespace NestedPages\Entities\Post;
|
2 |
|
3 |
use NestedPages\Form\Validation\Validation;
|
4 |
+
use NestedPages\Entities\NavMenu\NavMenuRepository;
|
5 |
/**
|
6 |
* Post Create/Update Methods
|
7 |
*/
|
13 |
*/
|
14 |
protected $validation;
|
15 |
|
16 |
+
/**
|
17 |
+
* Nav Menu Repository
|
18 |
+
*/
|
19 |
+
protected $nav_menu_repo;
|
20 |
+
|
21 |
/**
|
22 |
* New Post ID
|
23 |
* @var int
|
28 |
public function __construct()
|
29 |
{
|
30 |
$this->validation = new Validation;
|
31 |
+
$this->nav_menu_repo = new NavMenuRepository;
|
32 |
}
|
33 |
|
34 |
|
126 |
* @since 1.0
|
127 |
* @param array data
|
128 |
*/
|
129 |
+
public function updateNavStatus($data)
|
130 |
{
|
131 |
$status = ( isset($data['nav_status']) ) ? 'hide' : 'show';
|
132 |
$id = ( isset($data['post_id']) ) ? $data['post_id'] : $this->new_id;
|
288 |
*/
|
289 |
private function updateLinkTarget($data)
|
290 |
{
|
291 |
+
$link_target = ( isset($data['link_target']) && $data['link_target'] == "_blank" ) ? "_blank" : "";
|
292 |
$id = ( isset($data['post_id']) ) ? $data['post_id'] : $this->new_id;
|
293 |
update_post_meta(
|
294 |
$id,
|
306 |
public function updateRedirect($data)
|
307 |
{
|
308 |
$this->validation->checkEmpty($data['post_title'], __('Label', 'nestedpages'));
|
309 |
+
$menu_order = isset($data['menu_order']) ? $data['menu_order'] : 0;
|
310 |
$updated_post = array(
|
311 |
'ID' => sanitize_text_field($data['post_id']),
|
312 |
'post_title' => sanitize_text_field($data['post_title']),
|
313 |
'post_status' => sanitize_text_field($data['_status']),
|
314 |
'post_content' => sanitize_text_field($data['post_content']),
|
315 |
+
'post_parent' => sanitize_text_field($data['parent_id']),
|
316 |
+
'menu_order' => $menu_order
|
317 |
);
|
318 |
$this->new_id = wp_update_post($updated_post);
|
319 |
|
340 |
'post_status' => sanitize_text_field($data['_status']),
|
341 |
'post_content' => sanitize_text_field($data['np_link_content']),
|
342 |
'post_parent' => sanitize_text_field($data['parent_id']),
|
343 |
+
'post_type' => 'np-redirect',
|
344 |
+
'post_excerpt' => ''
|
345 |
);
|
346 |
$this->new_id = wp_insert_post($new_link);
|
347 |
|
351 |
return $this->new_id;
|
352 |
}
|
353 |
|
354 |
+
|
355 |
+
|
356 |
+
/**
|
357 |
+
* Update a Post to Match Nav menu
|
358 |
+
* @since 1.3.4
|
359 |
+
* @param array of post data
|
360 |
+
*/
|
361 |
+
public function updateFromMenuItem($data)
|
362 |
+
{
|
363 |
+
$updated_post = array(
|
364 |
+
'ID' => sanitize_text_field($data['post_id']),
|
365 |
+
'menu_order' => sanitize_text_field($data['menu_order']),
|
366 |
+
'post_parent' => sanitize_text_field($data['post_parent'])
|
367 |
+
);
|
368 |
+
if ( isset($data['content']) ){
|
369 |
+
$updated_post['post_content'] = $data['content'];
|
370 |
+
$updated_post['post_title'] = $data['np_nav_title'];
|
371 |
+
}
|
372 |
+
wp_update_post($updated_post);
|
373 |
+
|
374 |
+
// Menu Options
|
375 |
+
$this->updateLinkTarget($data);
|
376 |
+
$this->updateNavTitle($data);
|
377 |
+
$this->updateTitleAttribute($data);
|
378 |
+
|
379 |
+
if ( $data['np_nav_css_classes'][0] !== "" ){
|
380 |
+
$data['np_nav_css_classes'] = implode(' ', $data['np_nav_css_classes']);
|
381 |
+
$this->updateNavCSS($data);
|
382 |
+
}
|
383 |
+
}
|
384 |
+
|
385 |
}
|
app/Entities/PostType/PostTypeRepository.php
CHANGED
@@ -37,6 +37,7 @@ class PostTypeRepository {
|
|
37 |
$post_types[$type->name]->np_enabled = ( array_key_exists($type->name, $this->enabledPostTypes()) ) ? true : false;
|
38 |
$post_types[$type->name]->replace_menu = $this->overrideMenu($type->name);
|
39 |
$post_types[$type->name]->hide_default = $this->hideDefault($type->name);
|
|
|
40 |
}
|
41 |
return $post_types;
|
42 |
}
|
@@ -75,6 +76,22 @@ class PostTypeRepository {
|
|
75 |
}
|
76 |
}
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
|
79 |
/**
|
80 |
* Get an array of NP enabled Post Types
|
37 |
$post_types[$type->name]->np_enabled = ( array_key_exists($type->name, $this->enabledPostTypes()) ) ? true : false;
|
38 |
$post_types[$type->name]->replace_menu = $this->overrideMenu($type->name);
|
39 |
$post_types[$type->name]->hide_default = $this->hideDefault($type->name);
|
40 |
+
$post_types[$type->name]->disable_nesting = $this->disableNesting($type->name);
|
41 |
}
|
42 |
return $post_types;
|
43 |
}
|
76 |
}
|
77 |
}
|
78 |
|
79 |
+
/**
|
80 |
+
* Is nesting disabled on the specified post type
|
81 |
+
* @param string post type name
|
82 |
+
* @return boolean
|
83 |
+
*/
|
84 |
+
public function disableNesting($post_type)
|
85 |
+
{
|
86 |
+
foreach($this->enabledPostTypes() as $key => $type){
|
87 |
+
if ( $key == $post_type ){
|
88 |
+
return ( isset($type['disable_nesting']) && $type['disable_nesting'] == 'true' )
|
89 |
+
? true
|
90 |
+
: false;
|
91 |
+
}
|
92 |
+
}
|
93 |
+
}
|
94 |
+
|
95 |
|
96 |
/**
|
97 |
* Get an array of NP enabled Post Types
|
app/Entities/PostType/RegisterPostTypes.php
CHANGED
@@ -27,10 +27,10 @@ class RegisterPostTypes {
|
|
27 |
'labels' => $labels,
|
28 |
'public' => false,
|
29 |
'show_ui' => false,
|
30 |
-
'
|
31 |
'capability_type' => 'post',
|
32 |
'hierarchical' => true,
|
33 |
-
'has_archive' =>
|
34 |
'supports' => array('title','editor'),
|
35 |
'rewrite' => array('slug' => 'np-redirect', 'with_front' => false)
|
36 |
);
|
27 |
'labels' => $labels,
|
28 |
'public' => false,
|
29 |
'show_ui' => false,
|
30 |
+
'exclude_from_search' => true,
|
31 |
'capability_type' => 'post',
|
32 |
'hierarchical' => true,
|
33 |
+
'has_archive' => false,
|
34 |
'supports' => array('title','editor'),
|
35 |
'rewrite' => array('slug' => 'np-redirect', 'with_front' => false)
|
36 |
);
|
app/Entities/User/UserRepository.php
CHANGED
@@ -76,12 +76,23 @@ class UserRepository {
|
|
76 |
}
|
77 |
|
78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
/**
|
80 |
* Update User's Visible Pages
|
81 |
*/
|
82 |
public function updateVisiblePages($post_type, $ids)
|
83 |
{
|
84 |
-
$visible =
|
85 |
$visible[$post_type] = $ids;
|
86 |
update_user_meta(
|
87 |
get_current_user_id(),
|
76 |
}
|
77 |
|
78 |
|
79 |
+
/**
|
80 |
+
* Get User's Visible Pages
|
81 |
+
* @since 1.3.4
|
82 |
+
* @return array - array of pages user has toggled visible
|
83 |
+
*/
|
84 |
+
public function getVisiblePages()
|
85 |
+
{
|
86 |
+
return unserialize(get_user_meta(get_current_user_id(), 'np_visible_posts', true));
|
87 |
+
}
|
88 |
+
|
89 |
+
|
90 |
/**
|
91 |
* Update User's Visible Pages
|
92 |
*/
|
93 |
public function updateVisiblePages($post_type, $ids)
|
94 |
{
|
95 |
+
$visible = $this->getVisiblePages();
|
96 |
$visible[$post_type] = $ids;
|
97 |
update_user_meta(
|
98 |
get_current_user_id(),
|
app/Form/FormActionFactory.php
CHANGED
@@ -38,7 +38,8 @@ class FormActionFactory {
|
|
38 |
'wp_ajax_npgetTaxonomies',
|
39 |
'wp_ajax_npnewChild',
|
40 |
'admin_post_npListingSort',
|
41 |
-
'wp_ajax_npEmptyTrash'
|
|
|
42 |
);
|
43 |
$this->setHandlers();
|
44 |
}
|
38 |
'wp_ajax_npgetTaxonomies',
|
39 |
'wp_ajax_npnewChild',
|
40 |
'admin_post_npListingSort',
|
41 |
+
'wp_ajax_npEmptyTrash',
|
42 |
+
'admin_post_npSearch'
|
43 |
);
|
44 |
$this->setHandlers();
|
45 |
}
|
app/Form/Handlers/BaseHandler.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php namespace NestedPages\Form\Handlers;
|
2 |
|
3 |
-
use NestedPages\Entities\NavMenu\
|
4 |
use NestedPages\Entities\Post\PostRepository;
|
5 |
use NestedPages\Entities\Post\PostUpdateRepository;
|
6 |
use NestedPages\Entities\User\UserRepository;
|
@@ -90,8 +90,7 @@ abstract class BaseHandler {
|
|
90 |
{
|
91 |
if ( $_POST['post_type'] == 'page' ) {
|
92 |
if ( $_POST['syncmenu'] == 'sync' ){
|
93 |
-
$menu = new
|
94 |
-
$menu->clearMenu();
|
95 |
$menu->sync();
|
96 |
update_option('nestedpages_menusync', 'sync');
|
97 |
} else {
|
1 |
<?php namespace NestedPages\Form\Handlers;
|
2 |
|
3 |
+
use NestedPages\Entities\NavMenu\NavMenuSyncListing;
|
4 |
use NestedPages\Entities\Post\PostRepository;
|
5 |
use NestedPages\Entities\Post\PostUpdateRepository;
|
6 |
use NestedPages\Entities\User\UserRepository;
|
90 |
{
|
91 |
if ( $_POST['post_type'] == 'page' ) {
|
92 |
if ( $_POST['syncmenu'] == 'sync' ){
|
93 |
+
$menu = new NavMenuSyncListing;
|
|
|
94 |
$menu->sync();
|
95 |
update_option('nestedpages_menusync', 'sync');
|
96 |
} else {
|
app/Form/Handlers/QuickEditHandler.php
CHANGED
@@ -61,6 +61,7 @@ class QuickEditHandler extends BaseHandler {
|
|
61 |
*/
|
62 |
private function addData()
|
63 |
{
|
|
|
64 |
$this->data['nav_status'] = ( isset($this->data['nav_status']) ) ? 'hide' : 'show';
|
65 |
$this->data['np_status'] = ( isset($this->data['nested_pages_status']) ) ? 'hide' : 'show';
|
66 |
$this->data['link_target'] = ( isset($this->data['link_target']) ) ? '_blank' : 'none';
|
61 |
*/
|
62 |
private function addData()
|
63 |
{
|
64 |
+
$this->data['author_name'] = get_the_author_meta('display_name', $this->data['post_author']);
|
65 |
$this->data['nav_status'] = ( isset($this->data['nav_status']) ) ? 'hide' : 'show';
|
66 |
$this->data['np_status'] = ( isset($this->data['nested_pages_status']) ) ? 'hide' : 'show';
|
67 |
$this->data['link_target'] = ( isset($this->data['link_target']) ) ? '_blank' : 'none';
|
app/Form/Handlers/SearchHandler.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php namespace NestedPages\Form\Handlers;
|
2 |
+
|
3 |
+
class SearchHandler extends BaseHandler {
|
4 |
+
|
5 |
+
/**
|
6 |
+
* URL to redirect to
|
7 |
+
* @var string
|
8 |
+
*/
|
9 |
+
private $url;
|
10 |
+
|
11 |
+
|
12 |
+
public function __construct()
|
13 |
+
{
|
14 |
+
parent::__construct();
|
15 |
+
$this->setURL();
|
16 |
+
$this->redirect();
|
17 |
+
}
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Set the URL
|
21 |
+
*/
|
22 |
+
private function setURL()
|
23 |
+
{
|
24 |
+
$this->url = sanitize_text_field($_POST['page']) . '&search=' . sanitize_text_field($_POST['search_term']);
|
25 |
+
}
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Redirect to new URL
|
29 |
+
*/
|
30 |
+
private function redirect()
|
31 |
+
{
|
32 |
+
header('Location:' . $this->url);
|
33 |
+
}
|
34 |
+
|
35 |
+
}
|
app/Helpers.php
CHANGED
@@ -11,9 +11,7 @@ class Helpers {
|
|
11 |
*/
|
12 |
public static function check_url($url)
|
13 |
{
|
14 |
-
|
15 |
-
if (empty($parsed['scheme'])) $url = 'http://' . ltrim($url, '/');
|
16 |
-
return $url;
|
17 |
}
|
18 |
|
19 |
|
11 |
*/
|
12 |
public static function check_url($url)
|
13 |
{
|
14 |
+
return esc_url($url);
|
|
|
|
|
15 |
}
|
16 |
|
17 |
|
app/NestedPages.php
CHANGED
@@ -12,8 +12,8 @@ class NestedPages {
|
|
12 |
$np_env = 'live';
|
13 |
|
14 |
global $np_version;
|
15 |
-
$np_version = '1.3.
|
16 |
|
17 |
-
$app = new NestedPages\Bootstrap;
|
18 |
}
|
19 |
}
|
12 |
$np_env = 'live';
|
13 |
|
14 |
global $np_version;
|
15 |
+
$np_version = '1.3.4';
|
16 |
|
17 |
+
if ( is_admin() ) $app = new NestedPages\Bootstrap;
|
18 |
}
|
19 |
}
|
app/Redirects.php
CHANGED
@@ -46,7 +46,8 @@ class Redirects {
|
|
46 |
*/
|
47 |
public function linkDeleted($post_id)
|
48 |
{
|
49 |
-
|
|
|
50 |
$redirect = add_query_arg(array('page'=>'nestedpages', 'linkdeleted' => true, '_wpnonce' => false, 'post' => false, 'action'=>false));
|
51 |
wp_redirect($redirect);
|
52 |
exit();
|
46 |
*/
|
47 |
public function linkDeleted($post_id)
|
48 |
{
|
49 |
+
$screen = get_current_screen();
|
50 |
+
if ( (get_post_type($post_id) == 'np-redirect') && ($screen->id == 'np-redirect') ){
|
51 |
$redirect = add_query_arg(array('page'=>'nestedpages', 'linkdeleted' => true, '_wpnonce' => false, 'post' => false, 'action'=>false));
|
52 |
wp_redirect($redirect);
|
53 |
exit();
|
app/Views/forms/empty-trash-modal.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Modal for confirming trash empty
|
4 |
+
*/
|
5 |
+
?>
|
6 |
+
<div class="np-modal fade np-trash-modal" id="np-trash-modal">
|
7 |
+
<div class="modal-dialog">
|
8 |
+
<div class="modal-content">
|
9 |
+
<div class="modal-body">
|
10 |
+
<p>Are you sure you would like to empty the trash? This action is not reversable.</p>
|
11 |
+
<a href="#" class="np-cancel-trash button modal-close" data-dismiss="modal"><?php _e('Cancel', 'nestedpages'); ?></a>
|
12 |
+
<a href="#" class="np-trash-confirm button-primary"><?php _e('Empty Trash', 'nestedpages'); ?></a>
|
13 |
+
<input type="hidden" id="np-trash-posttype" value="<?php echo $this->post_type->name; ?>">
|
14 |
+
</div>
|
15 |
+
</div><!-- /.modal-content -->
|
16 |
+
</div><!-- /.modal-dialog -->
|
17 |
+
</div><!-- /.modal -->
|
app/Views/forms/quickedit-link.php
CHANGED
@@ -39,7 +39,7 @@
|
|
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="" />
|
39 |
|
40 |
<div class="right">
|
41 |
|
42 |
+
<?php if ( $this->user->canSortPages() && !$this->isSearch() ) : // 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="" />
|
app/Views/forms/quickedit-post.php
CHANGED
@@ -131,7 +131,7 @@
|
|
131 |
|
132 |
|
133 |
<div class="form-control np-toggle-options">
|
134 |
-
<?php if ( $this->user->canSortPages() && $this->post_type->name == 'page' ) : ?>
|
135 |
<a href="#" class="np-btn np-btn-half np-toggle-menuoptions"><?php _e('Menu Options', 'nestedpages'); ?></a>
|
136 |
<?php endif; ?>
|
137 |
|
@@ -164,7 +164,7 @@
|
|
164 |
<?php endif; // if taxonomies ?>
|
165 |
|
166 |
|
167 |
-
<?php if ( $this->user->canSortPages() ) : ?>
|
168 |
<div class="np-menuoptions">
|
169 |
<div class="menuoptions-left">
|
170 |
<div class="form-control">
|
131 |
|
132 |
|
133 |
<div class="form-control np-toggle-options">
|
134 |
+
<?php if ( $this->user->canSortPages() && $this->post_type->name == 'page' && !$this->isSearch() ) : ?>
|
135 |
<a href="#" class="np-btn np-btn-half np-toggle-menuoptions"><?php _e('Menu Options', 'nestedpages'); ?></a>
|
136 |
<?php endif; ?>
|
137 |
|
164 |
<?php endif; // if taxonomies ?>
|
165 |
|
166 |
|
167 |
+
<?php if ( $this->user->canSortPages() && !$this->isSearch() ) : ?>
|
168 |
<div class="np-menuoptions">
|
169 |
<div class="menuoptions-left">
|
170 |
<div class="form-control">
|
app/Views/listing.php
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
<div class="wrap">
|
2 |
-
|
3 |
<h2>
|
4 |
<?php _e($this->post_type->labels->name); ?>
|
5 |
|
@@ -7,13 +6,13 @@
|
|
7 |
<?php _e($this->post_type->labels->add_new); ?>
|
8 |
</a>
|
9 |
|
10 |
-
<?php if ( current_user_can('publish_pages') ) : ?>
|
11 |
<a href="#" class="add-new-h2 open-bulk-modal" title="<?php _e('Add Multiple', 'nestedpages'); ?>" data-parentid="0">
|
12 |
<?php _e('Add Multiple', 'nestedpages'); ?>
|
13 |
</a>
|
14 |
<?php endif; ?>
|
15 |
|
16 |
-
<?php if ( current_user_can('publish_pages') && $this->post_type->name == 'page' ) : ?>
|
17 |
<a href="#" class="add-new-h2 open-redirect-modal" title="<?php _e('Add Link', 'nestedpages'); ?>" data-parentid="0">
|
18 |
<?php _e('Add Link', 'nestedpages'); ?>
|
19 |
</a>
|
@@ -25,13 +24,13 @@
|
|
25 |
<div id="message" class="updated below-h2"><p><?php echo $this->confirmation->getMessage(); ?></p></div>
|
26 |
<?php endif; ?>
|
27 |
|
28 |
-
<?php if ( $this->post_type->hierarchical ) : ?>
|
29 |
<ul class="nestedpages-toggleall" <?php if ( $this->confirmation->getMessage() ) echo 'style="margin-top:0"';?>>
|
30 |
<li><a href="#" class="np-btn" data-toggle="closed"><?php _e('Expand All', 'nestedpages'); ?></a></li>
|
31 |
</ul>
|
32 |
<?php endif; ?>
|
33 |
|
34 |
-
<?php if ( current_user_can('edit_theme_options') && $this->post_type->name == 'page' ) : ?>
|
35 |
<div class="np-sync-menu-cont" <?php if ( $this->confirmation->getMessage() ) echo 'style="margin-top:2px;"';?>>
|
36 |
<label>
|
37 |
<input type="checkbox" name="np_sync_menu" class="np-sync-menu" value="sync" <?php if ( get_option('nestedpages_menusync') == 'sync' ) echo 'checked'; ?>/> <?php _e('Sync Menu', 'nestedpages'); ?>
|
@@ -39,7 +38,7 @@
|
|
39 |
</div>
|
40 |
<?php endif; ?>
|
41 |
|
42 |
-
<img src="<?php echo plugins_url(); ?>/wp-nested-pages/assets/images/
|
43 |
|
44 |
<?php include(NestedPages\Helpers::view('partials/tool-list')); ?>
|
45 |
|
@@ -66,5 +65,6 @@
|
|
66 |
|
67 |
</div><!-- .wrap -->
|
68 |
|
|
|
69 |
<?php include( NestedPages\Helpers::view('forms/link-form') ); ?>
|
70 |
<?php include( NestedPages\Helpers::view('forms/bulk-add') ); ?>
|
1 |
<div class="wrap">
|
|
|
2 |
<h2>
|
3 |
<?php _e($this->post_type->labels->name); ?>
|
4 |
|
6 |
<?php _e($this->post_type->labels->add_new); ?>
|
7 |
</a>
|
8 |
|
9 |
+
<?php if ( current_user_can('publish_pages') && !$this->isSearch() ) : ?>
|
10 |
<a href="#" class="add-new-h2 open-bulk-modal" title="<?php _e('Add Multiple', 'nestedpages'); ?>" data-parentid="0">
|
11 |
<?php _e('Add Multiple', 'nestedpages'); ?>
|
12 |
</a>
|
13 |
<?php endif; ?>
|
14 |
|
15 |
+
<?php if ( current_user_can('publish_pages') && $this->post_type->name == 'page' && !$this->isSearch() ) : ?>
|
16 |
<a href="#" class="add-new-h2 open-redirect-modal" title="<?php _e('Add Link', 'nestedpages'); ?>" data-parentid="0">
|
17 |
<?php _e('Add Link', 'nestedpages'); ?>
|
18 |
</a>
|
24 |
<div id="message" class="updated below-h2"><p><?php echo $this->confirmation->getMessage(); ?></p></div>
|
25 |
<?php endif; ?>
|
26 |
|
27 |
+
<?php if ( $this->post_type->hierarchical && !$this->isSearch() ) : ?>
|
28 |
<ul class="nestedpages-toggleall" <?php if ( $this->confirmation->getMessage() ) echo 'style="margin-top:0"';?>>
|
29 |
<li><a href="#" class="np-btn" data-toggle="closed"><?php _e('Expand All', 'nestedpages'); ?></a></li>
|
30 |
</ul>
|
31 |
<?php endif; ?>
|
32 |
|
33 |
+
<?php if ( current_user_can('edit_theme_options') && $this->post_type->name == 'page' && !$this->isSearch() ) : ?>
|
34 |
<div class="np-sync-menu-cont" <?php if ( $this->confirmation->getMessage() ) echo 'style="margin-top:2px;"';?>>
|
35 |
<label>
|
36 |
<input type="checkbox" name="np_sync_menu" class="np-sync-menu" value="sync" <?php if ( get_option('nestedpages_menusync') == 'sync' ) echo 'checked'; ?>/> <?php _e('Sync Menu', 'nestedpages'); ?>
|
38 |
</div>
|
39 |
<?php endif; ?>
|
40 |
|
41 |
+
<img src="<?php echo plugins_url(); ?>/wp-nested-pages/assets/images/spinner-2x.gif" alt="loading" id="nested-loading" />
|
42 |
|
43 |
<?php include(NestedPages\Helpers::view('partials/tool-list')); ?>
|
44 |
|
65 |
|
66 |
</div><!-- .wrap -->
|
67 |
|
68 |
+
<?php include( NestedPages\Helpers::view('forms/empty-trash-modal') ); ?>
|
69 |
<?php include( NestedPages\Helpers::view('forms/link-form') ); ?>
|
70 |
<?php include( NestedPages\Helpers::view('forms/bulk-add') ); ?>
|
app/Views/partials/row-link.php
CHANGED
@@ -3,13 +3,20 @@
|
|
3 |
* Redirect Page
|
4 |
*/
|
5 |
?>
|
6 |
-
<div class="row"
|
|
|
|
|
7 |
<div class="child-toggle"></div>
|
|
|
|
|
8 |
<div class="row-inner">
|
|
|
9 |
<i class="np-icon-sub-menu"></i>
|
10 |
-
|
|
|
11 |
<i class="handle np-icon-menu"></i>
|
12 |
<?php endif; ?>
|
|
|
13 |
<a href="<?php echo NestedPages\Helpers::check_url($this->post->content); ?>" class="page-link page-title" target="_blank">
|
14 |
<span class="title"><?php echo $this->post->title ?> <i class="np-icon-link"></i></span>
|
15 |
<?php
|
3 |
* Redirect Page
|
4 |
*/
|
5 |
?>
|
6 |
+
<div class="row" <?php if ( $this->isSearch() ) echo 'style="padding-left:10px;"';?>>
|
7 |
+
|
8 |
+
<?php if ( $this->post_type->hierarchical && !$this->isSearch() ) : ?>
|
9 |
<div class="child-toggle"></div>
|
10 |
+
<?php endif; ?>
|
11 |
+
|
12 |
<div class="row-inner">
|
13 |
+
|
14 |
<i class="np-icon-sub-menu"></i>
|
15 |
+
|
16 |
+
<?php if ( $this->user->canSortPages() && !$this->isSearch() ) : ?>
|
17 |
<i class="handle np-icon-menu"></i>
|
18 |
<?php endif; ?>
|
19 |
+
|
20 |
<a href="<?php echo NestedPages\Helpers::check_url($this->post->content); ?>" class="page-link page-title" target="_blank">
|
21 |
<span class="title"><?php echo $this->post->title ?> <i class="np-icon-link"></i></span>
|
22 |
<?php
|
app/Views/partials/row.php
CHANGED
@@ -3,16 +3,16 @@
|
|
3 |
* Row represents a single page
|
4 |
*/
|
5 |
?>
|
6 |
-
<div class="row<?php if ( !$this->post_type->hierarchical ) echo ' non-hierarchical'; ?>"
|
7 |
|
8 |
-
<?php if ( $this->post_type->hierarchical ) : ?>
|
9 |
<div class="child-toggle"></div>
|
10 |
<?php endif; ?>
|
11 |
|
12 |
<div class="row-inner">
|
13 |
<i class="np-icon-sub-menu"></i>
|
14 |
|
15 |
-
<?php if ( $this->user->canSortPages() ) : ?>
|
16 |
<i class="handle np-icon-menu"></i>
|
17 |
<?php endif; ?>
|
18 |
|
@@ -59,7 +59,7 @@
|
|
59 |
<?php if ( !$this->post->hierarchical ) : echo $this->post->hierarchical; ?>
|
60 |
<div class="np-post-columns">
|
61 |
<ul class="np-post-info">
|
62 |
-
<li><?php echo $this->post->author; ?></li>
|
63 |
<li><?php echo get_the_date(); ?></li>
|
64 |
</ul>
|
65 |
</div>
|
@@ -78,7 +78,7 @@
|
|
78 |
<?php else : $cs = 'closed'; endif; ?>
|
79 |
|
80 |
|
81 |
-
<?php if ( current_user_can('publish_pages') && $this->post_type->hierarchical ) : ?>
|
82 |
|
83 |
<a href="#" class="np-btn open-redirect-modal" data-parentid="<?php echo $this->post->id; ?>"><i class="np-icon-link"></i></a>
|
84 |
|
3 |
* Row represents a single page
|
4 |
*/
|
5 |
?>
|
6 |
+
<div class="row<?php if ( !$this->post_type->hierarchical ) echo ' non-hierarchical'; ?>" <?php if ( $this->isSearch() ) echo 'style="padding-left:10px;"';?>>
|
7 |
|
8 |
+
<?php if ( $this->post_type->hierarchical && !$this->isSearch() ) : ?>
|
9 |
<div class="child-toggle"></div>
|
10 |
<?php endif; ?>
|
11 |
|
12 |
<div class="row-inner">
|
13 |
<i class="np-icon-sub-menu"></i>
|
14 |
|
15 |
+
<?php if ( $this->user->canSortPages() && !$this->isSearch() ) : ?>
|
16 |
<i class="handle np-icon-menu"></i>
|
17 |
<?php endif; ?>
|
18 |
|
59 |
<?php if ( !$this->post->hierarchical ) : echo $this->post->hierarchical; ?>
|
60 |
<div class="np-post-columns">
|
61 |
<ul class="np-post-info">
|
62 |
+
<li><span class="np-author-display"><?php echo $this->post->author; ?></span></li>
|
63 |
<li><?php echo get_the_date(); ?></li>
|
64 |
</ul>
|
65 |
</div>
|
78 |
<?php else : $cs = 'closed'; endif; ?>
|
79 |
|
80 |
|
81 |
+
<?php if ( current_user_can('publish_pages') && $this->post_type->hierarchical && !$this->isSearch() ) : ?>
|
82 |
|
83 |
<a href="#" class="np-btn open-redirect-modal" data-parentid="<?php echo $this->post->id; ?>"><i class="np-icon-link"></i></a>
|
84 |
|
app/Views/partials/tool-list.php
CHANGED
@@ -32,7 +32,6 @@
|
|
32 |
<?php endif; ?>
|
33 |
</ul>
|
34 |
|
35 |
-
|
36 |
<?php if ( !$this->post_type->hierarchical ) : ?>
|
37 |
<div class="np-tools-primary">
|
38 |
<form action="<?php echo admin_url('admin-post.php'); ?>" method="post" class="np-tools-sort">
|
@@ -91,10 +90,20 @@
|
|
91 |
<input type="submit" id="nestedpages-sort" class="button" value="Apply">
|
92 |
</div>
|
93 |
</form>
|
94 |
-
<div class="np-tools-search">
|
95 |
-
<input type="search" id="nestedpages-search" placeholder="<?php echo $this->post_type->labels->search_items; ?>">
|
96 |
-
</div><!-- .np-tools-search -->
|
97 |
</div>
|
98 |
<?php endif; ?>
|
99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
</div><!-- .nestedpages-tools -->
|
32 |
<?php endif; ?>
|
33 |
</ul>
|
34 |
|
|
|
35 |
<?php if ( !$this->post_type->hierarchical ) : ?>
|
36 |
<div class="np-tools-primary">
|
37 |
<form action="<?php echo admin_url('admin-post.php'); ?>" method="post" class="np-tools-sort">
|
90 |
<input type="submit" id="nestedpages-sort" class="button" value="Apply">
|
91 |
</div>
|
92 |
</form>
|
|
|
|
|
|
|
93 |
</div>
|
94 |
<?php endif; ?>
|
95 |
|
96 |
+
|
97 |
+
<div class="np-tools-search">
|
98 |
+
<form action="<?php echo admin_url('admin-post.php'); ?>" method="post">
|
99 |
+
<input type="hidden" name="action" value="npSearch">
|
100 |
+
<input type="hidden" name="posttype" value="<?php echo $this->post_type->name; ?>">
|
101 |
+
<input type="hidden" name="page" value="<?php echo $this->pageURL(); ?>">
|
102 |
+
<?php wp_nonce_field('nestedpages-nonce', 'nonce'); ?>
|
103 |
+
<input type="search" name="search_term" id="nestedpages-search" placeholder="<?php echo $this->post_type->labels->search_items; ?>" <?php if ( $this->isSearch() ) echo ' value="' . sanitize_text_field($_GET['search']) . '"'; ?>>
|
104 |
+
<input type="submit" name="" class="button" value="<?php echo $this->post_type->labels->search_items;?>">
|
105 |
+
</form>
|
106 |
+
</div><!-- .np-tools-search -->
|
107 |
+
|
108 |
+
|
109 |
</div><!-- .nestedpages-tools -->
|
app/Views/settings/settings-posttypes.php
CHANGED
@@ -16,6 +16,7 @@ settings_fields( 'nestedpages-posttypes' );
|
|
16 |
<th><?php _e('Enabled', 'nestedpages'); ?></th>
|
17 |
<th><?php _e('Replace Default Menu', 'nestedpages'); ?>*</th>
|
18 |
<th><?php _e('Hide Default Link', 'nestedpages'); ?>*</th>
|
|
|
19 |
</thead>
|
20 |
<?php foreach ($types as $type) : ?>
|
21 |
<tr>
|
@@ -34,6 +35,11 @@ settings_fields( 'nestedpages-posttypes' );
|
|
34 |
<td>
|
35 |
<input type="checkbox" name="nestedpages_posttypes[<?php echo $type->name; ?>][hide_default]" value="true" <?php if ( $type->hide_default ) echo 'checked'; ?> />
|
36 |
</td>
|
|
|
|
|
|
|
|
|
|
|
37 |
</tr>
|
38 |
<?php endforeach; ?>
|
39 |
</table>
|
@@ -41,11 +47,14 @@ settings_fields( 'nestedpages-posttypes' );
|
|
41 |
</tr>
|
42 |
<tr valign="top">
|
43 |
<td colspan="2" style="padding:10px 0px;">
|
44 |
-
<p style="font-style:oblique;font-size:13px;">
|
45 |
<?php _e('Note: Nesting features not enabled for non-hierarchical post types.', 'nestedpages'); ?>
|
46 |
</p>
|
47 |
-
<p style="font-
|
48 |
*<?php _e('If default menu is not replaced, an additional submenu item will be added for "Nested/Sort View"', 'nestedpages'); ?>
|
49 |
</p>
|
|
|
|
|
|
|
50 |
</td>
|
51 |
</tr>
|
16 |
<th><?php _e('Enabled', 'nestedpages'); ?></th>
|
17 |
<th><?php _e('Replace Default Menu', 'nestedpages'); ?>*</th>
|
18 |
<th><?php _e('Hide Default Link', 'nestedpages'); ?>*</th>
|
19 |
+
<th><?php _e('Disable Nesting', 'nestedpages'); ?>**</th>
|
20 |
</thead>
|
21 |
<?php foreach ($types as $type) : ?>
|
22 |
<tr>
|
35 |
<td>
|
36 |
<input type="checkbox" name="nestedpages_posttypes[<?php echo $type->name; ?>][hide_default]" value="true" <?php if ( $type->hide_default ) echo 'checked'; ?> />
|
37 |
</td>
|
38 |
+
<td>
|
39 |
+
<?php if ( $type->hierarchical ) : ?>
|
40 |
+
<input type="checkbox" name="nestedpages_posttypes[<?php echo $type->name; ?>][disable_nesting]" value="true" <?php if ( $type->disable_nesting ) echo 'checked '; ?>/>
|
41 |
+
<?php endif; ?>
|
42 |
+
</td>
|
43 |
</tr>
|
44 |
<?php endforeach; ?>
|
45 |
</table>
|
47 |
</tr>
|
48 |
<tr valign="top">
|
49 |
<td colspan="2" style="padding:10px 0px;">
|
50 |
+
<p style="font-style:oblique;font-size:13px;margin-bottom:15px;">
|
51 |
<?php _e('Note: Nesting features not enabled for non-hierarchical post types.', 'nestedpages'); ?>
|
52 |
</p>
|
53 |
+
<p style="font-size:12px;margin-bottom:15px;">
|
54 |
*<?php _e('If default menu is not replaced, an additional submenu item will be added for "Nested/Sort View"', 'nestedpages'); ?>
|
55 |
</p>
|
56 |
+
<p style="font-size:12px;">
|
57 |
+
**<?php _e('<strong>Important:</strong> Changing page structures on live sites may effect SEO and existing inbound links. Limit URL structure changes on live sites by disabling nesting. Sorting within the current nesting structure will still be available. If nesting changes are made to a live site, it may help to add a 301 redirect from the old location to the new one.', 'nestedpages'); ?>
|
58 |
+
</p>
|
59 |
</td>
|
60 |
</tr>
|
assets/banner-772x250.png
DELETED
Binary file
|
assets/css/nestedpages.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body{-webkit-animation-delay:0.1s;-webkit-animation-name:fontfix;-webkit-animation-duration:0.1s;-webkit-animation-iteration-count:1;-webkit-animation-timing-function:linear;}@-webkit-keyframes fontfix{from{opacity:1;}to{opacity:1;}}@font-face{font-family:'nestedpages';src:url('fonts/nestedpages.eot');}@font-face{font-family:'nestedpages';src:url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjB2gAAAC8AAAAYGNtYXDw7eamAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZrIqLaoAAAF4AAARNGhlYWQCOg/3AAASrAAAADZoaGVhA+IB+QAAEuQAAAAkaG10eCkAA2cAABMIAAAAYGxvY2EhfhzgAAATaAAAADJtYXhwACAA8QAAE5wAAAAgbmFtZXH7qkgAABO8AAABaXBvc3QAAwAAAAAVKAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADwsgHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEAEAAAAAMAAgAAgAEAAEAIOYS8LL//f//AAAAAAAg5gDwsv/9//8AAf/jGgQPZQADAAEAAAAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABADMARgHNAXoACQAANzM1Fwc1ITUzFWbng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AHkAIABJAGMAbwBNAG8AbwBuAC4AAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('woff');font-weight:normal;font-style:normal;}[class^="np-icon-"],[class*=" np-icon-"]{font-family:'nestedpages';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.np-icon-no:before{content:"\e601";}.np-icon-yes:before{content:"\e602";}.np-icon-menu:before{content:"\e603";}.np-icon-arrow-down:before{content:"\e604";}.np-icon-arrow-right:before{content:"\e605";}.np-icon-sub-menu:before{content:"\e600";}.np-icon-arrows-alt:before{content:"\f0b2";}.np-icon-pencil:before{content:"\e608";}.np-icon-bubble:before{content:"\e607";}.np-icon-lock:before{content:"\e609";}.np-icon-remove:before{content:"\e60a";}.np-icon-list:before{content:"\e60d";}.np-icon-menu2:before{content:"\e606";}.np-icon-link:before{content:"\e612";}.np-icon-eye:before{content:"\e60b";}.np-icon-eye-blocked:before{content:"\e60c";}.np-icon-mail:before{content:"\e60e";}.np-icon-github:before{content:"\e60f";}.np-icon-wordpress:before{content:"\e610";}.np-icon-linkedin:before{content:"\e611";}.np-btn,.np-toggle-edit{text-decoration:none;color:#555;display:inline-block;background-color:#f7f7f7;border:1px solid #e1e1e1;padding:3px 8px;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0, 0, 0, 0.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0, 0, 0, 0.08);-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;}.np-btn:hover,.np-toggle-edit:hover{background-color:#0074a2;color:#ffffff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.25),0 1px 0 rgba(0, 0, 0, 0.08);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.25),0 1px 0 rgba(0, 0, 0, 0.08);border-color:#0074a2;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;}.np-btn-half{float:left;width:47%;padding:3px 0px;text-align:center;}.np-btn-half.btn-right{float:right;}.np-btn-trash{background-color:#e14d43;border-color:#e14d43;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.3),0 1px 0 rgba(0, 0, 0, 0.08);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.3),0 1px 0 rgba(0, 0, 0, 0.08);color:#ffffff;}.np-btn-trash:hover{background-color:#ba251e;border-color:#ba251e;}.np-toggle-edit{display:none;float:right;margin-right:10px;}.np-toggle-edit.active{background-color:#0074a2;color:#ffffff;-webkit-box-shadow:none;box-shadow:none;border-color:#0074a2;}@media (max-width: 767px){.np-toggle-edit{display:inline-block;}}.np-quickedit-error{border-left:4px solid #dd3d36;padding:4px 0 4px 8px;margin-bottom:10px;background-color:#f9f9f9;}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;opacity:0.85;}.modal-open{overflow:hidden;}.np-modal{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999;-webkit-overflow-scrolling:touch;outline:0;}.np-modal.fade .modal-dialog{-webkit-transform:translate(0, -25%);-ms-transform:translate(0, -25%);-o-transform:translate(0, -25%);transform:translate(0, -25%);-webkit-transition:-webkit-transform 0.3s ease-out;-o-transition:-o-transform 0.3s ease-out;transition:transform 0.3s ease-out;}.np-modal.in .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0);}.np-modal .modal-open .modal{overflow-x:hidden;overflow-y:auto;}.np-modal .modal-dialog{position:relative;width:auto;margin:10px auto 0px auto;max-width:500px;}.np-modal .modal-content{position:relative;background-color:#ffffff;-webkit-box-shadow:0 3px 9px rgba(0, 0, 0, 0.5);box-shadow:0 3px 9px rgba(0, 0, 0, 0.5);-webkit-background-clip:padding-box;background-clip:padding-box;outline:0;}.np-modal .modal-header{padding:8px;background-color:#ebebeb;}.np-modal .modal-header .sr-only{display:none;}.np-modal .modal-header .close{margin-top:-2px;}.np-modal .modal-title{margin:0;}.np-modal .modal-body{position:relative;padding:10px;}.np-modal .modal-body.new-child{padding:0;}.np-modal .modal-footer{padding:10px;text-align:right;background-color:#404040;zoom:1;}.np-modal .modal-footer:before,.np-modal .modal-footer:after{content:" ";display:table;}.np-modal .modal-footer:after{clear:both;}.np-modal .modal-footer .modal-close{float:left;}.np-modal .modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll;}.np-inline-overlay{position:fixed;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.4);z-index:998;top:0;right:0;bottom:0;left:0;opacity:0;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;}.np-inline-overlay.active{opacity:1;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;}.np-inline-modal{position:relative;z-index:999;background-color:#ffffff;-webkit-border-radius:0;border-radius:0;-webkit-box-shadow:0px 0px 4px 0px rgba(0, 0, 0, 0.5);box-shadow:0px 0px 4px 0px rgba(0, 0, 0, 0.5);}.nestedpages-toggleall{float:right;margin-top:-30px;}.np-toggle-publish{color:#999999;}.np-toggle-publish.active{color:#333;font-weight:bold;}.np-sync-menu-cont{float:right;margin:-27px 15px 0px 0px;}#nested-loading{display:none;float:right;width:30px;margin:-31px 120px 0 0;}.np-tabs{background-color:#ebebeb;padding:0px;}.np-tabs ul{text-align:left;list-style-type:none;margin:0;padding:0;}.np-tabs ul li{display:inline-block;margin:0;}.np-tabs ul li a{display:block;text-decoration:none;padding:5px 10px;}.np-tabs ul li a.active{position:relative;color:#333;background-color:#ffffff;}.nestedpages-datepicker{background-color:#ffffff;font-size:90%;-webkit-box-shadow:0px 0px 3px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 3px 0px rgba(0, 0, 0, 0.4);-webkit-border-radius:3px;border-radius:3px;}.nestedpages-datepicker .ui-datepicker-next,.nestedpages-datepicker .ui-datepicker-prev{position:absolute;color:#ffffff;top:0px;right:0px;cursor:pointer;display:block;width:35px;height:35px;font-size:0;background:url('../images/datepicker-arrow-next.png');background-position:center;opacity:1;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;}.nestedpages-datepicker .ui-datepicker-next:hover,.nestedpages-datepicker .ui-datepicker-prev:hover{opacity:0.5;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;}.nestedpages-datepicker .ui-datepicker-prev{right:auto;left:0px;background:url('../images/datepicker-arrow-prev.png');}.nestedpages-datepicker .ui-datepicker-title{background-color:#1a1a1a;text-align:center;color:#ffffff;height:35px;line-height:35px;-webkit-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;}.nestedpages-datepicker .ui-datepicker-calendar{border-collapse:collapse;}.nestedpages-datepicker .ui-datepicker-calendar th,.nestedpages-datepicker .ui-datepicker-calendar td{text-align:center;width:30px;height:30px;}.nestedpages-datepicker .ui-datepicker-calendar th{background-color:#e6e6e6;text-transform:uppercase;font-size:11px;letter-spacing:1px;}.nestedpages-datepicker .ui-datepicker-calendar td{border-top:1px solid #ebebeb;border-left:1px solid #ebebeb;}.nestedpages-datepicker .ui-datepicker-calendar td:first-child{border-left:0;}.nestedpages-datepicker .ui-datepicker-calendar a{text-decoration:none;color:#333;display:block;background-color:#ffffff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;width:30px;height:30px;line-height:30px;}.nestedpages-datepicker .ui-datepicker-calendar a.ui-state-active{background-color:#1a1a1a;color:#ffffff;}.nestedpages-datepicker .ui-datepicker-calendar a:hover{background-color:#333;color:#ffffff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;}.nestedpages-tools{zoom:1;clear:both;margin-bottom:5px;}.nestedpages-tools:before,.nestedpages-tools:after{content:" ";display:table;}.nestedpages-tools:after{clear:both;}.nestedpages-tools .subsubsub{margin:0;}.nestedpages-tools .np-tools-primary{clear:left;padding-top:8px;}.nestedpages-tools .select{float:left;margin-left:5px;}.nestedpages-tools .select.first{margin-left:0;}.nestedpages-tools .np-tools-sort{float:left;}.nestedpages-tools .np-tools-search{float:right;}.wppages-handle-expand{float:left;background-color:#f2f2f2;font-size:18px;width:46px;height:46px;margin-right:5px;text-align:center;border-right:1px solid #e1e1e1;}.wppages-handle-expand div{background-color:#ffffff;border:1px solid #e1e1e1;width:24px;height:24px;line-height:24px;-webkit-border-radius:15px;border-radius:15px;margin-top:9px;cursor:pointer;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;}.wppages-handle-expand div:hover{background-color:#0074a2;border-color:#0074a2;color:#ffffff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;}.nestedpages{clear:both;-webkit-border-radius:4px;border-radius:4px;}.nestedpages .ui-sortable-placeholder{display:block !important;position:relative;min-height:46px;border:0;border:1px dashed #0074a2 !important;background-color:#effaff;margin:0;}.nestedpages .ui-sortable-helper{opacity:0.8;-webkit-box-shadow:2px 2px 3px 0px rgba(0, 0, 0, 0.5);box-shadow:2px 2px 3px 0px rgba(0, 0, 0, 0.5);}.nestedpages ol{list-style-type:none;clear:both;margin:0;-webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.06);box-shadow:0 1px 1px rgba(0, 0, 0, 0.06);border:1px solid #e5e5e5;-webkit-border-radius:3px;border-radius:3px;}.nestedpages ol a{text-decoration:none;}.nestedpages ol .page-link{line-height:26px;}.nestedpages ol .page-link .edit-indicator{margin-left:10px;display:none;}.nestedpages ol .page-link .edit-indicator i{font-size:12px;margin-right:3px;}.nestedpages ol .page-link:hover .edit-indicator{display:inline-block;}.nestedpages ol .locked{color:#333;margin-left:20px;}.nestedpages ol .locked em{font-style:normal;}.nestedpages ol .status{color:#999999;margin:0px 10px;}.nestedpages ol .np-icon-eye-blocked{color:#999999;}.nestedpages ol .nav-status{color:#b3b3b3;}.nestedpages ol .np-hide{display:none;}.nestedpages ol .np-seo-indicator{display:block;float:right;width:12px;height:12px;-webkit-border-radius:8px;border-radius:8px;background-color:#999999;margin:6px 10px 0 0;}.nestedpages ol .np-seo-indicator.good{background-color:#7ad03a;}.nestedpages ol .np-seo-indicator.ok{background-color:#ffba00;}.nestedpages ol .np-seo-indicator.poor{background-color:#ee7c1b;}.nestedpages ol .np-seo-indicator.bad{background-color:#dd3d36;}.nestedpages ol .np-seo-indicator.warn{background-color:maroon;}.nestedpages ol .np-seo-indicator.wrong{background-color:red;}.nestedpages ol li{margin:0;border-top:1px solid #e1e1e1;background-color:#0074a2;}.nestedpages ol li.first{border:0;}.nestedpages ol li:first-child{border:0;}.nestedpages ol li.no-border{border:0;}.nestedpages ol ol{display:none;-webkit-border-radius:0;border-radius:0;list-style-type:none;border:0;-webkit-box-shadow:none;box-shadow:none;border-top:1px solid #e1e1e1;}.nestedpages .child-toggle{float:left;margin:-10px 10px 0 0;width:46px;height:46px;background-color:#f0f0f0;text-align:center;}.nestedpages .child-toggle a{display:inline-block;margin-top:7px;width:28px;height:28px;background-color:#ffffff;border:1px solid #e1e1e1;-webkit-border-radius:20px;border-radius:20px;font-size:20px;line-height:30px;color:#333;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;}.nestedpages .child-toggle a i{line-height:26px;}.nestedpages .child-toggle a:hover{background-color:#0074a2;color:#ffffff;border-color:#0074a2;}.nestedpages .handle{display:inline-block;cursor:move;font-size:20px;color:#b3b3b3;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;position:relative;top:3px;}.nestedpages .handle:hover{-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;color:#0074a2;}.nestedpages .np-icon-sub-menu{display:none;color:#999999;position:relative;left:2px;}.nestedpages .handle,.nestedpages .np-icon-sub-menu{width:30px;height:46px;line-height:36px;margin-top:-10px;}.nestedpages li ol .row .np-icon-sub-menu{display:inline-block;}.nestedpages li ol .row .handle{display:none;}.nestedpages li ol .row:hover .np-icon-sub-menu{display:none;}.nestedpages li ol .row:hover .handle{display:inline-block;}.nestedpages .row{background-color:#ffffff;display:block;padding:10px 0px 0px 0px;height:36px;zoom:1;}.nestedpages .row:before,.nestedpages .row:after{content:" ";display:table;}.nestedpages .row:after{clear:both;}.nestedpages .row:hover{background-color:#f0f0f0;}.nestedpages .row.np-updated{background-color:#e9f7df;-webkit-transition:background-color 400ms ease;-o-transition:background-color 400ms ease;transition:background-color 400ms ease;}.nestedpages .row.np-updated-show{background-color:#ffffff;-webkit-transition:background-color 400ms ease;-o-transition:background-color 400ms ease;transition:background-color 400ms ease;}.nestedpages .row.non-hierarchical{padding-left:15px;}.nestedpages ol li ol .row-inner{padding-left:76px;}.nestedpages ol li ol li ol .row-inner{padding-left:96px;}.nestedpages ol li ol li ol li ol .row-inner{padding-left:116px;}.nestedpages ol li ol li ol li ol li ol .row-inner{padding-left:136px;}.nestedpages ol li ol li ol li ol li ol li ol .row-inner{padding-left:156px;}.nestedpages .np-post-columns{float:right;margin:3px 20px 0px 0px;zoom:1;}.nestedpages .np-post-columns:before,.nestedpages .np-post-columns:after{content:" ";display:table;}.nestedpages .np-post-columns:after{clear:both;}.nestedpages .np-post-columns ul li{background:transparent;color:#808080;border:0;float:left;margin-left:8px;padding-left:8px;border-left:1px solid #cccccc;}.nestedpages .np-post-columns ul li:first-child{margin-left:0;padding-left:0;border:0;}.nestedpages .action-buttons{display:none;float:right;margin:0 10px 0 0;}.nestedpages .action-buttons a{margin:0 0 0 -5px;}.nestedpages .action-buttons a.np-btn-trash{margin-left:4px;}.np-search{float:right;}@media (min-width: 768px){.nestedpages .row:hover .action-buttons{display:block;}.nestedpages .row:hover .np-post-columns{display:none;}}@media (max-width: 767px){.nestedpages ol .page-link{line-height:24px;}.nestedpages ol .page-link:hover span{display:none;}.nestedpages ol .locked em{display:none;}.nestedpages .child-toggle{background:transparent;}.nestedpages .row{height:auto;}.nestedpages .action-buttons{display:none;background-color:#0074a2;float:none;margin:0;padding:8px;}.nestedpages .action-buttons a{margin-left:5px;}}.nestedpages .quick-edit .form-interior,.nestedpages .new-child .form-interior{padding:10px;}.nestedpages .quick-edit h3,.nestedpages .new-child h3{margin:0 0 8px 0;font-size:14px;}.nestedpages .quick-edit h3 span,.nestedpages .new-child h3 span{float:right;font-size:12px;}.nestedpages .quick-edit h3 span em,.nestedpages .new-child h3 span em{font-weight:normal;font-style:normal;color:#808080;}.nestedpages .quick-edit .fields,.nestedpages .new-child .fields{margin-bottom:10px;background:url('../images/border.png') repeat-y;background-position:center;zoom:1;}.nestedpages .quick-edit .fields:before,.nestedpages .quick-edit .fields:after,.nestedpages .new-child .fields:before,.nestedpages .new-child .fields:after{content:" ";display:table;}.nestedpages .quick-edit .fields:after,.nestedpages .new-child .fields:after{clear:both;}.nestedpages .quick-edit .left,.nestedpages .new-child .left{float:left;width:48%;}.nestedpages .quick-edit .right,.nestedpages .new-child .right{float:right;width:48%;}.nestedpages .quick-edit label,.nestedpages .new-child label{font-style:oblique;}.nestedpages .quick-edit .buttons,.nestedpages .new-child .buttons{clear:both;zoom:1;background-color:#404040;padding:8px;}.nestedpages .quick-edit .buttons:before,.nestedpages .quick-edit .buttons:after,.nestedpages .new-child .buttons:before,.nestedpages .new-child .buttons:after{content:" ";display:table;}.nestedpages .quick-edit .buttons:after,.nestedpages .new-child .buttons:after{clear:both;}.nestedpages .quick-edit .form-control,.nestedpages .new-child .form-control{clear:both;zoom:1;margin-bottom:5px;}.nestedpages .quick-edit .form-control:before,.nestedpages .quick-edit .form-control:after,.nestedpages .new-child .form-control:before,.nestedpages .new-child .form-control:after{content:" ";display:table;}.nestedpages .quick-edit .form-control:after,.nestedpages .new-child .form-control:after{clear:both;}.nestedpages .quick-edit .form-control input[type='text'],.nestedpages .quick-edit .form-control input[type='password'],.nestedpages .quick-edit .form-control select,.nestedpages .new-child .form-control input[type='text'],.nestedpages .new-child .form-control input[type='password'],.nestedpages .new-child .form-control select{float:right;width:75%;}.nestedpages .quick-edit .form-control label,.nestedpages .new-child .form-control label{float:left;width:20%;}.nestedpages .quick-edit .form-control.password label,.nestedpages .new-child .form-control.password label{width:25%;}.nestedpages .quick-edit .form-control.password input[type="text"],.nestedpages .new-child .form-control.password input[type="text"]{float:left;width:35%;}.nestedpages .quick-edit .form-control.password .private,.nestedpages .new-child .form-control.password .private{float:right;width:35%;margin-top:4px;}.nestedpages .quick-edit .form-control.password .private label,.nestedpages .new-child .form-control.password .private label{width:auto;float:none;}.nestedpages .quick-edit .form-control.np-datepicker-container .datetime,.nestedpages .new-child .form-control.np-datepicker-container .datetime{float:right;width:75%;}.nestedpages .quick-edit .form-control.np-datepicker-container .np-time-container,.nestedpages .new-child .form-control.np-datepicker-container .np-time-container{float:left;width:45%;margin:0;position:relative;}.nestedpages .quick-edit .form-control.np-datepicker-container .np-time-container input[type="text"],.nestedpages .new-child .form-control.np-datepicker-container .np-time-container input[type="text"]{float:left;width:55%;}.nestedpages .quick-edit .form-control.np-datepicker-container .np-time-container select,.nestedpages .new-child .form-control.np-datepicker-container .np-time-container select{float:right;width:35%;}.nestedpages .quick-edit .form-control.np-datepicker-container .np_datepicker,.nestedpages .new-child .form-control.np-datepicker-container .np_datepicker{float:left;width:45%;margin:0;}.nestedpages .quick-edit .form-control.np-datepicker-container span,.nestedpages .new-child .form-control.np-datepicker-container span{float:left;width:10%;display:block;text-align:center;padding-top:3px;}.nestedpages .quick-edit .comments,.nestedpages .new-child .comments{float:right;width:75%;margin-bottom:10px;zoom:1;}.nestedpages .quick-edit .comments:before,.nestedpages .quick-edit .comments:after,.nestedpages .new-child .comments:before,.nestedpages .new-child .comments:after{content:" ";display:table;}.nestedpages .quick-edit .comments:after,.nestedpages .new-child .comments:after{clear:both;}.nestedpages .quick-edit .dates,.nestedpages .new-child .dates{float:right;width:75%;margin-bottom:6px;}.nestedpages .quick-edit .dates select,.nestedpages .new-child .dates select{width:25%;}.nestedpages .quick-edit .dates input,.nestedpages .new-child .dates input{width:12%;}.nestedpages .quick-edit .np-toggle-options,.nestedpages .new-child .np-toggle-options{background-color:#f2f2f2;padding:5px;}.nestedpages .quick-edit .np-taxonomies,.nestedpages .quick-edit .np-menuoptions,.nestedpages .new-child .np-taxonomies,.nestedpages .new-child .np-menuoptions{display:none;clear:both;background-color:#f9f9f9;padding:8px;zoom:1;margin-top:5px;}.nestedpages .quick-edit .np-taxonomies:before,.nestedpages .quick-edit .np-taxonomies:after,.nestedpages .quick-edit .np-menuoptions:before,.nestedpages .quick-edit .np-menuoptions:after,.nestedpages .new-child .np-taxonomies:before,.nestedpages .new-child .np-taxonomies:after,.nestedpages .new-child .np-menuoptions:before,.nestedpages .new-child .np-menuoptions:after{content:" ";display:table;}.nestedpages .quick-edit .np-taxonomies:after,.nestedpages .quick-edit .np-menuoptions:after,.nestedpages .new-child .np-taxonomies:after,.nestedpages .new-child .np-menuoptions:after{clear:both;}.nestedpages .quick-edit .np-taxonomy,.nestedpages .new-child .np-taxonomy{float:left;width:30%;margin-right:3.33%;}.nestedpages .quick-edit .np-taxonomy .title,.nestedpages .new-child .np-taxonomy .title{font-weight:bold;margin-bottom:4px;display:block;}.nestedpages .quick-edit .np-taxonomy li,.nestedpages .new-child .np-taxonomy li{background-color:#ffffff;border:0;}.nestedpages .quick-edit .np-taxonomy textarea,.nestedpages .new-child .np-taxonomy textarea{width:100%;height:6.5em;}.nestedpages .quick-edit .np-menuoptions,.nestedpages .new-child .np-menuoptions{padding:15px;}.nestedpages .quick-edit .np-menuoptions label,.nestedpages .quick-edit .np-menuoptions input[type="text"],.nestedpages .new-child .np-menuoptions label,.nestedpages .new-child .np-menuoptions input[type="text"]{display:block;float:none;width:100%;}.nestedpages .quick-edit .np-menuoptions .menuoptions-left,.nestedpages .new-child .np-menuoptions .menuoptions-left{float:left;width:47%;}.nestedpages .quick-edit .np-menuoptions .menuoptions-right,.nestedpages .new-child .np-menuoptions .menuoptions-right{float:right;width:47%;padding-top:18px;}.nestedpages .quick-edit .np-menuoptions .menuoptions-right label,.nestedpages .new-child .np-menuoptions .menuoptions-right label{margin-bottom:10px;}.nestedpages .quick-edit .np-hide-options,.nestedpages .new-child .np-hide-options{display:none;background-color:#f0f0f0;-webkit-border-radius:3px;border-radius:3px;clear:both;padding:6px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}.nestedpages .quick-edit .np-hide-options p,.nestedpages .new-child .np-hide-options p{margin:0;}.nestedpages .quick-edit .np-hide-options label,.nestedpages .new-child .np-hide-options label{display:block;margin-top:4px;font-style:normal;}.nestedpages .quick-edit .new-page-titles,.nestedpages .new-child .new-page-titles{display:block;border:0;}.nestedpages .quick-edit .new-page-titles li,.nestedpages .new-child .new-page-titles li{background:transparent;border:0;padding:4px;zoom:1;}.nestedpages .quick-edit .new-page-titles li:before,.nestedpages .quick-edit .new-page-titles li:after,.nestedpages .new-child .new-page-titles li:before,.nestedpages .new-child .new-page-titles li:after{content:" ";display:table;}.nestedpages .quick-edit .new-page-titles li:after,.nestedpages .new-child .new-page-titles li:after{clear:both;}.nestedpages .quick-edit .new-page-titles li:nth-child(even),.nestedpages .new-child .new-page-titles li:nth-child(even){background-color:#f0f0f0;}.nestedpages .quick-edit .new-page-titles li label,.nestedpages .new-child .new-page-titles li label{margin-top:7px;}.nestedpages .quick-edit .new-page-titles .form-control,.nestedpages .new-child .new-page-titles .form-control{float:right;width:90%;clear:none;}.nestedpages .quick-edit .new-page-titles .np-icon-menu,.nestedpages .new-child .new-page-titles .np-icon-menu{float:left;margin-top:0px;height:auto;line-height:26px;}.nestedpages .quick-edit .new-page-titles .new-child-row div,.nestedpages .new-child .new-page-titles .new-child-row div{float:right;width:75%;margin:2px;zoom:1;}.nestedpages .quick-edit .new-page-titles .new-child-row div:before,.nestedpages .quick-edit .new-page-titles .new-child-row div:after,.nestedpages .new-child .new-page-titles .new-child-row div:before,.nestedpages .new-child .new-page-titles .new-child-row div:after{content:" ";display:table;}.nestedpages .quick-edit .new-page-titles .new-child-row div:after,.nestedpages .new-child .new-page-titles .new-child-row div:after{clear:both;}.nestedpages .quick-edit .new-page-titles .new-child-row div input[type='text'],.nestedpages .new-child .new-page-titles .new-child-row div input[type='text']{float:left;width:80%;}.nestedpages .quick-edit .new-page-titles .new-child-row div a,.nestedpages .new-child .new-page-titles .new-child-row div a{float:right;}.np-modal.nestedpages .new-child .right .form-control input[type='text'],.np-modal.nestedpages .new-child .right .form-control input[type='password'],.np-modal.nestedpages .new-child .right .form-control select{float:none;width:100%;}.np-modal.nestedpages .new-child .right .form-control label{float:none;width:100%;}.np-modal.nestedpages .new-child .new-page-titles .form-control{width:85%;}.np-modal.nestedpages .new-child .new-page-titles .form-control div{width:100%;}.np-modal.nestedpages .new-child .left label{display:none;}.np-qe-loading{display:none;float:right;width:25px;height:25px;margin:2px 10px 0 0;background:url('../images/loading-white.gif') no-repeat;}@media (max-width: 767px){.nestedpages .quick-edit .fields{background:transparent;}.nestedpages .quick-edit .left,.nestedpages .quick-edit .right{float:none;width:100%;}.nestedpages .quick-edit .form-control{margin-bottom:10px;}.nestedpages .quick-edit .form-control input[type='text'],.nestedpages .quick-edit .form-control input[type='password'],.nestedpages .quick-edit .form-control select{float:none;width:100%;}.nestedpages .quick-edit .form-control label{display:block;float:none;width:100%;margin-bottom:4px;}.nestedpages .quick-edit .form-control.np-datepicker-container .datetime{float:none;width:100%;}.nestedpages .quick-edit .comments{float:none;width:100%;}.nestedpages .quick-edit .dates{float:none;width:100%;margin-bottom:6px;}}.np-modal-form .form-interior{zoom:1;background:url('../images/border.png') repeat-y;background-position:center;padding:5px 0;}.np-modal-form .form-interior:before,.np-modal-form .form-interior:after{content:" ";display:table;}.np-modal-form .form-interior:after{clear:both;}.np-modal-form .form-control{zoom:1;margin-bottom:10px;}.np-modal-form .form-control:before,.np-modal-form .form-control:after{content:" ";display:table;}.np-modal-form .form-control:after{clear:both;}.np-modal-form .checkbox{margin-bottom:10px;}.np-modal-form .left{float:left;width:45%;}.np-modal-form .right{float:right;width:45%;padding-top:18px;}.np-modal-form label{display:block;}.np-modal-form input[type="text"],.np-modal-form select{width:100%;}.np-modal-form .buttons{clear:both;}.nestedpages-settings-table{border:1px solid #d9d9d9;border-collapse:collapse;}.nestedpages-settings-table thead th{background-color:#d9d9d9;padding:5px;}.nestedpages-settings-table tbody tr td{padding:5px;border-left:1px solid #e0e0e0;}.nestedpages-settings-table tbody tr td:first-child{border:0;}.nestedpages-settings-table tbody tr:nth-child(odd) td{background-color:#ffffff;}.nestedpages-settings-table i{font-size:20px;}
|
1 |
+
body{-webkit-animation-delay:0.1s;-webkit-animation-name:fontfix;-webkit-animation-duration:0.1s;-webkit-animation-iteration-count:1;-webkit-animation-timing-function:linear;}@-webkit-keyframes fontfix{from{opacity:1;}to{opacity:1;}}@font-face{font-family:'nestedpages';src:url('fonts/nestedpages.eot');}@font-face{font-family:'nestedpages';src:url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjB2gAAAC8AAAAYGNtYXDw7eamAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZrIqLaoAAAF4AAARNGhlYWQCOg/3AAASrAAAADZoaGVhA+IB+QAAEuQAAAAkaG10eCkAA2cAABMIAAAAYGxvY2EhfhzgAAATaAAAADJtYXhwACAA8QAAE5wAAAAgbmFtZXH7qkgAABO8AAABaXBvc3QAAwAAAAAVKAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADwsgHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEAEAAAAAMAAgAAgAEAAEAIOYS8LL//f//AAAAAAAg5gDwsv/9//8AAf/jGgQPZQADAAEAAAAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAA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NAAMAAQQJAAoANACHAG4AZQBzAHQAZQBkAHAAYQBnAGUAcwBWAGUAcgBzAGkAbwBuACAAMQAuADAAbgBlAHMAdABlAGQAcABhAGcAZQBzbmVzdGVkcGFnZXMAbgBlAHMAdABlAGQAcABhAGcAZQBzAFIAZQBnAHUAbABhAHIAbgBlAHMAdABlAGQAcABhAGcAZQBzAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('truetype'),url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABWUAAsAAAAAFUgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgCCMHaGNtYXAAAAFoAAAAVAAAAFTw7eamZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAETQAABE0siotqmhlYWQAABL4AAAANgAAADYCOg/3aGhlYQAAEzAAAAAkAAAAJAPiAflobXR4AAATVAAAAGAAAABgKQADZ2xvY2EAABO0AAAAMgAAADIhfhzgbWF4cAAAE+gAAAAgAAAAIAAgAPFuYW1lAAAUCAAAAWkAAAFpcfuqSHBvc3QAABV0AAAAIAAAACAAAwAAAAMCAAGQAAUAAAFMAWYAAABHAUwBZgAAAPUAGQCEAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA8LIB4P/g/+AB4AAgAAAAAQAAAAAAAAAAAAAAIAAAAAAAAgAAAAMAAAAUAAMAAQAAABQABABAAAAADAAIAAIABAABACDmEvCy//3//wAAAAAAIOYA8LL//f//AAH/4xoED2UAAwABAAAAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAzAEYBzQF6AAkAADczNRcHNSE1MxVm54CA/uYzxk1mZ03ntAAAAAEAb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YQByAG4AZQBzAHQAZQBkAHAAYQBnAGUAcwBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('woff');font-weight:normal;font-style:normal;}[class^="np-icon-"],[class*=" np-icon-"]{font-family:'nestedpages';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.np-icon-no:before{content:"\e601";}.np-icon-yes:before{content:"\e602";}.np-icon-menu:before{content:"\e603";}.np-icon-arrow-down:before{content:"\e604";}.np-icon-arrow-right:before{content:"\e605";}.np-icon-sub-menu:before{content:"\e600";}.np-icon-arrows-alt:before{content:"\f0b2";}.np-icon-pencil:before{content:"\e608";}.np-icon-bubble:before{content:"\e607";}.np-icon-lock:before{content:"\e609";}.np-icon-remove:before{content:"\e60a";}.np-icon-list:before{content:"\e60d";}.np-icon-menu2:before{content:"\e606";}.np-icon-link:before{content:"\e612";}.np-icon-eye:before{content:"\e60b";}.np-icon-eye-blocked:before{content:"\e60c";}.np-icon-mail:before{content:"\e60e";}.np-icon-github:before{content:"\e60f";}.np-icon-wordpress:before{content:"\e610";}.np-icon-linkedin:before{content:"\e611";}.np-btn,.np-toggle-edit{text-decoration:none;color:#555;display:inline-block;background-color:#f7f7f7;border:1px solid #e1e1e1;padding:3px 8px;-webkit-box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0, 0, 0, 0.08);box-shadow:inset 0 1px 0 #fff,0 1px 0 rgba(0, 0, 0, 0.08);-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;}.np-btn:hover,.np-toggle-edit:hover{background-color:#0074a2;color:#ffffff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.25),0 1px 0 rgba(0, 0, 0, 0.08);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.25),0 1px 0 rgba(0, 0, 0, 0.08);border-color:#0074a2;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;}.np-btn-half{float:left;width:47%;padding:3px 0px;text-align:center;}.np-btn-half.btn-right{float:right;}.np-btn-trash{background-color:#e14d43;border-color:#e14d43;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.3),0 1px 0 rgba(0, 0, 0, 0.08);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.3),0 1px 0 rgba(0, 0, 0, 0.08);color:#ffffff;}.np-btn-trash:hover{background-color:#ba251e;border-color:#ba251e;}.np-toggle-edit{display:none;float:right;margin-right:10px;}.np-toggle-edit.active{background-color:#0074a2;color:#ffffff;-webkit-box-shadow:none;box-shadow:none;border-color:#0074a2;}@media (max-width: 767px){.np-toggle-edit{display:inline-block;}}.np-quickedit-error{border-left:4px solid #dd3d36;padding:4px 0 4px 8px;margin-bottom:10px;background-color:#f9f9f9;}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;opacity:0.85;}.modal-open{overflow:hidden;}.np-modal{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999;-webkit-overflow-scrolling:touch;outline:0;}.np-modal.fade .modal-dialog{-webkit-transform:translate(0, -25%);-ms-transform:translate(0, -25%);-o-transform:translate(0, -25%);transform:translate(0, -25%);-webkit-transition:-webkit-transform 0.3s ease-out;-o-transition:-o-transform 0.3s ease-out;transition:transform 0.3s ease-out;}.np-modal.in .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0);}.np-modal .modal-open .modal{overflow-x:hidden;overflow-y:auto;}.np-modal .modal-dialog{position:relative;width:auto;margin:10px auto 0px auto;max-width:500px;}.np-modal .modal-content{position:relative;background-color:#ffffff;-webkit-box-shadow:0 3px 9px rgba(0, 0, 0, 0.5);box-shadow:0 3px 9px rgba(0, 0, 0, 0.5);-webkit-background-clip:padding-box;background-clip:padding-box;outline:0;}.np-modal .modal-header{padding:8px;background-color:#ebebeb;}.np-modal .modal-header .sr-only{display:none;}.np-modal .modal-header .close{margin-top:-2px;}.np-modal .modal-title{margin:0;}.np-modal .modal-body{position:relative;padding:10px;}.np-modal .modal-body.new-child{padding:0;}.np-modal .modal-footer{padding:10px;text-align:right;background-color:#404040;zoom:1;}.np-modal .modal-footer:before,.np-modal .modal-footer:after{content:" ";display:table;}.np-modal .modal-footer:after{clear:both;}.np-modal .modal-footer .modal-close{float:left;}.np-modal .modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll;}.np-trash-modal{text-align:center;}.np-trash-modal .modal-body{padding-bottom:30px;}.np-trash-modal .button-primary{margin-left:10px;}.np-inline-overlay{position:fixed;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.4);z-index:998;top:0;right:0;bottom:0;left:0;opacity:0;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;}.np-inline-overlay.active{opacity:1;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;}.np-inline-modal{position:relative;z-index:999;background-color:#ffffff;-webkit-border-radius:0;border-radius:0;-webkit-box-shadow:0px 0px 4px 0px rgba(0, 0, 0, 0.5);box-shadow:0px 0px 4px 0px rgba(0, 0, 0, 0.5);}.nestedpages-toggleall{float:right;margin-top:-30px;}.np-toggle-publish{color:#999999;}.np-toggle-publish.active{color:#333;font-weight:bold;}.np-sync-menu-cont{float:right;margin:-27px 15px 0px 0px;}#nested-loading{display:none;float:right;width:30px;margin:-31px 120px 0 0;}.np-tabs{background-color:#ebebeb;padding:0px;}.np-tabs ul{text-align:left;list-style-type:none;margin:0;padding:0;}.np-tabs ul li{display:inline-block;margin:0;}.np-tabs ul li a{display:block;text-decoration:none;padding:5px 10px;}.np-tabs ul li a.active{position:relative;color:#333;background-color:#ffffff;}.nestedpages-datepicker.ui-datepicker{background-color:#ffffff;font-size:90%;-webkit-box-shadow:0px 0px 3px 0px rgba(0, 0, 0, 0.4);box-shadow:0px 0px 3px 0px rgba(0, 0, 0, 0.4);-webkit-border-radius:3px;border-radius:3px;padding:0;width:auto;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-next,.nestedpages-datepicker.ui-datepicker .ui-datepicker-prev{position:absolute;color:#ffffff;top:0px;right:0px;cursor:pointer;display:block;width:35px;height:35px;font-size:0;background:url('../images/datepicker-arrow-next.png');background-position:center;opacity:1;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-next:hover,.nestedpages-datepicker.ui-datepicker .ui-datepicker-prev:hover{opacity:0.5;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar{margin:0;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-prev{right:auto;left:0px;background:url('../images/datepicker-arrow-prev.png');}.nestedpages-datepicker.ui-datepicker .ui-datepicker-header{padding:0;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-title{background-color:#1a1a1a;text-align:center;color:#ffffff;height:35px;line-height:35px;-webkit-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;margin:0;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar{border-collapse:collapse;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar table{width:auto;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar th,.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar td{text-align:center;width:30px;height:30px;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar th{background-color:#e6e6e6;text-transform:uppercase;font-size:11px;letter-spacing:1px;padding:0;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar td{border-top:1px solid #ebebeb;border-left:1px solid #ebebeb;padding:0;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar td:first-child{border-left:0;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar a{text-align:center;padding:0;text-decoration:none;color:#333;display:block;background-color:#ffffff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;width:30px;height:30px;line-height:30px;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar a.ui-state-active{background-color:#1a1a1a;color:#ffffff;}.nestedpages-datepicker.ui-datepicker .ui-datepicker-calendar a:hover{background-color:#333;color:#ffffff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;}.nestedpages-tools{zoom:1;clear:both;margin-bottom:5px;}.nestedpages-tools:before,.nestedpages-tools:after{content:" ";display:table;}.nestedpages-tools:after{clear:both;}.nestedpages-tools .subsubsub{margin:0;}.nestedpages-tools .np-tools-primary{clear:left;padding-top:8px;}.nestedpages-tools .select{float:left;margin-left:5px;}.nestedpages-tools .select.first{margin-left:0;}.nestedpages-tools .np-tools-sort{float:left;}.nestedpages-tools .np-tools-search{float:right;}.wppages-handle-expand{float:left;background-color:#f2f2f2;font-size:18px;width:46px;height:46px;margin-right:5px;text-align:center;border-right:1px solid #e1e1e1;}.wppages-handle-expand div{background-color:#ffffff;border:1px solid #e1e1e1;width:24px;height:24px;line-height:24px;-webkit-border-radius:15px;border-radius:15px;margin-top:9px;cursor:pointer;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;}.wppages-handle-expand div:hover{background-color:#0074a2;border-color:#0074a2;color:#ffffff;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;}.nestedpages{clear:both;-webkit-border-radius:4px;border-radius:4px;}.nestedpages .ui-sortable-placeholder{display:block !important;position:relative;min-height:46px;border:0;border:1px dashed #0074a2 !important;background-color:#effaff;margin:0;}.nestedpages .ui-sortable-helper{opacity:0.8;-webkit-box-shadow:2px 2px 3px 0px rgba(0, 0, 0, 0.5);box-shadow:2px 2px 3px 0px rgba(0, 0, 0, 0.5);}.nestedpages ol{list-style-type:none;clear:both;margin:0;-webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.06);box-shadow:0 1px 1px rgba(0, 0, 0, 0.06);border:1px solid #e5e5e5;-webkit-border-radius:3px;border-radius:3px;}.nestedpages ol a{text-decoration:none;}.nestedpages ol .page-link{line-height:26px;}.nestedpages ol .page-link .edit-indicator{margin-left:10px;display:none;}.nestedpages ol .page-link .edit-indicator i{font-size:12px;margin-right:3px;}.nestedpages ol .page-link:hover .edit-indicator{display:inline-block;}.nestedpages ol .locked{color:#333;margin-left:20px;}.nestedpages ol .locked em{font-style:normal;}.nestedpages ol .status{color:#999999;margin:0px 10px;}.nestedpages ol .np-icon-eye-blocked{color:#999999;}.nestedpages ol .nav-status{color:#b3b3b3;}.nestedpages ol .np-hide{display:none;}.nestedpages ol .np-seo-indicator{display:block;float:right;width:12px;height:12px;-webkit-border-radius:8px;border-radius:8px;background-color:#999999;margin:6px 10px 0 0;}.nestedpages ol .np-seo-indicator.good{background-color:#7ad03a;}.nestedpages ol .np-seo-indicator.ok{background-color:#ffba00;}.nestedpages ol .np-seo-indicator.poor{background-color:#ee7c1b;}.nestedpages ol .np-seo-indicator.bad{background-color:#dd3d36;}.nestedpages ol .np-seo-indicator.warn{background-color:maroon;}.nestedpages ol .np-seo-indicator.wrong{background-color:red;}.nestedpages ol li{margin:0;border-top:1px solid #e1e1e1;background-color:#0074a2;}.nestedpages ol li.first{border:0;}.nestedpages ol li:first-child{border:0;}.nestedpages ol li.no-border{border:0;}.nestedpages ol ol{display:none;-webkit-border-radius:0;border-radius:0;list-style-type:none;border:0;-webkit-box-shadow:none;box-shadow:none;border-top:1px solid #e1e1e1;}.nestedpages .child-toggle{float:left;margin:-10px 10px 0 0;width:46px;height:46px;background-color:#f0f0f0;text-align:center;}.nestedpages .child-toggle a{display:inline-block;margin-top:7px;width:28px;height:28px;background-color:#ffffff;border:1px solid #e1e1e1;-webkit-border-radius:20px;border-radius:20px;font-size:20px;line-height:30px;color:#333;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;}.nestedpages .child-toggle a i{line-height:26px;}.nestedpages .child-toggle a:hover{background-color:#0074a2;color:#ffffff;border-color:#0074a2;}.nestedpages .handle{display:inline-block;cursor:move;font-size:20px;color:#b3b3b3;-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;position:relative;top:3px;}.nestedpages .handle:hover{-webkit-transition:all 200ms ease;-o-transition:all 200ms ease;transition:all 200ms ease;color:#0074a2;}.nestedpages .np-icon-sub-menu{display:none;color:#999999;position:relative;left:2px;}.nestedpages .handle,.nestedpages .np-icon-sub-menu{width:30px;height:46px;line-height:36px;margin-top:-10px;}.nestedpages li ol .row .np-icon-sub-menu{display:inline-block;}.nestedpages li ol .row .handle{display:none;}.nestedpages li ol .row:hover .np-icon-sub-menu{display:none;}.nestedpages li ol .row:hover .handle{display:inline-block;}.nestedpages .row{background-color:#ffffff;display:block;padding:10px 0px 0px 0px;height:36px;zoom:1;}.nestedpages .row:before,.nestedpages .row:after{content:" ";display:table;}.nestedpages .row:after{clear:both;}.nestedpages .row:hover{background-color:#f0f0f0;}.nestedpages .row.np-updated{background-color:#e9f7df;-webkit-transition:background-color 400ms ease;-o-transition:background-color 400ms ease;transition:background-color 400ms ease;}.nestedpages .row.np-updated-show{background-color:#ffffff;-webkit-transition:background-color 400ms ease;-o-transition:background-color 400ms ease;transition:background-color 400ms ease;}.nestedpages .row.non-hierarchical{padding-left:15px;}.nestedpages ol li ol .row-inner{padding-left:76px;}.nestedpages ol li ol li ol .row-inner{padding-left:96px;}.nestedpages ol li ol li ol li ol .row-inner{padding-left:116px;}.nestedpages ol li ol li ol li ol li ol .row-inner{padding-left:136px;}.nestedpages ol li ol li ol li ol li ol li ol .row-inner{padding-left:156px;}.nestedpages .np-post-columns{float:right;margin:3px 20px 0px 0px;zoom:1;}.nestedpages .np-post-columns:before,.nestedpages .np-post-columns:after{content:" ";display:table;}.nestedpages .np-post-columns:after{clear:both;}.nestedpages .np-post-columns ul li{background:transparent;color:#808080;border:0;float:left;margin-left:8px;padding-left:8px;border-left:1px solid #cccccc;}.nestedpages .np-post-columns ul li:first-child{margin-left:0;padding-left:0;border:0;}.nestedpages .action-buttons{display:none;float:right;margin:0 10px 0 0;}.nestedpages .action-buttons a{margin:0 0 0 -5px;}.nestedpages .action-buttons a.np-btn-trash{margin-left:4px;}.np-search{float:right;}@media (min-width: 768px){.nestedpages .row:hover .action-buttons{display:block;}.nestedpages .row:hover .np-post-columns{display:none;}}@media (max-width: 767px){.nestedpages ol .page-link{line-height:24px;}.nestedpages ol .page-link:hover span{display:none;}.nestedpages ol .locked em{display:none;}.nestedpages .child-toggle{background:transparent;}.nestedpages .row{height:auto;}.nestedpages .action-buttons{display:none;background-color:#0074a2;float:none;margin:0;padding:8px;}.nestedpages .action-buttons a{margin-left:5px;}}.nestedpages .quick-edit .form-interior,.nestedpages .new-child .form-interior{padding:10px;}.nestedpages .quick-edit h3,.nestedpages .new-child h3{margin:0 0 8px 0;font-size:14px;}.nestedpages .quick-edit h3 span,.nestedpages .new-child h3 span{float:right;font-size:12px;}.nestedpages .quick-edit h3 span em,.nestedpages .new-child h3 span em{font-weight:normal;font-style:normal;color:#808080;}.nestedpages .quick-edit .fields,.nestedpages .new-child .fields{margin-bottom:10px;background:url('../images/border.png') repeat-y;background-position:center;zoom:1;}.nestedpages .quick-edit .fields:before,.nestedpages .quick-edit .fields:after,.nestedpages .new-child .fields:before,.nestedpages .new-child .fields:after{content:" ";display:table;}.nestedpages .quick-edit .fields:after,.nestedpages .new-child .fields:after{clear:both;}.nestedpages .quick-edit .left,.nestedpages .new-child .left{float:left;width:48%;}.nestedpages .quick-edit .right,.nestedpages .new-child .right{float:right;width:48%;}.nestedpages .quick-edit label,.nestedpages .new-child label{font-style:oblique;}.nestedpages .quick-edit .buttons,.nestedpages .new-child .buttons{clear:both;zoom:1;background-color:#404040;padding:8px;}.nestedpages .quick-edit .buttons:before,.nestedpages .quick-edit .buttons:after,.nestedpages .new-child .buttons:before,.nestedpages .new-child .buttons:after{content:" ";display:table;}.nestedpages .quick-edit .buttons:after,.nestedpages .new-child .buttons:after{clear:both;}.nestedpages .quick-edit .form-control,.nestedpages .new-child .form-control{clear:both;zoom:1;margin-bottom:5px;}.nestedpages .quick-edit .form-control:before,.nestedpages .quick-edit .form-control:after,.nestedpages .new-child .form-control:before,.nestedpages .new-child .form-control:after{content:" ";display:table;}.nestedpages .quick-edit .form-control:after,.nestedpages .new-child .form-control:after{clear:both;}.nestedpages .quick-edit .form-control input[type='text'],.nestedpages .quick-edit .form-control input[type='password'],.nestedpages .quick-edit .form-control select,.nestedpages .new-child .form-control input[type='text'],.nestedpages .new-child .form-control input[type='password'],.nestedpages .new-child .form-control select{float:right;width:75%;}.nestedpages .quick-edit .form-control label,.nestedpages .new-child .form-control label{float:left;width:20%;}.nestedpages .quick-edit .form-control.password label,.nestedpages .new-child .form-control.password label{width:25%;}.nestedpages .quick-edit .form-control.password input[type="text"],.nestedpages .new-child .form-control.password input[type="text"]{float:left;width:35%;}.nestedpages .quick-edit .form-control.password .private,.nestedpages .new-child .form-control.password .private{float:right;width:35%;margin-top:4px;}.nestedpages .quick-edit .form-control.password .private label,.nestedpages .new-child .form-control.password .private label{width:auto;float:none;}.nestedpages .quick-edit .form-control.np-datepicker-container .datetime,.nestedpages .new-child .form-control.np-datepicker-container .datetime{float:right;width:75%;}.nestedpages .quick-edit .form-control.np-datepicker-container .np-time-container,.nestedpages .new-child .form-control.np-datepicker-container .np-time-container{float:left;width:45%;margin:0;position:relative;}.nestedpages .quick-edit .form-control.np-datepicker-container .np-time-container input[type="text"],.nestedpages .new-child .form-control.np-datepicker-container .np-time-container input[type="text"]{float:left;width:55%;}.nestedpages .quick-edit .form-control.np-datepicker-container .np-time-container select,.nestedpages .new-child .form-control.np-datepicker-container .np-time-container select{float:right;width:35%;}.nestedpages .quick-edit .form-control.np-datepicker-container .np_datepicker,.nestedpages .new-child .form-control.np-datepicker-container .np_datepicker{float:left;width:45%;margin:0;}.nestedpages .quick-edit .form-control.np-datepicker-container span,.nestedpages .new-child .form-control.np-datepicker-container span{float:left;width:10%;display:block;text-align:center;padding-top:3px;}.nestedpages .quick-edit .comments,.nestedpages .new-child .comments{float:right;width:75%;margin-bottom:10px;zoom:1;}.nestedpages .quick-edit .comments:before,.nestedpages .quick-edit .comments:after,.nestedpages .new-child .comments:before,.nestedpages .new-child .comments:after{content:" ";display:table;}.nestedpages .quick-edit .comments:after,.nestedpages .new-child .comments:after{clear:both;}.nestedpages .quick-edit .dates,.nestedpages .new-child .dates{float:right;width:75%;margin-bottom:6px;}.nestedpages .quick-edit .dates select,.nestedpages .new-child .dates select{width:25%;}.nestedpages .quick-edit .dates input,.nestedpages .new-child .dates input{width:12%;}.nestedpages .quick-edit .np-toggle-options,.nestedpages .new-child .np-toggle-options{background-color:#f2f2f2;padding:5px;}.nestedpages .quick-edit .np-taxonomies,.nestedpages .quick-edit .np-menuoptions,.nestedpages .new-child .np-taxonomies,.nestedpages .new-child .np-menuoptions{display:none;clear:both;background-color:#f9f9f9;padding:8px;zoom:1;margin-top:5px;}.nestedpages .quick-edit .np-taxonomies:before,.nestedpages .quick-edit .np-taxonomies:after,.nestedpages .quick-edit .np-menuoptions:before,.nestedpages .quick-edit .np-menuoptions:after,.nestedpages .new-child .np-taxonomies:before,.nestedpages .new-child .np-taxonomies:after,.nestedpages .new-child .np-menuoptions:before,.nestedpages .new-child .np-menuoptions:after{content:" ";display:table;}.nestedpages .quick-edit .np-taxonomies:after,.nestedpages .quick-edit .np-menuoptions:after,.nestedpages .new-child .np-taxonomies:after,.nestedpages .new-child .np-menuoptions:after{clear:both;}.nestedpages .quick-edit .np-taxonomy,.nestedpages .new-child .np-taxonomy{float:left;width:30%;margin-right:3.33%;}.nestedpages .quick-edit .np-taxonomy .title,.nestedpages .new-child .np-taxonomy .title{font-weight:bold;margin-bottom:4px;display:block;}.nestedpages .quick-edit .np-taxonomy li,.nestedpages .new-child .np-taxonomy li{background-color:#ffffff;border:0;}.nestedpages .quick-edit .np-taxonomy textarea,.nestedpages .new-child .np-taxonomy textarea{width:100%;height:6.5em;}.nestedpages .quick-edit .np-menuoptions,.nestedpages .new-child .np-menuoptions{padding:15px;}.nestedpages .quick-edit .np-menuoptions label,.nestedpages .quick-edit .np-menuoptions input[type="text"],.nestedpages .new-child .np-menuoptions label,.nestedpages .new-child .np-menuoptions input[type="text"]{display:block;float:none;width:100%;}.nestedpages .quick-edit .np-menuoptions .menuoptions-left,.nestedpages .new-child .np-menuoptions .menuoptions-left{float:left;width:47%;}.nestedpages .quick-edit .np-menuoptions .menuoptions-right,.nestedpages .new-child .np-menuoptions .menuoptions-right{float:right;width:47%;padding-top:18px;}.nestedpages .quick-edit .np-menuoptions .menuoptions-right label,.nestedpages .new-child .np-menuoptions .menuoptions-right label{margin-bottom:10px;}.nestedpages .quick-edit .np-hide-options,.nestedpages .new-child .np-hide-options{display:none;background-color:#f0f0f0;-webkit-border-radius:3px;border-radius:3px;clear:both;padding:6px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}.nestedpages .quick-edit .np-hide-options p,.nestedpages .new-child .np-hide-options p{margin:0;}.nestedpages .quick-edit .np-hide-options label,.nestedpages .new-child .np-hide-options label{display:block;margin-top:4px;font-style:normal;}.nestedpages .quick-edit .new-page-titles,.nestedpages .new-child .new-page-titles{display:block;border:0;}.nestedpages .quick-edit .new-page-titles li,.nestedpages .new-child .new-page-titles li{background:transparent;border:0;padding:4px;zoom:1;}.nestedpages .quick-edit .new-page-titles li:before,.nestedpages .quick-edit .new-page-titles li:after,.nestedpages .new-child .new-page-titles li:before,.nestedpages .new-child .new-page-titles li:after{content:" ";display:table;}.nestedpages .quick-edit .new-page-titles li:after,.nestedpages .new-child .new-page-titles li:after{clear:both;}.nestedpages .quick-edit .new-page-titles li:nth-child(even),.nestedpages .new-child .new-page-titles li:nth-child(even){background-color:#f0f0f0;}.nestedpages .quick-edit .new-page-titles li label,.nestedpages .new-child .new-page-titles li label{margin-top:7px;}.nestedpages .quick-edit .new-page-titles .form-control,.nestedpages .new-child .new-page-titles .form-control{float:right;width:90%;clear:none;}.nestedpages .quick-edit .new-page-titles .np-icon-menu,.nestedpages .new-child .new-page-titles .np-icon-menu{float:left;margin-top:0px;height:auto;line-height:26px;}.nestedpages .quick-edit .new-page-titles .new-child-row div,.nestedpages .new-child .new-page-titles .new-child-row div{float:right;width:75%;margin:2px;zoom:1;}.nestedpages .quick-edit .new-page-titles .new-child-row div:before,.nestedpages .quick-edit .new-page-titles .new-child-row div:after,.nestedpages .new-child .new-page-titles .new-child-row div:before,.nestedpages .new-child .new-page-titles .new-child-row div:after{content:" ";display:table;}.nestedpages .quick-edit .new-page-titles .new-child-row div:after,.nestedpages .new-child .new-page-titles .new-child-row div:after{clear:both;}.nestedpages .quick-edit .new-page-titles .new-child-row div input[type='text'],.nestedpages .new-child .new-page-titles .new-child-row div input[type='text']{float:left;width:80%;}.nestedpages .quick-edit .new-page-titles .new-child-row div a,.nestedpages .new-child .new-page-titles .new-child-row div a{float:right;}.np-modal.nestedpages .new-child .right .form-control input[type='text'],.np-modal.nestedpages .new-child .right .form-control input[type='password'],.np-modal.nestedpages .new-child .right .form-control select{float:none;width:100%;}.np-modal.nestedpages .new-child .right .form-control label{float:none;width:100%;}.np-modal.nestedpages .new-child .new-page-titles .form-control{width:85%;}.np-modal.nestedpages .new-child .new-page-titles .form-control div{width:100%;}.np-modal.nestedpages .new-child .left label{display:none;}.np-qe-loading{display:none;float:right;width:25px;height:25px;margin:2px 10px 0 0;background:url('../images/loading-white.gif') no-repeat;}@media (max-width: 767px){.nestedpages .quick-edit .fields{background:transparent;}.nestedpages .quick-edit .left,.nestedpages .quick-edit .right{float:none;width:100%;}.nestedpages .quick-edit .form-control{margin-bottom:10px;}.nestedpages .quick-edit .form-control input[type='text'],.nestedpages .quick-edit .form-control input[type='password'],.nestedpages .quick-edit .form-control select{float:none;width:100%;}.nestedpages .quick-edit .form-control label{display:block;float:none;width:100%;margin-bottom:4px;}.nestedpages .quick-edit .form-control.np-datepicker-container .datetime{float:none;width:100%;}.nestedpages .quick-edit .comments{float:none;width:100%;}.nestedpages .quick-edit .dates{float:none;width:100%;margin-bottom:6px;}}.np-modal-form .form-interior{zoom:1;background:url('../images/border.png') repeat-y;background-position:center;padding:5px 0;}.np-modal-form .form-interior:before,.np-modal-form .form-interior:after{content:" ";display:table;}.np-modal-form .form-interior:after{clear:both;}.np-modal-form .form-control{zoom:1;margin-bottom:10px;}.np-modal-form .form-control:before,.np-modal-form .form-control:after{content:" ";display:table;}.np-modal-form .form-control:after{clear:both;}.np-modal-form .checkbox{margin-bottom:10px;}.np-modal-form .left{float:left;width:45%;}.np-modal-form .right{float:right;width:45%;padding-top:18px;}.np-modal-form label{display:block;}.np-modal-form input[type="text"],.np-modal-form select{width:100%;}.np-modal-form .buttons{clear:both;}.nestedpages-settings-table{border:1px solid #d9d9d9;border-collapse:collapse;}.nestedpages-settings-table thead th{background-color:#d9d9d9;padding:5px;}.nestedpages-settings-table tbody tr td{padding:5px;border-left:1px solid #e0e0e0;}.nestedpages-settings-table tbody tr td:first-child{border:0;}.nestedpages-settings-table tbody tr:nth-child(odd) td{background-color:#ffffff;}.nestedpages-settings-table i{font-size:20px;}
|
assets/icon-128x128.png
DELETED
Binary file
|
assets/images/spinner-2x.gif
ADDED
Binary file
|
assets/images/spinner.gif
ADDED
Binary file
|
assets/js/lib/nestedpages.js
CHANGED
@@ -18,6 +18,7 @@ jQuery(function($){
|
|
18 |
add_remove_submenu_toggles();
|
19 |
np_set_borders();
|
20 |
set_nested_margins();
|
|
|
21 |
});
|
22 |
|
23 |
/**
|
@@ -132,6 +133,15 @@ jQuery(function($){
|
|
132 |
return sortableID.substring(3);
|
133 |
}
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
/**
|
136 |
* Toggle between showing published pages and all
|
137 |
*/
|
@@ -180,10 +190,12 @@ jQuery(function($){
|
|
180 |
}, 500);
|
181 |
});
|
182 |
|
|
|
183 |
/**
|
184 |
* Make the Menu sortable
|
185 |
*/
|
186 |
-
|
|
|
187 |
$('.sortable').not('.no-sort').nestedSortable({
|
188 |
items : '.page-row',
|
189 |
toleranceElement: '> .row',
|
@@ -207,7 +219,15 @@ jQuery(function($){
|
|
207 |
submit_sortable_form();
|
208 |
},
|
209 |
});
|
210 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
|
212 |
/**
|
213 |
* Is Post Type Nestable?
|
@@ -218,6 +238,7 @@ jQuery(function($){
|
|
218 |
$.each(nestedpages.post_types, function(i, v){
|
219 |
if ( v.name === post_type ){
|
220 |
if ( v.hierarchical === true ) levels = 0;
|
|
|
221 |
}
|
222 |
});
|
223 |
return levels;
|
@@ -280,6 +301,7 @@ jQuery(function($){
|
|
280 |
var syncmenu = ( $('.np-sync-menu').is(':checked') ) ? 'sync' : 'nosync';
|
281 |
|
282 |
list = $('ol.sortable').nestedSortable('toHierarchy', {startDepthCount: 0});
|
|
|
283 |
|
284 |
$.ajax({
|
285 |
url: ajaxurl,
|
@@ -293,6 +315,7 @@ jQuery(function($){
|
|
293 |
syncmenu : syncmenu
|
294 |
},
|
295 |
success: function(data){
|
|
|
296 |
if (data.status === 'error'){
|
297 |
$('#np-error').text(data.message).show();
|
298 |
$('#nested-loading').hide();
|
@@ -682,7 +705,6 @@ jQuery(function($){
|
|
682 |
datatype: 'json',
|
683 |
data: $(form).serialize() + '&action=npquickEdit&nonce=' + nestedpages.np_nonce + '&syncmenu=' + syncmenu + '&post_type=' + np_get_post_type(),
|
684 |
success: function(data){
|
685 |
-
console.log(data);
|
686 |
if (data.status === 'error'){
|
687 |
np_remove_qe_loading(form);
|
688 |
$(form).find('.np-quickedit-error').text(data.message).show();
|
@@ -741,6 +763,11 @@ jQuery(function($){
|
|
741 |
$(row).find('.np-icon-eye-blocked').remove();
|
742 |
}
|
743 |
|
|
|
|
|
|
|
|
|
|
|
744 |
var button = $(row).find('.np-quick-edit');
|
745 |
|
746 |
$(button).attr('data-id', data.post_id);
|
@@ -988,6 +1015,7 @@ jQuery(function($){
|
|
988 |
datatype: 'json',
|
989 |
data: $(form).serialize() + '&action=npquickEditLink&nonce=' + nestedpages.np_nonce + '&syncmenu=' + syncmenu + '&post_type=' + np_get_post_type(),
|
990 |
success: function(data){
|
|
|
991 |
if (data.status === 'error'){
|
992 |
np_remove_qe_loading(form);
|
993 |
$(form).find('.np-quickedit-error').text(data.message).show();
|
@@ -1526,7 +1554,7 @@ jQuery(function($){
|
|
1526 |
html += '</div><!-- .row-inner --></div><!-- .row -->';
|
1527 |
html += '</li>';
|
1528 |
|
1529 |
-
$(appendto).
|
1530 |
}
|
1531 |
|
1532 |
|
@@ -1540,19 +1568,24 @@ jQuery(function($){
|
|
1540 |
**/
|
1541 |
$('.np-empty-trash').on('click', function(e){
|
1542 |
e.preventDefault();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1543 |
$('#nested-loading').show();
|
1544 |
$('#np-error').hide();
|
1545 |
-
|
1546 |
-
if (window.confirm(nestedpages.trash_confirm)){
|
1547 |
-
empty_trash(posttype);
|
1548 |
-
}
|
1549 |
});
|
1550 |
|
1551 |
/**
|
1552 |
-
* Empty the trash
|
1553 |
*/
|
1554 |
-
function empty_trash(
|
1555 |
{
|
|
|
1556 |
$.ajax({
|
1557 |
url: ajaxurl,
|
1558 |
type: 'post',
|
@@ -1563,7 +1596,6 @@ jQuery(function($){
|
|
1563 |
posttype : posttype
|
1564 |
},
|
1565 |
success: function(data){
|
1566 |
-
console.log(data);
|
1567 |
$('#nested-loading').hide();
|
1568 |
if (data.status === 'error'){
|
1569 |
$('#np-error').text(data.message).show();
|
@@ -1576,44 +1608,4 @@ jQuery(function($){
|
|
1576 |
|
1577 |
|
1578 |
|
1579 |
-
|
1580 |
-
/**
|
1581 |
-
* ------------------------------------------------------------------------
|
1582 |
-
* Search Filter (Non-Hierarchical)
|
1583 |
-
* ------------------------------------------------------------------------
|
1584 |
-
**/
|
1585 |
-
$(document).on('keyup', '#nestedpages-search', function(){
|
1586 |
-
var search = $(this).val().toLowerCase();
|
1587 |
-
if ( search.length > 2 ){
|
1588 |
-
search_filter_list(search);
|
1589 |
-
return;
|
1590 |
-
}
|
1591 |
-
reset_search_filter();
|
1592 |
-
});
|
1593 |
-
|
1594 |
-
/**
|
1595 |
-
* Filter the list based on search input
|
1596 |
-
*/
|
1597 |
-
function search_filter_list(value)
|
1598 |
-
{
|
1599 |
-
var titles = $('.page-row .title');
|
1600 |
-
$('.page-row').hide();
|
1601 |
-
$.each(titles, function(i, v){
|
1602 |
-
var text = $(this).text().toLowerCase();
|
1603 |
-
if ( text.indexOf(value) > -1 ){
|
1604 |
-
$(this).parents('.page-row').show();
|
1605 |
-
}
|
1606 |
-
});
|
1607 |
-
}
|
1608 |
-
|
1609 |
-
/**
|
1610 |
-
* Reset the list back to show all
|
1611 |
-
*/
|
1612 |
-
function reset_search_filter()
|
1613 |
-
{
|
1614 |
-
$('.page-row').show();
|
1615 |
-
}
|
1616 |
-
|
1617 |
-
|
1618 |
-
|
1619 |
}); //$
|
18 |
add_remove_submenu_toggles();
|
19 |
np_set_borders();
|
20 |
set_nested_margins();
|
21 |
+
np_make_nestable();
|
22 |
});
|
23 |
|
24 |
/**
|
133 |
return sortableID.substring(3);
|
134 |
}
|
135 |
|
136 |
+
/**
|
137 |
+
* Is the Post Type Hierarchical
|
138 |
+
*/
|
139 |
+
function np_is_hierarchical()
|
140 |
+
{
|
141 |
+
var post_type = np_get_post_type();
|
142 |
+
return ( max_levels(post_type) === 0 ) ? true : false;
|
143 |
+
}
|
144 |
+
|
145 |
/**
|
146 |
* Toggle between showing published pages and all
|
147 |
*/
|
190 |
}, 500);
|
191 |
});
|
192 |
|
193 |
+
|
194 |
/**
|
195 |
* Make the Menu sortable
|
196 |
*/
|
197 |
+
function np_make_nestable()
|
198 |
+
{
|
199 |
$('.sortable').not('.no-sort').nestedSortable({
|
200 |
items : '.page-row',
|
201 |
toleranceElement: '> .row',
|
219 |
submit_sortable_form();
|
220 |
},
|
221 |
});
|
222 |
+
}
|
223 |
+
|
224 |
+
/**
|
225 |
+
* Disable Nesting
|
226 |
+
*/
|
227 |
+
function np_disable_nesting()
|
228 |
+
{
|
229 |
+
$('.sortable').sortable('destroy');
|
230 |
+
}
|
231 |
|
232 |
/**
|
233 |
* Is Post Type Nestable?
|
238 |
$.each(nestedpages.post_types, function(i, v){
|
239 |
if ( v.name === post_type ){
|
240 |
if ( v.hierarchical === true ) levels = 0;
|
241 |
+
if ( v.disable_nesting === true ) levels = 1;
|
242 |
}
|
243 |
});
|
244 |
return levels;
|
301 |
var syncmenu = ( $('.np-sync-menu').is(':checked') ) ? 'sync' : 'nosync';
|
302 |
|
303 |
list = $('ol.sortable').nestedSortable('toHierarchy', {startDepthCount: 0});
|
304 |
+
np_disable_nesting();
|
305 |
|
306 |
$.ajax({
|
307 |
url: ajaxurl,
|
315 |
syncmenu : syncmenu
|
316 |
},
|
317 |
success: function(data){
|
318 |
+
np_make_nestable();
|
319 |
if (data.status === 'error'){
|
320 |
$('#np-error').text(data.message).show();
|
321 |
$('#nested-loading').hide();
|
705 |
datatype: 'json',
|
706 |
data: $(form).serialize() + '&action=npquickEdit&nonce=' + nestedpages.np_nonce + '&syncmenu=' + syncmenu + '&post_type=' + np_get_post_type(),
|
707 |
success: function(data){
|
|
|
708 |
if (data.status === 'error'){
|
709 |
np_remove_qe_loading(form);
|
710 |
$(form).find('.np-quickedit-error').text(data.message).show();
|
763 |
$(row).find('.np-icon-eye-blocked').remove();
|
764 |
}
|
765 |
|
766 |
+
// Author for Non-Hierarchical Types
|
767 |
+
if ( !np_is_hierarchical() ){
|
768 |
+
$(row).find('.np-author-display').text(data.author_name);
|
769 |
+
}
|
770 |
+
|
771 |
var button = $(row).find('.np-quick-edit');
|
772 |
|
773 |
$(button).attr('data-id', data.post_id);
|
1015 |
datatype: 'json',
|
1016 |
data: $(form).serialize() + '&action=npquickEditLink&nonce=' + nestedpages.np_nonce + '&syncmenu=' + syncmenu + '&post_type=' + np_get_post_type(),
|
1017 |
success: function(data){
|
1018 |
+
console.log(data);
|
1019 |
if (data.status === 'error'){
|
1020 |
np_remove_qe_loading(form);
|
1021 |
$(form).find('.np-quickedit-error').text(data.message).show();
|
1554 |
html += '</div><!-- .row-inner --></div><!-- .row -->';
|
1555 |
html += '</li>';
|
1556 |
|
1557 |
+
$(appendto).append(html);
|
1558 |
}
|
1559 |
|
1560 |
|
1568 |
**/
|
1569 |
$('.np-empty-trash').on('click', function(e){
|
1570 |
e.preventDefault();
|
1571 |
+
$('#np-trash-modal').modal('show');
|
1572 |
+
});
|
1573 |
+
|
1574 |
+
// Confirm
|
1575 |
+
$('.np-trash-confirm').on('click', function(e){
|
1576 |
+
e.preventDefault();
|
1577 |
+
$('#np-trash-modal').hide();
|
1578 |
$('#nested-loading').show();
|
1579 |
$('#np-error').hide();
|
1580 |
+
empty_trash();
|
|
|
|
|
|
|
1581 |
});
|
1582 |
|
1583 |
/**
|
1584 |
+
* Empty the trash
|
1585 |
*/
|
1586 |
+
function empty_trash()
|
1587 |
{
|
1588 |
+
var posttype = $('#np-trash-posttype').val();
|
1589 |
$.ajax({
|
1590 |
url: ajaxurl,
|
1591 |
type: 'post',
|
1596 |
posttype : posttype
|
1597 |
},
|
1598 |
success: function(data){
|
|
|
1599 |
$('#nested-loading').hide();
|
1600 |
if (data.status === 'error'){
|
1601 |
$('#np-error').text(data.message).show();
|
1608 |
|
1609 |
|
1610 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1611 |
}); //$
|
assets/js/nestedpages.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(function(t){function a(){var a=t(".nplist");t(".page-row").removeClass("no-border"),t.each(a,function(){t(this).find(".page-row:visible:first").addClass("no-border")})}function e(){var a=t(".nestedpages").find(".nplist");t.each(a,function(){var a=t(this).parents(".nplist").length,e=56;if(a>0){var e=20*a+e;t(this).find(".row-inner").css("padding-left",e+"px")}else t(this).find(".row-inner").css("padding-left","0px")})}function n(){var a=t(".sortable").attr("id");return a.substring(3)}function s(a){var e=1;return t.each(nestedpages.post_types,function(t,n){n.name===a&&n.hierarchical===!0&&(e=0)}),e}function o(a){if(0===s(n())){var e=t(a.placeholder).parents("ol").length,i=t(".sortable").width(),o=40*e-40,r=i-o;t(a.placeholder).width(r).css("margin-left",o+"px")}d(a)}function d(a){var e=t(a.placeholder).parent("ol");t(e).is(":visible")||(t(e).addClass("nplist"),t(e).show())}function r(){t(".child-toggle").each(function(){var a=t(this).parent(".row").parent("li");if(t(a).children("ol").length>0){var e=t(a).children("ol:visible").length>0?"np-icon-arrow-down":"np-icon-arrow-right";t(this).html('<a href="#"><i class="'+e+'"></i></a>')}else t(this).empty()})}function l(){t("#np-error").hide(),t("#nested-loading").show();var a=t(".np-sync-menu").is(":checked")?"sync":"nosync";list=t("ol.sortable").nestedSortable("toHierarchy",{startDepthCount:0}),t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npsort",nonce:nestedpages.np_nonce,list:list,post_type:n(),syncmenu:a},success:function(a){"error"===a.status?(t("#np-error").text(a.message).show(),t("#nested-loading").hide()):t("#nested-loading").hide()}})}function c(a){t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npsyncMenu",nonce:nestedpages.np_nonce,post_type:n(),syncmenu:a},success:function(t){"error"===t.status&&alert("There was an error saving the sync setting.")}})}function p(a){var e={id:t(a).attr("data-id"),title:t(a).attr("data-title"),slug:t(a).attr("data-slug"),author:t(a).attr("data-author"),cs:t(a).attr("data-commentstatus"),status:t(a).attr("data-status"),template:t(a).attr("data-template"),month:t(a).attr("data-month"),day:t(a).attr("data-day"),year:t(a).attr("data-year"),hour:t(a).attr("data-hour"),minute:t(a).attr("data-minute"),navstatus:t(a).attr("data-navstatus"),npstatus:t(a).attr("data-np-status"),navtitle:t(a).attr("data-navtitle"),navtitleattr:t(a).attr("data-navtitleattr"),navcss:t(a).attr("data-navcss"),linktarget:t(a).attr("data-linktarget"),password:t(a).attr("data-password"),datepicker:t(a).attr("data-datepicker"),time:t(a).attr("data-formattedtime"),ampm:t(a).attr("data-ampm")},n=t(a).closest(".row").parent("li");e.h_taxonomies=[],e.f_taxonomies=[];var s=t(n).attr("class").split(/\s+/);for(i=0;i<s.length;i++)"in-"===s[i].substring(0,3)&&e.h_taxonomies.push(s[i]),"inf-"===s[i].substring(0,4)&&e.f_taxonomies.push(s[i]);if(t(n).children("ol").length>0)var o=t(n).children("ol"),d=t(".quick-edit-form").clone().insertBefore(o);else var d=t(".quick-edit-form").clone().appendTo(n);t(d).siblings(".row").hide();u(d,e)}function u(a,e){if(t(a).find(".page_id").html("<em>ID:</em> "+e.id),t(a).find(".np_id").val(e.id),t(a).find(".np_title").val(e.title),t(a).find(".np_slug").val(e.slug),t(a).find(".np_author select").val(e.author),t(a).find(".np_status").val(e.status),t(a).find(".np_nav_title").val(e.navtitle),t(a).find(".np_title_attribute").val(e.navtitleattr),t(a).find(".np_nav_css_classes").val(e.navcss),t(a).find(".post_password").val(e.password),t(a).find(".np_datepicker").val(e.datepicker),t(a).find(".np_time").val(e.time),t(a).find(".np_ampm").val(e.ampm),"open"===e.cs&&t(a).find(".np_cs").prop("checked","checked"),t(a).find(".np_template").val(""!==e.template?e.template:"default"),"private"===e.status&&(t(a).find(".post_password").prop("readonly",!0),t(a).find(".keep_private").prop("checked",!0)),"hide"===e.npstatus?t(a).find(".np_status").prop("checked","checked"):t(a).find(".np_status").removeAttr("checked"),"hide"===e.navstatus?t(a).find(".np_nav_status").prop("checked","checked"):t(a).find(".np_nav_status").removeAttr("checked"),"_blank"===e.linktarget?t(a).find(".link_target").prop("checked","checked"):t(a).find(".link_target").removeAttr("checked"),"private"===e.status&&t(a).find(".np_status").val("publish"),t(a).find('select[name="mm"]').val(e.month),t(a).find('input[name="jj"]').val(e.day),t(a).find('input[name="aa"]').val(e.year),t(a).find('input[name="hh"]').val(e.hour),t(a).find('input[name="mn"]').val(e.minute),e.hasOwnProperty("h_taxonomies")){var n=e.h_taxonomies;for(i=0;i<n.length;i++){var s="#"+n[i];t(a).find(s).prop("checked","checked")}}_(),t(a).show(),t(a).find(".np_datepicker").datepicker({beforeShow:function(){t("#ui-datepicker-div").addClass("nestedpages-datepicker")}}),e.hasOwnProperty("f_taxonomies")&&(h(e.f_taxonomies),m(a))}function h(t){var a={};for(i=0;i<t.length;i++){var e=t[i].split("-"),n=e.indexOf("nps"),s=e.splice(n+1);s=s.join("-");var o=t[i].split("-").splice(0,n);o.shift("inf");var d=o.join("-");d in a||(a[d]=[]);var r=a[d];r.push(s)}f(a)}function f(a){t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npgetTaxonomies",nonce:nestedpages.np_nonce,terms:a},success:function(t){v(t.terms)}})}function v(a){a&&t.each(a,function(a,e){var n=t("#"+a);t(n).val(e.join(","))})}function m(a){var e=t(a).find("[data-autotag]");t.each(e,function(){var a=t(this).attr("data-taxonomy");t(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+a,{multiple:!0,multipleSep:","})})}function g(){t(".np-quickedit-error").hide(),k(),t(".sortable .quick-edit").remove(),t(".row").show()}function _(){t("body").append('<div class="np-inline-overlay"></div>'),setTimeout(function(){t(".np-inline-overlay").addClass("active")},50)}function k(){t(".np-inline-overlay").removeClass("active").remove()}function w(a){t(".np-quickedit-error").hide();var e=t(".np-sync-menu").is(":checked")?"sync":"nosync";t.ajax({url:ajaxurl,type:"post",datatype:"json",data:t(a).serialize()+"&action=npquickEdit&nonce="+nestedpages.np_nonce+"&syncmenu="+e+"&post_type="+n(),success:function(e){console.log(e),"error"===e.status?(q(a),t(a).find(".np-quickedit-error").text(e.message).show()):(q(a),b(a,e.post_data),D(a))},error:function(t){console.log(t)}})}function b(a,e){var n=t(a).parent(".quick-edit").siblings(".row");t(n).find(".title").text(e.post_title);var i=t(n).find(".status");if(t(i).text("publish"!==e._status&&"future"!==e._status?"("+e._status+")":"private"===e.keep_private?"("+e.keep_private+")":""),""!==e.post_password){var s=t(i).text();s+=' <i class="np-icon-lock"></i>',t(i).html(s)}var o=t(n).find(".nav-status");t(o).text("hide"==e.nav_status?"(Hidden)":"");var d=t(n).parent("li");"hide"==e.np_status?(t(d).addClass("np-hide"),t(n).find(".status").after('<i class="np-icon-eye-blocked"></i>')):(t(d).removeClass("np-hide"),t(n).find(".np-icon-eye-blocked").remove());var r=t(n).find(".np-quick-edit");t(r).attr("data-id",e.post_id),t(r).attr("data-template",e.page_template),t(r).attr("data-title",e.post_title),t(r).attr("data-slug",e.post_name),t(r).attr("data-commentstatus",e.comment_status),t(r).attr("data-status",e._status),"private"===e.keep_private&&t(r).attr("data-status","private"),t(r).attr("data-author",e.post_author),t(r).attr("data-np-status",e.np_status),t(r).attr("data-password",e.post_password),t(r).attr("data-navstatus",e.nav_status),t(r).attr("data-navtitle",e.np_nav_title),t(r).attr("data-linktarget",e.link_target),t(r).attr("data-navtitleattr",e.np_title_attribute),t(r).attr("data-navcss",e.np_nav_css_classes),t(r).attr("data-month",e.mm),t(r).attr("data-day",e.jj),t(r).attr("data-year",e.aa),t(r).attr("data-hour",e.hh),t(r).attr("data-minute",e.mn),t(r).attr("data-datepicker",e.np_date),t(r).attr("data-time",e.np_time),t(r).attr("data-formattedtime",e.np_time),t(r).attr("data-ampm",e.np_ampm),y(d),x(d,e),C(d,e),j(d,e)}function y(a){taxonomies=[];var e=t(a).attr("class").split(/\s+/);for(i=0;i<e.length;i++)"in-"===e[i].substring(0,3)&&t(a).removeClass(e[i]),"inf-"===e[i].substring(0,4)&&t(a).removeClass(e[i])}function x(a,e){if(e.hasOwnProperty("post_category")){var n=e.post_category;for(i=0;i<n.length;i++){var s="in-category-"+n[i];t(a).addClass(s)}}}function C(a,e){if(e.hasOwnProperty("tax_input")){var n=e.tax_input;t.each(n,function(e,n){for(i=0;i<n.length;i++){var s="in-"+e+"-"+n[i];t(a).addClass(s)}})}}function j(a,e){if(e.hasOwnProperty("flat_tax")){var n=e.flat_tax;t.each(n,function(e,n){for(i=0;i<n.length;i++){var s="inf-"+e+"-nps-"+n[i];t(a).addClass(s)}})}}function q(a){t(a).find(".np-save-quickedit, .np-save-quickedit-redirect, .np-save-newchild").removeAttr("disabled"),t(a).find(".np-qe-loading").hide()}function D(e){var n=t(e).parent(".quick-edit, .new-child").siblings(".row");t(n).addClass("np-updated"),t(n).show(),t(e).parent(".quick-edit, .new-child").remove(),k(),a(),setTimeout(function(){t(n).addClass("np-updated-show")},1500)}function T(a){var e={id:t(a).attr("data-id"),url:t(a).attr("data-url"),title:t(a).attr("data-title"),status:t(a).attr("data-status"),navstatus:t(a).attr("data-navstatus"),npstatus:t(a).attr("data-np-status"),linktarget:t(a).attr("data-linktarget"),parentid:t(a).attr("data-parentid"),navtitleattr:t(a).attr("data-navtitleattr"),navcss:t(a).attr("data-navcss")},n=t(a).closest(".row").parent("li");if(t(n).children("ol").length>0)var i=t(n).children("ol"),s=t(".quick-edit-form-redirect").clone().insertBefore(i);else var s=t(".quick-edit-form-redirect").clone().appendTo(n);t(s).siblings(".row").hide();t(s).show(),A(s,e)}function A(a,e){t(a).find(".np_id").val(e.id),t(a).find(".np_title").val(e.title),t(a).find(".np_author select").val(e.author),t(a).find(".np_status").val(e.status),t(a).find(".np_content").val(e.url),t(a).find(".np_parent_id").val(e.parentid),t(a).find(".np_title_attribute").val(e.navtitleattr),t(a).find(".np_nav_css_classes").val(e.navcss),"hide"===e.npstatus?t(a).find(".np_status").prop("checked","checked"):t(a).find(".np_status").removeAttr("checked"),"hide"===e.navstatus?t(a).find(".np_nav_status").prop("checked","checked"):t(a).find(".np_nav_status").removeAttr("checked"),"_blank"===e.linktarget?t(a).find(".link_target").prop("checked","checked"):t(a).find(".link_target").removeAttr("checked"),_(),t(a).show()}function O(a){t(".np-quickedit-error").hide();var e=t(".np-sync-menu").is(":checked")?"sync":"nosync";t.ajax({url:ajaxurl,type:"post",datatype:"json",data:t(a).serialize()+"&action=npquickEditLink&nonce="+nestedpages.np_nonce+"&syncmenu="+e+"&post_type="+n(),success:function(e){"error"===e.status?(q(a),t(a).find(".np-quickedit-error").text(e.message).show()):(q(a),P(a,e.post_data),D(a))},error:function(){q(a),t(a).find(".np-quickedit-error").text("The form could not be saved at this time.").show()}})}function P(a,e){var n=t(a).parent(".quick-edit").siblings(".row");t(n).find(".title").html(e.post_title+' <i class="np-icon-link"></i>');var i=t(n).find(".status");t(i).text("publish"!==e._status&&"future"!==e._status?"("+e._status+")":"");var s=t(n).find(".nav-status");t(s).text("hide"==e.nav_status?"(Hidden)":"");var o=t(n).parent("li");"hide"==e.np_status?(t(o).addClass("np-hide"),t(n).find(".status").after('<i class="np-icon-eye-blocked"></i>')):(t(o).removeClass("np-hide"),t(n).find(".np-icon-eye-blocked").remove());var d=t(n).find(".np-quick-edit-redirect");t(d).attr("data-id",e.post_id),t(d).attr("data-title",e.post_title),t(d).attr("data-url",e.post_content),t(d).attr("data-status",e._status),t(d).attr("data-navstatus",e.nav_status),t(d).attr("data-np-status",e.np_status),t(d).attr("data-linktarget",e.link_target),t(d).attr("data-navtitleattr",e.np_title_attribute),t(d).attr("data-navcss",e.np_nav_css_classes)}function E(){t(".np-link-loading").hide(),t(".np-save-link").removeAttr("disabled")}function I(){t(".np-new-link-error").hide();var a=t(".np-new-link-form").serialize(),e=t(".np-sync-menu").is(":checked")?"sync":"nosync";t.ajax({url:ajaxurl,type:"post",datatype:"json",data:a+"&action=npnewLink&nonce="+nestedpages.np_nonce+"&syncmenu="+e+"&post_type="+n(),success:function(a){"error"===a.status?(E(),t(".np-new-link-error").text(a.message).show()):(E(),L(a.post_data))}})}function L(a){var e='<li id="menuItem_'+a.id+'" class="page-row';"publish"===a._status&&(e+=" published"),e+='">',e+='<div class="row"><div class="child-toggle"></div><div class="row-inner"><i class="np-icon-sub-menu"></i><i class="handle np-icon-menu"></i><a href="'+a.np_link_content+'" class="page-link page-title" target="_blank"><span class="title">'+a.np_link_title+' <i class="np-icon-link"></i></span>',e+="publish"!==a._status?'<span class="status">'+a._status+"</span>":'<span class="status"></span>',"hide"===a.np_status&&(e+='<i class="np-icon-eye-blocked"></i>'),e+="hide"===a.nav_status?'<span class="nav-status">(Hidden)</span>':'<span class="nav-status"></span>',e+='</a><a href="#" class="np-toggle-edit"><i class="np-icon-pencil"></i></a><div class="action-buttons"><a href="#" class="np-btn np-quick-edit-redirect" ',e+='data-id="'+a.id+'"',e+='data-parentid="'+a.parent_id+'"',e+='data-title="'+a.np_link_title+'" ',e+='data-url="'+a.np_link_content+'" ',e+='data-status="'+a._status+'" ',e+='data-np-status="'+a.np_status+'" ',e+='data-navstatus="'+a.nav_status+'" ',e+='data-linktarget="'+a.link_target+'">',e+="Quick Edit</a>",e+='<a href="'+a.delete_link+'" class="np-btn np-btn-trash"><i class="np-icon-remove"></i></a>',e+="</div></div></div></li>","0"===a.parent_id?t(".nplist:first li:first").after(e):z(e,a),t("#np-link-modal").modal("hide");var n=t("#menuItem_"+a.id).find(".row");H(n)}function z(a,e){var n=t("#menuItem_"+e.parent_id);0===t(n).children("ol").length?(a='<ol class="sortable nplist" style="display:block;">'+a+"</ol>",t(n).append(a)):t(n).find("ol:first").prepend(a),r(),B()}function H(e){t(e).addClass("np-updated"),a(),setTimeout(function(){t(e).addClass("np-updated-show")},1500)}function S(){var a=[],e=t(".page-row:visible");return t.each(e,function(){var e=t(this).attr("id");a.push(e.replace("menuItem_",""))}),a}function B(){var a=S(),e=n();t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npnestToggle",nonce:nestedpages.np_nonce,ids:a,posttype:e},success:function(t){"success"!==t.status&&console.log("There was an error saving toggled pages.")}})}function Q(){t(".np-newchild-error").hide(),k(),t("#np-bulk-modal .modal-body").empty(),t(".sortable .new-child").remove(),t(".row").show()}function M(a){var e=t(a).closest(".row").parent("li");if(t(e).children("ol").length>0)var n=t(e).children("ol"),i=t(".new-child-form").not(".np-modal .new-child-form").clone().insertBefore(n);else var i=t(".new-child-form").not(".np-modal .new-child-form").clone().appendTo(e);t(i).siblings(".row").hide();_(),t(i).find(".parent_name").html("<em>Parent:</em> "+t(a).attr("data-parentname")),t(i).find(".page_parent_id").val(t(a).attr("data-id")),t(i).show()}function F(a){{var e='<li><i class="handle np-icon-menu"></i><div class="form-control new-child-row"><label>'+nestedpages.title+'</label><div><input type="text" name="post_title[]" class="np_title" placeholder="'+nestedpages.title+'" value="" /><a href="#" class="button-secondary np-remove-child">-</a></div></div></li>';t(a).siblings(".new-page-titles").append(e)}t(".new-page-titles").sortable({items:"li",handle:".handle"})}function G(a){var e=t(a).find(t(".new-child-row")).length;e>1?(t(a).find(".add-edit").hide(),t(a).find("h3 strong").text(nestedpages.add_child_pages),t(a).find(".np-save-newchild").text(nestedpages.add+" ("+e+")")):(t(a).find(".add-edit").show(),t(a).find("h3 strong").text(nestedpages.add_child),t(a).find(".np-save-newchild").text(nestedpages.add))}function J(a,e){t(".np-quickedit-error").hide();var i=t(".np-sync-menu").is(":checked")?"sync":"nosync";t.ajax({url:ajaxurl,type:"post",datatype:"json",data:t(a).serialize()+"&action=npnewChild&nonce="+nestedpages.np_nonce+"&syncmenu="+i+"&post_type="+n(),success:function(n){if("error"===n.status)q(a),t(a).find(".np-quickedit-error").text(n.message).show();else if(e===!0){var i=n.new_pages[0].edit_link;i=i.replace(/&/g,"&"),window.location.replace(i)}else q(a),K(a,n)},error:function(){q(a),t(a).find(".np-quickedit-error").text("The form could not be saved at this time.").show()}})}function K(a,e){var n=e.new_pages,s=t(a).parent(".new-child").parent(".page-row");if(0===t(s).children("ol").length&&t(s).append('<ol class="nplist"></ol>'),t(a).hasClass("in-modal"))var o=t(".nplist.sortable li.page-row:first");else var o=t(s).children("ol");for(i=0;i<n.length;i++)N(o,n[i]);t(o).show(),r(),Q(),t("#np-bulk-modal").modal("hide"),D(a)}function N(a,e){var i='<li id="menuItem_'+e.id+'" class="page-row';"publish"===e.status&&(i+=" published"),i+='">',0===s(n())?(i+='<div class="row">',i+='<div class="child-toggle"></div>'):i+='<div class="row non-hierarchical">',i+='<div class="row-inner">',i+='<i class="np-icon-sub-menu"></i><i class="handle np-icon-menu"></i>',i+='<a href="'+e.edit_link+'" class="page-link page-title">',i+='<span class="title">'+e.title+"</span>",i+="Publish"!==e.status?'<span class="status">('+e.status+")</span>":'<span class="status"></span>',i+='<span class="nav-status"></span><span class="edit-indicator"><i class="np-icon-pencil"></i>Edit</span>',i+="</a>",i+='<div class="action-buttons">',i+='<a href="#" class="np-btn open-redirect-modal" data-parentid="'+e.id+'"><i class="np-icon-link"></i></a>',i+='<a href="#" class="np-btn add-new-child" data-id="'+e.id+'" data-parentname="'+e.title+'">'+nestedpages.add_child_short+"</a>",i+='<a href="#" class="np-btn np-quick-edit" data-id="'+e.id+'" data-template="'+e.page_template+'" data-title="'+e.title+'" data-slug="'+e.slug+'" data-commentstatus="closed" data-status="'+e.status.toLowerCase()+'" data-np-status="show" data-navstatus="show" data-author="'+e.author+'" data-template="'+e.template+'" data-month="'+e.month+'" data-day="'+e.day+'" data-year="'+e.year+'" data-hour="'+e.hour+'" data-minute="'+e.minute+'" data-datepicker="'+e.datepicker+'" data-time="'+e.time+'" data-formattedtime="'+e.formattedtime+'" data-ampm="'+e.ampm+'">'+nestedpages.quick_edit+"</a>",i+='<a href="'+e.view_link+'" class="np-btn" target="_blank">'+nestedpages.view+"</a>",i+='<a href="'+e.delete_link+'" class="np-btn np-btn-trash"><i class="np-icon-remove"></i></a>',i+="</div><!-- .action-buttons -->",i+="</div><!-- .row-inner --></div><!-- .row -->",i+="</li>",t(a).after(i)}function R(a){t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npEmptyTrash",nonce:nestedpages.np_nonce,posttype:a},success:function(a){console.log(a),t("#nested-loading").hide(),"error"===a.status?t("#np-error").text(a.message).show():t(".np-trash-links").hide()}})}function U(a){var e=t(".page-row .title");t(".page-row").hide(),t.each(e,function(){var e=t(this).text().toLowerCase();e.indexOf(a)>-1&&t(this).parents(".page-row").show()})}function V(){t(".page-row").show()}t(document).ready(function(){r(),a(),e()}),t(document).on("click",".child-toggle a",function(n){n.preventDefault();var i=t(this).parent(".child-toggle").parent(".row").siblings("ol");t(this).find("i").toggleClass("np-icon-arrow-down").toggleClass("np-icon-arrow-right"),t(i).toggle(),a(),B(),e()}),t(document).on("click",".nestedpages-toggleall a",function(e){e.preventDefault(),"closed"==t(this).attr("data-toggle")?(t(".nestedpages ol li ol").show(),t(this).attr("data-toggle","opened"),t(this).text(nestedpages.collapse_text),t(".child-toggle i").removeClass("np-icon-arrow-right").addClass("np-icon-arrow-down"),g(),a()):(t(".nestedpages ol li ol").hide(),t(this).attr("data-toggle","closed"),t(this).text(nestedpages.expand_text),t(".child-toggle i").removeClass("np-icon-arrow-down").addClass("np-icon-arrow-right"),g(),a()),B()}),t(document).on("click",".np-toggle-hidden",function(e){e.preventDefault();var n=t(this).attr("href");"show"===n?(t(this).attr("href","hide"),t(this).text(nestedpages.show_hidden),t(".np-hide").removeClass("shown").hide(),a()):(t(this).attr("href","show"),t(this).text(nestedpages.hide_hidden),t(".np-hide").addClass("shown").show(),a())}),t(".np-tabs a").on("click",function(a){a.preventDefault(),t(".np-tabs a").removeClass("active"),t(this).addClass("active");var e=t(this).attr("href");t(".np-tabbed-content").hide(),t(e).show()}),t(document).on("click",".np-toggle-publish",function(a){a.preventDefault();var e=t(this).attr("href");t(".np-toggle-publish").removeClass("active"),t(this).addClass("active"),"#published"==e?(t(".nplist .page-row").hide(),t(".nplist .published").show()):t(".nplist .page-row").show()}),t(document).on("click",".np-toggle-edit",function(a){a.preventDefault();var e=t(this).siblings(".action-buttons");t(e).is(":visible")?(t(this).removeClass("active"),t(e).hide()):(t(this).addClass("active"),t(e).show())});var W=function(){var t=0;return function(a,e){clearTimeout(t),t=setTimeout(a,e)}}();t(window).resize(function(){W(function(){t(".action-buttons").removeAttr("style"),t(".np-toggle-edit").removeClass("active")},500)}),t(document).ready(function(){t(".sortable").not(".no-sort").nestedSortable({items:".page-row",toleranceElement:"> .row",handle:".handle",placeholder:"ui-sortable-placeholder",maxLevels:s(n()),start:function(t,a){a.placeholder.height(a.item.height())},sort:function(t,a){o(a)},stop:function(){setTimeout(function(){r(),a(),e()},100),l()}})}),t(document).ready(function(){"1"===nestedpages.syncmenu&&c("sync")}),t(".np-sync-menu").on("change",function(){var a=t(this).is(":checked")?"sync":"nosync";c(a)}),t(document).on("click",".np-quick-edit",function(a){a.preventDefault(),g(),p(t(this))}),t(document).on("click",".np-inline-overlay",function(){g(),Q()}),t(document).on("click",".np-cancel-quickedit",function(a){var e=t(this).parents(".page-row");g(e),a.preventDefault()}),t(document).on("click",".np-save-quickedit",function(a){a.preventDefault(),t(".row").removeClass("np-updated").removeClass("np-updated-show");var e=t(this).parents("form");t(this).attr("disabled","disabled"),t(e).find(".np-qe-loading").show(),w(e)}),t(document).on("click",".np-toggle-taxonomies",function(a){t(this).parents("form").find(".np-taxonomies").toggle(),a.preventDefault()}),t(document).on("click",".np-toggle-menuoptions",function(a){a.preventDefault(),t(this).parents("form").find(".np-menuoptions").toggle()}),t(document).on("change",".keep_private",function(){this.checked?t(".post_password").val("").prop("readonly",!0):t(".post_password").prop("readonly",!1)}),t(document).on("click",".np-quick-edit-redirect",function(a){a.preventDefault(),g(),T(t(this))}),t(document).on("click",".np-save-quickedit-redirect",function(a){a.preventDefault(),t(".row").removeClass("np-updated").removeClass("np-updated-show");var e=t(this).parents("form");t(this).attr("disabled","disabled"),t(e).find(".np-qe-loading").show(),O(e)}),t(document).on("click",".open-redirect-modal",function(a){a.preventDefault();var e=t(this).attr("data-parentid");t("#np-link-modal").find("input").val(""),t("#np-link-modal .parent_id").val(e),t("#np-add-link-title").text("0"===e?nestedpages.add_link:nestedpages.add_child_link),t("#np-link-modal").modal("show")}),t(document).on("click",".np-save-link",function(a){a.preventDefault(),t(".np-new-link-error").hide(),t(".np-link-loading").show(),t(this).attr("disabled","disabled"),I()}),t("#np-bulk-modal").on("hide.bs.modal",function(){Q()}),t(document).on("click",".np-cancel-newchild",function(a){a.preventDefault(),Q(),t("#np-bulk-modal").modal("hide")}),t(document).on("click",".add-new-child",function(a){a.preventDefault(),M(t(this))}),t(document).on("click",".open-bulk-modal",function(a){a.preventDefault();var e=t(".new-child-form").clone().find(".np-new-child-form").addClass("in-modal");t("#np-bulk-modal .modal-body").html(e),t("#np-bulk-modal .new-child-form").show(),t("#np-bulk-modal").find("h3").text(nestedpages.add_multiple),t("#np-bulk-modal").find(".page_parent_id").val("0"),t("#np-bulk-modal").modal("show")}),t(document).on("click",".add-new-child-row",function(a){a.preventDefault(),F(t(this));var e=t(this).parents("form");G(e)}),t(document).on("click",".np-remove-child",function(a){a.preventDefault();var e=t(this).parents("form");t(this).parents(".new-child-row").parent("li").remove(),G(e)}),t(document).on("submit",".np-new-child-form",function(t){t.preventDefault()}),t(document).on("click",".np-save-newchild",function(a){a.preventDefault(),t(this).prop("disabled","disabled");var e=t(this).parents("form");t(e).find(".np-qe-loading").show();var n=t(this).hasClass("add-edit")?!0:!1;J(e,n)}),t(".np-empty-trash").on("click",function(a){a.preventDefault(),t("#nested-loading").show(),t("#np-error").hide();var e=t(this).attr("data-posttype");window.confirm(nestedpages.trash_confirm)&&R(e)}),t(document).on("keyup","#nestedpages-search",function(){var a=t(this).val().toLowerCase();return a.length>2?void U(a):void V()})});
|
1 |
+
jQuery(function(t){function a(){var a=t(".nplist");t(".page-row").removeClass("no-border"),t.each(a,function(){t(this).find(".page-row:visible:first").addClass("no-border")})}function e(){var a=t(".nestedpages").find(".nplist");t.each(a,function(){var a=t(this).parents(".nplist").length,e=56;if(a>0){var e=20*a+e;t(this).find(".row-inner").css("padding-left",e+"px")}else t(this).find(".row-inner").css("padding-left","0px")})}function n(){var a=t(".sortable").attr("id");return a.substring(3)}function s(){var t=n();return 0===r(t)?!0:!1}function d(){t(".sortable").not(".no-sort").nestedSortable({items:".page-row",toleranceElement:"> .row",handle:".handle",placeholder:"ui-sortable-placeholder",maxLevels:r(n()),start:function(t,a){a.placeholder.height(a.item.height())},sort:function(t,a){l(a)},stop:function(){setTimeout(function(){c(),a(),e()},100),u()}})}function o(){t(".sortable").sortable("destroy")}function r(a){var e=1;return t.each(nestedpages.post_types,function(t,n){n.name===a&&(n.hierarchical===!0&&(e=0),n.disable_nesting===!0&&(e=1))}),e}function l(a){if(0===r(n())){var e=t(a.placeholder).parents("ol").length,i=t(".sortable").width(),s=40*e-40,d=i-s;t(a.placeholder).width(d).css("margin-left",s+"px")}p(a)}function p(a){var e=t(a.placeholder).parent("ol");t(e).is(":visible")||(t(e).addClass("nplist"),t(e).show())}function c(){t(".child-toggle").each(function(){var a=t(this).parent(".row").parent("li");if(t(a).children("ol").length>0){var e=t(a).children("ol:visible").length>0?"np-icon-arrow-down":"np-icon-arrow-right";t(this).html('<a href="#"><i class="'+e+'"></i></a>')}else t(this).empty()})}function u(){t("#np-error").hide(),t("#nested-loading").show();var a=t(".np-sync-menu").is(":checked")?"sync":"nosync";list=t("ol.sortable").nestedSortable("toHierarchy",{startDepthCount:0}),o(),t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npsort",nonce:nestedpages.np_nonce,list:list,post_type:n(),syncmenu:a},success:function(a){d(),"error"===a.status?(t("#np-error").text(a.message).show(),t("#nested-loading").hide()):t("#nested-loading").hide()}})}function h(a){t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npsyncMenu",nonce:nestedpages.np_nonce,post_type:n(),syncmenu:a},success:function(t){"error"===t.status&&alert("There was an error saving the sync setting.")}})}function f(a){var e={id:t(a).attr("data-id"),title:t(a).attr("data-title"),slug:t(a).attr("data-slug"),author:t(a).attr("data-author"),cs:t(a).attr("data-commentstatus"),status:t(a).attr("data-status"),template:t(a).attr("data-template"),month:t(a).attr("data-month"),day:t(a).attr("data-day"),year:t(a).attr("data-year"),hour:t(a).attr("data-hour"),minute:t(a).attr("data-minute"),navstatus:t(a).attr("data-navstatus"),npstatus:t(a).attr("data-np-status"),navtitle:t(a).attr("data-navtitle"),navtitleattr:t(a).attr("data-navtitleattr"),navcss:t(a).attr("data-navcss"),linktarget:t(a).attr("data-linktarget"),password:t(a).attr("data-password"),datepicker:t(a).attr("data-datepicker"),time:t(a).attr("data-formattedtime"),ampm:t(a).attr("data-ampm")},n=t(a).closest(".row").parent("li");e.h_taxonomies=[],e.f_taxonomies=[];var s=t(n).attr("class").split(/\s+/);for(i=0;i<s.length;i++)"in-"===s[i].substring(0,3)&&e.h_taxonomies.push(s[i]),"inf-"===s[i].substring(0,4)&&e.f_taxonomies.push(s[i]);if(t(n).children("ol").length>0)var d=t(n).children("ol"),o=t(".quick-edit-form").clone().insertBefore(d);else var o=t(".quick-edit-form").clone().appendTo(n);t(o).siblings(".row").hide();v(o,e)}function v(a,e){if(t(a).find(".page_id").html("<em>ID:</em> "+e.id),t(a).find(".np_id").val(e.id),t(a).find(".np_title").val(e.title),t(a).find(".np_slug").val(e.slug),t(a).find(".np_author select").val(e.author),t(a).find(".np_status").val(e.status),t(a).find(".np_nav_title").val(e.navtitle),t(a).find(".np_title_attribute").val(e.navtitleattr),t(a).find(".np_nav_css_classes").val(e.navcss),t(a).find(".post_password").val(e.password),t(a).find(".np_datepicker").val(e.datepicker),t(a).find(".np_time").val(e.time),t(a).find(".np_ampm").val(e.ampm),"open"===e.cs&&t(a).find(".np_cs").prop("checked","checked"),t(a).find(".np_template").val(""!==e.template?e.template:"default"),"private"===e.status&&(t(a).find(".post_password").prop("readonly",!0),t(a).find(".keep_private").prop("checked",!0)),"hide"===e.npstatus?t(a).find(".np_status").prop("checked","checked"):t(a).find(".np_status").removeAttr("checked"),"hide"===e.navstatus?t(a).find(".np_nav_status").prop("checked","checked"):t(a).find(".np_nav_status").removeAttr("checked"),"_blank"===e.linktarget?t(a).find(".link_target").prop("checked","checked"):t(a).find(".link_target").removeAttr("checked"),"private"===e.status&&t(a).find(".np_status").val("publish"),t(a).find('select[name="mm"]').val(e.month),t(a).find('input[name="jj"]').val(e.day),t(a).find('input[name="aa"]').val(e.year),t(a).find('input[name="hh"]').val(e.hour),t(a).find('input[name="mn"]').val(e.minute),e.hasOwnProperty("h_taxonomies")){var n=e.h_taxonomies;for(i=0;i<n.length;i++){var s="#"+n[i];t(a).find(s).prop("checked","checked")}}b(),t(a).show(),t(a).find(".np_datepicker").datepicker({beforeShow:function(){t("#ui-datepicker-div").addClass("nestedpages-datepicker")}}),e.hasOwnProperty("f_taxonomies")&&(m(e.f_taxonomies),k(a))}function m(t){var a={};for(i=0;i<t.length;i++){var e=t[i].split("-"),n=e.indexOf("nps"),s=e.splice(n+1);s=s.join("-");var d=t[i].split("-").splice(0,n);d.shift("inf");var o=d.join("-");o in a||(a[o]=[]);var r=a[o];r.push(s)}g(a)}function g(a){t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npgetTaxonomies",nonce:nestedpages.np_nonce,terms:a},success:function(t){_(t.terms)}})}function _(a){a&&t.each(a,function(a,e){var n=t("#"+a);t(n).val(e.join(","))})}function k(a){var e=t(a).find("[data-autotag]");t.each(e,function(){var a=t(this).attr("data-taxonomy");t(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+a,{multiple:!0,multipleSep:","})})}function w(){t(".np-quickedit-error").hide(),y(),t(".sortable .quick-edit").remove(),t(".row").show()}function b(){t("body").append('<div class="np-inline-overlay"></div>'),setTimeout(function(){t(".np-inline-overlay").addClass("active")},50)}function y(){t(".np-inline-overlay").removeClass("active").remove()}function x(a){t(".np-quickedit-error").hide();var e=t(".np-sync-menu").is(":checked")?"sync":"nosync";t.ajax({url:ajaxurl,type:"post",datatype:"json",data:t(a).serialize()+"&action=npquickEdit&nonce="+nestedpages.np_nonce+"&syncmenu="+e+"&post_type="+n(),success:function(e){"error"===e.status?(A(a),t(a).find(".np-quickedit-error").text(e.message).show()):(A(a),C(a,e.post_data),P(a))},error:function(t){console.log(t)}})}function C(a,e){var n=t(a).parent(".quick-edit").siblings(".row");t(n).find(".title").text(e.post_title);var i=t(n).find(".status");if(t(i).text("publish"!==e._status&&"future"!==e._status?"("+e._status+")":"private"===e.keep_private?"("+e.keep_private+")":""),""!==e.post_password){var d=t(i).text();d+=' <i class="np-icon-lock"></i>',t(i).html(d)}var o=t(n).find(".nav-status");t(o).text("hide"==e.nav_status?"(Hidden)":"");var r=t(n).parent("li");"hide"==e.np_status?(t(r).addClass("np-hide"),t(n).find(".status").after('<i class="np-icon-eye-blocked"></i>')):(t(r).removeClass("np-hide"),t(n).find(".np-icon-eye-blocked").remove()),s()||t(n).find(".np-author-display").text(e.author_name);var l=t(n).find(".np-quick-edit");t(l).attr("data-id",e.post_id),t(l).attr("data-template",e.page_template),t(l).attr("data-title",e.post_title),t(l).attr("data-slug",e.post_name),t(l).attr("data-commentstatus",e.comment_status),t(l).attr("data-status",e._status),"private"===e.keep_private&&t(l).attr("data-status","private"),t(l).attr("data-author",e.post_author),t(l).attr("data-np-status",e.np_status),t(l).attr("data-password",e.post_password),t(l).attr("data-navstatus",e.nav_status),t(l).attr("data-navtitle",e.np_nav_title),t(l).attr("data-linktarget",e.link_target),t(l).attr("data-navtitleattr",e.np_title_attribute),t(l).attr("data-navcss",e.np_nav_css_classes),t(l).attr("data-month",e.mm),t(l).attr("data-day",e.jj),t(l).attr("data-year",e.aa),t(l).attr("data-hour",e.hh),t(l).attr("data-minute",e.mn),t(l).attr("data-datepicker",e.np_date),t(l).attr("data-time",e.np_time),t(l).attr("data-formattedtime",e.np_time),t(l).attr("data-ampm",e.np_ampm),j(r),q(r,e),D(r,e),T(r,e)}function j(a){taxonomies=[];var e=t(a).attr("class").split(/\s+/);for(i=0;i<e.length;i++)"in-"===e[i].substring(0,3)&&t(a).removeClass(e[i]),"inf-"===e[i].substring(0,4)&&t(a).removeClass(e[i])}function q(a,e){if(e.hasOwnProperty("post_category")){var n=e.post_category;for(i=0;i<n.length;i++){var s="in-category-"+n[i];t(a).addClass(s)}}}function D(a,e){if(e.hasOwnProperty("tax_input")){var n=e.tax_input;t.each(n,function(e,n){for(i=0;i<n.length;i++){var s="in-"+e+"-"+n[i];t(a).addClass(s)}})}}function T(a,e){if(e.hasOwnProperty("flat_tax")){var n=e.flat_tax;t.each(n,function(e,n){for(i=0;i<n.length;i++){var s="inf-"+e+"-nps-"+n[i];t(a).addClass(s)}})}}function A(a){t(a).find(".np-save-quickedit, .np-save-quickedit-redirect, .np-save-newchild").removeAttr("disabled"),t(a).find(".np-qe-loading").hide()}function P(e){var n=t(e).parent(".quick-edit, .new-child").siblings(".row");t(n).addClass("np-updated"),t(n).show(),t(e).parent(".quick-edit, .new-child").remove(),y(),a(),setTimeout(function(){t(n).addClass("np-updated-show")},1500)}function E(a){var e={id:t(a).attr("data-id"),url:t(a).attr("data-url"),title:t(a).attr("data-title"),status:t(a).attr("data-status"),navstatus:t(a).attr("data-navstatus"),npstatus:t(a).attr("data-np-status"),linktarget:t(a).attr("data-linktarget"),parentid:t(a).attr("data-parentid"),navtitleattr:t(a).attr("data-navtitleattr"),navcss:t(a).attr("data-navcss")},n=t(a).closest(".row").parent("li");if(t(n).children("ol").length>0)var i=t(n).children("ol"),s=t(".quick-edit-form-redirect").clone().insertBefore(i);else var s=t(".quick-edit-form-redirect").clone().appendTo(n);t(s).siblings(".row").hide();t(s).show(),I(s,e)}function I(a,e){t(a).find(".np_id").val(e.id),t(a).find(".np_title").val(e.title),t(a).find(".np_author select").val(e.author),t(a).find(".np_status").val(e.status),t(a).find(".np_content").val(e.url),t(a).find(".np_parent_id").val(e.parentid),t(a).find(".np_title_attribute").val(e.navtitleattr),t(a).find(".np_nav_css_classes").val(e.navcss),"hide"===e.npstatus?t(a).find(".np_status").prop("checked","checked"):t(a).find(".np_status").removeAttr("checked"),"hide"===e.navstatus?t(a).find(".np_nav_status").prop("checked","checked"):t(a).find(".np_nav_status").removeAttr("checked"),"_blank"===e.linktarget?t(a).find(".link_target").prop("checked","checked"):t(a).find(".link_target").removeAttr("checked"),b(),t(a).show()}function O(a){t(".np-quickedit-error").hide();var e=t(".np-sync-menu").is(":checked")?"sync":"nosync";t.ajax({url:ajaxurl,type:"post",datatype:"json",data:t(a).serialize()+"&action=npquickEditLink&nonce="+nestedpages.np_nonce+"&syncmenu="+e+"&post_type="+n(),success:function(e){console.log(e),"error"===e.status?(A(a),t(a).find(".np-quickedit-error").text(e.message).show()):(A(a),z(a,e.post_data),P(a))},error:function(){A(a),t(a).find(".np-quickedit-error").text("The form could not be saved at this time.").show()}})}function z(a,e){var n=t(a).parent(".quick-edit").siblings(".row");t(n).find(".title").html(e.post_title+' <i class="np-icon-link"></i>');var i=t(n).find(".status");t(i).text("publish"!==e._status&&"future"!==e._status?"("+e._status+")":"");var s=t(n).find(".nav-status");t(s).text("hide"==e.nav_status?"(Hidden)":"");var d=t(n).parent("li");"hide"==e.np_status?(t(d).addClass("np-hide"),t(n).find(".status").after('<i class="np-icon-eye-blocked"></i>')):(t(d).removeClass("np-hide"),t(n).find(".np-icon-eye-blocked").remove());var o=t(n).find(".np-quick-edit-redirect");t(o).attr("data-id",e.post_id),t(o).attr("data-title",e.post_title),t(o).attr("data-url",e.post_content),t(o).attr("data-status",e._status),t(o).attr("data-navstatus",e.nav_status),t(o).attr("data-np-status",e.np_status),t(o).attr("data-linktarget",e.link_target),t(o).attr("data-navtitleattr",e.np_title_attribute),t(o).attr("data-navcss",e.np_nav_css_classes)}function H(){t(".np-link-loading").hide(),t(".np-save-link").removeAttr("disabled")}function L(){t(".np-new-link-error").hide();var a=t(".np-new-link-form").serialize(),e=t(".np-sync-menu").is(":checked")?"sync":"nosync";t.ajax({url:ajaxurl,type:"post",datatype:"json",data:a+"&action=npnewLink&nonce="+nestedpages.np_nonce+"&syncmenu="+e+"&post_type="+n(),success:function(a){"error"===a.status?(H(),t(".np-new-link-error").text(a.message).show()):(H(),S(a.post_data))}})}function S(a){var e='<li id="menuItem_'+a.id+'" class="page-row';"publish"===a._status&&(e+=" published"),e+='">',e+='<div class="row"><div class="child-toggle"></div><div class="row-inner"><i class="np-icon-sub-menu"></i><i class="handle np-icon-menu"></i><a href="'+a.np_link_content+'" class="page-link page-title" target="_blank"><span class="title">'+a.np_link_title+' <i class="np-icon-link"></i></span>',e+="publish"!==a._status?'<span class="status">'+a._status+"</span>":'<span class="status"></span>',"hide"===a.np_status&&(e+='<i class="np-icon-eye-blocked"></i>'),e+="hide"===a.nav_status?'<span class="nav-status">(Hidden)</span>':'<span class="nav-status"></span>',e+='</a><a href="#" class="np-toggle-edit"><i class="np-icon-pencil"></i></a><div class="action-buttons"><a href="#" class="np-btn np-quick-edit-redirect" ',e+='data-id="'+a.id+'"',e+='data-parentid="'+a.parent_id+'"',e+='data-title="'+a.np_link_title+'" ',e+='data-url="'+a.np_link_content+'" ',e+='data-status="'+a._status+'" ',e+='data-np-status="'+a.np_status+'" ',e+='data-navstatus="'+a.nav_status+'" ',e+='data-linktarget="'+a.link_target+'">',e+="Quick Edit</a>",e+='<a href="'+a.delete_link+'" class="np-btn np-btn-trash"><i class="np-icon-remove"></i></a>',e+="</div></div></div></li>","0"===a.parent_id?t(".nplist:first li:first").after(e):B(e,a),t("#np-link-modal").modal("hide");var n=t("#menuItem_"+a.id).find(".row");Q(n)}function B(a,e){var n=t("#menuItem_"+e.parent_id);0===t(n).children("ol").length?(a='<ol class="sortable nplist" style="display:block;">'+a+"</ol>",t(n).append(a)):t(n).find("ol:first").prepend(a),c(),F()}function Q(e){t(e).addClass("np-updated"),a(),setTimeout(function(){t(e).addClass("np-updated-show")},1500)}function M(){var a=[],e=t(".page-row:visible");return t.each(e,function(){var e=t(this).attr("id");a.push(e.replace("menuItem_",""))}),a}function F(){var a=M(),e=n();t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npnestToggle",nonce:nestedpages.np_nonce,ids:a,posttype:e},success:function(t){"success"!==t.status&&console.log("There was an error saving toggled pages.")}})}function G(){t(".np-newchild-error").hide(),y(),t("#np-bulk-modal .modal-body").empty(),t(".sortable .new-child").remove(),t(".row").show()}function J(a){var e=t(a).closest(".row").parent("li");if(t(e).children("ol").length>0)var n=t(e).children("ol"),i=t(".new-child-form").not(".np-modal .new-child-form").clone().insertBefore(n);else var i=t(".new-child-form").not(".np-modal .new-child-form").clone().appendTo(e);t(i).siblings(".row").hide();b(),t(i).find(".parent_name").html("<em>Parent:</em> "+t(a).attr("data-parentname")),t(i).find(".page_parent_id").val(t(a).attr("data-id")),t(i).show()}function K(a){{var e='<li><i class="handle np-icon-menu"></i><div class="form-control new-child-row"><label>'+nestedpages.title+'</label><div><input type="text" name="post_title[]" class="np_title" placeholder="'+nestedpages.title+'" value="" /><a href="#" class="button-secondary np-remove-child">-</a></div></div></li>';t(a).siblings(".new-page-titles").append(e)}t(".new-page-titles").sortable({items:"li",handle:".handle"})}function N(a){var e=t(a).find(t(".new-child-row")).length;e>1?(t(a).find(".add-edit").hide(),t(a).find("h3 strong").text(nestedpages.add_child_pages),t(a).find(".np-save-newchild").text(nestedpages.add+" ("+e+")")):(t(a).find(".add-edit").show(),t(a).find("h3 strong").text(nestedpages.add_child),t(a).find(".np-save-newchild").text(nestedpages.add))}function R(a,e){t(".np-quickedit-error").hide();var i=t(".np-sync-menu").is(":checked")?"sync":"nosync";t.ajax({url:ajaxurl,type:"post",datatype:"json",data:t(a).serialize()+"&action=npnewChild&nonce="+nestedpages.np_nonce+"&syncmenu="+i+"&post_type="+n(),success:function(n){if("error"===n.status)A(a),t(a).find(".np-quickedit-error").text(n.message).show();else if(e===!0){var i=n.new_pages[0].edit_link;i=i.replace(/&/g,"&"),window.location.replace(i)}else A(a),U(a,n)},error:function(){A(a),t(a).find(".np-quickedit-error").text("The form could not be saved at this time.").show()}})}function U(a,e){var n=e.new_pages,s=t(a).parent(".new-child").parent(".page-row");if(0===t(s).children("ol").length&&t(s).append('<ol class="nplist"></ol>'),t(a).hasClass("in-modal"))var d=t(".nplist.sortable li.page-row:first");else var d=t(s).children("ol");for(i=0;i<n.length;i++)V(d,n[i]);t(d).show(),c(),G(),t("#np-bulk-modal").modal("hide"),P(a)}function V(a,e){var i='<li id="menuItem_'+e.id+'" class="page-row';"publish"===e.status&&(i+=" published"),i+='">',0===r(n())?(i+='<div class="row">',i+='<div class="child-toggle"></div>'):i+='<div class="row non-hierarchical">',i+='<div class="row-inner">',i+='<i class="np-icon-sub-menu"></i><i class="handle np-icon-menu"></i>',i+='<a href="'+e.edit_link+'" class="page-link page-title">',i+='<span class="title">'+e.title+"</span>",i+="Publish"!==e.status?'<span class="status">('+e.status+")</span>":'<span class="status"></span>',i+='<span class="nav-status"></span><span class="edit-indicator"><i class="np-icon-pencil"></i>Edit</span>',i+="</a>",i+='<div class="action-buttons">',i+='<a href="#" class="np-btn open-redirect-modal" data-parentid="'+e.id+'"><i class="np-icon-link"></i></a>',i+='<a href="#" class="np-btn add-new-child" data-id="'+e.id+'" data-parentname="'+e.title+'">'+nestedpages.add_child_short+"</a>",i+='<a href="#" class="np-btn np-quick-edit" data-id="'+e.id+'" data-template="'+e.page_template+'" data-title="'+e.title+'" data-slug="'+e.slug+'" data-commentstatus="closed" data-status="'+e.status.toLowerCase()+'" data-np-status="show" data-navstatus="show" data-author="'+e.author+'" data-template="'+e.template+'" data-month="'+e.month+'" data-day="'+e.day+'" data-year="'+e.year+'" data-hour="'+e.hour+'" data-minute="'+e.minute+'" data-datepicker="'+e.datepicker+'" data-time="'+e.time+'" data-formattedtime="'+e.formattedtime+'" data-ampm="'+e.ampm+'">'+nestedpages.quick_edit+"</a>",i+='<a href="'+e.view_link+'" class="np-btn" target="_blank">'+nestedpages.view+"</a>",i+='<a href="'+e.delete_link+'" class="np-btn np-btn-trash"><i class="np-icon-remove"></i></a>',i+="</div><!-- .action-buttons -->",i+="</div><!-- .row-inner --></div><!-- .row -->",i+="</li>",t(a).append(i)}function W(){var a=t("#np-trash-posttype").val();t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npEmptyTrash",nonce:nestedpages.np_nonce,posttype:a},success:function(a){t("#nested-loading").hide(),"error"===a.status?t("#np-error").text(a.message).show():t(".np-trash-links").hide()}})}t(document).ready(function(){c(),a(),e(),d()}),t(document).on("click",".child-toggle a",function(n){n.preventDefault();var i=t(this).parent(".child-toggle").parent(".row").siblings("ol");t(this).find("i").toggleClass("np-icon-arrow-down").toggleClass("np-icon-arrow-right"),t(i).toggle(),a(),F(),e()}),t(document).on("click",".nestedpages-toggleall a",function(e){e.preventDefault(),"closed"==t(this).attr("data-toggle")?(t(".nestedpages ol li ol").show(),t(this).attr("data-toggle","opened"),t(this).text(nestedpages.collapse_text),t(".child-toggle i").removeClass("np-icon-arrow-right").addClass("np-icon-arrow-down"),w(),a()):(t(".nestedpages ol li ol").hide(),t(this).attr("data-toggle","closed"),t(this).text(nestedpages.expand_text),t(".child-toggle i").removeClass("np-icon-arrow-down").addClass("np-icon-arrow-right"),w(),a()),F()}),t(document).on("click",".np-toggle-hidden",function(e){e.preventDefault();var n=t(this).attr("href");"show"===n?(t(this).attr("href","hide"),t(this).text(nestedpages.show_hidden),t(".np-hide").removeClass("shown").hide(),a()):(t(this).attr("href","show"),t(this).text(nestedpages.hide_hidden),t(".np-hide").addClass("shown").show(),a())}),t(".np-tabs a").on("click",function(a){a.preventDefault(),t(".np-tabs a").removeClass("active"),t(this).addClass("active");var e=t(this).attr("href");t(".np-tabbed-content").hide(),t(e).show()}),t(document).on("click",".np-toggle-publish",function(a){a.preventDefault();var e=t(this).attr("href");t(".np-toggle-publish").removeClass("active"),t(this).addClass("active"),"#published"==e?(t(".nplist .page-row").hide(),t(".nplist .published").show()):t(".nplist .page-row").show()}),t(document).on("click",".np-toggle-edit",function(a){a.preventDefault();var e=t(this).siblings(".action-buttons");t(e).is(":visible")?(t(this).removeClass("active"),t(e).hide()):(t(this).addClass("active"),t(e).show())});var X=function(){var t=0;return function(a,e){clearTimeout(t),t=setTimeout(a,e)}}();t(window).resize(function(){X(function(){t(".action-buttons").removeAttr("style"),t(".np-toggle-edit").removeClass("active")},500)}),t(document).ready(function(){"1"===nestedpages.syncmenu&&h("sync")}),t(".np-sync-menu").on("change",function(){var a=t(this).is(":checked")?"sync":"nosync";h(a)}),t(document).on("click",".np-quick-edit",function(a){a.preventDefault(),w(),f(t(this))}),t(document).on("click",".np-inline-overlay",function(){w(),G()}),t(document).on("click",".np-cancel-quickedit",function(a){var e=t(this).parents(".page-row");w(e),a.preventDefault()}),t(document).on("click",".np-save-quickedit",function(a){a.preventDefault(),t(".row").removeClass("np-updated").removeClass("np-updated-show");var e=t(this).parents("form");t(this).attr("disabled","disabled"),t(e).find(".np-qe-loading").show(),x(e)}),t(document).on("click",".np-toggle-taxonomies",function(a){t(this).parents("form").find(".np-taxonomies").toggle(),a.preventDefault()}),t(document).on("click",".np-toggle-menuoptions",function(a){a.preventDefault(),t(this).parents("form").find(".np-menuoptions").toggle()}),t(document).on("change",".keep_private",function(){this.checked?t(".post_password").val("").prop("readonly",!0):t(".post_password").prop("readonly",!1)}),t(document).on("click",".np-quick-edit-redirect",function(a){a.preventDefault(),w(),E(t(this))}),t(document).on("click",".np-save-quickedit-redirect",function(a){a.preventDefault(),t(".row").removeClass("np-updated").removeClass("np-updated-show");var e=t(this).parents("form");t(this).attr("disabled","disabled"),t(e).find(".np-qe-loading").show(),O(e)}),t(document).on("click",".open-redirect-modal",function(a){a.preventDefault();var e=t(this).attr("data-parentid");t("#np-link-modal").find("input").val(""),t("#np-link-modal .parent_id").val(e),t("#np-add-link-title").text("0"===e?nestedpages.add_link:nestedpages.add_child_link),t("#np-link-modal").modal("show")}),t(document).on("click",".np-save-link",function(a){a.preventDefault(),t(".np-new-link-error").hide(),t(".np-link-loading").show(),t(this).attr("disabled","disabled"),L()}),t("#np-bulk-modal").on("hide.bs.modal",function(){G()}),t(document).on("click",".np-cancel-newchild",function(a){a.preventDefault(),G(),t("#np-bulk-modal").modal("hide")}),t(document).on("click",".add-new-child",function(a){a.preventDefault(),J(t(this))}),t(document).on("click",".open-bulk-modal",function(a){a.preventDefault();var e=t(".new-child-form").clone().find(".np-new-child-form").addClass("in-modal");t("#np-bulk-modal .modal-body").html(e),t("#np-bulk-modal .new-child-form").show(),t("#np-bulk-modal").find("h3").text(nestedpages.add_multiple),t("#np-bulk-modal").find(".page_parent_id").val("0"),t("#np-bulk-modal").modal("show")}),t(document).on("click",".add-new-child-row",function(a){a.preventDefault(),K(t(this));var e=t(this).parents("form");N(e)}),t(document).on("click",".np-remove-child",function(a){a.preventDefault();var e=t(this).parents("form");t(this).parents(".new-child-row").parent("li").remove(),N(e)}),t(document).on("submit",".np-new-child-form",function(t){t.preventDefault()}),t(document).on("click",".np-save-newchild",function(a){a.preventDefault(),t(this).prop("disabled","disabled");var e=t(this).parents("form");t(e).find(".np-qe-loading").show();var n=t(this).hasClass("add-edit")?!0:!1;R(e,n)}),t(".np-empty-trash").on("click",function(a){a.preventDefault(),t("#np-trash-modal").modal("show")}),t(".np-trash-confirm").on("click",function(a){a.preventDefault(),t("#np-trash-modal").hide(),t("#nested-loading").show(),t("#np-error").hide(),W()})});
|
languages/nestedpages-it_IT.mo
CHANGED
Binary file
|
languages/nestedpages-it_IT.po
CHANGED
@@ -1,343 +1,509 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Nested Pages\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
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.
|
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 |
-
"
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
-
"Language: it_IT\n"
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
|
21 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
msgid "Settings"
|
23 |
msgstr "Impostazioni"
|
24 |
|
25 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
msgid "pages moved to the Trash"
|
27 |
msgstr "pagine spostate nel Cestino"
|
28 |
|
29 |
-
#:
|
30 |
-
msgid "
|
31 |
-
msgstr "
|
32 |
|
33 |
-
#:
|
34 |
msgid "Undo"
|
35 |
msgstr "Annulla"
|
36 |
|
37 |
-
#:
|
38 |
msgid "pages"
|
39 |
msgstr "pagine"
|
40 |
|
41 |
-
#:
|
42 |
msgid "page"
|
43 |
msgstr "pagina"
|
44 |
|
45 |
-
#:
|
46 |
msgid "restored from trash"
|
47 |
msgstr "recuperata dal Cestino"
|
48 |
|
49 |
-
#:
|
50 |
-
msgid "
|
51 |
-
msgstr "
|
52 |
-
|
53 |
-
#: includes/class-np-dependencies.php:77 views/pages.php:18
|
54 |
-
msgid "Expand Pages"
|
55 |
-
msgstr "Espandi Pagine"
|
56 |
|
57 |
-
#:
|
58 |
-
msgid "
|
59 |
-
msgstr "
|
60 |
|
61 |
-
#:
|
62 |
-
msgid "
|
63 |
-
msgstr "
|
64 |
|
65 |
-
#:
|
66 |
-
msgid "
|
67 |
-
msgstr "
|
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 |
-
#:
|
75 |
-
msgid "
|
76 |
-
msgstr "
|
77 |
|
78 |
-
#:
|
79 |
msgid "Incorrect Form Field"
|
80 |
msgstr "Campo del modulo non corretto"
|
81 |
|
82 |
-
#:
|
83 |
msgid "There was an error updating the page."
|
84 |
msgstr "Si è verificato un errore durante l'aggiornamento della pagina."
|
85 |
|
86 |
-
#:
|
87 |
-
|
|
|
|
|
|
|
|
|
88 |
msgid "Link successfully updated"
|
89 |
msgstr "Collegamento aggiornato con successo"
|
90 |
|
91 |
-
#:
|
92 |
msgid "Post successfully updated"
|
93 |
msgstr "Post aggiornato con successo"
|
94 |
|
95 |
-
#:
|
96 |
msgid "Page order successfully updated."
|
97 |
msgstr "Ordine pagine aggiornato con successo."
|
98 |
|
99 |
-
#:
|
100 |
-
msgid "There was an
|
101 |
-
msgstr ""
|
102 |
-
"Si è verificato un errore durante l'aggiornamento dell'ordine delle pagine."
|
103 |
|
104 |
-
#:
|
105 |
msgid "Menu sync enabled."
|
106 |
msgstr "Sincronizzazione Menu abilitata."
|
107 |
|
108 |
-
#:
|
109 |
msgid "Menu sync disabled."
|
110 |
msgstr "Sincronizzazione Menu disabilitata."
|
111 |
|
112 |
-
#:
|
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 |
-
#:
|
153 |
msgid "Please provide a menu title."
|
154 |
msgstr "Si prega di inserire un titolo per il menu."
|
155 |
|
156 |
-
#:
|
157 |
msgid "Please provide a valid URL."
|
158 |
msgstr "Si prega di inserire una URL valida."
|
159 |
|
160 |
-
#:
|
161 |
msgid "Please provide a "
|
162 |
msgstr "Si prega di fornire"
|
163 |
|
164 |
-
#:
|
165 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
msgid "Navigation Label"
|
167 |
msgstr "Etichetta di navigazione"
|
168 |
|
169 |
-
#:
|
170 |
msgid "URL"
|
171 |
msgstr "URL"
|
172 |
|
173 |
-
#:
|
174 |
-
#:
|
175 |
msgid "Status"
|
176 |
msgstr "Stato"
|
177 |
|
178 |
-
#:
|
179 |
-
#:
|
|
|
180 |
msgid "Published"
|
181 |
msgstr "Pubblicato"
|
182 |
|
183 |
-
#:
|
184 |
-
#:
|
185 |
msgid "Scheduled"
|
186 |
msgstr "Programmato"
|
187 |
|
188 |
-
#:
|
189 |
-
#:
|
190 |
msgid "Pending Review"
|
191 |
msgstr "In attesa di Revisione"
|
192 |
|
193 |
-
#:
|
194 |
-
#:
|
195 |
msgid "Draft"
|
196 |
msgstr "Bozza"
|
197 |
|
198 |
-
#:
|
199 |
-
#:
|
200 |
msgid "Hide in Nav Menu"
|
201 |
msgstr "Nascondi nel Menu di Navigazione"
|
202 |
|
203 |
-
#:
|
204 |
-
#:
|
205 |
msgid "Hide in Nested Pages"
|
206 |
msgstr "Nascondi in Nested Pages"
|
207 |
|
208 |
-
#:
|
209 |
-
#:
|
210 |
msgid "Open link in a new window/tab"
|
211 |
msgstr "Apri collegamento in una nuova finestra/scheda"
|
212 |
|
213 |
-
#:
|
214 |
msgid "Close"
|
215 |
msgstr "Chiudi"
|
216 |
|
217 |
-
#:
|
218 |
msgid "Save Link"
|
219 |
msgstr "Salva Collegamento"
|
220 |
|
221 |
-
#:
|
222 |
-
msgid "
|
223 |
-
msgstr "
|
224 |
|
225 |
-
#:
|
226 |
-
msgid "
|
227 |
-
msgstr "
|
228 |
|
229 |
-
#:
|
230 |
-
msgid "
|
231 |
-
msgstr "
|
232 |
|
233 |
-
#:
|
234 |
-
msgid "Default"
|
235 |
-
msgstr "
|
236 |
|
237 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
msgid "Link"
|
239 |
msgstr "Collegamento"
|
240 |
|
241 |
-
#:
|
|
|
242 |
msgid "Title Attribute"
|
243 |
msgstr "Attributo Titolo"
|
244 |
|
245 |
-
#:
|
|
|
246 |
msgid "CSS Classes"
|
247 |
msgstr "Classi CSS"
|
248 |
|
249 |
-
#:
|
250 |
-
|
251 |
-
msgstr "Annulla"
|
252 |
-
|
253 |
-
#: views/quickedit-redirect.php:84 views/quickedit.php:187
|
254 |
msgid "Update"
|
255 |
msgstr "Aggiorna"
|
256 |
|
257 |
-
#:
|
258 |
-
msgid "Quick Edit"
|
259 |
-
msgstr "Modifica Rapida"
|
260 |
-
|
261 |
-
#: views/quickedit.php:24
|
262 |
msgid "Slug"
|
263 |
msgstr "Slug"
|
264 |
|
265 |
-
#:
|
|
|
266 |
msgid "Date"
|
267 |
msgstr "Data"
|
268 |
|
269 |
-
#:
|
270 |
-
msgid "
|
271 |
-
msgstr "
|
272 |
|
273 |
-
#:
|
274 |
-
msgid "
|
275 |
-
msgstr "
|
276 |
|
277 |
-
#:
|
278 |
-
msgid "
|
279 |
-
msgstr "
|
280 |
|
281 |
-
#:
|
282 |
msgid "Password"
|
283 |
msgstr "Password"
|
284 |
|
285 |
-
#:
|
286 |
msgid "–OR–"
|
287 |
msgstr "–OR–"
|
288 |
|
289 |
-
#:
|
290 |
msgid "Private"
|
291 |
msgstr "Privato"
|
292 |
|
293 |
-
#:
|
294 |
msgid "Allow Comments"
|
295 |
msgstr "Permetti Commenti"
|
296 |
|
297 |
-
#:
|
298 |
msgid "Menu Options"
|
299 |
msgstr "Opzioni Menu"
|
300 |
|
301 |
-
#:
|
302 |
msgid "Taxonomies"
|
303 |
msgstr "Tassonomie"
|
304 |
|
305 |
-
#:
|
|
|
|
|
|
|
|
|
306 |
msgid "Hidden"
|
307 |
msgstr "Nascosto"
|
308 |
|
309 |
-
#:
|
310 |
msgid "currently editing"
|
311 |
msgstr "modifica in corso"
|
312 |
|
313 |
-
#:
|
314 |
msgid "Edit"
|
315 |
msgstr "Modifica"
|
316 |
|
317 |
-
#:
|
318 |
-
msgid "
|
319 |
-
msgstr "
|
320 |
|
321 |
-
#:
|
322 |
-
msgid "
|
323 |
-
msgstr "
|
324 |
|
325 |
-
#:
|
326 |
-
msgid "
|
327 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
328 |
|
329 |
-
#:
|
330 |
msgid "Nested Pages Version"
|
331 |
msgstr "Nested Pages Version"
|
332 |
|
333 |
-
#:
|
334 |
msgid "Menu Name"
|
335 |
msgstr "Nome Menu"
|
336 |
|
337 |
-
#:
|
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."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Nested Pages\n"
|
4 |
+
"POT-Creation-Date: 2015-01-13 10:43+0100\n"
|
5 |
+
"PO-Revision-Date: 2015-01-13 10:43+0100\n"
|
6 |
"Last-Translator: Francesco Canovi <francesco@blackstudio.it>\n"
|
7 |
"Language-Team: \n"
|
8 |
+
"Language: it_IT\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.7.3\n"
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
16 |
+
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
17 |
+
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
18 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
|
21 |
+
#: app/Activation/Dependencies.php:107 app/Views/listing.php:30
|
22 |
+
msgid "Expand All"
|
23 |
+
msgstr "Espandi tutto"
|
24 |
+
|
25 |
+
#: app/Activation/Dependencies.php:108
|
26 |
+
msgid "Collapse All"
|
27 |
+
msgstr "Collassa tutto"
|
28 |
+
|
29 |
+
#: app/Activation/Dependencies.php:109 app/Views/partials/tool-list.php:14
|
30 |
+
msgid "Show Hidden"
|
31 |
+
msgstr "Mostra Nascoste"
|
32 |
+
|
33 |
+
#: app/Activation/Dependencies.php:110
|
34 |
+
msgid "Hide Hidden"
|
35 |
+
msgstr "Nascondi Nascoste"
|
36 |
+
|
37 |
+
#: app/Activation/Dependencies.php:111 app/Views/forms/link-form.php:14
|
38 |
+
#: app/Views/listing.php:17 app/Views/listing.php:18
|
39 |
+
msgid "Add Link"
|
40 |
+
msgstr "Aggiungi Collegamento"
|
41 |
+
|
42 |
+
#: app/Activation/Dependencies.php:112
|
43 |
+
msgid "Add Child Link"
|
44 |
+
msgstr "Aggiungi Collegamento Figlio"
|
45 |
+
|
46 |
+
#: app/Activation/Dependencies.php:113
|
47 |
+
#: app/Entities/Post/PostUpdateRepository.php:59
|
48 |
+
#: app/Views/forms/new-child.php:19 app/Views/forms/new-child.php:21
|
49 |
+
#: app/Views/forms/quickedit-post.php:20 app/Views/partials/tool-list.php:61
|
50 |
+
msgid "Title"
|
51 |
+
msgstr "Titolo"
|
52 |
+
|
53 |
+
#: app/Activation/Dependencies.php:114 app/Views/forms/quickedit-post.php:11
|
54 |
+
#: app/Views/partials/row-link.php:53 app/Views/partials/row.php:117
|
55 |
+
msgid "Quick Edit"
|
56 |
+
msgstr "Modifica Rapida"
|
57 |
+
|
58 |
+
#: app/Activation/Dependencies.php:115
|
59 |
+
msgid "Page Title"
|
60 |
+
msgstr "Titolo Pagina"
|
61 |
+
|
62 |
+
#: app/Activation/Dependencies.php:116 app/Views/partials/row.php:121
|
63 |
+
msgid "View"
|
64 |
+
msgstr "Mostra"
|
65 |
+
|
66 |
+
#: app/Activation/Dependencies.php:117 app/Views/forms/new-child.php:7
|
67 |
+
#: app/Views/partials/row.php:85
|
68 |
+
msgid "Add Child"
|
69 |
+
msgstr "Aggiungi figlio"
|
70 |
+
|
71 |
+
#: app/Activation/Dependencies.php:118
|
72 |
+
msgid "Add Child Page"
|
73 |
+
msgstr "Aggiungi Pagina Figlia"
|
74 |
+
|
75 |
+
#: app/Activation/Dependencies.php:119
|
76 |
+
msgid "Add Child Pages"
|
77 |
+
msgstr "Aggiungi Pagina Figlia"
|
78 |
+
|
79 |
+
#: app/Activation/Dependencies.php:120 app/Views/forms/new-child.php:93
|
80 |
+
msgid "Add"
|
81 |
+
msgstr "Aggiungi"
|
82 |
+
|
83 |
+
#: app/Activation/Dependencies.php:121
|
84 |
+
msgid "Add Page"
|
85 |
+
msgstr "Aggiungi Pagina"
|
86 |
+
|
87 |
+
#: app/Activation/Dependencies.php:122
|
88 |
+
msgid "Add Pages"
|
89 |
+
msgstr "Aggiungi Pagine"
|
90 |
+
|
91 |
+
#: app/Activation/Dependencies.php:123 app/Views/listing.php:11
|
92 |
+
#: app/Views/listing.php:12
|
93 |
+
msgid "Add Multiple"
|
94 |
+
msgstr "Aggiungi multiple"
|
95 |
+
|
96 |
+
#: app/Activation/Dependencies.php:124
|
97 |
+
msgid ""
|
98 |
+
"Are you sure you would like to empty the trash? This action is not "
|
99 |
+
"reversable."
|
100 |
+
msgstr "Sei sicuro di voler svuotare il cestino? L'operazione è irreversibile."
|
101 |
+
|
102 |
+
#: app/Bootstrap.php:57
|
103 |
msgid "Settings"
|
104 |
msgstr "Impostazioni"
|
105 |
|
106 |
+
#: app/Config/Settings.php:52 app/Views/settings/settings.php:2
|
107 |
+
msgid "Nested Pages Settings"
|
108 |
+
msgstr "Impostazioni Nested Pages"
|
109 |
+
|
110 |
+
#: app/Config/Settings.php:53
|
111 |
+
msgid "Nested Pages"
|
112 |
+
msgstr "Nested Pages"
|
113 |
+
|
114 |
+
#: app/Entities/AdminMenu/AdminSubmenu.php:73
|
115 |
+
#: app/Views/partials/tool-list.php:29
|
116 |
+
msgid "Default"
|
117 |
+
msgstr "Default"
|
118 |
+
|
119 |
+
#: app/Entities/Confirmation/LinkDeletedConfirmation.php:9
|
120 |
+
msgid "Link successfully deleted."
|
121 |
+
msgstr "Collegamento eliminato con successo."
|
122 |
+
|
123 |
+
#: app/Entities/Confirmation/TrashConfirmation.php:12
|
124 |
msgid "pages moved to the Trash"
|
125 |
msgstr "pagine spostate nel Cestino"
|
126 |
|
127 |
+
#: app/Entities/Confirmation/TrashConfirmation.php:14
|
128 |
+
msgid "moved to the Trash"
|
129 |
+
msgstr "spostata nel Cestino"
|
130 |
|
131 |
+
#: app/Entities/Confirmation/TrashConfirmation.php:19
|
132 |
msgid "Undo"
|
133 |
msgstr "Annulla"
|
134 |
|
135 |
+
#: app/Entities/Confirmation/TrashRestoredConfirmation.php:10
|
136 |
msgid "pages"
|
137 |
msgstr "pagine"
|
138 |
|
139 |
+
#: app/Entities/Confirmation/TrashRestoredConfirmation.php:10
|
140 |
msgid "page"
|
141 |
msgstr "pagina"
|
142 |
|
143 |
+
#: app/Entities/Confirmation/TrashRestoredConfirmation.php:11
|
144 |
msgid "restored from trash"
|
145 |
msgstr "recuperata dal Cestino"
|
146 |
|
147 |
+
#: app/Entities/Post/PostUpdateRepository.php:301
|
148 |
+
msgid "Label"
|
149 |
+
msgstr "Etichetta"
|
|
|
|
|
|
|
|
|
150 |
|
151 |
+
#: app/Entities/PostType/PostTypeRepository.php:172
|
152 |
+
msgid "Nested View"
|
153 |
+
msgstr "Vista Gerarchia"
|
154 |
|
155 |
+
#: app/Entities/PostType/PostTypeRepository.php:172
|
156 |
+
msgid "Sort View"
|
157 |
+
msgstr "Vista Ordinamento"
|
158 |
|
159 |
+
#: app/Entities/PostType/RegisterPostTypes.php:20
|
160 |
+
msgid "Redirects"
|
161 |
+
msgstr "Redirects"
|
|
|
|
|
|
|
|
|
|
|
162 |
|
163 |
+
#: app/Entities/PostType/RegisterPostTypes.php:21
|
164 |
+
msgid "Redirect"
|
165 |
+
msgstr "Redirect"
|
166 |
|
167 |
+
#: app/Form/Handlers/BaseHandler.php:79
|
168 |
msgid "Incorrect Form Field"
|
169 |
msgstr "Campo del modulo non corretto"
|
170 |
|
171 |
+
#: app/Form/Handlers/BaseHandler.php:111
|
172 |
msgid "There was an error updating the page."
|
173 |
msgstr "Si è verificato un errore durante l'aggiornamento della pagina."
|
174 |
|
175 |
+
#: app/Form/Handlers/EmptyTrashHandler.php:16
|
176 |
+
msgid "Trash successfully emptied."
|
177 |
+
msgstr "Cestino svuotato con successo."
|
178 |
+
|
179 |
+
#: app/Form/Handlers/NewLinkHandler.php:33
|
180 |
+
#: app/Form/Handlers/QuickEditLinkHandler.php:28
|
181 |
msgid "Link successfully updated"
|
182 |
msgstr "Collegamento aggiornato con successo"
|
183 |
|
184 |
+
#: app/Form/Handlers/QuickEditHandler.php:31
|
185 |
msgid "Post successfully updated"
|
186 |
msgstr "Post aggiornato con successo"
|
187 |
|
188 |
+
#: app/Form/Handlers/SortHandler.php:28
|
189 |
msgid "Page order successfully updated."
|
190 |
msgstr "Ordine pagine aggiornato con successo."
|
191 |
|
192 |
+
#: app/Form/Handlers/SortHandler.php:30
|
193 |
+
msgid "There was an error updating the page order."
|
194 |
+
msgstr "Si è verificato un errore nell'aggiornamento dell'ordine delle pagine."
|
|
|
195 |
|
196 |
+
#: app/Form/Handlers/SyncMenuHandler.php:25
|
197 |
msgid "Menu sync enabled."
|
198 |
msgstr "Sincronizzazione Menu abilitata."
|
199 |
|
200 |
+
#: app/Form/Handlers/SyncMenuHandler.php:28
|
201 |
msgid "Menu sync disabled."
|
202 |
msgstr "Sincronizzazione Menu disabilitata."
|
203 |
|
204 |
+
#: app/Form/Validation/Validation.php:139
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
msgid "Please provide a valid date."
|
206 |
msgstr "Si prega di inserire una data valida."
|
207 |
|
208 |
+
#: app/Form/Validation/Validation.php:151
|
209 |
msgid "Please provide a menu title."
|
210 |
msgstr "Si prega di inserire un titolo per il menu."
|
211 |
|
212 |
+
#: app/Form/Validation/Validation.php:154
|
213 |
msgid "Please provide a valid URL."
|
214 |
msgstr "Si prega di inserire una URL valida."
|
215 |
|
216 |
+
#: app/Form/Validation/Validation.php:165
|
217 |
msgid "Please provide a "
|
218 |
msgstr "Si prega di fornire"
|
219 |
|
220 |
+
#: app/Form/Validation/Validation.php:179
|
221 |
+
msgid "A valid parent page was not provided."
|
222 |
+
msgstr "Non è stata fornita una pagina genitore valida."
|
223 |
+
|
224 |
+
#: app/Form/Validation/Validation.php:186
|
225 |
+
msgid "Please provide at least one page title."
|
226 |
+
msgstr "Si prega di inserire almeno un Titolo Pagina."
|
227 |
+
|
228 |
+
#: app/Form/Validation/Validation.php:194
|
229 |
+
msgid "Page titles cannot be blank."
|
230 |
+
msgstr "I titoli delle pagine non possono essere vuoti."
|
231 |
+
|
232 |
+
#: app/Views/forms/link-form.php:31 app/Views/forms/quickedit-link.php:17
|
233 |
+
#: app/Views/forms/quickedit-post.php:171
|
234 |
msgid "Navigation Label"
|
235 |
msgstr "Etichetta di navigazione"
|
236 |
|
237 |
+
#: app/Views/forms/link-form.php:36 app/Views/forms/quickedit-link.php:22
|
238 |
msgid "URL"
|
239 |
msgstr "URL"
|
240 |
|
241 |
+
#: app/Views/forms/link-form.php:41 app/Views/forms/new-child.php:35
|
242 |
+
#: app/Views/forms/quickedit-link.php:27 app/Views/forms/quickedit-post.php:76
|
243 |
msgid "Status"
|
244 |
msgstr "Stato"
|
245 |
|
246 |
+
#: app/Views/forms/link-form.php:44 app/Views/forms/new-child.php:38
|
247 |
+
#: app/Views/forms/quickedit-link.php:30 app/Views/forms/quickedit-post.php:79
|
248 |
+
#: app/Views/partials/tool-list.php:10
|
249 |
msgid "Published"
|
250 |
msgstr "Pubblicato"
|
251 |
|
252 |
+
#: app/Views/forms/link-form.php:45 app/Views/forms/quickedit-link.php:31
|
253 |
+
#: app/Views/forms/quickedit-post.php:80
|
254 |
msgid "Scheduled"
|
255 |
msgstr "Programmato"
|
256 |
|
257 |
+
#: app/Views/forms/link-form.php:47 app/Views/forms/quickedit-link.php:33
|
258 |
+
#: app/Views/forms/quickedit-post.php:82
|
259 |
msgid "Pending Review"
|
260 |
msgstr "In attesa di Revisione"
|
261 |
|
262 |
+
#: app/Views/forms/link-form.php:48 app/Views/forms/new-child.php:40
|
263 |
+
#: app/Views/forms/quickedit-link.php:34 app/Views/forms/quickedit-post.php:83
|
264 |
msgid "Draft"
|
265 |
msgstr "Bozza"
|
266 |
|
267 |
+
#: app/Views/forms/link-form.php:59 app/Views/forms/quickedit-link.php:54
|
268 |
+
#: app/Views/forms/quickedit-post.php:187
|
269 |
msgid "Hide in Nav Menu"
|
270 |
msgstr "Nascondi nel Menu di Navigazione"
|
271 |
|
272 |
+
#: app/Views/forms/link-form.php:64 app/Views/forms/quickedit-link.php:60
|
273 |
+
#: app/Views/forms/quickedit-post.php:126
|
274 |
msgid "Hide in Nested Pages"
|
275 |
msgstr "Nascondi in Nested Pages"
|
276 |
|
277 |
+
#: app/Views/forms/link-form.php:69 app/Views/forms/quickedit-link.php:66
|
278 |
+
#: app/Views/forms/quickedit-post.php:193
|
279 |
msgid "Open link in a new window/tab"
|
280 |
msgstr "Apri collegamento in una nuova finestra/scheda"
|
281 |
|
282 |
+
#: app/Views/forms/link-form.php:80
|
283 |
msgid "Close"
|
284 |
msgstr "Chiudi"
|
285 |
|
286 |
+
#: app/Views/forms/link-form.php:83
|
287 |
msgid "Save Link"
|
288 |
msgstr "Salva Collegamento"
|
289 |
|
290 |
+
#: app/Views/forms/new-child.php:28
|
291 |
+
msgid "+"
|
292 |
+
msgstr "+"
|
293 |
|
294 |
+
#: app/Views/forms/new-child.php:61 app/Views/forms/quickedit-post.php:67
|
295 |
+
msgid "Author"
|
296 |
+
msgstr "Autore"
|
297 |
|
298 |
+
#: app/Views/forms/new-child.php:71 app/Views/forms/quickedit-post.php:93
|
299 |
+
msgid "Template"
|
300 |
+
msgstr "Modello"
|
301 |
|
302 |
+
#: app/Views/forms/new-child.php:73 app/Views/forms/quickedit-post.php:95
|
303 |
+
msgid "Default Template"
|
304 |
+
msgstr "Modello di Default"
|
305 |
|
306 |
+
#: app/Views/forms/new-child.php:90 app/Views/forms/quickedit-link.php:81
|
307 |
+
#: app/Views/forms/quickedit-post.php:207
|
308 |
+
msgid "Cancel"
|
309 |
+
msgstr "Annulla"
|
310 |
+
|
311 |
+
#: app/Views/forms/new-child.php:96
|
312 |
+
msgid "Add & Edit"
|
313 |
+
msgstr "Aggiungi e Modifica"
|
314 |
+
|
315 |
+
#: app/Views/forms/quickedit-link.php:8
|
316 |
msgid "Link"
|
317 |
msgstr "Collegamento"
|
318 |
|
319 |
+
#: app/Views/forms/quickedit-link.php:44
|
320 |
+
#: app/Views/forms/quickedit-post.php:175
|
321 |
msgid "Title Attribute"
|
322 |
msgstr "Attributo Titolo"
|
323 |
|
324 |
+
#: app/Views/forms/quickedit-link.php:48
|
325 |
+
#: app/Views/forms/quickedit-post.php:179
|
326 |
msgid "CSS Classes"
|
327 |
msgstr "Classi CSS"
|
328 |
|
329 |
+
#: app/Views/forms/quickedit-link.php:84
|
330 |
+
#: app/Views/forms/quickedit-post.php:210
|
|
|
|
|
|
|
331 |
msgid "Update"
|
332 |
msgstr "Aggiorna"
|
333 |
|
334 |
+
#: app/Views/forms/quickedit-post.php:24
|
|
|
|
|
|
|
|
|
335 |
msgid "Slug"
|
336 |
msgstr "Slug"
|
337 |
|
338 |
+
#: app/Views/forms/quickedit-post.php:30 app/Views/forms/quickedit-post.php:45
|
339 |
+
#: app/Views/partials/tool-list.php:60
|
340 |
msgid "Date"
|
341 |
msgstr "Data"
|
342 |
|
343 |
+
#: app/Views/forms/quickedit-post.php:33
|
344 |
+
msgid "@"
|
345 |
+
msgstr "@"
|
346 |
|
347 |
+
#: app/Views/forms/quickedit-post.php:36
|
348 |
+
msgid "am"
|
349 |
+
msgstr "am"
|
350 |
|
351 |
+
#: app/Views/forms/quickedit-post.php:37
|
352 |
+
msgid "pm"
|
353 |
+
msgstr "pm"
|
354 |
|
355 |
+
#: app/Views/forms/quickedit-post.php:103
|
356 |
msgid "Password"
|
357 |
msgstr "Password"
|
358 |
|
359 |
+
#: app/Views/forms/quickedit-post.php:106
|
360 |
msgid "–OR–"
|
361 |
msgstr "–OR–"
|
362 |
|
363 |
+
#: app/Views/forms/quickedit-post.php:109
|
364 |
msgid "Private"
|
365 |
msgstr "Privato"
|
366 |
|
367 |
+
#: app/Views/forms/quickedit-post.php:118
|
368 |
msgid "Allow Comments"
|
369 |
msgstr "Permetti Commenti"
|
370 |
|
371 |
+
#: app/Views/forms/quickedit-post.php:135
|
372 |
msgid "Menu Options"
|
373 |
msgstr "Opzioni Menu"
|
374 |
|
375 |
+
#: app/Views/forms/quickedit-post.php:139
|
376 |
msgid "Taxonomies"
|
377 |
msgstr "Tassonomie"
|
378 |
|
379 |
+
#: app/Views/listing.php:37
|
380 |
+
msgid "Sync Menu"
|
381 |
+
msgstr "Sincronizza Menu"
|
382 |
+
|
383 |
+
#: app/Views/partials/row-link.php:30 app/Views/partials/row.php:39
|
384 |
msgid "Hidden"
|
385 |
msgstr "Nascosto"
|
386 |
|
387 |
+
#: app/Views/partials/row.php:47
|
388 |
msgid "currently editing"
|
389 |
msgstr "modifica in corso"
|
390 |
|
391 |
+
#: app/Views/partials/row.php:49
|
392 |
msgid "Edit"
|
393 |
msgstr "Modifica"
|
394 |
|
395 |
+
#: app/Views/partials/tool-list.php:6
|
396 |
+
msgid "All"
|
397 |
+
msgstr "Tutto"
|
398 |
|
399 |
+
#: app/Views/partials/tool-list.php:20
|
400 |
+
msgid "Trash"
|
401 |
+
msgstr "Cestino"
|
402 |
|
403 |
+
#: app/Views/partials/tool-list.php:21
|
404 |
+
msgid "Empty"
|
405 |
+
msgstr "Svuota"
|
406 |
+
|
407 |
+
#: app/Views/partials/tool-list.php:44
|
408 |
+
msgid "All Authors"
|
409 |
+
msgstr "Autori"
|
410 |
+
|
411 |
+
#: app/Views/partials/tool-list.php:59
|
412 |
+
msgid "Menu Order"
|
413 |
+
msgstr "Ordine Menu"
|
414 |
+
|
415 |
+
#: app/Views/partials/tool-list.php:63
|
416 |
+
msgid "Order By"
|
417 |
+
msgstr "Ordina per"
|
418 |
+
|
419 |
+
#: app/Views/partials/tool-list.php:77
|
420 |
+
msgid "Ascending"
|
421 |
+
msgstr "Ascendente"
|
422 |
+
|
423 |
+
#: app/Views/partials/tool-list.php:78
|
424 |
+
msgid "Decending"
|
425 |
+
msgstr "Discendente"
|
426 |
|
427 |
+
#: app/Views/settings/settings-general.php:7
|
428 |
msgid "Nested Pages Version"
|
429 |
msgstr "Nested Pages Version"
|
430 |
|
431 |
+
#: app/Views/settings/settings-general.php:11
|
432 |
msgid "Menu Name"
|
433 |
msgstr "Nome Menu"
|
434 |
|
435 |
+
#: app/Views/settings/settings-general.php:14
|
436 |
msgid ""
|
437 |
"Important: Once the menu name has changed, theme files should be updated to "
|
438 |
"reference the new name."
|
439 |
msgstr ""
|
440 |
"Importante: una volta cambiato il nome del Menu, i file del tema devono "
|
441 |
"essere aggiornati per rispecchiare il nuovo nome."
|
442 |
+
|
443 |
+
#: app/Views/settings/settings-general.php:18
|
444 |
+
msgid "Display Options"
|
445 |
+
msgstr "Opzioni Visualizzazione"
|
446 |
+
|
447 |
+
#: app/Views/settings/settings-general.php:22
|
448 |
+
msgid "Enable Date Picker in Quick Edit"
|
449 |
+
msgstr "Abilita il Selettore Data nella Modifica Rapida"
|
450 |
+
|
451 |
+
#: app/Views/settings/settings-general.php:27
|
452 |
+
msgid "Allow Page Sorting"
|
453 |
+
msgstr "Consenti Ordinamento Pagine"
|
454 |
+
|
455 |
+
#: app/Views/settings/settings-general.php:37
|
456 |
+
msgid "Admins always have sorting ability."
|
457 |
+
msgstr "Gli Amministratori hanno sempre permessi di ordinamento."
|
458 |
+
|
459 |
+
#: app/Views/settings/settings-posttypes.php:7
|
460 |
+
msgid "Enable Nested Pages for:"
|
461 |
+
msgstr "Abilita Nested Pages per:"
|
462 |
+
|
463 |
+
#: app/Views/settings/settings-posttypes.php:14
|
464 |
+
msgid "Post Type"
|
465 |
+
msgstr "Post Type"
|
466 |
+
|
467 |
+
#: app/Views/settings/settings-posttypes.php:15
|
468 |
+
msgid "Hierarchical"
|
469 |
+
msgstr "Gerarchico"
|
470 |
+
|
471 |
+
#: app/Views/settings/settings-posttypes.php:16
|
472 |
+
msgid "Enabled"
|
473 |
+
msgstr "Abilitato"
|
474 |
+
|
475 |
+
#: app/Views/settings/settings-posttypes.php:17
|
476 |
+
msgid "Replace Default Menu"
|
477 |
+
msgstr "Sostituisci il Menu di Default"
|
478 |
+
|
479 |
+
#: app/Views/settings/settings-posttypes.php:18
|
480 |
+
msgid "Hide Default Link"
|
481 |
+
msgstr "Nascondi il link di Default"
|
482 |
+
|
483 |
+
#: app/Views/settings/settings-posttypes.php:45
|
484 |
+
msgid "Note: Nesting features not enabled for non-hierarchical post types."
|
485 |
+
msgstr ""
|
486 |
+
"Nota: le funzionalità di annidamento non sono disponibili per Post Type non "
|
487 |
+
"gerarchici"
|
488 |
+
|
489 |
+
#: app/Views/settings/settings-posttypes.php:48
|
490 |
+
msgid ""
|
491 |
+
"If default menu is not replaced, an additional submenu item will be added "
|
492 |
+
"for \"Nested/Sort View\""
|
493 |
+
msgstr ""
|
494 |
+
"Se il Menu di Default non viene sostituito, sarà aggiunta una voce per "
|
495 |
+
"\"Nested/Sort View\""
|
496 |
+
|
497 |
+
#: app/Views/settings/settings.php:6
|
498 |
+
msgid "General"
|
499 |
+
msgstr "Generale"
|
500 |
+
|
501 |
+
#: app/Views/settings/settings.php:10
|
502 |
+
msgid "Post Types"
|
503 |
+
msgstr "Post Types"
|
504 |
+
|
505 |
+
#~ msgid "Adding child page under:"
|
506 |
+
#~ msgstr "Aggiungendo Pagina Figlia sotto:"
|
507 |
+
|
508 |
+
#~ msgid "Default Pages"
|
509 |
+
#~ msgstr "Pagine (Default)"
|
languages/nestedpages-nl_NL.mo
CHANGED
Binary file
|
languages/nestedpages-nl_NL.po
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Nested Pages\n"
|
4 |
-
"POT-Creation-Date: 2014-
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: \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"
|
@@ -12,331 +13,496 @@ msgstr ""
|
|
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 |
-
"
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
-
"Language: nl\n"
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
|
21 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
msgid "Settings"
|
23 |
msgstr "Instellingen"
|
24 |
|
25 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
msgid "pages moved to the Trash"
|
27 |
msgstr "Pagina's verwijderd naar de prullenbak"
|
28 |
|
29 |
-
#:
|
30 |
-
msgid "
|
31 |
-
msgstr "
|
32 |
|
33 |
-
#:
|
34 |
msgid "Undo"
|
35 |
msgstr "Ongedaan maken"
|
36 |
|
37 |
-
#:
|
38 |
msgid "pages"
|
39 |
msgstr "pagina's"
|
40 |
|
41 |
-
#:
|
42 |
msgid "page"
|
43 |
msgstr "pagina"
|
44 |
|
45 |
-
#:
|
46 |
msgid "restored from trash"
|
47 |
msgstr "teruggezet uit de prullenbak"
|
48 |
|
49 |
-
#:
|
50 |
-
msgid "
|
51 |
-
msgstr "
|
52 |
-
|
53 |
-
#: includes/class-np-dependencies.php:77 views/pages.php:18
|
54 |
-
msgid "Expand Pages"
|
55 |
-
msgstr "Pagina's uitklappen"
|
56 |
-
|
57 |
-
#: includes/class-np-dependencies.php:78
|
58 |
-
msgid "Collapse Pages"
|
59 |
-
msgstr "Pagina's inklappen"
|
60 |
|
61 |
-
#:
|
62 |
-
msgid "
|
63 |
-
msgstr "
|
64 |
|
65 |
-
#:
|
66 |
-
msgid "
|
67 |
-
msgstr "
|
68 |
|
69 |
-
#:
|
70 |
-
|
71 |
-
|
72 |
-
msgstr "Link toevoegen"
|
73 |
|
74 |
-
#:
|
75 |
-
msgid "
|
76 |
-
msgstr "
|
77 |
|
78 |
-
#:
|
79 |
msgid "Incorrect Form Field"
|
80 |
msgstr "Veld niet correct"
|
81 |
|
82 |
-
#:
|
83 |
msgid "There was an error updating the page."
|
84 |
msgstr "Er is een probleem opgetreden bij het bijwerken van de pagina."
|
85 |
|
86 |
-
#:
|
87 |
-
|
|
|
|
|
|
|
|
|
88 |
msgid "Link successfully updated"
|
89 |
msgstr "Link succesvol bijgewerkt"
|
90 |
|
91 |
-
#:
|
92 |
msgid "Post successfully updated"
|
93 |
msgstr "Bericht succesvol bijgewerkt"
|
94 |
|
95 |
-
#:
|
96 |
msgid "Page order successfully updated."
|
97 |
msgstr "Pagina volgorde succesvol aangepast"
|
98 |
|
99 |
-
#:
|
100 |
-
msgid "There was an
|
101 |
-
msgstr "Er is een fout opgetreden bij het bijwerken van de
|
102 |
|
103 |
-
#:
|
104 |
msgid "Menu sync enabled."
|
105 |
msgstr "Menu synchronisatie ingeschakeld."
|
106 |
|
107 |
-
#:
|
108 |
msgid "Menu sync disabled."
|
109 |
msgstr "Menu synchronisatie uitgeschakeld."
|
110 |
|
111 |
-
#:
|
112 |
-
msgid "Adding child page under:"
|
113 |
-
msgstr "Pagina toevoegen onder:"
|
114 |
-
|
115 |
-
#: includes/class-np-pagelisting.php:79
|
116 |
-
msgid "All Pages"
|
117 |
-
msgstr "Alle pagina's"
|
118 |
-
|
119 |
-
#: includes/class-np-pagelisting.php:80
|
120 |
-
msgid "Add New"
|
121 |
-
msgstr "Nieuwe toevoegen"
|
122 |
-
|
123 |
-
#: includes/class-np-pagelisting.php:81
|
124 |
-
msgid "Default Pages"
|
125 |
-
msgstr "Standaard pagina's"
|
126 |
-
|
127 |
-
#: includes/class-np-posttypes.php:21
|
128 |
-
msgid "Redirects"
|
129 |
-
msgstr "Doorverwijzingen"
|
130 |
-
|
131 |
-
#: includes/class-np-posttypes.php:22
|
132 |
-
msgid "Redirect"
|
133 |
-
msgstr "Doorverwijzing"
|
134 |
-
|
135 |
-
#: includes/class-np-redirects.php:65
|
136 |
-
msgid "Nested Pages"
|
137 |
-
msgstr "Nested Pages"
|
138 |
-
|
139 |
-
#: includes/class-np-repository-post.php:58 views/quickedit.php:20
|
140 |
-
msgid "Title"
|
141 |
-
msgstr "Titel"
|
142 |
-
|
143 |
-
#: includes/class-np-repository-post.php:298
|
144 |
-
msgid "Label"
|
145 |
-
msgstr "Label"
|
146 |
-
|
147 |
-
#: includes/class-np-validation.php:49 includes/class-np-validation.php:64
|
148 |
msgid "Please provide a valid date."
|
149 |
msgstr "Graag een geldige datum invullen."
|
150 |
|
151 |
-
#:
|
152 |
msgid "Please provide a menu title."
|
153 |
msgstr "Graag een menutitel invullen."
|
154 |
|
155 |
-
#:
|
156 |
msgid "Please provide a valid URL."
|
157 |
msgstr "Graag een geldige URL invullen."
|
158 |
|
159 |
-
#:
|
160 |
msgid "Please provide a "
|
161 |
msgstr "Vul een "
|
162 |
|
163 |
-
#:
|
164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
msgid "Navigation Label"
|
166 |
msgstr "Navigatie label"
|
167 |
|
168 |
-
#:
|
169 |
msgid "URL"
|
170 |
msgstr "URL"
|
171 |
|
172 |
-
#:
|
173 |
-
#:
|
174 |
msgid "Status"
|
175 |
msgstr "Status"
|
176 |
|
177 |
-
#:
|
178 |
-
#:
|
|
|
179 |
msgid "Published"
|
180 |
msgstr "Gepubliceerd"
|
181 |
|
182 |
-
#:
|
183 |
-
#:
|
184 |
msgid "Scheduled"
|
185 |
msgstr "Ingepland"
|
186 |
|
187 |
-
#:
|
188 |
-
#:
|
189 |
msgid "Pending Review"
|
190 |
msgstr "Wacht op beoordeling"
|
191 |
|
192 |
-
#:
|
193 |
-
#:
|
194 |
msgid "Draft"
|
195 |
msgstr "Concept"
|
196 |
|
197 |
-
#:
|
198 |
-
#:
|
199 |
msgid "Hide in Nav Menu"
|
200 |
msgstr "Verbergen in navigatie menu"
|
201 |
|
202 |
-
#:
|
203 |
-
#:
|
204 |
msgid "Hide in Nested Pages"
|
205 |
msgstr "Verbergen in Nested Pages"
|
206 |
|
207 |
-
#:
|
208 |
-
#:
|
209 |
msgid "Open link in a new window/tab"
|
210 |
msgstr "Open link in een nieuw venster/tab"
|
211 |
|
212 |
-
#:
|
213 |
msgid "Close"
|
214 |
msgstr "Sluiten"
|
215 |
|
216 |
-
#:
|
217 |
msgid "Save Link"
|
218 |
msgstr "Link opslaan"
|
219 |
|
220 |
-
#:
|
221 |
-
msgid "
|
222 |
-
msgstr "
|
223 |
|
224 |
-
#:
|
225 |
-
msgid "
|
226 |
-
msgstr "
|
227 |
|
228 |
-
#:
|
229 |
-
msgid "
|
230 |
-
msgstr "
|
231 |
|
232 |
-
#:
|
233 |
-
msgid "Default"
|
234 |
-
msgstr "Standaard"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
|
236 |
-
#:
|
237 |
msgid "Link"
|
238 |
msgstr "Link"
|
239 |
|
240 |
-
#:
|
|
|
241 |
msgid "Title Attribute"
|
242 |
msgstr "Titel attribuut"
|
243 |
|
244 |
-
#:
|
|
|
245 |
msgid "CSS Classes"
|
246 |
msgstr "CSS classes"
|
247 |
|
248 |
-
#:
|
249 |
-
|
250 |
-
msgstr "Annuleren"
|
251 |
-
|
252 |
-
#: views/quickedit-redirect.php:84 views/quickedit.php:187
|
253 |
msgid "Update"
|
254 |
msgstr "Bijwerken"
|
255 |
|
256 |
-
#:
|
257 |
-
msgid "Quick Edit"
|
258 |
-
msgstr "Snel bewerken"
|
259 |
-
|
260 |
-
#: views/quickedit.php:24
|
261 |
msgid "Slug"
|
262 |
msgstr "Slug"
|
263 |
|
264 |
-
#:
|
265 |
msgid "Date"
|
266 |
msgstr "Datum"
|
267 |
|
268 |
-
#:
|
269 |
-
msgid "Author"
|
270 |
-
msgstr "Auteur"
|
271 |
-
|
272 |
-
#: views/quickedit.php:73
|
273 |
-
msgid "Template"
|
274 |
-
msgstr "Sjabloon"
|
275 |
-
|
276 |
-
#: views/quickedit.php:75
|
277 |
-
msgid "Default Template"
|
278 |
-
msgstr "Standaard sjabloon"
|
279 |
-
|
280 |
-
#: views/quickedit.php:82
|
281 |
msgid "Password"
|
282 |
msgstr "Wachtwoord"
|
283 |
|
284 |
-
#:
|
285 |
msgid "–OR–"
|
286 |
msgstr "–OF–"
|
287 |
|
288 |
-
#:
|
289 |
msgid "Private"
|
290 |
msgstr "Privé"
|
291 |
|
292 |
-
#:
|
293 |
msgid "Allow Comments"
|
294 |
msgstr "Reactie's toestaan"
|
295 |
|
296 |
-
#:
|
297 |
msgid "Menu Options"
|
298 |
msgstr "Menu opties"
|
299 |
|
300 |
-
#:
|
301 |
msgid "Taxonomies"
|
302 |
msgstr "Taxanomieën"
|
303 |
|
304 |
-
#:
|
|
|
|
|
|
|
|
|
305 |
msgid "Hidden"
|
306 |
msgstr "Verborgen"
|
307 |
|
308 |
-
#:
|
309 |
msgid "currently editing"
|
310 |
msgstr "nu aan het bewerken"
|
311 |
|
312 |
-
#:
|
313 |
msgid "Edit"
|
314 |
msgstr "Bewerken"
|
315 |
|
316 |
-
#:
|
317 |
-
msgid "
|
318 |
-
msgstr "
|
319 |
|
320 |
-
#:
|
321 |
-
msgid "
|
322 |
-
msgstr "
|
323 |
|
324 |
-
#:
|
325 |
-
msgid "
|
326 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
|
328 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
329 |
msgid "Nested Pages Version"
|
330 |
msgstr "Nested Pages Versie"
|
331 |
|
332 |
-
#:
|
333 |
msgid "Menu Name"
|
334 |
msgstr "Menu naam"
|
335 |
|
336 |
-
#:
|
337 |
msgid ""
|
338 |
"Important: Once the menu name has changed, theme files should be updated to "
|
339 |
"reference the new name."
|
340 |
msgstr ""
|
341 |
"Belangrijk: Wanneer de menu naam is gewijzigd moeten thema-bestanden "
|
342 |
"bijgewerkt worden met een verwijzing naar de nieuwe naam."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Nested Pages\n"
|
4 |
+
"POT-Creation-Date: 2014-12-26 14:28-0500\n"
|
5 |
+
"PO-Revision-Date: 2015-01-05 14:25+0100\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
+
"Language: nl\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
16 |
+
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
17 |
+
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
18 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
|
21 |
+
#: app/Activation/Dependencies.php:106 app/Views/listing.php:30
|
22 |
+
msgid "Expand All"
|
23 |
+
msgstr "Alles uitklappen"
|
24 |
+
|
25 |
+
#: app/Activation/Dependencies.php:107
|
26 |
+
msgid "Collapse All"
|
27 |
+
msgstr "Alles inklappen"
|
28 |
+
|
29 |
+
#: app/Activation/Dependencies.php:108 app/Views/partials/tool-list.php:14
|
30 |
+
msgid "Show Hidden"
|
31 |
+
msgstr "Toon verborgen"
|
32 |
+
|
33 |
+
#: app/Activation/Dependencies.php:109
|
34 |
+
msgid "Hide Hidden"
|
35 |
+
msgstr "Verberg verborgen"
|
36 |
+
|
37 |
+
#: app/Activation/Dependencies.php:110 app/Views/forms/link-form.php:14
|
38 |
+
#: app/Views/listing.php:17 app/Views/listing.php:18
|
39 |
+
msgid "Add Link"
|
40 |
+
msgstr "Link toevoegen"
|
41 |
+
|
42 |
+
#: app/Activation/Dependencies.php:111
|
43 |
+
msgid "Add Child Link"
|
44 |
+
msgstr "Onderliggende link toevoegen"
|
45 |
+
|
46 |
+
#: app/Activation/Dependencies.php:112
|
47 |
+
#: app/Entities/Post/PostUpdateRepository.php:59
|
48 |
+
#: app/Views/forms/new-child.php:19 app/Views/forms/new-child.php:21
|
49 |
+
#: app/Views/forms/quickedit-post.php:20 app/Views/partials/tool-list.php:61
|
50 |
+
msgid "Title"
|
51 |
+
msgstr "Titel"
|
52 |
+
|
53 |
+
#: app/Activation/Dependencies.php:113 app/Views/forms/quickedit-post.php:11
|
54 |
+
#: app/Views/partials/row-link.php:53 app/Views/partials/row.php:113
|
55 |
+
msgid "Quick Edit"
|
56 |
+
msgstr "Snel bewerken"
|
57 |
+
|
58 |
+
#: app/Activation/Dependencies.php:114
|
59 |
+
msgid "Page Title"
|
60 |
+
msgstr "Pagina titel"
|
61 |
+
|
62 |
+
#: app/Activation/Dependencies.php:115 app/Views/partials/row.php:117
|
63 |
+
msgid "View"
|
64 |
+
msgstr "Bekijken"
|
65 |
+
|
66 |
+
#: app/Activation/Dependencies.php:116 app/Views/forms/new-child.php:7
|
67 |
+
#: app/Views/partials/row.php:85
|
68 |
+
msgid "Add Child"
|
69 |
+
msgstr "Onderliggende pagina toevoegen"
|
70 |
+
|
71 |
+
#: app/Activation/Dependencies.php:117
|
72 |
+
msgid "Add Child Page"
|
73 |
+
msgstr "Onderliggende pagina toevoegen"
|
74 |
+
|
75 |
+
#: app/Activation/Dependencies.php:118
|
76 |
+
msgid "Add Child Pages"
|
77 |
+
msgstr "Onderliggende pagina's toevoegen"
|
78 |
+
|
79 |
+
#: app/Activation/Dependencies.php:119 app/Views/forms/new-child.php:93
|
80 |
+
msgid "Add"
|
81 |
+
msgstr "Toevoegen"
|
82 |
+
|
83 |
+
#: app/Activation/Dependencies.php:120
|
84 |
+
msgid "Add Page"
|
85 |
+
msgstr "Pagina toevoegen"
|
86 |
+
|
87 |
+
#: app/Activation/Dependencies.php:121
|
88 |
+
msgid "Add Pages"
|
89 |
+
msgstr "Pagina's toevoegen"
|
90 |
+
|
91 |
+
#: app/Activation/Dependencies.php:122 app/Views/listing.php:11
|
92 |
+
#: app/Views/listing.php:12
|
93 |
+
msgid "Add Multiple"
|
94 |
+
msgstr "Meerdere toevoegen"
|
95 |
+
|
96 |
+
#: app/Activation/Dependencies.php:123
|
97 |
+
msgid ""
|
98 |
+
"Are you sure you would like to empty the trash? This action is not "
|
99 |
+
"reversable."
|
100 |
+
msgstr ""
|
101 |
+
"Weet je zeker dat je de prullenbak leeg wil gooien? Dit is niet te "
|
102 |
+
"herstellen."
|
103 |
+
|
104 |
+
#: app/Bootstrap.php:59
|
105 |
msgid "Settings"
|
106 |
msgstr "Instellingen"
|
107 |
|
108 |
+
#: app/Config/Settings.php:45 app/Views/settings/settings.php:2
|
109 |
+
msgid "Nested Pages Settings"
|
110 |
+
msgstr "Nested Pages Instellingen"
|
111 |
+
|
112 |
+
#: app/Config/Settings.php:46
|
113 |
+
msgid "Nested Pages"
|
114 |
+
msgstr "Nested Pages"
|
115 |
+
|
116 |
+
#: app/Entities/AdminMenu/AdminSubmenu.php:73
|
117 |
+
#: app/Views/partials/tool-list.php:29
|
118 |
+
msgid "Default"
|
119 |
+
msgstr "Standaard"
|
120 |
+
|
121 |
+
#: app/Entities/Confirmation/LinkDeletedConfirmation.php:9
|
122 |
+
msgid "Link successfully deleted."
|
123 |
+
msgstr "Link succesvol verwijderd."
|
124 |
+
|
125 |
+
#: app/Entities/Confirmation/TrashConfirmation.php:12
|
126 |
msgid "pages moved to the Trash"
|
127 |
msgstr "Pagina's verwijderd naar de prullenbak"
|
128 |
|
129 |
+
#: app/Entities/Confirmation/TrashConfirmation.php:14
|
130 |
+
msgid "moved to the Trash"
|
131 |
+
msgstr "verplaatst naar de prullenbak"
|
132 |
|
133 |
+
#: app/Entities/Confirmation/TrashConfirmation.php:19
|
134 |
msgid "Undo"
|
135 |
msgstr "Ongedaan maken"
|
136 |
|
137 |
+
#: app/Entities/Confirmation/TrashRestoredConfirmation.php:10
|
138 |
msgid "pages"
|
139 |
msgstr "pagina's"
|
140 |
|
141 |
+
#: app/Entities/Confirmation/TrashRestoredConfirmation.php:10
|
142 |
msgid "page"
|
143 |
msgstr "pagina"
|
144 |
|
145 |
+
#: app/Entities/Confirmation/TrashRestoredConfirmation.php:11
|
146 |
msgid "restored from trash"
|
147 |
msgstr "teruggezet uit de prullenbak"
|
148 |
|
149 |
+
#: app/Entities/Post/PostUpdateRepository.php:301
|
150 |
+
msgid "Label"
|
151 |
+
msgstr "Label"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
+
#: app/Entities/PostType/PostTypeRepository.php:172
|
154 |
+
msgid "Nested View"
|
155 |
+
msgstr "Boom weergave"
|
156 |
|
157 |
+
#: app/Entities/PostType/PostTypeRepository.php:172
|
158 |
+
msgid "Sort View"
|
159 |
+
msgstr "Gesorteerde weergave"
|
160 |
|
161 |
+
#: app/Entities/PostType/RegisterPostTypes.php:20
|
162 |
+
msgid "Redirects"
|
163 |
+
msgstr "Doorverwijzingen"
|
|
|
164 |
|
165 |
+
#: app/Entities/PostType/RegisterPostTypes.php:21
|
166 |
+
msgid "Redirect"
|
167 |
+
msgstr "Doorverwijzing"
|
168 |
|
169 |
+
#: app/Form/Handlers/BaseHandler.php:79
|
170 |
msgid "Incorrect Form Field"
|
171 |
msgstr "Veld niet correct"
|
172 |
|
173 |
+
#: app/Form/Handlers/BaseHandler.php:111
|
174 |
msgid "There was an error updating the page."
|
175 |
msgstr "Er is een probleem opgetreden bij het bijwerken van de pagina."
|
176 |
|
177 |
+
#: app/Form/Handlers/EmptyTrashHandler.php:16
|
178 |
+
msgid "Trash successfully emptied."
|
179 |
+
msgstr "Prullenbak geleegd."
|
180 |
+
|
181 |
+
#: app/Form/Handlers/NewLinkHandler.php:33
|
182 |
+
#: app/Form/Handlers/QuickEditLinkHandler.php:28
|
183 |
msgid "Link successfully updated"
|
184 |
msgstr "Link succesvol bijgewerkt"
|
185 |
|
186 |
+
#: app/Form/Handlers/QuickEditHandler.php:31
|
187 |
msgid "Post successfully updated"
|
188 |
msgstr "Bericht succesvol bijgewerkt"
|
189 |
|
190 |
+
#: app/Form/Handlers/SortHandler.php:28
|
191 |
msgid "Page order successfully updated."
|
192 |
msgstr "Pagina volgorde succesvol aangepast"
|
193 |
|
194 |
+
#: app/Form/Handlers/SortHandler.php:30
|
195 |
+
msgid "There was an error updating the page order."
|
196 |
+
msgstr "Er is een fout opgetreden bij het bijwerken van de pagina volgorde."
|
197 |
|
198 |
+
#: app/Form/Handlers/SyncMenuHandler.php:25
|
199 |
msgid "Menu sync enabled."
|
200 |
msgstr "Menu synchronisatie ingeschakeld."
|
201 |
|
202 |
+
#: app/Form/Handlers/SyncMenuHandler.php:28
|
203 |
msgid "Menu sync disabled."
|
204 |
msgstr "Menu synchronisatie uitgeschakeld."
|
205 |
|
206 |
+
#: app/Form/Validation/Validation.php:48 app/Form/Validation/Validation.php:63
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
msgid "Please provide a valid date."
|
208 |
msgstr "Graag een geldige datum invullen."
|
209 |
|
210 |
+
#: app/Form/Validation/Validation.php:75
|
211 |
msgid "Please provide a menu title."
|
212 |
msgstr "Graag een menutitel invullen."
|
213 |
|
214 |
+
#: app/Form/Validation/Validation.php:78
|
215 |
msgid "Please provide a valid URL."
|
216 |
msgstr "Graag een geldige URL invullen."
|
217 |
|
218 |
+
#: app/Form/Validation/Validation.php:89
|
219 |
msgid "Please provide a "
|
220 |
msgstr "Vul een "
|
221 |
|
222 |
+
#: app/Form/Validation/Validation.php:103
|
223 |
+
msgid "A valid parent page was not provided."
|
224 |
+
msgstr "Geen bovenliggende pagina opgegeven."
|
225 |
+
|
226 |
+
#: app/Form/Validation/Validation.php:110
|
227 |
+
msgid "Please provide at least one page title."
|
228 |
+
msgstr "Gelieve minimaal 1 pagina titel op de geven."
|
229 |
+
|
230 |
+
#: app/Form/Validation/Validation.php:118
|
231 |
+
msgid "Page titles cannot be blank."
|
232 |
+
msgstr "Pagina titels kunnen niet leeg zijn."
|
233 |
+
|
234 |
+
#: app/Views/forms/link-form.php:31 app/Views/forms/quickedit-link.php:17
|
235 |
+
#: app/Views/forms/quickedit-post.php:153
|
236 |
msgid "Navigation Label"
|
237 |
msgstr "Navigatie label"
|
238 |
|
239 |
+
#: app/Views/forms/link-form.php:36 app/Views/forms/quickedit-link.php:22
|
240 |
msgid "URL"
|
241 |
msgstr "URL"
|
242 |
|
243 |
+
#: app/Views/forms/link-form.php:41 app/Views/forms/new-child.php:35
|
244 |
+
#: app/Views/forms/quickedit-link.php:27 app/Views/forms/quickedit-post.php:58
|
245 |
msgid "Status"
|
246 |
msgstr "Status"
|
247 |
|
248 |
+
#: app/Views/forms/link-form.php:44 app/Views/forms/new-child.php:38
|
249 |
+
#: app/Views/forms/quickedit-link.php:30 app/Views/forms/quickedit-post.php:61
|
250 |
+
#: app/Views/partials/tool-list.php:10
|
251 |
msgid "Published"
|
252 |
msgstr "Gepubliceerd"
|
253 |
|
254 |
+
#: app/Views/forms/link-form.php:45 app/Views/forms/quickedit-link.php:31
|
255 |
+
#: app/Views/forms/quickedit-post.php:62
|
256 |
msgid "Scheduled"
|
257 |
msgstr "Ingepland"
|
258 |
|
259 |
+
#: app/Views/forms/link-form.php:47 app/Views/forms/quickedit-link.php:33
|
260 |
+
#: app/Views/forms/quickedit-post.php:64
|
261 |
msgid "Pending Review"
|
262 |
msgstr "Wacht op beoordeling"
|
263 |
|
264 |
+
#: app/Views/forms/link-form.php:48 app/Views/forms/new-child.php:40
|
265 |
+
#: app/Views/forms/quickedit-link.php:34 app/Views/forms/quickedit-post.php:65
|
266 |
msgid "Draft"
|
267 |
msgstr "Concept"
|
268 |
|
269 |
+
#: app/Views/forms/link-form.php:59 app/Views/forms/quickedit-link.php:54
|
270 |
+
#: app/Views/forms/quickedit-post.php:169
|
271 |
msgid "Hide in Nav Menu"
|
272 |
msgstr "Verbergen in navigatie menu"
|
273 |
|
274 |
+
#: app/Views/forms/link-form.php:64 app/Views/forms/quickedit-link.php:60
|
275 |
+
#: app/Views/forms/quickedit-post.php:108
|
276 |
msgid "Hide in Nested Pages"
|
277 |
msgstr "Verbergen in Nested Pages"
|
278 |
|
279 |
+
#: app/Views/forms/link-form.php:69 app/Views/forms/quickedit-link.php:66
|
280 |
+
#: app/Views/forms/quickedit-post.php:175
|
281 |
msgid "Open link in a new window/tab"
|
282 |
msgstr "Open link in een nieuw venster/tab"
|
283 |
|
284 |
+
#: app/Views/forms/link-form.php:80
|
285 |
msgid "Close"
|
286 |
msgstr "Sluiten"
|
287 |
|
288 |
+
#: app/Views/forms/link-form.php:83
|
289 |
msgid "Save Link"
|
290 |
msgstr "Link opslaan"
|
291 |
|
292 |
+
#: app/Views/forms/new-child.php:28
|
293 |
+
msgid "+"
|
294 |
+
msgstr "+"
|
295 |
|
296 |
+
#: app/Views/forms/new-child.php:61 app/Views/forms/quickedit-post.php:49
|
297 |
+
msgid "Author"
|
298 |
+
msgstr "Auteur"
|
299 |
|
300 |
+
#: app/Views/forms/new-child.php:71 app/Views/forms/quickedit-post.php:75
|
301 |
+
msgid "Template"
|
302 |
+
msgstr "Sjabloon"
|
303 |
|
304 |
+
#: app/Views/forms/new-child.php:73 app/Views/forms/quickedit-post.php:77
|
305 |
+
msgid "Default Template"
|
306 |
+
msgstr "Standaard sjabloon"
|
307 |
+
|
308 |
+
#: app/Views/forms/new-child.php:90 app/Views/forms/quickedit-link.php:81
|
309 |
+
#: app/Views/forms/quickedit-post.php:189
|
310 |
+
msgid "Cancel"
|
311 |
+
msgstr "Annuleren"
|
312 |
+
|
313 |
+
#: app/Views/forms/new-child.php:96
|
314 |
+
msgid "Add & Edit"
|
315 |
+
msgstr "Toevoegen & bewerken"
|
316 |
|
317 |
+
#: app/Views/forms/quickedit-link.php:8
|
318 |
msgid "Link"
|
319 |
msgstr "Link"
|
320 |
|
321 |
+
#: app/Views/forms/quickedit-link.php:44
|
322 |
+
#: app/Views/forms/quickedit-post.php:157
|
323 |
msgid "Title Attribute"
|
324 |
msgstr "Titel attribuut"
|
325 |
|
326 |
+
#: app/Views/forms/quickedit-link.php:48
|
327 |
+
#: app/Views/forms/quickedit-post.php:161
|
328 |
msgid "CSS Classes"
|
329 |
msgstr "CSS classes"
|
330 |
|
331 |
+
#: app/Views/forms/quickedit-link.php:84
|
332 |
+
#: app/Views/forms/quickedit-post.php:192
|
|
|
|
|
|
|
333 |
msgid "Update"
|
334 |
msgstr "Bijwerken"
|
335 |
|
336 |
+
#: app/Views/forms/quickedit-post.php:24
|
|
|
|
|
|
|
|
|
337 |
msgid "Slug"
|
338 |
msgstr "Slug"
|
339 |
|
340 |
+
#: app/Views/forms/quickedit-post.php:28 app/Views/partials/tool-list.php:60
|
341 |
msgid "Date"
|
342 |
msgstr "Datum"
|
343 |
|
344 |
+
#: app/Views/forms/quickedit-post.php:85
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
345 |
msgid "Password"
|
346 |
msgstr "Wachtwoord"
|
347 |
|
348 |
+
#: app/Views/forms/quickedit-post.php:88
|
349 |
msgid "–OR–"
|
350 |
msgstr "–OF–"
|
351 |
|
352 |
+
#: app/Views/forms/quickedit-post.php:91
|
353 |
msgid "Private"
|
354 |
msgstr "Privé"
|
355 |
|
356 |
+
#: app/Views/forms/quickedit-post.php:100
|
357 |
msgid "Allow Comments"
|
358 |
msgstr "Reactie's toestaan"
|
359 |
|
360 |
+
#: app/Views/forms/quickedit-post.php:117
|
361 |
msgid "Menu Options"
|
362 |
msgstr "Menu opties"
|
363 |
|
364 |
+
#: app/Views/forms/quickedit-post.php:121
|
365 |
msgid "Taxonomies"
|
366 |
msgstr "Taxanomieën"
|
367 |
|
368 |
+
#: app/Views/listing.php:37
|
369 |
+
msgid "Sync Menu"
|
370 |
+
msgstr "Menu synchroniseren"
|
371 |
+
|
372 |
+
#: app/Views/partials/row-link.php:30 app/Views/partials/row.php:39
|
373 |
msgid "Hidden"
|
374 |
msgstr "Verborgen"
|
375 |
|
376 |
+
#: app/Views/partials/row.php:47
|
377 |
msgid "currently editing"
|
378 |
msgstr "nu aan het bewerken"
|
379 |
|
380 |
+
#: app/Views/partials/row.php:49
|
381 |
msgid "Edit"
|
382 |
msgstr "Bewerken"
|
383 |
|
384 |
+
#: app/Views/partials/tool-list.php:6
|
385 |
+
msgid "All"
|
386 |
+
msgstr "Alles"
|
387 |
|
388 |
+
#: app/Views/partials/tool-list.php:20
|
389 |
+
msgid "Trash"
|
390 |
+
msgstr "Prullenbak"
|
391 |
|
392 |
+
#: app/Views/partials/tool-list.php:21
|
393 |
+
msgid "Empty"
|
394 |
+
msgstr "Leeg"
|
395 |
+
|
396 |
+
#: app/Views/partials/tool-list.php:44
|
397 |
+
msgid "All Authors"
|
398 |
+
msgstr "Alle auteurs"
|
399 |
+
|
400 |
+
#: app/Views/partials/tool-list.php:59
|
401 |
+
msgid "Menu Order"
|
402 |
+
msgstr "Menu volgorde"
|
403 |
+
|
404 |
+
#: app/Views/partials/tool-list.php:63
|
405 |
+
msgid "Order By"
|
406 |
+
msgstr "Sorteren op"
|
407 |
|
408 |
+
#: app/Views/partials/tool-list.php:77
|
409 |
+
msgid "Ascending"
|
410 |
+
msgstr "Oplopend"
|
411 |
+
|
412 |
+
#: app/Views/partials/tool-list.php:78
|
413 |
+
msgid "Decending"
|
414 |
+
msgstr "Aflopend"
|
415 |
+
|
416 |
+
#: app/Views/settings/settings-general.php:7
|
417 |
msgid "Nested Pages Version"
|
418 |
msgstr "Nested Pages Versie"
|
419 |
|
420 |
+
#: app/Views/settings/settings-general.php:11
|
421 |
msgid "Menu Name"
|
422 |
msgstr "Menu naam"
|
423 |
|
424 |
+
#: app/Views/settings/settings-general.php:14
|
425 |
msgid ""
|
426 |
"Important: Once the menu name has changed, theme files should be updated to "
|
427 |
"reference the new name."
|
428 |
msgstr ""
|
429 |
"Belangrijk: Wanneer de menu naam is gewijzigd moeten thema-bestanden "
|
430 |
"bijgewerkt worden met een verwijzing naar de nieuwe naam."
|
431 |
+
|
432 |
+
#: app/Views/settings/settings-general.php:18
|
433 |
+
msgid "Allow Page Sorting"
|
434 |
+
msgstr "Pagina sortering toestaan"
|
435 |
+
|
436 |
+
#: app/Views/settings/settings-general.php:28
|
437 |
+
msgid "Admins always have sorting ability."
|
438 |
+
msgstr "Sorteren is altijd ingeschakeld voor beheerders."
|
439 |
+
|
440 |
+
#: app/Views/settings/settings-posttypes.php:7
|
441 |
+
msgid "Enable Nested Pages for:"
|
442 |
+
msgstr "Nested Pages inschakelen voor:"
|
443 |
+
|
444 |
+
#: app/Views/settings/settings-posttypes.php:14
|
445 |
+
msgid "Post Type"
|
446 |
+
msgstr "Post type"
|
447 |
+
|
448 |
+
#: app/Views/settings/settings-posttypes.php:15
|
449 |
+
msgid "Hierarchical"
|
450 |
+
msgstr "Hiërarchisch"
|
451 |
+
|
452 |
+
#: app/Views/settings/settings-posttypes.php:16
|
453 |
+
msgid "Enabled"
|
454 |
+
msgstr "Ingeschakeld"
|
455 |
+
|
456 |
+
#: app/Views/settings/settings-posttypes.php:17
|
457 |
+
msgid "Replace Default Menu"
|
458 |
+
msgstr "Standaard menu vervangen"
|
459 |
+
|
460 |
+
#: app/Views/settings/settings-posttypes.php:18
|
461 |
+
msgid "Hide Default Link"
|
462 |
+
msgstr "Standaard link verbergen"
|
463 |
+
|
464 |
+
#: app/Views/settings/settings-posttypes.php:45
|
465 |
+
msgid "Note: Nesting features not enabled for non-hierarchical post types."
|
466 |
+
msgstr ""
|
467 |
+
"Opmerking: onderliggende posts zijn niet ingeschakeld voor niet-"
|
468 |
+
"hiërarchische post typen."
|
469 |
+
|
470 |
+
#: app/Views/settings/settings-posttypes.php:48
|
471 |
+
msgid ""
|
472 |
+
"If default menu is not replaced, an additional submenu item will be added "
|
473 |
+
"for \"Nested/Sort View\""
|
474 |
+
msgstr ""
|
475 |
+
"Als het standaard menu niet wordt vervangen wordt een extra submenu "
|
476 |
+
"toegevoegd genaamd \"Boom/gesorteerde weergave\""
|
477 |
+
|
478 |
+
#: app/Views/settings/settings.php:6
|
479 |
+
msgid "General"
|
480 |
+
msgstr "Algemeen"
|
481 |
+
|
482 |
+
#: app/Views/settings/settings.php:10
|
483 |
+
msgid "Post Types"
|
484 |
+
msgstr "Post typen"
|
485 |
+
|
486 |
+
#~ msgid "page moved to the Trash"
|
487 |
+
#~ msgstr "Pagina verplaatst naar de prullenbak"
|
488 |
+
|
489 |
+
#~ msgid "Expand Pages"
|
490 |
+
#~ msgstr "Pagina's uitklappen"
|
491 |
+
|
492 |
+
#~ msgid "Collapse Pages"
|
493 |
+
#~ msgstr "Pagina's inklappen"
|
494 |
+
|
495 |
+
#~ msgid "There was an order updating the page order."
|
496 |
+
#~ msgstr "Er is een fout opgetreden bij het bijwerken van de paginavolgorde"
|
497 |
+
|
498 |
+
#~ msgid "Adding child page under:"
|
499 |
+
#~ msgstr "Pagina toevoegen onder:"
|
500 |
+
|
501 |
+
#~ msgid "All Pages"
|
502 |
+
#~ msgstr "Alle pagina's"
|
503 |
+
|
504 |
+
#~ msgid "Add New"
|
505 |
+
#~ msgstr "Nieuwe toevoegen"
|
506 |
+
|
507 |
+
#~ msgid "Default Pages"
|
508 |
+
#~ msgstr "Standaard pagina's"
|
languages/nestedpages-ru_RU.mo
ADDED
Binary file
|
languages/nestedpages-ru_RU.po
ADDED
@@ -0,0 +1,638 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file was generated by WPML
|
2 |
+
# WPML is a WordPress plugin that can turn any WordPress or WordPressMU site into a full featured multilingual content management system.
|
3 |
+
# https://wpml.org
|
4 |
+
msgid ""
|
5 |
+
msgstr ""
|
6 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
7 |
+
"Content-Transfer-Encoding: 8bit\n"
|
8 |
+
"Project-Id-Version: WPML_EXPORT_plugin wp-nested-pages\n"
|
9 |
+
"POT-Creation-Date: \n"
|
10 |
+
"PO-Revision-Date: \n"
|
11 |
+
"Last-Translator: \n"
|
12 |
+
"Language-Team: \n"
|
13 |
+
"Language: ru\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"X-Generator: Poedit 1.6.4\n"
|
16 |
+
|
17 |
+
# wpml-name: b2dff5acd4a6e6637f5da618182fd0e1
|
18 |
+
#: <a class="nav-tab <?php if ( $tab == 'posttypes' ) echo 'nav-tab-active';
|
19 |
+
#: ?>" href="options-general.php?page=nested-pages-settings&tab=posttypes">
|
20 |
+
#: _e('Post Types', 'nestedpages'); ?> </a>
|
21 |
+
msgctxt "cabefa15b5b26e7db64543dd4a6d5e11"
|
22 |
+
msgid "Post Types"
|
23 |
+
msgstr "Типы записей"
|
24 |
+
|
25 |
+
# wpml-name: 0db377921f4ce762c62526131097968f
|
26 |
+
#: <a class="nav-tab <?php if ( $tab == 'general' ) echo 'nav-tab-active'; ?>"
|
27 |
+
#: href="options-general.php?page=nested-pages-settings"> _e('General',
|
28 |
+
#: 'nestedpages'); ?> </a>
|
29 |
+
msgctxt "082395b48d87036bf23cb51d276acd62"
|
30 |
+
msgid "General"
|
31 |
+
msgstr "Основные"
|
32 |
+
|
33 |
+
# wpml-name: 7ab5d3439dbc2c22ef10d2b69625ee87
|
34 |
+
#: <p style="font-style:oblique;font-size:13px;"> *<?php _e('If default menu
|
35 |
+
#: is not replaced, an additional submenu item will be added for "Nested/Sort
|
36 |
+
#: View"', 'nestedpages'); ?> </p>
|
37 |
+
msgctxt "8ab545b58a05c0db887f5da3cc66be51"
|
38 |
+
msgid ""
|
39 |
+
"If default menu is not replaced, an additional submenu item will be added "
|
40 |
+
"for \"Nested/Sort View\""
|
41 |
+
msgstr ""
|
42 |
+
"Есле основное меню не заменено, дополнительные подменю будут добавлены в "
|
43 |
+
"\"Вложеный/Сортированый вид\""
|
44 |
+
|
45 |
+
# wpml-name: 09d5a85a959f6d026444ad0cb7da19e9
|
46 |
+
#: <p style="font-style:oblique;font-size:13px;"> <?php _e('Note: Nesting
|
47 |
+
#: features not enabled for non-hierarchical post types.', 'nestedpages'); ?>
|
48 |
+
#: </p>
|
49 |
+
msgctxt "a6d194f5b74bb1f8ccf116c20f0314aa"
|
50 |
+
msgid "Note: Nesting features not enabled for non-hierarchical post types."
|
51 |
+
msgstr ""
|
52 |
+
"Заметка: возможности вложенности не доступны для неиерархических типов "
|
53 |
+
"записей."
|
54 |
+
|
55 |
+
# wpml-name: 5ad9c8fe04c09aa68809021a53c336fa
|
56 |
+
#: <th><?php _e('Replace Default Menu', 'nestedpages'); ?>*</th> _e('Hide
|
57 |
+
#: Link', </thead>
|
58 |
+
msgctxt "944e4ea8beabe9997058efe1349b9e79"
|
59 |
+
msgid "Hide Default Link"
|
60 |
+
msgstr "Спрятать ссылку на родное меню"
|
61 |
+
|
62 |
+
# wpml-name: 11a3cb676326fb75b85b44a8aceab373
|
63 |
+
#: <th><?php _e('Enabled', 'nestedpages'); ?></th> _e('Replace Default Menu',
|
64 |
+
#: ?>*</th> _e('Hide Link',
|
65 |
+
msgctxt "62ead4761a31a1ce315cb9ecf697e037"
|
66 |
+
msgid "Replace Default Menu"
|
67 |
+
msgstr "Заменить родное меню"
|
68 |
+
|
69 |
+
# wpml-name: 00d23a76e43b46dae9ec7aa9dcbebb32
|
70 |
+
#: <th><?php _e('Hierarchical', 'nestedpages'); ?></th> _e('Enabled',
|
71 |
+
#: _e('Replace Default Menu', ?>*</th>
|
72 |
+
msgctxt "17f8292aa14c890e759e5bc33a1bc075"
|
73 |
+
msgid "Enabled"
|
74 |
+
msgstr "Включено"
|
75 |
+
|
76 |
+
# wpml-name: 55bb12cc60fba8f860517ac796c4fdda
|
77 |
+
#: <th><?php _e('Post Type', 'nestedpages'); ?></th> _e('Hierarchical',
|
78 |
+
#: _e('Enabled',
|
79 |
+
msgctxt "af6287c9663e69717d23882167771b1c"
|
80 |
+
msgid "Hierarchical"
|
81 |
+
msgstr "Иерархичесий"
|
82 |
+
|
83 |
+
# wpml-name: 4079b1ca4a9a54e6f13cf806b063c622
|
84 |
+
#: <thead> <th><?php _e('Post Type', 'nestedpages'); ?></th>
|
85 |
+
#: _e('Hierarchical',
|
86 |
+
msgctxt "b3a38b1cc10d321ee4a59b71a97ce23a"
|
87 |
+
msgid "Post Type"
|
88 |
+
msgstr "Тип записи"
|
89 |
+
|
90 |
+
# wpml-name: 7f51de8a0db2de6e07aaf400ccea9e8b
|
91 |
+
#: <td colspan="2" style="padding:0px;"> <h3 style="margin-bottom:10px;"><?php
|
92 |
+
#: _e('Enable Nested Pages for:', 'nestedpages'); ?></h3> </td>
|
93 |
+
msgctxt "4ef50d33d184513abd1024b1a07f3bbb"
|
94 |
+
msgid "Enable Nested Pages for:"
|
95 |
+
msgstr "Использовать Вложенное меню для:"
|
96 |
+
|
97 |
+
# wpml-name: f2ff2e8bc10751ec9691bd72ee106f44
|
98 |
+
#: <input type="hidden" name="nestedpages_menusync" value="<?php echo
|
99 |
+
#: get_option('nestedpages_menusync'); ?>"> <p><em><?php _e('Admins always
|
100 |
+
#: have sorting ability.', 'nestedpages'); ?></em></p> </td>
|
101 |
+
msgctxt "1ce0ad1be2f2d3d82539bcb8c7f26eef"
|
102 |
+
msgid "Admins always have sorting ability."
|
103 |
+
msgstr "Администраторы всегда имеют возможность сортировать страницы."
|
104 |
+
|
105 |
+
# wpml-name: f8ec8c64232154cac6dfc3dbd659686d
|
106 |
+
#: <tr valign="top"> <th scope="row"><?php _e('Allow Page Sorting',
|
107 |
+
#: 'nestedpages'); ?></th> <td>
|
108 |
+
msgctxt "532903f4b1845e2e9136f9620de4470c"
|
109 |
+
msgid "Allow Page Sorting"
|
110 |
+
msgstr "Разрешить сортировать страницы"
|
111 |
+
|
112 |
+
# wpml-name: a084ee4d613e3ee14ad7bbe254b27101
|
113 |
+
#: <input type="checkbox" name="nestedpages_ui[datepicker]" value="true" <?php
|
114 |
+
#: if ( $this->settings->datepickerEnabled() ) echo 'checked'; ?> />
|
115 |
+
#: _e('Enable Date Picker in Quick Edit', 'nestedpages'); </label>
|
116 |
+
msgctxt "0cfd805dba5bdbea2a923e4e1f3dbf32"
|
117 |
+
msgid "Enable Date Picker in Quick Edit"
|
118 |
+
msgstr "Включить \"Выбор даты\" в Быстром редактирование"
|
119 |
+
|
120 |
+
# wpml-name: 9cbc24d23b943fe4b092e79dd82948e2
|
121 |
+
#: <tr valign="top"> <th scope="row"><?php _e('Display Options',
|
122 |
+
#: 'nestedpages'); ?></th> <td>
|
123 |
+
msgctxt "f55fb69e9945ad697ac659977819b1f0"
|
124 |
+
msgid "Display Options"
|
125 |
+
msgstr "Показать настройки"
|
126 |
+
|
127 |
+
# wpml-name: 7016a0b4299fd361f5c47757ef7586a7
|
128 |
+
#: <input type="text" name="nestedpages_menu" id="nestedpages_menu"
|
129 |
+
#: value="<?php echo $this->menu->name; ?>"> <p><em><?php _e('Important: Once
|
130 |
+
#: the menu name has changed, theme files should be updated to reference new
|
131 |
+
#: name.', 'nestedpages'); ?></em></p> </td>
|
132 |
+
msgctxt "125ebe1d3c7c8a398b1535a1bfbf0fd9"
|
133 |
+
msgid ""
|
134 |
+
"Important: Once the menu name has changed, theme files should be updated to "
|
135 |
+
"reference the new name."
|
136 |
+
msgstr ""
|
137 |
+
"Важно: Как только изменяется название меню, файлы темы обновляются в "
|
138 |
+
"соответствии с изменением."
|
139 |
+
|
140 |
+
# wpml-name: 51b61b8df8be90d63c45c0e2a27c34e1
|
141 |
+
#: <tr valign="top"> <th scope="row"><?php _e('Menu Name', 'nestedpages');
|
142 |
+
#: ?></th> <td>
|
143 |
+
msgctxt "6e4aae655ac69b3191be226c1c66d66a"
|
144 |
+
msgid "Menu Name"
|
145 |
+
msgstr "Название меню"
|
146 |
+
|
147 |
+
# wpml-name: e8d4217122c10babd9d3c7466dc7bd4d
|
148 |
+
#: <tr valign="top"> <th scope="row"><?php _e('Nested Pages Version',
|
149 |
+
#: 'nestedpages'); ?></th> <td><strong><?php echo
|
150 |
+
#: get_option('nestedpages_version'); ?></strong></td>
|
151 |
+
msgctxt "2528c7db6d0fb1326f94cf2e73df52f7"
|
152 |
+
msgid "Nested Pages Version"
|
153 |
+
msgstr "Версия \"Вложенных страниц\""
|
154 |
+
|
155 |
+
# wpml-name: ce2c8aed9c2fa0cfbed56cbda4d8bf07
|
156 |
+
#: <a href="<?php echo
|
157 |
+
#: $this->post_type_repo->trashLink($this->post_type->name); ?>"><?php
|
158 |
+
#: _e('Trash'); ?> </a> <span class="count">(<a href="#"
|
159 |
+
#: class="np-empty-trash" data-posttype="<?php $this->post_type->name;
|
160 |
+
#: _e('Empty', 'nestedpages'); ?></a> <?php $trashedCount; ?>)</span> |
|
161 |
+
msgctxt "d8ae682601c81525ee771eaabf9ca939"
|
162 |
+
msgid "Empty"
|
163 |
+
msgstr "Пусто"
|
164 |
+
|
165 |
+
# wpml-name: efdcb112c15b1b4d054d0d7d8cb33163
|
166 |
+
#: 'ASC' => __('Ascending', 'nestedpages'), 'DESC' __('Decending',
|
167 |
+
#: 'nestedpages') );
|
168 |
+
msgctxt "324baea8055f5901e5f7f9caf67016ef"
|
169 |
+
msgid "Decending"
|
170 |
+
msgstr "Нисходящий"
|
171 |
+
|
172 |
+
# wpml-name: cf3fb1ff52ea1eed3347ac5401ee7f0c
|
173 |
+
#: $options = array( 'ASC' => __('Ascending', 'nestedpages'), 'DESC'
|
174 |
+
#: __('Decending', 'nestedpages')
|
175 |
+
msgctxt "dcbc65158aa14e778115184b66f49da3"
|
176 |
+
msgid "Ascending"
|
177 |
+
msgstr "Восходящий"
|
178 |
+
|
179 |
+
# wpml-name: 801322095c363689f7620e0147e3fd14
|
180 |
+
#: ); $out = '<option value="">' . __('Order By', 'nestedpages') '</option>';
|
181 |
+
#: foreach ( $options as $key => $option ){
|
182 |
+
msgctxt "d393a8ff3bc4b74f9268746bfb87c171"
|
183 |
+
msgid "Order By"
|
184 |
+
msgstr "Сортировать по"
|
185 |
+
|
186 |
+
# wpml-name: 1c572c6837c919c881337a91c68f8894
|
187 |
+
#: $options = array( 'menu_order' => __('Menu Order', 'nestedpages'), 'date'
|
188 |
+
#: __('Date',
|
189 |
+
msgctxt "3d4cd3f1836ad851572f9f5b6f07c70a"
|
190 |
+
msgid "Menu Order"
|
191 |
+
msgstr "Порядок меню"
|
192 |
+
|
193 |
+
# wpml-name: a0042ca3898c3c35af7d1d65d5073457
|
194 |
+
#: <?php $out = '<option value="all">' . __('All Authors', 'nestedpages')
|
195 |
+
#: '</option>'; $users $this->user->allUsers();
|
196 |
+
msgctxt "1413b3637b4a008604c9cdbeae341aff"
|
197 |
+
msgid "All Authors"
|
198 |
+
msgstr "Все авторы"
|
199 |
+
|
200 |
+
# wpml-name: 6cbe6973657dbebd1c61eba103437ced
|
201 |
+
#: $u = get_userdata($user); echo '<span class="locked"><i
|
202 |
+
#: class="np-icon-lock"></i><em> ' . $u->display_name __('currently editing',
|
203 |
+
#: 'nestedpages') '</em></span>'; } else {
|
204 |
+
msgctxt "376f680809c031a35bf618685fc1aa35"
|
205 |
+
msgid "currently editing"
|
206 |
+
msgstr "сейчас редактирует"
|
207 |
+
|
208 |
+
# wpml-name: 7acdf85c69cc3c5305456a293524386e
|
209 |
+
#: if ( $this->post->nav_status == 'hide' ){ echo '<span class="nav-status">'
|
210 |
+
#: . __('Hidden', 'nestedpages') '</span>'; } else {
|
211 |
+
msgctxt "5359fcb9142f63f6d9a1147a5af3405f"
|
212 |
+
msgid "Hidden"
|
213 |
+
msgstr "Спрятаны"
|
214 |
+
|
215 |
+
# wpml-name: d26b79c55c39a14bf8922478f0b95dc5
|
216 |
+
#: <label> <input type="checkbox" name="np_sync_menu" class="np-sync-menu"
|
217 |
+
#: value="sync" <?php if ( get_option('nestedpages_menusync') == 'sync' ) echo
|
218 |
+
#: 'checked'; ?>/> _e('Sync Menu', 'nestedpages'); ?> </label>
|
219 |
+
msgctxt "41706f1e18d81249e8666c75ae0badcf"
|
220 |
+
msgid "Sync Menu"
|
221 |
+
msgstr "Синхронизировать меню"
|
222 |
+
|
223 |
+
# wpml-name: 5acd460877052acd8485e812d7ac8004
|
224 |
+
#: <?php if ( !empty($this->h_taxonomies) ) : ?> <a href="#" class="np-btn
|
225 |
+
#: np-btn-half btn-right np-toggle-taxonomies"><?php _e('Taxonomies',
|
226 |
+
#: 'nestedpages'); ?></a> endif;
|
227 |
+
msgctxt "a5b34c76393bb67e92503bf4128ff8b9"
|
228 |
+
msgid "Taxonomies"
|
229 |
+
msgstr "Таксономии"
|
230 |
+
|
231 |
+
# wpml-name: 5237bf9508ab9507333ce0c00281d3dc
|
232 |
+
#: <?php if ( $this->user->canSortPages() && $this->post_type->name == 'page'
|
233 |
+
#: ) : ?> <a href="#" class="np-btn np-btn-half np-toggle-menuoptions"><?php
|
234 |
+
#: _e('Menu Options', 'nestedpages'); ?></a> endif;
|
235 |
+
msgctxt "a03ecb0677945b121f918fff183825ea"
|
236 |
+
msgid "Menu Options"
|
237 |
+
msgstr "Настройки"
|
238 |
+
|
239 |
+
# wpml-name: 5109d85d95fece7816d9704e6e5b1279
|
240 |
+
#: <option value="am"><?php _e('am', 'nestedpages'); ?></option>
|
241 |
+
#: value="pm"><?php _e('pm', </select>
|
242 |
+
msgctxt "361bda5b235e37ce29b9ed1a64fc9b24"
|
243 |
+
msgid "pm"
|
244 |
+
msgstr "pm"
|
245 |
+
|
246 |
+
# wpml-name: c04cd38aeb30f3ad1f8ab4e64a0ded7b
|
247 |
+
#: <select name="np_ampm" class="np_ampm"> <option value="am"><?php _e('am',
|
248 |
+
#: 'nestedpages'); ?></option> value="pm"><?php _e('pm',
|
249 |
+
msgctxt "f5a7459ad7b92847cc425cb38ba65207"
|
250 |
+
msgid "am"
|
251 |
+
msgstr "am"
|
252 |
+
|
253 |
+
# wpml-name: 518ed29525738cebdac49c49e60ea9d3
|
254 |
+
#: <input type="text" name="np_date" class="np_datepicker" value="" />
|
255 |
+
#: <span><?php _e('@', 'nestedpages'); ?></span> <div
|
256 |
+
#: class="np-time-container">
|
257 |
+
msgctxt "46cb6f3495fa421aee30042e33f9ca95"
|
258 |
+
msgid "@"
|
259 |
+
msgstr "@"
|
260 |
+
|
261 |
+
# wpml-name: 97e7c9a7d06eac006a28bf05467fcc8b
|
262 |
+
#: <div class="form-interior"> <h3><?php _e('Link', 'nestedpages'); ?></h3>
|
263 |
+
msgctxt "98e35bed96bad3fee72057f451935a9b"
|
264 |
+
msgid "Link"
|
265 |
+
msgstr "Ссылка"
|
266 |
+
|
267 |
+
# wpml-name: d796416ea108daaa21b339fe8753967e
|
268 |
+
#: <a href="#" class="button-secondary np-save-newchild add-edit alignright">
|
269 |
+
#: <?php _e( 'Add & Edit', 'nestedpages' ); ?> </a>
|
270 |
+
msgctxt "f8d206ae2159ddc230d8898d7b5d349c"
|
271 |
+
msgid "Add & Edit"
|
272 |
+
msgstr "Добавить и редактировать"
|
273 |
+
|
274 |
+
# wpml-name: 26b17225b626fb9238849fd60eabdf60
|
275 |
+
#: <a href="#" class="add-new-child-row button-primary"
|
276 |
+
#: style="clear:both;"><?php _e('+', 'nestedpages'); ?></a> </div><!-- .left
|
277 |
+
#: -->
|
278 |
+
msgctxt "29591aaaa5dfb740b86b185c15e54c51"
|
279 |
+
msgid "+"
|
280 |
+
msgstr "+"
|
281 |
+
|
282 |
+
# wpml-name: b819db2e35229e2e1a0b19c1b086ff03
|
283 |
+
#: <a accesskey="s" class="button-primary np-save-link alignright"> <?php _e(
|
284 |
+
#: 'Save Link', 'nestedpages' ); ?> </a>
|
285 |
+
msgctxt "11beaf7ee92917fbcea86b9426a30032"
|
286 |
+
msgid "Save Link"
|
287 |
+
msgstr "Сохранить ссылку"
|
288 |
+
|
289 |
+
# wpml-name: b4e328aa95dbd60dc8a390a492c9555c
|
290 |
+
#: <input type="checkbox" name="nested_pages_status" class="np_status"
|
291 |
+
#: value="hide" /> <span class="checkbox-title"><?php _e( 'Hide in Nested
|
292 |
+
#: Pages', 'nestedpages' ); ?></span> </label>
|
293 |
+
msgctxt "90c5670411d5aa75a3f19b151f2ccd53"
|
294 |
+
msgid "Hide in Nested Pages"
|
295 |
+
msgstr "Не отображать во Вложенном списке"
|
296 |
+
|
297 |
+
# wpml-name: 5d0f1591c7779d1a6f9772ee972fbbdd
|
298 |
+
#: <input type="checkbox" name="nav_status" class="np_nav_status" value="hide"
|
299 |
+
#: /> <span class="checkbox-title"><?php _e( 'Hide in Nav Menu', 'nestedpages'
|
300 |
+
#: ); ?></span> </label>
|
301 |
+
msgctxt "09e78f7c46700ec9baaab20d5bdfa2fd"
|
302 |
+
msgid "Hide in Nav Menu"
|
303 |
+
msgstr "Не отображать в меню сайта"
|
304 |
+
|
305 |
+
# wpml-name: e6b391a8d2c4d45902a23a8b6585703d
|
306 |
+
#: <div class="form-control"> <label><?php _e( 'URL' ); ?></label> <input
|
307 |
+
#: type="text" name="post_content" class="np_content" value="" />
|
308 |
+
msgctxt "17e229f99dd966a2f1f79a803aaa6cf7"
|
309 |
+
msgid "URL"
|
310 |
+
msgstr "URL"
|
311 |
+
|
312 |
+
# wpml-name: bf461d2c2ce2f5ac1322baafdb6e93bf
|
313 |
+
#: if ( $title == "" ){ $message = __('Page titles cannot be blank.',
|
314 |
+
#: 'nestedpages'); return wp_send_json(array('status' => 'error', 'message'
|
315 |
+
#: $message));
|
316 |
+
msgctxt "ef711b0a385a7a97592c4684fcce8909"
|
317 |
+
msgid "Page titles cannot be blank."
|
318 |
+
msgstr "Заголовок не может быть пустым."
|
319 |
+
|
320 |
+
# wpml-name: eab33a878d1c30f7a3fb494aa0c82a7e
|
321 |
+
#: if ( !isset($data['post_title']) ){ $message = __('Please provide at least
|
322 |
+
#: one page title.', 'nestedpages'); return wp_send_json(array('status' =>
|
323 |
+
#: 'error', 'message' $message));
|
324 |
+
msgctxt "79214cd24d661f3bf2378d41d1a9f301"
|
325 |
+
msgid "Please provide at least one page title."
|
326 |
+
msgstr "Укажите хотя-бы один заголовок."
|
327 |
+
|
328 |
+
# wpml-name: 64109931de9ce4ad64db2050371b774c
|
329 |
+
#: if ( (!isset($data['parent_id'])) || (!is_numeric($data['parent_id'])) ){
|
330 |
+
#: $message = __('A valid parent page was not provided.', 'nestedpages');
|
331 |
+
#: return wp_send_json(array('status' => 'error', 'message' $message));
|
332 |
+
msgctxt "073a88f4cc56f51e5a7a8ddbd2868446"
|
333 |
+
msgid "A valid parent page was not provided."
|
334 |
+
msgstr "Правильная родительская страница не назначена."
|
335 |
+
|
336 |
+
# wpml-name: d254d4153159f1b59e2db3b12f95dbcb
|
337 |
+
#: if ( $var == "" ){ $message = __('Please provide a ', 'nestedpages') .
|
338 |
+
#: $title; return wp_send_json(array('status' => 'error', 'message'
|
339 |
+
#: $message));
|
340 |
+
msgctxt "5d0a05c802a705d591ebb4b08488dfa3"
|
341 |
+
msgid "Please provide a "
|
342 |
+
msgstr "Пожалуйста, введите"
|
343 |
+
|
344 |
+
# wpml-name: 180424ae06de5e00c454bd11fa45b4c1
|
345 |
+
#: if ( (!isset($data['np_link_content'])) || ($data['np_link_content'] == "")
|
346 |
+
#: ){ return wp_send_json(array('status' => 'error', 'message' __('Please
|
347 |
+
#: provide a valid URL.', 'nestedpages') )); }
|
348 |
+
msgctxt "6a6d362465043cb151faed85fa0b66d7"
|
349 |
+
msgid "Please provide a valid URL."
|
350 |
+
msgstr "Пожалуйста, введите правильный URL."
|
351 |
+
|
352 |
+
# wpml-name: 18508b165c00063f08849f319538ce36
|
353 |
+
#: if ( (!isset($data['np_link_title'])) || ($data['np_link_title'] == "") ){
|
354 |
+
#: return wp_send_json(array('status' => 'error', 'message' __('Please provide
|
355 |
+
#: a menu title.', 'nestedpages') )); }
|
356 |
+
msgctxt "52a74704c69bae058facf662646421a5"
|
357 |
+
msgid "Please provide a menu title."
|
358 |
+
msgstr "Пожалуйста, введите заголовок меню."
|
359 |
+
|
360 |
+
# wpml-name: d380eaad09f2e3aef0bd0d2536030a8a
|
361 |
+
#: 'status' => 'error', 'message' __('Please provide a valid date.',
|
362 |
+
#: 'nestedpages') ));
|
363 |
+
msgctxt "7bdc8697f83d684397d712fa68194709"
|
364 |
+
msgid "Please provide a valid date."
|
365 |
+
msgstr "Пожалуйста, введите правильную дату."
|
366 |
+
|
367 |
+
# wpml-name: 8a2a00774e4f1cf2423be533d96b3c7b
|
368 |
+
#: } else { $this->response = array('status'=>'error', 'message'=> __('There
|
369 |
+
#: was an error updating the page order.','nestedpages') );
|
370 |
+
msgctxt "c45f7d657fca12e9bdb52d9f5b208cc8"
|
371 |
+
msgid "There was an error updating the page order."
|
372 |
+
msgstr "При упорядочивании страниц произошла ошибка."
|
373 |
+
|
374 |
+
# wpml-name: ea85c3c719d2c2700ce6b70be204d8ff
|
375 |
+
#: if ( $order ){ $this->response = array('status' => 'success', 'message'
|
376 |
+
#: __('Page order successfully updated.','nestedpages') ); } else {
|
377 |
+
msgctxt "c7f8855c99f1a15721485dbfd9067227"
|
378 |
+
msgid "Page order successfully updated."
|
379 |
+
msgstr "Упорядочивание проведено успешно."
|
380 |
+
|
381 |
+
# wpml-name: 8ca4081f659c44f6a853f2e4992451d6
|
382 |
+
#: 'status' => 'success', 'message' __('Link successfully updated',
|
383 |
+
#: 'nestedpages'), 'post_data' $this->data
|
384 |
+
msgctxt "e9b37f7c6045827f83d2c041a909f994"
|
385 |
+
msgid "Link successfully updated"
|
386 |
+
msgstr "Ссылка успешно обновлена"
|
387 |
+
|
388 |
+
# wpml-name: 7ff774d819b8d3e161dbc28815872762
|
389 |
+
#: 'status' => 'error', 'message' __('There was an error updating the page.',
|
390 |
+
#: 'nestedpages') );
|
391 |
+
msgctxt "9dce384ee9803ca798e75f98f2701083"
|
392 |
+
msgid "There was an error updating the page."
|
393 |
+
msgstr "Произошла ошибка при обновлении страницы."
|
394 |
+
|
395 |
+
# wpml-name: 32e53129b84a79d166eeb95e05c9a96e
|
396 |
+
#: if ( ! wp_verify_nonce( $this->nonce, 'nestedpages-nonce' ) ){
|
397 |
+
#: $this->response = array( 'status' => 'error', 'message' __('Incorrect Form
|
398 |
+
#: Field', 'nestedpages') ); $this->sendResponse();
|
399 |
+
msgctxt "ae1998d5120d4a4f9e341c19701f6ac2"
|
400 |
+
msgid "Incorrect Form Field"
|
401 |
+
msgstr "Неправильное поле"
|
402 |
+
|
403 |
+
# wpml-name: 4202ef115ebede37eb22297113f5fb32
|
404 |
+
#: 'name' => __('Redirects', 'nestedpages'), 'singular_name' __('Redirect',
|
405 |
+
#: 'add_new_item'=> 'Add Redirect',
|
406 |
+
msgctxt "741ae87bd707174e5d201f8529d91fcd"
|
407 |
+
msgid "Redirect"
|
408 |
+
msgstr "Перенаправление"
|
409 |
+
|
410 |
+
# wpml-name: 08635c4f0bf6edbca5d2a8bd0da24a6c
|
411 |
+
#: $labels = array( 'name' => __('Redirects', 'nestedpages'), 'singular_name'
|
412 |
+
#: __('Redirect',
|
413 |
+
msgctxt "3a6b5ea9cb10c883b2ac495b5ded65dc"
|
414 |
+
msgid "Redirects"
|
415 |
+
msgstr "Перенаправляет"
|
416 |
+
|
417 |
+
# wpml-name: e732fba45ce8a2eb79b76f81ad2253a7
|
418 |
+
#: { return ( $post_type->hierarchical ) ? __('Nested View', 'nestedpages') :
|
419 |
+
#: __('Sort 'nestedpages'); }
|
420 |
+
msgctxt "6c760237f3491c81221f09e9673fe0cc"
|
421 |
+
msgid "Sort View"
|
422 |
+
msgstr "Вид Сортировки"
|
423 |
+
|
424 |
+
# wpml-name: 291f2f16070bd9c2e385f38630e31e2d
|
425 |
+
#: { return ( $post_type->hierarchical ) ? __('Nested View', 'nestedpages') :
|
426 |
+
#: __('Sort 'nestedpages'); }
|
427 |
+
msgctxt "100a5040aaa84c336ac9144b09a297e0"
|
428 |
+
msgid "Nested View"
|
429 |
+
msgstr "Вид Вложенности"
|
430 |
+
|
431 |
+
# wpml-name: b021df6aac4654c454f46c77646e745f
|
432 |
+
#: { $this->validation->checkEmpty($data['post_title'], __('Label',
|
433 |
+
#: 'nestedpages')); $updated_post = array(
|
434 |
+
msgctxt "4ca852736cec07fcd38891948a98af92"
|
435 |
+
msgid "Label"
|
436 |
+
msgstr "Лэйбл"
|
437 |
+
|
438 |
+
# wpml-name: a629cf649e23dda3a911a7b72f6a9258
|
439 |
+
#: $page = ( intval($untrashed) > 1 ) ? __('pages', 'nestedpages') :
|
440 |
+
#: __('page', 'nestedpages'); $out $untrashed . ' __('restored from trash',
|
441 |
+
#: return $out;
|
442 |
+
msgctxt "f5a466d3c9974a2b741046456ff13bd1"
|
443 |
+
msgid "restored from trash"
|
444 |
+
msgstr "восстановить из карзины"
|
445 |
+
|
446 |
+
# wpml-name: 71860c77c6745379b0d44304d66b6a13
|
447 |
+
#: $untrashed = sanitize_text_field($_GET['untrashed']); $page (
|
448 |
+
#: intval($untrashed) > 1 ) ? __('pages', 'nestedpages') : __('page',
|
449 |
+
#: 'nestedpages'); $out . ' __('restored from trash',
|
450 |
+
msgctxt "2bd5c00b5730615895dd49db56b638af"
|
451 |
+
msgid "page"
|
452 |
+
msgstr "страница"
|
453 |
+
|
454 |
+
# wpml-name: b3b32a2d422265cd25c3323ed0157f81
|
455 |
+
#: $untrashed = sanitize_text_field($_GET['untrashed']); $page (
|
456 |
+
#: intval($untrashed) > 1 ) ? __('pages', 'nestedpages') : __('page',
|
457 |
+
#: 'nestedpages'); $out . ' __('restored from trash',
|
458 |
+
#, fuzzy
|
459 |
+
msgctxt "003aad7c48d860975acfa7a221368b82"
|
460 |
+
msgid "pages"
|
461 |
+
msgstr "страницы"
|
462 |
+
|
463 |
+
# wpml-name: 17e8e28c7b7499e56684a8d7b531d733
|
464 |
+
#: } else { $out .= '<strong>' . get_the_title($trashed[0]) ' </strong>'
|
465 |
+
#: __('moved to the Trash', 'nestedpages');
|
466 |
+
msgctxt "f4cbcf547f0a11985daefc248ad301d9"
|
467 |
+
msgid "moved to the Trash"
|
468 |
+
msgstr "в корзину"
|
469 |
+
|
470 |
+
# wpml-name: 428e67395ce376b2bb1e0bd1fffaddbc
|
471 |
+
#: if ( count($trashed) > 1 ){ $out .= . ' __('pages moved to the Trash',
|
472 |
+
#: 'nestedpages'); } else {
|
473 |
+
msgctxt "98424ad03afe987c5e3fcc1fda305410"
|
474 |
+
msgid "pages moved to the Trash"
|
475 |
+
msgstr "страница перемещена в карзину"
|
476 |
+
|
477 |
+
# wpml-name: 19f7f362f688cf5d4513643452fbc9ec
|
478 |
+
#: { $out = __('Link successfully deleted.', 'nestedpages'); return $out;
|
479 |
+
msgctxt "7aba283ff71e27a5430cf9bd4e3e4408"
|
480 |
+
msgid "Link successfully deleted."
|
481 |
+
msgstr "Ссылка успешно удалена."
|
482 |
+
|
483 |
+
# wpml-name: 7a1920d61156abc05a60135aefe8bc67
|
484 |
+
#: <a href="<?php echo
|
485 |
+
#: NestedPages\Helpers::defaultPagesLink($this->post_type->name); ?>"> <?php
|
486 |
+
#: _e('Default'); ?> _e($this->post_type->labels->name); </a>
|
487 |
+
msgctxt "dcb63ae8222bcacc6abec27aaac012b4"
|
488 |
+
msgid "Default"
|
489 |
+
msgstr "По умолчанию"
|
490 |
+
|
491 |
+
# wpml-name: fb06bdf5516a8545b80bbf0ebcdda5b6
|
492 |
+
#: __('Nested Pages Settings', 'nestedpages'), Pages', 'manage_options',
|
493 |
+
msgctxt "4007745ef4b672032c6495ffcd258c47"
|
494 |
+
msgid "Nested Pages"
|
495 |
+
msgstr "Вложенные страницы"
|
496 |
+
|
497 |
+
# wpml-name: 4f05f50476b7fd431ef561c98c79d3e0
|
498 |
+
#: <div class="wrap"> <h1><?php _e('Nested Pages Settings', 'nestedpages');
|
499 |
+
#: ?></h1>
|
500 |
+
msgctxt "73fca5ee286a4054375c4af3f7eeb0e7"
|
501 |
+
msgid "Nested Pages Settings"
|
502 |
+
msgstr "Настройки Вложенных страниц"
|
503 |
+
|
504 |
+
# wpml-name: f48789cb478145c4de36b4689110d2dd
|
505 |
+
#: 'add_multiple' => __('Add Multiple', 'nestedpages'), 'trash_confirm'
|
506 |
+
#: __('Are you sure would like to empty the trash? This action is not
|
507 |
+
#: reversable.', 'nestedpages') );
|
508 |
+
msgctxt "0eeada5bcfc432a3a0d9cb55efa88c0d"
|
509 |
+
msgid ""
|
510 |
+
"Are you sure you would like to empty the trash? This action is not "
|
511 |
+
"reversable."
|
512 |
+
msgstr ""
|
513 |
+
"Вы действительно хотите очистить корзину? Это действие нельзя отменить."
|
514 |
+
|
515 |
+
# wpml-name: eb33c2e46a2538ab460a9eaed40b15dd
|
516 |
+
#: <a href="#" class="add-new-h2 open-bulk-modal" title="<?php _e('Add
|
517 |
+
#: Multiple', 'nestedpages'); ?>" data-parentid="0"> <?php ?> </a>
|
518 |
+
msgctxt "3b8c7e0e01acba529f773422f8e74fcd"
|
519 |
+
msgid "Add Multiple"
|
520 |
+
msgstr "Добавить несколько"
|
521 |
+
|
522 |
+
# wpml-name: d1b32f735df91ebb7f561bd104904412
|
523 |
+
#: 'add_page' => __('Add Page', 'nestedpages'), 'add_pages' Pages',
|
524 |
+
#: 'add_multiple' Multiple',
|
525 |
+
msgctxt "886cca0669801a38a30ba482bef9eb2a"
|
526 |
+
msgid "Add Pages"
|
527 |
+
msgstr "Добавить страницы"
|
528 |
+
|
529 |
+
# wpml-name: 3819be51aebed66a217daa3eb1b2a9d4
|
530 |
+
#: 'add' => __('Add', 'nestedpages'), 'add_page' __('Add Page', 'add_pages'
|
531 |
+
#: Pages',
|
532 |
+
msgctxt "96eb8f45e42b476ca3ea74888f99dd07"
|
533 |
+
msgid "Add Page"
|
534 |
+
msgstr "Добавить страницу"
|
535 |
+
|
536 |
+
# wpml-name: ec211f7c20af43e742bf2570c3cb84f9
|
537 |
+
#: <a accesskey="s" href="#" class="button-primary np-save-newchild
|
538 |
+
#: alignright" style="margin-left:10px;"> <?php _e( 'Add', 'nestedpages' ); ?>
|
539 |
+
#: </a>
|
540 |
+
msgctxt "556b73574750004a04be026d6812b937"
|
541 |
+
msgid "Add"
|
542 |
+
msgstr "Добавить"
|
543 |
+
|
544 |
+
# wpml-name: 6b48e60f42895110ab83194697cf478a
|
545 |
+
#: 'add_child' => __('Add Child Page', 'nestedpages'), 'add_child_pages'
|
546 |
+
#: Pages', 'add' __('Add',
|
547 |
+
msgctxt "e5f260af069c7c3c9bc998a99f0717f9"
|
548 |
+
msgid "Add Child Pages"
|
549 |
+
msgstr "Добавить дочерние страницы"
|
550 |
+
|
551 |
+
# wpml-name: 524f7f18330ba889fbc8ea52753fcddc
|
552 |
+
#: 'add_child_short' => __('Add Child', 'nestedpages'), 'add_child' Child
|
553 |
+
#: Page', 'add_child_pages' Pages',
|
554 |
+
msgctxt "9fc4a6bfc1417aafc9772d85f7f1a3fc"
|
555 |
+
msgid "Add Child Page"
|
556 |
+
msgstr "Добавить дочернюю страницу"
|
557 |
+
|
558 |
+
# wpml-name: 11d27e8a579ad940361d9f26aa212941
|
559 |
+
#: <a href="#" class="np-btn add-new-child" data-id="<?php echo get_the_id();
|
560 |
+
#: ?>" data-parentname="<?php $this->post->title; ?>"><?php _e('Add Child',
|
561 |
+
#: 'nestedpages'); ?></a>
|
562 |
+
msgctxt "284ce35c3475986071f2db5fae38b241"
|
563 |
+
msgid "Add Child"
|
564 |
+
msgstr "Добавить дочернюю"
|
565 |
+
|
566 |
+
# wpml-name: 4351cfebe4b61d8aa5efa1d020710005
|
567 |
+
#: <a href="<?php echo get_the_permalink(); ?>" class="np-btn"
|
568 |
+
#: target="_blank"><?php _e('View'); ?></a>
|
569 |
+
msgctxt "cd0b4b57c29c796bd99f818fc1c999a2"
|
570 |
+
msgid "View"
|
571 |
+
msgstr "Отобразить"
|
572 |
+
|
573 |
+
# wpml-name: 2864512e4161ae21b145798e32938abf
|
574 |
+
#: 'quick_edit' => __('Quick Edit', 'nestedpages'), 'page_title' __('Page
|
575 |
+
#: Title', 'view' __('View',
|
576 |
+
msgctxt "c312de74aea67d424f4f2d82584fbf77"
|
577 |
+
msgid "Page Title"
|
578 |
+
msgstr "Заголовок страницы"
|
579 |
+
|
580 |
+
# wpml-name: 73f79dd90cb67b7438919d31aef50a3f
|
581 |
+
#: data-ampm="<?php echo date('a', $this->post->date->datepicker); ?>"> <?php
|
582 |
+
#: _e('Quick Edit'); ?> </a>
|
583 |
+
msgctxt "9c4eb103d901750032939d9fb0ddfda2"
|
584 |
+
msgid "Quick Edit"
|
585 |
+
msgstr "Быстрое редактирование"
|
586 |
+
|
587 |
+
# wpml-name: b78a3223503896721cca1303f776159b
|
588 |
+
#: <div class="form-control"> <label><?php _e( 'Title' ); ?></label> <input
|
589 |
+
#: type="text" name="post_title" class="np_title" value="" />
|
590 |
+
msgctxt "c73f5574d5724526cbc991597b53ee41"
|
591 |
+
msgid "Title"
|
592 |
+
msgstr "Заголовок"
|
593 |
+
|
594 |
+
# wpml-name: 52747f61186e85cf0e057efc616f1ab8
|
595 |
+
#: 'add_link' => __('Add Link', 'nestedpages'), 'add_child_link' Child 'title'
|
596 |
+
#: __('Title',
|
597 |
+
msgctxt "a19cd84053a1eed8d84169ae7d946a9a"
|
598 |
+
msgid "Add Child Link"
|
599 |
+
msgstr "Добавить дочернюю ссылку"
|
600 |
+
|
601 |
+
# wpml-name: 580b21aac58f1b73cece26e272cdfbee
|
602 |
+
#: <a href="#" class="add-new-h2 open-redirect-modal" title="<?php _e('Add
|
603 |
+
#: Link', 'nestedpages'); ?>" data-parentid="0"> <?php ?> </a>
|
604 |
+
msgctxt "41a2dc588b2e0a357c4fb30eac74cb82"
|
605 |
+
msgid "Add Link"
|
606 |
+
msgstr "Добавить ссылку"
|
607 |
+
|
608 |
+
# wpml-name: 30e9fe222cb573c2149300939e35cc12
|
609 |
+
#: 'show_hidden' => __('Show Hidden', 'nestedpages'), 'hide_hidden' __('Hide
|
610 |
+
#: 'add_link' __('Add Link',
|
611 |
+
msgctxt "298f7497d52b3546636eeb10253053d2"
|
612 |
+
msgid "Hide Hidden"
|
613 |
+
msgstr "Скрыть спрятанные"
|
614 |
+
|
615 |
+
# wpml-name: 4200bec1a461b2488f4fc69e208ae508
|
616 |
+
#: <li> <a href="#show" class="np-toggle-hidden"><?php _e('Show Hidden',
|
617 |
+
#: 'nestedpages'); ?> </a> <span class="count">(<?php echo
|
618 |
+
#: $this->post_repo->getHiddenCount(array($this->post_type->name)); ?>)</span>
|
619 |
+
#: |
|
620 |
+
msgctxt "2941aa7fac7b2ca799b266572d037307"
|
621 |
+
msgid "Show Hidden"
|
622 |
+
msgstr "Показать спрятанные"
|
623 |
+
|
624 |
+
# wpml-name: b56c3bda503a8dc4be356edb0cc31793
|
625 |
+
#: 'expand_text' => __('Expand All', 'nestedpages'), 'collapse_text'
|
626 |
+
#: __('Collapse 'show_hidden' __('Show Hidden',
|
627 |
+
msgctxt "0a9de52b8e1397a9236196d006cb0e24"
|
628 |
+
msgid "Collapse All"
|
629 |
+
msgstr "Свернуть все"
|
630 |
+
|
631 |
+
# wpml-name: 5ffd7a335dd836b3373f5ec570a58bdc
|
632 |
+
#: <ul class="nestedpages-toggleall" <?php if (
|
633 |
+
#: $this->confirmation->getMessage() ) echo 'style="margin-top:0"';?>> <li><a
|
634 |
+
#: href="#" class="np-btn" data-toggle="closed"><?php _e('Expand All',
|
635 |
+
#: 'nestedpages'); ?></a></li> </ul>
|
636 |
+
msgctxt "ccf9d1ab459908fc9c26ae4210c6a373"
|
637 |
+
msgid "Expand All"
|
638 |
+
msgstr "Развернуть все"
|
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.3.
|
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.3.4
|
7 |
Author: Kyle Phillips
|
8 |
Author URI: https://github.com/kylephillips
|
9 |
Text Domain: nestedpages
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Nested Pages ===
|
2 |
Contributors: kylephillips
|
3 |
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.3.
|
8 |
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -37,6 +37,7 @@ For more information visit [nestedpages.com](http://nestedpages.com).
|
|
37 |
* German/Swiss German (Bartosz Podlewski)
|
38 |
* Italian (Francesco Canovi)
|
39 |
* Portuguese (Luis Martins)
|
|
|
40 |
|
41 |
== Installation ==
|
42 |
|
@@ -80,6 +81,19 @@ If you have WordPress SEO by Yoast installed, your page score indicators are sho
|
|
80 |
|
81 |
== Changelog ==
|
82 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
= 1.3.2 =
|
84 |
* Bug fix in menu - pages now nestable under links.
|
85 |
|
@@ -154,6 +168,12 @@ If you have WordPress SEO by Yoast installed, your page score indicators are sho
|
|
154 |
|
155 |
== Upgrade Notice ==
|
156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
= 1.3.2 =
|
158 |
Minor bug fixes in menu.
|
159 |
|
1 |
=== Nested Pages ===
|
2 |
Contributors: kylephillips
|
3 |
Donate link: http://nestedpages.com/
|
4 |
+
Tags: pages, admin, nested, tree view, page tree, sort, quick edit, structure
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.3.3
|
8 |
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
37 |
* German/Swiss German (Bartosz Podlewski)
|
38 |
* Italian (Francesco Canovi)
|
39 |
* Portuguese (Luis Martins)
|
40 |
+
* Russian (Алексей Катаев)
|
41 |
|
42 |
== Installation ==
|
43 |
|
81 |
|
82 |
== Changelog ==
|
83 |
|
84 |
+
= 1.3.4 =
|
85 |
+
* Minor bug fixes
|
86 |
+
* Minor UI enhancements
|
87 |
+
* Changes to page and link menu items under appearance > menu now sync the Nested Pages listing when menu sync is enabled (other custom menu item types not yet supported).
|
88 |
+
* Option added to disable nesting on hierarchical post types while maintaining sort functionality (ideal for live sites where link structures need to remain intact)
|
89 |
+
* Updated Dutch Translation (Provided by Arno Vije)
|
90 |
+
* Search capabilities added
|
91 |
+
* Hash/Empty URLs no longer appended with http://
|
92 |
+
|
93 |
+
= 1.3.3 =
|
94 |
+
* Russian Translation (Provided by Алексей Катаев)
|
95 |
+
* Minor bug fix in add child page functionality that effects display of appended pages.
|
96 |
+
|
97 |
= 1.3.2 =
|
98 |
* Bug fix in menu - pages now nestable under links.
|
99 |
|
168 |
|
169 |
== Upgrade Notice ==
|
170 |
|
171 |
+
= 1.3.4 =
|
172 |
+
Minor bug fixes and expanded menu functionality.
|
173 |
+
|
174 |
+
= 1.3.3 =
|
175 |
+
Russian translation added along with minor bug fixes.
|
176 |
+
|
177 |
= 1.3.2 =
|
178 |
Minor bug fixes in menu.
|
179 |
|