Admin Columns - Version 2.5.4

Version Description

  • [Fixed] Edit columns button will be positioned correctly on the Trash page
  • [Fixed] Obsolete images have been removed
  • [Fixed] Roles names column will display the available translation
  • [Fixed] Content type label (next to store settings) is displayed correctly when translations are loaded
  • [Fixed] After using quick edit the column values will be populated correctly again
  • [Fixed] WPML will correctly display it's "+" icons again. Make sure to add/remove the column.
  • [Improved Messages on the settings screen (when using restore columns) are now displayed directly above the columns
  • [Improved] Excerpt column will now display a label "excerpt from content" when the actual excerpt field is empty
  • [Added] New filter 'cac/get_posts/post_status' has been added to change post_status when using CPAC_Storage_model::get_posts()
Download this release

Release Info

Developer tschutter
Plugin Icon 128x128 Admin Columns
Version 2.5.4
Comparing to
See all releases

Code changes from version 2.5.3 to 2.5.4

Files changed (56) hide show
  1. assets/css/admin-column.css +10 -49
  2. assets/css/admin-column.min.css +1 -1
  3. assets/css/column.css +19 -0
  4. assets/css/column.min.css +1 -1
  5. assets/images/_drag.png +0 -0
  6. assets/images/addon_multiplecustomfields.png +0 -0
  7. assets/images/addon_sortable_1.png +0 -0
  8. assets/images/arrows.png +0 -0
  9. assets/images/checkbox.png +0 -0
  10. assets/images/checkmark.png +0 -0
  11. assets/images/checkmark_single.png +0 -0
  12. assets/images/checkmark_white.png +0 -0
  13. assets/images/comment-grey-bubble.png +0 -0
  14. assets/images/comment_edit.png +0 -0
  15. assets/images/cross.png +0 -0
  16. assets/images/facebook.png +0 -0
  17. assets/images/help.png +0 -0
  18. assets/images/icon.png +0 -0
  19. assets/images/icon_20.png +0 -0
  20. assets/images/import_export.png +0 -0
  21. assets/images/info.png +0 -0
  22. assets/images/information.png +0 -0
  23. assets/images/layout_edit.png +0 -0
  24. assets/images/more_info.png +0 -0
  25. assets/images/no.png +0 -0
  26. assets/images/settings.png +0 -0
  27. assets/images/sort.png +0 -0
  28. assets/images/status.png +0 -0
  29. assets/images/switch_blue.png +0 -0
  30. assets/images/trash.png +0 -0
  31. assets/images/twitter.png +0 -0
  32. assets/images/yes.png +0 -0
  33. assets/js/admin-settings.js +20 -9
  34. assets/js/admin-settings.min.js +1 -1
  35. assets/ui-theme/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  36. assets/ui-theme/images/ui-icons_222222_256x240.png +0 -0
  37. assets/ui-theme/images/ui-icons_2e83ff_256x240.png +0 -0
  38. assets/ui-theme/images/ui-icons_454545_256x240.png +0 -0
  39. assets/ui-theme/images/ui-icons_888888_256x240.png +0 -0
  40. assets/ui-theme/images/ui-icons_cd0a0a_256x240.png +0 -0
  41. classes/column.php +17 -11
  42. classes/column/custom-field.php +1 -1
  43. classes/column/post/attachment.php +1 -5
  44. classes/column/post/excerpt.php +10 -4
  45. classes/column/post/roles.php +20 -23
  46. classes/column/post/status.php +7 -21
  47. classes/settings.php +25 -12
  48. classes/storage_model.php +3 -3
  49. classes/storage_model/post.php +5 -5
  50. classes/third_party/wpml.php +3 -14
  51. classes/utility.php +4 -0
  52. codepress-admin-columns.php +22 -2
  53. languages/codepress-admin-columns-de_DE.mo +0 -0
  54. languages/codepress-admin-columns-de_DE.po +1335 -0
  55. languages/codepress-admin-columns.pot +197 -197
  56. readme.txt +12 -1
assets/css/admin-column.css CHANGED
@@ -12,30 +12,6 @@
12
#icon-codepress-admin-columns {
13
background: transparent url('../images/icon.png') no-repeat 0 0;
14
}
15
- .cpac-settings-link {
16
- float: right;
17
- margin: 12px 14px 5px 0;
18
- background: transparent url('../images/settings.png') no-repeat 0 0;
19
- padding-left: 20px;
20
- text-decoration: none;
21
- display: inline-block;
22
- line-height: 16px;
23
- }
24
- .cpac-settings-link.current {
25
- font-weight: bold;
26
- }
27
- .rtl .cpac-settings-link {
28
- float: left;
29
- margin: 12px 0 5px 14px;
30
- padding-right: 20px;
31
- padding-left: 0;
32
- }
33
- a.help {
34
- background: transparent url('../images/help.png') no-repeat 0 0;
35
- display: inline-block;
36
- width: 16px;
37
- height: 16px;
38
- }
39
.button.loading {
40
padding-right: 25px;
41
position: relative;
@@ -67,26 +43,6 @@ a.help {
67
.ajax-message {
68
display: none;
69
}
70
- /**
71
- * Icons
72
- * ----------------------------------------------------------------------------
73
- */
74
- .icon-yes {
75
- background: transparent url(../images/yes.png) no-repeat 0 0;
76
- width: 16px;
77
- height: 16px;
78
- display: inline-block;
79
- position: relative;
80
- top: 2px;
81
- }
82
- .icon-no {
83
- background: transparent url(../images/no.png) no-repeat 0 0;
84
- width: 16px;
85
- height: 16px;
86
- display: inline-block;
87
- position: relative;
88
- top: 2px;
89
- }
90
/**
91
* Dashicons used on list screens
92
* ----------------------------------------------------------------------------
@@ -821,16 +777,21 @@ a.help {
821
z-index: 2;
822
padding-right: 8px;
823
}
824
- .columns-right .sidebox h3 span.right {
825
- position: absolute;
826
- display: inline-block;
827
line-height: 20px;
828
- z-index: 1;
829
- right: 10px;
830
font-size: 12px;
831
text-transform: uppercase;
832
color: #808080;
833
text-align: right;
834
}
835
.columns-right .sidebox .inside {
836
padding: 10px;
12
#icon-codepress-admin-columns {
13
background: transparent url('../images/icon.png') no-repeat 0 0;
14
}
15
.button.loading {
16
padding-right: 25px;
17
position: relative;
43
.ajax-message {
44
display: none;
45
}
46
/**
47
* Dashicons used on list screens
48
* ----------------------------------------------------------------------------
777
z-index: 2;
778
padding-right: 8px;
779
}
780
+ .columns-right .sidebox h3 span.contenttype {
781
+ display: block;
782
line-height: 20px;
783
font-size: 12px;
784
text-transform: uppercase;
785
color: #808080;
786
+ margin-top: 4px;
787
+ }
788
+ .columns-right .sidebox h3 span.contenttype.right {
789
+ position: absolute;
790
+ display: inline-block;
791
+ z-index: 1;
792
+ right: 10px;
793
text-align: right;
794
+ margin-top: 0;
795
}
796
.columns-right .sidebox .inside {
797
padding: 10px;
assets/css/admin-column.min.css CHANGED
@@ -1 +1 @@
1
- .button.loading span,.cpac-column .comment-grey-bubble,.icon-no,.icon-yes,a.help{height:16px;width:16px}#cpac a:active,#cpac a:focus{outline:0}#cpac h2.cpac-nav-tab-wrapper{margin-bottom:10px}#icon-codepress-admin-columns{background:url(../images/icon.png) no-repeat}.cpac-settings-link{float:right;margin:12px 14px 5px 0;background:url(../images/settings.png) no-repeat;padding-left:20px;text-decoration:none;display:inline-block;line-height:16px}.cpac-settings-link.current{font-weight:700}.rtl .cpac-settings-link{float:left;margin:12px 0 5px 14px;padding-right:20px;padding-left:0}a.help{background:url(../images/help.png) no-repeat;display:inline-block}.button.loading{padding-right:25px;position:relative}.rtl .button.loading{padding-left:25px;padding-right:0}.button.loading span{position:absolute;top:2px;right:6px;background:url(../images/loading.gif) right 50% no-repeat;display:inline-block}.rtl .button.loading span{left:6px;right:auto}.cpac_message.error.warning{border-left:4px solid #ffba00}.ajax-message{display:none}.columns-container .columns-left .column-footer .submit.save,.icon-no,.icon-yes{display:inline-block}.icon-yes{background:url(../images/yes.png) no-repeat;position:relative;top:2px}.icon-no{background:url(../images/no.png) no-repeat;position:relative;top:2px}.cpac-column .comment-grey-bubble:before{content:'\f101';font:400 20px/.5 dashicons;speak:none;display:inline-block;padding:0;top:4px;left:0;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.rtl .cpac-column .comment-grey-bubble:before{right:0;left:auto}.cpac-menu{clear:both;overflow:hidden;margin-bottom:10px}.cpac-menu .subsubsub{white-space:normal;width:100%;margin:0 14px 0 0}.cpac-menu .subsubsub li.first{font-weight:700;min-width:100px}.cpac-menu label{font-weight:700;margin-right:5px}.cpac-menu .spinner{float:none;margin-top:0;margin-left:0}.columns-container{margin-right:300px;max-width:700px}.columns-container .columns-left{float:left;width:100%}.columns-container .columns-left .column-footer .submit.update,.columns-container.stored .columns-right .sidebox.form-actions .submit.save{display:none}.columns-container .columns-right{float:right;margin-right:-300px;width:280px}.columns-container .columns-right .columns-right-inside.fixed{width:280px}.columns-container.stored .columns-right .sidebox.form-actions .form-reset,.columns-container.stored .columns-right .sidebox.form-actions .submit.update{display:block}.columns-container.stored .column-footer .submit.save{display:none}.columns-container.stored .column-footer .submit.update,.menu select{display:inline-block}.ui-sortable-helper{-webkit-box-shadow:1px 3px 6px 0 rgba(1,1,1,.4);box-shadow:1px 3px 6px 0 rgba(1,1,1,.4)}.ui-sortable-helper .column-meta{border-width:1px}.cpac-placeholder{visibility:visible!important;border-top:1px solid #dfdfdf;padding:5px 4px 7px 0}.cpac-placeholder .inner-placeholder{border:1px dashed grey;background:#eee;width:100%;height:100%}.cpac-placeholder :first-child{border:none}.menu{position:relative;margin-bottom:16px}.menu select{margin:0}.menu .spinner{display:none;float:none;visibility:visible;margin:0 0 0 14px}.menu .view-link,.menu .view-link:active{display:inline-block;margin:0 0 0 12px;top:2px}.columns-left .cpac-notice{background:#fff;border-left:4px solid #ffba00;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin-bottom:15px;padding:1px 12px}.columns-left .cpac-boxes .cpac-columns form{box-shadow:0 1px 3px rgba(0,0,0,.1);margin:0}.columns-left .cpac-boxes.disabled{opacity:.7}.columns-left .cpac-boxes.disabled .column_action,.columns-left .cpac-boxes.disabled a.clone-button,.columns-left .cpac-boxes.disabled a.edit-button,.columns-left .cpac-boxes.disabled a.remove-button{display:none!important}.columns-left .cpac-boxes.disabled .column-footer,.columns-left .cpac-boxes.disabled .column-meta td.column_sort{display:none}.columns-left .cpac-boxes.disabled .meta span{cursor:default!important}.columns-left .cpac-boxes.disabled .meta span:before{color:grey!important}.columns-left .cpac-boxes.disabled .meta span.off{opacity:.5}.cpac-column .column-meta{border-style:solid;border-color:#dfdfdf;border-width:1px 1px 0;background:#fcfcfc}.cpac-column .column-meta:nth-child(2n) .column-meta{background:#f9f9f9}.cpac-column .column-meta img{margin-right:3px}.cpac-column .column-meta table{border:none;background:0 0;border-radius:0}.cpac-column .column-meta table tr td{vertical-align:top;height:18px;border:solid transparent;padding:11px 8px;border-width:1px 0 0}.cpac-column .column-meta table tr td.column_sort{width:10px;background:url(../images/drag.png) 8px 8px no-repeat;cursor:move}.cpac-column .column-meta table tr td.column_label{width:70%;font-weight:700;vertical-align:middle;position:relative}.cpac-column .column-meta table tr td.column_label .inner{position:relative;overflow:hidden;height:18px}.cpac-column .column-meta table tr td.column_label .inner>a{color:#5a5a5a;padding:0 4px}.cpac-column .column-meta table tr td.column_label .inner>a:hover{color:#333}.cpac-column .column-meta table tr td.column_label .inner>a.clone-button,.cpac-column .column-meta table tr td.column_label .inner>a.edit-button,.cpac-column .column-meta table tr td.column_label .inner>a.remove-button{display:none;color:#a00;text-decoration:none;text-shadow:none;font-weight:400;margin-left:5px;font-size:12px}.cpac-column .column-meta table tr td.column_label .inner>a.clone-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.edit-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.remove-button:hover{color:red}.cpac-column .column-meta table tr td.column_label .inner>a.clone-button,.cpac-column .column-meta table tr td.column_label .inner>a.edit-button{color:#0074a2}.cpac-column .column-meta table tr td.column_label .inner>a.clone-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.edit-button:hover{color:#2ea2cc}.cpac-column .column-meta table tr td.column_label .inner .meta{display:inline-block;float:right;font-weight:400;color:#b2b2b2;font-size:12px}.cpac-column .column-meta table tr td.column_label .inner .meta span{cursor:pointer}.cpac-column .column-meta table tr td.column_label .inner .meta span.width{margin-right:5px;cursor:auto;color:#737373}.cpac-column .column-meta table tr td.column_label .inner .meta span.disabled{cursor:default}.cpac-column .column-meta table tr td.column_label span.vers{float:left}.cpac-column .column-meta table tr td.column_type{width:auto;min-width:120px;text-align:right;vertical-align:middle;color:#999;padding-right:0}.cpac-column .column-meta table tr td.column_type .inner{height:18px;overflow:hidden}.cpac-column .column-meta table tr td.column_type .inner a{color:#999}.cpac-column .column-meta table tr td.column_edit{width:38px;min-width:38px;background:url(../images/arrow.png) 23px 18px no-repeat;cursor:pointer}.cpac-column .column-meta:hover .column_label .inner>a.clone-button,.cpac-column .column-meta:hover .column_label .inner>a.edit-button,.cpac-column .column-meta:hover .column_label .inner>a.remove-button{display:inline-block}.cpac-column .column-meta span.vers{padding-top:2px}.cpac-column .column-meta span.vers .comment-grey-bubble{float:right}.cpac-column .column-form{display:none;border-width:1px 1px 0;border-style:solid;border-color:#dfdfdf;position:relative}.cpac-column .column-form table{border:none;background:#fcfcfc}.cpac-column .column-form table tr.hide{display:none}.cpac-column .column-form table tr td{vertical-align:top;border:none;padding:8px;background:#fff;border-top:1px solid #F5F5F5}.cpac-column .column-form table tr td input[type=text],.cpac-column .column-form table tr td select{width:99.95%}.cpac-column .column-form table tr td input[type=text].small,.cpac-column .column-form table tr td select.small{width:100px}.cpac-column .column-form table tr td span.suffix{line-height:40px;color:grey}.cpac-column .column-form table tr td select optgroup:nth-child(2n){background:#F9F9F9}.cpac-column .column-form table tr td.label{position:relative;overflow:visible;background:#f5f5f5;border-right:1px solid #E1E1E1;vertical-align:top;width:34%;border-top:1px solid #F0F0F0}.column-footer,.wp-pointer-content{overflow:hidden}.cpac-column .column-form table tr td.label label{font-weight:700;color:#333;display:block;position:relative}.cpac-column .column-form table tr td.label p{color:#666;display:block;font-size:12px;font-style:normal;line-height:16px;margin:0!important}.cpac-column .column-form table tr td.label p.description{display:none;position:absolute;z-index:99;top:30px;left:0;background:#eaf2fa;border-radius:5px;border:1px solid #c7d7e2;padding:5px 8px!important;font-weight:400}.cpac-column .column-form table tr td.label p.description em{display:block;color:#999}.cpac-column .column-form table tr td.label .info{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.cpac-column .column-form table tr td.label .info:before{position:absolute;z-index:1;right:10px;top:50%;margin-top:-7px;content:'';display:block;border-radius:32px;border:1px solid #E6E6E6;width:12px;height:12px}.cpac-column .column-form table tr td.label .info:after{position:absolute;z-index:1;right:10px;top:50%;margin-top:-6px;content:'?';display:block;width:14px;height:14px;color:#E6E6E6;font:700 10px Arial;text-align:center;vertical-align:middle;line-height:14px}.cpac-column .column-form table tr td.input label{padding-left:10px;padding-right:0}.cpac-column .column-form table tr td.input div.msg{margin-top:5px;display:none;color:#333;padding:6px 8px;background-color:#ffebe8;border:1px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.cpac-column .column-form table tr td.input .section{padding:12px}.cpac-column .column-form table tr.column_width .input{position:relative}.cpac-column .column-form table tr.column_width .input div.description{font-size:11px;width:54px;position:absolute;left:10px;text-align:middle}.cpac-column .column-form table tr.column_width .input div.description input{background:#efefef;border:none;height:20px;line-height:20px;text-align:right;width:36px;font-size:12px}.cpac-column .column-form table tr.column_width .input div.width-slider{margin-left:68px;margin-right:90px;position:relative;margin-top:5px}.cpac-column .column-form table tr.column_width .input div.width-slider .ui-slider-handle{cursor:ew-resize}.cpac-column .column-form table tr.column_width .input div.unit-select{position:absolute;top:8px;right:10px;width:90px;text-align:right}.cpac-column .column-form table tr.column_width .input div.unit-select label{padding-left:5px}.cpac-column .column-form table tr.column_image_size{border:10px solid red}.cpac-column .column-form table tr.column_image_size td.input label.custom-size{display:inline-block;margin-top:4px;margin-bottom:4px}.cpac-column .column-form table tr.column_image_size td.input label.custom-size input{margin-right:3px}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size{display:inline-block}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h.hidden,.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w.hidden,.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .hidden{display:none}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h,.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w{margin:0}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h input[type=text],.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w input[type=text]{margin-right:3px;width:40px!important}.cpac-column .column-form table tr.column_action td{border-top:1px solid #ebebeb;background:#f9f9f9}.cpac-column .column-form table tr.column_action td p{margin:0}.cpac-column .column-form table tr.column_action td p a.remove-button{color:#a00;text-decoration:none;text-shadow:none;font-weight:400;margin-left:5px;font-size:12px;padding:0 5px}.cpac-column .column-form table tr.column_action td p a.remove-button:hover{color:#fff;background:red}.cpac-column .column-form table tr:first-child td{border-top:none}.cpac-column.loading .column-form>.spinner{position:absolute;left:50%;top:50%;z-index:200;margin-left:-10px;margin-top:-10px;display:block}.cpac-column.loading .column-form:before{content:'';position:absolute;width:100%;height:100%;background:#FFF;z-index:100;opacity:.5}.cpac-column.opened .column-meta{background-color:#c7c7c7;background-image:-ms-linear-gradient(top,#e9e9e9,#c7c7c7);background-image:-moz-linear-gradient(top,#e9e9e9,#c7c7c7);background-image:-o-linear-gradient(top,#e9e9e9,#c7c7c7);background-image:-webkit-gradient(linear,left top,left bottom,from(#e9e9e9),to(#c7c7c7));background-image:-webkit-linear-gradient(top,#e9e9e9,#c7c7c7);background-image:linear-gradient(top,#e9e9e9,#c7c7c7);border-color:#aeaeae}.cpac-column.opened .column-meta table{background:0 0}.cpac-column.opened .column-meta table td{border-color:#f8f8f8;color:#333;text-shadow:0 1px 0 #FFF}.cpac-column.opened .column-meta table td a{color:#333;text-shadow:0 1px 0 #FFF}.cpac-column.opened .column-meta table td.column_sort{background-position:8px -39px}.cpac-column.opened .column-meta table td.column_label .inner .meta span{color:grey;text-shadow:none}.cpac-column.opened .column-meta table td.column_type{color:#5C5C5C}.column-footer{background:#EAF2FA;border:1px solid #c7d7e2;min-height:26px;padding:8px}.column-footer .order-message{background:url(../images/order_arrow.png) no-repeat;color:#7A9BBE;float:left;font-family:Comic Sans MS,sans-serif;font-size:11px;height:13px;line-height:1em;margin-left:4px;padding:7px 0 0 22px;text-shadow:0 1px 0 #FFF;display:inline-block}.column-footer .button-container{float:right;display:inline-block;margin-top:-5px}.column-footer .button-container a{display:inline-block;margin-top:5px;margin-left:5px}.cpac-content-body hr{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background:none;border-color:#DFDFDF -moz-use-text-color -moz-use-text-color;border-image:none;border-right:0 none;border-style:solid none none;border-width:1px 0 0;clear:both;margin:30px 0;opacity:.2}#cpac-welcome.about-wrap div.error{display:block!important}.cpac-alert{display:inline-block;background:#FCF8E3;border:1px solid #FBEED5;border-radius:4px;color:#C09853;margin:20px 0;padding:16px 14px;text-shadow:0 1px 0 rgba(255,255,255,.5)}.cpac-alert p{margin:0}.cpac-alert.cpac-alert-success{background-color:#DFF0D8;border-color:#D6E9C6;color:#468847}.cpac-alert.cpac-alert-error{background-color:#F2DEDE;border-color:#EED3D7;color:#B94A48}.cpac-alert a.button-primary{height:28px;line-height:28px;display:inline-block}#cpac-download-add-ons-table{max-width:600px}.wp-core-ui .button-large{height:40px;line-height:40px;font-size:16px;padding:0 15px;text-shadow:0 1px 0 rgba(0,0,0,.5)}.cac-notification.updated{border-left-color:#0071aa}.cac-notification.updated .learnmore{float:right}.cac-notification.updated .learnmore:after{content:"\f139";font:400 20px/1 dashicons;float:right}.columns-right .sidebox{background:#FFF;border:1px solid #E1E1E1;border-radius:0;box-shadow:0 1px 3px rgba(0,0,0,.1);position:relative;margin-bottom:14px}.columns-right .sidebox h3{padding:10px;margin:0;position:relative}.columns-right .sidebox h3.title{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:15px;font-weight:400;line-height:1;margin:0;padding:7px 10px;background:#f1f1f1;background-image:-webkit-gradient(linear,left bottom,left top,from(#ececec),to(#f9f9f9));background-image:-webkit-linear-gradient(bottom,#ececec,#f9f9f9);background-image:-moz-linear-gradient(bottom,#ececec,#f9f9f9);background-image:-o-linear-gradient(bottom,#ececec,#f9f9f9);background-image:linear-gradient(to top,#ececec,#f9f9f9);border-bottom-color:#dfdfdf;text-shadow:#fff 0 1px 0;-webkit-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;border-bottom-style:solid;border-bottom-width:1px}.columns-right .sidebox h3 span.left{position:relative;background:#fff;z-index:2;padding-right:8px}.columns-right .sidebox h3 span.right{position:absolute;display:inline-block;line-height:20px;z-index:1;right:10px;font-size:12px;text-transform:uppercase;color:grey;text-align:right}.columns-right .sidebox .inside{padding:10px}.columns-right .sidebox .inside p{margin-top:0}.columns-right .sidebox.form-actions .form-reset{display:none;border-bottom:1px solid #F5F5F5;padding:8px}.columns-right .sidebox.form-actions .reset-column-type{text-decoration:none;color:#BC0B0B;line-height:25px;display:inline-block;background:0 0;border:none;padding:0;font-size:13px;cursor:pointer;margin:0}.columns-right .sidebox.form-actions .reset-column-type:hover{color:red}.columns-right .sidebox.form-actions .form-update{padding:8px;overflow:hidden}.columns-right .sidebox.form-actions .submit{display:none;width:100%;height:28px;line-height:28px;text-align:center}.columns-right .sidebox.form-actions .submit.save{display:block}.columns-right .sidebox#pro-version .cta{background:url(../images/get_the_addon.png) no-repeat;background-size:cover}.columns-right .sidebox#pro-version .padding-box{padding:8px 15px 0}.columns-right .sidebox#pro-version h3 a{color:#fff;font-size:19px;text-decoration:none;font-weight:400;margin-top:6px}.columns-right .sidebox#pro-version .inside ul{margin:0 0 10px}.columns-right .sidebox#pro-version .inside ul li{margin:0;padding:0}.columns-right .sidebox#pro-version .inside ul li a{display:inline-block;min-height:24px;font-size:19px;line-height:24px;margin-bottom:1px;padding:0 5px;background:#000;color:#fff;text-decoration:none}.columns-right .sidebox#pro-version .inside ul li.acf a{background-color:#5ee8bf;color:grey}.columns-right .sidebox#pro-version .inside p{color:#fff;font-size:12px}.columns-right .sidebox#pro-version .inside p a{color:#fff;display:inline-block;background:#a4c518;padding:0 2px;font-size:15px;text-decoration:none}.columns-right .sidebox#add-acf{background-color:#5ee8bf}.columns-right .sidebox#add-acf h3{padding:0}.columns-right .sidebox#add-acf h3 a{color:#fff;text-decoration:none;font-size:15px}.columns-right .sidebox#direct-feedback #feedback-rate,.columns-right .sidebox#direct-feedback #feedback-support{display:none}.columns-right .sidebox#direct-feedback .inside>a{border-radius:4px;border:1px solid #CCC;width:48%;height:64px;text-align:center;line-height:64px;font-weight:700;color:#222;display:inline-block;text-decoration:none}.columns-right .sidebox#direct-feedback .inside>a:hover{background:#FAFAFA}.columns-right .sidebox#direct-feedback .inside form textarea{width:100%;height:120px}.columns-right .sidebox#direct-feedback .inside form input[type=submit]{display:inline-block;float:right;border-radius:4px;border:1px solid #CCC;height:32px;text-align:center;line-height:32px;font-weight:700;font-size:12px;padding:0 32px;color:#CCC;background:0 0;text-decoration:none;cursor:pointer}.columns-right .sidebox#direct-feedback .inside form input[type=submit]:hover,.columns-right .sidebox#direct-feedback .inside ul.share li a:hover{background:#FAFAFA}.columns-right .sidebox#direct-feedback .inside form p.description{float:left;font-size:10px}.columns-right .sidebox#direct-feedback .inside ul{margin:0}.columns-right .sidebox#direct-feedback .inside ul.share li{margin:0 0 0 9px;display:block;float:left;width:30%}.columns-right .sidebox#direct-feedback .inside ul.share li a{text-decoration:none;vertical-align:middle;line-height:20px;padding:16px 0;width:100%;text-align:center;border:1px solid #CCC;border-radius:4px;display:block}.wp-pointer.noclick .wp-pointer-buttons,body.rtl .columns-left .column-footer .submit{display:none}.columns-right .sidebox#direct-feedback .inside ul.share li:first-child{margin-left:0}.columns-right .sidebox#direct-feedback #feedback-support .inside ul.share li{width:48%}table.cpac-form-table{max-width:1100px;margin-top:20px}table.cpac-form-table>tbody>tr>td,table.cpac-form-table>tbody>tr>th{vertical-align:top}table.cpac-form-table td.padding-22{padding-top:22px}table.cpac-form-table.settings tr td{padding-top:74px}table.cpac-form-table.settings tr:first-child th{padding-top:0}table.cpac-form-table.settings tr:first-child td{padding-top:54px}.wp-pointer-content ol{margin-left:1.5em;padding:0 15px}.wp-pointer-right{margin-right:15px}body.rtl .wp-pointer-right{margin-left:15px;margin-right:0}body.rtl .wp-pointer-right ol{margin-right:1.5em;margin-left:0}body.rtl .cpac-menu .subsubsub{margin-left:14px;margin-right:0}body.rtl .columns-container{margin-left:300px;margin-right:0}body.rtl .columns-left{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-meta img{margin-left:3px;margin-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner>a.remove-button{margin-right:12px;margin-left:0}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner .meta{float:left}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label span.vers{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label a.more-info,body.rtl .columns-left .cpac-columns .cpac-column .column-meta span.vers .comment-grey-bubble{float:left}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_type{text-align:left;padding-left:0;padding-right:auto}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr.column_image_size td.input label input{margin-left:3px;margin-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label p.description{right:0;left:auto}body.rtl .columns-left .cpac-columns .cpac-column .column-form div.description,body.rtl .columns-left .cpac-columns .cpac-column .column-form div.input-width-range{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-form tr td.input label{padding-left:10px;padding-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-form a.help{float:left}body.rtl .columns-left .column-footer .order-message{float:right;padding-right:22px;padding-left:0;background:url(../images/order_arrow-rtl.png) right top no-repeat}body.rtl .columns-left .column-footer .button-container,body.rtl .cpac_export .ms-container .ms-selection{float:left}body.rtl .columns-right{float:left;margin-left:-300px;margin-right:0}body.rtl .cpac-placeholder{padding:5px 0 7px 4px}@media only screen and (max-width:900px){.columns-container{margin-right:0}.columns-container .columns-left,.columns-container .menu{float:none}.columns-container .columns-right{float:none;margin-top:0;margin-right:0;width:100%}}.cpac-addons li{width:200px;background:#FFF;float:left;margin-right:16px;margin-bottom:16px;border:1px solid #DDD;-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,.15);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,.15);box-shadow:0 3px 10px 0 rgba(0,0,0,.15)}.cpac-addons li:hover{-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,.25);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,.25);box-shadow:0 3px 10px 0 rgba(0,0,0,.25)}.cpac-addons li a{color:#444}.cpac-addons li .cpac-addon-content{display:table;width:100%;height:125px;text-align:center;vertical-align:middle;border-top:1px solid #DDD;background:#0069a4;background:-moz-radial-gradient(center,ellipse cover,#0069a4 0,#085079 100%);background:-webkit-gradient(radial,center center,0,center center,100%,color-stop(0,#0069a4),color-stop(100%,#085079));background:-webkit-radial-gradient(center,ellipse cover,#0069a4 0,#085079 100%);background:-o-radial-gradient(center,ellipse cover,#0069a4 0,#085079 100%);background:-ms-radial-gradient(center,ellipse cover,#0069a4 0,#085079 100%);background:radial-gradient(ellipse at center,#0069a4 0,#085079 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0069a4', endColorstr='#085079', GradientType=1)}.cpac-addons li .cpac-addon-content>*{display:table-cell;vertical-align:middle}.cpac-addons li .cpac-addon-content h3{padding:0 16px;color:#FFF;line-height:150%}.cpac-addons li .cpac-addon-content img{width:100%}.cpac-addons li .cpac-addon-header{width:100%;padding:25px 15px;-moz-box-sizing:border-box;box-sizing:border-box}.cpac-addons li .cpac-addon-header>:first-child{margin-top:0}.cpac-addons li .cpac-addon-header>:last-child{margin-bottom:0}.cpac-addons li .cpac-addon-actions{background:#EEE;border-top:1px solid #DDD;padding:8px}.cpac-addons li .cpac-addon-actions .cpac-installed:before{content:"\f147";font-family:dashicons;vertical-align:middle;margin-left:-5px;margin-right:3px}
1
+ .button.loading span,.cpac-column .comment-grey-bubble{height:16px;width:16px}#cpac h2.cpac-nav-tab-wrapper,.cpac-menu{margin-bottom:10px}#cpac a:active,#cpac a:focus{outline:0}#icon-codepress-admin-columns{background:url(../images/icon.png) no-repeat}.button.loading{padding-right:25px;position:relative}.rtl .button.loading{padding-left:25px;padding-right:0}.button.loading span{position:absolute;top:2px;right:6px;background:url(../images/loading.gif) right 50% no-repeat;display:inline-block}.rtl .button.loading span{left:6px;right:auto}.cpac_message.error.warning{border-left:4px solid #ffba00}.ajax-message{display:none}.cpac-column .comment-grey-bubble:before{content:'\f101';font:400 20px/.5 dashicons;speak:none;display:inline-block;padding:0;top:4px;left:0;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.rtl .cpac-column .comment-grey-bubble:before{right:0;left:auto}.cpac-menu{clear:both;overflow:hidden}.cpac-menu .subsubsub{white-space:normal;width:100%;margin:0 14px 0 0}.cpac-menu .subsubsub li.first{font-weight:700;min-width:100px}.cpac-menu label{font-weight:700;margin-right:5px}.cpac-menu .spinner{float:none;margin-top:0;margin-left:0}.columns-container{margin-right:300px;max-width:700px}.columns-container .columns-left{float:left;width:100%}.columns-container .columns-left .column-footer .submit.save{display:inline-block}.columns-container .columns-left .column-footer .submit.update,.columns-container.stored .columns-right .sidebox.form-actions .submit.save{display:none}.columns-container .columns-right{float:right;margin-right:-300px;width:280px}.columns-container .columns-right .columns-right-inside.fixed{width:280px}.columns-container.stored .columns-right .sidebox.form-actions .form-reset,.columns-container.stored .columns-right .sidebox.form-actions .submit.update{display:block}.columns-container.stored .column-footer .submit.save{display:none}.columns-container.stored .column-footer .submit.update,.menu select{display:inline-block}.ui-sortable-helper{-webkit-box-shadow:1px 3px 6px 0 rgba(1,1,1,.4);box-shadow:1px 3px 6px 0 rgba(1,1,1,.4)}.ui-sortable-helper .column-meta{border-width:1px}.cpac-placeholder{visibility:visible!important;border-top:1px solid #dfdfdf;padding:5px 4px 7px 0}.cpac-placeholder .inner-placeholder{border:1px dashed grey;background:#eee;width:100%;height:100%}.cpac-placeholder :first-child{border:none}.menu{position:relative;margin-bottom:16px}.menu select{margin:0}.menu .spinner{display:none;float:none;visibility:visible;margin:0 0 0 14px}.menu .view-link,.menu .view-link:active{display:inline-block;margin:0 0 0 12px;top:2px}.columns-left .cpac-notice{background:#fff;border-left:4px solid #ffba00;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin-bottom:15px;padding:1px 12px}.columns-left .cpac-boxes .cpac-columns form{box-shadow:0 1px 3px rgba(0,0,0,.1);margin:0}.columns-left .cpac-boxes.disabled{opacity:.7}.columns-left .cpac-boxes.disabled .column_action,.columns-left .cpac-boxes.disabled a.clone-button,.columns-left .cpac-boxes.disabled a.edit-button,.columns-left .cpac-boxes.disabled a.remove-button{display:none!important}.columns-left .cpac-boxes.disabled .column-footer,.columns-left .cpac-boxes.disabled .column-meta td.column_sort{display:none}.columns-left .cpac-boxes.disabled .meta span{cursor:default!important}.columns-left .cpac-boxes.disabled .meta span:before{color:grey!important}.columns-left .cpac-boxes.disabled .meta span.off{opacity:.5}.cpac-column .column-meta{border-style:solid;border-color:#dfdfdf;border-width:1px 1px 0;background:#fcfcfc}.cpac-column .column-meta:nth-child(2n) .column-meta{background:#f9f9f9}.cpac-column .column-meta img{margin-right:3px}.cpac-column .column-meta table{border:none;background:0 0;border-radius:0}.cpac-column .column-meta table tr td{vertical-align:top;height:18px;border:solid transparent;padding:11px 8px;border-width:1px 0 0}.cpac-column .column-meta table tr td.column_sort{width:10px;background:url(../images/drag.png) 8px 8px no-repeat;cursor:move}.cpac-column .column-meta table tr td.column_label{width:70%;font-weight:700;vertical-align:middle;position:relative}.cpac-column .column-meta table tr td.column_label .inner{position:relative;overflow:hidden;height:18px}.cpac-column .column-meta table tr td.column_label .inner>a{color:#5a5a5a;padding:0 4px}.cpac-column .column-meta table tr td.column_label .inner>a:hover{color:#333}.cpac-column .column-meta table tr td.column_label .inner>a.clone-button,.cpac-column .column-meta table tr td.column_label .inner>a.edit-button,.cpac-column .column-meta table tr td.column_label .inner>a.remove-button{display:none;color:#a00;text-decoration:none;text-shadow:none;font-weight:400;margin-left:5px;font-size:12px}.cpac-column .column-meta table tr td.column_label .inner>a.clone-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.edit-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.remove-button:hover{color:red}.cpac-column .column-meta table tr td.column_label .inner>a.clone-button,.cpac-column .column-meta table tr td.column_label .inner>a.edit-button{color:#0074a2}.cpac-column .column-meta table tr td.column_label .inner>a.clone-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.edit-button:hover{color:#2ea2cc}.cpac-column .column-meta table tr td.column_label .inner .meta{display:inline-block;float:right;font-weight:400;color:#b2b2b2;font-size:12px}.cpac-column .column-meta table tr td.column_label .inner .meta span{cursor:pointer}.cpac-column .column-meta table tr td.column_label .inner .meta span.width{margin-right:5px;cursor:auto;color:#737373}.cpac-column .column-meta table tr td.column_label .inner .meta span.disabled{cursor:default}.cpac-column .column-meta table tr td.column_label span.vers{float:left}.cpac-column .column-meta table tr td.column_type{width:auto;min-width:120px;text-align:right;vertical-align:middle;color:#999;padding-right:0}.cpac-column .column-meta table tr td.column_type .inner{height:18px;overflow:hidden}.cpac-column .column-meta table tr td.column_type .inner a{color:#999}.cpac-column .column-meta table tr td.column_edit{width:38px;min-width:38px;background:url(../images/arrow.png) 23px 18px no-repeat;cursor:pointer}.cpac-column .column-meta:hover .column_label .inner>a.clone-button,.cpac-column .column-meta:hover .column_label .inner>a.edit-button,.cpac-column .column-meta:hover .column_label .inner>a.remove-button{display:inline-block}.cpac-column .column-meta span.vers{padding-top:2px}.cpac-column .column-meta span.vers .comment-grey-bubble{float:right}.cpac-column .column-form{display:none;border-width:1px 1px 0;border-style:solid;border-color:#dfdfdf;position:relative}.cpac-column .column-form table{border:none;background:#fcfcfc}.cpac-column .column-form table tr.hide{display:none}.cpac-column .column-form table tr td{vertical-align:top;border:none;padding:8px;background:#fff;border-top:1px solid #F5F5F5}.cpac-column .column-form table tr td input[type=text],.cpac-column .column-form table tr td select{width:99.95%}.cpac-column .column-form table tr td input[type=text].small,.cpac-column .column-form table tr td select.small{width:100px}.cpac-column .column-form table tr td span.suffix{line-height:40px;color:grey}.cpac-column .column-form table tr td select optgroup:nth-child(2n){background:#F9F9F9}.cpac-column .column-form table tr td.label{position:relative;overflow:visible;background:#f5f5f5;border-right:1px solid #E1E1E1;vertical-align:top;width:34%;border-top:1px solid #F0F0F0}.column-footer,.wp-pointer-content{overflow:hidden}.cpac-column .column-form table tr td.label label{font-weight:700;color:#333;display:block;position:relative}.cpac-column .column-form table tr td.label p{color:#666;display:block;font-size:12px;font-style:normal;line-height:16px;margin:0!important}.cpac-column .column-form table tr td.label p.description{display:none;position:absolute;z-index:99;top:30px;left:0;background:#eaf2fa;border-radius:5px;border:1px solid #c7d7e2;padding:5px 8px!important;font-weight:400}.cpac-column .column-form table tr td.label p.description em{display:block;color:#999}.cpac-column .column-form table tr td.label .info{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.cpac-column .column-form table tr td.label .info:before{position:absolute;z-index:1;right:10px;top:50%;margin-top:-7px;content:'';display:block;border-radius:32px;border:1px solid #E6E6E6;width:12px;height:12px}.cpac-column .column-form table tr td.label .info:after{position:absolute;z-index:1;right:10px;top:50%;margin-top:-6px;content:'?';display:block;width:14px;height:14px;color:#E6E6E6;font:700 10px Arial;text-align:center;vertical-align:middle;line-height:14px}.cpac-column .column-form table tr td.input label{padding-left:10px;padding-right:0}.cpac-column .column-form table tr td.input div.msg{margin-top:5px;display:none;color:#333;padding:6px 8px;background-color:#ffebe8;border:1px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.cpac-column .column-form table tr td.input .section{padding:12px}.cpac-column .column-form table tr.column_width .input{position:relative}.cpac-column .column-form table tr.column_width .input div.description{font-size:11px;width:54px;position:absolute;left:10px;text-align:middle}.cpac-column .column-form table tr.column_width .input div.description input{background:#efefef;border:none;height:20px;line-height:20px;text-align:right;width:36px;font-size:12px}.cpac-column .column-form table tr.column_width .input div.width-slider{margin-left:68px;margin-right:90px;position:relative;margin-top:5px}.cpac-column .column-form table tr.column_width .input div.width-slider .ui-slider-handle{cursor:ew-resize}.cpac-column .column-form table tr.column_width .input div.unit-select{position:absolute;top:8px;right:10px;width:90px;text-align:right}.cpac-column .column-form table tr.column_width .input div.unit-select label{padding-left:5px}.cpac-column .column-form table tr.column_image_size{border:10px solid red}.cpac-column .column-form table tr.column_image_size td.input label.custom-size{display:inline-block;margin-top:4px;margin-bottom:4px}.cpac-column .column-form table tr.column_image_size td.input label.custom-size input{margin-right:3px}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size{display:inline-block}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h.hidden,.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w.hidden,.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .hidden{display:none}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h,.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w{margin:0}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h input[type=text],.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w input[type=text]{margin-right:3px;width:40px!important}.cpac-column .column-form table tr.column_action td{border-top:1px solid #ebebeb;background:#f9f9f9}.cpac-column .column-form table tr.column_action td p{margin:0}.cpac-column .column-form table tr.column_action td p a.remove-button{color:#a00;text-decoration:none;text-shadow:none;font-weight:400;margin-left:5px;font-size:12px;padding:0 5px}.cpac-column .column-form table tr.column_action td p a.remove-button:hover{color:#fff;background:red}.cpac-column .column-form table tr:first-child td{border-top:none}.cpac-column.loading .column-form>.spinner{position:absolute;left:50%;top:50%;z-index:200;margin-left:-10px;margin-top:-10px;display:block}.cpac-column.loading .column-form:before{content:'';position:absolute;width:100%;height:100%;background:#FFF;z-index:100;opacity:.5}.cpac-column.opened .column-meta{background-color:#c7c7c7;background-image:-ms-linear-gradient(top,#e9e9e9,#c7c7c7);background-image:-moz-linear-gradient(top,#e9e9e9,#c7c7c7);background-image:-o-linear-gradient(top,#e9e9e9,#c7c7c7);background-image:-webkit-gradient(linear,left top,left bottom,from(#e9e9e9),to(#c7c7c7));background-image:-webkit-linear-gradient(top,#e9e9e9,#c7c7c7);background-image:linear-gradient(top,#e9e9e9,#c7c7c7);border-color:#aeaeae}.cpac-column.opened .column-meta table{background:0 0}.cpac-column.opened .column-meta table td{border-color:#f8f8f8;color:#333;text-shadow:0 1px 0 #FFF}.cpac-column.opened .column-meta table td a{color:#333;text-shadow:0 1px 0 #FFF}.cpac-column.opened .column-meta table td.column_sort{background-position:8px -39px}.cpac-column.opened .column-meta table td.column_label .inner .meta span{color:grey;text-shadow:none}.cpac-column.opened .column-meta table td.column_type{color:#5C5C5C}.column-footer{background:#EAF2FA;border:1px solid #c7d7e2;min-height:26px;padding:8px}.column-footer .order-message{background:url(../images/order_arrow.png) no-repeat;color:#7A9BBE;float:left;font-family:Comic Sans MS,sans-serif;font-size:11px;height:13px;line-height:1em;margin-left:4px;padding:7px 0 0 22px;text-shadow:0 1px 0 #FFF;display:inline-block}.column-footer .button-container{float:right;display:inline-block;margin-top:-5px}.column-footer .button-container a{display:inline-block;margin-top:5px;margin-left:5px}.cpac-content-body hr{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background:none;border-color:#DFDFDF -moz-use-text-color -moz-use-text-color;border-image:none;border-right:0 none;border-style:solid none none;border-width:1px 0 0;clear:both;margin:30px 0;opacity:.2}#cpac-welcome.about-wrap div.error{display:block!important}.cpac-alert{display:inline-block;background:#FCF8E3;border:1px solid #FBEED5;border-radius:4px;color:#C09853;margin:20px 0;padding:16px 14px;text-shadow:0 1px 0 rgba(255,255,255,.5)}.cpac-alert p{margin:0}.cpac-alert.cpac-alert-success{background-color:#DFF0D8;border-color:#D6E9C6;color:#468847}.cpac-alert.cpac-alert-error{background-color:#F2DEDE;border-color:#EED3D7;color:#B94A48}.cpac-alert a.button-primary{height:28px;line-height:28px;display:inline-block}#cpac-download-add-ons-table{max-width:600px}.wp-core-ui .button-large{height:40px;line-height:40px;font-size:16px;padding:0 15px;text-shadow:0 1px 0 rgba(0,0,0,.5)}.cac-notification.updated{border-left-color:#0071aa}.cac-notification.updated .learnmore{float:right}.cac-notification.updated .learnmore:after{content:"\f139";font:400 20px/1 dashicons;float:right}.columns-right .sidebox{background:#FFF;border:1px solid #E1E1E1;border-radius:0;box-shadow:0 1px 3px rgba(0,0,0,.1);position:relative;margin-bottom:14px}.columns-right .sidebox h3{padding:10px;margin:0;position:relative}.columns-right .sidebox h3.title{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:15px;font-weight:400;line-height:1;margin:0;padding:7px 10px;background:#f1f1f1;background-image:-webkit-gradient(linear,left bottom,left top,from(#ececec),to(#f9f9f9));background-image:-webkit-linear-gradient(bottom,#ececec,#f9f9f9);background-image:-moz-linear-gradient(bottom,#ececec,#f9f9f9);background-image:-o-linear-gradient(bottom,#ececec,#f9f9f9);background-image:linear-gradient(to top,#ececec,#f9f9f9);border-bottom-color:#dfdfdf;text-shadow:#fff 0 1px 0;-webkit-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;border-bottom-style:solid;border-bottom-width:1px}.columns-right .sidebox h3 span.left{position:relative;background:#fff;z-index:2;padding-right:8px}.columns-right .sidebox h3 span.contenttype{display:block;line-height:20px;font-size:12px;text-transform:uppercase;color:grey;margin-top:4px}.columns-right .sidebox h3 span.contenttype.right{position:absolute;display:inline-block;z-index:1;right:10px;text-align:right;margin-top:0}.columns-right .sidebox .inside{padding:10px}.columns-right .sidebox .inside p{margin-top:0}.columns-right .sidebox.form-actions .form-reset{display:none;border-bottom:1px solid #F5F5F5;padding:8px}.columns-right .sidebox.form-actions .reset-column-type{text-decoration:none;color:#BC0B0B;line-height:25px;display:inline-block;background:0 0;border:none;padding:0;font-size:13px;cursor:pointer;margin:0}.columns-right .sidebox.form-actions .reset-column-type:hover{color:red}.columns-right .sidebox.form-actions .form-update{padding:8px;overflow:hidden}.columns-right .sidebox.form-actions .submit{display:none;width:100%;height:28px;line-height:28px;text-align:center}.columns-right .sidebox.form-actions .submit.save{display:block}.columns-right .sidebox#pro-version .cta{background:url(../images/get_the_addon.png) no-repeat;background-size:cover}.columns-right .sidebox#pro-version .padding-box{padding:8px 15px 0}.columns-right .sidebox#pro-version h3 a{color:#fff;font-size:19px;text-decoration:none;font-weight:400;margin-top:6px}.columns-right .sidebox#pro-version .inside ul{margin:0 0 10px}.columns-right .sidebox#pro-version .inside ul li{margin:0;padding:0}.columns-right .sidebox#pro-version .inside ul li a{display:inline-block;min-height:24px;font-size:19px;line-height:24px;margin-bottom:1px;padding:0 5px;background:#000;color:#fff;text-decoration:none}.columns-right .sidebox#pro-version .inside ul li.acf a{background-color:#5ee8bf;color:grey}.columns-right .sidebox#pro-version .inside p{color:#fff;font-size:12px}.columns-right .sidebox#pro-version .inside p a{color:#fff;display:inline-block;background:#a4c518;padding:0 2px;font-size:15px;text-decoration:none}.columns-right .sidebox#add-acf{background-color:#5ee8bf}.columns-right .sidebox#add-acf h3{padding:0}.columns-right .sidebox#add-acf h3 a{color:#fff;text-decoration:none;font-size:15px}.columns-right .sidebox#direct-feedback #feedback-rate,.columns-right .sidebox#direct-feedback #feedback-support{display:none}.columns-right .sidebox#direct-feedback .inside>a{border-radius:4px;border:1px solid #CCC;width:48%;height:64px;text-align:center;line-height:64px;font-weight:700;color:#222;display:inline-block;text-decoration:none}.columns-right .sidebox#direct-feedback .inside>a:hover{background:#FAFAFA}.columns-right .sidebox#direct-feedback .inside form textarea{width:100%;height:120px}.columns-right .sidebox#direct-feedback .inside form input[type=submit]{display:inline-block;float:right;border-radius:4px;border:1px solid #CCC;height:32px;text-align:center;line-height:32px;font-weight:700;font-size:12px;padding:0 32px;color:#CCC;background:0 0;text-decoration:none;cursor:pointer}.columns-right .sidebox#direct-feedback .inside form input[type=submit]:hover,.columns-right .sidebox#direct-feedback .inside ul.share li a:hover{background:#FAFAFA}.columns-right .sidebox#direct-feedback .inside form p.description{float:left;font-size:10px}.columns-right .sidebox#direct-feedback .inside ul{margin:0}.columns-right .sidebox#direct-feedback .inside ul.share li{margin:0 0 0 9px;display:block;float:left;width:30%}.columns-right .sidebox#direct-feedback .inside ul.share li a{text-decoration:none;vertical-align:middle;line-height:20px;padding:16px 0;width:100%;text-align:center;border:1px solid #CCC;border-radius:4px;display:block}.wp-pointer.noclick .wp-pointer-buttons,body.rtl .columns-left .column-footer .submit{display:none}.columns-right .sidebox#direct-feedback .inside ul.share li:first-child{margin-left:0}.columns-right .sidebox#direct-feedback #feedback-support .inside ul.share li{width:48%}table.cpac-form-table{max-width:1100px;margin-top:20px}table.cpac-form-table>tbody>tr>td,table.cpac-form-table>tbody>tr>th{vertical-align:top}table.cpac-form-table td.padding-22{padding-top:22px}table.cpac-form-table.settings tr td{padding-top:74px}table.cpac-form-table.settings tr:first-child th{padding-top:0}table.cpac-form-table.settings tr:first-child td{padding-top:54px}.wp-pointer-content ol{margin-left:1.5em;padding:0 15px}.wp-pointer-right{margin-right:15px}body.rtl .wp-pointer-right{margin-left:15px;margin-right:0}body.rtl .wp-pointer-right ol{margin-right:1.5em;margin-left:0}body.rtl .cpac-menu .subsubsub{margin-left:14px;margin-right:0}body.rtl .columns-container{margin-left:300px;margin-right:0}body.rtl .columns-left{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-meta img{margin-left:3px;margin-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner>a.remove-button{margin-right:12px;margin-left:0}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner .meta{float:left}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label span.vers{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label a.more-info,body.rtl .columns-left .cpac-columns .cpac-column .column-meta span.vers .comment-grey-bubble{float:left}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_type{text-align:left;padding-left:0;padding-right:auto}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr.column_image_size td.input label input{margin-left:3px;margin-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label p.description{right:0;left:auto}body.rtl .columns-left .cpac-columns .cpac-column .column-form div.description,body.rtl .columns-left .cpac-columns .cpac-column .column-form div.input-width-range{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-form tr td.input label{padding-left:10px;padding-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-form a.help{float:left}body.rtl .columns-left .column-footer .order-message{float:right;padding-right:22px;padding-left:0;background:url(../images/order_arrow-rtl.png) right top no-repeat}body.rtl .columns-left .column-footer .button-container,body.rtl .cpac_export .ms-container .ms-selection{float:left}body.rtl .columns-right{float:left;margin-left:-300px;margin-right:0}body.rtl .cpac-placeholder{padding:5px 0 7px 4px}@media only screen and (max-width:900px){.columns-container{margin-right:0}.columns-container .columns-left,.columns-container .menu{float:none}.columns-container .columns-right{float:none;margin-top:0;margin-right:0;width:100%}}.cpac-addons li{width:200px;background:#FFF;float:left;margin-right:16px;margin-bottom:16px;border:1px solid #DDD;-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,.15);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,.15);box-shadow:0 3px 10px 0 rgba(0,0,0,.15)}.cpac-addons li:hover{-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,.25);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,.25);box-shadow:0 3px 10px 0 rgba(0,0,0,.25)}.cpac-addons li a{color:#444}.cpac-addons li .cpac-addon-content{display:table;width:100%;height:125px;text-align:center;vertical-align:middle;border-top:1px solid #DDD;background:#0069a4;background:-moz-radial-gradient(center,ellipse cover,#0069a4 0,#085079 100%);background:-webkit-gradient(radial,center center,0,center center,100%,color-stop(0,#0069a4),color-stop(100%,#085079));background:-webkit-radial-gradient(center,ellipse cover,#0069a4 0,#085079 100%);background:-o-radial-gradient(center,ellipse cover,#0069a4 0,#085079 100%);background:-ms-radial-gradient(center,ellipse cover,#0069a4 0,#085079 100%);background:radial-gradient(ellipse at center,#0069a4 0,#085079 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0069a4', endColorstr='#085079', GradientType=1)}.cpac-addons li .cpac-addon-content>*{display:table-cell;vertical-align:middle}.cpac-addons li .cpac-addon-content h3{padding:0 16px;color:#FFF;line-height:150%}.cpac-addons li .cpac-addon-content img{width:100%}.cpac-addons li .cpac-addon-header{width:100%;padding:25px 15px;-moz-box-sizing:border-box;box-sizing:border-box}.cpac-addons li .cpac-addon-header>:first-child{margin-top:0}.cpac-addons li .cpac-addon-header>:last-child{margin-bottom:0}.cpac-addons li .cpac-addon-actions{background:#EEE;border-top:1px solid #DDD;padding:8px}.cpac-addons li .cpac-addon-actions .cpac-installed:before{content:"\f147";font-family:dashicons;vertical-align:middle;margin-left:-5px;margin-right:3px}
assets/css/column.css CHANGED
@@ -30,6 +30,10 @@ body.edit-tags-php .tablenav.top .cpac-edit {
30
.cpac_status_no {
31
color: #dc3232;
32
}
33
body.users-php .tablenav .actions a.add-new-h2 {
34
float: none;
35
vertical-align: middle !important;
@@ -52,6 +56,18 @@ body.upload-php .tablenav.top .cpac-edit {
52
}
53
/* =General Column
54
-------------------------------------------------------------- */
55
.cpac-rounded {
56
display: inline-block;
57
border-radius: 10px;
@@ -63,6 +79,9 @@ body.upload-php .tablenav.top .cpac-edit {
63
margin-left: 7px;
64
font-size: 12px;
65
}
66
.cpac-spacing {
67
display: inline-block;
68
margin-right: 10px;
30
.cpac_status_no {
31
color: #dc3232;
32
}
33
+ body.edit-php #delete_all {
34
+ float: left;
35
+ margin-right: 3px;
36
+ }
37
body.users-php .tablenav .actions a.add-new-h2 {
38
float: none;
39
vertical-align: middle !important;
56
}
57
/* =General Column
58
-------------------------------------------------------------- */
59
+ .cpac-inline-info {
60
+ display: inline-block;
61
+ border-radius: 3px;
62
+ min-width: 8px;
63
+ padding: 0 6px;
64
+ height: 20px;
65
+ background-color: #e9e9e9;
66
+ text-align: center;
67
+ margin-right: 7px;
68
+ font-size: 11px;
69
+ font-weight: bold;
70
+ }
71
.cpac-rounded {
72
display: inline-block;
73
border-radius: 10px;
79
margin-left: 7px;
80
font-size: 12px;
81
}
82
+ .cpac-rounded.cpac-rounded-first {
83
+ margin-left: 0;
84
+ }
85
.cpac-spacing {
86
display: inline-block;
87
margin-right: 10px;
assets/css/column.min.css CHANGED
@@ -1 +1 @@
1
- .actions #post-query-submit,.tablenav.top .cpac-edit{vertical-align:middle;float:left;margin-bottom:4px}.cpac-divider{display:inline-block;width:14px;height:12px;background:url(../images/square.png) 50% 7px no-repeat}span.status-closed{color:red}.tablenav.top .cpac-edit{top:2px;display:inline-block}body.edit-tags-php .tablenav.top .cpac-edit,body.upload-php .tablenav.top .cpac-edit{float:none}.cpac_status_yes{color:#46b450}.cpac_status_no{color:#dc3232}body.users-php .tablenav .actions a.add-new-h2{float:none;vertical-align:middle!important;top:2px!important}@media screen and (max-width:782px){.tablenav.top .actions{display:block!important;margin-bottom:4px}.tablenav.top .actions *{display:none}.tablenav.top .actions .cpac-edit{display:inline-block}}.cpac-rounded{display:inline-block;border-radius:10px;min-width:8px;padding:0 6px;height:20px;background-color:#e0e0e0;text-align:center;margin-left:7px;font-size:12px}.cpac-spacing{display:inline-block;margin-right:10px;margin-bottom:4px}.cpac-suffix{margin-left:8px;color:grey}.cpac-column-value-image{display:inline-block;background:0 0;margin-right:2px;overflow:hidden;max-width:100%}.rtl .cpac-column-value-image{margin-left:2px;margin-right:0}.cpac-column-value-image img{display:block;margin:0 auto}.column-column-attachment img{padding-right:5px;padding-bottom:4px}.rtl .column-column-attachment img{padding-left:5px;padding-right:0}div.cpac-color{line-height:26px}div.cpac-color span{display:block;-webkit-border-radius:3px;border-radius:3px;color:#fff;float:left;height:16px;line-height:16px;margin-right:12px;overflow:hidden;padding:4px 5px;font-size:10px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;min-width:47px;text-align:center}.rtl div.cpac-color span{float:right;margin-left:12px;margin-right:0}div.sizes span.not-available{color:#999}.button.cpac-button-action{position:relative;text-indent:9999px;margin-right:4px;padding:0 13px;overflow:hidden}.button.cpac-button-action:before{position:absolute;top:0;left:0;width:100%;height:100%;text-indent:0}.cpac-tip{display:inline-block}.qtip.qtip-tipsy{background:rgba(0,0,0,.75);font-weight:400;min-width:25px}
1
+ .actions #post-query-submit,.tablenav.top .cpac-edit{vertical-align:middle;float:left;margin-bottom:4px}.cpac-divider{display:inline-block;width:14px;height:12px;background:url(../images/square.png) 50% 7px no-repeat}.cpac-inline-info,.cpac-rounded{min-width:8px;padding:0 6px;height:20px;text-align:center}span.status-closed{color:red}.tablenav.top .cpac-edit{top:2px;display:inline-block}body.edit-tags-php .tablenav.top .cpac-edit{float:none}.cpac_status_yes{color:#46b450}.cpac_status_no{color:#dc3232}body.edit-php #delete_all{float:left;margin-right:3px}body.users-php .tablenav .actions a.add-new-h2{float:none;vertical-align:middle!important;top:2px!important}@media screen and (max-width:782px){.tablenav.top .actions{display:block!important;margin-bottom:4px}.tablenav.top .actions *{display:none}.tablenav.top .actions .cpac-edit{display:inline-block}}body.upload-php .tablenav.top .cpac-edit{float:none}.cpac-inline-info{display:inline-block;border-radius:3px;background-color:#e9e9e9;margin-right:7px;font-size:11px;font-weight:700}.cpac-rounded{display:inline-block;border-radius:10px;background-color:#e0e0e0;margin-left:7px;font-size:12px}.cpac-rounded.cpac-rounded-first{margin-left:0}.cpac-spacing{display:inline-block;margin-right:10px;margin-bottom:4px}.cpac-suffix{margin-left:8px;color:grey}.cpac-column-value-image{display:inline-block;background:0 0;margin-right:2px;overflow:hidden;max-width:100%}.rtl .cpac-column-value-image{margin-left:2px;margin-right:0}.cpac-column-value-image img{display:block;margin:0 auto}.column-column-attachment img{padding-right:5px;padding-bottom:4px}.rtl .column-column-attachment img{padding-left:5px;padding-right:0}div.cpac-color{line-height:26px}div.cpac-color span{display:block;-webkit-border-radius:3px;border-radius:3px;color:#fff;float:left;height:16px;line-height:16px;margin-right:12px;overflow:hidden;padding:4px 5px;font-size:10px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;min-width:47px;text-align:center}.rtl div.cpac-color span{float:right;margin-left:12px;margin-right:0}div.sizes span.not-available{color:#999}.button.cpac-button-action{position:relative;text-indent:9999px;margin-right:4px;padding:0 13px;overflow:hidden}.button.cpac-button-action:before{position:absolute;top:0;left:0;width:100%;height:100%;text-indent:0}.cpac-tip{display:inline-block}.qtip.qtip-tipsy{background:rgba(0,0,0,.75);font-weight:400;min-width:25px}
assets/images/_drag.png DELETED
Binary file
assets/images/addon_multiplecustomfields.png DELETED
Binary file
assets/images/addon_sortable_1.png DELETED
Binary file
assets/images/arrows.png DELETED
Binary file
assets/images/checkbox.png DELETED
Binary file
assets/images/checkmark.png DELETED
Binary file
assets/images/checkmark_single.png DELETED
Binary file
assets/images/checkmark_white.png DELETED
Binary file
assets/images/comment-grey-bubble.png DELETED
Binary file
assets/images/comment_edit.png DELETED
Binary file
assets/images/cross.png DELETED
Binary file
assets/images/facebook.png DELETED
Binary file
assets/images/help.png DELETED
Binary file
assets/images/icon.png DELETED
Binary file
assets/images/icon_20.png DELETED
Binary file
assets/images/import_export.png DELETED
Binary file
assets/images/info.png DELETED
Binary file
assets/images/information.png DELETED
Binary file
assets/images/layout_edit.png DELETED
Binary file
assets/images/more_info.png DELETED
Binary file
assets/images/no.png DELETED
Binary file
assets/images/settings.png DELETED
Binary file
assets/images/sort.png DELETED
Binary file
assets/images/status.png DELETED
Binary file
assets/images/switch_blue.png DELETED
Binary file
assets/images/trash.png DELETED
Binary file
assets/images/twitter.png DELETED
Binary file
assets/images/yes.png DELETED
Binary file
assets/js/admin-settings.js CHANGED
@@ -72,7 +72,7 @@ function cpac_submit_form() {
72
73
// Error message
74
else if ( response.data ) {
75
- $msg.addClass( 'error' ).find( 'p' ).html( response.data );
76
$msg.slideDown();
77
}
78
}
@@ -687,13 +687,9 @@ function cpac_pointer() {
687
content : jQuery( '#' + html ).html(),
688
position : position,
689
pointerWidth : width,
690
- close : function() {
691
- el.removeClass( 'open' );
692
- },
693
-
694
// bug fix. with an arrow on the right side the position of wp-pointer is incorrect. it does not take
695
// into account the padding of the arrow. adding "wp-pointer-' + position.edge" will fix that.
696
- pointerClass : 'wp-pointer wp-pointer-' + position.edge + ( noclick ? ' noclick' : '' )
697
} );
698
699
// click
@@ -712,12 +708,27 @@ function cpac_pointer() {
712
el.hover( function() {
713
jQuery( this ).pointer( 'open' );
714
}, function() {
715
- if ( !el.hasClass( 'open' ) ) {
716
- jQuery( this ).pointer( 'close' );
717
}
718
719
- } );
720
} );
721
}
722
723
/*
72
73
// Error message
74
else if ( response.data ) {
75
+ $msg.addClass( response.data.type ).find( 'p' ).html( response.data.message );
76
$msg.slideDown();
77
}
78
}
687
content : jQuery( '#' + html ).html(),
688
position : position,
689
pointerWidth : width,
690
// bug fix. with an arrow on the right side the position of wp-pointer is incorrect. it does not take
691
// into account the padding of the arrow. adding "wp-pointer-' + position.edge" will fix that.
692
+ pointerClass : 'cpac-wp-pointer wp-pointer wp-pointer-' + position.edge + ( noclick ? ' noclick' : '' )
693
} );
694
695
// click
708
el.hover( function() {
709
jQuery( this ).pointer( 'open' );
710
}, function() {
711
+ var el = jQuery( this );
712
+ setTimeout( function(){
713
+ if ( !el.hasClass( 'open' ) && jQuery('.cpac-wp-pointer.hover' ).length == 0 ) {
714
+ el.pointer( 'close' );
715
+ }
716
+ }, 100 );
717
+
718
+ } ).on( 'close', function(){
719
+ if ( !el.hasClass( 'open' ) && jQuery('.cpac-wp-pointer.hover' ).length == 0 ) {
720
+ el.pointer( 'close' );
721
}
722
+ });
723
+ } );
724
725
+ jQuery('.cpac-wp-pointer' ).hover( function(){
726
+ jQuery(this ).addClass('hover');
727
+ }, function(){
728
+ jQuery(this ).removeClass('hover');
729
+ jQuery( '.cpac-pointer' ).trigger('close');
730
} );
731
+
732
}
733
734
/*
assets/js/admin-settings.min.js CHANGED
@@ -1 +1 @@
1
- function cpac_importexport(){jQuery("#php-export-results textarea").on("focus, mouseup",function(){jQuery(this).select()}).select().focus()}function cpac_submit_form(){var e=jQuery(".sidebox a.submit, .column-footer a.submit");e.click(function(n){var t=jQuery(this),a=t.closest(".columns-container").addClass("saving"),i=a.find(".cpac-columns form").serialize(),c=a.find(".ajax-message");e.attr("disabled","disabled"),a.find(".ajax-message").hide().removeClass("error updated"),jQuery(".cpac_message").remove();var o=jQuery.post(ajaxurl,{action:"cpac_columns_update",data:i,_ajax_nonce:cpac._ajax_nonce,storage_model:a.data("type"),layout:a.data("layout")},function(e){e&&(e.success?(c.addClass("updated").find("p").html(e.data),c.slideDown(),a.addClass("stored")):e.data&&(c.addClass("error").find("p").html(e.data),c.slideDown()))},"json");o.fail(function(e){}),o.always(function(){e.removeAttr("disabled","disabled"),a.removeClass("saving")}),jQuery(document).trigger("cac_update",a)})}function cpac_create_column(e){var n=jQuery(".for-cloning-only .cpac-column",e).not('[data-default="1"]').first().clone(),t=e.attr("data-type");e.find("cpac-columns");return n.length>0&&(n.cpac_update_clone_id(t),jQuery(".cpac-columns form",e).append(n),n.cpac_column_refresh(),jQuery(document).trigger("column_add",n)),n}function cpac_add_column(){jQuery("#cpac .add_column").click(function(e){var n=jQuery(this).closest(".columns-container"),t=cpac_create_column(n);t.addClass("opened").find(".column-form").slideDown(150,function(){jQuery("html, body").animate({scrollTop:t.offset().top-58},300)}),e.preventDefault()})}function cpac_sidebar_feedback(){jQuery(function(e){var n=e(".sidebox#direct-feedback");n.find("#feedback-choice a.no").click(function(e){e.preventDefault(),n.find("#feedback-choice").slideUp(),n.find("#feedback-support").slideDown()}),n.find("#feedback-choice a.yes").click(function(e){e.preventDefault(),n.find("#feedback-choice").slideUp(),n.find("#feedback-rate").slideDown()})})}function cpac_clear_input_defaults(){jQuery.fn.cleardefault=function(){return this.focus(function(){this.value==this.defaultValue&&(this.value="")}).blur(function(){this.value.length||(this.value=this.defaultValue)})},jQuery("#cpac-box-plugin_settings .addons input").cleardefault()}function cpac_help(){jQuery("#cpac a.help").click(function(e){e.preventDefault();var n=jQuery("#contextual-help-wrap");n.parent().show(),jQuery('a[href="#tab-panel-cpac-'+jQuery(this).attr("data-help")+'"]',n).trigger("click"),n.slideDown("fast",function(){n.focus()})})}function cpac_pointer(){jQuery(".cpac-pointer").each(function(){var e=jQuery(this),n=e.attr("rel"),t=e.attr("data-pos"),a=e.attr("data-width"),i=e.attr("data-noclick"),c={at:"left top",my:"right top",edge:"right"},o=a?a:250;"right"==t&&(c={at:"right middle",my:"left middle",edge:"left"}),"left"==t&&(c={at:"left middle",my:"right middle",edge:"right"}),e.pointer({content:jQuery("#"+n).html(),position:c,pointerWidth:o,close:function(){e.removeClass("open")},pointerClass:"wp-pointer wp-pointer-"+c.edge+(i?" noclick":"")}),i||e.click(function(){e.hasClass("open")?e.removeClass("open"):e.addClass("open")}),e.hover(function(){jQuery(this).pointer("open")},function(){e.hasClass("open")||jQuery(this).pointer("close")})})}function cpac_init(){var e=jQuery(".columns-container"),n=e.find(".cpac-boxes");if(n.hasClass("disabled"))n.find(".cpac-column").each(function(e,n){jQuery(n).column_bind_toggle(),jQuery(n).find("input, select").prop("disabled",!0)});else{var t=n.find(".cpac-columns");t.find(".cpac-column").each(function(e,n){jQuery(n).column_bind_toggle(),jQuery(n).column_bind_remove(),jQuery(n).column_bind_clone(),jQuery(n).cpac_bind_indicator_events()}),t.cpac_bind_ordering()}jQuery(document).trigger("cac_menu_change",t),jQuery(document).trigger("cac_model_ready",e.data("type"))}function cpac_menu(){jQuery("#cpac_storage_modal_select").on("change",function(){jQuery(this).prop("disabled",!0).next(".spinner").css("display","inline-block"),jQuery(".view-link").hide(),window.location=jQuery(this).val()})}jQuery(document).ready(function(){return 0===jQuery("#cpac").length?!1:(cpac_init(),cpac_pointer(),cpac_submit_form(),cpac_clear_input_defaults(),cpac_menu(),cpac_help(),cpac_add_column(),cpac_importexport(),void cpac_sidebar_feedback())}),jQuery.fn.column_bind_toggle=function(){var e=jQuery(this),n=e.closest("cpac-boxes").hasClass("disabled");e.find("td.column_type a, td.column_edit, td.column_label a.toggle, td.column_label .edit-button").click(function(t){t.preventDefault(),e.toggleClass("opened").find(".column-form").slideToggle(150),n||(e.hasClass("events-binded")||e.column_bind_events(),e.addClass("events-binded"),jQuery(document).trigger("column_init",e))})},jQuery.fn.column_bind_remove=function(){jQuery(this).find(".remove-button").click(function(e){jQuery(this).closest(".cpac-column").column_remove(),e.preventDefault()})},jQuery.fn.column_bind_clone=function(){jQuery(this).find(".clone-button").click(function(e){var n,t;e.preventDefault(),n=jQuery(this).closest(".cpac-column"),t=n.column_clone(),"undefined"!=typeof t&&t.removeClass("loading").hide().slideDown()})},jQuery.fn.cpac_column_refresh=function(){var e=jQuery(this),n=e.find(".column_type select"),t=jQuery(this).closest(".columns-container");e.addClass("loading"),n.prop("disabled",1);var a=jQuery.post(ajaxurl,{plugin_id:"cpac",action:"cpac_column_refresh",_ajax_nonce:cpac._ajax_nonce,column:jQuery(this).find("input.column-name").val(),formdata:jQuery(this).parents("form").serialize(),storage_model:t.data("type"),layout:t.data("layout")},function(n){if(n){var t=jQuery("<div>"+n.data+"</div>").children();e.replaceWith(t),e=t,e.column_bind_toggle(),e.column_bind_remove(),e.column_bind_clone(),e.column_bind_events(),e.addClass("opened").find(".column-form").show(),jQuery(document).trigger("column_change",e)}},"json");a.fail(function(n){var t=e.closest(".columns-container").find(".ajax-message");t.addClass("error").find("p").html(cpac_i18n.error),t.slideDown(),e.slideUp(function(){e.remove()}),console.log(n.responseText)}),a.always(function(){e.removeClass("loading"),n.prop("disabled",!1)})},jQuery.fn.column_bind_events=function(){var e=jQuery(this),n=e.closest(".columns-container "),t=n.attr("data-type"),a=e.find(".column_type select option:selected").val();e.find(".column_type select").change(function(){var i=jQuery("optgroup",this).children(":selected"),c=i.val(),o=i.text(),r=jQuery(this).next(".msg").hide(),l=n.find('.for-cloning-only .cpac-column[data-type="'+c+'"]');if(l.length)if(l.find(".is-disabled").length)r.html(l.find(".is-disabled").html()).show(),jQuery(this).find("option").removeAttr("selected"),jQuery(this).find('option[value="'+a+'"]').attr("selected","selected");else{if("undefined"==typeof l.attr("data-clone")&&jQuery(".cpac-columns",n).find('[data-type="'+c+'"]').length)return r.html(cpac_i18n.clone.replace("%s","<strong>"+o+"</strong>")).show(),jQuery(this).find("option").removeAttr("selected"),void jQuery(this).find('option[value="'+a+'"]').attr("selected","selected");var d=l.clone();d.addClass("opened").find(".column-form").show(),d.find(".column-meta").replaceWith(e.find(".column-meta")),d.find(".column-form").replaceWith(e.find(".column-form")),d.cpac_update_clone_id(t),e.replaceWith(d),d.cpac_column_refresh()}}),e.find(".column_label .input input").bind("keyup change",function(){var e=jQuery(this).val();jQuery(this).closest(".cpac-column").find("td.column_label .inner > a.toggle").text(e)}),e.column_width_slider();var i=e.find(".column-meta span.width");i.on("update",function(){var n=e.find("input.width").val(),t=e.find("input.unit").filter(":checked").val();n>0?jQuery(this).text(n+t):jQuery(this).text("")});var c=e.find(".column_width .unit-select label");c.on("click",function(){e.find("span.unit").text(jQuery(this).find("input").val()),e.column_width_slider(),i.trigger("update")});var o=e.find("input.width").on("keyup",function(){e.column_width_slider(),jQuery(this).trigger("validate"),i.trigger("update")}).on("validate",function(){var e=o.val(),n=jQuery.trim(e);jQuery.isNumeric(n)||(n=n.replace(/\D/g,"")),n.length>3&&(n=n.substring(0,3)),0>=n&&(n=""),n!==e&&o.val(n)});e.find(".column_image_size label.custom-size").click(function(){var e=jQuery(this).closest(".input");jQuery(this).hasClass("image-size-custom")?(jQuery(".custom-size-w",e).removeClass("hidden"),jQuery(".custom-size-h",e).removeClass("hidden")):(jQuery(".custom-size-w",e).addClass("hidden"),jQuery(".custom-size-h",e).addClass("hidden"))}),e.find(".column-form .label label, .column-form .label .info").hover(function(){jQuery(this).parents(".label").find("p.description").show()},function(){jQuery(this).parents(".label").find("p.description").hide()}),e.find('[data-refresh="1"] select').change(function(){e.cpac_column_refresh()})},jQuery.fn.column_remove=function(){jQuery(this).addClass("deleting").animate({opacity:0,height:0},350,function(e){jQuery(this).remove()})},jQuery.fn.column_width_slider=function(){var e=jQuery(this).find(".column_width"),n=e.find("input.width"),t=e.find("input.unit"),a=t.filter(":checked").val(),i=n.val(),c=e.find(".width-slider"),o=jQuery(this).find(".column-meta span.width");"%"==a&&i>100&&(i=100),n.val(i),c.slider({range:"min",min:0,max:"%"==a?100:500,value:i,slide:function(e,t){n.val(t.value),o.trigger("update"),n.trigger("validate")}})},jQuery.fn.column_clone=function(){var e=jQuery(this).closest(".columns-container"),n=jQuery(this),t=jQuery(this).closest("cpac-columns");if("undefined"==typeof n.attr("data-clone")){var a=cpac_i18n.clone.replace("%s","<strong>"+n.find(".column_label .toggle").text()+"</strong>");return n.addClass("opened").find(".column-form").slideDown(150),void n.find(".msg").html(a).show()}var i=jQuery(this).clone();return i.cpac_update_clone_id(e.attr("data-type")),jQuery(this).after(i),i.column_bind_toggle(),i.column_bind_remove(),i.column_bind_clone(),i.column_bind_events(),t.cpac_bind_ordering(),jQuery(document).trigger("column_add",i),i},jQuery.fn.cpac_update_clone_id=function(e){var n=jQuery(this),t=n.attr("data-type"),a=jQuery('.columns-container[data-type="'+e+'"]').find(".cpac-columns"),i=jQuery(a).find('*[data-type="'+t+'"]').not(n),c=jQuery.map(i,function(e,n){return jQuery(e).attr("data-clone")?parseInt(jQuery(e).attr("data-clone"),10):0});c.sort();for(var o=Math.max.apply(null,c)+1,r=0;o>=r&&-1!==jQuery.inArray(r,c);r++);var l=n.attr("data-clone"),d="";l&&(d="-"+l),n.attr("data-clone",r),n.find("input.clone").val(r),n.find("input.column-name").val(t+"-"+r);var u=n.find("input, select, label");jQuery(u).each(function(e,n){var a=t+"-"+r;jQuery(n).attr("name")&&jQuery(n).attr("name",jQuery(n).attr("name").replace(t+d,a)),jQuery(n).attr("for")&&jQuery(n).attr("for",jQuery(n).attr("for").replace(t+d,a)),jQuery(n).attr("id")&&jQuery(n).attr("id",jQuery(n).attr("id").replace(t+d,a))})},jQuery.fn.cpac_bind_ordering=function(){jQuery(this).each(function(){jQuery(this).hasClass("ui-sortable")?jQuery(this).sortable("refresh"):jQuery(this).sortable({items:".cpac-column"})})},jQuery(document).bind("column_init column_change column_add",function(e,n){var t=jQuery(n).closest(".cpac-boxes").hasClass("disabled");t||(jQuery(n).cpac_bind_column_addon_events(),jQuery(n).cpac_bind_indicator_events())}),jQuery.fn.cpac_bind_column_addon_events=function(){var e=jQuery(this),n=e.find("[data-toggle-id] label");n.on("click",function(){var n=jQuery(this).closest("td.input").data("toggle-id"),t=jQuery("input",this).val(),a=e.find('[data-indicator-id="'+n+'"]').removeClass("on");"on"==t&&a.addClass("on");var i=e.find('[data-additional-option-id="'+n+'"]').addClass("hide");"on"==t&&i.removeClass("hide")}),e.find("[data-toggle-id]").each(function(){var n=e.find('[data-additional-option-id="'+jQuery(this).data("toggle-id")+'"]').addClass("hide");"on"==jQuery("input:checked",this).val()&&n.removeClass("hide")})},jQuery.fn.cpac_bind_indicator_events=function(){var e=jQuery(this),n=e.find("[data-indicator-id]");n.unbind("click").click(function(){var n=jQuery(this).data("indicator-id"),t=e.find('[data-toggle-id="'+n+'"] input');jQuery(this).hasClass("on")?(jQuery(this).removeClass("on").addClass("off"),t.filter("[value=off]").prop("checked",!0)):(jQuery(this).removeClass("off").addClass("on"),t.filter("[value=on]").prop("checked",!0))})};
1
+ function cpac_importexport(){jQuery("#php-export-results textarea").on("focus, mouseup",function(){jQuery(this).select()}).select().focus()}function cpac_submit_form(){var e=jQuery(".sidebox a.submit, .column-footer a.submit");e.click(function(n){var t=jQuery(this),a=t.closest(".columns-container").addClass("saving"),i=a.find(".cpac-columns form").serialize(),c=a.find(".ajax-message");e.attr("disabled","disabled"),a.find(".ajax-message").hide().removeClass("error updated"),jQuery(".cpac_message").remove();var o=jQuery.post(ajaxurl,{action:"cpac_columns_update",data:i,_ajax_nonce:cpac._ajax_nonce,storage_model:a.data("type"),layout:a.data("layout")},function(e){e&&(e.success?(c.addClass("updated").find("p").html(e.data),c.slideDown(),a.addClass("stored")):e.data&&(c.addClass(e.data.type).find("p").html(e.data.message),c.slideDown()))},"json");o.fail(function(e){}),o.always(function(){e.removeAttr("disabled","disabled"),a.removeClass("saving")}),jQuery(document).trigger("cac_update",a)})}function cpac_create_column(e){var n=jQuery(".for-cloning-only .cpac-column",e).not('[data-default="1"]').first().clone(),t=e.attr("data-type");e.find("cpac-columns");return n.length>0&&(n.cpac_update_clone_id(t),jQuery(".cpac-columns form",e).append(n),n.cpac_column_refresh(),jQuery(document).trigger("column_add",n)),n}function cpac_add_column(){jQuery("#cpac .add_column").click(function(e){var n=jQuery(this).closest(".columns-container"),t=cpac_create_column(n);t.addClass("opened").find(".column-form").slideDown(150,function(){jQuery("html, body").animate({scrollTop:t.offset().top-58},300)}),e.preventDefault()})}function cpac_sidebar_feedback(){jQuery(function(e){var n=e(".sidebox#direct-feedback");n.find("#feedback-choice a.no").click(function(e){e.preventDefault(),n.find("#feedback-choice").slideUp(),n.find("#feedback-support").slideDown()}),n.find("#feedback-choice a.yes").click(function(e){e.preventDefault(),n.find("#feedback-choice").slideUp(),n.find("#feedback-rate").slideDown()})})}function cpac_clear_input_defaults(){jQuery.fn.cleardefault=function(){return this.focus(function(){this.value==this.defaultValue&&(this.value="")}).blur(function(){this.value.length||(this.value=this.defaultValue)})},jQuery("#cpac-box-plugin_settings .addons input").cleardefault()}function cpac_help(){jQuery("#cpac a.help").click(function(e){e.preventDefault();var n=jQuery("#contextual-help-wrap");n.parent().show(),jQuery('a[href="#tab-panel-cpac-'+jQuery(this).attr("data-help")+'"]',n).trigger("click"),n.slideDown("fast",function(){n.focus()})})}function cpac_pointer(){jQuery(".cpac-pointer").each(function(){var e=jQuery(this),n=e.attr("rel"),t=e.attr("data-pos"),a=e.attr("data-width"),i=e.attr("data-noclick"),c={at:"left top",my:"right top",edge:"right"},o=a?a:250;"right"==t&&(c={at:"right middle",my:"left middle",edge:"left"}),"left"==t&&(c={at:"left middle",my:"right middle",edge:"right"}),e.pointer({content:jQuery("#"+n).html(),position:c,pointerWidth:o,pointerClass:"cpac-wp-pointer wp-pointer wp-pointer-"+c.edge+(i?" noclick":"")}),i||e.click(function(){e.hasClass("open")?e.removeClass("open"):e.addClass("open")}),e.hover(function(){jQuery(this).pointer("open")},function(){var e=jQuery(this);setTimeout(function(){e.hasClass("open")||0!=jQuery(".cpac-wp-pointer.hover").length||e.pointer("close")},100)}).on("close",function(){e.hasClass("open")||0!=jQuery(".cpac-wp-pointer.hover").length||e.pointer("close")})}),jQuery(".cpac-wp-pointer").hover(function(){jQuery(this).addClass("hover")},function(){jQuery(this).removeClass("hover"),jQuery(".cpac-pointer").trigger("close")})}function cpac_init(){var e=jQuery(".columns-container"),n=e.find(".cpac-boxes");if(n.hasClass("disabled"))n.find(".cpac-column").each(function(e,n){jQuery(n).column_bind_toggle(),jQuery(n).find("input, select").prop("disabled",!0)});else{var t=n.find(".cpac-columns");t.find(".cpac-column").each(function(e,n){jQuery(n).column_bind_toggle(),jQuery(n).column_bind_remove(),jQuery(n).column_bind_clone(),jQuery(n).cpac_bind_indicator_events()}),t.cpac_bind_ordering()}jQuery(document).trigger("cac_menu_change",t),jQuery(document).trigger("cac_model_ready",e.data("type"))}function cpac_menu(){jQuery("#cpac_storage_modal_select").on("change",function(){jQuery(this).prop("disabled",!0).next(".spinner").css("display","inline-block"),jQuery(".view-link").hide(),window.location=jQuery(this).val()})}jQuery(document).ready(function(){return 0===jQuery("#cpac").length?!1:(cpac_init(),cpac_pointer(),cpac_submit_form(),cpac_clear_input_defaults(),cpac_menu(),cpac_help(),cpac_add_column(),cpac_importexport(),void cpac_sidebar_feedback())}),jQuery.fn.column_bind_toggle=function(){var e=jQuery(this),n=e.closest("cpac-boxes").hasClass("disabled");e.find("td.column_type a, td.column_edit, td.column_label a.toggle, td.column_label .edit-button").click(function(t){t.preventDefault(),e.toggleClass("opened").find(".column-form").slideToggle(150),n||(e.hasClass("events-binded")||e.column_bind_events(),e.addClass("events-binded"),jQuery(document).trigger("column_init",e))})},jQuery.fn.column_bind_remove=function(){jQuery(this).find(".remove-button").click(function(e){jQuery(this).closest(".cpac-column").column_remove(),e.preventDefault()})},jQuery.fn.column_bind_clone=function(){jQuery(this).find(".clone-button").click(function(e){var n,t;e.preventDefault(),n=jQuery(this).closest(".cpac-column"),t=n.column_clone(),"undefined"!=typeof t&&t.removeClass("loading").hide().slideDown()})},jQuery.fn.cpac_column_refresh=function(){var e=jQuery(this),n=e.find(".column_type select"),t=jQuery(this).closest(".columns-container");e.addClass("loading"),n.prop("disabled",1);var a=jQuery.post(ajaxurl,{plugin_id:"cpac",action:"cpac_column_refresh",_ajax_nonce:cpac._ajax_nonce,column:jQuery(this).find("input.column-name").val(),formdata:jQuery(this).parents("form").serialize(),storage_model:t.data("type"),layout:t.data("layout")},function(n){if(n){var t=jQuery("<div>"+n.data+"</div>").children();e.replaceWith(t),e=t,e.column_bind_toggle(),e.column_bind_remove(),e.column_bind_clone(),e.column_bind_events(),e.addClass("opened").find(".column-form").show(),jQuery(document).trigger("column_change",e)}},"json");a.fail(function(n){var t=e.closest(".columns-container").find(".ajax-message");t.addClass("error").find("p").html(cpac_i18n.error),t.slideDown(),e.slideUp(function(){e.remove()}),console.log(n.responseText)}),a.always(function(){e.removeClass("loading"),n.prop("disabled",!1)})},jQuery.fn.column_bind_events=function(){var e=jQuery(this),n=e.closest(".columns-container "),t=n.attr("data-type"),a=e.find(".column_type select option:selected").val();e.find(".column_type select").change(function(){var i=jQuery("optgroup",this).children(":selected"),c=i.val(),o=i.text(),r=jQuery(this).next(".msg").hide(),l=n.find('.for-cloning-only .cpac-column[data-type="'+c+'"]');if(l.length)if(l.find(".is-disabled").length)r.html(l.find(".is-disabled").html()).show(),jQuery(this).find("option").removeAttr("selected"),jQuery(this).find('option[value="'+a+'"]').attr("selected","selected");else{if("undefined"==typeof l.attr("data-clone")&&jQuery(".cpac-columns",n).find('[data-type="'+c+'"]').length)return r.html(cpac_i18n.clone.replace("%s","<strong>"+o+"</strong>")).show(),jQuery(this).find("option").removeAttr("selected"),void jQuery(this).find('option[value="'+a+'"]').attr("selected","selected");var u=l.clone();u.addClass("opened").find(".column-form").show(),u.find(".column-meta").replaceWith(e.find(".column-meta")),u.find(".column-form").replaceWith(e.find(".column-form")),u.cpac_update_clone_id(t),e.replaceWith(u),u.cpac_column_refresh()}}),e.find(".column_label .input input").bind("keyup change",function(){var e=jQuery(this).val();jQuery(this).closest(".cpac-column").find("td.column_label .inner > a.toggle").text(e)}),e.column_width_slider();var i=e.find(".column-meta span.width");i.on("update",function(){var n=e.find("input.width").val(),t=e.find("input.unit").filter(":checked").val();n>0?jQuery(this).text(n+t):jQuery(this).text("")});var c=e.find(".column_width .unit-select label");c.on("click",function(){e.find("span.unit").text(jQuery(this).find("input").val()),e.column_width_slider(),i.trigger("update")});var o=e.find("input.width").on("keyup",function(){e.column_width_slider(),jQuery(this).trigger("validate"),i.trigger("update")}).on("validate",function(){var e=o.val(),n=jQuery.trim(e);jQuery.isNumeric(n)||(n=n.replace(/\D/g,"")),n.length>3&&(n=n.substring(0,3)),0>=n&&(n=""),n!==e&&o.val(n)});e.find(".column_image_size label.custom-size").click(function(){var e=jQuery(this).closest(".input");jQuery(this).hasClass("image-size-custom")?(jQuery(".custom-size-w",e).removeClass("hidden"),jQuery(".custom-size-h",e).removeClass("hidden")):(jQuery(".custom-size-w",e).addClass("hidden"),jQuery(".custom-size-h",e).addClass("hidden"))}),e.find(".column-form .label label, .column-form .label .info").hover(function(){jQuery(this).parents(".label").find("p.description").show()},function(){jQuery(this).parents(".label").find("p.description").hide()}),e.find('[data-refresh="1"] select').change(function(){e.cpac_column_refresh()})},jQuery.fn.column_remove=function(){jQuery(this).addClass("deleting").animate({opacity:0,height:0},350,function(e){jQuery(this).remove()})},jQuery.fn.column_width_slider=function(){var e=jQuery(this).find(".column_width"),n=e.find("input.width"),t=e.find("input.unit"),a=t.filter(":checked").val(),i=n.val(),c=e.find(".width-slider"),o=jQuery(this).find(".column-meta span.width");"%"==a&&i>100&&(i=100),n.val(i),c.slider({range:"min",min:0,max:"%"==a?100:500,value:i,slide:function(e,t){n.val(t.value),o.trigger("update"),n.trigger("validate")}})},jQuery.fn.column_clone=function(){var e=jQuery(this).closest(".columns-container"),n=jQuery(this),t=jQuery(this).closest("cpac-columns");if("undefined"==typeof n.attr("data-clone")){var a=cpac_i18n.clone.replace("%s","<strong>"+n.find(".column_label .toggle").text()+"</strong>");return n.addClass("opened").find(".column-form").slideDown(150),void n.find(".msg").html(a).show()}var i=jQuery(this).clone();return i.cpac_update_clone_id(e.attr("data-type")),jQuery(this).after(i),i.column_bind_toggle(),i.column_bind_remove(),i.column_bind_clone(),i.column_bind_events(),t.cpac_bind_ordering(),jQuery(document).trigger("column_add",i),i},jQuery.fn.cpac_update_clone_id=function(e){var n=jQuery(this),t=n.attr("data-type"),a=jQuery('.columns-container[data-type="'+e+'"]').find(".cpac-columns"),i=jQuery(a).find('*[data-type="'+t+'"]').not(n),c=jQuery.map(i,function(e,n){return jQuery(e).attr("data-clone")?parseInt(jQuery(e).attr("data-clone"),10):0});c.sort();for(var o=Math.max.apply(null,c)+1,r=0;o>=r&&-1!==jQuery.inArray(r,c);r++);var l=n.attr("data-clone"),u="";l&&(u="-"+l),n.attr("data-clone",r),n.find("input.clone").val(r),n.find("input.column-name").val(t+"-"+r);var d=n.find("input, select, label");jQuery(d).each(function(e,n){var a=t+"-"+r;jQuery(n).attr("name")&&jQuery(n).attr("name",jQuery(n).attr("name").replace(t+u,a)),jQuery(n).attr("for")&&jQuery(n).attr("for",jQuery(n).attr("for").replace(t+u,a)),jQuery(n).attr("id")&&jQuery(n).attr("id",jQuery(n).attr("id").replace(t+u,a))})},jQuery.fn.cpac_bind_ordering=function(){jQuery(this).each(function(){jQuery(this).hasClass("ui-sortable")?jQuery(this).sortable("refresh"):jQuery(this).sortable({items:".cpac-column"})})},jQuery(document).bind("column_init column_change column_add",function(e,n){var t=jQuery(n).closest(".cpac-boxes").hasClass("disabled");t||(jQuery(n).cpac_bind_column_addon_events(),jQuery(n).cpac_bind_indicator_events())}),jQuery.fn.cpac_bind_column_addon_events=function(){var e=jQuery(this),n=e.find("[data-toggle-id] label");n.on("click",function(){var n=jQuery(this).closest("td.input").data("toggle-id"),t=jQuery("input",this).val(),a=e.find('[data-indicator-id="'+n+'"]').removeClass("on");"on"==t&&a.addClass("on");var i=e.find('[data-additional-option-id="'+n+'"]').addClass("hide");"on"==t&&i.removeClass("hide")}),e.find("[data-toggle-id]").each(function(){var n=e.find('[data-additional-option-id="'+jQuery(this).data("toggle-id")+'"]').addClass("hide");"on"==jQuery("input:checked",this).val()&&n.removeClass("hide")})},jQuery.fn.cpac_bind_indicator_events=function(){var e=jQuery(this),n=e.find("[data-indicator-id]");n.unbind("click").click(function(){var n=jQuery(this).data("indicator-id"),t=e.find('[data-toggle-id="'+n+'"] input');jQuery(this).hasClass("on")?(jQuery(this).removeClass("on").addClass("off"),t.filter("[value=off]").prop("checked",!0)):(jQuery(this).removeClass("off").addClass("on"),t.filter("[value=on]").prop("checked",!0))})};
assets/ui-theme/images/ui-bg_flat_0_aaaaaa_40x100.png DELETED
Binary file
assets/ui-theme/images/ui-icons_222222_256x240.png DELETED
Binary file
assets/ui-theme/images/ui-icons_2e83ff_256x240.png DELETED
Binary file
assets/ui-theme/images/ui-icons_454545_256x240.png DELETED
Binary file
assets/ui-theme/images/ui-icons_888888_256x240.png DELETED
Binary file
assets/ui-theme/images/ui-icons_cd0a0a_256x240.png DELETED
Binary file
classes/column.php CHANGED
@@ -166,13 +166,12 @@ class CPAC_Column {
166
'name' => null, // Unique name
167
'label' => null, // Label which describes this column.
168
'classes' => null, // Custom CSS classes for this column.
169
- 'hide_label' => false, // Should the Label be hidden?
170
'is_registered' => true, // Should the column be registered based on conditional logic, example usage see: 'post/page-template.php'
171
'is_cloneable' => true, // Should the column be cloneable
172
- 'default' => false, // Is this a WP default column,
173
- 'group' => __( 'Custom', 'codepress-admin-columns' ),
174
- 'hidden' => false,
175
- 'use_before_after' => false
176
);
177
178
// @since 2.4.7
@@ -184,11 +183,11 @@ class CPAC_Column {
184
185
// Default options
186
$default_options = array(
187
- 'before' => '', // Before field
188
- 'after' => '', // After field
189
- 'width' => null, // Width for this column.
190
- 'width_unit' => '%', // Unit for width; pecentage (%) or pixels (px).
191
- 'state' => 'off' // Active state for this column.
192
);
193
194
/**
@@ -438,6 +437,13 @@ class CPAC_Column {
438
return $this->get_storage_model()->get_post_type();
439
}
440
441
/**
442
* @since 2.3.4
443
*/
@@ -648,7 +654,7 @@ class CPAC_Column {
648
* @since 1.0
649
* @return string Trimmed text.
650
*/
651
- protected function get_shortened_string( $text = '', $num_words = 30, $more = null ) {
652
if ( ! $text ) {
653
return false;
654
}
166
'name' => null, // Unique name
167
'label' => null, // Label which describes this column.
168
'classes' => null, // Custom CSS classes for this column.
169
+ 'hide_label' => false, // Should the Label be hidden?
170
'is_registered' => true, // Should the column be registered based on conditional logic, example usage see: 'post/page-template.php'
171
'is_cloneable' => true, // Should the column be cloneable
172
+ 'default' => false, // Is this a WP default column,
173
+ 'use_before_after' => false, // Should the column use before and after fields
174
+ 'group' => __( 'Custom', 'codepress-admin-columns' ) // Group name
175
);
176
177
// @since 2.4.7
183
184
// Default options
185
$default_options = array(
186
+ 'before' => '', // Before field
187
+ 'after' => '', // After field
188
+ 'width' => null, // Width for this column.
189
+ 'width_unit' => '%', // Unit for width; percentage (%) or pixels (px).
190
+ 'state' => 'off' // Active state for this column.
191
);
192
193
/**
437
return $this->get_storage_model()->get_post_type();
438
}
439
440
+ /**
441
+ * @since 2.5.4
442
+ */
443
+ public function get_storage_model_key() {
444
+ return $this->storage_model;
445
+ }
446
+
447
/**
448
* @since 2.3.4
449
*/
654
* @since 1.0
655
* @return string Trimmed text.
656
*/
657
+ public function get_shortened_string( $text = '', $num_words = 30, $more = null ) {
658
if ( ! $text ) {
659
return false;
660
}
classes/column/custom-field.php CHANGED
@@ -302,7 +302,7 @@ class CPAC_Column_Custom_Field extends CPAC_Column {
302
$checkmark = '<span class="dashicons dashicons-yes cpac_status_yes"></span>';
303
304
if ( empty( $meta ) || 'false' === $meta || '0' === $meta ) {
305
- $checkmark = '';
306
}
307
308
$meta = $checkmark;
302
$checkmark = '<span class="dashicons dashicons-yes cpac_status_yes"></span>';
303
304
if ( empty( $meta ) || 'false' === $meta || '0' === $meta ) {
305
+ $checkmark = '<span class="dashicons dashicons-no cpac_status_no"></span>';
306
}
307
308
$meta = $checkmark;
classes/column/post/attachment.php CHANGED
@@ -38,11 +38,7 @@ class CPAC_Column_Post_Attachment extends CPAC_Column {
38
continue;
39
}
40
41
- $image = implode( $this->get_thumbnails( $value, array(
42
- 'image_size' => $this->options->image_size,
43
- 'image_size_w' => $this->options->image_size_w,
44
- 'image_size_h' => $this->options->image_size_h,
45
- ) ) );
46
47
$values[ $index ] = '<div class="cacie-item" data-cacie-id="' . esc_attr( $value ) . '">' . $image . '</div>';
48
}
38
continue;
39
}
40
41
+ $image = implode( $this->get_thumbnails( $value, (array) $this->options ) );
42
43
$values[ $index ] = '<div class="cacie-item" data-cacie-id="' . esc_attr( $value ) . '">' . $image . '</div>';
44
}
classes/column/post/excerpt.php CHANGED
@@ -1,4 +1,5 @@
1
<?php
2
/**
3
* CPAC_Column_Post_Excerpt
4
*
@@ -15,9 +16,9 @@ class CPAC_Column_Post_Excerpt extends CPAC_Column {
15
parent::init();
16
17
// Properties
18
- $this->properties['type'] = 'column-excerpt';
19
- $this->properties['label'] = __( 'Excerpt', 'codepress-admin-columns' );
20
- $this->properties['object_property'] = 'post_excerpt';
21
22
// Options
23
$this->options['excerpt_length'] = 30;
@@ -29,7 +30,12 @@ class CPAC_Column_Post_Excerpt extends CPAC_Column {
29
*/
30
public function get_value( $post_id ) {
31
32
- return $this->get_post_excerpt( $post_id, $this->options->excerpt_length );
33
}
34
35
/**
1
<?php
2
+
3
/**
4
* CPAC_Column_Post_Excerpt
5
*
16
parent::init();
17
18
// Properties
19
+ $this->properties['type'] = 'column-excerpt';
20
+ $this->properties['label'] = __( 'Excerpt', 'codepress-admin-columns' );
21
+ $this->properties['object_property'] = 'post_excerpt';
22
23
// Options
24
$this->options['excerpt_length'] = 30;
30
*/
31
public function get_value( $post_id ) {
32
33
+ $value = $this->get_post_excerpt( $post_id, $this->options->excerpt_length );
34
+ if ( ! has_excerpt( $post_id ) ) {
35
+ $value = '<span class="cpac-inline-info">' . __( 'Excerpt from content', 'codepress-admin-columns' ) . '</span> ' . $value;
36
+ }
37
+
38
+ return $value;
39
}
40
41
/**
classes/column/post/roles.php CHANGED
@@ -7,41 +7,38 @@
7
*/
8
class CPAC_Column_Post_Roles extends CPAC_Column {
9
10
- /**
11
- * @see CPAC_Column::init()
12
- * @since 2.2.1
13
- */
14
public function init() {
15
-
16
parent::init();
17
18
- // Properties
19
$this->properties['type'] = 'column-roles';
20
$this->properties['label'] = __( 'Roles', 'codepress-admin-columns' );
21
}
22
23
- /**
24
- * @see CPAC_Column::get_value()
25
- * @since 2.0
26
- */
27
- function get_value( $post_id ) {
28
- $roles = array_map( 'translate_user_role', $this->get_raw_value( $post_id ) );
29
30
- return implode( ', ', $roles );
31
}
32
33
- /**
34
- * @see CPAC_Column::get_raw_value()
35
- * @since 2.0.3
36
- */
37
- function get_raw_value( $post_id ) {
38
-
39
- $userdata = get_userdata( get_post_field( 'post_author', $post_id ) );
40
41
- if ( empty( $userdata->roles[0] ) ) {
42
- return array();
43
}
44
45
- return $userdata->roles;
46
}
47
}
7
*/
8
class CPAC_Column_Post_Roles extends CPAC_Column {
9
10
public function init() {
11
parent::init();
12
13
$this->properties['type'] = 'column-roles';
14
$this->properties['label'] = __( 'Roles', 'codepress-admin-columns' );
15
}
16
17
+ public function get_roles() {
18
+ $roles = array();
19
+ foreach ( wp_roles()->roles as $k => $role ) {
20
+ $roles[ $k ] = translate_user_role( $role['name'] );
21
+ }
22
23
+ return $roles;
24
}
25
26
+ public function get_value( $post_id ) {
27
+ $roles = $this->get_roles();
28
29
+ $role_names = array();
30
+ foreach ( $this->get_raw_value( $post_id ) as $role ) {
31
+ if ( isset( $roles[ $role ] ) ) {
32
+ $role_names[ $role ] = $roles[ $role ];
33
+ }
34
}
35
36
+ return implode( ', ', $role_names );
37
+ }
38
+
39
+ public function get_raw_value( $post_id ) {
40
+ $userdata = get_userdata( get_post_field( 'post_author', $post_id ) );
41
+
42
+ return empty( $userdata->roles[0] ) ? array() : $userdata->roles;
43
}
44
}
classes/column/post/status.php CHANGED
@@ -1,4 +1,5 @@
1
<?php
2
/**
3
* CPAC_Column_Post_Status
4
*
@@ -8,55 +9,40 @@ class CPAC_Column_Post_Status extends CPAC_Column {
8
9
private $statuses;
10
11
- /**
12
- * @see CPAC_Column::init()
13
- * @since 2.2.1
14
- */
15
public function init() {
16
-
17
parent::init();
18
19
- // Properties
20
$this->properties['type'] = 'column-status';
21
$this->properties['label'] = __( 'Status', 'codepress-admin-columns' );
22
}
23
24
public function get_status( $name ) {
25
$stati = $this->get_statuses();
26
return isset( $stati[ $name ] ) ? $stati[ $name ] : false;
27
}
28
29
- /**
30
- * Get Statuses
31
- */
32
public function get_statuses() {
33
if ( empty( $this->statuses ) ) {
34
- global $wp_post_statuses;
35
- foreach ( $wp_post_statuses as $k => $status ) {
36
$this->statuses[ $k ] = $status->label;
37
}
38
}
39
return $this->statuses;
40
}
41
42
- /**
43
- * @see CPAC_Column::get_value()
44
- * @since 2.0
45
- */
46
public function get_value( $post_id ) {
47
-
48
$statuses = $this->get_statuses();
49
if ( isset( $statuses['future'] ) ) {
50
- $statuses['future'] .= " <p class='description'>" . date_i18n( get_option( 'date_format' ) . ' ' . get_option( 'time_format' ) , strtotime( get_post_field( 'post_date', $post_id ) ) ) . "</p>";
51
}
52
$post_status = $this->get_raw_value( $post_id );
53
return isset( $statuses[ $post_status ] ) ? $statuses[ $post_status ] : '';
54
}
55
56
- /**
57
- * @see CPAC_Column::get_raw_value()
58
- * @since 2.0.3
59
- */
60
public function get_raw_value( $post_id ) {
61
return get_post_field( 'post_status', $post_id );
62
}
1
<?php
2
+
3
/**
4
* CPAC_Column_Post_Status
5
*
9
10
private $statuses;
11
12
public function init() {
13
parent::init();
14
15
$this->properties['type'] = 'column-status';
16
$this->properties['label'] = __( 'Status', 'codepress-admin-columns' );
17
}
18
19
public function get_status( $name ) {
20
$stati = $this->get_statuses();
21
+
22
return isset( $stati[ $name ] ) ? $stati[ $name ] : false;
23
}
24
25
public function get_statuses() {
26
if ( empty( $this->statuses ) ) {
27
+ $stati = get_post_stati( array( 'internal' => 0 ), 'objects' ) ;
28
+ foreach ( $stati as $k => $status ) {
29
$this->statuses[ $k ] = $status->label;
30
}
31
}
32
+
33
return $this->statuses;
34
}
35
36
public function get_value( $post_id ) {
37
$statuses = $this->get_statuses();
38
if ( isset( $statuses['future'] ) ) {
39
+ $statuses['future'] .= " <p class='description'>" . date_i18n( get_option( 'date_format' ) . ' ' . get_option( 'time_format' ), strtotime( get_post_field( 'post_date', $post_id ) ) ) . "</p>";
40
}
41
$post_status = $this->get_raw_value( $post_id );
42
+
43
return isset( $statuses[ $post_status ] ) ? $statuses[ $post_status ] : '';
44
}
45
46
public function get_raw_value( $post_id ) {
47
return get_post_field( 'post_status', $post_id );
48
}
classes/settings.php CHANGED
@@ -182,17 +182,12 @@ class CPAC_Settings {
182
* @since 1.0
183
*/
184
public function settings_menu() {
185
- // add settings page
186
$this->settings_page = add_submenu_page( 'options-general.php', __( 'Admin Columns Settings', 'codepress-admin-columns' ), __( 'Admin Columns', 'codepress-admin-columns' ), 'manage_admin_columns', 'codepress-admin-columns', array( $this, 'display' ), false, 98 );
187
188
- // add help tabs
189
- add_action( "load-{$this->settings_page}", array( $this, 'help_tabs' ) );
190
-
191
- // register setting
192
register_setting( 'cpac-general-settings', 'cpac_general_options' );
193
194
- // add cap to options.php
195
add_filter( 'option_page_capability_cpac-general-settings', array( $this, 'add_capability' ) );
196
197
$this->enqueue_admin_scripts();
198
}
@@ -224,7 +219,6 @@ class CPAC_Settings {
224
$minified = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
225
226
wp_enqueue_style( 'wp-pointer' );
227
- wp_enqueue_style( 'jquery-ui-lightness', CPAC_URL . 'assets/ui-theme/jquery-ui-1.8.18.custom.css', array(), CPAC_VERSION, 'all' );
228
wp_enqueue_style( 'cpac-admin', CPAC_URL . "assets/css/admin-column{$minified}.css", array(), CPAC_VERSION, 'all' );
229
}
230
@@ -234,6 +228,9 @@ class CPAC_Settings {
234
public function admin_scripts() {
235
236
wp_enqueue_script( 'wp-pointer' );
237
wp_enqueue_script( 'jquery-ui-slider' );
238
239
$minified = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
@@ -284,12 +281,16 @@ class CPAC_Settings {
284
$stored = $storage_model->store( $formdata[ $storage_model->key ] );
285
286
if ( is_wp_error( $stored ) ) {
287
- wp_send_json_error( $stored->get_error_message() );
288
}
289
290
wp_send_json_success(
291
sprintf( __( 'Settings for %s updated successfully.', 'codepress-admin-columns' ), "<strong>" . $storage_model->get_label_or_layout_name() . "</strong>" )
292
- . ' <a href="' . $storage_model->get_link() . '">' . sprintf( __( 'View %s screen', 'codepress-admin-columns' ), $storage_model->label ) . '</a>'
293
);
294
}
295
@@ -321,7 +322,7 @@ class CPAC_Settings {
321
$storage_model->restore();
322
$storage_model->flush_columns();
323
324
- cpac_admin_message( sprintf( __( 'Settings for %s restored successfully.', 'codepress-admin-columns' ), "<strong>" . $storage_model->get_label_or_layout_name() . "</strong>" ), 'updated' );
325
}
326
}
327
break;
@@ -700,6 +701,12 @@ class CPAC_Settings {
700
return $storage_model;
701
}
702
703
/**
704
* @since 1.0
705
*/
@@ -799,7 +806,11 @@ class CPAC_Settings {
799
<?php $label = __( 'Store settings', 'codepress-admin-columns' ); ?>
800
<h3>
801
<span class="left"><?php echo $label; ?></span>
802
- <span class="right"><?php echo esc_html( $storage_model->get_truncated_side_label( $label ) ); ?></span>
803
</h3>
804
805
<div class="form-update">
@@ -951,7 +962,7 @@ class CPAC_Settings {
951
</div><!--.columns-right-->
952
953
<div class="columns-left">
954
- <?php if ( ! $storage_model->get_default_stored_columns() ): ?>
955
<div class="cpac-notice">
956
<p>
957
<?php echo sprintf( __( 'Please visit the %s screen once to load all available columns', 'codepress-admin-columns' ), "<a href='" . $storage_model->get_link() . "'>" . esc_html( $storage_model->label ) . "</a>" ); ?>
@@ -959,6 +970,8 @@ class CPAC_Settings {
959
</div>
960
<?php endif ?>
961
962
<div class="ajax-message"><p></p></div>
963
964
<?php if ( $storage_model->is_using_php_export() ) : ?>
182
* @since 1.0
183
*/
184
public function settings_menu() {
185
$this->settings_page = add_submenu_page( 'options-general.php', __( 'Admin Columns Settings', 'codepress-admin-columns' ), __( 'Admin Columns', 'codepress-admin-columns' ), 'manage_admin_columns', 'codepress-admin-columns', array( $this, 'display' ), false, 98 );
186
187
register_setting( 'cpac-general-settings', 'cpac_general_options' );
188
189
add_filter( 'option_page_capability_cpac-general-settings', array( $this, 'add_capability' ) );
190
+ add_action( "load-{$this->settings_page}", array( $this, 'help_tabs' ) );
191
192
$this->enqueue_admin_scripts();
193
}
219
$minified = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
220
221
wp_enqueue_style( 'wp-pointer' );
222
wp_enqueue_style( 'cpac-admin', CPAC_URL . "assets/css/admin-column{$minified}.css", array(), CPAC_VERSION, 'all' );
223
}
224
228
public function admin_scripts() {
229
230
wp_enqueue_script( 'wp-pointer' );
231
+
232
+ // width slider
233
+ wp_enqueue_style( 'jquery-ui-lightness', CPAC_URL . 'assets/ui-theme/jquery-ui-1.8.18.custom.css', array(), CPAC_VERSION, 'all' );
234
wp_enqueue_script( 'jquery-ui-slider' );
235
236
$minified = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
281
$stored = $storage_model->store( $formdata[ $storage_model->key ] );
282
283
if ( is_wp_error( $stored ) ) {
284
+ wp_send_json_error( array(
285
+ 'type' => 'same-settings' === $stored->get_error_code() ? 'notice notice-warning' : 'error',
286
+ 'message' => $stored->get_error_message()
287
+ )
288
+ );
289
}
290
291
wp_send_json_success(
292
sprintf( __( 'Settings for %s updated successfully.', 'codepress-admin-columns' ), "<strong>" . $storage_model->get_label_or_layout_name() . "</strong>" )
293
+ . ' <a href="' . $storage_model->get_link() . '">' . sprintf( __( 'View %s screen', 'codepress-admin-columns' ), $storage_model->label ) . '</a>'
294
);
295
}
296
322
$storage_model->restore();
323
$storage_model->flush_columns();
324
325
+ cpac_settings_message( sprintf( __( 'Settings for %s restored successfully.', 'codepress-admin-columns' ), "<strong>" . $storage_model->get_label_or_layout_name() . "</strong>" ), 'updated' );
326
}
327
}
328
break;
701
return $storage_model;
702
}
703
704
+ public function messages() {
705
+ if ( ! empty( $GLOBALS['cpac_settings_messages'] ) ) {
706
+ echo implode( $GLOBALS['cpac_settings_messages'] );
707
+ }
708
+ }
709
+
710
/**
711
* @since 1.0
712
*/
806
<?php $label = __( 'Store settings', 'codepress-admin-columns' ); ?>
807
<h3>
808
<span class="left"><?php echo $label; ?></span>
809
+ <?php if ( 18 > strlen( $label ) && ( $truncated_label = $storage_model->get_truncated_side_label( $label ) ) ) : ?>
810
+ <span class="right contenttype"><?php echo esc_html( $truncated_label ); ?></span>
811
+ <?php else : ?>
812
+ <span class="clear contenttype"><?php echo esc_html( $storage_model->label ); ?></span>
813
+ <?php endif; ?>
814
</h3>
815
816
<div class="form-update">
962
</div><!--.columns-right-->
963
964
<div class="columns-left">
965
+ <?php if ( ! $storage_model->get_default_stored_columns() && ! $storage_model->is_using_php_export() ): ?>
966
<div class="cpac-notice">
967
<p>
968
<?php echo sprintf( __( 'Please visit the %s screen once to load all available columns', 'codepress-admin-columns' ), "<a href='" . $storage_model->get_link() . "'>" . esc_html( $storage_model->label ) . "</a>" ); ?>
970
</div>
971
<?php endif ?>
972
973
+ <?php $this->messages(); ?>
974
+
975
<div class="ajax-message"><p></p></div>
976
977
<?php if ( $storage_model->is_using_php_export() ) : ?>
classes/storage_model.php CHANGED
@@ -508,8 +508,8 @@ abstract class CPAC_Storage_Model {
508
}
509
510
public function set_layout( $layout_id ) {
511
- $this->layout = $layout_id;
512
- $this->flush_columns(); // forces $this->columns to be repopulated
513
}
514
515
public function init_layout() {
@@ -964,7 +964,7 @@ abstract class CPAC_Storage_Model {
964
965
// for the rare case where a screen hasn't been set yet and a
966
// plugin uses a custom version of apply_filters( "manage_{$screen->id}_columns", array() )
967
- if ( ! get_current_screen() ) {
968
return $columns;
969
}
970
508
}
509
510
public function set_layout( $layout_id ) {
511
+ $this->layout = is_scalar( $layout_id ) ? $layout_id : null;
512
+ $this->flush_columns(); // forces $columns and $stored_columns to be repopulated
513
}
514
515
public function init_layout() {
964
965
// for the rare case where a screen hasn't been set yet and a
966
// plugin uses a custom version of apply_filters( "manage_{$screen->id}_columns", array() )
967
+ if ( ! get_current_screen() && ! cac_wp_is_doing_ajax() ) {
968
return $columns;
969
}
970
classes/storage_model/post.php CHANGED
@@ -47,11 +47,11 @@ class CPAC_Storage_Model_Post extends CPAC_Storage_Model {
47
*/
48
public function get_posts( $args = array() ) {
49
$defaults = array(
50
- 'numberposts' => - 1,
51
- 'post_status' => array( 'any', 'trash' ),
52
- 'post_type' => $this->post_type,
53
- 'fields' => 'ids',
54
- 'no_found_rows' => 1, // lowers our carbon footprint
55
);
56
57
return (array) get_posts( array_merge( $defaults, $args ) );
47
*/
48
public function get_posts( $args = array() ) {
49
$defaults = array(
50
+ 'posts_per_page' => -1,
51
+ 'post_status' => apply_filters( 'cac/get_posts/post_status', array( 'any', 'trash' ), $this ),
52
+ 'post_type' => $this->get_post_type(),
53
+ 'fields' => 'ids',
54
+ 'no_found_rows' => 1,
55
);
56
57
return (array) get_posts( array_merge( $defaults, $args ) );
classes/third_party/wpml.php CHANGED
@@ -11,7 +11,7 @@ class CPAC_WPML_COLUMN {
11
12
function __construct( $post_type ) {
13
add_filter( "manage_{$post_type}_posts_columns", array( $this, 'store_wpml_column' ), 11 ); // prio just after WPML set's it's column
14
- add_filter( "manage_edit-{$post_type}_columns", array( $this, 'replace_wpml_column' ), 101 ); // prio just after AC overwrite all columns
15
}
16
17
public function store_wpml_column( $columns ) {
@@ -49,17 +49,6 @@ class CPAC_WPML {
49
50
// set WPML to be a columns screen for translation so that storage models are loaded
51
add_filter( 'cac/is_cac_screen', array( $this, 'is_cac_screen' ) );
52
-
53
- // change label from icl_translations to WPML flags
54
- add_action( 'cac/column_types', array( $this, 'readable_label' ) );
55
- }
56
-
57
- public function readable_label( $column_types ) {
58
- if ( isset( $column_types['icl_translations'] ) ) {
59
- $column_types['icl_translations']->properties->name = __( 'WPML Flags', 'codepress-admin-columns' );
60
- }
61
-
62
- return $column_types;
63
}
64
65
public function replace_flags( $cac ) {
@@ -87,7 +76,7 @@ class CPAC_WPML {
87
// Create translatable column labels
88
public function register_column_labels() {
89
90
- // dont load this unless required by WPML
91
if ( ! isset( $_GET['page'] ) || 'wpml-string-translation/menu/string-translation.php' !== $_GET['page'] ) {
92
return;
93
}
@@ -117,4 +106,4 @@ class CPAC_WPML {
117
}
118
}
119
120
- new CPAC_WPML;
11
12
function __construct( $post_type ) {
13
add_filter( "manage_{$post_type}_posts_columns", array( $this, 'store_wpml_column' ), 11 ); // prio just after WPML set's it's column
14
+ add_filter( "manage_edit-{$post_type}_columns", array( $this, 'replace_wpml_column' ), 201 ); // prio just after AC overwrite all columns
15
}
16
17
public function store_wpml_column( $columns ) {
49
50
// set WPML to be a columns screen for translation so that storage models are loaded
51
add_filter( 'cac/is_cac_screen', array( $this, 'is_cac_screen' ) );
52
}
53
54
public function replace_flags( $cac ) {
76
// Create translatable column labels
77
public function register_column_labels() {
78
79
+ // don't load this unless required by WPML
80
if ( ! isset( $_GET['page'] ) || 'wpml-string-translation/menu/string-translation.php' !== $_GET['page'] ) {
81
return;
82
}
106
}
107
}
108
109
+ new CPAC_WPML;
classes/utility.php CHANGED
@@ -28,6 +28,10 @@ function cpac_admin_notice() {
28
echo implode( $GLOBALS['cpac_messages'] );
29
}
30
31
/**
32
* Is doing ajax
33
*
28
echo implode( $GLOBALS['cpac_messages'] );
29
}
30
31
+ function cpac_settings_message( $message = '', $type = 'updated' ) {
32
+ $GLOBALS['cpac_settings_messages'][] = '<div class="cpac_message inline ' . $type . '"><p>' . $message . '</p></div>'; // .inline prevents JS from placing it below h2
33
+ }
34
+
35
/**
36
* Is doing ajax
37
*
codepress-admin-columns.php CHANGED
@@ -1,7 +1,7 @@
1
<?php
2
/*
3
Plugin Name: Admin Columns
4
- Version: 2.5.3
5
Description: Customize columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
6
Author: AdminColumns.com
7
Author URI: https://www.admincolumns.com
@@ -32,7 +32,7 @@ if ( ! defined( 'ABSPATH' ) ) {
32
}
33
34
// Plugin information
35
- define( 'CPAC_VERSION', '2.5.3' ); // Current plugin version
36
define( 'CPAC_UPGRADE_VERSION', '2.0.0' ); // Latest version which requires an upgrade
37
define( 'CPAC_URL', plugin_dir_url( __FILE__ ) );
38
define( 'CPAC_DIR', plugin_dir_path( __FILE__ ) );
@@ -299,6 +299,26 @@ class CPAC {
299
}
300
}
301
302
/**
303
* Get storage model object of currently active storage model
304
* On the users overview page, for example, this returns the CPAC_Storage_Model_User object
1
<?php
2
/*
3
Plugin Name: Admin Columns
4
+ Version: 2.5.4
5
Description: Customize columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
6
Author: AdminColumns.com
7
Author URI: https://www.admincolumns.com
32
}
33
34
// Plugin information
35
+ define( 'CPAC_VERSION', '2.5.4' ); // Current plugin version
36
define( 'CPAC_UPGRADE_VERSION', '2.0.0' ); // Latest version which requires an upgrade
37
define( 'CPAC_URL', plugin_dir_url( __FILE__ ) );
38
define( 'CPAC_DIR', plugin_dir_path( __FILE__ ) );
299
}
300
}
301
302
+ /**
303
+ * Get column object
304
+ *
305
+ * @since 2.5.4
306
+ * @param $storage_key CPAC_Storage_Model->key
307
+ * @param $layout_id CPAC_Storage_Model->layout
308
+ * @param $column_name CPAC_Column->name
309
+ *
310
+ * @return object CPAC_Column Column onject
311
+ */
312
+ public function get_column( $storage_key, $layout_id, $column_name ) {
313
+ $column = false;
314
+ if ( $storage_model = $this->get_storage_model( $storage_key ) ) {
315
+ $storage_model->set_layout( $layout_id );
316
+ $column = $storage_model->get_column_by_name( $column_name );
317
+ }
318
+
319
+ return $column;
320
+ }
321
+
322
/**
323
* Get storage model object of currently active storage model
324
* On the users overview page, for example, this returns the CPAC_Storage_Model_User object
languages/codepress-admin-columns-de_DE.mo ADDED
Binary file
languages/codepress-admin-columns-de_DE.po ADDED
@@ -0,0 +1,1335 @@
1
+ # Copyright (C) 2015 Codepress Admin Columns
2
+ # This file is distributed under the same license as the Codepress Admin Columns package.
3
+ # Translators:
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: Admin Columns\n"
7
+ "Report-Msgid-Bugs-To: https://www.admincolumns.com\n"
8
+ "PO-Revision-Date: 2016-03-17 14:30+0000\n"
9
+ "Last-Translator: Björn Scheppler <bjoern.scheppler@gmail.com>\n"
10
+ "Language-Team: German (Germany) (http://www.transifex.com/codepress/admin-columns/language/de_DE/)\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "Language: de_DE\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-Basepath: ..\n"
17
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
20
+ "X-Poedit-SourceCharset: UTF-8\n"
21
+
22
+ #: ../codepress-admin-columns.php:451
23
+ msgid "Edit columns"
24
+ msgstr "Bearbeite Spalten"
25
+
26
+ #: ../classes/addons.php:110
27
+ msgid "Plugins"
28
+ msgstr "Plug-Ins"
29
+
30
+ #: ../classes/addons.php:135
31
+ msgid "Advanced Custom Fields"
32
+ msgstr "Advanced Custom Fields"
33
+
34
+ #: ../classes/addons.php:136
35
+ msgid ""
36
+ "Display and edit Advanced Custom Fields fields in the posts overview in "
37
+ "seconds!"
38
+ msgstr "Zeige und editiere Advanced Custom Fields-Felder in der Beitragsübersicht innerhalb von Sekunden!"
39
+
40
+ #: ../classes/addons.php:141
41
+ msgid "WooCommerce"
42
+ msgstr "WooCommerce"
43
+
44
+ #: ../classes/addons.php:142
45
+ msgid ""
46
+ "Enhance the products, orders and coupons overviews with new columns and "
47
+ "inline editing."
48
+ msgstr "Erweitere die Produkte, Bestellungen und Gutschein-Übersichten mit neuen Spalten und Inline-Bearbeitung."
49
+
50
+ #: ../classes/column.php:624
51
+ msgid "Thumbnail"
52
+ msgstr "Vorschaubild"
53
+
54
+ #: ../classes/column.php:625
55
+ msgid "Medium"
56
+ msgstr "Mittel"
57
+
58
+ #: ../classes/column.php:626
59
+ msgid "Large"
60
+ msgstr "Groß"
61
+
62
+ #: ../classes/column.php:627
63
+ msgid "Full"
64
+ msgstr "Voll"
65
+
66
+ #: ../classes/column.php:1059
67
+ msgid "Exact match"
68
+ msgstr "Genauer Treffer"
69
+
70
+ #: ../classes/column.php:1060
71
+ msgid "Lesser than"
72
+ msgstr "Kleiner als"
73
+
74
+ #: ../classes/column.php:1061
75
+ msgid "Greater than"
76
+ msgstr "Grösser als"
77
+
78
+ #: ../classes/column.php:1062
79
+ msgid "Between"
80
+ msgstr "Zwischen"
81
+
82
+ #: ../classes/column.php:1089
83
+ msgid "Date Format"
84
+ msgstr "Datumsformat"
85
+
86
+ #: ../classes/column.php:1090
87
+ msgid "This will determine how the date will be displayed."
88
+ msgstr "Dies legt fest, wie das Datum dargestellt wird."
89
+
90
+ #: ../classes/column.php:1096
91
+ msgid "Example:"
92
+ msgstr "Beispiel:"
93
+
94
+ #: ../classes/column.php:1098
95
+ msgid ""
96
+ "Leave empty for WordPress date format, change your <a href='%s'>default date"
97
+ " format here</a>."
98
+ msgstr "Leer lassen für das WordPress Datumsformat, ansonsten passe Dein <a href='%s'>Standard-Datumsformat</a> hier an."
99
+
100
+ #: ../classes/column.php:1099
101
+ msgid "Documentation on date and time formatting."
102
+ msgstr "Dokumentation zu Datums- und Zeitformatierung."
103
+
104
+ #: ../classes/column.php:1113
105
+ msgid "Excerpt length"
106
+ msgstr "Auszuglänge"
107
+
108
+ #: ../classes/column.php:1114
109
+ msgid "Number of words"
110
+ msgstr "Anzahl Wörter"
111
+
112
+ #: ../classes/column.php:1132
113
+ msgid "Preview size"
114
+ msgstr "Vorschau-Größe"
115
+
116
+ #: ../classes/column.php1149, ../classes/storage_model.php:642
117
+ msgid "Custom"
118
+ msgstr "Benutzerdefiniert"
119
+
120
+ #: ../classes/column.php1152, ../classes/column.php:1328
121
+ msgid "width"
122
+ msgstr "Breite"
123
+
124
+ #: ../classes/column.php:1155
125
+ msgid "height"
126
+ msgstr "Höhe"
127
+
128
+ #: ../classes/column.php:1167
129
+ msgid "Before"
130
+ msgstr "vor"
131
+
132
+ #: ../classes/column.php:1167
133
+ msgid "This text will appear before the custom field value."
134
+ msgstr "Dieser Text wird vor dem Wert des benutzerdefinerten Felds angezeigt (Präfix)."
135
+
136
+ #: ../classes/column.php:1168
137
+ msgid "After"
138
+ msgstr "nach"
139
+
140
+ #: ../classes/column.php:1168
141
+ msgid "This text will appear after the custom field value."
142
+ msgstr "Dieser Text wird nach dem Wert des benutzerdefinerten Felds angezeigt (Suffix)."
143
+
144
+ #: ../classes/column.php:1177
145
+ msgid "Display Name"
146
+ msgstr "Anzeigename"
147
+
148
+ #: ../classes/column.php1178, ../classes/settings.php:733
149
+ msgid "First Name"
150
+ msgstr "Vorname"
151
+
152
+ #: ../classes/column.php:1179
153
+ msgid "Last Name"
154
+ msgstr "Nachname"
155
+
156
+ #: ../classes/column.php1180, ../classes/column/user/nickname.php:19
157
+ msgid "Nickname"
158
+ msgstr "Spitzname"
159
+
160
+ #: ../classes/column.php:1181
161
+ msgid "User Login"
162
+ msgstr "User Login"
163
+
164
+ #: ../classes/column.php:1182
165
+ msgid "User Email"
166
+ msgstr "Benutzer Email"
167
+
168
+ #: ../classes/column.php1183, ../classes/column/user/ID.php:19
169
+ msgid "User ID"
170
+ msgstr "Benutzer ID"
171
+
172
+ #: ../classes/column.php:1184
173
+ msgid "First and Last Name"
174
+ msgstr "Vorname und Nachname"
175
+
176
+ #: ../classes/column.php:1187
177
+ msgid "Display format"
178
+ msgstr "Anzeigeformat"
179
+
180
+ #: ../classes/column.php:1187
181
+ msgid "This is the format of the author name."
182
+ msgstr "Dies ist das Format des Autor-Namens."
183
+
184
+ #: ../classes/column.php:1350
185
+ msgid "Edit"
186
+ msgstr "Bearbeiten"
187
+
188
+ #: ../classes/column.php1352, ../classes/column.php:1444
189
+ msgid "Clone"
190
+ msgstr "Dupliziern"
191
+
192
+ #: ../classes/column.php:1354
193
+ msgid "Remove"
194
+ msgstr "Entfernen"
195
+
196
+ #: ../classes/column.php1372, ../classes/column.php1372,
197
+ #: ../classes/column/custom-field.php408,
198
+ #: ../classes/column/comment/type.php:13
199
+ msgid "Type"
200
+ msgstr "Typ"
201
+
202
+ #: ../classes/column.php:1372
203
+ msgid "Choose a column type."
204
+ msgstr "Wählen Sie einen Spaltentyp aus."
205
+
206
+ #: ../classes/column.php:1372
207
+ msgid "Name"
208
+ msgstr "Name"
209
+
210
+ #: ../classes/column.php:1382
211
+ msgid "Label"
212
+ msgstr "Beschriftung"
213
+
214
+ #: ../classes/column.php:1382
215
+ msgid "This is the name which will appear as the column header."
216
+ msgstr "Dies ist der Name, der als Spaltenüberschrift angezeigt wird."
217
+
218
+ #: ../classes/column.php1389, ../classes/column/media/width.php:19
219
+ msgid "Width"
220
+ msgstr "Breite"
221
+
222
+ #: ../classes/column.php:1391
223
+ msgid "default"
224
+ msgstr "Vorgabe"
225
+
226
+ #: ../classes/column.php:1392
227
+ msgid "auto"
228
+ msgstr "automatisch"
229
+
230
+ #: ../classes/column.php:1466
231
+ msgid "Property To Display"
232
+ msgstr "Anzuzeigende Eigenschaft"
233
+
234
+ #: ../classes/column.php:1472
235
+ msgid "Post property to display for related post(s)."
236
+ msgstr "Anzuzeigende Eigenschaften für Beiträge in Beziehung"
237
+
238
+ #: ../classes/column.php1484, ../classes/column/post/author-name.php:95
239
+ msgid "Link To"
240
+ msgstr "Verweis zu"
241
+
242
+ #: ../classes/column.php:1489
243
+ msgid "Edit Post Author"
244
+ msgstr "Beitrags-Autor editieren"
245
+
246
+ #: ../classes/column.php:1490
247
+ msgid "View Public Post Author Page"
248
+ msgstr "Öffentliche Beitrags-Autor-Seite anzeigen"
249
+
250
+ #: ../classes/column.php:1492
251
+ msgid "Page the posts should link to."
252
+ msgstr "Seite, zu welcher die Beiträge verlinken sollen."
253
+
254
+ #: ../classes/review_notice.php55, ../classes/settings.php170,
255
+ #: ../classes/settings.php599, ../classes/upgrade.php:135
256
+ msgid "Admin Columns"
257
+ msgstr "Admin Columns"
258
+
259
+ #: ../classes/review_notice.php:58
260
+ msgid "Admin Columns Pro"
261
+ msgstr "Admin Columns Pro"
262
+
263
+ #: ../classes/review_notice.php:68
264
+ msgid "click here"
265
+ msgstr "Hier klicken"
266
+
267
+ #: ../classes/review_notice.php:72
268
+ msgid "Leave a review!"
269
+ msgstr "Hinterlasse eine Bewertung!"
270
+
271
+ #: ../classes/review_notice.php:73
272
+ msgid "Permanently hide notice"
273
+ msgstr "Diesen Hinweis ausblenden"
274
+
275
+ #: ../classes/review_notice.php:80
276
+ msgid ""
277
+ "We're sorry to hear that; maybe we can help! If you're having problems "
278
+ "properly setting up %s or if you would like help with some more advanced "
279
+ "features, please visit our %s."
280
+ msgstr "Es tut uns leid, dies zu hören. Vielleicht können wir helfen! Wenn Sie Probleme haben, %s richtig aufzusetzen oder wenn Sie Hilfe mit fortgeschrittenen Funktionen benötigen, bitte besuchen Sie unseren %s."
281
+
282
+ #: ../classes/review_notice.php:82
283
+ msgid "documentation page"
284
+ msgstr "Dokumentation"
285
+
286
+ #: ../classes/review_notice.php:86
287
+ msgid ""
288
+ "As an Admin Columns Pro user, you can also use your AdminColumns.com account"
289
+ " to access product support through %s!"
290
+ msgstr "Mit einer Admin Columns Pro-Lizenz können Sie auch Ihr AdminColumns.com-Konto nutzen, um den Produkte-Support in Anspruch zu nehmen unter %s!"
291
+
292
+ #: ../classes/review_notice.php:87
293
+ msgid "our forums"
294
+ msgstr "Unsere Foren"
295
+
296
+ #: ../classes/review_notice.php:91
297
+ msgid "You can also find help on the %s, and %s."
298
+ msgstr "Sie können auch Hilfe auf %s und %s finden."
299
+
300
+ #: ../classes/review_notice.php:92
301
+ msgid "Admin Columns forums on WordPress.org"
302
+ msgstr "Admin Columns Foren auf wordpress.org"
303
+
304
+ #: ../classes/review_notice.php:93
305
+ msgid "find answers to some frequently asked questions"
306
+ msgstr "finden Sie Antworten auf einige häufig gestellte Fragen"
307
+
308
+ #: ../classes/settings.php:113
309
+ msgid "Add-on successfully activated."
310
+ msgstr "Add-on erfolgreich aktiviert."
311
+
312
+ #: ../classes/settings.php:116
313
+ msgid "Add-on successfully deactivated."
314
+ msgstr "Add-on erfolgreich deaktiviert."
315
+
316
+ #: ../classes/settings.php:170
317
+ msgid "Admin Columns Settings"
318
+ msgstr "Admin Columns-Einstellungen"
319
+
320
+ #: ../classes/settings.php:228
321
+ msgid "%s column is already present and can not be duplicated."
322
+ msgstr "Spalte %s ist bereits vorhanden und kann nicht dupliziert werden."
323
+
324
+ #: ../classes/settings.php:284
325
+ msgid "Default settings succesfully restored."
326
+ msgstr "Standardeinstellungen wieder hergestellt."
327
+
328
+ #: ../classes/settings.php:301
329
+ msgid "Overview"
330
+ msgstr "Übersicht"
331
+
332
+ #: ../classes/settings.php:304
333
+ msgid ""
334
+ "This plugin is for adding and removing additional columns to the "
335
+ "administration screens for post(types), pages, media library, comments, "
336
+ "links and users. Change the column's label and reorder them."
337
+ msgstr "Dieses Plugin dient dem Hinzufügen und Entfernen zusätzlicher Spalten für die Admin-Bildschirme für Beiträge (inklusive Custom Post Types), Seiten, Medienbibliothek, Kommentare, Links und Benutzer. Ändern Sie die Spaltenbeschriftung und ordnen Sie die Spalten."
338
+
339
+ #: ../classes/settings.php:307
340
+ msgid "Basics"
341
+ msgstr "Basics"
342
+
343
+ #: ../classes/settings.php:309
344
+ msgid "Change order"
345
+ msgstr "Reihenfolge ändern"
346
+
347
+ #: ../classes/settings.php:310
348
+ msgid ""
349
+ "By dragging the columns you can change the order which they will appear in."
350
+ msgstr "Durch Ziehen der Spalten können Sie die Reihenfolge ändern, in welcher Sie angezeigt werden."
351
+
352
+ #: ../classes/settings.php:311
353
+ msgid "Change label"
354
+ msgstr "Beschriftung anpassen"
355
+
356
+ #: ../classes/settings.php:312
357
+ msgid ""
358
+ "By clicking on the triangle you will see the column options. Here you can "
359
+ "change each label of the columns heading."
360
+ msgstr "Indem Sie auf das Dreieck klicken, sehen Sie die Spaltenoptionen. Hier können Sie jede Spaltenüberschrift ändern."
361
+
362
+ #: ../classes/settings.php:313
363
+ msgid "Change column width"
364
+ msgstr "Ändern der Spaltenbreite"
365
+
366
+ #: ../classes/settings.php:314
367
+ msgid ""
368
+ "By clicking on the triangle you will see the column options. By using the "
369
+ "draggable slider you can set the width of the columns in percentages."
370
+ msgstr "Indem Sie auf das Dreieck klicken, sehen Sie die Spaltenoptionen. Mit dem Schieberegler können Sie die Breite der Spalten in Prozentwerten festlegen."
371
+
372
+ #: ../classes/settings.php318, ../classes/storage_model.php641,
373
+ #: ../classes/column/custom-field.php23,
374
+ #: ../classes/column/custom-field.php:391
375
+ msgid "Custom Field"
376
+ msgstr "Benutzerdefiniertes Feld"
377
+
378
+ #: ../classes/settings.php:320
379
+ msgid "'Custom Field' column"
380
+ msgstr "'Benutzerdefinertes Feld'-Spalte"
381
+
382
+ #: ../classes/settings.php:321
383
+ msgid ""
384
+ "The custom field colum uses the custom fields from posts and users. There "
385
+ "are 10 types which you can set."
386
+ msgstr "Die 'Benutzerdefiniertes Feld'-Spalte verwendet die benutzerdefinierte Felder von Beiträgen und Benutzern. Es gibt 10 Typen, die Sie festlegen können."
387
+
388
+ #: ../classes/settings.php323, ../classes/storage_model.php640,
389
+ #: ../classes/column/custom-field.php:95
390
+ msgid "Default"
391
+ msgstr "Standard"
392
+
393
+ #: ../classes/settings.php:323
394
+ msgid ""
395
+ "Value: Can be either a string or array. Arrays will be flattened and values "
396
+ "are seperated by a ',' comma."
397
+ msgstr "Wert: Kann entweder eine Zeichenkette oder ein Array sein. Arrays werden \"flach\" dargestellt und ihre Werte werden durch ein Komma getrennt."
398
+
399
+ #: ../classes/settings.php324, ../classes/column/custom-field.php101,
400
+ #: ../classes/column/link/image.php:19
401
+ msgid "Image"
402
+ msgstr "Bild"
403
+
404
+ #: ../classes/settings.php:324
405
+ msgid ""
406
+ "Value: should contain an image URL or Attachment IDs ( seperated by a ',' "
407
+ "comma )."
408
+ msgstr "Wert: sollte eine Bild-URL oder eine kommagetrennte Liste von Anhang-IDs enthalten."
409
+
410
+ #: ../classes/settings.php325, ../classes/column/post/excerpt.php:19
411
+ msgid "Excerpt"
412
+ msgstr "Auszug"
413
+
414
+ #: ../classes/settings.php:325
415
+ msgid "Value: This will show the first 20 words of the Post content."
416
+ msgstr "Wert: Dies wird die ersten 20 Wörter des Beitrag-Inhalts anzeigen."
417
+
418
+ #: ../classes/settings.php326, ../classes/column/custom-field.php:103
419
+ msgid "Multiple Values"
420
+ msgstr "Mehrere Werte"
421
+
422
+ #: ../classes/settings.php:326
423
+ msgid ""
424
+ "Value: should be an array. This will flatten any ( multi dimensional ) "
425
+ "array."
426
+ msgstr "Wert: sollte ein Array sein. Dies wird jedes multidimensionale Array \"flach\" ausgeben."
427
+
428
+ #: ../classes/settings.php327, ../classes/column/custom-field.php:104
429
+ msgid "Numeric"
430
+ msgstr "Numerisch"
431
+
432
+ #: ../classes/settings.php:327
433
+ msgid ""
434
+ "Value: Integers only.<br/>If you have the 'sorting addon' this will be used "
435
+ "for sorting, so you can sort your posts on numeric (custom field) values."
436
+ msgstr "Wert: Nur ganze Zahlen.<br>Falls Sie das Sortieren-Addon haben, wird dieses für die Sortierung verwendet. So können Sie Ihre Beiträge auch für benutzerdefinierte Felder nach numerischen Werte sortieren."
437
+
438
+ #: ../classes/settings.php328, ../classes/column/custom-field.php99,
439
+ #: ../classes/column/comment/date.php:19
440
+ msgid "Date"
441
+ msgstr "Datum"
442
+
443
+ #: ../classes/settings.php:328
444
+ msgid ""
445
+ "Value: Can be unix time stamp or a date format as described in the <a "
446
+ "href='%s'>Codex</a>. You can change the outputted date format at the <a "
447
+ "href='%s'>general settings</a> page."
448
+ msgstr "Wert: Kann ein Unix-Zeitstempel sein oder ein Datumsformat wie im <a href='%s'>Codex</a>beschrieben. Sie können das zu verwendende Datums-Format auf der Seite <a href='%s'>Allgemeine Einstellungen</a> ändern."
449
+
450
+ #: ../classes/settings.php:329
451
+ msgid "Post Titles"
452
+ msgstr "Beitragstitel"
453
+
454
+ #: ../classes/settings.php:329
455
+ msgid "Value: can be one or more Post ID's (seperated by ',')."
456
+ msgstr "Wert: kann ein oder mehrere kommagetrennte Post-IDs sein."
457
+
458
+ #: ../classes/settings.php:330
459
+ msgid "Usernames"
460
+ msgstr "Benutzernamen"
461
+
462
+ #: ../classes/settings.php:330
463
+ msgid "Value: can be one or more User ID's (seperated by ',')."
464
+ msgstr "Wert: kann ein oder mehrere kommagetrennte Benutzer-IDs sein."
465
+
466
+ #: ../classes/settings.php:331
467
+ msgid "Checkmark"
468
+ msgstr "Häkchen"
469
+
470
+ #: ../classes/settings.php:331
471
+ msgid "Value: should be a 1 (one) or 0 (zero)."
472
+ msgstr "Wert: sollte eine 1 (eins) oder 0 (null) sein."
473
+
474
+ #: ../classes/settings.php332, ../classes/column/custom-field.php:97
475
+ msgid "Color"
476
+ msgstr "Farbe"
477
+
478
+ #: ../classes/settings.php:332
479
+ msgid "Value: hex value color, such as #808080."
480
+ msgstr "Wert: hex-Wert Farbe, z. B. #808080."
481
+
482
+ #: ../classes/settings.php333, ../classes/column/custom-field.php:98
483
+ msgid "Counter"
484
+ msgstr "Zähler"
485
+
486
+ #: ../classes/settings.php:333
487
+ msgid ""
488
+ "Value: Can be either a string or array. This will display a count of the "
489
+ "number of times the meta key is used by the item."
490
+ msgstr "Wert: Kann entweder ein String oder Array sein. Dies wird anzeigen, wie oft ein Metaschlüssel (meta key) von einem Eintrag genutzt wird."
491
+
492
+ #: ../classes/settings.php:422
493
+ msgid "Welcome to Admin Columns"
494
+ msgstr "Willkommen bei Admin Columns"
495
+
496
+ #: ../classes/settings.php:425
497
+ msgid "Thank you for updating to the latest version!"
498
+ msgstr "Danke, dass du auf die neueste Version aktualisiert hast!"
499
+
500
+ #: ../classes/settings.php:426
501
+ msgid ""
502
+ "Admin Columns is more polished and enjoyable than ever before. We hope you "
503
+ "like it."
504
+ msgstr "Admin Columns ist besser als je zuvor. Hoffentlich gefällt’s!"
505
+
506
+ #: ../classes/settings.php:431
507
+ msgid "What’s New"
508
+ msgstr "Was gibt’s Neues"
509
+
510
+ #: ../classes/settings.php:432
511
+ msgid "Changelog"
512
+ msgstr "Änderungsverlauf"
513
+
514
+ #: ../classes/settings.php:437
515
+ msgid "Important"
516
+ msgstr "Wichtig"
517
+
518
+ #: ../classes/settings.php:439
519
+ msgid "Database Changes"
520
+ msgstr "Datenbankänderungen"
521
+
522
+ #: ../classes/settings.php:440
523
+ msgid ""
524
+ "The database has been changed between versions 1 and 2. But we made sure you"
525
+ " can still roll back to version 1x without any issues."
526
+ msgstr "Die Datenbank wurde zwischen den Versionen 1 und 2 geändert. Aber wir stellen sicher, dass Sie noch auf Version 1.x ohne Probleme zurück wechseln können."
527
+
528
+ #: ../classes/settings.php:443
529
+ msgid "Make sure you backup your database and then click"
530
+ msgstr "Stellen Sie sicher, dass Sie Ihre Datenbank gesichert haben und klicken Sie dann auf"
531
+
532
+ #: ../classes/settings.php443, ../classes/upgrade.php:143
533
+ msgid "Upgrade Database"
534
+ msgstr "Datenbank Upgrade"
535
+
536
+ #: ../classes/settings.php:446
537
+ msgid "Potential Issues"
538
+ msgstr "Mögliche Probleme"
539
+
540
+ #: ../classes/settings.php:447
541
+ msgid ""
542
+ "Do to the sizable refactoring the code, surounding Addons and "
543
+ "action/filters, your website may not operate correctly. It is important that"
544
+ " you read the full"
545
+ msgstr "Aufgrund der beträchtlichen Umgestaltung des Plugin-Codes, abhängige Addons und Actions/filters, Ihre Website wird möglicherweise nicht ordnungsgemäß funktionieren. Es ist daher wichtig, dass Sie vollständig lesen"
546
+
547
+ #: ../classes/settings.php:447
548
+ msgid "Migrating from v1 to v2"
549
+ msgstr "Migration von v1 auf v2"
550
+
551
+ #: ../classes/settings.php:447
552
+ msgid "guide to view the full list of changes."
553
+ msgstr "Leitfaden für die vollständige Liste der Änderungen anzuzeigen."
554
+
555
+ #: ../classes/settings.php:447
556
+ msgid ""
557
+ "When you have found a bug please <a href='%s'>report them to us</a> so we "
558
+ "can fix it in the next release."
559
+ msgstr "Wenn Sie einen Fehler finden, bitte <a href='%s'>melden sie uns</a> diesen, damit wir diesen in der nächsten Version beheben können."
560
+
561
+ #: ../classes/settings.php:450
562
+ msgid "Important!"
563
+ msgstr "Wichtig!"
564
+
565
+ #: ../classes/settings.php:450
566
+ msgid ""
567
+ "If you updated the Admin Columns plugin without prior knowledge of such "
568
+ "changes, Please roll back to the latest"
569
+ msgstr "Wenn Sie das Plugin Admin Columns ohne Vorkenntnisse über solche Änderungen aktualisiert haben, gehen Sie zurück zur letzten "
570
+
571
+ #: ../classes/settings.php:450
572
+ msgid "version 1"
573
+ msgstr "Version 1"
574
+
575
+ #: ../classes/settings.php:450
576
+ msgid "of this plugin."
577
+ msgstr "dieses Plugins."
578
+
579
+ #: ../classes/settings.php:456
580
+ msgid "Changelog for"
581
+ msgstr "Änderungsverlauf für"
582
+
583
+ #: ../classes/settings.php471, ../classes/upgrade.php:63
584
+ msgid "Learn more"
585
+ msgstr "Mehr erfahren"
586
+
587
+ #: ../classes/settings.php:481
588
+ msgid "Start using Admin Columns"
589
+ msgstr "Begine, Admin Columns zu nutzen"
590
+
591
+ #: ../classes/settings.php:500
592
+ msgid "General Settings"
593
+ msgstr "Allgemeine Einstellungen"
594
+
595
+ #: ../classes/settings.php:501
596
+ msgid "Customize your Admin Columns settings."
597
+ msgstr "Passe Admin Columns-Einstellungen an."
598
+
599
+ #: ../classes/settings.php:512
600
+ msgid "Show \"Edit Columns\" button on admin screens. Default is <code>on</code>."
601
+ msgstr "Schaltfläche \"Spalten bearbeiten\" auf Admin-Bildschirmen anzeigen. Standard ist <code>an</code> ."
602
+
603
+ #: ../classes/settings.php:559
604
+ msgid "Restore Settings"
605
+ msgstr "Einstellungen wiederherstellen"
606
+
607
+ #: ../classes/settings.php:560
608
+ msgid "This will delete all column settings and restore the default settings."
609
+ msgstr "Alle Einstellungen werden gelöscht und die Voreinstellungen wiederhergestellt."
610
+
611
+ #: ../classes/settings.php:566
612
+ msgid "Restore default settings"
613
+ msgstr "Vorgabewerte wiederherstellen"
614
+
615
+ #: ../classes/settings.php:566
616
+ msgid ""
617
+ "Warning! ALL saved admin columns data will be deleted. This cannot be "
618
+ "undone. 'OK' to delete, 'Cancel' to stop"
619
+ msgstr "Warnung! ALLE gespeicherten Admin Columns-Daten werden gelöscht. Dies kann nicht rückgängig gemacht werden. Drücke 'OK', um zu löschen, auf 'Abbrechen', um zu beenden"
620
+
621
+ #: ../classes/settings.php:582
622
+ msgid "Posttypes"
623
+ msgstr "Beitragstypen"
624
+
625
+ #: ../classes/settings.php:583
626
+ msgid "Others"
627
+ msgstr "Ander"
628
+
629
+ #: ../classes/settings.php:584
630
+ msgid "Taxonomies"
631
+ msgstr "Taxonomien"
632
+
633
+ #: ../classes/settings.php:600
634
+ msgid "Settings"
635
+ msgstr "Einstellungen"
636
+
637
+ #: ../classes/settings.php:601
638
+ msgid "Add-ons"
639
+ msgstr "Add-ons"
640
+
641
+ #: ../classes/settings.php:669
642
+ msgid ""
643
+ "The columns for %s are set up via PHP and can therefore not be edited in the"
644
+ " admin panel."
645
+ msgstr "Die Spalten für %s werden über PHP gesetzt und können daher nicht in der Administrationsoberfläche bearbeitet werden."
646
+
647
+ #: ../classes/settings.php:679
648
+ msgid "Store settings"
649
+ msgstr "Einstellungen speichern"
650
+
651
+ #: ../classes/settings.php:687
652
+ msgid ""
653
+ "Warning! The %s columns data will be deleted. This cannot be undone. 'OK' to"
654
+ " delete, 'Cancel' to stop"
655
+ msgstr "Achtung! Es werden %s Spalten-Einstellungen gelöscht. Diese Aktion ist unwiderruflich. Klicke 'OK' zum Bestätigen, oder Abbrechen"
656
+
657
+ #: ../classes/settings.php:688
658
+ msgid "Restore"
659
+ msgstr "Wiederherstellen"
660
+
661
+ #: ../classes/settings.php:688
662
+ msgid "columns"
663
+ msgstr "Spalten"
664
+
665
+ #: ../classes/settings.php:707
666
+ msgid "Get Admin Columns Pro"
667
+ msgstr "Admin Columns Pro kaufen"
668
+
669
+ #: ../classes/settings.php:711
670
+ msgid "Add Sorting"
671
+ msgstr "Sortierung hinzufügen"
672
+
673
+ #: ../classes/settings.php:712
674
+ msgid "Add Filtering"
675
+ msgstr "Filter hinzufügen"
676
+
677
+ #: ../classes/settings.php:713
678
+ msgid "Add Import/Export"
679
+ msgstr "Import/Export hinzufügen"
680
+
681
+ #: ../classes/settings.php:714
682
+ msgid "Add Direct Editing"
683
+ msgstr "Inline-Bearbeitung hinzufügen"
684
+
685
+ #: ../classes/settings.php:717
686
+ msgid "Check out <a href='%s'>Admin Columns Pro</a> for more details!"
687
+ msgstr "Sehen Sie <a href='%s'>Admin Columns Pro</a> für mehr Details!"
688
+
689
+ #: ../classes/settings.php:730
690
+ msgid "Subscribe to receive news &amp; updates below."
691
+ msgstr "Abonnieren Sie, um News und Updates zu erhalten."
692
+
693
+ #: ../classes/settings.php:737
694
+ msgid "Your Email"
695
+ msgstr "Ihre E-Mail-Adresse"
696
+
697