Nested Pages - Version 1.1.5

Version Description

  • Menu Sync bug fixes
  • Localization bug fixes
Download this release

Release Info

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

Code changes from version 1.1.4 to 1.1.5

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//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABADMARgHNAXoACQAANzM1Fwc1ITUzFWbngID+5jPGTWZnTee0AAAAAQBtAE0BkwF0AAsAACUHJwcnNyc3FzcXBwGOOFhdNF1YOFhdNF2BNF1YOFhdNV1XOFgAAAEAmgB8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BisBIicmPwEnBxcWBwYrASInJjUACwwIKWZmKQUIAwQLBQYHgAwFBQkpZWYpCQUFDIAHBQYLBAMIBSlmZikIDAsGBQeADAUFCSlmZSkJBQUMgAcGBRKADAUFCSllZikGAgUMgAcFBgwLCClmZikICwwGBQeADAUCBilmZSkJBQUMgAcGBQsMCClmZikIDAsFBgcAAAAAAQAAAAEAAGJNpXZfDzz1AAsCAAAAAADQjWedAAAAANCNZ50AAP/gAgAB4AAAAAgAAgAAAAAAAAABAAAB4P/gAAACAAAAAAACAAABAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAEAAAACAAAzAgAAbQIAAJoCAABNAgAAswIAAM0CAAAgAgAAAAIAAAACAAAAAgAAQAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAAAAAAACgAUAB4AMgBMAF4AfACKAJgAsgD6ATgBsAI+Au4DxARIBKAF/Ab6B4AILAiaAAAAAQAAABgA7wAHAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABABYAAAABAAAAAAACAA4AYwABAAAAAAADABYALAABAAAAAAAEABYAcQABAAAAAAAFABYAFgABAAAAAAAGAAsAQgABAAAAAAAKADQAhwADAAEECQABABYAAAADAAEECQACAA4AYwADAAEECQADABYALAADAAEECQAEABYAcQADAAEECQAFABYAFgADAAEECQAGABYATQADAAEECQAKADQAhwBuAGUAcwB0AGUAZABwAGEAZwBlAHMAVgBlAHIAcwBpAG8AbgAgADEALgAwAG4AZQBzAHQAZQBkAHAAYQBnAGUAc25lc3RlZHBhZ2VzAG4AZQBzAHQAZQBkAHAAYQBnAGUAcwBSAGUAZwB1AGwAYQByAG4AZQBzAHQAZQBkAHAAYQBnAGUAcwBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) 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-open{overflow:hidden;}.modal{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999;-webkit-overflow-scrolling:touch;outline:0;}.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;}.modal.in .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0);}.modal-open .modal{overflow-x:hidden;overflow-y:auto;}.modal-dialog{position:relative;width:auto;margin:10px auto 0px auto;max-width:500px;}.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;}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;opacity:0.85;}.modal-header{padding:8px;background-color:#ebebeb;}.modal-header .sr-only{display:none;}.modal-header .close{margin-top:-2px;}.modal-title{margin:0;}.modal-body{position:relative;padding:10px;}.modal-footer{padding:10px;text-align:right;background-color:#404040;zoom:1;}.modal-footer:before,.modal-footer:after{content:" ";display:table;}.modal-footer:after{clear:both;}.modal-footer .modal-close{float:left;}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll;}.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;}.wppages-top-tools{margin-bottom:20px;padding-top:10px;}.wppages-top-tools a{text-decoration:none;}.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-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 ol li ol .row-inner{padding-left:86px;}.nestedpages ol li ol li ol .row-inner{padding-left:116px;}.nestedpages ol li ol li ol li ol .row-inner{padding-left:156px;}.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;}@media (min-width: 768px){.nestedpages .row:hover .action-buttons{display:block;}}@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;}}.np-quick-edit-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-quick-edit-overlay.active{opacity:1;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;}.nestedpages .quick-edit{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 .quick-edit .form-interior{padding:10px;}.nestedpages .quick-edit h3{margin:0 0 8px 0;font-size:14px;}.nestedpages .quick-edit .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{content:" ";display:table;}.nestedpages .quick-edit .fields:after{clear:both;}.nestedpages .quick-edit .left{float:left;width:48%;}.nestedpages .quick-edit .right{float:right;width:48%;}.nestedpages .quick-edit label{font-style:oblique;}.nestedpages .quick-edit .buttons{clear:both;zoom:1;background-color:#404040;padding:8px;}.nestedpages .quick-edit .buttons:before,.nestedpages .quick-edit .buttons:after{content:" ";display:table;}.nestedpages .quick-edit .buttons:after{clear:both;}.nestedpages .quick-edit .form-control{clear:both;zoom:1;margin-bottom:5px;}.nestedpages .quick-edit .form-control:before,.nestedpages .quick-edit .form-control:after{content:" ";display:table;}.nestedpages .quick-edit .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{float:right;width:75%;}.nestedpages .quick-edit .form-control label{float:left;width:20%;}.nestedpages .quick-edit .form-control.password label{width:25%;}.nestedpages .quick-edit .form-control.password input[type="text"]{float:left;width:35%;}.nestedpages .quick-edit .form-control.password .private{float:right;width:35%;margin-top:4px;}.nestedpages .quick-edit .form-control.password .private label{width:auto;float:none;}.nestedpages .quick-edit .comments{float:right;width:75%;margin-bottom:10px;zoom:1;}.nestedpages .quick-edit .comments:before,.nestedpages .quick-edit .comments:after{content:" ";display:table;}.nestedpages .quick-edit .comments:after{clear:both;}.nestedpages .quick-edit .dates{float:right;width:75%;margin-bottom:6px;}.nestedpages .quick-edit .dates select{width:25%;}.nestedpages .quick-edit .dates input{width:12%;}.nestedpages .quick-edit .np-toggle-options{background-color:#f2f2f2;padding:5px;}.nestedpages .quick-edit .np-taxonomies,.nestedpages .quick-edit .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{content:" ";display:table;}.nestedpages .quick-edit .np-taxonomies:after,.nestedpages .quick-edit .np-menuoptions:after{clear:both;}.nestedpages .quick-edit .np-taxonomy{float:left;width:30%;margin-right:3.33%;}.nestedpages .quick-edit .np-taxonomy .title{font-weight:bold;margin-bottom:4px;display:block;}.nestedpages .quick-edit .np-taxonomy li{background-color:#ffffff;border:0;}.nestedpages .quick-edit .np-taxonomy textarea{width:100%;height:6.5em;}.nestedpages .quick-edit .np-menuoptions{padding:15px;}.nestedpages .quick-edit .np-menuoptions label,.nestedpages .quick-edit .np-menuoptions input[type="text"]{display:block;float:none;width:100%;}.nestedpages .quick-edit .np-menuoptions .menuoptions-left{float:left;width:47%;}.nestedpages .quick-edit .np-menuoptions .menuoptions-right{float:right;width:47%;padding-top:18px;}.nestedpages .quick-edit .np-menuoptions .menuoptions-right label{margin-bottom:10px;}.nestedpages .quick-edit .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{margin:0;}.nestedpages .quick-edit .np-hide-options label{display:block;margin-top:4px;font-style:normal;}.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 .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;}
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+QAAEuQAAAAkaG10eCkAA2cAABMIAAAAYGxvY2EhfhzgAAATaAAAADJtYXhwACAA8QAAE5wAAAAgbmFtZXH7qkgAABO8AAABaXBvc3QAAwAAAAAVKAAAACAAAwIAAZAABQA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gABAAAAAAAGAAsAQgABAAAAAAAKADQAhwADAAEECQABABYAAAADAAEECQACAA4AYwADAAEECQADABYALAADAAEECQAEABYAcQADAAEECQAFABYAFgADAAEECQAGABYATQADAAEECQAKADQAhwBuAGUAcwB0AGUAZABwAGEAZwBlAHMAVgBlAHIAcwBpAG8AbgAgADEALgAwAG4AZQBzAHQAZQBkAHAAYQBnAGUAc25lc3RlZHBhZ2VzAG4AZQBzAHQAZQBkAHAAYQBnAGUAcwBSAGUAZwB1AGwAYQByAG4AZQBzAHQAZQBkAHAAYQBnAGUAcwBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) 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-open{overflow:hidden;}.modal{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999;-webkit-overflow-scrolling:touch;outline:0;}.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;}.modal.in .modal-dialog{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0);}.modal-open .modal{overflow-x:hidden;overflow-y:auto;}.modal-dialog{position:relative;width:auto;margin:10px auto 0px auto;max-width:500px;}.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;}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;opacity:0.85;}.modal-header{padding:8px;background-color:#ebebeb;}.modal-header .sr-only{display:none;}.modal-header .close{margin-top:-2px;}.modal-title{margin:0;}.modal-body{position:relative;padding:10px;}.modal-footer{padding:10px;text-align:right;background-color:#404040;zoom:1;}.modal-footer:before,.modal-footer:after{content:" ";display:table;}.modal-footer:after{clear:both;}.modal-footer .modal-close{float:left;}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll;}.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;}.wppages-top-tools{margin-bottom:20px;padding-top:10px;}.wppages-top-tools a{text-decoration:none;}.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-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 ol li ol .row-inner{padding-left:86px;}.nestedpages ol li ol li ol .row-inner{padding-left:116px;}.nestedpages ol li ol li ol li ol .row-inner{padding-left:156px;}.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;}@media (min-width: 768px){.nestedpages .row:hover .action-buttons{display:block;}}@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;}}.np-quick-edit-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-quick-edit-overlay.active{opacity:1;-webkit-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;}.nestedpages .quick-edit{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 .quick-edit .form-interior{padding:10px;}.nestedpages .quick-edit h3{margin:0 0 8px 0;font-size:14px;}.nestedpages .quick-edit .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{content:" ";display:table;}.nestedpages .quick-edit .fields:after{clear:both;}.nestedpages .quick-edit .left{float:left;width:48%;}.nestedpages .quick-edit .right{float:right;width:48%;}.nestedpages .quick-edit label{font-style:oblique;}.nestedpages .quick-edit .buttons{clear:both;zoom:1;background-color:#404040;padding:8px;}.nestedpages .quick-edit .buttons:before,.nestedpages .quick-edit .buttons:after{content:" ";display:table;}.nestedpages .quick-edit .buttons:after{clear:both;}.nestedpages .quick-edit .form-control{clear:both;zoom:1;margin-bottom:5px;}.nestedpages .quick-edit .form-control:before,.nestedpages .quick-edit .form-control:after{content:" ";display:table;}.nestedpages .quick-edit .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{float:right;width:75%;}.nestedpages .quick-edit .form-control label{float:left;width:20%;}.nestedpages .quick-edit .form-control.password label{width:25%;}.nestedpages .quick-edit .form-control.password input[type="text"]{float:left;width:35%;}.nestedpages .quick-edit .form-control.password .private{float:right;width:35%;margin-top:4px;}.nestedpages .quick-edit .form-control.password .private label{width:auto;float:none;}.nestedpages .quick-edit .comments{float:right;width:75%;margin-bottom:10px;zoom:1;}.nestedpages .quick-edit .comments:before,.nestedpages .quick-edit .comments:after{content:" ";display:table;}.nestedpages .quick-edit .comments:after{clear:both;}.nestedpages .quick-edit .dates{float:right;width:75%;margin-bottom:6px;}.nestedpages .quick-edit .dates select{width:25%;}.nestedpages .quick-edit .dates input{width:12%;}.nestedpages .quick-edit .np-toggle-options{background-color:#f2f2f2;padding:5px;}.nestedpages .quick-edit .np-taxonomies,.nestedpages .quick-edit .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{content:" ";display:table;}.nestedpages .quick-edit .np-taxonomies:after,.nestedpages .quick-edit .np-menuoptions:after{clear:both;}.nestedpages .quick-edit .np-taxonomy{float:left;width:30%;margin-right:3.33%;}.nestedpages .quick-edit .np-taxonomy .title{font-weight:bold;margin-bottom:4px;display:block;}.nestedpages .quick-edit .np-taxonomy li{background-color:#ffffff;border:0;}.nestedpages .quick-edit .np-taxonomy textarea{width:100%;height:6.5em;}.nestedpages .quick-edit .np-menuoptions{padding:15px;}.nestedpages .quick-edit .np-menuoptions label,.nestedpages .quick-edit .np-menuoptions input[type="text"]{display:block;float:none;width:100%;}.nestedpages .quick-edit .np-menuoptions .menuoptions-left{float:left;width:47%;}.nestedpages .quick-edit .np-menuoptions .menuoptions-right{float:right;width:47%;padding-top:18px;}.nestedpages .quick-edit .np-menuoptions .menuoptions-right label{margin-bottom:10px;}.nestedpages .quick-edit .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{margin:0;}.nestedpages .quick-edit .np-hide-options label{display:block;margin-top:4px;font-style:normal;}.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 .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;}
assets/js/lib/nestedpages.js CHANGED
@@ -74,6 +74,19 @@ jQuery(function($){
74
  np_set_borders();
75
  }
76
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
77
 
78
  /**
79
  * Fix :visible :first css limitation when toggling various options
@@ -971,8 +984,8 @@ jQuery(function($){
971
  $(document).on('click', '.open-redirect-modal', function(e){
972
  e.preventDefault();
973
  var parent_id = $(this).attr('data-parentid');
974
- $('.np-modal-form').find('input').val('');
975
- $('.np-modal-form').find('.parent_id').val(parent_id);
976
  if (parent_id === '0'){
977
  $('#np-add-link-title').text(nestedpages.add_link);
978
  } else {
74
  np_set_borders();
75
  }
76
  });
77
+
78
+ /**
79
+ * Tabs
80
+ */
81
+ $('.np-tabs a').on('click', function(e){
82
+ e.preventDefault();
83
+ $('.np-tabs a').removeClass('active');
84
+ $(this).addClass('active');
85
+
86
+ var target = $(this).attr('href');
87
+ $('.np-tabbed-content').hide();
88
+ $(target).show();
89
+ });
90
 
91
  /**
92
  * Fix :visible :first css limitation when toggling various options
984
  $(document).on('click', '.open-redirect-modal', function(e){
985
  e.preventDefault();
986
  var parent_id = $(this).attr('data-parentid');
987
+ $('#np-link-modal').find('input').val('');
988
+ $('#np-link-modal .parent_id').val(parent_id);
989
  if (parent_id === '0'){
990
  $('#np-add-link-title').text(nestedpages.add_link);
991
  } else {
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(a){var e=t(a.placeholder).parents("ol").length,s=t(".sortable").width(),i=40*e-40,o=s-i;t(a.placeholder).width(o).css("margin-left",i+"px"),n(a)}function n(a){var e=t(a.placeholder).parent("ol");t(e).is(":visible")||t(e).show()}function s(){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 o(){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,syncmenu:a},success:function(a){"error"===a.status?(t("#np-error").text(a.message).show(),t("#nested-loading").hide()):t("#nested-loading").hide()}})}function r(a){t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npsyncmenu",nonce:nestedpages.np_nonce,syncmenu:a},success:function(t){"error"===t.status&&alert("There was an error saving the sync setting.")}})}function d(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")},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"),r=t(".quick-edit-form").clone().insertBefore(o);else var r=t(".quick-edit-form").clone().appendTo(n);t(r).siblings(".row").hide();l(r,e)}function l(a,e){if(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_template").val(e.template),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),"open"===e.cs&&t(a).find(".np_cs").prop("checked","checked"),"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")}}f(),t(a).show(),e.hasOwnProperty("f_taxonomies")&&(c(e.f_taxonomies),h(a))}function c(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 r=o.join("-");r in a||(a[r]=[]);var d=a[r];d.push(s)}p(a)}function p(a){t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"gettax",nonce:nestedpages.np_nonce,terms:a},success:function(t){u(t.terms)}})}function u(a){t.each(a,function(a,e){var n=t("#"+a);t(n).val(e.join(","))})}function h(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 v(){t(".np-quickedit-error").hide(),g(),t(".sortable .quick-edit").remove(),t(".row").show()}function f(){t("body").append('<div class="np-quick-edit-overlay"></div>'),setTimeout(function(){t(".np-quick-edit-overlay").addClass("active")},50)}function g(){t(".np-quick-edit-overlay").removeClass("active").remove()}function m(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,success:function(e){console.log(e),"error"===e.status?(x(a),t(a).find(".np-quickedit-error").text(e.message).show()):(x(a),_(a,e.post_data),C(a))}})}function _(a,e){var n=t(a).parent(".quick-edit").siblings(".row");t(n).find(".title").text(e.post_title);var s=t(n).find(".status");if(t(s).text("publish"!==e._status&&"future"!==e._status?"("+e._status+")":"private"===e.keep_private?"("+e.keep_private+")":""),""!==e.post_password){var i=t(s).text();i+=' <i class="np-icon-lock"></i>',t(s).html(i)}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());var d=t(n).find(".np-quick-edit");t(d).attr("data-id",e.post_id),t(d).attr("data-template",e.page_template),t(d).attr("data-title",e.post_title),t(d).attr("data-slug",e.post_name),t(d).attr("data-commentstatus",e.comment_status),t(d).attr("data-status",e._status),"private"===e.keep_private&&t(d).attr("data-status","private"),t(d).attr("data-author",e.post_author),t(d).attr("data-np-status",e.np_status),t(d).attr("data-password",e.post_password),t(d).attr("data-navstatus",e.nav_status),t(d).attr("data-navtitle",e.np_nav_title),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),t(d).attr("data-month",e.mm),t(d).attr("data-day",e.jj),t(d).attr("data-year",e.aa),t(d).attr("data-hour",e.hh),t(d).attr("data-minute",e.mn),k(r),w(r,e),y(r,e),b(r,e)}function k(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 w(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 y(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 b(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 x(a){t(a).find(".np-save-quickedit, .np-save-quickedit-redirect").removeAttr("disabled"),t(a).find(".np-qe-loading").hide()}function C(e){var n=t(e).parent(".quick-edit").siblings(".row");t(n).addClass("np-updated"),t(n).show(),t(e).parent(".quick-edit").remove(),g(),a(),setTimeout(function(){t(n).addClass("np-updated-show")},1500)}function q(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 s=t(n).children("ol"),i=t(".quick-edit-form-redirect").clone().insertBefore(s);else var i=t(".quick-edit-form-redirect").clone().appendTo(n);t(i).siblings(".row").hide();t(i).show(),j(i,e)}function j(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"),f(),t(a).show()}function D(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=npquickeditredirect&nonce="+nestedpages.np_nonce+"&syncmenu="+e,success:function(e){console.log(e),"error"===e.status?(x(a),t(a).find(".np-quickedit-error").text(e.message).show()):(x(a),T(a,e.post_data),C(a))},error:function(){x(a),t(a).find(".np-quickedit-error").text("The form could not be saved at this time.").show()}})}function T(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 s=t(n).find(".status");t(s).text("publish"!==e._status&&"future"!==e._status?"("+e._status+")":"");var i=t(n).find(".nav-status");t(i).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 r=t(n).find(".np-quick-edit-redirect");t(r).attr("data-id",e.post_id),t(r).attr("data-title",e.post_title),t(r).attr("data-url",e.post_content),t(r).attr("data-status",e._status),t(r).attr("data-navstatus",e.nav_status),t(r).attr("data-np-status",e.np_status),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)}function A(){t(".np-link-loading").hide(),t(".np-save-link").removeAttr("disabled")}function O(){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=npnewredirect&nonce="+nestedpages.np_nonce+"&syncmenu="+e,success:function(a){console.log(a),"error"===a.status?(A(),t(".np-new-link-error").text(a.message).show()):(A(),P(a.post_data))}})}function P(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+="</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),s(),S()}function H(e){t(e).addClass("np-updated"),a(),setTimeout(function(){t(e).addClass("np-updated-show")},1500)}function I(){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 S(){var a=I();t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npnesttoggle",nonce:nestedpages.np_nonce,ids:a},success:function(t){"success"!==t.status&&console.log("There was an error saving toggled pages.")}})}t(document).ready(function(){s(),a()}),t(document).on("click",".child-toggle a",function(e){e.preventDefault();var n=t(this).parent(".child-toggle").parent(".row").siblings("ol");t(this).find("i").toggleClass("np-icon-arrow-down").toggleClass("np-icon-arrow-right"),t(n).toggle(),a(),S()}),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"),v(),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"),v(),a()),S()}),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(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 B=function(){var t=0;return function(a,e){clearTimeout(t),t=setTimeout(a,e)}}();t(window).resize(function(){B(function(){t(".action-buttons").removeAttr("style"),t(".np-toggle-edit").removeClass("active")},500)}),t(document).ready(function(){t(".sortable").not(".no-sort").nestedSortable({items:"li",toleranceElement:"> .row",handle:".handle",placeholder:"ui-sortable-placeholder",start:function(t,a){a.placeholder.height(a.item.height())},sort:function(t,a){e(a)},stop:function(){setTimeout(function(){s(),a()},100),o()},update:function(){}})}),t(document).ready(function(){"1"===nestedpages.syncmenu&&r("sync")}),t(".np-sync-menu").on("change",function(){var a=t(this).is(":checked")?"sync":"nosync";r(a)}),t(document).on("click",".np-quick-edit",function(a){a.preventDefault(),v(),d(t(this))}),t(document).on("click",".np-quick-edit-overlay",function(){v()}),t(document).on("click",".np-cancel-quickedit",function(a){var e=t(this).parents(".page-row");v(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(),m(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(),v(),q(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(),D(e)}),t(document).on("click",".open-redirect-modal",function(a){a.preventDefault();var e=t(this).attr("data-parentid");t(".np-modal-form").find("input").val(""),t(".np-modal-form").find(".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"),O()})});
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(a){var e=t(a.placeholder).parents("ol").length,s=t(".sortable").width(),i=40*e-40,o=s-i;t(a.placeholder).width(o).css("margin-left",i+"px"),n(a)}function n(a){var e=t(a.placeholder).parent("ol");t(e).is(":visible")||t(e).show()}function s(){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 o(){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,syncmenu:a},success:function(a){"error"===a.status?(t("#np-error").text(a.message).show(),t("#nested-loading").hide()):t("#nested-loading").hide()}})}function r(a){t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npsyncmenu",nonce:nestedpages.np_nonce,syncmenu:a},success:function(t){"error"===t.status&&alert("There was an error saving the sync setting.")}})}function d(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")},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"),r=t(".quick-edit-form").clone().insertBefore(o);else var r=t(".quick-edit-form").clone().appendTo(n);t(r).siblings(".row").hide();l(r,e)}function l(a,e){if(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_template").val(e.template),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),"open"===e.cs&&t(a).find(".np_cs").prop("checked","checked"),"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")}}f(),t(a).show(),e.hasOwnProperty("f_taxonomies")&&(c(e.f_taxonomies),h(a))}function c(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 r=o.join("-");r in a||(a[r]=[]);var d=a[r];d.push(s)}p(a)}function p(a){t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"gettax",nonce:nestedpages.np_nonce,terms:a},success:function(t){u(t.terms)}})}function u(a){t.each(a,function(a,e){var n=t("#"+a);t(n).val(e.join(","))})}function h(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 v(){t(".np-quickedit-error").hide(),g(),t(".sortable .quick-edit").remove(),t(".row").show()}function f(){t("body").append('<div class="np-quick-edit-overlay"></div>'),setTimeout(function(){t(".np-quick-edit-overlay").addClass("active")},50)}function g(){t(".np-quick-edit-overlay").removeClass("active").remove()}function m(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,success:function(e){console.log(e),"error"===e.status?(x(a),t(a).find(".np-quickedit-error").text(e.message).show()):(x(a),_(a,e.post_data),C(a))}})}function _(a,e){var n=t(a).parent(".quick-edit").siblings(".row");t(n).find(".title").text(e.post_title);var s=t(n).find(".status");if(t(s).text("publish"!==e._status&&"future"!==e._status?"("+e._status+")":"private"===e.keep_private?"("+e.keep_private+")":""),""!==e.post_password){var i=t(s).text();i+=' <i class="np-icon-lock"></i>',t(s).html(i)}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());var d=t(n).find(".np-quick-edit");t(d).attr("data-id",e.post_id),t(d).attr("data-template",e.page_template),t(d).attr("data-title",e.post_title),t(d).attr("data-slug",e.post_name),t(d).attr("data-commentstatus",e.comment_status),t(d).attr("data-status",e._status),"private"===e.keep_private&&t(d).attr("data-status","private"),t(d).attr("data-author",e.post_author),t(d).attr("data-np-status",e.np_status),t(d).attr("data-password",e.post_password),t(d).attr("data-navstatus",e.nav_status),t(d).attr("data-navtitle",e.np_nav_title),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),t(d).attr("data-month",e.mm),t(d).attr("data-day",e.jj),t(d).attr("data-year",e.aa),t(d).attr("data-hour",e.hh),t(d).attr("data-minute",e.mn),k(r),w(r,e),y(r,e),b(r,e)}function k(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 w(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 y(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 b(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 x(a){t(a).find(".np-save-quickedit, .np-save-quickedit-redirect").removeAttr("disabled"),t(a).find(".np-qe-loading").hide()}function C(e){var n=t(e).parent(".quick-edit").siblings(".row");t(n).addClass("np-updated"),t(n).show(),t(e).parent(".quick-edit").remove(),g(),a(),setTimeout(function(){t(n).addClass("np-updated-show")},1500)}function q(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 s=t(n).children("ol"),i=t(".quick-edit-form-redirect").clone().insertBefore(s);else var i=t(".quick-edit-form-redirect").clone().appendTo(n);t(i).siblings(".row").hide();t(i).show(),j(i,e)}function j(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"),f(),t(a).show()}function D(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=npquickeditredirect&nonce="+nestedpages.np_nonce+"&syncmenu="+e,success:function(e){console.log(e),"error"===e.status?(x(a),t(a).find(".np-quickedit-error").text(e.message).show()):(x(a),T(a,e.post_data),C(a))},error:function(){x(a),t(a).find(".np-quickedit-error").text("The form could not be saved at this time.").show()}})}function T(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 s=t(n).find(".status");t(s).text("publish"!==e._status&&"future"!==e._status?"("+e._status+")":"");var i=t(n).find(".nav-status");t(i).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 r=t(n).find(".np-quick-edit-redirect");t(r).attr("data-id",e.post_id),t(r).attr("data-title",e.post_title),t(r).attr("data-url",e.post_content),t(r).attr("data-status",e._status),t(r).attr("data-navstatus",e.nav_status),t(r).attr("data-np-status",e.np_status),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)}function A(){t(".np-link-loading").hide(),t(".np-save-link").removeAttr("disabled")}function O(){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=npnewredirect&nonce="+nestedpages.np_nonce+"&syncmenu="+e,success:function(a){console.log(a),"error"===a.status?(A(),t(".np-new-link-error").text(a.message).show()):(A(),P(a.post_data))}})}function P(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+="</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),s(),S()}function H(e){t(e).addClass("np-updated"),a(),setTimeout(function(){t(e).addClass("np-updated-show")},1500)}function I(){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 S(){var a=I();t.ajax({url:ajaxurl,type:"post",datatype:"json",data:{action:"npnesttoggle",nonce:nestedpages.np_nonce,ids:a},success:function(t){"success"!==t.status&&console.log("There was an error saving toggled pages.")}})}t(document).ready(function(){s(),a()}),t(document).on("click",".child-toggle a",function(e){e.preventDefault();var n=t(this).parent(".child-toggle").parent(".row").siblings("ol");t(this).find("i").toggleClass("np-icon-arrow-down").toggleClass("np-icon-arrow-right"),t(n).toggle(),a(),S()}),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"),v(),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"),v(),a()),S()}),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 B=function(){var t=0;return function(a,e){clearTimeout(t),t=setTimeout(a,e)}}();t(window).resize(function(){B(function(){t(".action-buttons").removeAttr("style"),t(".np-toggle-edit").removeClass("active")},500)}),t(document).ready(function(){t(".sortable").not(".no-sort").nestedSortable({items:"li",toleranceElement:"> .row",handle:".handle",placeholder:"ui-sortable-placeholder",start:function(t,a){a.placeholder.height(a.item.height())},sort:function(t,a){e(a)},stop:function(){setTimeout(function(){s(),a()},100),o()},update:function(){}})}),t(document).ready(function(){"1"===nestedpages.syncmenu&&r("sync")}),t(".np-sync-menu").on("change",function(){var a=t(this).is(":checked")?"sync":"nosync";r(a)}),t(document).on("click",".np-quick-edit",function(a){a.preventDefault(),v(),d(t(this))}),t(document).on("click",".np-quick-edit-overlay",function(){v()}),t(document).on("click",".np-cancel-quickedit",function(a){var e=t(this).parents(".page-row");v(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(),m(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(),v(),q(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(),D(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"),O()})});
assets/scss/_tabs.scss ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ // Tabs
3
+ // --------------------------------------------------
4
+ .np-tabs {
5
+ background-color: darken($white, 8%);
6
+ padding: 0px;
7
+ ul {
8
+ text-align: left;
9
+ @include unstyled;
10
+ li {
11
+ display: inline-block;
12
+ margin: 0;
13
+ a {
14
+ display: block;
15
+ text-decoration: none;
16
+ padding: 5px 10px;
17
+ &.active {
18
+ position: relative;
19
+ color: $black;
20
+ background-color: $white;
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
assets/scss/nestedpages.scss CHANGED
@@ -11,6 +11,7 @@
11
  @import "_alerts.scss";
12
  @import "_modals.scss";
13
  @import "_toggle-all.scss";
 
14
 
15
  @import "_top-tools.scss";
16
  @import "_expand-handle.scss";
11
  @import "_alerts.scss";
12
  @import "_modals.scss";
13
  @import "_toggle-all.scss";
14
+ @import "_tabs.scss";
15
 
16
  @import "_top-tools.scss";
17
  @import "_expand-handle.scss";
includes/class-nestedpages.php CHANGED
@@ -9,6 +9,7 @@ require_once('class-np-handler-quickedit-redirect.php');
9
  require_once('class-np-handler-newredirect.php');
10
  require_once('class-np-handler-syncmenu.php');
11
  require_once('class-np-handler-nesttoggle.php');
 
12
 
13
  // Required Classes
14
  require_once('class-np-dependencies.php');
@@ -17,8 +18,6 @@ require_once('class-np-newpage.php');
17
  require_once('class-np-redirects.php');
18
  require_once('class-np-posttypes.php');
19
  require_once('class-np-settings.php');
20
- require_once('class-np-updates.php');
21
- require_once('class-np-handler-gettax.php');
22
 
23
  /**
24
  * Primary Plugin Class
@@ -41,7 +40,6 @@ class NestedPages {
41
  public function init()
42
  {
43
  new NP_Activate;
44
- new NP_Updates;
45
  new NP_Dependencies;
46
  new NP_PageListing;
47
  new NP_NewPage;
@@ -82,7 +80,7 @@ class NestedPages {
82
  */
83
  public function settingsLink($links)
84
  {
85
- $settings_link = '<a href="options-general.php?page=nested-pages-settings">' . __('Settings','nestedpages') . '</a>';
86
  array_unshift($links, $settings_link);
87
  return $links;
88
  }
9
  require_once('class-np-handler-newredirect.php');
10
  require_once('class-np-handler-syncmenu.php');
11
  require_once('class-np-handler-nesttoggle.php');
12
+ require_once('class-np-handler-gettax.php');
13
 
14
  // Required Classes
15
  require_once('class-np-dependencies.php');
18
  require_once('class-np-redirects.php');
19
  require_once('class-np-posttypes.php');
20
  require_once('class-np-settings.php');
 
 
21
 
22
  /**
23
  * Primary Plugin Class
40
  public function init()
41
  {
42
  new NP_Activate;
 
43
  new NP_Dependencies;
44
  new NP_PageListing;
45
  new NP_NewPage;
80
  */
81
  public function settingsLink($links)
82
  {
83
+ $settings_link = '<a href="options-general.php?page=nested-pages-settings">' . __('Settings') . '</a>';
84
  array_unshift($links, $settings_link);
85
  return $links;
86
  }
includes/class-np-activate-upgrades.php ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Required Version Upgrades
4
+ */
5
+ class NP_ActivateUpgrades {
6
+
7
+ /**
8
+ * New Version
9
+ */
10
+ private $new_version;
11
+
12
+ /**
13
+ * Current Version
14
+ */
15
+ private $current_version;
16
+
17
+
18
+ public function __construct($new_version)
19
+ {
20
+ $this->new_version = $new_version;
21
+ $this->setCurrentVersion();
22
+ $this->addMenu();
23
+ $this->convertMenuToID();
24
+ }
25
+
26
+ /**
27
+ * Set the plugin version
28
+ */
29
+ private function setCurrentVersion()
30
+ {
31
+ $this->current_version = ( get_option('nestedpages_version') )
32
+ ? get_option('nestedpages_version') : $this->new_version;
33
+ }
34
+
35
+
36
+ /**
37
+ * Add an empty Nested Pages menu if there isn't one
38
+ * @since 1.1.5
39
+ */
40
+ private function addMenu()
41
+ {
42
+ if ( !get_option('nestedpages_menu') ){
43
+ $menu_id = wp_create_nav_menu('Nested Pages');
44
+ update_option('nestedpages_menu', $menu_id);
45
+ }
46
+ }
47
+
48
+
49
+ /**
50
+ * Convert existing nestedpages_menu option to menu ID rather than string/name
51
+ * @since 1.1.5
52
+ */
53
+ private function convertMenuToID()
54
+ {
55
+ if ( version_compare( $this->current_version, '1.1.5', '<' ) ){
56
+ $menu_option = get_option('nestedpages_menu');
57
+ $menu = get_term_by('name', $menu_option, 'nav_menu');
58
+ if ( $menu ){
59
+ delete_option('nestedpages_menu');
60
+ update_option('nestedpages_menu', $menu->term_id);
61
+ } else {
62
+ delete_option('nestedpages_menu');
63
+ $menu_id = wp_create_nav_menu('Nested Pages');
64
+ update_option('nestedpages_menu', $menu_id);
65
+ }
66
+ }
67
+ }
68
+
69
+
70
+ }
includes/class-np-activate.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Activation
4
  */
5
- require_once('class-np-navmenu.php');
6
  class NP_Activate {
7
 
8
  /**
@@ -13,10 +13,7 @@ class NP_Activate {
13
 
14
  public function __construct()
15
  {
16
- register_activation_hook( dirname( dirname(__FILE__) ) . '/nestedpages.php', array($this, 'install') );
17
- $this->version = '1.1.4';
18
- $this->setVersion();
19
- $this->addMenu();
20
  }
21
 
22
 
@@ -25,54 +22,21 @@ class NP_Activate {
25
  */
26
  public function install()
27
  {
28
- $this->checkVersions();
 
 
29
  $this->setOptions();
30
  }
31
 
32
 
33
- /**
34
- * Check Wordpress and PHP versions
35
- */
36
- private function checkVersions( $wp = '3.9', $php = '5.3.0' ) {
37
- global $wp_version;
38
- if ( version_compare( PHP_VERSION, $php, '<' ) )
39
- $flag = 'PHP';
40
- elseif ( version_compare( $wp_version, $wp, '<' ) )
41
- $flag = 'WordPress';
42
- else
43
- return;
44
- $version = 'PHP' == $flag ? $php : $wp;
45
- deactivate_plugins( basename( __FILE__ ) );
46
-
47
- wp_die('<p><strong>Nested Pages</strong> plugin requires'.$flag.' version '.$version.' or greater.</p>','Plugin Activation Error', array( 'response'=>200, 'back_link'=>TRUE ) );
48
- }
49
-
50
-
51
  /**
52
  * Set the Plugin Version
53
  */
54
  private function setVersion()
55
  {
56
- if ( !get_option('nestedpages_version') ){
57
- update_option('nestedpages_version', $this->version);
58
- }
59
- elseif ( get_option('nestedpages_version') < $this->version ){
60
- update_option('nestedpages_version', $this->version);
61
- }
62
- }
63
-
64
-
65
- /**
66
- * Add the nav menu
67
- */
68
- public function addMenu()
69
- {
70
- $menu_e = get_term_by('slug', 'nestedpages', 'nav_menu');
71
- if ( !$menu_e ){
72
- $menu = new NP_NavMenu;
73
- $menu->addMenu();
74
- }
75
  }
 
76
 
77
 
78
  /**
@@ -83,9 +47,6 @@ class NP_Activate {
83
  if ( !get_option('nestedpages_menusync') ){
84
  update_option('nestedpages_menusync', 'sync');
85
  }
86
- if ( !get_option('nestedpages_menu') ){
87
- update_option('nestedpages_menu', 'nestedpages');
88
- }
89
  }
90
 
91
 
2
  /**
3
  * Plugin Activation
4
  */
5
+ require_once('class-np-activate-upgrades.php');
6
  class NP_Activate {
7
 
8
  /**
13
 
14
  public function __construct()
15
  {
16
+ $this->install();
 
 
 
17
  }
18
 
19
 
22
  */
23
  public function install()
24
  {
25
+ $this->version = '1.1.5';
26
+ new NP_ActivateUpgrades($this->version);
27
+ $this->setVersion();
28
  $this->setOptions();
29
  }
30
 
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  /**
33
  * Set the Plugin Version
34
  */
35
  private function setVersion()
36
  {
37
+ update_option('nestedpages_version', $this->version);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  }
39
+
40
 
41
 
42
  /**
47
  if ( !get_option('nestedpages_menusync') ){
48
  update_option('nestedpages_menusync', 'sync');
49
  }
 
 
 
50
  }
51
 
52
 
includes/class-np-handler-base.php CHANGED
@@ -61,7 +61,7 @@ abstract class NP_BaseHandler {
61
  protected function validateNonce()
62
  {
63
  if ( ! wp_verify_nonce( $this->nonce, 'nestedpages-nonce' ) ){
64
- $this->response = array( 'status' => 'error', 'message' => __('Incorrect Form Field') );
65
  $this->sendResponse();
66
  die();
67
  }
@@ -91,7 +91,7 @@ abstract class NP_BaseHandler {
91
  {
92
  $this->response = array(
93
  'status' => 'error',
94
- 'message' => __('There was an error updating the page.')
95
  );
96
  $this->sendResponse();
97
  }
61
  protected function validateNonce()
62
  {
63
  if ( ! wp_verify_nonce( $this->nonce, 'nestedpages-nonce' ) ){
64
+ $this->response = array( 'status' => 'error', 'message' => __('Incorrect Form Field', 'nestedpages') );
65
  $this->sendResponse();
66
  die();
67
  }
91
  {
92
  $this->response = array(
93
  'status' => 'error',
94
+ 'message' => __('There was an error updating the page.', 'nestedpages')
95
  );
96
  $this->sendResponse();
97
  }
includes/class-np-handler-newredirect.php CHANGED
@@ -37,7 +37,7 @@ class NP_NewRedirect extends NP_BaseHandler {
37
  $this->formatLink();
38
  $this->response = array(
39
  'status' => 'success',
40
- 'message' => __('Redirect successfully updated'),
41
  'post_data' => $this->data
42
  );
43
  }
37
  $this->formatLink();
38
  $this->response = array(
39
  'status' => 'success',
40
+ 'message' => __('Link successfully updated', 'nestedpages'),
41
  'post_data' => $this->data
42
  );
43
  }
includes/class-np-handler-quickedit-redirect.php CHANGED
@@ -33,7 +33,7 @@ class NP_QuickEdit_Handler_Redirect extends NP_BaseHandler {
33
  $this->addData();
34
  $this->response = array(
35
  'status' => 'success',
36
- 'message' => __('Redirect successfully updated'),
37
  'post_data' => $this->data
38
  );
39
  }
33
  $this->addData();
34
  $this->response = array(
35
  'status' => 'success',
36
+ 'message' => __('Link successfully updated', 'nestedpages'),
37
  'post_data' => $this->data
38
  );
39
  }
includes/class-np-navmenu.php CHANGED
@@ -16,9 +16,10 @@ class NP_NavMenu {
16
  public $items;
17
 
18
  /**
19
- * Menu Name Option
 
20
  */
21
- private $menu_name;
22
 
23
  /**
24
  * Individual Post
@@ -29,7 +30,7 @@ class NP_NavMenu {
29
 
30
  public function __construct()
31
  {
32
- $this->getMenuName();
33
  $this->setID();
34
  $this->setItems();
35
  }
@@ -37,37 +38,35 @@ class NP_NavMenu {
37
 
38
  /**
39
  * Get Optional custom menu name
40
- * @since 1.1.11
41
  */
42
- private function getMenuName()
43
  {
44
- $this->menu_name = ( get_option('nestedpages_menu') )
45
- ? get_option('nestedpages_menu')
46
- : 'nestedpages';
 
 
 
 
47
  }
48
 
49
-
50
  /**
51
- * Set the Menu ID
52
  */
53
- public function setID()
54
  {
55
- $menu = get_term_by('name', $this->menu_name, 'nav_menu');
56
- if ( $menu ) {
57
- $this->id = $menu->term_id;
58
- } else {
59
- $this->addMenu();
60
- }
61
  }
62
 
63
 
64
  /**
65
- * Add the Nav Menu
66
  */
67
- public function addMenu()
68
  {
69
- $menu = wp_create_nav_menu($this->menu_name);
70
- $this->id = $menu;
71
  }
72
 
73
 
@@ -76,8 +75,13 @@ class NP_NavMenu {
76
  */
77
  public function setItems()
78
  {
79
- $menu = get_term_by('name', $this->menu_name, 'nav_menu');
80
- if ( $menu ) $this->items = wp_get_nav_menu_items($this->id);
 
 
 
 
 
81
  }
82
 
83
 
16
  public $items;
17
 
18
  /**
19
+ * Menu Object
20
+ * @var object
21
  */
22
+ private $menu;
23
 
24
  /**
25
  * Individual Post
30
 
31
  public function __construct()
32
  {
33
+ $this->setMenu();
34
  $this->setID();
35
  $this->setItems();
36
  }
38
 
39
  /**
40
  * Get Optional custom menu name
41
+ * @since 1.1.5
42
  */
43
+ private function setMenu()
44
  {
45
+ if ( get_option('nestedpages_menu') ){
46
+ $menu_id = get_option('nestedpages_menu');
47
+ $this->menu = get_term_by('id', $menu_id, 'nav_menu');
48
+ } else {
49
+ $this->createNewMenu();
50
+ $this->setMenu();
51
+ }
52
  }
53
 
 
54
  /**
55
+ * Create Empty Menu if one doesn't exist
56
  */
57
+ private function createNewMenu()
58
  {
59
+ $menu_id = wp_create_nav_menu('Nested Pages');
60
+ update_option('nestedpages_menu', $menu_id);
 
 
 
 
61
  }
62
 
63
 
64
  /**
65
+ * Set the Menu ID
66
  */
67
+ public function setID()
68
  {
69
+ $this->id = $this->menu->term_id;
 
70
  }
71
 
72
 
75
  */
76
  public function setItems()
77
  {
78
+ $menu = get_term_by('id', $this->id, 'nav_menu');
79
+ if ( $menu ) {
80
+ $this->items = wp_get_nav_menu_items($this->id);
81
+ } else {
82
+ $this->createNewMenu();
83
+ $this->setItems();
84
+ }
85
  }
86
 
87
 
includes/class-np-newpage.php CHANGED
@@ -39,7 +39,7 @@ class NP_NewPage {
39
  public function showNotice()
40
  {
41
  if ( $this->isChild() ) {
42
- echo '<div id="message" class="updated"><p>' . __('Adding child page under:') . ' <strong>' . get_the_title($this->parent_page) . '</strong></p></div>';
43
  }
44
  }
45
 
39
  public function showNotice()
40
  {
41
  if ( $this->isChild() ) {
42
+ echo '<div id="message" class="updated"><p>' . __('Adding child page under:', 'nestedpages') . ' <strong>' . get_the_title($this->parent_page) . '</strong></p></div>';
43
  }
44
  }
45
 
includes/class-np-pagelisting.php CHANGED
@@ -58,8 +58,8 @@ class NP_PageListing {
58
  {
59
  if ( current_user_can('edit_pages') ){
60
  add_menu_page(
61
- $this->post_type->labels->name,
62
- $this->post_type->labels->name,
63
  'delete_pages',
64
  'nestedpages',
65
  array( $this, 'pageListing' ),
58
  {
59
  if ( current_user_can('edit_pages') ){
60
  add_menu_page(
61
+ __($this->post_type->labels->name),
62
+ __($this->post_type->labels->name),
63
  'delete_pages',
64
  'nestedpages',
65
  array( $this, 'pageListing' ),
includes/class-np-posttypes.php CHANGED
@@ -18,8 +18,8 @@ class NP_PostTypes {
18
  public function registerRedirects()
19
  {
20
  $labels = array(
21
- 'name' => __('Redirects'),
22
- 'singular_name' => __('Redirect'),
23
  'add_new_item'=> 'Add Redirect',
24
  'edit_item' => 'Edit Redirect',
25
  'view_item' => 'View Redirect'
18
  public function registerRedirects()
19
  {
20
  $labels = array(
21
+ 'name' => __('Redirects', 'nestedpages'),
22
+ 'singular_name' => __('Redirect', 'nestedpages'),
23
  'add_new_item'=> 'Add Redirect',
24
  'edit_item' => 'Edit Redirect',
25
  'view_item' => 'View Redirect'
includes/class-np-redirects.php CHANGED
@@ -62,7 +62,7 @@ class NP_Redirects {
62
  {
63
  $screen = get_current_screen();
64
  if ( $screen->parent_file == 'edit.php?post_type=page' ){
65
- $link = array('Nested Pages' => '<a href="' . esc_url(admin_url('admin.php?page=nestedpages')) . '">Nested Pages</a>');
66
  $views = array_merge($views, $link);
67
  }
68
  return $views;
62
  {
63
  $screen = get_current_screen();
64
  if ( $screen->parent_file == 'edit.php?post_type=page' ){
65
+ $link = array('Nested Pages' => '<a href="' . esc_url(admin_url('admin.php?page=nestedpages')) . '">' . __('Nested Pages', 'nestedpages') . '</a>');
66
  $views = array_merge($views, $link);
67
  }
68
  return $views;
includes/class-np-settings.php CHANGED
@@ -5,12 +5,18 @@ require_once('class-np-helpers.php');
5
  */
6
  class NP_Settings {
7
 
 
 
 
 
 
 
8
 
9
  public function __construct()
10
  {
11
  add_action( 'admin_menu', array( $this, 'registerSettingsPage' ) );
12
- add_action( 'admin_init', array($this, 'registerSettings' ) );
13
- add_action('updated_option', array($this, 'updateMenuName'), 10, 3);
14
  }
15
 
16
 
@@ -20,8 +26,8 @@ class NP_Settings {
20
  public function registerSettingsPage()
21
  {
22
  add_options_page(
23
- 'Nested Pages Settings',
24
- 'Nested Pages',
25
  'manage_options',
26
  'nested-pages-settings',
27
  array( $this, 'settingsPage' )
@@ -40,26 +46,43 @@ class NP_Settings {
40
 
41
 
42
  /**
43
- * Update the menu name if custom is provided
44
- * @since 1.1.11
45
  */
46
  public function updateMenuName($option, $old_value, $value)
47
  {
48
  if ( $option == 'nestedpages_menu' ){
49
- $menu = get_term_by('name', $old_value, 'nav_menu');
50
- wp_update_term($menu->term_id, 'nav_menu', array(
51
- 'name' => $value
52
- ));
 
 
 
 
 
 
53
  }
54
  }
55
 
56
 
 
 
 
 
 
 
 
 
 
 
 
57
  /**
58
  * Display the Settings Page
59
  */
60
  public function settingsPage()
61
  {
62
- $menu_name = ( get_option('nestedpages_menu') ) ? get_option('nestedpages_menu') : 'nestedpages';
63
  include( NP_Helpers::view('settings') );
64
  }
65
 
5
  */
6
  class NP_Settings {
7
 
8
+ /**
9
+ * Nested Pages Menu
10
+ * @var object
11
+ */
12
+ private $menu;
13
+
14
 
15
  public function __construct()
16
  {
17
  add_action( 'admin_menu', array( $this, 'registerSettingsPage' ) );
18
+ add_action( 'admin_init', array( $this, 'registerSettings' ) );
19
+ add_action( 'updated_option', array( $this, 'updateMenuName'), 10, 3);
20
  }
21
 
22
 
26
  public function registerSettingsPage()
27
  {
28
  add_options_page(
29
+ __('Nested Pages Settings', 'nestedpages'),
30
+ __('Nested Pages', 'nestedpages'),
31
  'manage_options',
32
  'nested-pages-settings',
33
  array( $this, 'settingsPage' )
46
 
47
 
48
  /**
49
+ * Update the menu name if option is updated
50
+ * @since 1.1.5
51
  */
52
  public function updateMenuName($option, $old_value, $value)
53
  {
54
  if ( $option == 'nestedpages_menu' ){
55
+
56
+ $menu = get_term_by('id', $old_value, 'nav_menu');
57
+ if ( $menu ) {
58
+ delete_option('nestedpages_menu'); // Delete the option to prevent infinite loop
59
+ update_option('nestedpages_menu', $old_value);
60
+ wp_update_term($menu->term_id, 'nav_menu', array(
61
+ 'name' => $value,
62
+ 'slug' => sanitize_title($value)
63
+ ));
64
+ }
65
  }
66
  }
67
 
68
 
69
+ /**
70
+ * Set the Menu Object
71
+ * @since 1.1.5
72
+ */
73
+ private function setMenu()
74
+ {
75
+ $menu_id = get_option('nestedpages_menu');
76
+ $this->menu = get_term_by('id', $menu_id, 'nav_menu');
77
+ }
78
+
79
+
80
  /**
81
  * Display the Settings Page
82
  */
83
  public function settingsPage()
84
  {
85
+ $this->setMenu();
86
  include( NP_Helpers::view('settings') );
87
  }
88
 
includes/class-np-updates.php DELETED
@@ -1,35 +0,0 @@
1
- <?php
2
- /**
3
- * Updates
4
- */
5
- class NP_Updates {
6
-
7
- /**
8
- * Plugin Version
9
- */
10
- private $version;
11
-
12
- public function __construct()
13
- {
14
- $this->setVersion();
15
- $this->addMenuOption();
16
- }
17
-
18
- /**
19
- * Set User's Plugin version
20
- */
21
- private function setVersion()
22
- {
23
- $this->version = get_option('nestedpages_version');
24
- }
25
-
26
- /**
27
- * Make sure menu option is
28
- */
29
- private function addMenuOption()
30
- {
31
- if ( !get_option('nestedpages_menu') )
32
- update_option('nestedpages_menu', 'nestedpages');
33
- }
34
-
35
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/nestedpages.mo CHANGED
Binary file
languages/nestedpages.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Nested Pages\n"
4
- "POT-Creation-Date: 2014-11-08 19:39-0500\n"
5
- "PO-Revision-Date: 2014-11-08 19:39-0500\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
@@ -16,15 +16,19 @@ msgstr ""
16
  "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: includes/class-np-confirmation.php:57
 
 
 
 
20
  msgid "pages moved to the Trash"
21
  msgstr ""
22
 
23
- #: includes/class-np-confirmation.php:59
24
  msgid "page moved to the Trash"
25
  msgstr ""
26
 
27
- #: includes/class-np-confirmation.php:64
28
  msgid "Undo"
29
  msgstr ""
30
 
@@ -40,7 +44,11 @@ msgstr ""
40
  msgid "restored from trash"
41
  msgstr ""
42
 
43
- #: includes/class-np-dependencies.php:77 views/pages.php:15
 
 
 
 
44
  msgid "Expand Pages"
45
  msgstr ""
46
 
@@ -48,7 +56,7 @@ msgstr ""
48
  msgid "Collapse Pages"
49
  msgstr ""
50
 
51
- #: includes/class-np-dependencies.php:79 views/pages.php:31
52
  msgid "Show Hidden"
53
  msgstr ""
54
 
@@ -56,8 +64,8 @@ msgstr ""
56
  msgid "Hide Hidden"
57
  msgstr ""
58
 
59
- #: includes/class-np-dependencies.php:81 views/link-form.php:13
60
- #: views/pages.php:8
61
  msgid "Add Link"
62
  msgstr ""
63
 
@@ -75,10 +83,10 @@ msgstr ""
75
 
76
  #: includes/class-np-handler-newredirect.php:40
77
  #: includes/class-np-handler-quickedit-redirect.php:36
78
- msgid "Redirect successfully updated"
79
  msgstr ""
80
 
81
- #: includes/class-np-handler-quickedit.php:37
82
  msgid "Post successfully updated"
83
  msgstr ""
84
 
@@ -102,15 +110,15 @@ msgstr ""
102
  msgid "Adding child page under:"
103
  msgstr ""
104
 
105
- #: includes/class-np-pagelisting.php:71
106
  msgid "All Pages"
107
  msgstr ""
108
 
109
- #: includes/class-np-pagelisting.php:72
110
  msgid "Add New"
111
  msgstr ""
112
 
113
- #: includes/class-np-pagelisting.php:73
114
  msgid "Default Pages"
115
  msgstr ""
116
 
@@ -118,15 +126,19 @@ msgstr ""
118
  msgid "Redirects"
119
  msgstr ""
120
 
121
- #: includes/class-np-posttypes.php:22 views/quickedit-redirect.php:8
122
  msgid "Redirect"
123
  msgstr ""
124
 
125
- #: includes/class-np-repository-post.php:56 views/quickedit.php:20
 
 
 
 
126
  msgid "Title"
127
  msgstr ""
128
 
129
- #: includes/class-np-repository-post.php:256 views/quickedit-redirect.php:17
130
  msgid "Label"
131
  msgstr ""
132
 
@@ -146,91 +158,100 @@ msgstr ""
146
  msgid "Please provide a "
147
  msgstr ""
148
 
149
- #: views/link-form.php:23
150
- msgid "Menu Title"
 
151
  msgstr ""
152
 
153
- #: views/link-form.php:28 views/quickedit-redirect.php:22
154
  msgid "URL"
155
  msgstr ""
156
 
157
- #: views/link-form.php:33 views/quickedit-redirect.php:27
158
- #: views/quickedit.php:55
159
  msgid "Status"
160
  msgstr ""
161
 
162
- #: views/link-form.php:36 views/pages.php:30 views/quickedit-redirect.php:30
163
- #: views/quickedit.php:58
164
  msgid "Published"
165
  msgstr ""
166
 
167
- #: views/link-form.php:37 views/quickedit-redirect.php:31
168
- #: views/quickedit.php:59
169
  msgid "Scheduled"
170
  msgstr ""
171
 
172
- #: views/link-form.php:39 views/quickedit-redirect.php:33
173
- #: views/quickedit.php:61
174
  msgid "Pending Review"
175
  msgstr ""
176
 
177
- #: views/link-form.php:40 views/quickedit-redirect.php:34
178
- #: views/quickedit.php:62
179
  msgid "Draft"
180
  msgstr ""
181
 
182
- #: views/link-form.php:51 views/quickedit-redirect.php:54
183
- #: views/quickedit.php:141
184
  msgid "Hide in Nav Menu"
185
  msgstr ""
186
 
187
- #: views/link-form.php:56 views/quickedit-redirect.php:60
188
- #: views/quickedit.php:87
189
  msgid "Hide in Nested Pages"
190
  msgstr ""
191
 
192
- #: views/link-form.php:61 views/quickedit-redirect.php:66
193
- #: views/quickedit.php:147
194
- msgid "Open link in new window"
195
  msgstr ""
196
 
197
- #: views/link-form.php:73
 
 
 
 
198
  msgid "Save Link"
199
  msgstr ""
200
 
201
- #: views/pages.php:21
202
  msgid "Sync Menu"
203
  msgstr ""
204
 
205
- #: views/pages.php:29
206
  msgid "All"
207
  msgstr ""
208
 
209
- #: views/pages.php:34
210
  msgid "Trash"
211
  msgstr ""
212
 
213
- #: views/pages.php:37
214
  msgid "Default"
215
  msgstr ""
216
 
217
- #: views/quickedit-redirect.php:44 views/quickedit.php:129
 
 
 
 
218
  msgid "Title Attribute"
219
  msgstr ""
220
 
221
- #: views/quickedit-redirect.php:48 views/quickedit.php:133
222
  msgid "CSS Classes"
223
  msgstr ""
224
 
225
- #: views/quickedit-redirect.php:81 views/quickedit.php:161
226
  msgid "Cancel"
227
  msgstr ""
228
 
229
- #: views/quickedit-redirect.php:84 views/quickedit.php:164
230
  msgid "Update"
231
  msgstr ""
232
 
233
- #: views/quickedit.php:11 views/row-redirect.php:53 views/row.php:92
234
  msgid "Quick Edit"
235
  msgstr ""
236
 
@@ -242,46 +263,76 @@ msgstr ""
242
  msgid "Date"
243
  msgstr ""
244
 
245
- #: views/quickedit.php:46
246
  msgid "Author"
247
  msgstr ""
248
 
249
- #: views/quickedit.php:70
250
  msgid "Template"
251
  msgstr ""
252
 
253
- #: views/quickedit.php:72
254
  msgid "Default Template"
255
  msgstr ""
256
 
257
- #: views/quickedit.php:79
 
 
 
 
 
 
 
 
 
 
 
 
258
  msgid "Allow Comments"
259
  msgstr ""
260
 
261
- #: views/quickedit.php:94
262
  msgid "Menu Options"
263
  msgstr ""
264
 
265
- #: views/quickedit.php:100
266
- msgid "Edit Taxonomies"
267
  msgstr ""
268
 
269
- #: views/quickedit.php:125
270
- msgid "Navigation Label"
271
  msgstr ""
272
 
273
- #: views/row.php:42
274
  msgid "currently editing"
275
  msgstr ""
276
 
277
- #: views/row.php:44
278
  msgid "Edit"
279
  msgstr ""
280
 
281
- #: views/row.php:67
282
  msgid "Add Child"
283
  msgstr ""
284
 
285
- #: views/row.php:96
286
  msgid "View"
287
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Nested Pages\n"
4
+ "POT-Creation-Date: 2014-11-20 20:17-0500\n"
5
+ "PO-Revision-Date: 2014-11-20 20:17-0500\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
16
  "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: includes/class-nestedpages.php:85
20
+ msgid "Settings"
21
+ msgstr ""
22
+
23
+ #: includes/class-np-confirmation.php:58
24
  msgid "pages moved to the Trash"
25
  msgstr ""
26
 
27
+ #: includes/class-np-confirmation.php:60
28
  msgid "page moved to the Trash"
29
  msgstr ""
30
 
31
+ #: includes/class-np-confirmation.php:65
32
  msgid "Undo"
33
  msgstr ""
34
 
44
  msgid "restored from trash"
45
  msgstr ""
46
 
47
+ #: includes/class-np-confirmation.php:90
48
+ msgid "Link successfully deleted."
49
+ msgstr ""
50
+
51
+ #: includes/class-np-dependencies.php:77 views/pages.php:18
52
  msgid "Expand Pages"
53
  msgstr ""
54
 
56
  msgid "Collapse Pages"
57
  msgstr ""
58
 
59
+ #: includes/class-np-dependencies.php:79 views/pages.php:34
60
  msgid "Show Hidden"
61
  msgstr ""
62
 
64
  msgid "Hide Hidden"
65
  msgstr ""
66
 
67
+ #: includes/class-np-dependencies.php:81 views/link-form.php:14
68
+ #: views/pages.php:9 views/pages.php:10
69
  msgid "Add Link"
70
  msgstr ""
71
 
83
 
84
  #: includes/class-np-handler-newredirect.php:40
85
  #: includes/class-np-handler-quickedit-redirect.php:36
86
+ msgid "Link successfully updated"
87
  msgstr ""
88
 
89
+ #: includes/class-np-handler-quickedit.php:38
90
  msgid "Post successfully updated"
91
  msgstr ""
92
 
110
  msgid "Adding child page under:"
111
  msgstr ""
112
 
113
+ #: includes/class-np-pagelisting.php:79
114
  msgid "All Pages"
115
  msgstr ""
116
 
117
+ #: includes/class-np-pagelisting.php:80
118
  msgid "Add New"
119
  msgstr ""
120
 
121
+ #: includes/class-np-pagelisting.php:81
122
  msgid "Default Pages"
123
  msgstr ""
124
 
126
  msgid "Redirects"
127
  msgstr ""
128
 
129
+ #: includes/class-np-posttypes.php:22
130
  msgid "Redirect"
131
  msgstr ""
132
 
133
+ #: includes/class-np-redirects.php:65
134
+ msgid "Nested Pages"
135
+ msgstr ""
136
+
137
+ #: includes/class-np-repository-post.php:58 views/quickedit.php:20
138
  msgid "Title"
139
  msgstr ""
140
 
141
+ #: includes/class-np-repository-post.php:298
142
  msgid "Label"
143
  msgstr ""
144
 
158
  msgid "Please provide a "
159
  msgstr ""
160
 
161
+ #: views/link-form.php:31 views/quickedit-redirect.php:17
162
+ #: views/quickedit.php:148
163
+ msgid "Navigation Label"
164
  msgstr ""
165
 
166
+ #: views/link-form.php:36 views/quickedit-redirect.php:22
167
  msgid "URL"
168
  msgstr ""
169
 
170
+ #: views/link-form.php:41 views/quickedit-redirect.php:27
171
+ #: views/quickedit.php:58
172
  msgid "Status"
173
  msgstr ""
174
 
175
+ #: views/link-form.php:44 views/pages.php:33 views/quickedit-redirect.php:30
176
+ #: views/quickedit.php:61
177
  msgid "Published"
178
  msgstr ""
179
 
180
+ #: views/link-form.php:45 views/quickedit-redirect.php:31
181
+ #: views/quickedit.php:62
182
  msgid "Scheduled"
183
  msgstr ""
184
 
185
+ #: views/link-form.php:47 views/quickedit-redirect.php:33
186
+ #: views/quickedit.php:64
187
  msgid "Pending Review"
188
  msgstr ""
189
 
190
+ #: views/link-form.php:48 views/quickedit-redirect.php:34
191
+ #: views/quickedit.php:65
192
  msgid "Draft"
193
  msgstr ""
194
 
195
+ #: views/link-form.php:59 views/quickedit-redirect.php:54
196
+ #: views/quickedit.php:164
197
  msgid "Hide in Nav Menu"
198
  msgstr ""
199
 
200
+ #: views/link-form.php:64 views/quickedit-redirect.php:60
201
+ #: views/quickedit.php:105
202
  msgid "Hide in Nested Pages"
203
  msgstr ""
204
 
205
+ #: views/link-form.php:69 views/quickedit-redirect.php:66
206
+ #: views/quickedit.php:170
207
+ msgid "Open link in a new window/tab"
208
  msgstr ""
209
 
210
+ #: views/link-form.php:80
211
+ msgid "Close"
212
+ msgstr ""
213
+
214
+ #: views/link-form.php:83
215
  msgid "Save Link"
216
  msgstr ""
217
 
218
+ #: views/pages.php:24
219
  msgid "Sync Menu"
220
  msgstr ""
221
 
222
+ #: views/pages.php:32
223
  msgid "All"
224
  msgstr ""
225
 
226
+ #: views/pages.php:37
227
  msgid "Trash"
228
  msgstr ""
229
 
230
+ #: views/pages.php:40
231
  msgid "Default"
232
  msgstr ""
233
 
234
+ #: views/quickedit-redirect.php:8
235
+ msgid "Link"
236
+ msgstr ""
237
+
238
+ #: views/quickedit-redirect.php:44 views/quickedit.php:152
239
  msgid "Title Attribute"
240
  msgstr ""
241
 
242
+ #: views/quickedit-redirect.php:48 views/quickedit.php:156
243
  msgid "CSS Classes"
244
  msgstr ""
245
 
246
+ #: views/quickedit-redirect.php:81 views/quickedit.php:184
247
  msgid "Cancel"
248
  msgstr ""
249
 
250
+ #: views/quickedit-redirect.php:84 views/quickedit.php:187
251
  msgid "Update"
252
  msgstr ""
253
 
254
+ #: views/quickedit.php:11 views/row-redirect.php:53 views/row.php:94
255
  msgid "Quick Edit"
256
  msgstr ""
257
 
263
  msgid "Date"
264
  msgstr ""
265
 
266
+ #: views/quickedit.php:49
267
  msgid "Author"
268
  msgstr ""
269
 
270
+ #: views/quickedit.php:73
271
  msgid "Template"
272
  msgstr ""
273
 
274
+ #: views/quickedit.php:75
275
  msgid "Default Template"
276
  msgstr ""
277
 
278
+ #: views/quickedit.php:82
279
+ msgid "Password"
280
+ msgstr ""
281
+
282
+ #: views/quickedit.php:85
283
+ msgid "&ndash;OR&ndash;"
284
+ msgstr ""
285
+
286
+ #: views/quickedit.php:88
287
+ msgid "Private"
288
+ msgstr ""
289
+
290
+ #: views/quickedit.php:97
291
  msgid "Allow Comments"
292
  msgstr ""
293
 
294
+ #: views/quickedit.php:113
295
  msgid "Menu Options"
296
  msgstr ""
297
 
298
+ #: views/quickedit.php:115
299
+ msgid "Taxonomies"
300
  msgstr ""
301
 
302
+ #: views/row-redirect.php:30 views/row.php:33
303
+ msgid "Hidden"
304
  msgstr ""
305
 
306
+ #: views/row.php:41
307
  msgid "currently editing"
308
  msgstr ""
309
 
310
+ #: views/row.php:43
311
  msgid "Edit"
312
  msgstr ""
313
 
314
+ #: views/row.php:66
315
  msgid "Add Child"
316
  msgstr ""
317
 
318
+ #: views/row.php:98
319
  msgid "View"
320
  msgstr ""
321
+
322
+ #: views/settings.php:2
323
+ msgid "Nested Pages Settings"
324
+ msgstr ""
325
+
326
+ #: views/settings.php:8
327
+ msgid "Nested Pages Version"
328
+ msgstr ""
329
+
330
+ #: views/settings.php:12
331
+ msgid "Menu Name"
332
+ msgstr ""
333
+
334
+ #: views/settings.php:15
335
+ msgid ""
336
+ "Important: Once the menu name has changed, theme files should be updated to "
337
+ "reference the new name."
338
+ msgstr ""
nestedpages.php CHANGED
@@ -3,9 +3,11 @@
3
  Plugin Name: Nested Pages
4
  Plugin URI: http://nestedpages.com
5
  Description: Provides an intuitive drag and drop interface for managing pages in the Wordpress admin, while maintaining quick edit functionality.
6
- Version: 1.1.4
7
  Author: Kyle Phillips
8
  Author URI: https://github.com/kylephillips
 
 
9
  License: GPLv2 or later.
10
  Copyright: Kyle Phillips
11
  */
@@ -25,6 +27,21 @@ Copyright: Kyle Phillips
25
  along with this program; if not, write to the Free Software
26
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
  if( !class_exists('NestedPages') ) :
30
  require_once('includes/class-nestedpages.php');
3
  Plugin Name: Nested Pages
4
  Plugin URI: http://nestedpages.com
5
  Description: Provides an intuitive drag and drop interface for managing pages in the Wordpress admin, while maintaining quick edit functionality.
6
+ Version: 1.1.5
7
  Author: Kyle Phillips
8
  Author URI: https://github.com/kylephillips
9
+ Text Domain: nestedpages
10
+ Domain Path: /languages/
11
  License: GPLv2 or later.
12
  Copyright: Kyle Phillips
13
  */
27
  along with this program; if not, write to the Free Software
28
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29
  */
30
+
31
+ /**
32
+ * Check Wordpress and PHP versions before instantiating plugin
33
+ */
34
+ register_activation_hook( __FILE__, 'nestedpages_check_versions' );
35
+ function nestedpages_check_versions( $wp = '3.9', $php = '5.3.0' ) {
36
+ global $wp_version;
37
+ if ( version_compare( PHP_VERSION, $php, '<' ) ) $flag = 'PHP';
38
+ elseif ( version_compare( $wp_version, $wp, '<' ) ) $flag = 'WordPress';
39
+ else return;
40
+ $version = 'PHP' == $flag ? $php : $wp;
41
+ deactivate_plugins( basename( __FILE__ ) );
42
+
43
+ wp_die('<p><strong>Nested Pages</strong> plugin requires'.$flag.' version '.$version.' or greater.</p>','Plugin Activation Error', array( 'response'=>200, 'back_link'=>TRUE ) );
44
+ }
45
 
46
  if( !class_exists('NestedPages') ) :
47
  require_once('includes/class-nestedpages.php');
readme.txt CHANGED
@@ -3,8 +3,8 @@ 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.0
7
- Stable tag: 1.1.3
8
 
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -65,6 +65,10 @@ If you have Wordpress SEO by Yoast installed, your page score indicators are sho
65
 
66
  == Changelog ==
67
 
 
 
 
 
68
  = 1.1.4 =
69
  * Password/Private functionality added to page quick edit
70
  * Flat taxonomy support added to page quick edit
@@ -90,6 +94,9 @@ If you have Wordpress SEO by Yoast installed, your page score indicators are sho
90
 
91
  == Upgrade Notice ==
92
 
 
 
 
93
  = 1.1.4 =
94
  Added additional quick edit functionality along with UI enhancements.
95
 
@@ -105,7 +112,7 @@ Several new features have been added in version 1.1, including: saved toggle sta
105
  == More Information ==
106
 
107
  = Generated Menu =
108
- The generated menu is available for use with the name "nestedpages".
109
 
110
 
111
  = Toggling the Page Tree =
@@ -117,8 +124,6 @@ To toggle the child pages in and out of view, click the arrow to the left of a p
117
 
118
  To order by nested pages ordering in your theme, use the `menu_order` order option in your queries.
119
 
120
- Additionally, the generated menu is available for use, with the name `nestedpages`.
121
-
122
 
123
  = Hiding Pages from the Tree View =
124
 
@@ -133,7 +138,7 @@ To sort pages, hover over the page row. A menu icon (three lines) will appear. C
133
 
134
  = Menu Sync =
135
 
136
- After installing Nested Pages, a new menu will be available with the name `nestedpages`. By default, menu syncing is enabled. To disable the sync, uncheck “Sync Menu” at the top of the Nested Pages screen. Recheck the box to enable it again and to run the sync.
137
 
138
  **Saving Performance:** If your site has a very large number of pages, disabling page sync may help speed up the save time when using Nested Pages.
139
 
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.0.1
7
+ Stable tag: 1.1.4
8
 
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
65
 
66
  == Changelog ==
67
 
68
+ = 1.1.5 =
69
+ * Menu Sync bug fixes
70
+ * Localization bug fixes
71
+
72
  = 1.1.4 =
73
  * Password/Private functionality added to page quick edit
74
  * Flat taxonomy support added to page quick edit
94
 
95
  == Upgrade Notice ==
96
 
97
+ = 1.1.5 =
98
+ Various bug fixes in the menu system and localization.
99
+
100
  = 1.1.4 =
101
  Added additional quick edit functionality along with UI enhancements.
102
 
112
  == More Information ==
113
 
114
  = Generated Menu =
115
+ The default menu generated automatically is named "Nested Pages". You may rename the menu under Appearance > Menus, or under the Nested Pages settings.
116
 
117
 
118
  = Toggling the Page Tree =
124
 
125
  To order by nested pages ordering in your theme, use the `menu_order` order option in your queries.
126
 
 
 
127
 
128
  = Hiding Pages from the Tree View =
129
 
138
 
139
  = Menu Sync =
140
 
141
+ After installing Nested Pages, a new menu will be available with the name `Nested Pages`. By default, menu syncing is enabled. To disable the sync, uncheck “Sync Menu” at the top of the Nested Pages screen. Recheck the box to enable it again and to run the sync.
142
 
143
  **Saving Performance:** If your site has a very large number of pages, disabling page sync may help speed up the save time when using Nested Pages.
144
 
views/link-form.php CHANGED
@@ -8,73 +8,103 @@ $can_publish = current_user_can( $post_type_object->cap->publish_posts );
8
  <div class="modal fade" id="np-link-modal">
9
  <div class="modal-dialog">
10
  <div class="modal-content">
11
- <form method="get" action="" class="np-modal-form np-new-link-form">
12
- <div class="modal-header">
13
- <h4 class="modal-title" id="np-add-link-title"><?php _e('Add Link', 'nestedpages'); ?></h4>
 
 
 
14
  </div>
15
- <div class="modal-body">
16
- <div class="form-interior">
17
 
18
- <div class="np-quickedit-error np-new-link-error" style="clear:both;display:none;"></div>
19
-
20
- <div class="left">
21
 
22
- <div class="form-control">
23
- <label><?php _e( 'Menu Title' ); ?></label>
24
- <input type="text" name="np_link_title" class="np_link_title" value="" />
25
- </div>
26
 
27
- <div class="form-control">
28
- <label><?php _e( 'URL' ); ?></label>
29
- <input type="text" name="np_link_content" class="np_link_content" value="" />
30
- </div>
31
 
32
- <div class="form-control">
33
- <label><?php _e( 'Status' ); ?></label>
34
- <select name="_status" class="np_link_status">
35
- <?php if ( $can_publish ) : ?>
36
- <option value="publish"><?php _e( 'Published' ); ?></option>
37
- <option value="future"><?php _e( 'Scheduled' ); ?></option>
38
- <?php endif; ?>
39
- <option value="pending"><?php _e( 'Pending Review' ); ?></option>
40
- <option value="draft"><?php _e( 'Draft' ); ?></option>
41
- </select>
42
- </div>
43
 
44
- </div><!-- .left -->
 
 
 
45
 
46
- <div class="right">
 
 
 
47
 
48
- <?php if ( current_user_can('edit_theme_options') ) : ?>
49
- <label class="checkbox">
50
- <input type="checkbox" name="nav_status" class="np_link_nav_status" value="hide" />
51
- <span class="checkbox-title"><?php _e( 'Hide in Nav Menu', 'nestedpages' ); ?></span>
52
- </label>
 
 
 
 
 
 
53
 
54
- <label class="checkbox">
55
- <input type="checkbox" name="nested_pages_status" class="np_link_status" value="hide" />
56
- <span class="checkbox-title"><?php _e( 'Hide in Nested Pages', 'nestedpages' ); ?></span>
57
- </label>
58
 
59
- <label class="checkbox">
60
- <input type="checkbox" name="link_target" class="new_link_target" value="_blank" />
61
- <span class="checkbox-title"><?php _e( 'Open link in new window', 'nestedpages' ); ?></span>
62
- </label>
63
- <?php endif; // Edit theme options ?>
64
 
65
- </div><!-- .right -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
 
67
- </div><!-- .form-interior -->
68
- </div>
69
- <div class="modal-footer">
70
- <input type="hidden" name="parent_id" class="parent_id" value="">
71
- <button type="button" class="button modal-close" data-dismiss="modal">Close</button>
72
- <a accesskey="s" class="button-primary np-save-link alignright">
73
- <?php _e( 'Save Link', 'nestedpages' ); ?>
74
- </a>
75
- <span class="np-qe-loading np-link-loading"></span>
76
- </div>
77
- </form>
78
  </div><!-- /.modal-content -->
79
  </div><!-- /.modal-dialog -->
80
  </div><!-- /.modal -->
8
  <div class="modal fade" id="np-link-modal">
9
  <div class="modal-dialog">
10
  <div class="modal-content">
11
+
12
+ <div class="np-tabs">
13
+ <ul>
14
+ <li><a href="#nplink" class="active"><?php _e('Add Link'); ?></a></li>
15
+ <?php /* <li><a href="#npmenuitems"><?php _e('Add Menu Item', 'nestedpages'); ?></a></li> */ ?>
16
+ </ul>
17
  </div>
 
 
18
 
19
+ <div id="nplink" class="np-tabbed-content">
 
 
20
 
21
+ <div class="modal-body">
 
 
 
22
 
23
+ <form method="get" action="" class="np-modal-form np-new-link-form">
24
+ <div class="form-interior">
 
 
25
 
26
+ <div class="np-quickedit-error np-new-link-error" style="clear:both;display:none;"></div>
27
+
28
+ <div class="left">
 
 
 
 
 
 
 
 
29
 
30
+ <div class="form-control">
31
+ <label><?php _e( 'Navigation Label' ); ?></label>
32
+ <input type="text" name="np_link_title" class="np_link_title" value="" />
33
+ </div>
34
 
35
+ <div class="form-control">
36
+ <label><?php _e( 'URL', 'nestedpages' ); ?></label>
37
+ <input type="text" name="np_link_content" class="np_link_content" value="" />
38
+ </div>
39
 
40
+ <div class="form-control">
41
+ <label><?php _e( 'Status' ); ?></label>
42
+ <select name="_status" class="np_link_status">
43
+ <?php if ( $can_publish ) : ?>
44
+ <option value="publish"><?php _e( 'Published' ); ?></option>
45
+ <option value="future"><?php _e( 'Scheduled' ); ?></option>
46
+ <?php endif; ?>
47
+ <option value="pending"><?php _e( 'Pending Review' ); ?></option>
48
+ <option value="draft"><?php _e( 'Draft' ); ?></option>
49
+ </select>
50
+ </div>
51
 
52
+ </div><!-- .left -->
 
 
 
53
 
54
+ <div class="right">
 
 
 
 
55
 
56
+ <?php if ( current_user_can('edit_theme_options') ) : ?>
57
+ <label class="checkbox">
58
+ <input type="checkbox" name="nav_status" class="np_link_nav_status" value="hide" />
59
+ <span class="checkbox-title"><?php _e( 'Hide in Nav Menu', 'nestedpages' ); ?></span>
60
+ </label>
61
+
62
+ <label class="checkbox">
63
+ <input type="checkbox" name="nested_pages_status" class="np_link_status" value="hide" />
64
+ <span class="checkbox-title"><?php _e( 'Hide in Nested Pages', 'nestedpages' ); ?></span>
65
+ </label>
66
+
67
+ <label class="checkbox">
68
+ <input type="checkbox" name="link_target" class="new_link_target" value="_blank" />
69
+ <span class="checkbox-title"><?php _e( 'Open link in a new window/tab' ); ?></span>
70
+ </label>
71
+ <?php endif; // Edit theme options ?>
72
+
73
+ </div><!-- .right -->
74
+
75
+ </div><!-- .form-interior -->
76
+ </div>
77
+ <div class="modal-footer">
78
+ <input type="hidden" name="parent_id" class="parent_id" value="">
79
+ <button type="button" class="button modal-close" data-dismiss="modal">
80
+ <?php _e('Close'); ?>
81
+ </button>
82
+ <a accesskey="s" class="button-primary np-save-link alignright">
83
+ <?php _e( 'Save Link', 'nestedpages' ); ?>
84
+ </a>
85
+ <span class="np-qe-loading np-link-loading"></span>
86
+ </div>
87
+ </form>
88
+ </div><!-- #nplink -->
89
+
90
+ <?php /*
91
+ <div id="npmenuitems" class="np-tabbed-content" style="display:none;">
92
+ <div class="modal-body">
93
+ adf
94
+ </div><!-- .modal-body -->
95
+ <div class="modal-footer">
96
+ <input type="hidden" name="parent_id" class="parent_id" value="">
97
+ <button type="button" class="button modal-close" data-dismiss="modal">
98
+ <?php _e('Close'); ?>
99
+ </button>
100
+ <a accesskey="s" class="button-primary np-save-link alignright">
101
+ <?php _e( 'Add Item', 'nestedpages' ); ?>
102
+ </a>
103
+ <span class="np-qe-loading np-link-loading"></span>
104
+ </div><!-- .modal-footer -->
105
+ </div><!-- #npmenuitems -->
106
+ */ ?>
107
 
 
 
 
 
 
 
 
 
 
 
 
108
  </div><!-- /.modal-content -->
109
  </div><!-- /.modal-dialog -->
110
  </div><!-- /.modal -->
views/pages.php CHANGED
@@ -1,23 +1,27 @@
1
  <div class="wrap">
2
 
3
  <h2>
4
- <?php echo $this->post_type->labels->name; ?>
5
- <a href="<?php echo $this->addNewPageLink(); ?>" class="add-new-h2"><?php echo $this->post_type->labels->add_new; ?></a>
 
 
6
  <?php if ( current_user_can('publish_pages') ) : ?>
7
- <a href="#" class="add-new-h2 open-redirect-modal" title="<?php _e('Add Link', 'nestedpages'); ?>" data-parentid="0"><?php _e('Add Link', 'nestedpages'); ?></a>
 
 
8
  <?php endif; ?>
9
  </h2>
10
 
11
  <?php if ( $this->confirmation() ) echo $this->confirmation() . '<div style="clear:both;"></div>'; ?>
12
 
13
  <ul class="nestedpages-toggleall" <?php if ( $this->confirmation() ) echo 'style="margin-top:0"';?>>
14
- <li><a href="#" class="np-btn" data-toggle="closed"><?php _e('Expand Pages'); ?></a></li>
15
  </ul>
16
 
17
  <?php if ( current_user_can('edit_theme_options') ) : ?>
18
  <div class="np-sync-menu-cont" <?php if ( $this->confirmation() ) echo 'style="margin-top:2px;"';?>>
19
  <label>
20
- <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'); ?>
21
  </label>
22
  </div>
23
  <?php endif; ?>
@@ -27,17 +31,19 @@
27
  <ul class="subsubsub">
28
  <li><a href="#all" class="np-toggle-publish active"><?php _e('All'); ?></a> | </li>
29
  <li><a href="#published" class="np-toggle-publish"><?php _e('Published'); ?></a> | </li>
30
- <li><a href="#show" class="np-toggle-hidden"><?php _e('Show Hidden'); ?> </a>
31
  <span class="count">(<?php echo $this->post_repo->getHiddenCount(); ?>)</span> | </li>
32
  <?php if ( current_user_can('delete_pages') ) : ?>
33
  <li><a href="edit.php?post_status=trash&post_type=page"><?php _e('Trash'); ?> </a>
34
  <span class="count">(<?php echo $this->post_repo->trashedPagesCount(); ?>)</span> | </li>
35
  <?php endif; ?>
36
- <li><a href="<?php echo $this->defaultPagesLink(); ?>"><?php _e('Default'); ?> <?php echo $this->post_type->labels->name; ?></a></li>
37
  </ul>
38
 
 
39
  <div id="np-error" class="updated error" style="clear:both;display:none;"></div>
40
 
 
41
  <div class="nestedpages">
42
  <?php $this->loopPages(); ?>
43
 
1
  <div class="wrap">
2
 
3
  <h2>
4
+ <?php _e($this->post_type->labels->name); ?>
5
+ <a href="<?php echo $this->addNewPageLink(); ?>" class="add-new-h2">
6
+ <?php _e($this->post_type->labels->add_new_item); ?>
7
+ </a>
8
  <?php if ( current_user_can('publish_pages') ) : ?>
9
+ <a href="#" class="add-new-h2 open-redirect-modal" title="<?php _e('Add Link', 'nestedpages'); ?>" data-parentid="0">
10
+ <?php _e('Add Link', 'nestedpages'); ?>
11
+ </a>
12
  <?php endif; ?>
13
  </h2>
14
 
15
  <?php if ( $this->confirmation() ) echo $this->confirmation() . '<div style="clear:both;"></div>'; ?>
16
 
17
  <ul class="nestedpages-toggleall" <?php if ( $this->confirmation() ) echo 'style="margin-top:0"';?>>
18
+ <li><a href="#" class="np-btn" data-toggle="closed"><?php _e('Expand Pages', 'nestedpages'); ?></a></li>
19
  </ul>
20
 
21
  <?php if ( current_user_can('edit_theme_options') ) : ?>
22
  <div class="np-sync-menu-cont" <?php if ( $this->confirmation() ) echo 'style="margin-top:2px;"';?>>
23
  <label>
24
+ <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'); ?>
25
  </label>
26
  </div>
27
  <?php endif; ?>
31
  <ul class="subsubsub">
32
  <li><a href="#all" class="np-toggle-publish active"><?php _e('All'); ?></a> | </li>
33
  <li><a href="#published" class="np-toggle-publish"><?php _e('Published'); ?></a> | </li>
34
+ <li><a href="#show" class="np-toggle-hidden"><?php _e('Show Hidden', 'nestedpages'); ?> </a>
35
  <span class="count">(<?php echo $this->post_repo->getHiddenCount(); ?>)</span> | </li>
36
  <?php if ( current_user_can('delete_pages') ) : ?>
37
  <li><a href="edit.php?post_status=trash&post_type=page"><?php _e('Trash'); ?> </a>
38
  <span class="count">(<?php echo $this->post_repo->trashedPagesCount(); ?>)</span> | </li>
39
  <?php endif; ?>
40
+ <li><a href="<?php echo $this->defaultPagesLink(); ?>"><?php _e('Default'); ?> <?php _e($this->post_type->labels->name); ?></a></li>
41
  </ul>
42
 
43
+
44
  <div id="np-error" class="updated error" style="clear:both;display:none;"></div>
45
 
46
+
47
  <div class="nestedpages">
48
  <?php $this->loopPages(); ?>
49
 
views/quickedit-redirect.php CHANGED
@@ -5,7 +5,7 @@
5
 
6
  <form method="get" action="">
7
  <div class="form-interior">
8
- <h3><?php _e('Redirect', 'nestedpages'); ?></h3>
9
 
10
  <div class="np-quickedit-error" style="clear:both;display:none;"></div>
11
 
@@ -14,7 +14,7 @@
14
  <div class="left">
15
 
16
  <div class="form-control">
17
- <label><?php _e( 'Label', 'nestedpages' ); ?></label>
18
  <input type="text" name="post_title" class="np_title" value="" />
19
  </div>
20
 
@@ -41,11 +41,11 @@
41
 
42
  <?php if ( current_user_can('edit_theme_options') ) : ?>
43
  <div class="form-control">
44
- <label><?php _e( 'Title Attribute', 'nestedpages' ); ?></label>
45
  <input type="text" name="np_title_attribute" class="np_title_attribute" value="" />
46
  </div>
47
  <div class="form-control">
48
- <label><?php _e( 'CSS Classes', 'nestedpages' ); ?></label>
49
  <input type="text" name="np_nav_css_classes" class="np_nav_css_classes" value="" />
50
  </div>
51
  <div class="comments">
@@ -63,7 +63,7 @@
63
  <div class="comments">
64
  <label>
65
  <input type="checkbox" name="link_target" class="link_target" value="_blank" />
66
- <span class="checkbox-title"><?php _e( 'Open link in new window', 'nestedpages' ); ?></span>
67
  </label>
68
  </div>
69
  <?php endif; // Edit theme options?>
5
 
6
  <form method="get" action="">
7
  <div class="form-interior">
8
+ <h3><?php _e('Link', 'nestedpages'); ?></h3>
9
 
10
  <div class="np-quickedit-error" style="clear:both;display:none;"></div>
11
 
14
  <div class="left">
15
 
16
  <div class="form-control">
17
+ <label><?php _e( 'Navigation Label' ); ?></label>
18
  <input type="text" name="post_title" class="np_title" value="" />
19
  </div>
20
 
41
 
42
  <?php if ( current_user_can('edit_theme_options') ) : ?>
43
  <div class="form-control">
44
+ <label><?php _e( 'Title Attribute' ); ?></label>
45
  <input type="text" name="np_title_attribute" class="np_title_attribute" value="" />
46
  </div>
47
  <div class="form-control">
48
+ <label><?php _e( 'CSS Classes' ); ?></label>
49
  <input type="text" name="np_nav_css_classes" class="np_nav_css_classes" value="" />
50
  </div>
51
  <div class="comments">
63
  <div class="comments">
64
  <label>
65
  <input type="checkbox" name="link_target" class="link_target" value="_blank" />
66
+ <span class="checkbox-title"><?php _e( 'Open link in a new window/tab' ); ?></span>
67
  </label>
68
  </div>
69
  <?php endif; // Edit theme options?>
views/quickedit.php CHANGED
@@ -8,7 +8,7 @@
8
 
9
  <form method="get" action="">
10
  <div class="form-interior">
11
- <h3><?php _e('Quick Edit', 'nestedpages'); ?></h3>
12
 
13
  <div class="np-quickedit-error" style="clear:both;display:none;"></div>
14
 
@@ -102,7 +102,7 @@
102
  <div class="comments">
103
  <label>
104
  <input type="checkbox" name="nested_pages_status" class="np_status" value="hide" />
105
- <span class="checkbox-title"><?php _e( 'Hide in Nested Pages' ); ?></span>
106
  </label>
107
  </div>
108
  <?php endif; // Edit theme options?>
@@ -145,15 +145,15 @@
145
  <div class="np-menuoptions">
146
  <div class="menuoptions-left">
147
  <div class="form-control">
148
- <label><?php _e( 'Navigation Label', 'nestedpages' ); ?></label>
149
  <input type="text" name="np_nav_title" class="np_nav_title" value="" />
150
  </div>
151
  <div class="form-control">
152
- <label><?php _e( 'Title Attribute', 'nestedpages' ); ?></label>
153
  <input type="text" name="np_title_attribute" class="np_title_attribute" value="" />
154
  </div>
155
  <div class="form-control">
156
- <label><?php _e( 'CSS Classes', 'nestedpages' ); ?></label>
157
  <input type="text" name="np_nav_css_classes" class="np_nav_css_classes" value="" />
158
  </div>
159
  </div><!-- .menuoptions-left -->
@@ -167,7 +167,7 @@
167
  <div class="form-control">
168
  <label>
169
  <input type="checkbox" name="link_target" class="link_target" value="_blank" />
170
- <span class="checkbox-title"><?php _e( 'Open link in new window', 'nestedpages' ); ?></span>
171
  </label>
172
  </div>
173
  </div><!-- .menuoptions-right -->
8
 
9
  <form method="get" action="">
10
  <div class="form-interior">
11
+ <h3><?php _e('Quick Edit'); ?></h3>
12
 
13
  <div class="np-quickedit-error" style="clear:both;display:none;"></div>
14
 
102
  <div class="comments">
103
  <label>
104
  <input type="checkbox" name="nested_pages_status" class="np_status" value="hide" />
105
+ <span class="checkbox-title"><?php _e( 'Hide in Nested Pages', 'nestedpages' ); ?></span>
106
  </label>
107
  </div>
108
  <?php endif; // Edit theme options?>
145
  <div class="np-menuoptions">
146
  <div class="menuoptions-left">
147
  <div class="form-control">
148
+ <label><?php _e( 'Navigation Label' ); ?></label>
149
  <input type="text" name="np_nav_title" class="np_nav_title" value="" />
150
  </div>
151
  <div class="form-control">
152
+ <label><?php _e( 'Title Attribute' ); ?></label>
153
  <input type="text" name="np_title_attribute" class="np_title_attribute" value="" />
154
  </div>
155
  <div class="form-control">
156
+ <label><?php _e( 'CSS Classes' ); ?></label>
157
  <input type="text" name="np_nav_css_classes" class="np_nav_css_classes" value="" />
158
  </div>
159
  </div><!-- .menuoptions-left -->
167
  <div class="form-control">
168
  <label>
169
  <input type="checkbox" name="link_target" class="link_target" value="_blank" />
170
+ <span class="checkbox-title"><?php _e( 'Open link in a new window/tab' ); ?></span>
171
  </label>
172
  </div>
173
  </div><!-- .menuoptions-right -->
views/row-redirect.php CHANGED
@@ -16,7 +16,7 @@
16
 
17
  // Post Status
18
  if ( $post->post_status !== 'publish' ){
19
- echo '<span class="status">(' . $post->post_status . ')</span>';
20
  } else {
21
  echo '<span class="status"></span>';
22
  }
@@ -27,7 +27,7 @@
27
 
28
  // Nav Status
29
  if ( $this->post_data['nav_status'] == 'hide' ){
30
- echo '<span class="nav-status">(Hidden)</span>';
31
  } else {
32
  echo '<span class="nav-status"></span>';
33
  }
@@ -50,7 +50,7 @@
50
  data-navtitleattr="<?php echo $this->post_data['nav_title_attr']; ?>"
51
  data-navcss="<?php echo $this->post_data['nav_css']; ?>"
52
  data-linktarget="<?php echo $this->post_data['link_target']; ?>">
53
- <?php _e('Quick Edit', 'nestedpages'); ?>
54
  </a>
55
 
56
  <?php if ( current_user_can('delete_pages') ) : ?>
16
 
17
  // Post Status
18
  if ( $post->post_status !== 'publish' ){
19
+ echo '<span class="status">(' . __(ucfirst($post->post_status)) . ')</span>';
20
  } else {
21
  echo '<span class="status"></span>';
22
  }
27
 
28
  // Nav Status
29
  if ( $this->post_data['nav_status'] == 'hide' ){
30
+ echo '<span class="nav-status">(' . __('Hidden', 'nestedpages') . ')</span>';
31
  } else {
32
  echo '<span class="nav-status"></span>';
33
  }
50
  data-navtitleattr="<?php echo $this->post_data['nav_title_attr']; ?>"
51
  data-navcss="<?php echo $this->post_data['nav_css']; ?>"
52
  data-linktarget="<?php echo $this->post_data['link_target']; ?>">
53
+ <?php _e('Quick Edit'); ?>
54
  </a>
55
 
56
  <?php if ( current_user_can('delete_pages') ) : ?>
views/row.php CHANGED
@@ -20,7 +20,7 @@
20
 
21
  // Post Status
22
  echo '<span class="status">';
23
- if ( $post->post_status !== 'publish' ) echo '(' . $post->post_status . ')';
24
  if ( post_password_required($post->ID) ) echo ' <i class="np-icon-lock"></i>';
25
  echo '</span>';
26
 
@@ -30,7 +30,7 @@
30
 
31
  // Nav Status
32
  if ( $this->post_data['nav_status'] == 'hide' ){
33
- echo '<span class="nav-status">(Hidden)</span>';
34
  } else {
35
  echo '<span class="nav-status"></span>';
36
  }
@@ -40,7 +40,7 @@
40
  $u = get_userdata($user);
41
  echo '<span class="locked"><i class="np-icon-lock"></i><em> ' . $u->display_name . ' ' . __('currently editing', 'nestedpages') . '</em></span>';
42
  } else {
43
- echo '<span class="edit-indicator"><i class="np-icon-pencil"></i>' . __('Edit', 'nestedpages') . '</span>';
44
  }
45
  ?>
46
  </a>
@@ -91,11 +91,11 @@
91
  data-year="<?php echo $this->post_data['y']; ?>"
92
  data-hour="<?php echo $this->post_data['h']; ?>"
93
  data-minute="<?php echo $this->post_data['m']; ?>">
94
- <?php _e('Quick Edit', 'nestedpages'); ?>
95
  </a>
96
  <?php endif; ?>
97
 
98
- <a href="<?php echo get_the_permalink(); ?>" class="np-btn" target="_blank"><?php _e('View', 'nestedpages'); ?></a>
99
 
100
  <?php if ( current_user_can('delete_pages') ) : ?>
101
  <a href="<?php echo get_delete_post_link(get_the_id()); ?>" class="np-btn np-btn-trash">
20
 
21
  // Post Status
22
  echo '<span class="status">';
23
+ if ( $post->post_status !== 'publish' ) echo '(' . __(ucfirst($post->post_status)) . ')';
24
  if ( post_password_required($post->ID) ) echo ' <i class="np-icon-lock"></i>';
25
  echo '</span>';
26
 
30
 
31
  // Nav Status
32
  if ( $this->post_data['nav_status'] == 'hide' ){
33
+ echo '<span class="nav-status">' . __('Hidden', 'nestedpages') . '</span>';
34
  } else {
35
  echo '<span class="nav-status"></span>';
36
  }
40
  $u = get_userdata($user);
41
  echo '<span class="locked"><i class="np-icon-lock"></i><em> ' . $u->display_name . ' ' . __('currently editing', 'nestedpages') . '</em></span>';
42
  } else {
43
+ echo '<span class="edit-indicator"><i class="np-icon-pencil"></i>' . __('Edit') . '</span>';
44
  }
45
  ?>
46
  </a>
91
  data-year="<?php echo $this->post_data['y']; ?>"
92
  data-hour="<?php echo $this->post_data['h']; ?>"
93
  data-minute="<?php echo $this->post_data['m']; ?>">
94
+ <?php _e('Quick Edit'); ?>
95
  </a>
96
  <?php endif; ?>
97
 
98
+ <a href="<?php echo get_the_permalink(); ?>" class="np-btn" target="_blank"><?php _e('View'); ?></a>
99
 
100
  <?php if ( current_user_can('delete_pages') ) : ?>
101
  <a href="<?php echo get_delete_post_link(get_the_id()); ?>" class="np-btn np-btn-trash">
views/settings.php CHANGED
@@ -11,11 +11,12 @@
11
  <tr valign="top">
12
  <th scope="row"><?php _e('Menu Name', 'nestedpages'); ?></th>
13
  <td>
14
- <input type="text" name="nestedpages_menu" id="nestedpages_menu" value="<?php echo $menu_name; ?>">
15
  <p><em><?php _e('Important: Once the menu name has changed, theme files should be updated to reference the new name.', 'nestedpages'); ?></em></p>
16
  </td>
17
  </tr>
18
  </table>
 
19
  <?php submit_button(); ?>
20
  </form>
21
  </div><!-- .wrap -->
11
  <tr valign="top">
12
  <th scope="row"><?php _e('Menu Name', 'nestedpages'); ?></th>
13
  <td>
14
+ <input type="text" name="nestedpages_menu" id="nestedpages_menu" value="<?php echo $this->menu->name; ?>">
15
  <p><em><?php _e('Important: Once the menu name has changed, theme files should be updated to reference the new name.', 'nestedpages'); ?></em></p>
16
  </td>
17
  </tr>
18
  </table>
19
+ <input type="hidden" name="nestedpages_menusync" value="<?php echo get_option('nestedpages_menusync'); ?>">
20
  <?php submit_button(); ?>
21
  </form>
22
  </div><!-- .wrap -->