Admin Columns - Version 3.1.5

Version Description

Release Date: March 13th, 2018

  • [Improved] Minor improvements and PHP warning fixes
Download this release

Release Info

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

Code changes from version 3.1.3 to 3.1.5

Files changed (60) hide show
  1. assets/css/admin-general.css +1 -206
  2. assets/css/admin-general.min.css +0 -1
  3. assets/css/admin-page-addons.css +1 -104
  4. assets/css/admin-page-addons.min.css +0 -1
  5. assets/css/admin-page-columns.css +1 -878
  6. assets/css/admin-page-columns.min.css +0 -1
  7. assets/css/admin-page-help.css +1 -11
  8. assets/css/admin-page-help.min.css +0 -1
  9. assets/css/admin-page-settings.css +0 -4
  10. assets/css/admin-page-settings.min.css +0 -0
  11. assets/css/admin-welcome.css +1 -84
  12. assets/css/admin-welcome.min.css +0 -1
  13. assets/css/message.css +1 -44
  14. assets/css/message.min.css +0 -1
  15. assets/css/plugin-screen.css +0 -15
  16. assets/css/plugin-screen.min.css +0 -1
  17. assets/css/table.css +1 -624
  18. assets/css/table.min.css +0 -1
  19. assets/fonts/cpac_icons.eot +0 -0
  20. assets/fonts/cpac_icons.svg +18 -0
  21. assets/fonts/cpac_icons.ttf +0 -0
  22. assets/fonts/cpac_icons.woff +0 -0
  23. assets/fonts/cpac_icons.woff2 +0 -0
  24. assets/js/admin-general.js +12 -111
  25. assets/js/admin-general.min.js +0 -1
  26. assets/js/admin-page-columns.js +95 -896
  27. assets/js/admin-page-columns.min.js +0 -1
  28. assets/js/message.js +2 -26
  29. assets/js/message.min.js +0 -1
  30. assets/js/table.js +8 -178
  31. assets/js/table.min.js +0 -1
  32. assets/js/upgrade.js +7 -50
  33. assets/js/upgrade.min.js +0 -1
  34. classes/Admin.php +2 -2
  35. classes/Admin/Addon/ACF.php +1 -1
  36. classes/Admin/Addon/WooCommerce.php +1 -1
  37. classes/Admin/Help/CustomField.php +1 -1
  38. classes/Admin/Page/Addons.php +1 -1
  39. classes/Admin/Page/Columns.php +3 -5
  40. classes/Admin/Page/Help.php +24 -24
  41. classes/Admin/Page/Settings.php +54 -54
  42. classes/Column/Actions.php +1 -1
  43. classes/Column/CustomField.php +0 -9
  44. classes/Column/Media/Menu.php +9 -0
  45. classes/Column/Menu.php +4 -30
  46. classes/Column/Post/Menu.php +23 -0
  47. classes/Form/Element/Checkbox.php +1 -1
  48. classes/ListScreen.php +4 -19
  49. classes/ListScreen/Comment.php +1 -9
  50. classes/ListScreen/User.php +0 -8
  51. classes/ListScreenPost.php +0 -8
  52. classes/ListScreenWP.php +1 -1
  53. classes/Preferences.php +31 -20
  54. classes/Preferences/Site.php +23 -0
  55. classes/Preferences/User.php +23 -0
  56. classes/Settings/Column/PostType.php +3 -0
  57. classes/TableScreen.php +68 -31
  58. codepress-admin-columns.php +51 -56
  59. languages/codepress-admin-columns.pot +446 -495
  60. readme.txt +16 -2
assets/css/admin-general.css CHANGED
@@ -1,206 +1 @@
1
- @charset "UTF-8";
2
- @font-face {
3
- font-family: "cpac_icons";
4
- src: url("../fonts/cpac_icons.woff") format("woff"); }
5
-
6
- [class^="cpacicon-"], [class*=" cpacicon-"] {
7
- font-family: 'cpac_icons';
8
- speak: none;
9
- font-style: normal;
10
- font-weight: normal;
11
- font-variant: normal;
12
- text-transform: none;
13
- line-height: 1;
14
- /* Better Font Rendering =========== */
15
- -webkit-font-smoothing: antialiased;
16
- -moz-osx-font-smoothing: grayscale; }
17
- [class^="cpacicon-"]:before, [class*=" cpacicon-"]:before {
18
- font-size: 100%; }
19
-
20
- .cpacicon-draft:before {
21
- content: ""; }
22
-
23
- .cpacicon-move:before {
24
- content: ""; }
25
-
26
- /* Dynamic variables */
27
- /**
28
- * General
29
- * ----------------------------------------------------------------------------
30
- */
31
- #cpac a:focus,
32
- #cpac a:active {
33
- outline: none; }
34
-
35
- .wrap .nav-tab-wrapper {
36
- margin-bottom: 24px; }
37
-
38
- .wrap .notice {
39
- margin-top: 16px;
40
- margin-bottom: 16px; }
41
-
42
- .ac-badge {
43
- display: inline-block;
44
- background: #d54e21;
45
- border-radius: 10px;
46
- font-size: 9px;
47
- line-height: 17px;
48
- padding: 0 6px;
49
- margin: -1px 0 0 4px;
50
- vertical-align: middle;
51
- color: #fff;
52
- font-weight: 600; }
53
-
54
- a.external:after {
55
- content: "\f504";
56
- display: inline-block;
57
- margin-left: 4px;
58
- font-size: 17px;
59
- color: #797979;
60
- line-height: 1;
61
- font-family: dashicons, serif;
62
- text-decoration: none;
63
- font-weight: normal;
64
- font-style: normal;
65
- vertical-align: top;
66
- text-align: center; }
67
-
68
- /**
69
- * Button
70
- * ----------------------------------------------------------------------------
71
- */
72
- .button.loading {
73
- padding-right: 25px;
74
- position: relative; }
75
-
76
- /**
77
- * Message
78
- * ----------------------------------------------------------------------------
79
- */
80
- .cpac_message.error.warning {
81
- border-left: 4px solid #ffba00; }
82
-
83
- /**
84
- * Menu
85
- * ----------------------------------------------------------------------------
86
- */
87
- .menu {
88
- position: relative;
89
- padding: 0;
90
- margin-top: 16px;
91
- margin-bottom: 16px; }
92
- .menu select {
93
- display: inline-block;
94
- margin: 0; }
95
- .menu .spinner {
96
- display: none;
97
- float: none;
98
- visibility: visible;
99
- margin: 0 0 0 14px; }
100
- .menu .view-link,
101
- .menu .view-link:active {
102
- display: inline-block;
103
- margin: 0 0 0 12px;
104
- top: 2px; }
105
-
106
- /**
107
- * Table
108
- * ----------------------------------------------------------------------------
109
- */
110
- table.ac-form-table {
111
- max-width: 1100px;
112
- margin-top: 20px; }
113
- table.ac-form-table > tbody > tr > td,
114
- table.ac-form-table > tbody > tr > th {
115
- vertical-align: top; }
116
- table.ac-form-table.settings tr th {
117
- font-weight: normal; }
118
- table.ac-form-table.settings tr th h2 {
119
- margin: 0; }
120
- table.ac-form-table.settings tr td {
121
- padding-top: 58px; }
122
-
123
- /**
124
- * WP Pointer
125
- * ----------------------------------------------------------------------------
126
- */
127
- .wp-pointer-content {
128
- overflow: hidden; }
129
- .wp-pointer-content ol {
130
- margin-left: 1.5em;
131
- padding: 0 15px; }
132
-
133
- .wp-pointer-right {
134
- margin-right: 15px; }
135
-
136
- .wp-pointer.noclick .wp-pointer-buttons {
137
- display: none; }
138
-
139
- /* =RTL language
140
- -------------------------------------------------------------- */
141
- body.rtl .wp-pointer-right {
142
- margin-left: 15px;
143
- margin-right: 0; }
144
- body.rtl .wp-pointer-right ol {
145
- margin-right: 1.5em;
146
- margin-left: 0; }
147
-
148
- body.rtl .button.loading {
149
- padding-left: 25px;
150
- padding-right: 0; }
151
- body.rtl .button.loading span {
152
- left: 6px;
153
- right: auto; }
154
-
155
- body.rtl .ac-left {
156
- float: right; }
157
- body.rtl .ac-left .ac-columns .ac-column .column-meta img {
158
- margin-left: 3px;
159
- margin-right: 0; }
160
- body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label .inner > a.remove-button {
161
- margin-right: 12px;
162
- margin-left: 0; }
163
- body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label .inner .meta {
164
- float: left; }
165
- body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label span.vers {
166
- float: right; }
167
- body.rtl .ac-left .ac-columns .ac-column .column-meta .column_type {
168
- text-align: left;
169
- padding-left: 0;
170
- padding-right: auto; }
171
- body.rtl .ac-left .ac-columns .ac-column .column-meta span.vers .comment-grey-bubble {
172
- float: left; }
173
- body.rtl .ac-left .ac-columns .ac-column .column-form table tr.column_image_size td.input label input {
174
- margin-left: 3px;
175
- margin-right: 0; }
176
- body.rtl .ac-left .ac-columns .ac-column .column-form table tr td.label p.description {
177
- right: 0;
178
- left: auto; }
179
- body.rtl .ac-left .ac-columns .ac-column .column-form table tr td.label a.more-info {
180
- float: left; }
181
- body.rtl .ac-left .ac-columns .ac-column .column-form div.description {
182
- float: right; }
183
- body.rtl .ac-left .ac-columns .ac-column .column-form div.input-width-range {
184
- float: right; }
185
- body.rtl .ac-left .ac-columns .ac-column .column-form a.help {
186
- float: left; }
187
- body.rtl .ac-left .column-footer .order-message {
188
- float: right;
189
- padding-right: 22px;
190
- padding-left: 0;
191
- background: transparent url("../images/order_arrow-rtl.png") no-repeat right top; }
192
- body.rtl .ac-left .column-footer .button-container {
193
- float: left; }
194
- body.rtl .ac-left .column-footer .submit {
195
- display: none; }
196
-
197
- body.rtl .ac-right {
198
- float: left;
199
- margin-left: -300px;
200
- margin-right: 0; }
201
-
202
- body.rtl .cpac-placeholder {
203
- padding: 5px 0 7px 4px; }
204
-
205
- body.rtl .cpac_export .ms-container .ms-selection {
206
- float: left; }
1
+ @font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2") format("woff2");font-style:normal;font-weight:400}.cpacicon,[class^="cpacicon-"],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-draft::before{content:""}.cpacicon-move::before{content:""}#cpac a:focus,#cpac a:active{outline:none}.wrap .nav-tab-wrapper{margin-bottom:24px}.wrap .notice{margin-top:16px;margin-bottom:16px}.ac-badge{display:inline-block;background:#d54e21;border-radius:10px;font-size:9px;line-height:17px;padding:0 6px;margin:-1px 0 0 4px;vertical-align:middle;color:#fff;font-weight:600}a.external:after{content:"\f504";display:inline-block;margin-left:4px;font-size:17px;color:#797979;line-height:1;font-family:dashicons, serif;text-decoration:none;font-weight:normal;font-style:normal;vertical-align:top;text-align:center}.button.loading{padding-right:25px;position:relative}.cpac_message.error.warning{border-left:4px solid #ffba00}.menu{position:relative;padding:0;margin-top:16px;margin-bottom:16px}.menu select{display:inline-block;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}table.ac-form-table{max-width:1100px;margin-top:20px}table.ac-form-table>tbody>tr>td,table.ac-form-table>tbody>tr>th{vertical-align:top}table.ac-form-table.settings tr th{font-weight:normal}table.ac-form-table.settings tr th h2{margin:0}table.ac-form-table.settings tr td{padding-top:58px}.wp-pointer-content{overflow:hidden}.wp-pointer-content ol{margin-left:1.5em;padding:0 15px}.wp-pointer-right{margin-right:15px}.wp-pointer.noclick .wp-pointer-buttons{display:none}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 .button.loading{padding-left:25px;padding-right:0}body.rtl .button.loading span{left:6px;right:auto}body.rtl .ac-left{float:right}body.rtl .ac-left .ac-columns .ac-column .column-meta img{margin-left:3px;margin-right:0}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label .inner>a.remove-button{margin-right:12px;margin-left:0}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label .inner .meta{float:left}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label span.vers{float:right}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_type{text-align:left;padding-left:0;padding-right:auto}body.rtl .ac-left .ac-columns .ac-column .column-meta span.vers .comment-grey-bubble{float:left}body.rtl .ac-left .ac-columns .ac-column .column-form table tr.column_image_size td.input label input{margin-left:3px;margin-right:0}body.rtl .ac-left .ac-columns .ac-column .column-form table tr td.label p.description{right:0;left:auto}body.rtl .ac-left .ac-columns .ac-column .column-form table tr td.label a.more-info{float:left}body.rtl .ac-left .ac-columns .ac-column .column-form div.description{float:right}body.rtl .ac-left .ac-columns .ac-column .column-form div.input-width-range{float:right}body.rtl .ac-left .ac-columns .ac-column .column-form a.help{float:left}body.rtl .ac-left .column-footer .order-message{float:right;padding-right:22px;padding-left:0;background:transparent url("../images/order_arrow-rtl.png") no-repeat right top}body.rtl .ac-left .column-footer .button-container{float:left}body.rtl .ac-left .column-footer .submit{display:none}body.rtl .ac-right{float:left;margin-left:-300px;margin-right:0}body.rtl .cpac-placeholder{padding:5px 0 7px 4px}body.rtl .cpac_export .ms-container .ms-selection{float:left}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/admin-general.min.css DELETED
@@ -1 +0,0 @@
1
- @charset "UTF-8";@font-face{font-family:cpac_icons;src:url(../fonts/cpac_icons.woff) format("woff")}[class*=" cpacicon-"],[class^=cpacicon-]{font-family:cpac_icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=" cpacicon-"]:before,[class^=cpacicon-]:before{font-size:100%}.cpacicon-draft:before{content:""}.cpacicon-move:before{content:""}#cpac a:active,#cpac a:focus{outline:none}.wrap .nav-tab-wrapper{margin-bottom:24px}.wrap .notice{margin-top:16px;margin-bottom:16px}.ac-badge{display:inline-block;background:#d54e21;border-radius:10px;font-size:9px;line-height:17px;padding:0 6px;margin:-1px 0 0 4px;vertical-align:middle;color:#fff;font-weight:600}a.external:after{content:"\f504";display:inline-block;margin-left:4px;font-size:17px;color:#797979;line-height:1;font-family:dashicons,serif;text-decoration:none;font-weight:400;font-style:normal;vertical-align:top;text-align:center}.button.loading{padding-right:25px;position:relative}.cpac_message.error.warning{border-left:4px solid #ffba00}.menu{position:relative;padding:0;margin-top:16px;margin-bottom:16px}.menu select{display:inline-block;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}table.ac-form-table{max-width:1100px;margin-top:20px}table.ac-form-table>tbody>tr>td,table.ac-form-table>tbody>tr>th{vertical-align:top}table.ac-form-table.settings tr th{font-weight:400}table.ac-form-table.settings tr th h2{margin:0}table.ac-form-table.settings tr td{padding-top:58px}.wp-pointer-content{overflow:hidden}.wp-pointer-content ol{margin-left:1.5em;padding:0 15px}.wp-pointer-right{margin-right:15px}.wp-pointer.noclick .wp-pointer-buttons{display:none}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 .button.loading{padding-left:25px;padding-right:0}body.rtl .button.loading span{left:6px;right:auto}body.rtl .ac-left{float:right}body.rtl .ac-left .ac-columns .ac-column .column-meta img{margin-left:3px;margin-right:0}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label .inner>a.remove-button{margin-right:12px;margin-left:0}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label .inner .meta{float:left}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_label span.vers{float:right}body.rtl .ac-left .ac-columns .ac-column .column-meta .column_type{text-align:left;padding-left:0;padding-right:auto}body.rtl .ac-left .ac-columns .ac-column .column-meta span.vers .comment-grey-bubble{float:left}body.rtl .ac-left .ac-columns .ac-column .column-form table tr.column_image_size td.input label input{margin-left:3px;margin-right:0}body.rtl .ac-left .ac-columns .ac-column .column-form table tr td.label p.description{right:0;left:auto}body.rtl .ac-left .ac-columns .ac-column .column-form table tr td.label a.more-info{float:left}body.rtl .ac-left .ac-columns .ac-column .column-form div.description,body.rtl .ac-left .ac-columns .ac-column .column-form div.input-width-range{float:right}body.rtl .ac-left .ac-columns .ac-column .column-form a.help{float:left}body.rtl .ac-left .column-footer .order-message{float:right;padding-right:22px;padding-left:0;background:transparent url(../images/order_arrow-rtl.png) no-repeat 100% 0}body.rtl .ac-left .column-footer .button-container{float:left}body.rtl .ac-left .column-footer .submit{display:none}body.rtl .ac-right{float:left;margin-left:-300px;margin-right:0}body.rtl .cpac-placeholder{padding:5px 0 7px 4px}body.rtl .cpac_export .ms-container .ms-selection{float:left}
 
assets/css/admin-page-addons.css CHANGED
@@ -1,104 +1 @@
1
- /* =Colors
2
- -------------------------------------------------------------- */
3
- /* =Addons
4
- -------------------------------------------------------------- */
5
- .ac-addon {
6
- display: inline-block;
7
- margin-right: 16px;
8
- float: left; }
9
- .ac-addon.group-default {
10
- float: none;
11
- clear: both;
12
- display: table; }
13
- .ac-addon h2 {
14
- border-bottom: 1px solid #ccc;
15
- padding-bottom: 10px; }
16
- .ac-addon ul {
17
- overflow: hidden; }
18
- .ac-addon ul li {
19
- width: 200px;
20
- background: #FFF;
21
- float: left;
22
- margin-right: 16px;
23
- margin-bottom: 16px;
24
- border: 1px solid #DDD;
25
- -webkit-box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.15);
26
- -moz-box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.15);
27
- box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.15); }
28
- .ac-addon ul li:last-child {
29
- margin-right: 0; }
30
- .ac-addon ul li:hover {
31
- -webkit-box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.25);
32
- -moz-box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.25);
33
- box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.25); }
34
- .ac-addon ul li a {
35
- color: #444; }
36
- .ac-addon ul li .addon-header {
37
- display: table;
38
- width: 100%;
39
- height: 125px;
40
- text-align: center;
41
- vertical-align: middle;
42
- border-top: 1px solid #DDD;
43
- background: #0069a4;
44
- background: -moz-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);
45
- background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #0069a4), color-stop(100%, #085079));
46
- background: -webkit-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);
47
- background: -o-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);
48
- background: -ms-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);
49
- background: radial-gradient(ellipse at center, #0069a4 0%, #085079 100%);
50
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$addon-color-lightblue', endColorstr='$addon-color-blue', GradientType=1); }
51
- .ac-addon ul li .addon-header .inner {
52
- display: table-cell;
53
- vertical-align: middle;
54
- padding: 15px 20px; }
55
- .ac-addon ul li .addon-header .inner h3 {
56
- padding: 0 16px;
57
- color: #FFF;
58
- line-height: 150%; }
59
- .ac-addon ul li .addon-header .inner img {
60
- display: inline-block;
61
- max-height: 52px;
62
- max-width: 100%; }
63
- .ac-addon ul li .addon-notice {
64
- background-color: #fff8e5;
65
- margin: 0;
66
- padding: 15px; }
67
- .ac-addon ul li .addon-notice a {
68
- font-weight: bold;
69
- text-decoration: none;
70
- color: #0073aa; }
71
- .ac-addon ul li .addon-content {
72
- width: 100%;
73
- padding: 25px 15px;
74
- -moz-box-sizing: border-box;
75
- box-sizing: border-box;
76
- min-height: 162px; }
77
- .ac-addon ul li .addon-content > *:first-child {
78
- margin-top: 0; }
79
- .ac-addon ul li .addon-content > *:last-child {
80
- margin-bottom: 0; }
81
- .ac-addon ul li .addon-actions {
82
- background: #eee;
83
- border-top: 1px solid #ddd;
84
- padding: 8px;
85
- overflow: hidden; }
86
- .ac-addon ul li .addon-actions span.active,
87
- .ac-addon ul li .addon-actions span.active:hover {
88
- display: inline-block;
89
- height: 28px;
90
- line-height: 28px;
91
- cursor: default;
92
- border-color: #69c471;
93
- color: #388f40;
94
- margin-left: 8px; }
95
- .ac-addon ul li .addon-actions span.active:before,
96
- .ac-addon ul li .addon-actions span.active:hover:before {
97
- content: "\f147";
98
- font-family: 'dashicons', sans-serif;
99
- vertical-align: middle;
100
- font-size: 17px;
101
- margin: -2px 3px 0 -5px; }
102
- .ac-addon ul li.ac-addon-types .addon-header .inner img,
103
- .ac-addon ul li.ac-addon-buddypress .addon-header .inner img {
104
- max-height: 68px; }
1
+ .ac-addon{display:inline-block;margin-right:16px;float:left}.ac-addon.group-default{float:none;clear:both;display:table}.ac-addon h2{border-bottom:1px solid #ccc;padding-bottom:10px}.ac-addon ul{overflow:hidden}.ac-addon ul 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,0.15);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,0.15);box-shadow:0 3px 10px 0 rgba(0,0,0,0.15)}.ac-addon ul li:last-child{margin-right:0}.ac-addon ul li:hover{-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,0.25);box-shadow:0 3px 10px 0 rgba(0,0,0,0.25)}.ac-addon ul li a{color:#444}.ac-addon ul li .addon-header{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, 0px, 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='$addon-color-lightblue', endColorstr='$addon-color-blue', GradientType=1)}.ac-addon ul li .addon-header .inner{display:table-cell;vertical-align:middle;padding:15px 20px}.ac-addon ul li .addon-header .inner h3{padding:0 16px;color:#FFF;line-height:150%}.ac-addon ul li .addon-header .inner img{display:inline-block;max-height:52px;max-width:100%}.ac-addon ul li .addon-notice{background-color:#fff8e5;margin:0;padding:15px}.ac-addon ul li .addon-notice a{font-weight:bold;text-decoration:none;color:#0073aa}.ac-addon ul li .addon-content{width:100%;padding:25px 15px;-moz-box-sizing:border-box;box-sizing:border-box;min-height:162px}.ac-addon ul li .addon-content>*:first-child{margin-top:0}.ac-addon ul li .addon-content>*:last-child{margin-bottom:0}.ac-addon ul li .addon-actions{background:#eee;border-top:1px solid #ddd;padding:8px;overflow:hidden}.ac-addon ul li .addon-actions span.active,.ac-addon ul li .addon-actions span.active:hover{display:inline-block;height:28px;line-height:28px;cursor:default;border-color:#69c471;color:#388f40;margin-left:8px}.ac-addon ul li .addon-actions span.active:before,.ac-addon ul li .addon-actions span.active:hover:before{content:"\f147";font-family:'dashicons', sans-serif;vertical-align:middle;font-size:17px;margin:-2px 3px 0 -5px}.ac-addon ul li.ac-addon-types .addon-header .inner img,.ac-addon ul li.ac-addon-buddypress .addon-header .inner img{max-height:68px}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/admin-page-addons.min.css DELETED
@@ -1 +0,0 @@
1
- .ac-addon{display:inline-block;margin-right:16px;float:left}.ac-addon.group-default{float:none;clear:both;display:table}.ac-addon h2{border-bottom:1px solid #ccc;padding-bottom:10px}.ac-addon ul{overflow:hidden}.ac-addon ul li{width:200px;background:#fff;float:left;margin-right:16px;margin-bottom:16px;border:1px solid #ddd;box-shadow:0 3px 10px 0 rgba(0,0,0,.15)}.ac-addon ul li:last-child{margin-right:0}.ac-addon ul li:hover{box-shadow:0 3px 10px 0 rgba(0,0,0,.25)}.ac-addon ul li a{color:#444}.ac-addon ul li .addon-header{display:table;width:100%;height:125px;text-align:center;vertical-align:middle;border-top:1px solid #ddd;background:#0069a4;background:radial-gradient(ellipse at center,#0069a4 0,#085079 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="$addon-color-lightblue",endColorstr="$addon-color-blue",GradientType=1)}.ac-addon ul li .addon-header .inner{display:table-cell;vertical-align:middle;padding:15px 20px}.ac-addon ul li .addon-header .inner h3{padding:0 16px;color:#fff;line-height:150%}.ac-addon ul li .addon-header .inner img{display:inline-block;max-height:52px;max-width:100%}.ac-addon ul li .addon-notice{background-color:#fff8e5;margin:0;padding:15px}.ac-addon ul li .addon-notice a{font-weight:700;text-decoration:none;color:#0073aa}.ac-addon ul li .addon-content{width:100%;padding:25px 15px;box-sizing:border-box;min-height:162px}.ac-addon ul li .addon-content>:first-child{margin-top:0}.ac-addon ul li .addon-content>:last-child{margin-bottom:0}.ac-addon ul li .addon-actions{background:#eee;border-top:1px solid #ddd;padding:8px;overflow:hidden}.ac-addon ul li .addon-actions span.active,.ac-addon ul li .addon-actions span.active:hover{display:inline-block;height:28px;line-height:28px;cursor:default;border-color:#69c471;color:#388f40;margin-left:8px}.ac-addon ul li .addon-actions span.active:before,.ac-addon ul li .addon-actions span.active:hover:before{content:"\f147";font-family:dashicons,sans-serif;vertical-align:middle;font-size:17px;margin:-2px 3px 0 -5px}.ac-addon ul li.ac-addon-buddypress .addon-header .inner img,.ac-addon ul li.ac-addon-types .addon-header .inner img{max-height:68px}
 
assets/css/admin-page-columns.css CHANGED
@@ -1,878 +1 @@
1
- @charset "UTF-8";
2
- @font-face {
3
- font-family: "cpac_icons";
4
- src: url("../fonts/cpac_icons.woff") format("woff"); }
5
-
6
- [class^="cpacicon-"], [class*=" cpacicon-"] {
7
- font-family: 'cpac_icons';
8
- speak: none;
9
- font-style: normal;
10
- font-weight: normal;
11
- font-variant: normal;
12
- text-transform: none;
13
- line-height: 1;
14
- /* Better Font Rendering =========== */
15
- -webkit-font-smoothing: antialiased;
16
- -moz-osx-font-smoothing: grayscale; }
17
- [class^="cpacicon-"]:before, [class*=" cpacicon-"]:before {
18
- font-size: 100%; }
19
-
20
- .cpacicon-draft:before {
21
- content: ""; }
22
-
23
- .cpacicon-move:before {
24
- content: ""; }
25
-
26
- /* Dynamic variables */
27
- /**
28
- * UI Sortable Plugin
29
- * ----------------------------------------------------------------------------
30
- */
31
- .ui-sortable-helper {
32
- -webkit-box-shadow: 1px 3px 6px 0 rgba(1, 1, 1, 0.4);
33
- box-shadow: 1px 3px 6px 0 rgba(1, 1, 1, 0.4); }
34
- .ui-sortable-helper .column-meta {
35
- border-width: 1px; }
36
-
37
- /**
38
- * Dashicons used on list screens
39
- * ----------------------------------------------------------------------------
40
- */
41
- .ac-column .comment-grey-bubble {
42
- height: 16px;
43
- width: 16px; }
44
-
45
- .ac-column .comment-grey-bubble:before {
46
- content: '\f101';
47
- font: normal 20px/.5 'dashicons';
48
- speak: none;
49
- display: inline-block;
50
- padding: 0;
51
- top: 5px;
52
- left: 0;
53
- position: relative;
54
- vertical-align: top;
55
- -webkit-font-smoothing: antialiased;
56
- -moz-osx-font-smoothing: grayscale;
57
- text-decoration: none !important; }
58
-
59
- .rtl .ac-column .comment-grey-bubble:before {
60
- right: 0;
61
- left: auto; }
62
-
63
- /**
64
- * Structure
65
- * ----------------------------------------------------------------------------
66
- */
67
- .ac-admin {
68
- margin-right: 300px;
69
- max-width: 740px; }
70
- .ac-admin #add-new-column-template {
71
- display: none; }
72
- .ac-admin .ac-left {
73
- float: left;
74
- width: 100%; }
75
- .ac-admin .ac-left .column-footer a.add_column {
76
- padding-left: 16px;
77
- padding-right: 16px;
78
- text-align: center; }
79
- .ac-admin .ac-left .column-footer a.submit.save,
80
- .ac-admin .ac-left .column-footer a.submit.update {
81
- padding-left: 20px;
82
- padding-right: 20px;
83
- text-align: center; }
84
- .ac-admin .ac-left .column-footer .submit.save {
85
- display: inline-block; }
86
- .ac-admin .ac-left .column-footer .submit.update {
87
- display: none; }
88
- .ac-admin .ac-right {
89
- float: right;
90
- margin-right: -300px;
91
- width: 280px; }
92
- .ac-admin .ac-right .ac-right-inside.fixed {
93
- width: 280px; }
94
- .ac-admin .column-footer .spinner {
95
- display: none; }
96
- .ac-admin.saving .ac-right-inside .spinner {
97
- visibility: visible; }
98
- .ac-admin.saving .column-footer .spinner {
99
- margin: 4px 0 0;
100
- background-position: center center;
101
- float: none;
102
- display: inline-block;
103
- visibility: visible; }
104
- .ac-admin.stored .ac-right .sidebox.form-actions .submit.save {
105
- display: none; }
106
- .ac-admin.stored .ac-right .sidebox.form-actions .submit.update {
107
- display: block; }
108
- .ac-admin.stored .ac-right .sidebox.form-actions .form-reset {
109
- display: block; }
110
- .ac-admin.stored .column-footer .submit.save {
111
- display: none; }
112
- .ac-admin.stored .column-footer .submit.update {
113
- display: inline-block; }
114
-
115
- /**
116
- * Columns
117
- * ----------------------------------------------------------------------------
118
- */
119
- .ac-left .ac-notice {
120
- background: #fff;
121
- border-left: 4px solid #ffba00;
122
- -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
123
- box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
124
- margin-bottom: 15px;
125
- padding: 1px 12px; }
126
-
127
- .ac-left .ajax-message {
128
- display: none; }
129
-
130
- .ac-left .ac-message {
131
- margin-top: 0 !important; }
132
-
133
- .ac-left .ac-boxes .ac-columns form {
134
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
135
- margin: 0; }
136
-
137
- .ac-left .ac-boxes.disabled {
138
- opacity: 0.7; }
139
- .ac-left .ac-boxes.disabled a.remove-button,
140
- .ac-left .ac-boxes.disabled a.clone-button,
141
- .ac-left .ac-boxes.disabled .column_action {
142
- display: none !important; }
143
- .ac-left .ac-boxes.disabled .column-meta td.column_sort {
144
- display: none; }
145
- .ac-left .ac-boxes.disabled .column-meta td.column_label {
146
- padding-left: 10px; }
147
- .ac-left .ac-boxes.disabled .meta span {
148
- cursor: default !important;
149
- opacity: 0.45; }
150
- .ac-left .ac-boxes.disabled .meta span:before {
151
- color: #808080 !important; }
152
- .ac-left .ac-boxes.disabled .meta span.on {
153
- opacity: 1; }
154
- .ac-left .ac-boxes.disabled .column-footer {
155
- display: none; }
156
-
157
- /**
158
- * Column States
159
- * ----------------------------------------------------------------------------
160
- */
161
- .ac-column a {
162
- cursor: pointer; }
163
- .ac-column a:focus, .ac-column a:active {
164
- box-shadow: none; }
165
-
166
- .ac-column.loading .ac-column-body > .spinner {
167
- position: absolute;
168
- left: 50%;
169
- top: 50%;
170
- z-index: 200;
171
- margin-left: -10px;
172
- margin-top: -10px;
173
- display: block; }
174
-
175
- .ac-column.loading .ac-column-body:before {
176
- content: '';
177
- position: absolute;
178
- width: 100%;
179
- height: 100%;
180
- background: #FFF;
181
- z-index: 100;
182
- opacity: 0.5; }
183
-
184
- .ac-column.opened {
185
- margin-bottom: -1px; }
186
- .ac-column.opened .ac-column-header {
187
- background-color: #eaeaea;
188
- border-color: #cccccc; }
189
- .ac-column.opened .ac-column-header:hover .column_label .inner > a.close-button {
190
- display: inline-block; }
191
- .ac-column.opened .ac-column-header .column_edit:after {
192
- content: "\f142"; }
193
- .ac-column.opened .ac-column-header table td {
194
- border-color: #f8f8f8;
195
- color: #333;
196
- text-shadow: 0 1px 0 #FFFFFF; }
197
- .ac-column.opened .ac-column-header table td a {
198
- color: #333;
199
- text-shadow: 0 1px 0 #FFFFFF; }
200
- .ac-column.opened .ac-column-header table td.column_sort span {
201
- color: #9b9b9b; }
202
- .ac-column.opened .ac-column-header table td.column_label .meta span {
203
- color: #8d8d8d;
204
- text-shadow: none; }
205
- .ac-column.opened .ac-column-header table td.column_label a.edit-button {
206
- display: none; }
207
- .ac-column.opened .ac-column-header table td.column_type {
208
- color: #5C5C5C; }
209
- .ac-column.opened .ac-column-header table td.column_edit:after {
210
- color: #9b9b9b; }
211
- .ac-column.opened .ac-column-body {
212
- border: 1px solid #cccccc;
213
- border-top: 1px solid #d4d4d4; }
214
-
215
- /**
216
- * Column Settings
217
- * ----------------------------------------------------------------------------
218
- */
219
- .ac-column-setting {
220
- width: 100%;
221
- clear: both;
222
- border-spacing: 0;
223
- margin: 0;
224
- border-top: 1px solid #e8e8e8; }
225
- .ac-column-setting:first-child {
226
- border-top: 0; }
227
- .ac-column-setting tr.hide {
228
- display: none; }
229
- .ac-column-setting tr td {
230
- vertical-align: top;
231
- border: none;
232
- padding: 0;
233
- background: #fff; }
234
- .ac-column-setting td.col-label {
235
- position: relative;
236
- line-height: 24px;
237
- overflow: visible;
238
- background: #f5f5f5;
239
- border-right: 1px solid #dedede;
240
- width: 34%;
241
- padding: 10px;
242
- padding-left: 12px; }
243
- .ac-column-setting td.col-label span.label {
244
- font-weight: bold;
245
- display: block;
246
- color: #333333;
247
- font-style: normal; }
248
- .ac-column-setting td.col-label div.tooltip {
249
- font-size: 12px;
250
- font-style: normal;
251
- line-height: 16px;
252
- margin: 0 !important;
253
- display: none;
254
- position: absolute;
255
- max-width: 200px;
256
- z-index: 99;
257
- top: 40px;
258
- left: 0;
259
- font-weight: normal;
260
- color: #fff;
261
- background-color: #333;
262
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
263
- padding: .618em 1em;
264
- border-radius: 3px; }
265
- .ac-column-setting td.col-label div.tooltip em {
266
- margin-top: 3px;
267
- display: block;
268
- color: #999; }
269
- .ac-column-setting td.col-input div.msg {
270
- margin-top: 5px;
271
- display: none;
272
- color: #333;
273
- padding: 6px 10px;
274
- background-color: #ffebe8;
275
- border: 1px solid #fff;
276
- -moz-border-radius: 3px;
277
- -webkit-border-radius: 3px;
278
- border-radius: 3px; }
279
- .ac-column-setting td.col-input div.msg p {
280
- margin: 0.5em 0 1em 0; }
281
- .ac-column-setting td.col-input div.msg a.button {
282
- margin-bottom: 1em; }
283
- .ac-column-setting td.col-input .help-msg {
284
- margin: 10px 0 0;
285
- color: #666;
286
- font-size: 13px; }
287
- .ac-column-setting .ac-column-setting td.col_label {
288
- background-color: #fcfcfc; }
289
- .ac-column-setting .ac-column-setting td.col_label .label {
290
- font-size: 12px;
291
- color: #595959; }
292
- .ac-column-setting span.ac-setting-error {
293
- display: block;
294
- margin: 0;
295
- background-color: #ffebe8;
296
- padding: 7px 10px; }
297
-
298
- .ac-column-setting-actions .col-settings p {
299
- padding-left: 10px; }
300
-
301
- .ac-column-setting-actions .col-settings a {
302
- text-decoration: none; }
303
- .ac-column-setting-actions .col-settings a.close-button, .ac-column-setting-actions .col-settings a.clone-button {
304
- margin-right: 10px; }
305
- .ac-column-setting-actions .col-settings a.remove-button {
306
- color: #a00;
307
- text-decoration: none;
308
- text-shadow: none;
309
- margin-right: 5px; }
310
- .ac-column-setting-actions .col-settings a.remove-button:hover {
311
- color: #f00; }
312
-
313
- .ac-setting-input {
314
- padding: 10px;
315
- line-height: 24px; }
316
- .ac-setting-input input, .ac-setting-input select {
317
- width: 99.95%; }
318
- .ac-setting-input input[type=checkbox],
319
- .ac-setting-input input[type=radio] {
320
- width: auto;
321
- margin-right: 4px; }
322
- .ac-setting-input .checkbox-labels > label,
323
- .ac-setting-input .radio-labels > label {
324
- padding-right: 10px;
325
- vertical-align: top; }
326
- .ac-setting-input .checkbox-labels.vertical input[type=radio],
327
- .ac-setting-input .radio-labels.vertical input[type=radio] {
328
- margin-right: 6px; }
329
- .ac-setting-input .checkbox-labels.vertical > label,
330
- .ac-setting-input .radio-labels.vertical > label {
331
- display: block;
332
- margin-bottom: 5px; }
333
-
334
- .ac-setting-input-date .ac-setting-input-date__custom {
335
- display: inline-block;
336
- width: 71px;
337
- margin-right: 5px; }
338
-
339
- .ac-setting-input-date .ac-setting-input-date__value {
340
- display: inline-block;
341
- width: 165px; }
342
-
343
- .ac-setting-input-date .ac-setting-input-date__example {
344
- margin-left: 8px; }
345
- .ac-setting-input-date .ac-setting-input-date__example .spinner {
346
- float: none;
347
- vertical-align: top; }
348
-
349
- .ac-setting-input-date code {
350
- display: inline-block;
351
- min-width: 60px;
352
- padding-top: 0;
353
- padding-bottom: 0;
354
- text-align: center; }
355
-
356
- .ac-setting-input-width {
357
- position: relative; }
358
- .ac-setting-input-width div.description {
359
- font-size: 12px;
360
- width: 68px;
361
- position: absolute;
362
- display: table; }
363
- .ac-setting-input-width div.description input {
364
- margin: 0;
365
- text-align: right;
366
- vertical-align: middle;
367
- display: table-cell; }
368
- .ac-setting-input-width div.description input::-webkit-input-placeholder {
369
- font-size: 13px; }
370
- .ac-setting-input-width div.description input:-moz-placeholder {
371
- font-size: 13px; }
372
- .ac-setting-input-width div.description input::-moz-placeholder {
373
- font-size: 13px; }
374
- .ac-setting-input-width div.description input:-ms-input-placeholder {
375
- font-size: 13px; }
376
- .ac-setting-input-width div.description span {
377
- background: #efefef;
378
- display: table-cell;
379
- width: 26px;
380
- line-height: 23px;
381
- text-align: center;
382
- vertical-align: middle;
383
- border: 1px solid #dedede;
384
- border-left: none;
385
- color: #505050; }
386
- .ac-setting-input-width div.width-slider {
387
- margin-left: 82px;
388
- margin-right: 88px;
389
- position: relative;
390
- top: 8px; }
391
- .ac-setting-input-width div.width-slider .ui-slider-handle {
392
- cursor: ew-resize; }
393
- .ac-setting-input-width div.unit-select {
394
- position: absolute;
395
- top: 11px;
396
- right: 6px;
397
- width: 82px;
398
- text-align: right; }
399
- .ac-setting-input-width div.unit-select .radio-labels {
400
- padding: 0; }
401
- .ac-setting-input-width div.unit-select .radio-labels label {
402
- padding: 0;
403
- margin-right: 6px; }
404
- .ac-setting-input-width div.unit-select .radio-labels label input {
405
- margin-right: 2px; }
406
-
407
- /**
408
- * Column Header
409
- * ----------------------------------------------------------------------------
410
- */
411
- .ac-column-header {
412
- border-style: solid;
413
- border-color: #dfdfdf;
414
- border-width: 1px 1px 0;
415
- background: #fcfcfc; }
416
- .ac-column-header:nth-child(2n) .column-meta {
417
- background: #f9f9f9; }
418
- .ac-column-header img {
419
- margin-right: 3px; }
420
- .ac-column-header table {
421
- border: none;
422
- background: transparent;
423
- border-radius: 0; }
424
- .ac-column-header table tr td {
425
- vertical-align: top;
426
- height: 18px;
427
- padding: 12px 8px;
428
- border-width: 1px 0 0;
429
- border-style: solid;
430
- border-color: transparent; }
431
- .ac-column-header table tr td.column_sort {
432
- position: relative;
433
- cursor: move;
434
- padding: 9px 16px; }
435
- .ac-column-header table tr td.column_sort span.cpacicon-move {
436
- position: absolute;
437
- top: 12px;
438
- left: 12px;
439
- font-size: 22px;
440
- display: inline-block;
441
- color: #bdbdbd; }
442
- .ac-column-header table tr td.column_label {
443
- width: 70%;
444
- font-weight: bold;
445
- vertical-align: middle;
446
- position: relative;
447
- padding: 15px 0; }
448
- .ac-column-header table tr td.column_label .inner {
449
- position: relative;
450
- overflow: hidden;
451
- height: 18px; }
452
- .ac-column-header table tr td.column_label .inner .toggle img {
453
- max-height: 20px; }
454
- .ac-column-header table tr td.column_label .inner > a {
455
- color: #5a5a5a;
456
- padding: 0 4px; }
457
- .ac-column-header table tr td.column_label .inner > a:hover {
458
- color: #333333; }
459
- .ac-column-header table tr td.column_label .inner > a.edit-button, .ac-column-header table tr td.column_label .inner > a.close-button, .ac-column-header table tr td.column_label .inner > a.remove-button, .ac-column-header table tr td.column_label .inner > a.clone-button {
460
- display: none;
461
- color: #0074a2;
462
- text-decoration: none;
463
- text-shadow: none;
464
- font-weight: normal;
465
- margin-left: 5px;
466
- font-size: 12px; }
467
- .ac-column-header table tr td.column_label .inner > a.edit-button:hover, .ac-column-header table tr td.column_label .inner > a.close-button:hover, .ac-column-header table tr td.column_label .inner > a.remove-button:hover, .ac-column-header table tr td.column_label .inner > a.clone-button:hover {
468
- color: #2ea2cc; }
469
- .ac-column-header table tr td.column_label .inner > a.remove-button {
470
- color: #a00; }
471
- .ac-column-header table tr td.column_label .inner > a.remove-button:hover {
472
- color: #f00; }
473
- .ac-column-header table tr td.column_label .inner .meta {
474
- display: inline-block;
475
- float: right;
476
- font-weight: normal;
477
- color: #b2b2b2;
478
- font-size: 12px; }
479
- .ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting {
480
- cursor: pointer;
481
- margin-left: 4px; }
482
- .ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-heading-setting--width {
483
- margin-right: 3px;
484
- cursor: auto;
485
- color: #737373; }
486
- .ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator {
487
- margin-left: 3px;
488
- font-size: 24px;
489
- line-height: 17px;
490
- width: 22px; }
491
- .ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.ac-column-indicator--filter {
492
- font-size: 20px; }
493
- .ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on, .ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on span {
494
- color: #21759B; }
495
- .ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.disabled {
496
- cursor: default; }
497
- .ac-column-header table tr td.column_type {
498
- width: auto;
499
- min-width: 120px;
500
- text-align: right;
501
- color: #999999;
502
- padding-right: 0; }
503
- .ac-column-header table tr td.column_type .inner {
504
- display: inline-block;
505
- height: 18px;
506
- overflow: hidden;
507
- text-overflow: ellipsis;
508
- white-space: nowrap;
509
- width: 120px;
510
- vertical-align: middle; }
511
- .ac-column-header table tr td.column_type .inner a {
512
- margin-top: 2px;
513
- color: #999999; }
514
- .ac-column-header table tr td.column_edit {
515
- width: 38px;
516
- min-width: 38px;
517
- text-align: center;
518
- cursor: pointer; }
519
- .ac-column-header table tr td.column_edit:after {
520
- right: 0;
521
- content: "\f140";
522
- font: normal 20px/1 dashicons;
523
- speak: none;
524
- display: inline-block;
525
- padding: 0 5px 0 0;
526
- bottom: 0;
527
- position: relative;
528
- vertical-align: bottom;
529
- -webkit-font-smoothing: antialiased;
530
- -moz-osx-font-smoothing: grayscale;
531
- text-decoration: none !important;
532
- color: #b4b9be; }
533
- .ac-column-header table tr:hover td.column_sort span {
534
- color: #9b9b9b; }
535
- .ac-column-header:hover .column_label .inner > a.remove-button, .ac-column-header:hover .column_label .inner > a.edit-button, .ac-column-header:hover .column_label .inner > a.clone-button {
536
- display: inline-block; }
537
- .ac-column-header span.vers {
538
- padding-top: 2px; }
539
-
540
- /**
541
- * Column Body
542
- * ----------------------------------------------------------------------------
543
- */
544
- .ac-column-body {
545
- display: none;
546
- border-width: 1px 1px 0;
547
- border-style: solid;
548
- border-color: #dfdfdf;
549
- position: relative; }
550
-
551
- /**
552
- * Column: Footer
553
- * ----------------------------------------------------------------------------
554
- */
555
- .column-footer {
556
- background: #EAF2FA;
557
- border: 1px solid #c7d7e2;
558
- min-height: 26px;
559
- padding: 8px;
560
- overflow: hidden; }
561
- .column-footer .order-message {
562
- background: transparent url("../images/order_arrow.png") no-repeat 0 0;
563
- color: #7A9BBE;
564
- float: left;
565
- font-family: Comic Sans MS, sans-serif;
566
- font-size: 11px;
567
- height: 13px;
568
- line-height: 1em;
569
- margin-left: 4px;
570
- padding: 7px 0 0 22px;
571
- text-shadow: 0 1px 0 #FFFFFF;
572
- display: inline-block; }
573
- .column-footer .button-container {
574
- float: right;
575
- display: inline-block;
576
- min-height: 29px; }
577
- .column-footer .button-container a {
578
- display: inline-block;
579
- margin-left: 5px;
580
- vertical-align: top; }
581
- .column-footer .button-container a.clear-columns {
582
- color: #BC0B0B;
583
- text-decoration: none;
584
- margin-right: 8px;
585
- margin-top: 5px; }
586
- .column-footer .button-container a.clear-columns:hover {
587
- color: #f00; }
588
-
589
- /**
590
- * Sidebar
591
- * ----------------------------------------------------------------------------
592
- */
593
- .ac-right .sidebox {
594
- background: none repeat scroll 0 0 #FFFFFF;
595
- border: 1px solid #dedede;
596
- border-radius: 0 0 0 0;
597
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
598
- position: relative;
599
- margin-bottom: 14px; }
600
- .ac-right .sidebox h3 {
601
- padding: 10px;
602
- margin: 0;
603
- position: relative; }
604
- .ac-right .sidebox h3.title {
605
- font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
606
- font-size: 15px;
607
- font-weight: normal;
608
- line-height: 1;
609
- margin: 0;
610
- padding: 7px 10px;
611
- background: #f1f1f1;
612
- background-image: -webkit-gradient(linear, left bottom, left top, from(#ececec), to(#f9f9f9));
613
- background-image: -webkit-linear-gradient(bottom, #ececec, #f9f9f9);
614
- background-image: -moz-linear-gradient(bottom, #ececec, #f9f9f9);
615
- background-image: -o-linear-gradient(bottom, #ececec, #f9f9f9);
616
- background-image: linear-gradient(to top, #ececec, #f9f9f9);
617
- border-bottom-color: #dfdfdf;
618
- text-shadow: #fff 0 1px 0;
619
- -webkit-box-shadow: 0 1px 0 #fff;
620
- box-shadow: 0 1px 0 #fff;
621
- border-bottom-style: solid;
622
- border-bottom-width: 1px; }
623
- .ac-right .sidebox h3 span.left {
624
- position: relative;
625
- background: #fff;
626
- z-index: 2;
627
- padding-right: 8px;
628
- float: none; }
629
- .ac-right .sidebox h3 span.contenttype {
630
- display: block;
631
- line-height: 20px;
632
- font-size: 12px;
633
- text-transform: uppercase;
634
- color: #808080;
635
- margin-top: 4px; }
636
- .ac-right .sidebox h3 span.contenttype.right {
637
- position: absolute;
638
- display: inline-block;
639
- z-index: 1;
640
- right: 10px;
641
- text-align: right;
642
- margin-top: 0; }
643
- .ac-right .sidebox .inside {
644
- padding: 10px; }
645
- .ac-right .sidebox .inside p {
646
- margin-top: 0; }
647
- .ac-right .sidebox.form-actions .form-reset {
648
- display: none;
649
- border-bottom: 1px solid #F5F5F5;
650
- padding: 8px; }
651
- .ac-right .sidebox.form-actions .reset-column-type {
652
- text-decoration: none;
653
- color: #BC0B0B;
654
- line-height: 25px;
655
- display: inline-block;
656
- background: none;
657
- border: none;
658
- padding: 0;
659
- font-size: 13px;
660
- cursor: pointer;
661
- margin: 0; }
662
- .ac-right .sidebox.form-actions .reset-column-type:hover {
663
- color: #f00; }
664
- .ac-right .sidebox.form-actions .form-update {
665
- padding: 8px;
666
- overflow: hidden; }
667
- .ac-right .sidebox.form-actions .submit {
668
- display: none;
669
- width: 100%;
670
- height: 28px;
671
- line-height: 28px;
672
- text-align: center; }
673
- .ac-right .sidebox.form-actions .submit.save {
674
- display: block; }
675
- .ac-right .sidebox#direct-feedback #feedback-support,
676
- .ac-right .sidebox#direct-feedback #feedback-rate {
677
- display: none; }
678
- .ac-right .sidebox#direct-feedback .inside > a {
679
- border-radius: 4px;
680
- border: 1px solid #CCC;
681
- width: 48%;
682
- height: 64px;
683
- text-align: center;
684
- line-height: 64px;
685
- font-weight: bold;
686
- color: #222;
687
- display: inline-block;
688
- text-decoration: none; }
689
- .ac-right .sidebox#direct-feedback .inside > a:hover {
690
- background: #FAFAFA; }
691
- .ac-right .sidebox#direct-feedback .inside form textarea {
692
- width: 100%;
693
- height: 120px; }
694
- .ac-right .sidebox#direct-feedback .inside form input[type="submit"] {
695
- display: inline-block;
696
- float: right;
697
- border-radius: 4px;
698
- border: 1px solid #CCC;
699
- height: 32px;
700
- text-align: center;
701
- line-height: 32px;
702
- font-weight: bold;
703
- font-size: 12px;
704
- padding: 0 32px;
705
- color: #CCC;
706
- background: none;
707
- text-decoration: none;
708
- cursor: pointer; }
709
- .ac-right .sidebox#direct-feedback .inside form input[type="submit"]:hover {
710
- background: #FAFAFA; }
711
- .ac-right .sidebox#direct-feedback .inside form p.description {
712
- float: left;
713
- font-size: 10px; }
714
- .ac-right .sidebox#direct-feedback .inside ul {
715
- margin: 0; }
716
- .ac-right .sidebox#direct-feedback .inside ul.share li {
717
- margin: 0;
718
- display: block;
719
- float: left;
720
- margin-left: 9px;
721
- width: 30%; }
722
- .ac-right .sidebox#direct-feedback .inside ul.share li a {
723
- text-decoration: none;
724
- vertical-align: middle;
725
- line-height: 20px;
726
- padding: 16px 0;
727
- width: 100%;
728
- text-align: center;
729
- border: 1px solid #CCC;
730
- border-radius: 4px;
731
- display: block; }
732
- .ac-right .sidebox#direct-feedback .inside ul.share li a:hover {
733
- background: #FAFAFA; }
734
- .ac-right .sidebox#direct-feedback .inside ul.share li:first-child {
735
- margin-left: 0; }
736
- .ac-right .sidebox#direct-feedback #feedback-support .inside ul.share li {
737
- width: 48%; }
738
-
739
- /**
740
- * Side box
741
- * ----------------------------------------------------------------------------
742
- */
743
- #ac-pro-version {
744
- background: none; }
745
- #ac-pro-version .padding-box {
746
- padding: 20px 10px 10px;
747
- background: #3d4350;
748
- color: #fff; }
749
- #ac-pro-version .nopadding {
750
- margin: 0;
751
- padding: 0; }
752
- #ac-pro-version h2 {
753
- color: #fff; }
754
- #ac-pro-version h3 {
755
- font-size: 34px;
756
- line-height: 40px; }
757
- #ac-pro-version h3 a {
758
- text-decoration: none;
759
- color: #fff; }
760
- #ac-pro-version h3 a span {
761
- color: #e9426e; }
762
- #ac-pro-version sup {
763
- text-decoration: line-through;
764
- font-size: 13px;
765
- color: #ccc; }
766
- #ac-pro-version .ac-pro-prices {
767
- color: #ffcac0;
768
- text-decoration: none; }
769
- #ac-pro-version .ac-pro-prices:hover {
770
- text-decoration: underline; }
771
- #ac-pro-version .ac-pro-prices:hover sup {
772
- text-decoration: none; }
773
- #ac-pro-version .acp-button {
774
- background: #e9426e;
775
- border: none;
776
- color: #fff;
777
- text-decoration: none;
778
- text-align: center;
779
- display: block;
780
- padding: 6px 20px;
781
- border-radius: 3px;
782
- cursor: pointer; }
783
- #ac-pro-version .more {
784
- color: #FFEE85;
785
- text-decoration: none; }
786
- #ac-pro-version .more:hover {
787
- text-decoration: underline; }
788
- #ac-pro-version p.center {
789
- text-align: center; }
790
- #ac-pro-version p.nomargin {
791
- margin-bottom: 0; }
792
- #ac-pro-version ul.features a:hover {
793
- text-decoration: underline; }
794
- #ac-pro-version ul li {
795
- padding-bottom: 3px; }
796
- #ac-pro-version ul li a {
797
- color: #fff;
798
- text-decoration: none;
799
- padding-left: 25px;
800
- position: relative;
801
- display: block; }
802
- #ac-pro-version ul li a:before {
803
- content: '\2713';
804
- font-weight: bold;
805
- font-size: 16px;
806
- position: absolute;
807
- left: 0;
808
- top: 0; }
809
- #ac-pro-version ul li.acp-integration {
810
- padding: 0;
811
- min-height: 23px;
812
- line-height: 23px; }
813
- #ac-pro-version ul li.acp-integration img {
814
- height: 23px;
815
- display: inline-block;
816
- vertical-align: middle;
817
- margin-right: 3px; }
818
- #ac-pro-version ul li.acp-integration img.ac-addon-pods {
819
- margin-top: -4px; }
820
- #ac-pro-version ul li.acp-integration img.ac-addon-types {
821
- height: 18px; }
822
- #ac-pro-version ul li.acp-integration img.cac-addon-acf {
823
- margin-top: -4px;
824
- height: 15px; }
825
- #ac-pro-version ul li.acp-integration a:before {
826
- content: '+'; }
827
- #ac-pro-version .padding-box.ac-pro-deal {
828
- color: #3d4350;
829
- padding-bottom: 20px;
830
- text-align: center;
831
- background: #ffef8f; }
832
- #ac-pro-version .padding-box.ac-pro-deal h3 {
833
- font-size: 20px;
834
- line-height: 26px;
835
- padding-top: 0;
836
- padding-bottom: 0;
837
- margin-bottom: 18px; }
838
- #ac-pro-version .padding-box.ac-pro-deal a.acp-button {
839
- font-size: 16px; }
840
- #ac-pro-version .padding-box.ac-pro-newsletter {
841
- background: #fff;
842
- color: #3d4350; }
843
- #ac-pro-version .padding-box.ac-pro-newsletter h3 {
844
- font-size: 20px;
845
- padding-bottom: 0; }
846
- #ac-pro-version .padding-box.ac-pro-newsletter input {
847
- width: 100%;
848
- margin-bottom: 8px; }
849
- #ac-pro-version .padding-box.ac-pro-newsletter .acp-button {
850
- margin-top: 12px;
851
- margin-bottom: 0;
852
- padding: 7px 20px; }
853
- #ac-pro-version .acp-button {
854
- background: #e9426e;
855
- border: none;
856
- color: #fff;
857
- text-decoration: none;
858
- text-align: center;
859
- display: block;
860
- padding: 6px 20px;
861
- border-radius: 3px; }
862
-
863
- /**
864
- * Responsive
865
- * ----------------------------------------------------------------------------
866
- */
867
- @media only screen and (max-width: 900px) {
868
- .ac-admin {
869
- margin-right: 0; }
870
- .ac-admin .menu {
871
- float: none; }
872
- .ac-admin .ac-left {
873
- float: none; }
874
- .ac-admin .ac-right {
875
- float: none;
876
- margin-top: 0;
877
- margin-right: 0;
878
- width: 100%; } }
1
+ @font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2") format("woff2");font-style:normal;font-weight:400}.cpacicon,[class^="cpacicon-"],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-draft::before{content:""}.cpacicon-move::before{content:""}.ui-sortable-helper{-webkit-box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4);box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4)}.ui-sortable-helper .column-meta{border-width:1px}.ac-column .comment-grey-bubble{height:16px;width:16px}.ac-column .comment-grey-bubble:before{content:'\f101';font:normal 20px/.5 'dashicons';speak:none;display:inline-block;padding:0;top:5px;left:0;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none !important}.rtl .ac-column .comment-grey-bubble:before{right:0;left:auto}.ac-admin{margin-right:300px;max-width:740px}.ac-admin #add-new-column-template{display:none}.ac-admin .ac-left{float:left;width:100%}.ac-admin .ac-left .column-footer a.add_column{padding-left:16px;padding-right:16px;text-align:center}.ac-admin .ac-left .column-footer a.submit.save,.ac-admin .ac-left .column-footer a.submit.update{padding-left:20px;padding-right:20px;text-align:center}.ac-admin .ac-left .column-footer .submit.save{display:inline-block}.ac-admin .ac-left .column-footer .submit.update{display:none}.ac-admin .ac-right{float:right;margin-right:-300px;width:280px}.ac-admin .ac-right .ac-right-inside.fixed{width:280px}.ac-admin .column-footer .spinner{display:none}.ac-admin.saving .ac-right-inside .spinner{visibility:visible}.ac-admin.saving .column-footer .spinner{margin:4px 0 0;background-position:center center;float:none;display:inline-block;visibility:visible}.ac-admin.stored .ac-right .sidebox.form-actions .submit.save{display:none}.ac-admin.stored .ac-right .sidebox.form-actions .submit.update{display:block}.ac-admin.stored .ac-right .sidebox.form-actions .form-reset{display:block}.ac-admin.stored .column-footer .submit.save{display:none}.ac-admin.stored .column-footer .submit.update{display:inline-block}.ac-left .ac-notice{background:#fff;border-left:4px solid #ffba00;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);margin-bottom:15px;padding:1px 12px}.ac-left .ajax-message{display:none}.ac-left .ac-message{margin-top:0 !important}.ac-left .ac-boxes .ac-columns form{box-shadow:0 1px 3px rgba(0,0,0,0.1);margin:0}.ac-left .ac-boxes.disabled{opacity:0.7}.ac-left .ac-boxes.disabled a.remove-button,.ac-left .ac-boxes.disabled a.clone-button,.ac-left .ac-boxes.disabled .column_action{display:none !important}.ac-left .ac-boxes.disabled .column-meta td.column_sort{display:none}.ac-left .ac-boxes.disabled .column-meta td.column_label{padding-left:10px}.ac-left .ac-boxes.disabled .meta span{cursor:default !important;opacity:0.45}.ac-left .ac-boxes.disabled .meta span:before{color:#808080 !important}.ac-left .ac-boxes.disabled .meta span.on{opacity:1}.ac-left .ac-boxes.disabled .column-footer{display:none}.ac-column a{cursor:pointer}.ac-column a:focus,.ac-column a:active{box-shadow:none}.ac-column.loading .ac-column-body>.spinner{position:absolute;left:50%;top:50%;z-index:200;margin-left:-10px;margin-top:-10px;display:block}.ac-column.loading .ac-column-body:before{content:'';position:absolute;width:100%;height:100%;background:#FFF;z-index:100;opacity:0.5}.ac-column.opened{margin-bottom:-1px}.ac-column.opened .ac-column-header{background-color:#eaeaea;border-color:#ccc}.ac-column.opened .ac-column-header:hover .column_label .inner>a.close-button{display:inline-block}.ac-column.opened .ac-column-header .column_edit:after{content:"\f142"}.ac-column.opened .ac-column-header table td{border-color:#f8f8f8;color:#333;text-shadow:0 1px 0 #FFFFFF}.ac-column.opened .ac-column-header table td a{color:#333;text-shadow:0 1px 0 #FFFFFF}.ac-column.opened .ac-column-header table td.column_sort span{color:#9b9b9b}.ac-column.opened .ac-column-header table td.column_label .meta span{color:#8d8d8d;text-shadow:none}.ac-column.opened .ac-column-header table td.column_label a.edit-button{display:none}.ac-column.opened .ac-column-header table td.column_type{color:#5C5C5C}.ac-column.opened .ac-column-header table td.column_edit:after{color:#9b9b9b}.ac-column.opened .ac-column-body{border:1px solid #ccc;border-top:1px solid #d4d4d4}.ac-column-setting{width:100%;clear:both;border-spacing:0;margin:0;border-top:1px solid #e8e8e8}.ac-column-setting:first-child{border-top:0}.ac-column-setting tr.hide{display:none}.ac-column-setting tr td{vertical-align:top;border:none;padding:0;background:#fff}.ac-column-setting td.col-label{position:relative;line-height:24px;overflow:visible;background:#f5f5f5;border-right:1px solid #dedede;width:34%;padding:10px;padding-left:12px}.ac-column-setting td.col-label span.label{font-weight:bold;display:block;color:#333333;font-style:normal}.ac-column-setting td.col-label div.tooltip{font-size:12px;font-style:normal;line-height:16px;margin:0 !important;display:none;position:absolute;max-width:200px;z-index:99;top:40px;left:0;font-weight:normal;color:#fff;background-color:#333;box-shadow:0 1px 3px rgba(0,0,0,0.2);padding:.618em 1em;border-radius:3px}.ac-column-setting td.col-label div.tooltip em{margin-top:3px;display:block;color:#999}.ac-column-setting td.col-input div.msg{margin-top:5px;display:none;color:#333;padding:6px 10px;background-color:#ffebe8;border:1px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.ac-column-setting td.col-input div.msg p{margin:0.5em 0 1em 0}.ac-column-setting td.col-input div.msg a.button{margin-bottom:1em}.ac-column-setting td.col-input .help-msg{margin:10px 0 0;color:#666;font-size:13px}.ac-column-setting .ac-column-setting td.col_label{background-color:#fcfcfc}.ac-column-setting .ac-column-setting td.col_label .label{font-size:12px;color:#595959}.ac-column-setting span.ac-setting-error{display:block;margin:0;background-color:#ffebe8;padding:7px 10px}.ac-column-setting-actions .col-settings p{padding-left:10px}.ac-column-setting-actions .col-settings a{text-decoration:none}.ac-column-setting-actions .col-settings a.close-button,.ac-column-setting-actions .col-settings a.clone-button{margin-right:10px}.ac-column-setting-actions .col-settings a.remove-button{color:#a00;text-decoration:none;text-shadow:none;margin-right:5px}.ac-column-setting-actions .col-settings a.remove-button:hover{color:#f00}.ac-setting-input{padding:10px;line-height:24px}.ac-setting-input input,.ac-setting-input select{width:99.95%}.ac-setting-input input[type=checkbox],.ac-setting-input input[type=radio]{width:auto;margin-right:4px}.ac-setting-input .checkbox-labels>label,.ac-setting-input .radio-labels>label{padding-right:10px;vertical-align:top}.ac-setting-input .checkbox-labels.vertical input[type=radio],.ac-setting-input .radio-labels.vertical input[type=radio]{margin-right:6px}.ac-setting-input .checkbox-labels.vertical>label,.ac-setting-input .radio-labels.vertical>label{display:block;margin-bottom:5px}.ac-setting-input-date .ac-setting-input-date__custom{display:inline-block;width:71px;margin-right:5px}.ac-setting-input-date .ac-setting-input-date__value{display:inline-block;width:165px}.ac-setting-input-date .ac-setting-input-date__example{margin-left:8px}.ac-setting-input-date .ac-setting-input-date__example .spinner{float:none;vertical-align:top}.ac-setting-input-date code{display:inline-block;min-width:60px;padding-top:0;padding-bottom:0;text-align:center}.ac-setting-input-width{position:relative}.ac-setting-input-width div.description{font-size:12px;width:68px;position:absolute;display:table}.ac-setting-input-width div.description input{margin:0;text-align:right;vertical-align:middle;display:table-cell}.ac-setting-input-width div.description input::-webkit-input-placeholder{font-size:13px}.ac-setting-input-width div.description input:-moz-placeholder{font-size:13px}.ac-setting-input-width div.description input::-moz-placeholder{font-size:13px}.ac-setting-input-width div.description input:-ms-input-placeholder{font-size:13px}.ac-setting-input-width div.description span{background:#efefef;display:table-cell;width:26px;line-height:23px;text-align:center;vertical-align:middle;border:1px solid #dedede;border-left:none;color:#505050}.ac-setting-input-width div.width-slider{margin-left:82px;margin-right:88px;position:relative;top:8px}.ac-setting-input-width div.width-slider .ui-slider-handle{cursor:ew-resize}.ac-setting-input-width div.unit-select{position:absolute;top:11px;right:6px;width:82px;text-align:right}.ac-setting-input-width div.unit-select .radio-labels{padding:0}.ac-setting-input-width div.unit-select .radio-labels label{padding:0;margin-right:6px}.ac-setting-input-width div.unit-select .radio-labels label input{margin-right:2px}.ac-column-header{border-style:solid;border-color:#dfdfdf;border-width:1px 1px 0;background:#fcfcfc}.ac-column-header:nth-child(2n) .column-meta{background:#f9f9f9}.ac-column-header img{margin-right:3px}.ac-column-header table{border:none;background:transparent;border-radius:0}.ac-column-header table tr td{vertical-align:top;height:18px;padding:12px 8px;border-width:1px 0 0;border-style:solid;border-color:transparent}.ac-column-header table tr td.column_sort{position:relative;cursor:move;padding:9px 16px}.ac-column-header table tr td.column_sort span.cpacicon-move{position:absolute;top:12px;left:12px;font-size:22px;display:inline-block;color:#bdbdbd}.ac-column-header table tr td.column_label{width:70%;font-weight:bold;vertical-align:middle;position:relative;padding:15px 0}.ac-column-header table tr td.column_label .inner{position:relative;overflow:hidden;height:18px}.ac-column-header table tr td.column_label .inner .toggle img{max-height:20px}.ac-column-header table tr td.column_label .inner>a{color:#5a5a5a;padding:0 4px}.ac-column-header table tr td.column_label .inner>a:hover{color:#333333}.ac-column-header table tr td.column_label .inner>a.edit-button,.ac-column-header table tr td.column_label .inner>a.close-button,.ac-column-header table tr td.column_label .inner>a.remove-button,.ac-column-header table tr td.column_label .inner>a.clone-button{display:none;color:#0074a2;text-decoration:none;text-shadow:none;font-weight:normal;margin-left:5px;font-size:12px}.ac-column-header table tr td.column_label .inner>a.edit-button:hover,.ac-column-header table tr td.column_label .inner>a.close-button:hover,.ac-column-header table tr td.column_label .inner>a.remove-button:hover,.ac-column-header table tr td.column_label .inner>a.clone-button:hover{color:#2ea2cc}.ac-column-header table tr td.column_label .inner>a.remove-button{color:#a00}.ac-column-header table tr td.column_label .inner>a.remove-button:hover{color:#f00}.ac-column-header table tr td.column_label .inner .meta{display:inline-block;float:right;font-weight:normal;color:#b2b2b2;font-size:12px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting{cursor:pointer;margin-left:4px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-heading-setting--width{margin-right:3px;cursor:auto;color:#737373}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator{margin-left:3px;font-size:24px;line-height:17px;width:22px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.ac-column-indicator--filter{font-size:20px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on,.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on span{color:#21759B}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.disabled{cursor:default}.ac-column-header table tr td.column_type{width:auto;min-width:120px;text-align:right;color:#999999;padding-right:0}.ac-column-header table tr td.column_type .inner{display:inline-block;height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:120px;vertical-align:middle}.ac-column-header table tr td.column_type .inner a{margin-top:2px;color:#999999}.ac-column-header table tr td.column_edit{width:38px;min-width:38px;text-align:center;cursor:pointer}.ac-column-header table tr td.column_edit:after{right:0;content:"\f140";font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:0 5px 0 0;bottom:0;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none !important;color:#b4b9be}.ac-column-header table tr:hover td.column_sort span{color:#9b9b9b}.ac-column-header:hover .column_label .inner>a.remove-button,.ac-column-header:hover .column_label .inner>a.edit-button,.ac-column-header:hover .column_label .inner>a.clone-button{display:inline-block}.ac-column-header span.vers{padding-top:2px}.ac-column-body{display:none;border-width:1px 1px 0;border-style:solid;border-color:#dfdfdf;position:relative}.column-footer{background:#EAF2FA;border:1px solid #c7d7e2;min-height:26px;padding:8px;overflow:hidden}.column-footer .order-message{background:transparent url("../images/order_arrow.png") no-repeat 0 0;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 #FFFFFF;display:inline-block}.column-footer .button-container{float:right;display:inline-block;min-height:29px}.column-footer .button-container a{display:inline-block;margin-left:5px;vertical-align:top}.column-footer .button-container a.clear-columns{color:#BC0B0B;text-decoration:none;margin-right:8px;margin-top:5px}.column-footer .button-container a.clear-columns:hover{color:red}.ac-right .sidebox{background:none repeat scroll 0 0 #FFFFFF;border:1px solid #dedede;border-radius:0 0 0 0;box-shadow:0 1px 3px rgba(0,0,0,0.1);position:relative;margin-bottom:14px}.ac-right .sidebox h3{padding:10px;margin:0;position:relative}.ac-right .sidebox h3.title{font-family:Georgia, "Times New Roman", "Bitstream Charter", Times, serif;font-size:15px;font-weight:normal;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}.ac-right .sidebox h3 span.left{position:relative;background:#fff;z-index:2;padding-right:8px;float:none}.ac-right .sidebox h3 span.contenttype{display:block;line-height:20px;font-size:12px;text-transform:uppercase;color:#808080;margin-top:4px}.ac-right .sidebox h3 span.contenttype.right{position:absolute;display:inline-block;z-index:1;right:10px;text-align:right;margin-top:0}.ac-right .sidebox .inside{padding:10px}.ac-right .sidebox .inside p{margin-top:0}.ac-right .sidebox.form-actions .form-reset{display:none;border-bottom:1px solid #F5F5F5;padding:8px}.ac-right .sidebox.form-actions .reset-column-type{text-decoration:none;color:#BC0B0B;line-height:25px;display:inline-block;background:none;border:none;padding:0;font-size:13px;cursor:pointer;margin:0}.ac-right .sidebox.form-actions .reset-column-type:hover{color:red}.ac-right .sidebox.form-actions .form-update{padding:8px;overflow:hidden}.ac-right .sidebox.form-actions .submit{display:none;width:100%;height:28px;line-height:28px;text-align:center}.ac-right .sidebox.form-actions .submit.save{display:block}.ac-right .sidebox#direct-feedback #feedback-support,.ac-right .sidebox#direct-feedback #feedback-rate{display:none}.ac-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:bold;color:#222;display:inline-block;text-decoration:none}.ac-right .sidebox#direct-feedback .inside>a:hover{background:#FAFAFA}.ac-right .sidebox#direct-feedback .inside form textarea{width:100%;height:120px}.ac-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:bold;font-size:12px;padding:0 32px;color:#CCC;background:none;text-decoration:none;cursor:pointer}.ac-right .sidebox#direct-feedback .inside form input[type="submit"]:hover{background:#FAFAFA}.ac-right .sidebox#direct-feedback .inside form p.description{float:left;font-size:10px}.ac-right .sidebox#direct-feedback .inside ul{margin:0}.ac-right .sidebox#direct-feedback .inside ul.share li{margin:0;display:block;float:left;margin-left:9px;width:30%}.ac-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}.ac-right .sidebox#direct-feedback .inside ul.share li a:hover{background:#FAFAFA}.ac-right .sidebox#direct-feedback .inside ul.share li:first-child{margin-left:0}.ac-right .sidebox#direct-feedback #feedback-support .inside ul.share li{width:48%}#ac-pro-version{background:none}#ac-pro-version .padding-box{padding:20px 10px 10px;background:#3d4350;color:#fff}#ac-pro-version .nopadding{margin:0;padding:0}#ac-pro-version h2{color:#fff}#ac-pro-version h3{font-size:34px;line-height:40px}#ac-pro-version h3 a{text-decoration:none;color:#fff}#ac-pro-version h3 a span{color:#e9426e}#ac-pro-version sup{text-decoration:line-through;font-size:13px;color:#ccc}#ac-pro-version .ac-pro-prices{color:#ffcac0;text-decoration:none}#ac-pro-version .ac-pro-prices:hover{text-decoration:underline}#ac-pro-version .ac-pro-prices:hover sup{text-decoration:none}#ac-pro-version .acp-button{background:#e9426e;border:none;color:#fff;text-decoration:none;text-align:center;display:block;padding:6px 20px;border-radius:3px;cursor:pointer}#ac-pro-version .more{color:#FFEE85;text-decoration:none}#ac-pro-version .more:hover{text-decoration:underline}#ac-pro-version p.center{text-align:center}#ac-pro-version p.nomargin{margin-bottom:0}#ac-pro-version ul.features a:hover{text-decoration:underline}#ac-pro-version ul li{padding-bottom:3px}#ac-pro-version ul li a{color:#fff;text-decoration:none;padding-left:25px;position:relative;display:block}#ac-pro-version ul li a:before{content:'\2713';font-weight:bold;font-size:16px;position:absolute;left:0;top:0}#ac-pro-version ul li.acp-integration{padding:0;min-height:23px;line-height:23px}#ac-pro-version ul li.acp-integration img{height:23px;display:inline-block;vertical-align:middle;margin-right:3px}#ac-pro-version ul li.acp-integration img.ac-addon-pods{margin-top:-4px}#ac-pro-version ul li.acp-integration img.ac-addon-types{height:18px}#ac-pro-version ul li.acp-integration img.cac-addon-acf{margin-top:-4px;height:15px}#ac-pro-version ul li.acp-integration a:before{content:'+'}#ac-pro-version .padding-box.ac-pro-deal{color:#3d4350;padding-bottom:20px;text-align:center;background:#ffef8f}#ac-pro-version .padding-box.ac-pro-deal h3{font-size:20px;line-height:26px;padding-top:0;padding-bottom:0;margin-bottom:18px}#ac-pro-version .padding-box.ac-pro-deal a.acp-button{font-size:16px}#ac-pro-version .padding-box.ac-pro-newsletter{background:#fff;color:#3d4350}#ac-pro-version .padding-box.ac-pro-newsletter h3{font-size:20px;padding-bottom:0}#ac-pro-version .padding-box.ac-pro-newsletter input{width:100%;margin-bottom:8px}#ac-pro-version .padding-box.ac-pro-newsletter .acp-button{margin-top:12px;margin-bottom:0;padding:7px 20px}#ac-pro-version .acp-button{background:#e9426e;border:none;color:#fff;text-decoration:none;text-align:center;display:block;padding:6px 20px;border-radius:3px}@media only screen and (max-width: 900px){.ac-admin{margin-right:0}.ac-admin .menu{float:none}.ac-admin .ac-left{float:none}.ac-admin .ac-right{float:none;margin-top:0;margin-right:0;width:100%}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/admin-page-columns.min.css DELETED
@@ -1 +0,0 @@
1
- @charset "UTF-8";@font-face{font-family:cpac_icons;src:url(../fonts/cpac_icons.woff) format("woff")}[class*=" cpacicon-"],[class^=cpacicon-]{font-family:cpac_icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=" cpacicon-"]:before,[class^=cpacicon-]:before{font-size:100%}.cpacicon-draft:before{content:""}.cpacicon-move:before{content:""}.ui-sortable-helper{box-shadow:1px 3px 6px 0 rgba(1,1,1,.4)}.ui-sortable-helper .column-meta{border-width:1px}.ac-column .comment-grey-bubble{height:16px;width:16px}.ac-column .comment-grey-bubble:before{content:"\f101";font:normal 20px/.5 dashicons;speak:none;display:inline-block;padding:0;top:5px;left:0;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.rtl .ac-column .comment-grey-bubble:before{right:0;left:auto}.ac-admin{margin-right:300px;max-width:740px}.ac-admin #add-new-column-template{display:none}.ac-admin .ac-left{float:left;width:100%}.ac-admin .ac-left .column-footer a.add_column{padding-left:16px;padding-right:16px;text-align:center}.ac-admin .ac-left .column-footer a.submit.save,.ac-admin .ac-left .column-footer a.submit.update{padding-left:20px;padding-right:20px;text-align:center}.ac-admin .ac-left .column-footer .submit.save{display:inline-block}.ac-admin .ac-left .column-footer .submit.update{display:none}.ac-admin .ac-right{float:right;margin-right:-300px;width:280px}.ac-admin .ac-right .ac-right-inside.fixed{width:280px}.ac-admin .column-footer .spinner{display:none}.ac-admin.saving .ac-right-inside .spinner{visibility:visible}.ac-admin.saving .column-footer .spinner{margin:4px 0 0;background-position:50%;float:none;display:inline-block;visibility:visible}.ac-admin.stored .ac-right .sidebox.form-actions .submit.save{display:none}.ac-admin.stored .ac-right .sidebox.form-actions .form-reset,.ac-admin.stored .ac-right .sidebox.form-actions .submit.update{display:block}.ac-admin.stored .column-footer .submit.save{display:none}.ac-admin.stored .column-footer .submit.update{display:inline-block}.ac-left .ac-notice{background:#fff;border-left:4px solid #ffba00;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin-bottom:15px;padding:1px 12px}.ac-left .ajax-message{display:none}.ac-left .ac-message{margin-top:0!important}.ac-left .ac-boxes .ac-columns form{box-shadow:0 1px 3px rgba(0,0,0,.1);margin:0}.ac-left .ac-boxes.disabled{opacity:.7}.ac-left .ac-boxes.disabled .column_action,.ac-left .ac-boxes.disabled a.clone-button,.ac-left .ac-boxes.disabled a.remove-button{display:none!important}.ac-left .ac-boxes.disabled .column-meta td.column_sort{display:none}.ac-left .ac-boxes.disabled .column-meta td.column_label{padding-left:10px}.ac-left .ac-boxes.disabled .meta span{cursor:default!important;opacity:.45}.ac-left .ac-boxes.disabled .meta span:before{color:gray!important}.ac-left .ac-boxes.disabled .meta span.on{opacity:1}.ac-left .ac-boxes.disabled .column-footer{display:none}.ac-column a{cursor:pointer}.ac-column a:active,.ac-column a:focus{box-shadow:none}.ac-column.loading .ac-column-body>.spinner{position:absolute;left:50%;top:50%;z-index:5;margin-left:-10px;margin-top:-10px;display:block}.ac-column.loading .ac-column-body:before{content:"";position:absolute;width:100%;height:100%;background:#fff;z-index:4;opacity:.5}.ac-column.opened{margin-bottom:-1px}.ac-column.opened .ac-column-header{background-color:#eaeaea;border-color:#ccc}.ac-column.opened .ac-column-header:hover .column_label .inner>a.close-button{display:inline-block}.ac-column.opened .ac-column-header .column_edit:after{content:"\f142"}.ac-column.opened .ac-column-header table td{border-color:#f8f8f8;color:#333;text-shadow:0 1px 0 #fff}.ac-column.opened .ac-column-header table td a{color:#333;text-shadow:0 1px 0 #fff}.ac-column.opened .ac-column-header table td.column_sort span{color:#9b9b9b}.ac-column.opened .ac-column-header table td.column_label .meta span{color:#8d8d8d;text-shadow:none}.ac-column.opened .ac-column-header table td.column_label a.edit-button{display:none}.ac-column.opened .ac-column-header table td.column_type{color:#5c5c5c}.ac-column.opened .ac-column-header table td.column_edit:after{color:#9b9b9b}.ac-column.opened .ac-column-body{border:1px solid #ccc;border-top:1px solid #d4d4d4}.ac-column-setting{width:100%;clear:both;border-spacing:0;margin:0;border-top:1px solid #e8e8e8}.ac-column-setting:first-child{border-top:0}.ac-column-setting tr.hide{display:none}.ac-column-setting tr td{vertical-align:top;border:none;padding:0;background:#fff}.ac-column-setting td.col-label{position:relative;line-height:24px;overflow:visible;background:#f5f5f5;border-right:1px solid #dedede;width:34%;padding:10px;padding-left:12px}.ac-column-setting td.col-label span.label{font-weight:700;display:block;color:#333;font-style:normal}.ac-column-setting td.col-label div.tooltip{font-size:12px;font-style:normal;line-height:16px;margin:0!important;display:none;position:absolute;max-width:200px;z-index:3;top:40px;left:0;font-weight:400;color:#fff;background-color:#333;box-shadow:0 1px 3px rgba(0,0,0,.2);padding:.618em 1em;border-radius:3px}.ac-column-setting td.col-label div.tooltip em{margin-top:3px;display:block;color:#999}.ac-column-setting td.col-input div.msg{margin-top:5px;display:none;color:#333;padding:6px 10px;background-color:#ffebe8;border:1px solid #fff;border-radius:3px}.ac-column-setting td.col-input div.msg p{margin:.5em 0 1em}.ac-column-setting td.col-input div.msg a.button{margin-bottom:1em}.ac-column-setting td.col-input .help-msg{margin:10px 0 0;color:#666;font-size:13px}.ac-column-setting .ac-column-setting td.col_label{background-color:#fcfcfc}.ac-column-setting .ac-column-setting td.col_label .label{font-size:12px;color:#595959}.ac-column-setting span.ac-setting-error{display:block;margin:0;background-color:#ffebe8;padding:7px 10px}.ac-column-setting-actions .col-settings p{padding-left:10px}.ac-column-setting-actions .col-settings a{text-decoration:none}.ac-column-setting-actions .col-settings a.clone-button,.ac-column-setting-actions .col-settings a.close-button{margin-right:10px}.ac-column-setting-actions .col-settings a.remove-button{color:#a00;text-decoration:none;text-shadow:none;margin-right:5px}.ac-column-setting-actions .col-settings a.remove-button:hover{color:red}.ac-setting-input{padding:10px;line-height:24px}.ac-setting-input input,.ac-setting-input select{width:99.95%}.ac-setting-input input[type=checkbox],.ac-setting-input input[type=radio]{width:auto;margin-right:4px}.ac-setting-input .checkbox-labels>label,.ac-setting-input .radio-labels>label{padding-right:10px;vertical-align:top}.ac-setting-input .checkbox-labels.vertical input[type=radio],.ac-setting-input .radio-labels.vertical input[type=radio]{margin-right:6px}.ac-setting-input .checkbox-labels.vertical>label,.ac-setting-input .radio-labels.vertical>label{display:block;margin-bottom:5px}.ac-setting-input-date .ac-setting-input-date__custom{display:inline-block;width:71px;margin-right:5px}.ac-setting-input-date .ac-setting-input-date__value{display:inline-block;width:165px}.ac-setting-input-date .ac-setting-input-date__example{margin-left:8px}.ac-setting-input-date .ac-setting-input-date__example .spinner{float:none;vertical-align:top}.ac-setting-input-date code{display:inline-block;min-width:60px;padding-top:0;padding-bottom:0;text-align:center}.ac-setting-input-width{position:relative}.ac-setting-input-width div.description{font-size:12px;width:68px;position:absolute;display:table}.ac-setting-input-width div.description input{margin:0;text-align:right;vertical-align:middle;display:table-cell}.ac-setting-input-width div.description input::-webkit-input-placeholder{font-size:13px}.ac-setting-input-width div.description input:-moz-placeholder,.ac-setting-input-width div.description input::-moz-placeholder{font-size:13px}.ac-setting-input-width div.description input:-ms-input-placeholder{font-size:13px}.ac-setting-input-width div.description span{background:#efefef;display:table-cell;width:26px;line-height:23px;text-align:center;vertical-align:middle;border:1px solid #dedede;border-left:none;color:#505050}.ac-setting-input-width div.width-slider{margin-left:82px;margin-right:88px;position:relative;top:8px}.ac-setting-input-width div.width-slider .ui-slider-handle{cursor:ew-resize}.ac-setting-input-width div.unit-select{position:absolute;top:11px;right:6px;width:82px;text-align:right}.ac-setting-input-width div.unit-select .radio-labels{padding:0}.ac-setting-input-width div.unit-select .radio-labels label{padding:0;margin-right:6px}.ac-setting-input-width div.unit-select .radio-labels label input{margin-right:2px}.ac-column-header{border-style:solid;border-color:#dfdfdf;border-width:1px 1px 0;background:#fcfcfc}.ac-column-header:nth-child(2n) .column-meta{background:#f9f9f9}.ac-column-header img{margin-right:3px}.ac-column-header table{border:none;background:transparent;border-radius:0}.ac-column-header table tr td{vertical-align:top;height:18px;padding:12px 8px;border-width:1px 0 0;border-style:solid;border-color:transparent}.ac-column-header table tr td.column_sort{position:relative;cursor:move;padding:9px 16px}.ac-column-header table tr td.column_sort span.cpacicon-move{position:absolute;top:12px;left:12px;font-size:22px;display:inline-block;color:#bdbdbd}.ac-column-header table tr td.column_label{width:70%;font-weight:700;vertical-align:middle;position:relative;padding:15px 0}.ac-column-header table tr td.column_label .inner{position:relative;overflow:hidden;height:18px}.ac-column-header table tr td.column_label .inner .toggle img{max-height:20px}.ac-column-header table tr td.column_label .inner>a{color:#5a5a5a;padding:0 4px}.ac-column-header table tr td.column_label .inner>a:hover{color:#333}.ac-column-header table tr td.column_label .inner>a.clone-button,.ac-column-header table tr td.column_label .inner>a.close-button,.ac-column-header table tr td.column_label .inner>a.edit-button,.ac-column-header table tr td.column_label .inner>a.remove-button{display:none;color:#0074a2;text-decoration:none;text-shadow:none;font-weight:400;margin-left:5px;font-size:12px}.ac-column-header table tr td.column_label .inner>a.clone-button:hover,.ac-column-header table tr td.column_label .inner>a.close-button:hover,.ac-column-header table tr td.column_label .inner>a.edit-button:hover,.ac-column-header table tr td.column_label .inner>a.remove-button:hover{color:#2ea2cc}.ac-column-header table tr td.column_label .inner>a.remove-button{color:#a00}.ac-column-header table tr td.column_label .inner>a.remove-button:hover{color:red}.ac-column-header table tr td.column_label .inner .meta{display:inline-block;float:right;font-weight:400;color:#b2b2b2;font-size:12px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting{cursor:pointer;margin-left:4px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-heading-setting--width{margin-right:3px;cursor:auto;color:#737373}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator{margin-left:3px;font-size:24px;line-height:17px;width:22px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.ac-column-indicator--filter{font-size:20px}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on,.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.ac-column-indicator.on span{color:#21759b}.ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.disabled{cursor:default}.ac-column-header table tr td.column_type{width:auto;min-width:120px;text-align:right;color:#999;padding-right:0}.ac-column-header table tr td.column_type .inner{display:inline-block;height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:120px;vertical-align:middle}.ac-column-header table tr td.column_type .inner a{margin-top:2px;color:#999}.ac-column-header table tr td.column_edit{width:38px;min-width:38px;text-align:center;cursor:pointer}.ac-column-header table tr td.column_edit:after{right:0;content:"\f140";font:normal 20px/1 dashicons;speak:none;display:inline-block;padding:0 5px 0 0;bottom:0;position:relative;vertical-align:bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#b4b9be}.ac-column-header table tr:hover td.column_sort span{color:#9b9b9b}.ac-column-header:hover .column_label .inner>a.clone-button,.ac-column-header:hover .column_label .inner>a.edit-button,.ac-column-header:hover .column_label .inner>a.remove-button{display:inline-block}.ac-column-header span.vers{padding-top:2px}.ac-column-body{display:none;border-width:1px 1px 0;border-style:solid;border-color:#dfdfdf;position:relative}.column-footer{background:#eaf2fa;border:1px solid #c7d7e2;min-height:26px;padding:8px;overflow:hidden}.column-footer .order-message{background:transparent url(../images/order_arrow.png) no-repeat 0 0;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;min-height:29px}.column-footer .button-container a{display:inline-block;margin-left:5px;vertical-align:top}.column-footer .button-container a.clear-columns{color:#bc0b0b;text-decoration:none;margin-right:8px;margin-top:5px}.column-footer .button-container a.clear-columns:hover{color:red}.ac-right .sidebox{background:none repeat scroll 0 0 #fff;border:1px solid #dedede;border-radius:0 0 0 0;box-shadow:0 1px 3px rgba(0,0,0,.1);position:relative;margin-bottom:14px}.ac-right .sidebox h3{padding:10px;margin:0;position:relative}.ac-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:linear-gradient(0deg,#ececec,#f9f9f9);border-bottom-color:#dfdfdf;text-shadow:#fff 0 1px 0;box-shadow:0 1px 0 #fff;border-bottom-style:solid;border-bottom-width:1px}.ac-right .sidebox h3 span.left{position:relative;background:#fff;z-index:2;padding-right:8px;float:none}.ac-right .sidebox h3 span.contenttype{display:block;line-height:20px;font-size:12px;text-transform:uppercase;color:gray;margin-top:4px}.ac-right .sidebox h3 span.contenttype.right{position:absolute;display:inline-block;z-index:1;right:10px;text-align:right;margin-top:0}.ac-right .sidebox .inside{padding:10px}.ac-right .sidebox .inside p{margin-top:0}.ac-right .sidebox.form-actions .form-reset{display:none;border-bottom:1px solid #f5f5f5;padding:8px}.ac-right .sidebox.form-actions .reset-column-type{text-decoration:none;color:#bc0b0b;line-height:25px;display:inline-block;background:none;border:none;padding:0;font-size:13px;cursor:pointer;margin:0}.ac-right .sidebox.form-actions .reset-column-type:hover{color:red}.ac-right .sidebox.form-actions .form-update{padding:8px;overflow:hidden}.ac-right .sidebox.form-actions .submit{display:none;width:100%;height:28px;line-height:28px;text-align:center}.ac-right .sidebox.form-actions .submit.save{display:block}.ac-right .sidebox#direct-feedback #feedback-rate,.ac-right .sidebox#direct-feedback #feedback-support{display:none}.ac-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}.ac-right .sidebox#direct-feedback .inside>a:hover{background:#fafafa}.ac-right .sidebox#direct-feedback .inside form textarea{width:100%;height:120px}.ac-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:none;text-decoration:none;cursor:pointer}.ac-right .sidebox#direct-feedback .inside form input[type=submit]:hover{background:#fafafa}.ac-right .sidebox#direct-feedback .inside form p.description{float:left;font-size:10px}.ac-right .sidebox#direct-feedback .inside ul{margin:0}.ac-right .sidebox#direct-feedback .inside ul.share li{margin:0;display:block;float:left;margin-left:9px;width:30%}.ac-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}.ac-right .sidebox#direct-feedback .inside ul.share li a:hover{background:#fafafa}.ac-right .sidebox#direct-feedback .inside ul.share li:first-child{margin-left:0}.ac-right .sidebox#direct-feedback #feedback-support .inside ul.share li{width:48%}#ac-pro-version{background:none}#ac-pro-version .padding-box{padding:20px 10px 10px;background:#3d4350;color:#fff}#ac-pro-version .nopadding{margin:0;padding:0}#ac-pro-version h2{color:#fff}#ac-pro-version h3{font-size:34px;line-height:40px}#ac-pro-version h3 a{text-decoration:none;color:#fff}#ac-pro-version h3 a span{color:#e9426e}#ac-pro-version sup{text-decoration:line-through;font-size:13px;color:#ccc}#ac-pro-version .ac-pro-prices{color:#ffcac0;text-decoration:none}#ac-pro-version .ac-pro-prices:hover{text-decoration:underline}#ac-pro-version .ac-pro-prices:hover sup{text-decoration:none}#ac-pro-version .acp-button{cursor:pointer}#ac-pro-version .more{color:#ffee85;text-decoration:none}#ac-pro-version .more:hover{text-decoration:underline}#ac-pro-version p.center{text-align:center}#ac-pro-version p.nomargin{margin-bottom:0}#ac-pro-version ul.features a:hover{text-decoration:underline}#ac-pro-version ul li{padding-bottom:3px}#ac-pro-version ul li a{color:#fff;text-decoration:none;padding-left:25px;position:relative;display:block}#ac-pro-version ul li a:before{content:"\2713";font-weight:700;font-size:16px;position:absolute;left:0;top:0}#ac-pro-version ul li.acp-integration{padding:0;min-height:23px;line-height:23px}#ac-pro-version ul li.acp-integration img{height:23px;display:inline-block;vertical-align:middle;margin-right:3px}#ac-pro-version ul li.acp-integration img.ac-addon-pods{margin-top:-4px}#ac-pro-version ul li.acp-integration img.ac-addon-types{height:18px}#ac-pro-version ul li.acp-integration img.cac-addon-acf{margin-top:-4px;height:15px}#ac-pro-version ul li.acp-integration a:before{content:"+"}#ac-pro-version .padding-box.ac-pro-deal{color:#3d4350;padding-bottom:20px;text-align:center;background:#ffef8f}#ac-pro-version .padding-box.ac-pro-deal h3{font-size:20px;line-height:26px;padding-top:0;padding-bottom:0;margin-bottom:18px}#ac-pro-version .padding-box.ac-pro-deal a.acp-button{font-size:16px}#ac-pro-version .padding-box.ac-pro-newsletter{background:#fff;color:#3d4350}#ac-pro-version .padding-box.ac-pro-newsletter h3{font-size:20px;padding-bottom:0}#ac-pro-version .padding-box.ac-pro-newsletter input{width:100%;margin-bottom:8px}#ac-pro-version .padding-box.ac-pro-newsletter .acp-button{margin-top:12px;margin-bottom:0;padding:7px 20px}#ac-pro-version .acp-button{background:#e9426e;border:none;color:#fff;text-decoration:none;text-align:center;display:block;padding:6px 20px;border-radius:3px}@media only screen and (max-width:900px){.ac-admin{margin-right:0}.ac-admin .ac-left,.ac-admin .menu{float:none}.ac-admin .ac-right{float:none;margin-top:0;margin-right:0;width:100%}}
 
assets/css/admin-page-help.css CHANGED
@@ -1,11 +1 @@
1
- .ac-deprecated-message {
2
- background: #fff;
3
- padding: 12px 12px;
4
- margin: 15px 0;
5
- box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
6
- border-left: 4px solid #ffb900; }
7
- .ac-deprecated-message p {
8
- margin: 0;
9
- line-height: 24px; }
10
- .ac-deprecated-message a {
11
- display: inline-block; }
1
+ .ac-deprecated-message{background:#fff;padding:12px 12px;margin:15px 0;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);border-left:4px solid #ffb900}.ac-deprecated-message p{margin:0;line-height:24px}.ac-deprecated-message a{display:inline-block}
 
 
 
 
 
 
 
 
 
 
assets/css/admin-page-help.min.css DELETED
@@ -1 +0,0 @@
1
- .ac-deprecated-message{background:#fff;padding:12px;margin:15px 0;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);border-left:4px solid #ffb900}.ac-deprecated-message p{margin:0;line-height:24px}.ac-deprecated-message a{display:inline-block}
 
assets/css/admin-page-settings.css CHANGED
@@ -1,4 +0,0 @@
1
- /**
2
- * Settings Page
3
- * ----------------------------------------------------------------------------
4
- */
 
 
 
 
assets/css/admin-page-settings.min.css DELETED
File without changes
assets/css/admin-welcome.css CHANGED
@@ -1,84 +1 @@
1
- @charset "UTF-8";
2
- @font-face {
3
- font-family: "cpac_icons";
4
- src: url("../fonts/cpac_icons.woff") format("woff"); }
5
-
6
- [class^="cpacicon-"], [class*=" cpacicon-"] {
7
- font-family: 'cpac_icons';
8
- speak: none;
9
- font-style: normal;
10
- font-weight: normal;
11
- font-variant: normal;
12
- text-transform: none;
13
- line-height: 1;
14
- /* Better Font Rendering =========== */
15
- -webkit-font-smoothing: antialiased;
16
- -moz-osx-font-smoothing: grayscale; }
17
- [class^="cpacicon-"]:before, [class*=" cpacicon-"]:before {
18
- font-size: 100%; }
19
-
20
- .cpacicon-draft:before {
21
- content: ""; }
22
-
23
- .cpacicon-move:before {
24
- content: ""; }
25
-
26
- /* Dynamic variables */
27
- /**
28
- * Welcome Screen
29
- * ----------------------------------------------------------------------------
30
- */
31
- .cpac-content-body hr {
32
- -moz-border-bottom-colors: none;
33
- -moz-border-left-colors: none;
34
- -moz-border-right-colors: none;
35
- -moz-border-top-colors: none;
36
- background: none repeat scroll 0 0 transparent;
37
- border-color: #DFDFDF;
38
- border-image: none;
39
- border-style: solid;
40
- border-width: 1px 0 0;
41
- clear: both;
42
- margin: 30px 0;
43
- opacity: 0.2; }
44
-
45
- #cpac-welcome.about-wrap div.error {
46
- display: block !important; }
47
-
48
- .cpac-alert {
49
- display: inline-block;
50
- background: none repeat scroll 0 0 #FCF8E3;
51
- border: 1px solid #FBEED5;
52
- border-radius: 4px 4px 4px 4px;
53
- color: #C09853;
54
- margin: 20px 0;
55
- padding: 16px 14px;
56
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); }
57
-
58
- .cpac-alert p {
59
- margin: 0; }
60
-
61
- .cpac-alert.cpac-alert-success {
62
- background-color: #DFF0D8;
63
- border-color: #D6E9C6;
64
- color: #468847; }
65
-
66
- .cpac-alert.cpac-alert-error {
67
- background-color: #F2DEDE;
68
- border-color: #EED3D7;
69
- color: #B94A48; }
70
-
71
- .cpac-alert a.button-primary {
72
- height: 28px;
73
- line-height: 28px;
74
- display: inline-block; }
75
-
76
- #cpac-download-add-ons-table {
77
- max-width: 600px; }
78
-
79
- .wp-core-ui .button-large {
80
- height: 40px;
81
- line-height: 40px;
82
- font-size: 16px;
83
- padding: 0 15px;
84
- text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); }
1
+ @font-face{font-family:"cpac_icons";src:url("../fonts/cpac_icons.woff2") format("woff2");font-style:normal;font-weight:400}.cpacicon,[class^="cpacicon-"],[class*=" cpacicon-"]{display:inline-block;transform:translate(0, 0);text-rendering:auto;font:normal normal 400 14px/1 cpac_icons;font-size:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.cpacicon-draft::before{content:""}.cpacicon-move::before{content:""}.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 repeat scroll 0 0 transparent;border-color:#DFDFDF;border-image:none;border-style:solid;border-width:1px 0 0;clear:both;margin:30px 0;opacity:0.2}#cpac-welcome.about-wrap div.error{display:block !important}.cpac-alert{display:inline-block;background:none repeat scroll 0 0 #FCF8E3;border:1px solid #FBEED5;border-radius:4px 4px 4px 4px;color:#C09853;margin:20px 0;padding:16px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.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,0.5)}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/admin-welcome.min.css DELETED
@@ -1 +0,0 @@
1
- @charset "UTF-8";@font-face{font-family:cpac_icons;src:url(../fonts/cpac_icons.woff) format("woff")}[class*=" cpacicon-"],[class^=cpacicon-]{font-family:cpac_icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=" cpacicon-"]:before,[class^=cpacicon-]:before{font-size:100%}.cpacicon-draft:before{content:""}.cpacicon-move:before{content:""}.cpac-content-body hr{border:none;background:none repeat scroll 0 0 transparent;border-color:#dfdfdf;border-image:none;border-style:solid;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:none repeat scroll 0 0 #fcf8e3;border:1px solid #fbeed5;border-radius:4px 4px 4px 4px;color:#c09853;margin:20px 0;padding:16px 14px;text-shadow:0 1px 0 hsla(0,0%,100%,.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)}
 
assets/css/message.css CHANGED
@@ -1,44 +1 @@
1
- body .wrap .ac-message {
2
- position: relative;
3
- padding-right: 40px; }
4
-
5
- .ac-message .spinner.right {
6
- visibility: visible;
7
- display: block;
8
- right: 8px;
9
- text-decoration: none;
10
- text-align: right;
11
- position: absolute;
12
- top: 50%;
13
- margin-top: -10px; }
14
-
15
- .ac-message .spinner.inline {
16
- display: inline-block;
17
- position: absolute;
18
- margin: 4px 0 0 4px;
19
- padding: 0;
20
- float: none; }
21
-
22
- .ac-message .hide-notice {
23
- right: 8px;
24
- text-decoration: none;
25
- width: 32px;
26
- text-align: right;
27
- position: absolute;
28
- top: 50%;
29
- height: 32px;
30
- margin-top: -16px; }
31
- .ac-message .hide-notice:before {
32
- display: block;
33
- content: '\f335';
34
- font-family: 'Dashicons', serif;
35
- margin: .5em 0;
36
- padding: 2px; }
37
-
38
- .ac-message .buttons {
39
- margin-top: 8px; }
40
- .ac-message .buttons .button {
41
- margin-right: 3px; }
42
-
43
- .ac-message.error.warning {
44
- border-left: 4px solid #ffba00; }
1
+ body .wrap .ac-message{position:relative;padding-right:40px}.ac-message .spinner.right{visibility:visible;display:block;right:8px;text-decoration:none;text-align:right;position:absolute;top:50%;margin-top:-10px}.ac-message .spinner.inline{display:inline-block;position:absolute;margin:4px 0 0 4px;padding:0;float:none}.ac-message .hide-notice{right:8px;text-decoration:none;width:32px;text-align:right;position:absolute;top:50%;height:32px;margin-top:-16px}.ac-message .hide-notice:before{display:block;content:'\f335';font-family:'Dashicons', serif;margin:.5em 0;padding:2px}.ac-message .buttons{margin-top:8px}.ac-message .buttons .button{margin-right:3px}.ac-message.error.warning{border-left:4px solid #ffba00}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/message.min.css DELETED
@@ -1 +0,0 @@
1
- body .wrap .ac-message{position:relative;padding-right:40px}.ac-message .spinner.right{visibility:visible;display:block;right:8px;text-decoration:none;text-align:right;position:absolute;top:50%;margin-top:-10px}.ac-message .spinner.inline{display:inline-block;position:absolute;margin:4px 0 0 4px;padding:0;float:none}.ac-message .hide-notice{right:8px;text-decoration:none;width:32px;text-align:right;position:absolute;top:50%;height:32px;margin-top:-16px}.ac-message .hide-notice:before{display:block;content:"\f335";font-family:Dashicons,serif;margin:.5em 0;padding:2px}.ac-message .buttons{margin-top:8px}.ac-message .buttons .button{margin-right:3px}.ac-message.error.warning{border-left:4px solid #ffba00}
 
assets/css/plugin-screen.css DELETED
@@ -1,15 +0,0 @@
1
- tr.plugin-update-tr-admin-columns td div {
2
- margin: 0 !important; }
3
- tr.plugin-update-tr-admin-columns td div.icon p:before {
4
- display: inline-block;
5
- font: normal 20px/1 'dashicons';
6
- -webkit-font-smoothing: antialiased;
7
- -moz-osx-font-smoothing: grayscale;
8
- vertical-align: middle;
9
- color: #f56e28; }
10
- tr.plugin-update-tr-admin-columns td div.icon.icon-info p:before {
11
- content: "\f348"; }
12
- tr.plugin-update-tr-admin-columns td div.icon.icon-update p:before {
13
- content: "\f463"; }
14
- tr.plugin-update-tr-admin-columns td div a.button {
15
- margin-left: 10px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/plugin-screen.min.css DELETED
@@ -1 +0,0 @@
1
- tr.plugin-update-tr-admin-columns td div{margin:0!important}tr.plugin-update-tr-admin-columns td div.icon p:before{display:inline-block;font:normal 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle;color:#f56e28}tr.plugin-update-tr-admin-columns td div.icon.icon-info p:before{content:"\f348"}tr.plugin-update-tr-admin-columns td div.icon.icon-update p:before{content:"\f463"}tr.plugin-update-tr-admin-columns td div a.button{margin-left:10px}
 
assets/css/table.css CHANGED
@@ -1,624 +1 @@
1
- @charset "UTF-8";
2
- @font-face {
3
- font-family: "cpac_icons";
4
- src: url("../fonts/cpac_icons.woff") format("woff"); }
5
-
6
- [class^="cpacicon-"], [class*=" cpacicon-"] {
7
- font-family: 'cpac_icons';
8
- speak: none;
9
- font-style: normal;
10
- font-weight: normal;
11
- font-variant: normal;
12
- text-transform: none;
13
- line-height: 1;
14
- /* Better Font Rendering =========== */
15
- -webkit-font-smoothing: antialiased;
16
- -moz-osx-font-smoothing: grayscale; }
17
- [class^="cpacicon-"]:before, [class*=" cpacicon-"]:before {
18
- font-size: 100%; }
19
-
20
- .cpacicon-draft:before {
21
- content: ""; }
22
-
23
- .cpacicon-move:before {
24
- content: ""; }
25
-
26
- /* Dynamic variables */
27
- /* =Status icons
28
- -------------------------------------------------------------- */
29
- .column-status .dashicons {
30
- font-size: 22px; }
31
- .column-status .dashicons.large {
32
- width: 25px;
33
- height: 28px;
34
- font-size: 28px; }
35
- .column-status .dashicons.dashicons-lock {
36
- font-size: 15px;
37
- margin-left: -2px; }
38
-
39
- /* =Available Sizes column
40
- -------------------------------------------------------------- */
41
- .ac-image-sizes .ac-missing-size {
42
- color: #929292; }
43
-
44
- /* =Comments bubble
45
- -------------------------------------------------------------- */
46
- .ac-comment-bubble .post-com-count {
47
- display: inline-block;
48
- vertical-align: top; }
49
-
50
- .ac-comment-bubble .post-com-count-no-comments,
51
- .ac-comment-bubble .post-com-count-approved {
52
- margin-top: 5px; }
53
-
54
- .ac-comment-bubble .comment-count-no-comments,
55
- .ac-comment-bubble .comment-count-approved {
56
- -webkit-box-sizing: border-box;
57
- -moz-box-sizing: border-box;
58
- box-sizing: border-box;
59
- display: block;
60
- padding: 0 8px;
61
- min-width: 24px;
62
- height: 2em;
63
- -webkit-border-radius: 5px;
64
- border-radius: 5px;
65
- background-color: #72777c;
66
- color: #fff;
67
- font-size: 11px;
68
- line-height: 21px;
69
- text-align: center; }
70
-
71
- .ac-comment-bubble .post-com-count-no-comments:after,
72
- .ac-comment-bubble .post-com-count-approved:after {
73
- content: "";
74
- display: block;
75
- margin-left: 8px;
76
- width: 0;
77
- height: 0;
78
- border-top: 5px solid #72777c;
79
- border-right: 5px solid transparent; }
80
-
81
- .ac-comment-bubble .post-com-count-approved:hover .comment-count-approved,
82
- .ac-comment-bubble .post-com-count-approved:focus .comment-count-approved {
83
- background: #0073aa; }
84
-
85
- .ac-comment-bubble .post-com-count-approved:hover:after,
86
- .ac-comment-bubble .post-com-count-approved:focus:after {
87
- border-top-color: #0073aa; }
88
-
89
- .ac-comment-bubble .post-com-count-pending {
90
- position: relative;
91
- left: -3px;
92
- padding: 0 5px;
93
- min-width: 7px;
94
- height: 17px;
95
- border: 2px solid #fff;
96
- -webkit-border-radius: 11px;
97
- border-radius: 11px;
98
- background: #ca4a1f;
99
- color: #fff;
100
- font-size: 9px;
101
- line-height: 17px;
102
- text-align: center; }
103
-
104
- .ac-comment-bubble .post-com-count-no-pending {
105
- display: none; }
106
-
107
- /* =General
108
- -------------------------------------------------------------- */
109
- .ac-divider {
110
- display: inline-block;
111
- width: 14px;
112
- height: 12px;
113
- background: transparent url(../images/square.png) no-repeat 50% 7px; }
114
-
115
- span.status-closed {
116
- color: red; }
117
-
118
- .ac-value-stars {
119
- white-space: nowrap;
120
- word-wrap: normal;
121
- display: block; }
122
- .ac-value-stars .ac-value-star {
123
- font-size: 16px;
124
- width: auto;
125
- margin-right: -3px; }
126
-
127
- .actions #post-query-submit {
128
- float: left;
129
- vertical-align: middle;
130
- margin-bottom: 4px; }
131
-
132
- .tablenav.top .ac-button {
133
- top: 2px;
134
- display: inline-block;
135
- vertical-align: middle;
136
- float: left;
137
- margin-bottom: 4px; }
138
- body.edit-tags-php .tablenav.top .ac-button {
139
- float: none; }
140
-
141
- span.dashicons.flip:before {
142
- transform: scale(-1, 1);
143
- display: inline-block; }
144
-
145
- span.dashicons.yellow {
146
- color: #ffb900; }
147
-
148
- span.dashicons.orange {
149
- color: #d54e21; }
150
-
151
- span.dashicons.red {
152
- color: #dc3232; }
153
-
154
- span.dashicons.green {
155
- color: #46b450; }
156
-
157
- span.dashicons.light-gray {
158
- color: #bbb; }
159
-
160
- span.dashicons.gray {
161
- color: #8a8a8a; }
162
-
163
- span.dashicons.blue {
164
- color: #0073aa; }
165
-
166
- span.dashicons.light-blue {
167
- color: #00a0d2; }
168
-
169
- body.edit-php #delete_all {
170
- float: left;
171
- margin-right: 3px; }
172
-
173
- body.users-php .tablenav .actions a.add-new-h2 {
174
- float: none;
175
- vertical-align: middle !important;
176
- top: 2px !important; }
177
-
178
- @media screen and (max-width: 782px) {
179
- .tablenav.top .actions {
180
- display: block !important;
181
- margin-bottom: 4px; }
182
- .tablenav.top .actions * {
183
- display: none; }
184
- .tablenav.top .actions .ac-button {
185
- display: inline-block; } }
186
-
187
- body.upload-php .tablenav.top .ac-button {
188
- float: none; }
189
-
190
- /* =Column values
191
- -------------------------------------------------------------- */
192
- .ac-toggle-box-link:focus {
193
- outline: none;
194
- box-shadow: none; }
195
-
196
- .ac-toggle-box-link .spinner {
197
- float: none;
198
- margin-top: -2px; }
199
-
200
- .ac-toggle-box-link.loading .spinner {
201
- visibility: visible; }
202
-
203
- .ac-toggle-box-contents-ajax {
204
- padding: 5px 0 0; }
205
-
206
- .ac-toggle-box-contents {
207
- display: none;
208
- padding: 5px 0 0; }
209
-
210
- table.ac-table-items {
211
- border-spacing: 0; }
212
- table.ac-table-items tr td {
213
- border: 0;
214
- margin: 0;
215
- padding: 0 0 3px; }
216
- table.ac-table-items tr td.ac-table-item-qty {
217
- color: #999;
218
- padding-right: 6px;
219
- text-align: left; }
220
-
221
- /* =Post Format column
222
- -------------------------------------------------------------- */
223
- .ac-post-state-format:before {
224
- color: #a7a7a7; }
225
-
226
- /* =Image in Content column
227
- -------------------------------------------------------------- */
228
- .ac-image-details .ac-image-info {
229
- display: inline-block;
230
- border-radius: 7px;
231
- padding: 0 9px;
232
- min-height: 20px;
233
- background-color: #e9e9e9;
234
- text-align: left;
235
- font-size: 11px;
236
- font-weight: bold;
237
- margin: 0 6px 5px 0;
238
- white-space: nowrap; }
239
- .ac-image-details .ac-image-info > span {
240
- margin-right: 6px; }
241
- .ac-image-details .ac-image-info > span:last-child {
242
- margin-right: 0; }
243
- .ac-image-details .ac-image-info span {
244
- vertical-align: middle;
245
- line-height: 20px; }
246
- .ac-image-details .ac-image-info span.image-id {
247
- font-size: 11px;
248
- color: #757575; }
249
- .ac-image-details .ac-image-info span.image-file-size {
250
- font-size: 12px; }
251
- .ac-image-details .ac-image-info span.image-extension {
252
- text-transform: uppercase;
253
- font-size: 11px;
254
- color: #757575; }
255
- .ac-image-details .ac-image-info span.suffix {
256
- display: inline-block;
257
- text-transform: uppercase;
258
- font-size: 10px;
259
- color: #757575;
260
- padding-left: 3px;
261
- margin-top: -2px; }
262
- .ac-image-details .ac-image-info span.dashicons {
263
- margin-top: -2px;
264
- color: #757575;
265
- font-size: 14px;
266
- width: 16px; }
267
-
268
- .ac-image-details a.ac-image-info:hover {
269
- color: #0073aa; }
270
- .ac-image-details a.ac-image-info:hover span.dashicons {
271
- color: #3d4350; }
272
-
273
- /* =Storage Space column
274
- -------------------------------------------------------------- */
275
- .ac-upload-space .ac-upload-space-labels {
276
- display: table;
277
- width: 100%; }
278
- .ac-upload-space .ac-upload-space-labels .inner {
279
- display: table-row; }
280
- .ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon {
281
- display: table-cell; }
282
- .ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon:before {
283
- color: #82878c;
284
- content: "\f104";
285
- display: inline-block;
286
- font-family: 'dashicons', serif;
287
- width: 20px;
288
- height: 20px;
289
- font-size: 18px;
290
- line-height: 1;
291
- text-decoration: inherit;
292
- font-weight: normal;
293
- font-style: normal;
294
- vertical-align: top;
295
- text-align: center;
296
- margin-right: 4px; }
297
- .ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-left {
298
- display: table-cell;
299
- white-space: nowrap; }
300
- .ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-right {
301
- width: 100%;
302
- text-align: right;
303
- padding-left: 6px;
304
- display: table-cell;
305
- white-space: nowrap; }
306
-
307
- .ac-upload-space .ac-upload-space-progress {
308
- margin-top: 6px;
309
- height: 3px;
310
- background: white;
311
- border: 1px solid #dfdfdf;
312
- position: relative; }
313
- .ac-upload-space .ac-upload-space-progress .ac-upload-space-progress-bar {
314
- background-color: #46b450;
315
- height: 100%;
316
- display: block; }
317
-
318
- .ac-upload-space.warning .ac-upload-space-icon:before {
319
- color: #ffb900;
320
- content: "\f534";
321
- margin-top: 1px; }
322
-
323
- .ac-upload-space.warning .ac-upload-space-progress-bar {
324
- background-color: #ffb900; }
325
-
326
- .ac-upload-space.full .ac-upload-space-icon:before {
327
- color: #d54e21;
328
- content: "\f153";
329
- margin-top: 1px; }
330
-
331
- .ac-upload-space.full .ac-upload-space-progress-bar {
332
- background-color: #dc3232; }
333
-
334
- /* =Network screen
335
- -------------------------------------------------------------- */
336
- #form-site-list .tablenav .actions .ac-button {
337
- float: none; }
338
-
339
- /* =General Column
340
- -------------------------------------------------------------- */
341
- .ac-inline-info {
342
- display: inline-block;
343
- border-radius: 3px;
344
- min-width: 8px;
345
- padding: 0 6px;
346
- min-height: 20px;
347
- background-color: #e9e9e9;
348
- text-align: center;
349
- margin-right: 7px;
350
- font-size: 11px;
351
- font-weight: bold; }
352
-
353
- .ac-rounded {
354
- display: inline-block;
355
- border-radius: 10px;
356
- min-width: 8px;
357
- padding: 0 6px;
358
- height: 20px;
359
- background-color: #e0e0e0;
360
- text-align: center;
361
- margin-left: 7px;
362
- margin-right: 7px;
363
- font-size: 12px; }
364
- .ac-rounded.ac-rounded-first {
365
- margin-left: 0; }
366
-
367
- .ac-spacing {
368
- display: inline-block;
369
- margin-right: 10px;
370
- margin-bottom: 4px; }
371
-
372
- .cpac-suffix {
373
- margin-left: 8px;
374
- color: #808080; }
375
-
376
- .ac-small-block {
377
- display: inline-block;
378
- border-radius: 3px;
379
- background-color: rgba(224, 224, 224, 0.6);
380
- padding: 2px 7px;
381
- margin: 0 5px 5px 0; }
382
-
383
- .ac-more-link-show {
384
- cursor: pointer; }
385
-
386
- .ac-show-more-block {
387
- display: none; }
388
-
389
- .ac-more-link-hide {
390
- cursor: pointer; }
391
-
392
- /* =Images Column
393
- -------------------------------------------------------------- */
394
- .ac-image-container {
395
- margin-bottom: -6px; }
396
-
397
- .ac-image {
398
- display: inline-block;
399
- margin-right: 2px;
400
- margin-bottom: 6px;
401
- overflow: hidden;
402
- max-width: 100%;
403
- background-color: #ccc;
404
- vertical-align: middle; }
405
- .ac-image img {
406
- display: block;
407
- margin: 0 auto; }
408
- .ac-image .ac-extension {
409
- font-size: 12px;
410
- line-height: 22px;
411
- display: block;
412
- text-align: center;
413
- text-transform: uppercase;
414
- font-weight: bold; }
415
- .ac-image.ac-icon {
416
- background-color: transparent; }
417
-
418
- .rtl .column-column-attachment img {
419
- padding-left: 5px;
420
- padding-right: 0; }
421
-
422
- .ac-progress-bar {
423
- width: 100%;
424
- display: flex; }
425
- .ac-progress-bar .ac-label-main {
426
- width: 65px; }
427
- .ac-progress-bar .ac-bar-container {
428
- flex: auto;
429
- background-color: #fff;
430
- min-height: 22px;
431
- line-height: 22px;
432
- position: relative;
433
- border: 1px solid #ccc;
434
- border-radius: 2px; }
435
- .ac-progress-bar .ac-bar-container .ac-bar {
436
- height: 100%;
437
- background-color: #69c471;
438
- border-right: 1px solid #fff; }
439
- .ac-progress-bar .ac-bar-container .ac-label-left,
440
- .ac-progress-bar .ac-bar-container .ac-label-right {
441
- text-shadow: rgba(255, 255, 255, 0.65) 0 0 5px;
442
- color: #555;
443
- position: absolute; }
444
- .ac-progress-bar .ac-bar-container .ac-label-left {
445
- left: 5px; }
446
- .ac-progress-bar .ac-bar-container .ac-label-right {
447
- right: 5px; }
448
- .ac-progress-bar.full .ac-bar-container .ac-bar {
449
- background-color: rgba(255, 0, 0, 0.45);
450
- border: none; }
451
- .ac-progress-bar.dark .ac-bar-container {
452
- flex: auto;
453
- background-color: #a6a6a6;
454
- min-height: 22px;
455
- line-height: 22px;
456
- position: relative; }
457
- .ac-progress-bar.dark .ac-bar-container .ac-bar {
458
- height: 100%;
459
- background-color: #46b450;
460
- border-right: 1px solid #fff; }
461
- .ac-progress-bar.dark .ac-bar-container .ac-label-left {
462
- color: #fff;
463
- position: absolute;
464
- left: 5px; }
465
- .ac-progress-bar.dark .ac-bar-container .ac-label-right {
466
- color: #fff;
467
- position: absolute;
468
- right: 5px; }
469
- .ac-progress-bar.dark.full .ac-bar-container .ac-bar {
470
- background-color: rgba(255, 0, 0, 0.68);
471
- border: none; }
472
-
473
- /* =Color Column
474
- -------------------------------------------------------------- */
475
- div.cpac-color {
476
- line-height: 26px; }
477
-
478
- div.cpac-color span {
479
- display: block;
480
- -webkit-border-radius: 3px;
481
- border-radius: 3px;
482
- color: #ffffff;
483
- float: left;
484
- height: 16px;
485
- line-height: 16px;
486
- margin-right: 12px;
487
- overflow: hidden;
488
- padding: 4px 5px;
489
- font-size: 10px;
490
- font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
491
- min-width: 47px;
492
- text-align: center; }
493
-
494
- .rtl div.cpac-color span {
495
- float: right;
496
- margin-left: 12px;
497
- margin-right: 0; }
498
-
499
- /* =Actions column
500
- -------------------------------------------------------------- */
501
- .button.cpac-button-action {
502
- position: relative;
503
- text-indent: 9999px;
504
- margin-right: 4px;
505
- padding: 0 13px;
506
- overflow: hidden; }
507
- .button.cpac-button-action:before {
508
- position: absolute;
509
- top: 0;
510
- left: 0;
511
- width: 100%;
512
- height: 100%;
513
- text-indent: 0; }
514
-
515
- .cpac_wp_button, .column-actions.cpac_use_icons .row-actions > span a {
516
- color: #555;
517
- background: #f7f7f7;
518
- box-shadow: 0 1px 0 #ccc;
519
- vertical-align: top;
520
- display: inline-block;
521
- text-decoration: none;
522
- font-size: 13px;
523
- line-height: 26px;
524
- height: 28px;
525
- margin: 0;
526
- padding: 0 10px 1px;
527
- cursor: pointer;
528
- border: 1px solid #ccc;
529
- border-radius: 3px;
530
- white-space: nowrap;
531
- box-sizing: border-box; }
532
- .cpac_wp_button:hover, .column-actions.cpac_use_icons .row-actions > span a:hover {
533
- background: #fafafa;
534
- color: #23282d;
535
- border-color: #999; }
536
-
537
- .column-actions .row-actions {
538
- left: 0;
539
- position: relative; }
540
-
541
- .column-actions.cpac_use_icons .row-actions > span {
542
- color: transparent;
543
- margin-right: -8px; }
544
- .column-actions.cpac_use_icons .row-actions > span a {
545
- display: inline-block;
546
- position: relative;
547
- min-width: 26px;
548
- margin-bottom: 5px; }
549
- .column-actions.cpac_use_icons .row-actions > span a:before {
550
- text-indent: 0;
551
- font-family: Dashicons, sans-serif;
552
- font-size: 16px;
553
- position: absolute;
554
- padding-left: 4px;
555
- top: 0;
556
- left: 0;
557
- width: 100%;
558
- height: 100%; }
559
- .column-actions.cpac_use_icons .row-actions > span.edit a, .column-actions.cpac_use_icons .row-actions > span.inline a, .column-actions.cpac_use_icons .row-actions > span.trash a, .column-actions.cpac_use_icons .row-actions > span.view a, .column-actions.cpac_use_icons .row-actions > span.quickedit a, .column-actions.cpac_use_icons .row-actions > span.approve a, .column-actions.cpac_use_icons .row-actions > span.unapprove a, .column-actions.cpac_use_icons .row-actions > span.spam a, .column-actions.cpac_use_icons .row-actions > span.untrash a, .column-actions.cpac_use_icons .row-actions > span.unspam a, .column-actions.cpac_use_icons .row-actions > span.reply a, .column-actions.cpac_use_icons .row-actions > span.delete a, .column-actions.cpac_use_icons .row-actions > span.backend a, .column-actions.cpac_use_icons .row-actions > span.visit a, .column-actions.cpac_use_icons .row-actions > span.deactivate a, .column-actions.cpac_use_icons .row-actions > span.archive a, .column-actions.cpac_use_icons .row-actions > span.unarchive a, .column-actions.cpac_use_icons .row-actions > span.activate a, .column-actions.cpac_use_icons .row-actions > span.download a {
560
- text-indent: -3000px; }
561
- .column-actions.cpac_use_icons .row-actions > span.edit a:before, .column-actions.cpac_use_icons .row-actions > span.inline a:before, .column-actions.cpac_use_icons .row-actions > span.trash a:before, .column-actions.cpac_use_icons .row-actions > span.view a:before, .column-actions.cpac_use_icons .row-actions > span.quickedit a:before, .column-actions.cpac_use_icons .row-actions > span.approve a:before, .column-actions.cpac_use_icons .row-actions > span.unapprove a:before, .column-actions.cpac_use_icons .row-actions > span.spam a:before, .column-actions.cpac_use_icons .row-actions > span.untrash a:before, .column-actions.cpac_use_icons .row-actions > span.unspam a:before, .column-actions.cpac_use_icons .row-actions > span.reply a:before, .column-actions.cpac_use_icons .row-actions > span.delete a:before, .column-actions.cpac_use_icons .row-actions > span.backend a:before, .column-actions.cpac_use_icons .row-actions > span.visit a:before, .column-actions.cpac_use_icons .row-actions > span.deactivate a:before, .column-actions.cpac_use_icons .row-actions > span.archive a:before, .column-actions.cpac_use_icons .row-actions > span.unarchive a:before, .column-actions.cpac_use_icons .row-actions > span.activate a:before, .column-actions.cpac_use_icons .row-actions > span.download a:before {
562
- text-indent: 0;
563
- font-family: Dashicons, sans-serif; }
564
- .column-actions.cpac_use_icons .row-actions > span.edit a:before {
565
- content: "\f464"; }
566
- .column-actions.cpac_use_icons .row-actions > span.inline a:before, .column-actions.cpac_use_icons .row-actions > span.quickedit a:before {
567
- content: "\f119"; }
568
- .column-actions.cpac_use_icons .row-actions > span.trash a {
569
- border-radius: 3px;
570
- border: 1px solid #ccc; }
571
- .column-actions.cpac_use_icons .row-actions > span.trash a:before {
572
- content: "\f182"; }
573
- .column-actions.cpac_use_icons .row-actions > span.trash a:hover {
574
- border-color: #999; }
575
- .column-actions.cpac_use_icons .row-actions > span.view a:before {
576
- content: "\f177"; }
577
- .column-actions.cpac_use_icons .row-actions > span.unapprove a:before {
578
- content: "\f158"; }
579
- .column-actions.cpac_use_icons .row-actions > span.approve a:before {
580
- content: "\f147"; }
581
- .column-actions.cpac_use_icons .row-actions > span.spam a:before {
582
- content: "\f117"; }
583
- .column-actions.cpac_use_icons .row-actions > span.reply a:before {
584
- content: "\f473"; }
585
- .column-actions.cpac_use_icons .row-actions > span.untrash a:before, .column-actions.cpac_use_icons .row-actions > span.unspam a:before {
586
- content: "\f171"; }
587
- .column-actions.cpac_use_icons .row-actions > span.delete a:before {
588
- content: "\f182"; }
589
- .column-actions.cpac_use_icons .row-actions > span.backend a:before {
590
- content: "\f226"; }
591
- .column-actions.cpac_use_icons .row-actions > span.visit a:before {
592
- content: "\f115"; }
593
- .column-actions.cpac_use_icons .row-actions > span.deactivate a:before {
594
- content: "\f530"; }
595
- .column-actions.cpac_use_icons .row-actions > span.archive a:before {
596
- content: "\f480"; }
597
- .column-actions.cpac_use_icons .row-actions > span.unarchive a:before {
598
- content: "\f322"; }
599
- .column-actions.cpac_use_icons .row-actions > span.activate a:before {
600
- content: "\f177"; }
601
- .column-actions.cpac_use_icons .row-actions > span.download a:before {
602
- content: "\f316"; }
603
-
604
- /* Responsive table screen
605
- -------------------------------------------------------------- */
606
- @media screen and (max-width: 782px) {
607
- .wp-list-table.widefat thead th {
608
- display: none; }
609
- .wp-list-table.widefat thead th.column-primary {
610
- display: table-cell; }
611
- .wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td {
612
- display: none; }
613
- .wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td.column-primary {
614
- display: block; } }
615
-
616
- /* =qTip2
617
- -------------------------------------------------------------- */
618
- .ac-tip {
619
- display: inline-block; }
620
-
621
- .qtip.qtip-tipsy {
622
- background: rgba(0, 0, 0, 0.75);
623
- font-weight: normal;
624
- min-width: 25px; }
1
+ .column-status .dashicons{font-size:22px}.column-status .dashicons.large{width:25px;height:28px;font-size:28px}.column-status .dashicons.dashicons-lock{font-size:15px;margin-left:-2px}.ac-image-sizes .ac-missing-size{color:#929292}.ac-comment-bubble .post-com-count{display:inline-block;vertical-align:top}.ac-comment-bubble .post-com-count-no-comments,.ac-comment-bubble .post-com-count-approved{margin-top:5px}.ac-comment-bubble .comment-count-no-comments,.ac-comment-bubble .comment-count-approved{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;padding:0 8px;min-width:24px;height:2em;-webkit-border-radius:5px;border-radius:5px;background-color:#72777c;color:#fff;font-size:11px;line-height:21px;text-align:center}.ac-comment-bubble .post-com-count-no-comments:after,.ac-comment-bubble .post-com-count-approved:after{content:"";display:block;margin-left:8px;width:0;height:0;border-top:5px solid #72777c;border-right:5px solid transparent}.ac-comment-bubble .post-com-count-approved:hover .comment-count-approved,.ac-comment-bubble .post-com-count-approved:focus .comment-count-approved{background:#0073aa}.ac-comment-bubble .post-com-count-approved:hover:after,.ac-comment-bubble .post-com-count-approved:focus:after{border-top-color:#0073aa}.ac-comment-bubble .post-com-count-pending{position:relative;left:-3px;padding:0 5px;min-width:7px;height:17px;border:2px solid #fff;-webkit-border-radius:11px;border-radius:11px;background:#ca4a1f;color:#fff;font-size:9px;line-height:17px;text-align:center}.ac-comment-bubble .post-com-count-no-pending{display:none}.ac-divider{display:inline-block;width:14px;height:12px;background:transparent url(../images/square.png) no-repeat 50% 7px}span.status-closed{color:red}.ac-value-stars{white-space:nowrap;word-wrap:normal;display:block}.ac-value-stars .ac-value-star{font-size:16px;width:auto;margin-right:-3px}.actions #post-query-submit{float:left;vertical-align:middle;margin-bottom:4px}.tablenav.top .ac-button{top:2px;display:inline-block;vertical-align:middle;float:left;margin-bottom:4px}body.edit-tags-php .tablenav.top .ac-button{float:none}span.dashicons.flip:before{transform:scale(-1, 1);display:inline-block}span.dashicons.yellow{color:#ffb900}span.dashicons.orange{color:#d54e21}span.dashicons.red{color:#dc3232}span.dashicons.green{color:#46b450}span.dashicons.light-gray{color:#bbb}span.dashicons.gray{color:#8a8a8a}span.dashicons.blue{color:#0073aa}span.dashicons.light-blue{color:#00a0d2}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 .ac-button{display:inline-block}}body.upload-php .tablenav.top .ac-button{float:none}.ac-toggle-box-link:focus{outline:none;box-shadow:none}.ac-toggle-box-link .spinner{float:none;margin-top:-2px}.ac-toggle-box-link.loading .spinner{visibility:visible}.ac-toggle-box-contents-ajax{padding:5px 0 0}.ac-toggle-box-contents{display:none;padding:5px 0 0}table.ac-table-items{border-spacing:0}table.ac-table-items tr td{border:0;margin:0;padding:0 0 3px}table.ac-table-items tr td.ac-table-item-qty{color:#999;padding-right:6px;text-align:left}.ac-post-state-format:before{color:#a7a7a7}.ac-image-details .ac-image-info{display:inline-block;border-radius:7px;padding:0 9px;min-height:20px;background-color:#e9e9e9;text-align:left;font-size:11px;font-weight:bold;margin:0 6px 5px 0;white-space:nowrap}.ac-image-details .ac-image-info>span{margin-right:6px}.ac-image-details .ac-image-info>span:last-child{margin-right:0}.ac-image-details .ac-image-info span{vertical-align:middle;line-height:20px}.ac-image-details .ac-image-info span.image-id{font-size:11px;color:#757575}.ac-image-details .ac-image-info span.image-file-size{font-size:12px}.ac-image-details .ac-image-info span.image-extension{text-transform:uppercase;font-size:11px;color:#757575}.ac-image-details .ac-image-info span.suffix{display:inline-block;text-transform:uppercase;font-size:10px;color:#757575;padding-left:3px;margin-top:-2px}.ac-image-details .ac-image-info span.dashicons{margin-top:-2px;color:#757575;font-size:14px;width:16px}.ac-image-details a.ac-image-info:hover{color:#0073aa}.ac-image-details a.ac-image-info:hover span.dashicons{color:#3d4350}.ac-upload-space .ac-upload-space-labels{display:table;width:100%}.ac-upload-space .ac-upload-space-labels .inner{display:table-row}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon{display:table-cell}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon:before{color:#82878c;content:"\f104";display:inline-block;font-family:'dashicons', serif;width:20px;height:20px;font-size:18px;line-height:1;text-decoration:inherit;font-weight:normal;font-style:normal;vertical-align:top;text-align:center;margin-right:4px}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-left{display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-right{width:100%;text-align:right;padding-left:6px;display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-progress{margin-top:6px;height:3px;background:white;border:1px solid #dfdfdf;position:relative}.ac-upload-space .ac-upload-space-progress .ac-upload-space-progress-bar{background-color:#46b450;height:100%;display:block}.ac-upload-space.warning .ac-upload-space-icon:before{color:#ffb900;content:"\f534";margin-top:1px}.ac-upload-space.warning .ac-upload-space-progress-bar{background-color:#ffb900}.ac-upload-space.full .ac-upload-space-icon:before{color:#d54e21;content:"\f153";margin-top:1px}.ac-upload-space.full .ac-upload-space-progress-bar{background-color:#dc3232}#form-site-list .tablenav .actions .ac-button{float:none}.ac-inline-info{display:inline-block;border-radius:3px;min-width:8px;padding:0 6px;min-height:20px;background-color:#e9e9e9;text-align:center;margin-right:7px;font-size:11px;font-weight:bold}.ac-rounded{display:inline-block;border-radius:10px;min-width:8px;padding:0 6px;height:20px;background-color:#e0e0e0;text-align:center;margin-left:7px;margin-right:7px;font-size:12px}.ac-rounded.ac-rounded-first{margin-left:0}.ac-spacing{display:inline-block;margin-right:10px;margin-bottom:4px}.cpac-suffix{margin-left:8px;color:#808080}.ac-small-block{display:inline-block;border-radius:3px;background-color:rgba(224,224,224,0.6);padding:2px 7px;margin:0 5px 5px 0}.ac-more-link-show{cursor:pointer}.ac-show-more-block{display:none}.ac-more-link-hide{cursor:pointer}.ac-image-container{margin-bottom:-6px}.ac-image{display:inline-block;margin-right:2px;margin-bottom:6px;overflow:hidden;max-width:100%;background-color:#ccc;vertical-align:middle}.ac-image img{display:block;margin:0 auto}.ac-image .ac-extension{font-size:12px;line-height:22px;display:block;text-align:center;text-transform:uppercase;font-weight:bold}.ac-image.ac-icon{background-color:transparent}.rtl .column-column-attachment img{padding-left:5px;padding-right:0}.ac-progress-bar{width:100%;display:flex}.ac-progress-bar .ac-label-main{width:65px}.ac-progress-bar .ac-bar-container{flex:auto;background-color:#fff;min-height:22px;line-height:22px;position:relative;border:1px solid #ccc;border-radius:2px}.ac-progress-bar .ac-bar-container .ac-bar{height:100%;background-color:#69c471;border-right:1px solid #fff}.ac-progress-bar .ac-bar-container .ac-label-left,.ac-progress-bar .ac-bar-container .ac-label-right{text-shadow:rgba(255,255,255,0.65) 0 0 5px;color:#555;position:absolute}.ac-progress-bar .ac-bar-container .ac-label-left{left:5px}.ac-progress-bar .ac-bar-container .ac-label-right{right:5px}.ac-progress-bar.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,0.45);border:none}.ac-progress-bar.dark .ac-bar-container{flex:auto;background-color:#a6a6a6;min-height:22px;line-height:22px;position:relative}.ac-progress-bar.dark .ac-bar-container .ac-bar{height:100%;background-color:#46b450;border-right:1px solid #fff}.ac-progress-bar.dark .ac-bar-container .ac-label-left{color:#fff;position:absolute;left:5px}.ac-progress-bar.dark .ac-bar-container .ac-label-right{color:#fff;position:absolute;right:5px}.ac-progress-bar.dark.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,0.68);border:none}div.cpac-color{line-height:26px}div.cpac-color span{display:block;-webkit-border-radius:3px;border-radius:3px;color:#ffffff;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}.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_wp_button,.column-actions.cpac_use_icons .row-actions>span a{color:#555;background:#f7f7f7;box-shadow:0 1px 0 #ccc;vertical-align:top;display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border:1px solid #ccc;border-radius:3px;white-space:nowrap;box-sizing:border-box}.cpac_wp_button:hover,.column-actions.cpac_use_icons .row-actions>span a:hover{background:#fafafa;color:#23282d;border-color:#999}.column-actions .row-actions{left:0;position:relative}.column-actions.cpac_use_icons .row-actions>span{color:transparent;margin-right:-8px}.column-actions.cpac_use_icons .row-actions>span a{display:inline-block;position:relative;min-width:26px;margin-bottom:5px}.column-actions.cpac_use_icons .row-actions>span a:before{text-indent:0;font-family:Dashicons, sans-serif;font-size:16px;position:absolute;padding-left:4px;top:0;left:0;width:100%;height:100%}.column-actions.cpac_use_icons .row-actions>span.edit a,.column-actions.cpac_use_icons .row-actions>span.inline a,.column-actions.cpac_use_icons .row-actions>span.trash a,.column-actions.cpac_use_icons .row-actions>span.view a,.column-actions.cpac_use_icons .row-actions>span.quickedit a,.column-actions.cpac_use_icons .row-actions>span.approve a,.column-actions.cpac_use_icons .row-actions>span.unapprove a,.column-actions.cpac_use_icons .row-actions>span.spam a,.column-actions.cpac_use_icons .row-actions>span.untrash a,.column-actions.cpac_use_icons .row-actions>span.unspam a,.column-actions.cpac_use_icons .row-actions>span.reply a,.column-actions.cpac_use_icons .row-actions>span.delete a,.column-actions.cpac_use_icons .row-actions>span.backend a,.column-actions.cpac_use_icons .row-actions>span.visit a,.column-actions.cpac_use_icons .row-actions>span.deactivate a,.column-actions.cpac_use_icons .row-actions>span.archive a,.column-actions.cpac_use_icons .row-actions>span.unarchive a,.column-actions.cpac_use_icons .row-actions>span.activate a,.column-actions.cpac_use_icons .row-actions>span.download a{text-indent:-3000px}.column-actions.cpac_use_icons .row-actions>span.edit a:before,.column-actions.cpac_use_icons .row-actions>span.inline a:before,.column-actions.cpac_use_icons .row-actions>span.trash a:before,.column-actions.cpac_use_icons .row-actions>span.view a:before,.column-actions.cpac_use_icons .row-actions>span.quickedit a:before,.column-actions.cpac_use_icons .row-actions>span.approve a:before,.column-actions.cpac_use_icons .row-actions>span.unapprove a:before,.column-actions.cpac_use_icons .row-actions>span.spam a:before,.column-actions.cpac_use_icons .row-actions>span.untrash a:before,.column-actions.cpac_use_icons .row-actions>span.unspam a:before,.column-actions.cpac_use_icons .row-actions>span.reply a:before,.column-actions.cpac_use_icons .row-actions>span.delete a:before,.column-actions.cpac_use_icons .row-actions>span.backend a:before,.column-actions.cpac_use_icons .row-actions>span.visit a:before,.column-actions.cpac_use_icons .row-actions>span.deactivate a:before,.column-actions.cpac_use_icons .row-actions>span.archive a:before,.column-actions.cpac_use_icons .row-actions>span.unarchive a:before,.column-actions.cpac_use_icons .row-actions>span.activate a:before,.column-actions.cpac_use_icons .row-actions>span.download a:before{text-indent:0;font-family:Dashicons, sans-serif}.column-actions.cpac_use_icons .row-actions>span.edit a:before{content:"\f464"}.column-actions.cpac_use_icons .row-actions>span.inline a:before,.column-actions.cpac_use_icons .row-actions>span.quickedit a:before{content:"\f119"}.column-actions.cpac_use_icons .row-actions>span.trash a{border-radius:3px;border:1px solid #ccc}.column-actions.cpac_use_icons .row-actions>span.trash a:before{content:"\f182"}.column-actions.cpac_use_icons .row-actions>span.trash a:hover{border-color:#999}.column-actions.cpac_use_icons .row-actions>span.view a:before{content:"\f177"}.column-actions.cpac_use_icons .row-actions>span.unapprove a:before{content:"\f158"}.column-actions.cpac_use_icons .row-actions>span.approve a:before{content:"\f147"}.column-actions.cpac_use_icons .row-actions>span.spam a:before{content:"\f117"}.column-actions.cpac_use_icons .row-actions>span.reply a:before{content:"\f473"}.column-actions.cpac_use_icons .row-actions>span.untrash a:before,.column-actions.cpac_use_icons .row-actions>span.unspam a:before{content:"\f171"}.column-actions.cpac_use_icons .row-actions>span.delete a:before{content:"\f182"}.column-actions.cpac_use_icons .row-actions>span.backend a:before{content:"\f226"}.column-actions.cpac_use_icons .row-actions>span.visit a:before{content:"\f115"}.column-actions.cpac_use_icons .row-actions>span.deactivate a:before{content:"\f530"}.column-actions.cpac_use_icons .row-actions>span.archive a:before{content:"\f480"}.column-actions.cpac_use_icons .row-actions>span.unarchive a:before{content:"\f322"}.column-actions.cpac_use_icons .row-actions>span.activate a:before{content:"\f177"}.column-actions.cpac_use_icons .row-actions>span.download a:before{content:"\f316"}@media screen and (max-width: 782px){.wp-list-table.widefat thead th{display:none}.wp-list-table.widefat thead th.column-primary{display:table-cell}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td{display:none}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td.column-primary{display:block}}.ac-tip{display:inline-block}.qtip.qtip-tipsy{background:rgba(0,0,0,0.75);font-weight:normal;min-width:25px}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/table.min.css DELETED
@@ -1 +0,0 @@
1
- @charset "UTF-8";@font-face{font-family:cpac_icons;src:url(../fonts/cpac_icons.woff) format("woff")}[class*=" cpacicon-"],[class^=cpacicon-]{font-family:cpac_icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=" cpacicon-"]:before,[class^=cpacicon-]:before{font-size:100%}.cpacicon-draft:before{content:""}.cpacicon-move:before{content:""}.column-status .dashicons{font-size:22px}.column-status .dashicons.large{width:25px;height:28px;font-size:28px}.column-status .dashicons.dashicons-lock{font-size:15px;margin-left:-2px}.ac-image-sizes .ac-missing-size{color:#929292}.ac-comment-bubble .post-com-count{display:inline-block;vertical-align:top}.ac-comment-bubble .post-com-count-approved,.ac-comment-bubble .post-com-count-no-comments{margin-top:5px}.ac-comment-bubble .comment-count-approved,.ac-comment-bubble .comment-count-no-comments{box-sizing:border-box;display:block;padding:0 8px;min-width:24px;height:2em;border-radius:5px;background-color:#72777c;color:#fff;font-size:11px;line-height:21px;text-align:center}.ac-comment-bubble .post-com-count-approved:after,.ac-comment-bubble .post-com-count-no-comments:after{content:"";display:block;margin-left:8px;width:0;height:0;border-top:5px solid #72777c;border-right:5px solid transparent}.ac-comment-bubble .post-com-count-approved:focus .comment-count-approved,.ac-comment-bubble .post-com-count-approved:hover .comment-count-approved{background:#0073aa}.ac-comment-bubble .post-com-count-approved:focus:after,.ac-comment-bubble .post-com-count-approved:hover:after{border-top-color:#0073aa}.ac-comment-bubble .post-com-count-pending{position:relative;left:-3px;padding:0 5px;min-width:7px;height:17px;border:2px solid #fff;border-radius:11px;background:#ca4a1f;color:#fff;font-size:9px;line-height:17px;text-align:center}.ac-comment-bubble .post-com-count-no-pending{display:none}.ac-divider{display:inline-block;width:14px;height:12px;background:transparent url(../images/square.png) no-repeat 50% 7px}span.status-closed{color:red}.ac-value-stars{white-space:nowrap;word-wrap:normal;display:block}.ac-value-stars .ac-value-star{font-size:16px;width:auto;margin-right:-3px}.actions #post-query-submit,.tablenav.top .ac-button{float:left;vertical-align:middle;margin-bottom:4px}.tablenav.top .ac-button{top:2px;display:inline-block}body.edit-tags-php .tablenav.top .ac-button{float:none}span.dashicons.flip:before{transform:scaleX(-1);display:inline-block}span.dashicons.yellow{color:#ffb900}span.dashicons.orange{color:#d54e21}span.dashicons.red{color:#dc3232}span.dashicons.green{color:#46b450}span.dashicons.light-gray{color:#bbb}span.dashicons.gray{color:#8a8a8a}span.dashicons.blue{color:#0073aa}span.dashicons.light-blue{color:#00a0d2}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 .ac-button{display:inline-block}}body.upload-php .tablenav.top .ac-button{float:none}.ac-toggle-box-link:focus{outline:none;box-shadow:none}.ac-toggle-box-link .spinner{float:none;margin-top:-2px}.ac-toggle-box-link.loading .spinner{visibility:visible}.ac-toggle-box-contents-ajax{padding:5px 0 0}.ac-toggle-box-contents{display:none;padding:5px 0 0}table.ac-table-items{border-spacing:0}table.ac-table-items tr td{border:0;margin:0;padding:0 0 3px}table.ac-table-items tr td.ac-table-item-qty{color:#999;padding-right:6px;text-align:left}.ac-post-state-format:before{color:#a7a7a7}.ac-image-details .ac-image-info{display:inline-block;border-radius:7px;padding:0 9px;min-height:20px;background-color:#e9e9e9;text-align:left;font-size:11px;font-weight:700;margin:0 6px 5px 0;white-space:nowrap}.ac-image-details .ac-image-info>span{margin-right:6px}.ac-image-details .ac-image-info>span:last-child{margin-right:0}.ac-image-details .ac-image-info span{vertical-align:middle;line-height:20px}.ac-image-details .ac-image-info span.image-id{font-size:11px;color:#757575}.ac-image-details .ac-image-info span.image-file-size{font-size:12px}.ac-image-details .ac-image-info span.image-extension{text-transform:uppercase;font-size:11px;color:#757575}.ac-image-details .ac-image-info span.suffix{display:inline-block;text-transform:uppercase;font-size:10px;color:#757575;padding-left:3px;margin-top:-2px}.ac-image-details .ac-image-info span.dashicons{margin-top:-2px;color:#757575;font-size:14px;width:16px}.ac-image-details a.ac-image-info:hover{color:#0073aa}.ac-image-details a.ac-image-info:hover span.dashicons{color:#3d4350}.ac-upload-space .ac-upload-space-labels{display:table;width:100%}.ac-upload-space .ac-upload-space-labels .inner{display:table-row}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon{display:table-cell}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-icon:before{color:#82878c;content:"\f104";display:inline-block;font-family:dashicons,serif;width:20px;height:20px;font-size:18px;line-height:1;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;margin-right:4px}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-left{display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-labels .inner .ac-upload-space-right{width:100%;text-align:right;padding-left:6px;display:table-cell;white-space:nowrap}.ac-upload-space .ac-upload-space-progress{margin-top:6px;height:3px;background:#fff;border:1px solid #dfdfdf;position:relative}.ac-upload-space .ac-upload-space-progress .ac-upload-space-progress-bar{background-color:#46b450;height:100%;display:block}.ac-upload-space.warning .ac-upload-space-icon:before{color:#ffb900;content:"\f534";margin-top:1px}.ac-upload-space.warning .ac-upload-space-progress-bar{background-color:#ffb900}.ac-upload-space.full .ac-upload-space-icon:before{color:#d54e21;content:"\f153";margin-top:1px}.ac-upload-space.full .ac-upload-space-progress-bar{background-color:#dc3232}#form-site-list .tablenav .actions .ac-button{float:none}.ac-inline-info{border-radius:3px;min-height:20px;background-color:#e9e9e9;font-size:11px;font-weight:700}.ac-inline-info,.ac-rounded{display:inline-block;min-width:8px;padding:0 6px;text-align:center;margin-right:7px}.ac-rounded{border-radius:10px;height:20px;background-color:#e0e0e0;margin-left:7px;font-size:12px}.ac-rounded.ac-rounded-first{margin-left:0}.ac-spacing{display:inline-block;margin-right:10px;margin-bottom:4px}.cpac-suffix{margin-left:8px;color:gray}.ac-small-block{display:inline-block;border-radius:3px;background-color:hsla(0,0%,88%,.6);padding:2px 7px;margin:0 5px 5px 0}.ac-more-link-show{cursor:pointer}.ac-show-more-block{display:none}.ac-more-link-hide{cursor:pointer}.ac-image-container{margin-bottom:-6px}.ac-image{display:inline-block;margin-right:2px;margin-bottom:6px;overflow:hidden;max-width:100%;background-color:#ccc;vertical-align:middle}.ac-image img{display:block;margin:0 auto}.ac-image .ac-extension{font-size:12px;line-height:22px;display:block;text-align:center;text-transform:uppercase;font-weight:700}.ac-image.ac-icon{background-color:transparent}.rtl .column-column-attachment img{padding-left:5px;padding-right:0}.ac-progress-bar{width:100%;display:flex}.ac-progress-bar .ac-label-main{width:65px}.ac-progress-bar .ac-bar-container{flex:auto;background-color:#fff;min-height:22px;line-height:22px;position:relative;border:1px solid #ccc;border-radius:2px}.ac-progress-bar .ac-bar-container .ac-bar{height:100%;background-color:#69c471;border-right:1px solid #fff}.ac-progress-bar .ac-bar-container .ac-label-left,.ac-progress-bar .ac-bar-container .ac-label-right{text-shadow:hsla(0,0%,100%,.65) 0 0 5px;color:#555;position:absolute}.ac-progress-bar .ac-bar-container .ac-label-left{left:5px}.ac-progress-bar .ac-bar-container .ac-label-right{right:5px}.ac-progress-bar.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,.45);border:none}.ac-progress-bar.dark .ac-bar-container{flex:auto;background-color:#a6a6a6;min-height:22px;line-height:22px;position:relative}.ac-progress-bar.dark .ac-bar-container .ac-bar{height:100%;background-color:#46b450;border-right:1px solid #fff}.ac-progress-bar.dark .ac-bar-container .ac-label-left{color:#fff;position:absolute;left:5px}.ac-progress-bar.dark .ac-bar-container .ac-label-right{color:#fff;position:absolute;right:5px}.ac-progress-bar.dark.full .ac-bar-container .ac-bar{background-color:rgba(255,0,0,.68);border:none}div.cpac-color{line-height:26px}div.cpac-color span{display:block;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}.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}.column-actions.cpac_use_icons .row-actions>span a,.cpac_wp_button{color:#555;background:#f7f7f7;box-shadow:0 1px 0 #ccc;vertical-align:top;display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border:1px solid #ccc;border-radius:3px;white-space:nowrap;box-sizing:border-box}.column-actions.cpac_use_icons .row-actions>span a:hover,.cpac_wp_button:hover{background:#fafafa;color:#23282d;border-color:#999}.column-actions .row-actions{left:0;position:relative}.column-actions.cpac_use_icons .row-actions>span{color:transparent;margin-right:-8px}.column-actions.cpac_use_icons .row-actions>span a{display:inline-block;position:relative;min-width:26px;margin-bottom:5px}.column-actions.cpac_use_icons .row-actions>span a:before{text-indent:0;font-family:Dashicons,sans-serif;font-size:16px;position:absolute;padding-left:4px;top:0;left:0;width:100%;height:100%}.column-actions.cpac_use_icons .row-actions>span.activate a,.column-actions.cpac_use_icons .row-actions>span.approve a,.column-actions.cpac_use_icons .row-actions>span.archive a,.column-actions.cpac_use_icons .row-actions>span.backend a,.column-actions.cpac_use_icons .row-actions>span.deactivate a,.column-actions.cpac_use_icons .row-actions>span.delete a,.column-actions.cpac_use_icons .row-actions>span.download a,.column-actions.cpac_use_icons .row-actions>span.edit a,.column-actions.cpac_use_icons .row-actions>span.inline a,.column-actions.cpac_use_icons .row-actions>span.quickedit a,.column-actions.cpac_use_icons .row-actions>span.reply a,.column-actions.cpac_use_icons .row-actions>span.spam a,.column-actions.cpac_use_icons .row-actions>span.trash a,.column-actions.cpac_use_icons .row-actions>span.unapprove a,.column-actions.cpac_use_icons .row-actions>span.unarchive a,.column-actions.cpac_use_icons .row-actions>span.unspam a,.column-actions.cpac_use_icons .row-actions>span.untrash a,.column-actions.cpac_use_icons .row-actions>span.view a,.column-actions.cpac_use_icons .row-actions>span.visit a{text-indent:-3000px}.column-actions.cpac_use_icons .row-actions>span.activate a:before,.column-actions.cpac_use_icons .row-actions>span.approve a:before,.column-actions.cpac_use_icons .row-actions>span.archive a:before,.column-actions.cpac_use_icons .row-actions>span.backend a:before,.column-actions.cpac_use_icons .row-actions>span.deactivate a:before,.column-actions.cpac_use_icons .row-actions>span.delete a:before,.column-actions.cpac_use_icons .row-actions>span.download a:before,.column-actions.cpac_use_icons .row-actions>span.edit a:before,.column-actions.cpac_use_icons .row-actions>span.inline a:before,.column-actions.cpac_use_icons .row-actions>span.quickedit a:before,.column-actions.cpac_use_icons .row-actions>span.reply a:before,.column-actions.cpac_use_icons .row-actions>span.spam a:before,.column-actions.cpac_use_icons .row-actions>span.trash a:before,.column-actions.cpac_use_icons .row-actions>span.unapprove a:before,.column-actions.cpac_use_icons .row-actions>span.unarchive a:before,.column-actions.cpac_use_icons .row-actions>span.unspam a:before,.column-actions.cpac_use_icons .row-actions>span.untrash a:before,.column-actions.cpac_use_icons .row-actions>span.view a:before,.column-actions.cpac_use_icons .row-actions>span.visit a:before{text-indent:0;font-family:Dashicons,sans-serif}.column-actions.cpac_use_icons .row-actions>span.edit a:before{content:"\f464"}.column-actions.cpac_use_icons .row-actions>span.inline a:before,.column-actions.cpac_use_icons .row-actions>span.quickedit a:before{content:"\f119"}.column-actions.cpac_use_icons .row-actions>span.trash a{border-radius:3px;border:1px solid #ccc}.column-actions.cpac_use_icons .row-actions>span.trash a:before{content:"\f182"}.column-actions.cpac_use_icons .row-actions>span.trash a:hover{border-color:#999}.column-actions.cpac_use_icons .row-actions>span.view a:before{content:"\f177"}.column-actions.cpac_use_icons .row-actions>span.unapprove a:before{content:"\f158"}.column-actions.cpac_use_icons .row-actions>span.approve a:before{content:"\f147"}.column-actions.cpac_use_icons .row-actions>span.spam a:before{content:"\f117"}.column-actions.cpac_use_icons .row-actions>span.reply a:before{content:"\f473"}.column-actions.cpac_use_icons .row-actions>span.unspam a:before,.column-actions.cpac_use_icons .row-actions>span.untrash a:before{content:"\f171"}.column-actions.cpac_use_icons .row-actions>span.delete a:before{content:"\f182"}.column-actions.cpac_use_icons .row-actions>span.backend a:before{content:"\f226"}.column-actions.cpac_use_icons .row-actions>span.visit a:before{content:"\f115"}.column-actions.cpac_use_icons .row-actions>span.deactivate a:before{content:"\f530"}.column-actions.cpac_use_icons .row-actions>span.archive a:before{content:"\f480"}.column-actions.cpac_use_icons .row-actions>span.unarchive a:before{content:"\f322"}.column-actions.cpac_use_icons .row-actions>span.activate a:before{content:"\f177"}.column-actions.cpac_use_icons .row-actions>span.download a:before{content:"\f316"}@media screen and (max-width:782px){.wp-list-table.widefat thead th{display:none}.wp-list-table.widefat thead th.column-primary{display:table-cell}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td{display:none}.wp-list-table.widefat tbody tr:not(.inline-edit-row):not(.no-items) td.column-primary{display:block}}.ac-tip{display:inline-block}.qtip.qtip-tipsy{background:rgba(0,0,0,.75);font-weight:400;min-width:25px}
 
assets/fonts/cpac_icons.eot CHANGED
Binary file
assets/fonts/cpac_icons.svg ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <defs>
5
+ <font id="cpac_icons" horiz-adv-x="408">
6
+ <font-face font-family="cpac_icons"
7
+ units-per-em="1000" ascent="1000"
8
+ descent="0" />
9
+ <missing-glyph horiz-adv-x="0" />
10
+ <glyph glyph-name="draft"
11
+ unicode="&#xEA01;"
12
+ horiz-adv-x="1000.0000000000001" d=" M125 625C56.25 625 0 568.75 0 499.9999999999999S56.25 375 125 375S250.0000000000001 431.2499999999999 250.0000000000001 499.9999999999999S193.75 625 125 625zM875.0000000000001 625C806.25 625 750 568.75 750 499.9999999999999S806.25 375 875.0000000000001 375S1000.0000000000002 431.2499999999999 1000.0000000000002 499.9999999999999S943.7500000000002 625 875.0000000000001 625zM500.0000000000001 625C431.25 625 375 568.75 375 499.9999999999999S431.25 375 500.0000000000001 375S625 431.2499999999999 625 499.9999999999999S568.7500000000001 625 500.0000000000001 625z" />
13
+ <glyph glyph-name="move"
14
+ unicode="&#xEA02;"
15
+ horiz-adv-x="260.8695652173913" d=" M0 1000H86.9565217391304V913.0434782608696H0V1000z M0 818.840579710145H86.9565217391304V731.8840579710145H0V818.840579710145z M0 637.6811594202899H86.9565217391304V550.7246376811594H0V637.6811594202899z M0 456.5217391304348H86.9565217391304V369.5652173913044H0V456.5217391304348z M0 275.3623188405798H86.9565217391304V188.4057971014493H0V275.3623188405798z M0 94.2028985507246H86.9565217391304V7.2463768115941H0V94.2028985507246z M173.9130434782609 1000H260.8695652173913V913.0434782608696H173.9130434782609V1000z M173.9130434782609 818.840579710145H260.8695652173913V731.8840579710145H173.9130434782609V818.840579710145z M173.9130434782609 637.6811594202899H260.8695652173913V550.7246376811594H173.9130434782609V637.6811594202899z M173.9130434782609 456.5217391304348H260.8695652173913V369.5652173913044H173.9130434782609V456.5217391304348z M173.9130434782609 275.3623188405798H260.8695652173913V188.4057971014493H173.9130434782609V275.3623188405798z M173.9130434782609 86.9565217391304H260.8695652173913V0H173.9130434782609V86.9565217391304z" />
16
+ </font>
17
+ </defs>
18
+ </svg>
assets/fonts/cpac_icons.ttf CHANGED
Binary file
assets/fonts/cpac_icons.woff CHANGED
Binary file
assets/fonts/cpac_icons.woff2 ADDED
Binary file
assets/js/admin-general.js CHANGED
@@ -1,116 +1,17 @@
1
- jQuery( document ).ready( function( $ ) {
2
-
3
- if ( $( '#cpac' ).length === 0 ) {
4
- return false;
5
- }
6
-
7
- ac_pointer( $ );
8
- ac_help( $ );
9
-
10
- } );
11
-
12
- /*
13
  * WP Pointer
14
  *
15
- */
16
- function ac_pointer( $ ) {
17
-
18
- $( '.ac-pointer' ).each( function() {
19
- // vars
20
- var el = $( this ),
21
- html = el.attr( 'rel' ),
22
- pos = el.attr( 'data-pos' ),
23
- w = el.attr( 'data-width' ),
24
- noclick = el.attr( 'data-noclick' );
25
-
26
- var position = {
27
- at : 'left top', // position of wp-pointer relative to the element which triggers the pointer event
28
- my : 'right top', // position of wp-pointer relative to the at-coordinates
29
- edge : 'right', // position of arrow
30
- };
31
-
32
- var width = w ? w : 250;
33
-
34
- if ( 'right' == pos ) {
35
- position = {
36
- at : 'right middle',
37
- my : 'left middle',
38
- edge : 'left'
39
- };
40
- }
41
-
42
- if ( 'left' == pos ) {
43
- position = {
44
- at : 'left middle',
45
- my : 'right middle',
46
- edge : 'right'
47
- };
48
- }
49
-
50
- // create pointer
51
- el.pointer( {
52
- content : $( '#' + html ).html(),
53
- position : position,
54
- pointerWidth : width,
55
- // bug fix. with an arrow on the right side the position of wp-pointer is incorrect. it does not take
56
- // into account the padding of the arrow. adding "wp-pointer-' + position.edge" will fix that.
57
- pointerClass : 'ac-wp-pointer wp-pointer wp-pointer-' + position.edge + ( noclick ? ' noclick' : '' )
58
- } );
59
-
60
- // click
61
- if ( !noclick ) {
62
- el.click( function() {
63
- if ( el.hasClass( 'open' ) ) {
64
- el.removeClass( 'open' );
65
- }
66
- else {
67
- el.addClass( 'open' );
68
- }
69
- } );
70
- }
71
-
72
- // show on hover
73
- el.hover( function() {
74
- $( this ).pointer( 'open' );
75
- }, function() {
76
- var el = $( this );
77
- setTimeout( function() {
78
- if ( !el.hasClass( 'open' ) && $( '.ac-wp-pointer.hover' ).length == 0 ) {
79
- el.pointer( 'close' );
80
- }
81
- }, 100 );
82
-
83
- } ).on( 'close', function() {
84
- if ( !el.hasClass( 'open' ) && $( '.ac-wp-pointer.hover' ).length == 0 ) {
85
- el.pointer( 'close' );
86
- }
87
- } );
88
- } );
89
-
90
- $( '.ac-wp-pointer' ).hover( function() {
91
- $( this ).addClass( 'hover' );
92
- }, function() {
93
- $( this ).removeClass( 'hover' );
94
- $( '.ac-pointer' ).trigger( 'close' );
95
- } );
96
-
97
- }
98
-
99
- /*
100
  * Help
101
  *
102
  * usage: <a href="javascript:;" class="help" data-help="tab-2"></a>
103
- */
104
- function ac_help( $ ) {
105
- $( 'a.help' ).click( function( e ) {
106
- e.preventDefault();
107
-
108
- var panel = $( '#contextual-help-wrap' );
109
-
110
- panel.parent().show();
111
- $( 'a[href="#tab-panel-cpac-' + $( this ).attr( 'data-help' ) + '"]', panel ).trigger( 'click' );
112
- panel.slideDown( 'fast', function() {
113
- panel.focus();
114
- } );
115
- } );
116
- }
1
+ 'use strict';jQuery(document).ready(function($){if($('#cpac').length===0){return false}ac_pointer($);ac_help($)});/*
 
 
 
 
 
 
 
 
 
 
 
2
  * WP Pointer
3
  *
4
+ */function ac_pointer($){$('.ac-pointer').each(function(){// vars
5
+ var el=$(this),html=el.attr('rel'),pos=el.attr('data-pos'),w=el.attr('data-width'),noclick=el.attr('data-noclick');var position={at:'left top',// position of wp-pointer relative to the element which triggers the pointer event
6
+ my:'right top',// position of wp-pointer relative to the at-coordinates
7
+ edge:'right'// position of arrow
8
+ };var width=w?w:250;if('right'==pos){position={at:'right middle',my:'left middle',edge:'left'}}if('left'==pos){position={at:'left middle',my:'right middle',edge:'right'}}// create pointer
9
+ el.pointer({content:$('#'+html).html(),position:position,pointerWidth:width,// bug fix. with an arrow on the right side the position of wp-pointer is incorrect. it does not take
10
+ // into account the padding of the arrow. adding "wp-pointer-' + position.edge" will fix that.
11
+ pointerClass:'ac-wp-pointer wp-pointer wp-pointer-'+position.edge+(noclick?' noclick':'')});// click
12
+ if(!noclick){el.click(function(){if(el.hasClass('open')){el.removeClass('open')}else{el.addClass('open')}})}// show on hover
13
+ el.hover(function(){$(this).pointer('open')},function(){var el=$(this);setTimeout(function(){if(!el.hasClass('open')&&$('.ac-wp-pointer.hover').length==0){el.pointer('close')}},100)}).on('close',function(){if(!el.hasClass('open')&&$('.ac-wp-pointer.hover').length==0){el.pointer('close')}})});$('.ac-wp-pointer').hover(function(){$(this).addClass('hover')},function(){$(this).removeClass('hover');$('.ac-pointer').trigger('close')})}/*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  * Help
15
  *
16
  * usage: <a href="javascript:;" class="help" data-help="tab-2"></a>
17
+ */function ac_help($){$('a.help').click(function(e){e.preventDefault();var panel=$('#contextual-help-wrap');panel.parent().show();$('a[href="#tab-panel-cpac-'+$(this).attr('data-help')+'"]',panel).trigger('click');panel.slideDown('fast',function(){panel.focus()})})}
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/admin-general.min.js DELETED
@@ -1 +0,0 @@
1
- function ac_pointer(t){t(".ac-pointer").each(function(){var e=t(this),n=e.attr("rel"),o=e.attr("data-pos"),i=e.attr("data-width"),a=e.attr("data-noclick"),r={at:"left top",my:"right top",edge:"right"},c=i||250;"right"==o&&(r={at:"right middle",my:"left middle",edge:"left"}),"left"==o&&(r={at:"left middle",my:"right middle",edge:"right"}),e.pointer({content:t("#"+n).html(),position:r,pointerWidth:c,pointerClass:"ac-wp-pointer wp-pointer wp-pointer-"+r.edge+(a?" noclick":"")}),a||e.click(function(){e.hasClass("open")?e.removeClass("open"):e.addClass("open")}),e.hover(function(){t(this).pointer("open")},function(){var e=t(this);setTimeout(function(){e.hasClass("open")||0!=t(".ac-wp-pointer.hover").length||e.pointer("close")},100)}).on("close",function(){e.hasClass("open")||0!=t(".ac-wp-pointer.hover").length||e.pointer("close")})}),t(".ac-wp-pointer").hover(function(){t(this).addClass("hover")},function(){t(this).removeClass("hover"),t(".ac-pointer").trigger("close")})}function ac_help(t){t("a.help").click(function(e){e.preventDefault();var n=t("#contextual-help-wrap");n.parent().show(),t('a[href="#tab-panel-cpac-'+t(this).attr("data-help")+'"]',n).trigger("click"),n.slideDown("fast",function(){n.focus()})})}jQuery(document).ready(function(t){if(0===t("#cpac").length)return!1;ac_pointer(t),ac_help(t)});
 
assets/js/admin-page-columns.js CHANGED
@@ -1,954 +1,153 @@
1
- /**
2
  * AC variables. Defined in DOM.
3
  * @param AC {Object}
4
  * @param AC.list_screen {String}
5
  * @param AC.layout {String}
6
  * @param AC.i81n {String}
7
- */
8
- var AC;
9
-
10
- /**
11
  * Temporary column name used for form elements.
12
  *
13
  * @type {number}
14
- */
15
- var incremental_column_name = 0;
16
-
17
- /**
18
  * DOM ready
19
- */
20
- jQuery( document ).ready( function( $ ) {
21
-
22
- if ( $( '#cpac' ).length === 0 ) {
23
- return false;
24
- }
25
-
26
- cpac_init( $ );
27
- cpac_submit_form( $ );
28
- cpac_reset_columns( $ );
29
- cpac_menu( $ );
30
- cpac_add_column( $ );
31
- cpac_sidebar_feedback( $ );
32
- } );
33
-
34
- function ac_show_ajax_message( message, attr_class ) {
35
- var msg = jQuery( '<div class="ac-message hidden ' + attr_class + '"><p>' + message + '</p></div>' );
36
- jQuery( '.ac-boxes' ).before( msg );
37
- msg.slideDown();
38
- }
39
-
40
- /*
41
  * Submit Form
42
  *
43
  * @since 2.0.2
44
- */
45
- function cpac_submit_form( $ ) {
46
-
47
- var $save_buttons = $( '.sidebox a.submit, .column-footer a.submit' );
48
-
49
- $save_buttons.click( function() {
50
-
51
- var $button = $( this );
52
- var $container = $button.closest( '.ac-admin' ).addClass( 'saving' );
53
- var columns_data = $container.find( '.ac-columns form' ).serialize();
54
-
55
- $save_buttons.attr( 'disabled', 'disabled' );
56
-
57
- // reset
58
- $container.find( '.ac-message' ).remove(); // placed by restore button
59
-
60
- var xhr = $.post( ajaxurl, {
61
- action : 'ac_columns_save',
62
- data : columns_data,
63
- _ajax_nonce : AC._ajax_nonce,
64
- list_screen : AC.list_screen,
65
- layout : AC.layout,
66
- original_columns : AC.original_columns
67
- },
68
-
69
- // JSON response
70
- function( response ) {
71
- if ( response ) {
72
- if ( response.success ) {
73
- ac_show_ajax_message( response.data, 'updated' );
74
-
75
- $container.addClass( 'stored' );
76
- }
77
-
78
- // Error message
79
- else if ( response.data ) {
80
- ac_show_ajax_message( response.data.message, 'notice notice-warning' );
81
- }
82
- }
83
-
84
- // No response
85
- else {
86
- }
87
-
88
- }, 'json' );
89
-
90
- // No JSON
91
- xhr.fail( function( error ) {
92
- // We choose not to notify the user of errors, because the settings will have
93
- // been saved correctly despite of PHP notices/errors from plugin or themes.
94
- } );
95
-
96
- // Always
97
- xhr.always( function() {
98
- $save_buttons.removeAttr( 'disabled', 'disabled' );
99
- $container.removeClass( 'saving' );
100
- } );
101
-
102
- $( document ).trigger( 'cac_update', $container );
103
- } );
104
- }
105
-
106
- /*
107
  * Add Column
108
  *
109
  * @since 2.0
110
- */
111
- function cpac_add_column( $ ) {
112
-
113
- $( '.add_column' ).click( function( e ) {
114
- e.preventDefault();
115
-
116
- var clone = $( '#add-new-column-template' ).find( '.ac-column' ).clone();
117
-
118
- // increment clone id ( before adding to DOM, otherwise radio buttons will reset )
119
- clone.cpac_update_clone_id();
120
-
121
- // Open
122
- clone.addClass( 'opened' ).find( '.ac-column-body' ).slideDown( 150, function() {
123
- $( 'html, body' ).animate( { scrollTop : clone.offset().top - 58 }, 300 );
124
- } );
125
-
126
- // add to DOM
127
- $( '.ac-columns form' ).append( clone );
128
-
129
- // TODO: better?
130
- clone.column_bind_toggle();
131
- clone.column_bind_remove();
132
- clone.column_bind_clone();
133
- clone.column_bind_events();
134
-
135
- // hook for addons
136
- $( document ).trigger( 'column_add', clone );
137
- } );
138
-
139
- }
140
-
141
- /**
142
  * @since 2.2.1
143
- */
144
- function cpac_sidebar_feedback( $ ) {
145
- var sidebox = $( '.sidebox#direct-feedback' );
146
-
147
- sidebox.find( '#feedback-choice a.no' ).click( function( e ) {
148
- e.preventDefault();
149
-
150
- sidebox.find( '#feedback-choice' ).slideUp();
151
- sidebox.find( '#feedback-support' ).slideDown();
152
- } );
153
-
154
- sidebox.find( '#feedback-choice a.yes' ).click( function( e ) {
155
- e.preventDefault();
156
-
157
- sidebox.find( '#feedback-choice' ).slideUp();
158
- sidebox.find( '#feedback-rate' ).slideDown();
159
- } );
160
- }
161
-
162
- function cpac_init( $ ) {
163
-
164
- var container = $( '.ac-admin' );
165
- var boxes = container.find( '.ac-boxes' );
166
-
167
- // Written for PHP Export
168
- if ( boxes.hasClass( 'disabled' ) ) {
169
- boxes.find( '.ac-column' ).each( function( i, col ) {
170
- $( col ).column_bind_toggle();
171
- $( col ).find( 'input, select' ).prop( 'disabled', true );
172
- } );
173
- }
174
-
175
- else {
176
- var columns = boxes.find( '.ac-columns' );
177
-
178
- // we start by binding the toggle and remove events.
179
- columns.find( '.ac-column' ).each( function( i, col ) {
180
- $( col ).column_bind_toggle();
181
- $( col ).column_bind_remove();
182
- $( col ).column_bind_clone();
183
- $( col ).cpac_bind_indicator_events();
184
- $( col ).column_onload();
185
- } );
186
-
187
- // ordering of columns
188
- columns.cpac_bind_ordering();
189
- }
190
-
191
- // hook for addons
192
- $( document ).trigger( 'cac_menu_change', columns ); // deprecated
193
- $( document ).trigger( 'cac_model_ready', container.data( 'type' ) );
194
- }
195
-
196
- /*
197
  * Menu
198
  *
199
  * @since 1.5
200
- */
201
- function cpac_menu( $ ) {
202
- $( '#ac_list_screen' ).on( 'change', function() {
203
- $( '.view-link' ).hide();
204
- $( this ).parents( 'form' ).submit();
205
-
206
- $( this ).prop( 'disabled', true ).next( '.spinner' ).css( 'display', 'inline-block' );
207
- } );
208
- }
209
-
210
- /*
211
  * Reset columns
212
  *
213
  * @since 3.0.3
214
- */
215
- function cpac_reset_columns( $ ) {
216
- var $container = $( '.ac-admin' );
217
-
218
- $( 'a[data-clear-columns]' ).on( 'click', function() {
219
- $container.find( '.ac-column' ).each( function() {
220
- $( this ).find( '.remove-button' ).trigger( 'click' );
221
- } );
222
- } );
223
- }
224
-
225
- /*
226
  * jQuery functions
227
  *
228
  * @since 2.0
229
- */
230
- (function( $ ) {
231
-
232
- /*
233
  * Column: bind toggle events
234
  *
235
  * For performance we bind all other events after the click event.
236
  *
237
  * @since 2.0
238
- */
239
- $.fn.column_bind_toggle = function() {
240
-
241
- var $column = $( this );
242
- var is_disabled = $column.closest( '.ac-boxes' ).hasClass( 'disabled' );
243
-
244
- $column.find( '[data-toggle="column"]' ).click( function( e ) {
245
- e.preventDefault();
246
-
247
- $column.toggleClass( 'opened' ).find( '.ac-column-body' ).slideToggle( 150 );
248
-
249
- if ( is_disabled ) {
250
- return;
251
- }
252
-
253
- if ( !$column.hasClass( 'events-binded' ) ) {
254
- $column.column_bind_events();
255
- }
256
-
257
- $column.addClass( 'events-binded' );
258
-
259
- // hook for addons
260
- $( document ).trigger( 'column_init', $column );
261
- } ).css( 'cursor', 'pointer' );
262
- };
263
-
264
- /*
265
  * Column: bind remove events
266
  *
267
  * @since 2.0
268
- */
269
- $.fn.column_bind_remove = function() {
270
- $( this ).find( '.remove-button' ).click( function( e ) {
271
- $( this ).closest( '.ac-column' ).column_remove();
272
-
273
- e.preventDefault();
274
- } );
275
- };
276
-
277
- /**
278
  * Column: bind clone events
279
  *
280
  * @since 2.3.4
281
- */
282
- $.fn.column_bind_clone = function() {
283
- $( this ).find( '.clone-button' ).click( function( e ) {
284
- e.preventDefault();
285
-
286
- var $clone = $( this ).closest( '.ac-column' ).column_clone();
287
-
288
- if ( typeof $clone !== 'undefined' ) {
289
- $clone.removeClass( 'loading' ).hide().slideDown();
290
- }
291
- } );
292
- };
293
-
294
- $.fn.cpac_column_refresh = function() {
295
-
296
- var el = $( this );
297
- var select = el.find( '[data-refresh="column"]' );
298
- var column_name = $( this ).attr( 'data-column-name' );
299
- var opened = el.hasClass( 'opened' );
300
-
301
- // Allow plugins to hook into this event
302
- $( document ).trigger( 'pre_column_refresh', el );
303
-
304
- var data = $( this ).find( ':input' ).serializeArray();
305
- var request_data = {
306
- action : 'ac_column_refresh',
307
- _ajax_nonce : AC._ajax_nonce,
308
- list_screen : AC.list_screen,
309
- layout : AC.layout,
310
- column_name : column_name,
311
- original_columns : AC.original_columns
312
- };
313
-
314
- $.each( request_data, function( name, value ) {
315
- data.push( {
316
- name : name,
317
- value : value
318
- } );
319
- } );
320
-
321
- // Mark column as loading
322
- el.addClass( 'loading' );
323
- select.prop( 'disabled', 1 );
324
-
325
- // Fetch new form HTML
326
- var xhr = $.post( ajaxurl, data, function( response ) {
327
-
328
- if ( response ) {
329
- // Replace current form by new form
330
- var newel = $( '<div>' + response.data + '</div>' ).children();
331
- el.replaceWith( newel );
332
- el = newel;
333
-
334
- // Bind events
335
- el.column_bind_toggle();
336
- el.column_bind_remove();
337
- el.column_bind_clone();
338
- el.column_bind_events();
339
-
340
- // Open settings
341
- if ( opened ) {
342
- el.addClass( 'opened' ).find( '.ac-column-body' ).show();
343
- }
344
-
345
- // Allow plugins to hook into this event
346
-
347
- // TODO: change to column_refresh?
348
- $( document ).trigger( 'column_change', el );
349
- }
350
-
351
- // Do nothing
352
- else {
353
-
354
- }
355
- }, 'json' );
356
-
357
- xhr.fail( function( error ) {
358
- var $msg = el.closest( '.ac-admin' ).find( '.ajax-message' );
359
-
360
- $msg.addClass( 'error' ).find( 'p' ).html( AC.i18n.error );
361
- $msg.slideDown();
362
-
363
- el.slideUp( function() { el.remove() } );
364
-
365
- console.log( 'responseText: ' + error.responseText );
366
- } );
367
-
368
- xhr.always( function() {
369
- // Remove "loading" marking from column
370
- el.removeClass( 'loading' );
371
- select.prop( 'disabled', false );
372
- } );
373
- };
374
-
375
- $.fn.column_onload = function() {
376
- var column = $( this );
377
-
378
- /** When an label contains an icon or span, the displayed label can appear empty. In this case we show the "type" label. */
379
- var column_label = column.find( '.column_label .toggle' );
380
- if ( $.trim( column_label.html() ) && column_label.width() < 1 ) {
381
- column_label.html( column.find( '.column_type .inner' ).html() );
382
- }
383
- };
384
-
385
- /*
386
  * Form Events
387
  *
388
  * @since 2.0
389
- */
390
- $.fn.column_bind_events = function() {
391
- var column = $( this );
392
- var container = column.closest( '.ac-admin ' );
393
-
394
- column.column_onload();
395
- // Current column type
396
- var default_value = column.find( 'select.ac-setting-input_type option:selected' ).val();
397
-
398
- // Type selector
399
- column.find( 'select.ac-setting-input_type' ).change( function() {
400
- var option = $( 'optgroup', this ).children( ':selected' );
401
- var type = option.val();
402
- var msg = $( this ).next( '.msg' ).hide();
403
- var $select = $( this );
404
-
405
- var current_original_columns = [];
406
- container.find( '.ac-column[data-original=1]' ).each( function() {
407
- current_original_columns.push( $( this ).data( 'type' ) );
408
- } );
409
-
410
- column.addClass( 'loading' );
411
-
412
- $.ajax( {
413
- url : ajaxurl,
414
- method : 'post',
415
- dataType : 'json',
416
- data : {
417
- action : 'ac_column_select',
418
- type : type,
419
- current_original_columns : current_original_columns,
420
- original_columns : AC.original_columns,
421
- list_screen : AC.list_screen,
422
- layout : AC.layout,
423
- _ajax_nonce : AC._ajax_nonce,
424
- }
425
- } )
426
- .done( function( response ) {
427
- if ( response ) {
428
-
429
- if ( response.success ) {
430
- var el = column.closest( '.ac-column' );
431
-
432
- // Replace current form by new form
433
- var newel = $( '<div>' + response.data + '</div>' ).children();
434
- el.replaceWith( newel );
435
- el = newel;
436
-
437
- // Bind events
438
- el.column_bind_toggle();
439
- el.column_bind_remove();
440
- el.column_bind_clone();
441
- el.column_bind_events();
442
-
443
- // Open settings
444
- el.addClass( 'opened' ).find( '.ac-column-body' ).show();
445
-
446
- el.cpac_update_clone_id();
447
-
448
- // Allow plugins to hook into this event
449
- $( document ).trigger( 'column_change', el );
450
- }
451
-
452
- // Error message
453
- else if ( response.data ) {
454
- if ( 'message' === response.data.type ) {
455
- msg.html( response.data.error ).show();
456
-
457
- // Set to default
458
- $select.find( 'option' ).removeAttr( 'selected' );
459
- $select.find( 'option[value="' + default_value + '"]' ).attr( 'selected', 'selected' );
460
- }
461
- }
462
- }
463
- } )
464
-
465
- .always( function() {
466
- column.removeClass( 'loading' );
467
- } );
468
-
469
- } );
470
-
471
- /** change label */
472
- column.find( '.ac-column-setting--label input' ).bind( 'keyup change', function() {
473
- var value = $( this ).val();
474
- $( this ).closest( '.ac-column' ).find( 'td.column_label .inner > a.toggle' ).html( value );
475
- } );
476
-
477
- /** tooltip */
478
- column.find( '.ac-column-body .col-label .label' ).hover( function() {
479
- $( this ).parents( '.col-label' ).find( 'div.tooltip' ).show();
480
- }, function() {
481
- $( this ).parents( '.col-label' ).find( 'div.tooltip' ).hide();
482
- } );
483
-
484
- /**
485
  * Populates the main Label with the selected label from the dropdown,
486
- */
487
- column.find( 'select[data-label="update"]' ).change( function() {
488
- var $label = column.find( 'input.ac-setting-input_label' );
489
- var field_label = $( this ).find( 'option:selected' ).text();
490
-
491
- // Set new label
492
- $label.val( field_label );
493
- $label.trigger( 'change' );
494
- } );
495
-
496
- // refresh column and re-bind all events
497
- column.find( '[data-refresh="column"]' ).change( function() {
498
- column.cpac_column_refresh();
499
- } );
500
-
501
- $( document ).trigger( 'init_settings', column );
502
- };
503
-
504
- $.fn.column_bind_settings = function() {
505
- var $column = $( this );
506
-
507
- $column.find( '.ac-column-setting--image_size' ).cpac_column_setting_image_size();
508
- $column.find( '.ac-column-setting--width' ).cpac_column_setting_width();
509
- };
510
-
511
- /*
512
  * Column: remove from DOM
513
  *
514
  * @since 2.0
515
- */
516
- $.fn.column_remove = function() {
517
- $( this ).addClass( 'deleting' ).animate( { opacity : 0, height : 0 }, 350, function() {
518
- $( this ).remove();
519
- } );
520
- };
521
-
522
- /*
523
  * Column: clone
524
  *
525
  * @since 2.3.4
526
- */
527
- $.fn.column_clone = function() {
528
-
529
- var column = $( this );
530
- var columns = $( this ).closest( 'ac-columns' );
531
-
532
- if ( '1' === column.attr( 'data-original' ) ) {
533
-
534
- var message = AC.i18n.clone.replace( '%s', '<strong>' + column.find( '.column_label .toggle' ).text() + '</strong>' );
535
-
536
- column.addClass( 'opened' ).find( '.ac-column-body' ).slideDown( 150 );
537
- column.find( '.ac-setting-input_type' ).next( '.msg' ).html( message ).show();
538
-
539
- return;
540
- }
541
-
542
- var clone = $( this ).clone();
543
-
544
- clone.cpac_update_clone_id();
545
-
546
- $( this ).after( clone );
547
-
548
- // rebind events
549
- clone.column_bind_toggle();
550
- clone.column_bind_remove();
551
- clone.column_bind_clone();
552
-
553
- // rebind all other events
554
- clone.column_bind_events();
555
-
556
- // reinitialize sortability
557
- columns.cpac_bind_ordering();
558
-
559
- // hook for addons
560
- $( document ).trigger( 'column_add', clone );
561
-
562
- return clone;
563
- };
564
-
565
- /*
566
  * Update clone ID
567
  *
568
  * @since 2.0
569
- */
570
- $.fn.cpac_update_clone_id = function() {
571
- var $el = $( this );
572
- var original_column_name = $el.attr( 'data-column-name' );
573
- var temp_column_name = '_new_column_' + incremental_column_name;
574
-
575
- // update input names with clone ID
576
- var inputs = $el.find( 'input, select, label' );
577
- $( inputs ).each( function( i, v ) {
578
-
579
- // name
580
- if ( $( v ).attr( 'name' ) ) {
581
- $( v ).attr( 'name', $( v ).attr( 'name' ).replace( 'columns[' + original_column_name + ']', 'columns[' + temp_column_name + ']' ) );
582
- }
583
-
584
- // id
585
- if ( $( v ).attr( 'id' ) ) {
586
- $( v ).attr( 'id', $( v ).attr( 'id' ).replace( '-' + original_column_name + '-', '-' + temp_column_name + '-' ) );
587
- }
588
-
589
- // TODO for
590
- } );
591
-
592
- $el.attr( 'data-column-name', temp_column_name );
593
-
594
- // increment
595
- incremental_column_name++;
596
- };
597
-
598
- /*
599
  * Bind events: triggered after column is init, changed or added
600
  *
601
- */
602
- $( document ).bind( 'column_init column_change column_add', function( e, column ) {
603
- var is_disabled = $( column ).closest( '.ac-boxes' ).hasClass( 'disabled' );
604
-
605
- if ( is_disabled ) {
606
- return;
607
- }
608
-
609
- $( column ).cpac_bind_column_addon_events();
610
- $( column ).cpac_bind_indicator_events();
611
- } );
612
-
613
- /*
614
  * Optional Radio Click events
615
  *
616
- */
617
- $.fn.cpac_bind_column_addon_events = function() {
618
-
619
- var column = $( this );
620
- var inputs = column.find( '[data-trigger] label' );
621
-
622
- inputs.on( 'click', function() {
623
-
624
- var id = $( this ).closest( 'td.input' ).data( 'trigger' );
625
- var state = $( 'input', this ).val();
626
-
627
- // Toggle indicator icon
628
- var label = column.find( '[data-indicator-id="' + id + '"]' ).removeClass( 'on' );
629
- if ( 'on' == state ) {
630
- label.addClass( 'on' );
631
- }
632
-
633
- // Toggle additional options
634
- var additional = column.find( '[data-handle="' + id + '"]' ).addClass( 'hide' );
635
- if ( 'on' == state ) {
636
- additional.removeClass( 'hide' );
637
- }
638
- } );
639
-
640
- // On load
641
- column.find( '[data-trigger]' ).each( function() {
642
-
643
- var trigger = $( this ).data( 'trigger' );
644
-
645
- // Hide additional column settings
646
- var additional = column.find( '[data-handle="' + trigger + '"]' ).addClass( 'hide' );
647
- if ( 'on' == $( 'input:checked', this ).val() ) {
648
- additional.removeClass( 'hide' );
649
- }
650
- } );
651
- };
652
-
653
- /*
654
  * Indicator Click Events
655
  *
656
- */
657
- $.fn.cpac_bind_indicator_events = function() {
658
- var $column = $( this );
659
- var $indicators = $column.find( '.ac-column-header [data-indicator-toggle]' );
660
-
661
- $indicators.each( function() {
662
- var $indicator = $( this );
663
- var setting = $( this ).data( 'setting' );
664
- var $setting = $column.find( '.ac-column-setting[data-setting=' + setting + ']' );
665
- var $input = $setting.find( '.col-input:first .ac-setting-input:first input[type=radio]' );
666
-
667
- $indicator.unbind( 'click' ).on( 'click', function( e ) {
668
- e.preventDefault();
669
- $indicator.toggleClass( 'on' );
670
- if ( $( this ).hasClass( 'on' ) ) {
671
- $input.filter( '[value=on]' ).prop( 'checked', true ).trigger( 'click' ).trigger( 'change' );
672
- }
673
- else {
674
- $input.filter( '[value=off]' ).prop( 'checked', true ).trigger( 'click' ).trigger( 'change' );
675
- }
676
- } );
677
-
678
- $input.on( 'change', function() {
679
- var value = $input.filter( ':checked' ).val();
680
- if ( 'on' == value ) {
681
- $indicator.addClass( 'on' );
682
- } else {
683
- $indicator.removeClass( 'on' );
684
- }
685
- } );
686
- } );
687
-
688
- };
689
-
690
- /*
691
  * Sortable
692
  *
693
  * @since 1.5
694
- */
695
- $.fn.cpac_bind_ordering = function() {
696
- $( this ).each( function() {
697
- if ( $( this ).hasClass( 'ui-sortable' ) ) {
698
- $( this ).sortable( 'refresh' );
699
- }
700
- else {
701
- $( this ).sortable( {
702
- items : '.ac-column',
703
- handle : '.column_sort'
704
- } );
705
- }
706
- } );
707
- };
708
-
709
- // Settings fields: Image _size
710
- $.fn.cpac_column_setting_image_size = function() {
711
- function initState( $setting, $select ) {
712
- if ( 'cpac-custom' == $select.val() ) {
713
- $setting.find( '.ac-column-setting' ).show();
714
- } else {
715
- $setting.find( '.ac-column-setting' ).hide();
716
- }
717
- }
718
-
719
- $( this ).each( function() {
720
- var $setting = $( this );
721
- var $select = $( this ).find( '.ac-setting-input select' );
722
-
723
- initState( $setting, $select );
724
- $select.on( 'change', function() {
725
- initState( $setting, $( this ) );
726
- } );
727
-
728
- } );
729
- };
730
-
731
- $( document ).on( 'init_settings', function( e, column ) {
732
- $( column ).find( '.ac-column-setting--image' ).cpac_column_setting_image_size();
733
- $( column ).find( '.ac-column-setting--images' ).cpac_column_setting_image_size();
734
- } );
735
-
736
- // Settings fields: Width
737
- $.fn.column_width_slider = function() {
738
-
739
- var column_width = $( this ).find( '.ac-setting-input-width' );
740
-
741
- var input_width = column_width.find( '.description input' ),
742
- input_unit = column_width.find( '.unit-select input' ),
743
- unit = input_unit.filter( ':checked' ).val(),
744
- width = input_width.val(),
745
- slider = column_width.find( '.width-slider' ),
746
- indicator = $( this ).find( '.ac-column-header .ac-column-heading-setting--width' );
747
-
748
- // width
749
- if ( '%' == unit && width > 100 ) {
750
- width = 100;
751
- }
752
-
753
- input_width.val( width );
754
-
755
- slider.slider( {
756
- range : 'min',
757
- min : 0,
758
- max : '%' == unit ? 100 : 500,
759
- value : width,
760
- slide : function( event, ui ) {
761
-
762
- input_width.val( ui.value );
763
- indicator.trigger( 'update' );
764
- input_width.trigger( 'validate' );
765
- }
766
- } );
767
- };
768
-
769
- $.fn.cpac_column_setting_width = function() {
770
-
771
- $( this ).each( function() {
772
- var $column = $( this ).parents( '.ac-column' );
773
- $column.column_width_slider();
774
-
775
- // indicator
776
- var $width_indicator = $column.find( '.ac-column-header .ac-column-heading-setting--width' );
777
-
778
- $width_indicator.on( 'update', function() {
779
- var _width = $column.find( '.ac-setting-input-width .description input' ).val();
780
- var _unit = $column.find( '.ac-setting-input-width .description .unit' ).text();
781
- if ( _width > 0 ) {
782
- $( this ).text( _width + _unit );
783
- } else {
784
- $( this ).text( '' );
785
- }
786
- } );
787
-
788
- // unit selector
789
- var width_unit_select = $column.find( '.ac-setting-input-width .unit-select label' );
790
- width_unit_select.on( 'click', function() {
791
-
792
- $column.find( 'span.unit' ).text( $( this ).find( 'input' ).val() );
793
- $column.column_width_slider(); // re-init slider
794
- $width_indicator.trigger( 'update' ); // update indicator
795
- } );
796
-
797
- // width_input
798
- var width_input = $column.find( '.ac-setting-input-width .description input' )
799
- .on( 'keyup', function() {
800
- $column.column_width_slider(); // re-init slider
801
- $( this ).trigger( 'validate' ); // validate input
802
- $width_indicator.trigger( 'update' ); // update indicator
803
- } )
804
-
805
- // width_input:validate
806
- .on( 'validate', function() {
807
- var _width = width_input.val();
808
- var _new_width = $.trim( _width );
809
-
810
- if ( !$.isNumeric( _new_width ) ) {
811
- _new_width = _new_width.replace( /\D/g, '' );
812
- }
813
- if ( _new_width.length > 3 ) {
814
- _new_width = _new_width.substring( 0, 3 );
815
- }
816
- if ( _new_width <= 0 ) {
817
- _new_width = '';
818
- }
819
- if ( _new_width !== _width ) {
820
- width_input.val( _new_width );
821
- }
822
- } );
823
-
824
- } );
825
- };
826
-
827
- $.fn.cpac_column_sub_setting_toggle = function( options ) {
828
- var settings = $.extend( {
829
- value_show : "on",
830
- subfield : '.ac-column-setting'
831
- }, options );
832
-
833
- function initState( $setting, $input ) {
834
- var value = $input.filter( ':checked' ).val();
835
- var $subfields = $setting.find( settings.subfield );
836
-
837
- if ( settings.value_show == value ) {
838
- $subfields.show();
839
- } else {
840
- $subfields.hide();
841
- }
842
- }
843
-
844
- $( this ).each( function() {
845
- var $setting = $( this );
846
- var $input = $( this ).find( '.ac-setting-input input[type="radio"]' );
847
-
848
- initState( $setting, $input );
849
- $input.on( 'change', function() {
850
- initState( $setting, $input );
851
- } );
852
-
853
- } );
854
- };
855
-
856
- $.fn.cpac_column_setting_date = function() {
857
-
858
- $( this ).each( function() {
859
-
860
- var $container = $( this );
861
-
862
- // Custom input
863
- var $radio_custom = $container.find( 'input.custom' );
864
- var $input_custom = $container.find( '.ac-setting-input-date__custom' );
865
- var $input_value = $container.find( '.ac-setting-input-date__value' );
866
- var $example_custom = $container.find( '.ac-setting-input-date__example' );
867
- var $selected = $container.find( 'input[type=radio]:checked' );
868
- var $help_msg = $container.find( '.help-msg' );
869
-
870
- // Click Event
871
- $container.find( 'input[type=radio]' ).on( 'change', function() {
872
-
873
- var $input = $( this );
874
- var $input_container = $input.closest( 'label' );
875
- var date_format = $input_container.find( 'code' ).text();
876
- var description = $input_container.find( '.ac-setting-input-date__more' ).html();
877
-
878
- if ( date_format ) {
879
- $input_custom.val( date_format ).trigger( 'change' );
880
- }
881
-
882
- if ( $input.hasClass( 'diff' ) ) {
883
- $input_custom.val( '' );
884
- $example_custom.text( '' );
885
- }
886
-
887
- $input_custom.prop( 'disabled', true );
888
-
889
- // Custom input selected
890
- if ( $input.hasClass( 'custom' ) ) {
891
- $input.val( $input_custom.val() );
892
- $input_custom.prop( 'disabled', false );
893
- $help_msg.show();
894
- }
895
-
896
- // Show more description
897
- $help_msg.hide();
898
- if ( description ) {
899
- $help_msg.html( description ).show();
900
- }
901
-
902
- $input_value.val( $input.val() );
903
- } );
904
-
905
- // Custom input
906
- $input_custom.on( 'change', function() {
907
-
908
- $example_custom.html( '<span class="spinner is-active"></span>' );
909
- $radio_custom.val( $input_custom.val() );
910
-
911
- var $custom_value = $( this ).val();
912
-
913
- if ( !$custom_value ) {
914
- $example_custom.text( '' );
915
- return;
916
- }
917
-
918
- $.ajax( {
919
- url : ajaxurl,
920
- method : 'post',
921
- data : {
922
- action : 'date_format',
923
- date : $custom_value
924
- }
925
- } ).done( function( date ) {
926
- $example_custom.text( date );
927
- } );
928
-
929
- $input_value.val( $custom_value );
930
- } );
931
-
932
- // Update date example box
933
- $selected.trigger( 'change' );
934
-
935
- // Select custom input as a default
936
- if ( 0 === $selected.length ) {
937
- $radio_custom.trigger( 'click' );
938
- }
939
-
940
- } );
941
-
942
- };
943
-
944
- $( document ).on( 'init_settings', function( e, column ) {
945
- $( column ).find( '.ac-column-setting--width' ).cpac_column_setting_width();
946
- $( column ).find( '.ac-column-setting--date' ).cpac_column_setting_date();
947
-
948
- // TODO: pro?
949
- $( column ).find( '.ac-column-setting--filter' ).cpac_column_sub_setting_toggle();
950
- $( column ).find( '.ac-column-setting--sort' ).cpac_column_sub_setting_toggle();
951
- $( column ).find( '.ac-column-setting--edit' ).cpac_column_sub_setting_toggle();
952
- } );
953
-
954
- }( jQuery ));
1
+ 'use strict';/**
2
  * AC variables. Defined in DOM.
3
  * @param AC {Object}
4
  * @param AC.list_screen {String}
5
  * @param AC.layout {String}
6
  * @param AC.i81n {String}
7
+ */var AC;/**
 
 
 
8
  * Temporary column name used for form elements.
9
  *
10
  * @type {number}
11
+ */var incremental_column_name=0;/**
 
 
 
12
  * DOM ready
13
+ */jQuery(document).ready(function($){if($('#cpac').length===0){return false}cpac_init($);cpac_submit_form($);cpac_reset_columns($);cpac_menu($);cpac_add_column($);cpac_sidebar_feedback($)});function ac_show_ajax_message(message,attr_class){var msg=jQuery('<div class="ac-message hidden '+attr_class+'"><p>'+message+'</p></div>');jQuery('.ac-boxes').before(msg);msg.slideDown()}/*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  * Submit Form
15
  *
16
  * @since 2.0.2
17
+ */function cpac_submit_form($){var $save_buttons=$('.sidebox a.submit, .column-footer a.submit');$save_buttons.click(function(){var $button=$(this);var $container=$button.closest('.ac-admin').addClass('saving');var columns_data=$container.find('.ac-columns form').serialize();$save_buttons.attr('disabled','disabled');// reset
18
+ $container.find('.ac-message').remove();// placed by restore button
19
+ var xhr=$.post(ajaxurl,{action:'ac_columns_save',data:columns_data,_ajax_nonce:AC._ajax_nonce,list_screen:AC.list_screen,layout:AC.layout,original_columns:AC.original_columns},// JSON response
20
+ function(response){if(response){if(response.success){ac_show_ajax_message(response.data,'updated');$container.addClass('stored')}// Error message
21
+ else if(response.data){ac_show_ajax_message(response.data.message,'notice notice-warning')}}// No response
22
+ else{}},'json');// No JSON
23
+ xhr.fail(function(error){// We choose not to notify the user of errors, because the settings will have
24
+ // been saved correctly despite of PHP notices/errors from plugin or themes.
25
+ });// Always
26
+ xhr.always(function(){$save_buttons.removeAttr('disabled','disabled');$container.removeClass('saving')});$(document).trigger('cac_update',$container)})}/*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  * Add Column
28
  *
29
  * @since 2.0
30
+ */function cpac_add_column($){$('.add_column').click(function(e){e.preventDefault();var clone=$('#add-new-column-template').find('.ac-column').clone();// increment clone id ( before adding to DOM, otherwise radio buttons will reset )
31
+ clone.cpac_update_clone_id();// Open
32
+ clone.addClass('opened').find('.ac-column-body').slideDown(150,function(){$('html, body').animate({scrollTop:clone.offset().top-58},300)});// add to DOM
33
+ $('.ac-columns form').append(clone);// TODO: better?
34
+ clone.column_bind_toggle();clone.column_bind_remove();clone.column_bind_clone();clone.column_bind_events();// hook for addons
35
+ $(document).trigger('column_add',clone)})}/**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  * @since 2.2.1
37
+ */function cpac_sidebar_feedback($){var sidebox=$('.sidebox#direct-feedback');sidebox.find('#feedback-choice a.no').click(function(e){e.preventDefault();sidebox.find('#feedback-choice').slideUp();sidebox.find('#feedback-support').slideDown()});sidebox.find('#feedback-choice a.yes').click(function(e){e.preventDefault();sidebox.find('#feedback-choice').slideUp();sidebox.find('#feedback-rate').slideDown()})}function cpac_init($){var container=$('.ac-admin');var boxes=container.find('.ac-boxes');// Written for PHP Export
38
+ if(boxes.hasClass('disabled')){boxes.find('.ac-column').each(function(i,col){$(col).column_bind_toggle();$(col).find('input, select').prop('disabled',true)})}else{var columns=boxes.find('.ac-columns');// we start by binding the toggle and remove events.
39
+ columns.find('.ac-column').each(function(i,col){$(col).column_bind_toggle();$(col).column_bind_remove();$(col).column_bind_clone();$(col).cpac_bind_indicator_events();$(col).column_onload()});// ordering of columns
40
+ columns.cpac_bind_ordering()}// hook for addons
41
+ $(document).trigger('cac_menu_change',columns);// deprecated
42
+ $(document).trigger('cac_model_ready',container.data('type'))}/*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  * Menu
44
  *
45
  * @since 1.5
46
+ */function cpac_menu($){$('#ac_list_screen').on('change',function(){$('.view-link').hide();$(this).parents('form').submit();$(this).prop('disabled',true).next('.spinner').css('display','inline-block')})}/*
 
 
 
 
 
 
 
 
 
 
47
  * Reset columns
48
  *
49
  * @since 3.0.3
50
+ */function cpac_reset_columns($){var $container=$('.ac-admin');$('a[data-clear-columns]').on('click',function(){$container.find('.ac-column').each(function(){$(this).find('.remove-button').trigger('click')})})}/*
 
 
 
 
 
 
 
 
 
 
 
51
  * jQuery functions
52
  *
53
  * @since 2.0
54
+ */(function($){/*
 
 
 
55
  * Column: bind toggle events
56
  *
57
  * For performance we bind all other events after the click event.
58
  *
59
  * @since 2.0
60
+ */$.fn.column_bind_toggle=function(){var $column=$(this);var is_disabled=$column.closest('.ac-boxes').hasClass('disabled');$column.find('[data-toggle="column"]').click(function(e){e.preventDefault();$column.toggleClass('opened').find('.ac-column-body').slideToggle(150);if(is_disabled){return}if(!$column.hasClass('events-binded')){$column.column_bind_events()}$column.addClass('events-binded');// hook for addons
61
+ $(document).trigger('column_init',$column)}).css('cursor','pointer')};/*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  * Column: bind remove events
63
  *
64
  * @since 2.0
65
+ */$.fn.column_bind_remove=function(){$(this).find('.remove-button').click(function(e){$(this).closest('.ac-column').column_remove();e.preventDefault()})};/**
 
 
 
 
 
 
 
 
 
66
  * Column: bind clone events
67
  *
68
  * @since 2.3.4
69
+ */$.fn.column_bind_clone=function(){$(this).find('.clone-button').click(function(e){e.preventDefault();var $clone=$(this).closest('.ac-column').column_clone();if(typeof $clone!=='undefined'){$clone.removeClass('loading').hide().slideDown()}})};$.fn.cpac_column_refresh=function(){var el=$(this);var select=el.find('[data-refresh="column"]');var column_name=$(this).attr('data-column-name');var opened=el.hasClass('opened');// Allow plugins to hook into this event
70
+ $(document).trigger('pre_column_refresh',el);var data=$(this).find(':input').serializeArray();var request_data={action:'ac_column_refresh',_ajax_nonce:AC._ajax_nonce,list_screen:AC.list_screen,layout:AC.layout,column_name:column_name,original_columns:AC.original_columns};$.each(request_data,function(name,value){data.push({name:name,value:value})});// Mark column as loading
71
+ el.addClass('loading');select.prop('disabled',1);// Fetch new form HTML
72
+ var xhr=$.post(ajaxurl,data,function(response){if(response){// Replace current form by new form
73
+ var newel=$('<div>'+response.data+'</div>').children();el.replaceWith(newel);el=newel;// Bind events
74
+ el.column_bind_toggle();el.column_bind_remove();el.column_bind_clone();el.column_bind_events();// Open settings
75
+ if(opened){el.addClass('opened').find('.ac-column-body').show()}// Allow plugins to hook into this event
76
+ // TODO: change to column_refresh?
77
+ $(document).trigger('column_change',el)}// Do nothing
78
+ else{}},'json');xhr.fail(function(error){var $msg=el.closest('.ac-admin').find('.ajax-message');$msg.addClass('error').find('p').html(AC.i18n.error);$msg.slideDown();el.slideUp(function(){el.remove()});console.log('responseText: '+error.responseText)});xhr.always(function(){// Remove "loading" marking from column
79
+ el.removeClass('loading');select.prop('disabled',false)})};$.fn.column_onload=function(){var column=$(this);/** When an label contains an icon or span, the displayed label can appear empty. In this case we show the "type" label. */var column_label=column.find('.column_label .toggle');if($.trim(column_label.html())&&column_label.width()<1){column_label.html(column.find('.column_type .inner').html())}};/*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  * Form Events
81
  *
82
  * @since 2.0
83
+ */$.fn.column_bind_events=function(){var column=$(this);var container=column.closest('.ac-admin ');column.column_onload();// Current column type
84
+ var default_value=column.find('select.ac-setting-input_type option:selected').val();// Type selector
85
+ column.find('select.ac-setting-input_type').change(function(){var option=$('optgroup',this).children(':selected');var type=option.val();var msg=$(this).next('.msg').hide();var $select=$(this);var current_original_columns=[];container.find('.ac-column[data-original=1]').each(function(){current_original_columns.push($(this).data('type'))});column.addClass('loading');$.ajax({url:ajaxurl,method:'post',dataType:'json',data:{action:'ac_column_select',type:type,current_original_columns:current_original_columns,original_columns:AC.original_columns,list_screen:AC.list_screen,layout:AC.layout,_ajax_nonce:AC._ajax_nonce}}).done(function(response){if(response){if(response.success){var el=column.closest('.ac-column');// Replace current form by new form
86
+ var newel=$('<div>'+response.data+'</div>').children();el.replaceWith(newel);el=newel;// Bind events
87
+ el.column_bind_toggle();el.column_bind_remove();el.column_bind_clone();el.column_bind_events();// Open settings
88
+ el.addClass('opened').find('.ac-column-body').show();el.cpac_update_clone_id();// Allow plugins to hook into this event
89
+ $(document).trigger('column_change',el)}// Error message
90
+ else if(response.data){if('message'===response.data.type){msg.html(response.data.error).show();// Set to default
91
+ $select.find('option').removeAttr('selected');$select.find('option[value="'+default_value+'"]').attr('selected','selected')}}}}).always(function(){column.removeClass('loading')})});/** change label */column.find('.ac-column-setting--label input').bind('keyup change',function(){var value=$(this).val();$(this).closest('.ac-column').find('td.column_label .inner > a.toggle').html(value)});/** tooltip */column.find('.ac-column-body .col-label .label').hover(function(){$(this).parents('.col-label').find('div.tooltip').show()},function(){$(this).parents('.col-label').find('div.tooltip').hide()});/**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  * Populates the main Label with the selected label from the dropdown,
93
+ */column.find('select[data-label="update"]').change(function(){var $label=column.find('input.ac-setting-input_label');var field_label=$(this).find('option:selected').text();// Set new label
94
+ $label.val(field_label);$label.trigger('change')});// refresh column and re-bind all events
95
+ column.find('[data-refresh="column"]').change(function(){column.cpac_column_refresh()});$(document).trigger('init_settings',column)};$.fn.column_bind_settings=function(){var $column=$(this);$column.find('.ac-column-setting--image_size').cpac_column_setting_image_size();$column.find('.ac-column-setting--width').cpac_column_setting_width()};/*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  * Column: remove from DOM
97
  *
98
  * @since 2.0
99
+ */$.fn.column_remove=function(){$(this).addClass('deleting').animate({opacity:0,height:0},350,function(){$(this).remove()})};/*
 
 
 
 
 
 
 
100
  * Column: clone
101
  *
102
  * @since 2.3.4
103
+ */$.fn.column_clone=function(){var column=$(this);var columns=$(this).closest('ac-columns');if('1'===column.attr('data-original')){var message=AC.i18n.clone.replace('%s','<strong>'+column.find('.column_label .toggle').text()+'</strong>');column.addClass('opened').find('.ac-column-body').slideDown(150);column.find('.ac-setting-input_type').next('.msg').html(message).show();return}var clone=$(this).clone();clone.cpac_update_clone_id();$(this).after(clone);// rebind events
104
+ clone.column_bind_toggle();clone.column_bind_remove();clone.column_bind_clone();// rebind all other events
105
+ clone.column_bind_events();// reinitialize sortability
106
+ columns.cpac_bind_ordering();// hook for addons
107
+ $(document).trigger('column_add',clone);return clone};/*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  * Update clone ID
109
  *
110
  * @since 2.0
111
+ */$.fn.cpac_update_clone_id=function(){var $el=$(this);var original_column_name=$el.attr('data-column-name');var temp_column_name='_new_column_'+incremental_column_name;// update input names with clone ID
112
+ var inputs=$el.find('input, select, label');$(inputs).each(function(i,v){// name
113
+ if($(v).attr('name')){$(v).attr('name',$(v).attr('name').replace('columns['+original_column_name+']','columns['+temp_column_name+']'))}// id
114
+ if($(v).attr('id')){$(v).attr('id',$(v).attr('id').replace('-'+original_column_name+'-','-'+temp_column_name+'-'))}// TODO for
115
+ });$el.attr('data-column-name',temp_column_name);// increment
116
+ incremental_column_name++};/*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  * Bind events: triggered after column is init, changed or added
118
  *
119
+ */$(document).bind('column_init column_change column_add',function(e,column){var is_disabled=$(column).closest('.ac-boxes').hasClass('disabled');if(is_disabled){return}$(column).cpac_bind_column_addon_events();$(column).cpac_bind_indicator_events()});/*
 
 
 
 
 
 
 
 
 
 
 
 
120
  * Optional Radio Click events
121
  *
122
+ */$.fn.cpac_bind_column_addon_events=function(){var column=$(this);var inputs=column.find('[data-trigger] label');inputs.on('click',function(){var id=$(this).closest('td.input').data('trigger');var state=$('input',this).val();// Toggle indicator icon
123
+ var label=column.find('[data-indicator-id="'+id+'"]').removeClass('on');if('on'==state){label.addClass('on')}// Toggle additional options
124
+ var additional=column.find('[data-handle="'+id+'"]').addClass('hide');if('on'==state){additional.removeClass('hide')}});// On load
125
+ column.find('[data-trigger]').each(function(){var trigger=$(this).data('trigger');// Hide additional column settings
126
+ var additional=column.find('[data-handle="'+trigger+'"]').addClass('hide');if('on'==$('input:checked',this).val()){additional.removeClass('hide')}})};/*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  * Indicator Click Events
128
  *
129
+ */$.fn.cpac_bind_indicator_events=function(){var $column=$(this);var $indicators=$column.find('.ac-column-header [data-indicator-toggle]');$indicators.each(function(){var $indicator=$(this);var setting=$(this).data('setting');var $setting=$column.find('.ac-column-setting[data-setting='+setting+']');var $input=$setting.find('.col-input:first .ac-setting-input:first input[type=radio]');$indicator.unbind('click').on('click',function(e){e.preventDefault();$indicator.toggleClass('on');if($(this).hasClass('on')){$input.filter('[value=on]').prop('checked',true).trigger('click').trigger('change')}else{$input.filter('[value=off]').prop('checked',true).trigger('click').trigger('change')}});$input.on('change',function(){var value=$input.filter(':checked').val();if('on'==value){$indicator.addClass('on')}else{$indicator.removeClass('on')}})})};/*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  * Sortable
131
  *
132
  * @since 1.5
133
+ */$.fn.cpac_bind_ordering=function(){$(this).each(function(){if($(this).hasClass('ui-sortable')){$(this).sortable('refresh')}else{$(this).sortable({items:'.ac-column',handle:'.column_sort'})}})};// Settings fields: Image _size
134
+ $.fn.cpac_column_setting_image_size=function(){function initState($setting,$select){if('cpac-custom'==$select.val()){$setting.find('.ac-column-setting').show()}else{$setting.find('.ac-column-setting').hide()}}$(this).each(function(){var $setting=$(this);var $select=$(this).find('.ac-setting-input select');initState($setting,$select);$select.on('change',function(){initState($setting,$(this))})})};$(document).on('init_settings',function(e,column){$(column).find('.ac-column-setting--image').cpac_column_setting_image_size();$(column).find('.ac-column-setting--images').cpac_column_setting_image_size()});// Settings fields: Width
135
+ $.fn.column_width_slider=function(){var column_width=$(this).find('.ac-setting-input-width');var input_width=column_width.find('.description input'),input_unit=column_width.find('.unit-select input'),unit=input_unit.filter(':checked').val(),width=input_width.val(),slider=column_width.find('.width-slider'),indicator=$(this).find('.ac-column-header .ac-column-heading-setting--width');// width
136
+ if('%'==unit&&width>100){width=100}input_width.val(width);slider.slider({range:'min',min:0,max:'%'==unit?100:500,value:width,slide:function slide(event,ui){input_width.val(ui.value);indicator.trigger('update');input_width.trigger('validate')}})};$.fn.cpac_column_setting_width=function(){$(this).each(function(){var $column=$(this).parents('.ac-column');$column.column_width_slider();// indicator
137
+ var $width_indicator=$column.find('.ac-column-header .ac-column-heading-setting--width');$width_indicator.on('update',function(){var _width=$column.find('.ac-setting-input-width .description input').val();var _unit=$column.find('.ac-setting-input-width .description .unit').text();if(_width>0){$(this).text(_width+_unit)}else{$(this).text('')}});// unit selector
138
+ var width_unit_select=$column.find('.ac-setting-input-width .unit-select label');width_unit_select.on('click',function(){$column.find('span.unit').text($(this).find('input').val());$column.column_width_slider();// re-init slider
139
+ $width_indicator.trigger('update');// update indicator
140
+ });// width_input
141
+ var width_input=$column.find('.ac-setting-input-width .description input').on('keyup',function(){$column.column_width_slider();// re-init slider
142
+ $(this).trigger('validate');// validate input
143
+ $width_indicator.trigger('update');// update indicator
144
+ })// width_input:validate
145
+ .on('validate',function(){var _width=width_input.val();var _new_width=$.trim(_width);if(!$.isNumeric(_new_width)){_new_width=_new_width.replace(/\D/g,'')}if(_new_width.length>3){_new_width=_new_width.substring(0,3)}if(_new_width<=0){_new_width=''}if(_new_width!==_width){width_input.val(_new_width)}})})};$.fn.cpac_column_sub_setting_toggle=function(options){var settings=$.extend({value_show:'on',subfield:'.ac-column-setting'},options);function initState($setting,$input){var value=$input.filter(':checked').val();var $subfields=$setting.find(settings.subfield);if(settings.value_show==value){$subfields.show()}else{$subfields.hide()}}$(this).each(function(){var $setting=$(this);var $input=$(this).find('.ac-setting-input input[type="radio"]');initState($setting,$input);$input.on('change',function(){initState($setting,$input)})})};$.fn.cpac_column_setting_date=function(){$(this).each(function(){var $container=$(this);// Custom input
146
+ var $radio_custom=$container.find('input.custom');var $input_custom=$container.find('.ac-setting-input-date__custom');var $input_value=$container.find('.ac-setting-input-date__value');var $example_custom=$container.find('.ac-setting-input-date__example');var $selected=$container.find('input[type=radio]:checked');var $help_msg=$container.find('.help-msg');// Click Event
147
+ $container.find('input[type=radio]').on('change',function(){var $input=$(this);var $input_container=$input.closest('label');var date_format=$input_container.find('code').text();var description=$input_container.find('.ac-setting-input-date__more').html();if(date_format){$input_custom.val(date_format).trigger('change')}if($input.hasClass('diff')){$input_custom.val('');$example_custom.text('')}$input_custom.prop('disabled',true);// Custom input selected
148
+ if($input.hasClass('custom')){$input.val($input_custom.val());$input_custom.prop('disabled',false);$help_msg.show()}// Show more description
149
+ $help_msg.hide();if(description){$help_msg.html(description).show()}$input_value.val($input.val())});// Custom input
150
+ $input_custom.on('change',function(){$example_custom.html('<span class="spinner is-active"></span>');$radio_custom.val($input_custom.val());var $custom_value=$(this).val();if(!$custom_value){$example_custom.text('');return}$.ajax({url:ajaxurl,method:'post',data:{action:'date_format',date:$custom_value}}).done(function(date){$example_custom.text(date)});$input_value.val($custom_value)});// Update date example box
151
+ $selected.trigger('change');// Select custom input as a default
152
+ if(0===$selected.length){$radio_custom.trigger('click')}})};$(document).on('init_settings',function(e,column){$(column).find('.ac-column-setting--width').cpac_column_setting_width();$(column).find('.ac-column-setting--date').cpac_column_setting_date();// TODO: pro?
153
+ $(column).find('.ac-column-setting--filter').cpac_column_sub_setting_toggle();$(column).find('.ac-column-setting--sort').cpac_column_sub_setting_toggle();$(column).find('.ac-column-setting--edit').cpac_column_sub_setting_toggle()})})(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/admin-page-columns.min.js DELETED
@@ -1 +0,0 @@
1
- function ac_show_ajax_message(n,e){var t=jQuery('<div class="ac-message hidden '+e+'"><p>'+n+"</p></div>");jQuery(".ac-boxes").before(t),t.slideDown()}function cpac_submit_form(n){var e=n(".sidebox a.submit, .column-footer a.submit");e.click(function(){var t=n(this),i=t.closest(".ac-admin").addClass("saving"),a=i.find(".ac-columns form").serialize();e.attr("disabled","disabled"),i.find(".ac-message").remove();var c=n.post(ajaxurl,{action:"ac_columns_save",data:a,_ajax_nonce:AC._ajax_nonce,list_screen:AC.list_screen,layout:AC.layout,original_columns:AC.original_columns},function(n){n&&(n.success?(ac_show_ajax_message(n.data,"updated"),i.addClass("stored")):n.data&&ac_show_ajax_message(n.data.message,"notice notice-warning"))},"json");c.fail(function(n){}),c.always(function(){e.removeAttr("disabled","disabled"),i.removeClass("saving")}),n(document).trigger("cac_update",i)})}function cpac_add_column(n){n(".add_column").click(function(e){e.preventDefault();var t=n("#add-new-column-template").find(".ac-column").clone();t.cpac_update_clone_id(),t.addClass("opened").find(".ac-column-body").slideDown(150,function(){n("html, body").animate({scrollTop:t.offset().top-58},300)}),n(".ac-columns form").append(t),t.column_bind_toggle(),t.column_bind_remove(),t.column_bind_clone(),t.column_bind_events(),n(document).trigger("column_add",t)})}function cpac_sidebar_feedback(n){var e=n(".sidebox#direct-feedback");e.find("#feedback-choice a.no").click(function(n){n.preventDefault(),e.find("#feedback-choice").slideUp(),e.find("#feedback-support").slideDown()}),e.find("#feedback-choice a.yes").click(function(n){n.preventDefault(),e.find("#feedback-choice").slideUp(),e.find("#feedback-rate").slideDown()})}function cpac_init(n){var e=n(".ac-admin"),t=e.find(".ac-boxes");if(t.hasClass("disabled"))t.find(".ac-column").each(function(e,t){n(t).column_bind_toggle(),n(t).find("input, select").prop("disabled",!0)});else{var i=t.find(".ac-columns");i.find(".ac-column").each(function(e,t){n(t).column_bind_toggle(),n(t).column_bind_remove(),n(t).column_bind_clone(),n(t).cpac_bind_indicator_events(),n(t).column_onload()}),i.cpac_bind_ordering()}n(document).trigger("cac_menu_change",i),n(document).trigger("cac_model_ready",e.data("type"))}function cpac_menu(n){n("#ac_list_screen").on("change",function(){n(".view-link").hide(),n(this).parents("form").submit(),n(this).prop("disabled",!0).next(".spinner").css("display","inline-block")})}function cpac_reset_columns(n){var e=n(".ac-admin");n("a[data-clear-columns]").on("click",function(){e.find(".ac-column").each(function(){n(this).find(".remove-button").trigger("click")})})}var AC,incremental_column_name=0;jQuery(document).ready(function(n){if(0===n("#cpac").length)return!1;cpac_init(n),cpac_submit_form(n),cpac_reset_columns(n),cpac_menu(n),cpac_add_column(n),cpac_sidebar_feedback(n)}),function(n){n.fn.column_bind_toggle=function(){var e=n(this),t=e.closest(".ac-boxes").hasClass("disabled");e.find('[data-toggle="column"]').click(function(i){i.preventDefault(),e.toggleClass("opened").find(".ac-column-body").slideToggle(150),t||(e.hasClass("events-binded")||e.column_bind_events(),e.addClass("events-binded"),n(document).trigger("column_init",e))}).css("cursor","pointer")},n.fn.column_bind_remove=function(){n(this).find(".remove-button").click(function(e){n(this).closest(".ac-column").column_remove(),e.preventDefault()})},n.fn.column_bind_clone=function(){n(this).find(".clone-button").click(function(e){e.preventDefault();var t=n(this).closest(".ac-column").column_clone();void 0!==t&&t.removeClass("loading").hide().slideDown()})},n.fn.cpac_column_refresh=function(){var e=n(this),t=e.find('[data-refresh="column"]'),i=n(this).attr("data-column-name"),a=e.hasClass("opened");n(document).trigger("pre_column_refresh",e);var c=n(this).find(":input").serializeArray(),o={action:"ac_column_refresh",_ajax_nonce:AC._ajax_nonce,list_screen:AC.list_screen,layout:AC.layout,column_name:i,original_columns:AC.original_columns};n.each(o,function(n,e){c.push({name:n,value:e})}),e.addClass("loading"),t.prop("disabled",1);var l=n.post(ajaxurl,c,function(t){if(t){var i=n("<div>"+t.data+"</div>").children();e.replaceWith(i),e=i,e.column_bind_toggle(),e.column_bind_remove(),e.column_bind_clone(),e.column_bind_events(),a&&e.addClass("opened").find(".ac-column-body").show(),n(document).trigger("column_change",e)}},"json");l.fail(function(n){var t=e.closest(".ac-admin").find(".ajax-message");t.addClass("error").find("p").html(AC.i18n.error),t.slideDown(),e.slideUp(function(){e.remove()}),console.log("responseText: "+n.responseText)}),l.always(function(){e.removeClass("loading"),t.prop("disabled",!1)})},n.fn.column_onload=function(){var e=n(this),t=e.find(".column_label .toggle");n.trim(t.html())&&t.width()<1&&t.html(e.find(".column_type .inner").html())},n.fn.column_bind_events=function(){var e=n(this),t=e.closest(".ac-admin ");e.column_onload();var i=e.find("select.ac-setting-input_type option:selected").val();e.find("select.ac-setting-input_type").change(function(){var a=n("optgroup",this).children(":selected"),c=a.val(),o=n(this).next(".msg").hide(),l=n(this),s=[];t.find(".ac-column[data-original=1]").each(function(){s.push(n(this).data("type"))}),e.addClass("loading"),n.ajax({url:ajaxurl,method:"post",dataType:"json",data:{action:"ac_column_select",type:c,current_original_columns:s,original_columns:AC.original_columns,list_screen:AC.list_screen,layout:AC.layout,_ajax_nonce:AC._ajax_nonce}}).done(function(t){if(t)if(t.success){var a=e.closest(".ac-column"),c=n("<div>"+t.data+"</div>").children();a.replaceWith(c),a=c,a.column_bind_toggle(),a.column_bind_remove(),a.column_bind_clone(),a.column_bind_events(),a.addClass("opened").find(".ac-column-body").show(),a.cpac_update_clone_id(),n(document).trigger("column_change",a)}else t.data&&"message"===t.data.type&&(o.html(t.data.error).show(),l.find("option").removeAttr("selected"),l.find('option[value="'+i+'"]').attr("selected","selected"))}).always(function(){e.removeClass("loading")})}),e.find(".ac-column-setting--label input").bind("keyup change",function(){var e=n(this).val();n(this).closest(".ac-column").find("td.column_label .inner > a.toggle").html(e)}),e.find(".ac-column-body .col-label .label").hover(function(){n(this).parents(".col-label").find("div.tooltip").show()},function(){n(this).parents(".col-label").find("div.tooltip").hide()}),e.find('select[data-label="update"]').change(function(){var t=e.find("input.ac-setting-input_label"),i=n(this).find("option:selected").text();t.val(i),t.trigger("change")}),e.find('[data-refresh="column"]').change(function(){e.cpac_column_refresh()}),n(document).trigger("init_settings",e)},n.fn.column_bind_settings=function(){var e=n(this);e.find(".ac-column-setting--image_size").cpac_column_setting_image_size(),e.find(".ac-column-setting--width").cpac_column_setting_width()},n.fn.column_remove=function(){n(this).addClass("deleting").animate({opacity:0,height:0},350,function(){n(this).remove()})},n.fn.column_clone=function(){var e=n(this),t=n(this).closest("ac-columns");if("1"===e.attr("data-original")){var i=AC.i18n.clone.replace("%s","<strong>"+e.find(".column_label .toggle").text()+"</strong>");return e.addClass("opened").find(".ac-column-body").slideDown(150),void e.find(".ac-setting-input_type").next(".msg").html(i).show()}var a=n(this).clone();return a.cpac_update_clone_id(),n(this).after(a),a.column_bind_toggle(),a.column_bind_remove(),a.column_bind_clone(),a.column_bind_events(),t.cpac_bind_ordering(),n(document).trigger("column_add",a),a},n.fn.cpac_update_clone_id=function(){var e=n(this),t=e.attr("data-column-name"),i="_new_column_"+incremental_column_name,a=e.find("input, select, label");n(a).each(function(e,a){n(a).attr("name")&&n(a).attr("name",n(a).attr("name").replace("columns["+t+"]","columns["+i+"]")),n(a).attr("id")&&n(a).attr("id",n(a).attr("id").replace("-"+t+"-","-"+i+"-"))}),e.attr("data-column-name",i),incremental_column_name++},n(document).bind("column_init column_change column_add",function(e,t){n(t).closest(".ac-boxes").hasClass("disabled")||(n(t).cpac_bind_column_addon_events(),n(t).cpac_bind_indicator_events())}),n.fn.cpac_bind_column_addon_events=function(){var e=n(this);e.find("[data-trigger] label").on("click",function(){var t=n(this).closest("td.input").data("trigger"),i=n("input",this).val(),a=e.find('[data-indicator-id="'+t+'"]').removeClass("on");"on"==i&&a.addClass("on");var c=e.find('[data-handle="'+t+'"]').addClass("hide");"on"==i&&c.removeClass("hide")}),e.find("[data-trigger]").each(function(){var t=n(this).data("trigger"),i=e.find('[data-handle="'+t+'"]').addClass("hide");"on"==n("input:checked",this).val()&&i.removeClass("hide")})},n.fn.cpac_bind_indicator_events=function(){var e=n(this);e.find(".ac-column-header [data-indicator-toggle]").each(function(){var t=n(this),i=n(this).data("setting"),a=e.find(".ac-column-setting[data-setting="+i+"]"),c=a.find(".col-input:first .ac-setting-input:first input[type=radio]");t.unbind("click").on("click",function(e){e.preventDefault(),t.toggleClass("on"),n(this).hasClass("on")?c.filter("[value=on]").prop("checked",!0).trigger("click").trigger("change"):c.filter("[value=off]").prop("checked",!0).trigger("click").trigger("change")}),c.on("change",function(){"on"==c.filter(":checked").val()?t.addClass("on"):t.removeClass("on")})})},n.fn.cpac_bind_ordering=function(){n(this).each(function(){n(this).hasClass("ui-sortable")?n(this).sortable("refresh"):n(this).sortable({items:".ac-column",handle:".column_sort"})})},n.fn.cpac_column_setting_image_size=function(){function e(n,e){"cpac-custom"==e.val()?n.find(".ac-column-setting").show():n.find(".ac-column-setting").hide()}n(this).each(function(){var t=n(this),i=n(this).find(".ac-setting-input select");e(t,i),i.on("change",function(){e(t,n(this))})})},n(document).on("init_settings",function(e,t){n(t).find(".ac-column-setting--image").cpac_column_setting_image_size(),n(t).find(".ac-column-setting--images").cpac_column_setting_image_size()}),n.fn.column_width_slider=function(){var e=n(this).find(".ac-setting-input-width"),t=e.find(".description input"),i=e.find(".unit-select input"),a=i.filter(":checked").val(),c=t.val(),o=e.find(".width-slider"),l=n(this).find(".ac-column-header .ac-column-heading-setting--width");"%"==a&&c>100&&(c=100),t.val(c),o.slider({range:"min",min:0,max:"%"==a?100:500,value:c,slide:function(n,e){t.val(e.value),l.trigger("update"),t.trigger("validate")}})},n.fn.cpac_column_setting_width=function(){n(this).each(function(){var e=n(this).parents(".ac-column");e.column_width_slider();var t=e.find(".ac-column-header .ac-column-heading-setting--width");t.on("update",function(){var t=e.find(".ac-setting-input-width .description input").val(),i=e.find(".ac-setting-input-width .description .unit").text();t>0?n(this).text(t+i):n(this).text("")}),e.find(".ac-setting-input-width .unit-select label").on("click",function(){e.find("span.unit").text(n(this).find("input").val()),e.column_width_slider(),t.trigger("update")});var i=e.find(".ac-setting-input-width .description input").on("keyup",function(){e.column_width_slider(),n(this).trigger("validate"),t.trigger("update")}).on("validate",function(){var e=i.val(),t=n.trim(e);n.isNumeric(t)||(t=t.replace(/\D/g,"")),t.length>3&&(t=t.substring(0,3)),t<=0&&(t=""),t!==e&&i.val(t)})})},n.fn.cpac_column_sub_setting_toggle=function(e){function t(n,e){var t=e.filter(":checked").val(),a=n.find(i.subfield);i.value_show==t?a.show():a.hide()}var i=n.extend({value_show:"on",subfield:".ac-column-setting"},e);n(this).each(function(){var e=n(this),i=n(this).find('.ac-setting-input input[type="radio"]');t(e,i),i.on("change",function(){t(e,i)})})},n.fn.cpac_column_setting_date=function(){n(this).each(function(){var e=n(this),t=e.find("input.custom"),i=e.find(".ac-setting-input-date__custom"),a=e.find(".ac-setting-input-date__value"),c=e.find(".ac-setting-input-date__example"),o=e.find("input[type=radio]:checked"),l=e.find(".help-msg");e.find("input[type=radio]").on("change",function(){var e=n(this),t=e.closest("label"),o=t.find("code").text(),s=t.find(".ac-setting-input-date__more").html();o&&i.val(o).trigger("change"),e.hasClass("diff")&&(i.val(""),c.text("")),i.prop("disabled",!0),e.hasClass("custom")&&(e.val(i.val()),i.prop("disabled",!1),l.show()),l.hide(),s&&l.html(s).show(),a.val(e.val())}),i.on("change",function(){c.html('<span class="spinner is-active"></span>'),t.val(i.val());var e=n(this).val();if(!e)return void c.text("");n.ajax({url:ajaxurl,method:"post",data:{action:"date_format",date:e}}).done(function(n){c.text(n)}),a.val(e)}),o.trigger("change"),0===o.length&&t.trigger("click")})},n(document).on("init_settings",function(e,t){n(t).find(".ac-column-setting--width").cpac_column_setting_width(),n(t).find(".ac-column-setting--date").cpac_column_setting_date(),n(t).find(".ac-column-setting--filter").cpac_column_sub_setting_toggle(),n(t).find(".ac-column-setting--sort").cpac_column_sub_setting_toggle(),n(t).find(".ac-column-setting--edit").cpac_column_sub_setting_toggle()})}(jQuery);
 
assets/js/message.js CHANGED
@@ -1,26 +1,2 @@
1
- // CPAC Notices
2
- jQuery( function( $ ) {
3
- $( document ).ready( function() {
4
-
5
- $( '.updated a.hide-install-addons-notice' ).click( function( e ) {
6
- e.preventDefault();
7
-
8
- var el = $( this ).parents( '.ac-message' );
9
- var el_close = el.find( '.hide-notice' );
10
-
11
- el_close.hide();
12
- el_close.after( '<div class="spinner right"></div>' );
13
- el.find( '.spinner' ).show();
14
-
15
- $.post( ajaxurl, {
16
- 'action' : 'cpac_hide_install_addons_notice'
17
- }, function() {
18
- el.find( '.spinner' ).remove();
19
- el.slideUp();
20
- } );
21
-
22
- return false;
23
- } );
24
- } );
25
-
26
- } );
1
+ 'use strict';// CPAC Notices
2
+ jQuery(function($){$(document).ready(function(){$('.updated a.hide-install-addons-notice').click(function(e){e.preventDefault();var el=$(this).parents('.ac-message');var el_close=el.find('.hide-notice');el_close.hide();el_close.after('<div class="spinner right"></div>');el.find('.spinner').show();$.post(ajaxurl,{'action':'cpac_hide_install_addons_notice'},function(){el.find('.spinner').remove();el.slideUp()});return false})})});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/message.min.js DELETED
@@ -1 +0,0 @@
1
- jQuery(function(n){n(document).ready(function(){n(".updated a.hide-install-addons-notice").click(function(i){i.preventDefault();var e=n(this).parents(".ac-message"),t=e.find(".hide-notice");return t.hide(),t.after('<div class="spinner right"></div>'),e.find(".spinner").show(),n.post(ajaxurl,{action:"cpac_hide_install_addons_notice"},function(){e.find(".spinner").remove(),e.slideUp()}),!1})})});
 
assets/js/table.js CHANGED
@@ -1,181 +1,11 @@
1
- jQuery( document ).ready( function( $ ) {
2
- ac_quickedit_events( $ );
3
- ac_set_column_classes( $ );
4
- ac_actions_column( $, $( '.column-actions' ) );
5
- ac_tooltips( $ );
6
- ac_show_more( $ );
7
- ac_edit_button( $ );
8
- ac_toggle_box( $ );
9
- ac_toggle_box_ajax_init( $ );
10
- ac_actions_tooltips( $ );
11
-
12
- $( '.wp-list-table' ).on( 'updated', 'tr', function() {
13
- ac_set_column_classes( $ );
14
- ac_actions_column( $, $( this ).find( '.column-actions' ) );
15
- ac_show_more( $ );
16
- } );
17
- } );
18
-
19
- function ac_actions_tooltips( $ ) {
20
- $( '.row-actions a' ).qtip( {
21
- content : {
22
- text : function() {
23
- return $( this ).text();
24
- }
25
- },
26
- position : {
27
- my : 'top center',
28
- at : 'bottom center'
29
- },
30
- style : {
31
- tip : true,
32
- classes : 'qtip-tipsy'
33
- }
34
- } );
35
- }
36
-
37
- function ac_edit_button( $ ) {
38
- if ( AC.edit_link ) {
39
- $( '.tablenav.top .actions:last' ).append( '<a class="ac-button add-new-h2 ac-button-edit" href="' + AC.edit_link + '">' + AC.i18n.edit_columns + '</a>' );
40
- }
41
- }
42
-
43
- function ac_toggle_box( $ ) {
44
- $( '.ac-toggle-box-link' ).click( function( e ) {
45
- e.preventDefault();
46
- $( this ).next( '.ac-toggle-box-contents' ).toggle();
47
- } );
48
- }
49
-
50
- function ac_toggle_box_ajax_init( $ ) {
51
-
52
- /**
53
  * Toggle box
54
- */
55
- var do_toggle_value = function( e ) {
56
- e.preventDefault();
57
-
58
- $( this ).next( '.ac-toggle-box-contents-ajax' ).toggle();
59
- };
60
-
61
- /**
62
  * Retrieves the contents from the column through ajax
63
- */
64
- var do_retrieve_ajax_value = function( e ) {
65
- e.preventDefault();
66
-
67
- var $this = $( this );
68
-
69
- var data = {
70
- action : 'ac_get_column_value',
71
- list_screen : AC.list_screen,
72
- layout : AC.layout,
73
- column : $this.data( 'column' ),
74
- pk : $this.attr( 'data-item-id' ),
75
- _ajax_nonce : AC.ajax_nonce
76
- };
77
-
78
- $this.addClass( 'loading' );
79
-
80
- var xhr = $.post( ajaxurl, data, function( response ) {
81
- if ( response ) {
82
- $this.after( '<div class="ac-toggle-box-contents-ajax">' + response + '</div>' );
83
-
84
- // We only need to run the ajax request once. Unbind the event, and replace with a Toggle Box.
85
- $this.unbind( 'click', do_retrieve_ajax_value ).bind( 'click', do_toggle_value );
86
-
87
- // Added hook on Table Cell
88
- $( $this.parent( 'td' ) ).trigger( 'ajax_column_value_ready' );
89
-
90
- // Re-init tooltips
91
- ac_tooltips( $ );
92
- }
93
- } );
94
-
95
- xhr.always( function() {
96
- $this.removeClass( 'loading' );
97
- } );
98
- };
99
-
100
- // Click event
101
- $( 'a[data-ajax-populate=1]' ).bind( 'click', do_retrieve_ajax_value );
102
- }
103
-
104
- function ac_show_more( $ ) {
105
- $( '.ac-more-link-show' ).click( function( e ) {
106
- e.preventDefault();
107
- var td = $( this ).hide().closest( 'td' );
108
-
109
- td.find( '.ac-show-more-block' ).show();
110
-
111
- } );
112
- $( '.ac-more-link-hide' ).click( function( e ) {
113
- e.preventDefault();
114
- var td = $( this ).closest( 'td' );
115
-
116
- td.find( '.ac-more-link-show' ).show();
117
- td.find( '.ac-show-more-block' ).hide();
118
- } );
119
- }
120
-
121
- function ac_actions_column( $, $selector ) {
122
- $( $selector ).each( function() {
123
- var $column = $( this );
124
-
125
- if ( $column.find( '.cpac_use_icons' ).length > 0 ) {
126
- $column.addClass( 'cpac_use_icons' );
127
- }
128
- } );
129
-
130
- $( $selector ).find( '.cpac_use_icons + .hidden + .row-actions > span' ).each( function() {
131
- var $link = $( this ).find( 'a' );
132
- $link.attr( 'data-ac-tip', $link.text() ).addClass( 'ac-tip' );
133
- } );
134
- }
135
-
136
- function ac_set_column_classes( $ ) {
137
- for ( var name in AC.column_types ) {
138
- if ( AC.column_types.hasOwnProperty( name ) ) {
139
- var type = AC.column_types[ name ];
140
-
141
- $( '.wp-list-table td.' + name ).addClass( type );
142
- }
143
- }
144
- }
145
-
146
- /**
147
  * @since 2.2.4
148
- */
149
- function ac_tooltips( $ ) {
150
-
151
- if ( typeof $.fn.qtip === 'undefined' ) {
152
- return;
153
- }
154
-
155
- $( '[data-ac-tip]' ).qtip( {
156
- content : {
157
- attr : 'data-ac-tip'
158
- },
159
- position : {
160
- my : 'top center',
161
- at : 'bottom center'
162
- },
163
- style : {
164
- tip : true,
165
- classes : 'qtip-tipsy'
166
- }
167
- } );
168
- }
169
-
170
- function ac_quickedit_events( $ ) {
171
-
172
- $( document ).ajaxComplete( function( event, request ) {
173
- var $result = $( '<div>' ).append( request.responseText );
174
-
175
- if ( $result.find( 'tr.iedit' ).length === 1 ) {
176
- var id = $result.find( 'tr.iedit' ).attr( 'id' );
177
-
178
- $( 'tr#' + id ).trigger( 'updated' );
179
- }
180
- } );
181
- }
1
+ 'use strict';jQuery(document).ready(function($){ac_quickedit_events($);ac_set_column_classes($);ac_actions_column($,$('.column-actions'));ac_tooltips($);ac_show_more($);ac_edit_button($);ac_toggle_box($);ac_toggle_box_ajax_init($);ac_actions_tooltips($);$('.wp-list-table').on('updated','tr',function(){ac_set_column_classes($);ac_actions_column($,$(this).find('.column-actions'));ac_show_more($)})});function ac_actions_tooltips($){$('.row-actions a').qtip({content:{text:function text(){return $(this).text()}},position:{my:'top center',at:'bottom center'},style:{tip:true,classes:'qtip-tipsy'}})}function ac_edit_button($){if(AC.edit_link){$('.tablenav.top .actions:last').append('<a class="ac-button add-new-h2 ac-button-edit" href="'+AC.edit_link+'">'+AC.i18n.edit_columns+'</a>')}}function ac_toggle_box($){$('.ac-toggle-box-link').click(function(e){e.preventDefault();$(this).next('.ac-toggle-box-contents').toggle()})}function ac_toggle_box_ajax_init($){/**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  * Toggle box
3
+ */var do_toggle_value=function do_toggle_value(e){e.preventDefault();$(this).next('.ac-toggle-box-contents-ajax').toggle()};/**
 
 
 
 
 
 
 
4
  * Retrieves the contents from the column through ajax
5
+ */var do_retrieve_ajax_value=function do_retrieve_ajax_value(e){e.preventDefault();var $this=$(this);var data={action:'ac_get_column_value',list_screen:AC.list_screen,layout:AC.layout,column:$this.data('column'),pk:$this.attr('data-item-id'),_ajax_nonce:AC.ajax_nonce};$this.addClass('loading');var xhr=$.post(ajaxurl,data,function(response){if(response){$this.after('<div class="ac-toggle-box-contents-ajax">'+response+'</div>');// We only need to run the ajax request once. Unbind the event, and replace with a Toggle Box.
6
+ $this.unbind('click',do_retrieve_ajax_value).bind('click',do_toggle_value);// Added hook on Table Cell
7
+ $($this.parent('td')).trigger('ajax_column_value_ready');// Re-init tooltips
8
+ ac_tooltips($)}});xhr.always(function(){$this.removeClass('loading')})};// Click event
9
+ $('a[data-ajax-populate=1]').bind('click',do_retrieve_ajax_value)}function ac_show_more($){$('.ac-more-link-show').click(function(e){e.preventDefault();var td=$(this).hide().closest('td');td.find('.ac-show-more-block').show()});$('.ac-more-link-hide').click(function(e){e.preventDefault();var td=$(this).closest('td');td.find('.ac-more-link-show').show();td.find('.ac-show-more-block').hide()})}function ac_actions_column($,$selector){$($selector).each(function(){var $column=$(this);if($column.find('.cpac_use_icons').length>0){$column.addClass('cpac_use_icons')}});$($selector).find('.cpac_use_icons + .hidden + .row-actions > span').each(function(){var $link=$(this).find('a');$link.attr('data-ac-tip',$link.text()).addClass('ac-tip')})}function ac_set_column_classes($){for(var name in AC.column_types){if(AC.column_types.hasOwnProperty(name)){var type=AC.column_types[name];$('.wp-list-table td.'+name).addClass(type)}}}/**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  * @since 2.2.4
11
+ */function ac_tooltips($){if(typeof $.fn.qtip==='undefined'){return}$('[data-ac-tip]').qtip({content:{attr:'data-ac-tip'},position:{my:'top center',at:'bottom center'},style:{tip:true,classes:'qtip-tipsy'}})}function ac_quickedit_events($){$(document).ajaxComplete(function(event,request){var $result=$('<div>').append(request.responseText);if($result.find('tr.iedit').length===1){var id=$result.find('tr.iedit').attr('id');$('tr#'+id).trigger('updated')}})}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/table.min.js DELETED
@@ -1 +0,0 @@
1
- function ac_actions_tooltips(t){t(".row-actions a").qtip({content:{text:function(){return t(this).text()}},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}})}function ac_edit_button(t){AC.edit_link&&t(".tablenav.top .actions:last").append('<a class="ac-button add-new-h2 ac-button-edit" href="'+AC.edit_link+'">'+AC.i18n.edit_columns+"</a>")}function ac_toggle_box(t){t(".ac-toggle-box-link").click(function(a){a.preventDefault(),t(this).next(".ac-toggle-box-contents").toggle()})}function ac_toggle_box_ajax_init(t){var a=function(a){a.preventDefault(),t(this).next(".ac-toggle-box-contents-ajax").toggle()},n=function(o){o.preventDefault();var c=t(this),i={action:"ac_get_column_value",list_screen:AC.list_screen,layout:AC.layout,column:c.data("column"),pk:c.attr("data-item-id"),_ajax_nonce:AC.ajax_nonce};c.addClass("loading"),t.post(ajaxurl,i,function(o){o&&(c.after('<div class="ac-toggle-box-contents-ajax">'+o+"</div>"),c.unbind("click",n).bind("click",a),t(c.parent("td")).trigger("ajax_column_value_ready"),ac_tooltips(t))}).always(function(){c.removeClass("loading")})};t("a[data-ajax-populate=1]").bind("click",n)}function ac_show_more(t){t(".ac-more-link-show").click(function(a){a.preventDefault(),t(this).hide().closest("td").find(".ac-show-more-block").show()}),t(".ac-more-link-hide").click(function(a){a.preventDefault();var n=t(this).closest("td");n.find(".ac-more-link-show").show(),n.find(".ac-show-more-block").hide()})}function ac_actions_column(t,a){t(a).each(function(){var a=t(this);a.find(".cpac_use_icons").length>0&&a.addClass("cpac_use_icons")}),t(a).find(".cpac_use_icons + .hidden + .row-actions > span").each(function(){var a=t(this).find("a");a.attr("data-ac-tip",a.text()).addClass("ac-tip")})}function ac_set_column_classes(t){for(var a in AC.column_types)if(AC.column_types.hasOwnProperty(a)){var n=AC.column_types[a];t(".wp-list-table td."+a).addClass(n)}}function ac_tooltips(t){void 0!==t.fn.qtip&&t("[data-ac-tip]").qtip({content:{attr:"data-ac-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}})}function ac_quickedit_events(t){t(document).ajaxComplete(function(a,n){var o=t("<div>").append(n.responseText);if(1===o.find("tr.iedit").length){var c=o.find("tr.iedit").attr("id");t("tr#"+c).trigger("updated")}})}jQuery(document).ready(function(t){ac_quickedit_events(t),ac_set_column_classes(t),ac_actions_column(t,t(".column-actions")),ac_tooltips(t),ac_show_more(t),ac_edit_button(t),ac_toggle_box(t),ac_toggle_box_ajax_init(t),ac_actions_tooltips(t),t(".wp-list-table").on("updated","tr",function(){ac_set_column_classes(t),ac_actions_column(t,t(this).find(".column-actions")),ac_show_more(t)})});
 
assets/js/upgrade.js CHANGED
@@ -1,53 +1,10 @@
1
- /**
2
  * Add Message
3
- */
4
- function add_message( message ) {
5
- jQuery('#wpbody-content').append('<p>' + message + '</p>');
6
- }
7
-
8
- /**
9
  * Run upgrade process
10
  *
11
- */
12
- function run_upgrade( version ) {
13
-
14
- jQuery.ajax({
15
- url: ajaxurl,
16
- data: {
17
- action : 'cpac_upgrade',
18
- version : version
19
- },
20
- type: 'post',
21
- dataType: 'json',
22
- success: function( json ){
23
-
24
- if( json ) {
25
- if( json.status ) {
26
-
27
- add_message( json.message );
28
-
29
- // next update?
30
- if( json.next ) {
31
- run_upgrade( json.next );
32
- }
33
-
34
- // all done
35
- else {
36
- add_message( cpac_upgrade_i18n.complete );
37
- }
38
- }
39
-
40
- // error!
41
- else {
42
- add_message( cpac_upgrade_i18n.error + ': ' + json.message );
43
- }
44
- }
45
-
46
- // major error!
47
- else {
48
-
49
- add_message( cpac_upgrade_i18n.major_error );
50
- }
51
- }
52
- });
53
- };
1
+ 'use strict';/**
2
  * Add Message
3
+ */function add_message(message){jQuery('#wpbody-content').append('<p>'+message+'</p>')}/**
 
 
 
 
 
4
  * Run upgrade process
5
  *
6
+ */function run_upgrade(version){jQuery.ajax({url:ajaxurl,data:{action:'cpac_upgrade',version:version},type:'post',dataType:'json',success:function success(json){if(json){if(json.status){add_message(json.message);// next update?
7
+ if(json.next){run_upgrade(json.next)}// all done
8
+ else{add_message(cpac_upgrade_i18n.complete)}}// error!
9
+ else{add_message(cpac_upgrade_i18n.error+': '+json.message)}}// major error!
10
+ else{add_message(cpac_upgrade_i18n.major_error)}}})};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/upgrade.min.js DELETED
@@ -1 +0,0 @@
1
- function add_message(a){jQuery("#wpbody-content").append("<p>"+a+"</p>")}function run_upgrade(a){jQuery.ajax({url:ajaxurl,data:{action:"cpac_upgrade",version:a},type:"post",dataType:"json",success:function(a){a?a.status?(add_message(a.message),a.next?run_upgrade(a.next):add_message(cpac_upgrade_i18n.complete)):add_message(cpac_upgrade_i18n.error+": "+a.message):add_message(cpac_upgrade_i18n.major_error)}})}
 
classes/Admin.php CHANGED
@@ -62,9 +62,9 @@ class AC_Admin {
62
  return;
63
  }
64
 
65
- wp_enqueue_script( 'ac-admin-general', AC()->get_plugin_url() . "assets/js/admin-general" . AC()->minified() . ".js", array( 'jquery', 'wp-pointer' ), AC()->get_version() );
66
  wp_enqueue_style( 'wp-pointer' );
67
- wp_enqueue_style( 'ac-admin', AC()->get_plugin_url() . "assets/css/admin-general" . AC()->minified() . ".css", array(), AC()->get_version() );
68
 
69
  do_action( 'ac/admin_scripts', $this );
70
  }
62
  return;
63
  }
64
 
65
+ wp_enqueue_script( 'ac-admin-general', AC()->get_plugin_url() . "assets/js/admin-general.js", array( 'jquery', 'wp-pointer' ), AC()->get_version() );
66
  wp_enqueue_style( 'wp-pointer' );
67
+ wp_enqueue_style( 'ac-admin', AC()->get_plugin_url() . "assets/css/admin-general.css", array(), AC()->get_version() );
68
 
69
  do_action( 'ac/admin_scripts', $this );
70
  }
classes/Admin/Addon/ACF.php CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
7
  class AC_Admin_Addon_ACF extends AC_Admin_Addon {
8
 
9
  public function __construct() {
10
- parent::__construct( 'cac-addon-acf' );
11
 
12
  $this
13
  ->set_title( __( 'Advanced Custom Fields', 'codepress-admin-columns' ) )
7
  class AC_Admin_Addon_ACF extends AC_Admin_Addon {
8
 
9
  public function __construct() {
10
+ parent::__construct( 'ac-addon-acf' );
11
 
12
  $this
13
  ->set_title( __( 'Advanced Custom Fields', 'codepress-admin-columns' ) )
classes/Admin/Addon/WooCommerce.php CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
7
  class AC_Admin_Addon_WooCommerce extends AC_Admin_Addon {
8
 
9
  public function __construct() {
10
- parent::__construct( 'cac-addon-woocommerce' );
11
 
12
  $this
13
  ->set_title( __( 'WooCommerce', 'codepress-admin-columns' ) )
7
  class AC_Admin_Addon_WooCommerce extends AC_Admin_Addon {
8
 
9
  public function __construct() {
10
+ parent::__construct( 'ac-addon-woocommerce' );
11
 
12
  $this
13
  ->set_title( __( 'WooCommerce', 'codepress-admin-columns' ) )
classes/Admin/Help/CustomField.php CHANGED
@@ -15,7 +15,7 @@ class AC_Admin_Help_CustomField extends AC_Admin_Help {
15
  ?>
16
 
17
  <p>
18
- <?php _e( "The custom field colum uses the custom fields from posts and users. There are 10 types which you can set.", 'codepress-admin-columns' ); ?>
19
  </p>
20
  <ul>
21
  <li>
15
  ?>
16
 
17
  <p>
18
+ <?php _e( "The custom field column uses the custom fields from posts and users. There are 10 types which you can set.", 'codepress-admin-columns' ); ?>
19
  </p>
20
  <ul>
21
  <li>
classes/Admin/Page/Addons.php CHANGED
@@ -124,7 +124,7 @@ class AC_Admin_Page_Addons extends AC_Admin_Page {
124
  */
125
  public function admin_scripts() {
126
  if ( $this->is_current_screen() ) {
127
- wp_enqueue_style( 'ac-admin-page-addons', AC()->get_plugin_url() . 'assets/css/admin-page-addons' . AC()->minified() . '.css', array(), AC()->get_version() );
128
  }
129
  }
130
 
124
  */
125
  public function admin_scripts() {
126
  if ( $this->is_current_screen() ) {
127
+ wp_enqueue_style( 'ac-admin-page-addons', AC()->get_plugin_url() . 'assets/css/admin-page-addons.css', array(), AC()->get_version() );
128
  }
129
  }
130
 
classes/Admin/Page/Columns.php CHANGED
@@ -46,13 +46,11 @@ class AC_Admin_Page_Columns extends AC_Admin_Page {
46
  return;
47
  }
48
 
49
- $minified = AC()->minified();
50
-
51
  // Width slider
52
  wp_enqueue_style( 'jquery-ui-lightness', AC()->get_plugin_url() . 'assets/ui-theme/jquery-ui-1.8.18.custom.css', array(), AC()->get_version() );
53
  wp_enqueue_script( 'jquery-ui-slider' );
54
 
55
- wp_enqueue_script( 'ac-admin-page-columns', AC()->get_plugin_url() . "assets/js/admin-page-columns{$minified}.js", array(
56
  'jquery',
57
  'dashboard',
58
  'jquery-ui-slider',
@@ -60,7 +58,7 @@ class AC_Admin_Page_Columns extends AC_Admin_Page {
60
  'wp-pointer',
61
  ), AC()->get_version() );
62
 
63
- wp_enqueue_style( 'ac-admin-page-columns-css', AC()->get_plugin_url() . 'assets/css/admin-page-columns' . AC()->minified() . '.css', array(), AC()->get_version() );
64
 
65
  wp_localize_script( 'ac-admin-page-columns', 'AC', array(
66
  '_ajax_nonce' => wp_create_nonce( 'ac-settings' ),
@@ -375,7 +373,7 @@ class AC_Admin_Page_Columns extends AC_Admin_Page {
375
  }
376
 
377
  private function preferences() {
378
- return new AC_Preferences( 'settings' );
379
  }
380
 
381
  /**
46
  return;
47
  }
48
 
 
 
49
  // Width slider
50
  wp_enqueue_style( 'jquery-ui-lightness', AC()->get_plugin_url() . 'assets/ui-theme/jquery-ui-1.8.18.custom.css', array(), AC()->get_version() );
51
  wp_enqueue_script( 'jquery-ui-slider' );
52
 
53
+ wp_enqueue_script( 'ac-admin-page-columns', AC()->get_plugin_url() . "assets/js/admin-page-columns.js", array(
54
  'jquery',
55
  'dashboard',
56
  'jquery-ui-slider',
58
  'wp-pointer',
59
  ), AC()->get_version() );
60
 
61
+ wp_enqueue_style( 'ac-admin-page-columns-css', AC()->get_plugin_url() . 'assets/css/admin-page-columns.css', array(), AC()->get_version() );
62
 
63
  wp_localize_script( 'ac-admin-page-columns', 'AC', array(
64
  '_ajax_nonce' => wp_create_nonce( 'ac-settings' ),
373
  }
374
 
375
  private function preferences() {
376
+ return new AC_Preferences_Site( 'settings' );
377
  }
378
 
379
  /**
classes/Admin/Page/Help.php CHANGED
@@ -71,9 +71,9 @@ class AC_Admin_Page_Help extends AC_Admin_Page {
71
  * Admin scripts
72
  */
73
  public function admin_scripts() {
74
- if ( $this->is_current_screen() ) {
75
- wp_enqueue_style( 'ac-admin-page-help-css', AC()->get_plugin_url() . 'assets/css/admin-page-help' . AC()->minified() . '.css', array(), AC()->get_version() );
76
- }
77
  }
78
 
79
  private function update_message_count() {
@@ -99,8 +99,8 @@ class AC_Admin_Page_Help extends AC_Admin_Page {
99
  $post_types = get_post_types();
100
 
101
  $columns = array();
102
- foreach ( AC()->get_list_screens() as $ls ) {
103
- foreach ( $ls->get_column_types() as $column ) {
104
  $columns[ $column->get_type() ] = $column->get_type();
105
  }
106
  }
@@ -150,18 +150,18 @@ class AC_Admin_Page_Help extends AC_Admin_Page {
150
  }
151
 
152
  // Actions
153
- $this->deprecated_action( 'cac/admin_head', '3.0', 'cac-admin_head' );
154
- $this->deprecated_action( 'cac/loaded', '3.0', 'cac-loaded' );
155
- $this->deprecated_action( 'cac/inline-edit/after_ajax_column_save', '3.0', 'cacinline-editafter_ajax_column_save' );
156
- $this->deprecated_action( 'cac/settings/after_title', '3.0' );
157
- $this->deprecated_action( 'cac/settings/form_actions', '3.0' );
158
- $this->deprecated_action( 'cac/settings/sidebox', '3.0' );
159
- $this->deprecated_action( 'cac/settings/form_columns', '3.0' );
160
- $this->deprecated_action( 'cac/settings/after_columns', '3.0' );
161
- $this->deprecated_action( 'cac/column/settings_meta', '3.0' );
162
- $this->deprecated_action( 'cac/settings/general', '3.0' );
163
- $this->deprecated_action( 'cpac_messages', '3.0' );
164
- $this->deprecated_action( 'cac/settings/after_menu', '3.0' );
165
 
166
  $this->update_message_count();
167
  }
@@ -318,20 +318,20 @@ class AC_Admin_Page_Help extends AC_Admin_Page {
318
  */
319
  public function display() {
320
  ?>
321
- <h2><?php _e( 'Help', 'codepress-admin-columns' ); ?></h2>
322
- <p>
323
  <?php _e( 'The Admin Columns plugin has undergone some major changes in version 4.', 'codepress-admin-columns' ); ?> <br/>
324
 
325
  <?php printf( __( 'This site is using some actions or filters that have changed. Please read %s to resolve them.', 'codepress-admin-columns' ), ac_helper()->html->link( ac_get_site_utm_url( 'documentation/faq/upgrading-from-v3-to-v4', 'help' ), __( 'our documentation', 'codepress-admin-columns' ) ) ); ?>
326
- </p>
327
 
328
  <?php foreach ( $this->get_groups() as $type => $label ) {
329
  if ( $messages = $this->get_messages( $type ) ) : ?>
330
- <h3><?php echo esc_html( $label ); ?></h3>
331
  <?php foreach ( $messages as $message ) : ?>
332
- <div class="ac-deprecated-message">
333
- <p><?php echo $message; ?></p>
334
- </div>
335
  <?php endforeach; ?>
336
  <?php endif;
337
  }
71
  * Admin scripts
72
  */
73
  public function admin_scripts() {
74
+ if ( $this->is_current_screen() ) {
75
+ wp_enqueue_style( 'ac-admin-page-help-css', AC()->get_plugin_url() . 'assets/css/admin-page-help.css', array(), AC()->get_version() );
76
+ }
77
  }
78
 
79
  private function update_message_count() {
99
  $post_types = get_post_types();
100
 
101
  $columns = array();
102
+ foreach ( AC()->get_list_screens() as $list_screen ) {
103
+ foreach ( $list_screen->get_column_types() as $column ) {
104
  $columns[ $column->get_type() ] = $column->get_type();
105
  }
106
  }
150
  }
151
 
152
  // Actions
153
+ $this->deprecated_action( 'cac/admin_head', '3.0', 'cac-admin_head' );
154
+ $this->deprecated_action( 'cac/loaded', '3.0', 'cac-loaded' );
155
+ $this->deprecated_action( 'cac/inline-edit/after_ajax_column_save', '3.0', 'cacinline-editafter_ajax_column_save' );
156
+ $this->deprecated_action( 'cac/settings/after_title', '3.0' );
157
+ $this->deprecated_action( 'cac/settings/form_actions', '3.0' );
158
+ $this->deprecated_action( 'cac/settings/sidebox', '3.0' );
159
+ $this->deprecated_action( 'cac/settings/form_columns', '3.0' );
160
+ $this->deprecated_action( 'cac/settings/after_columns', '3.0' );
161
+ $this->deprecated_action( 'cac/column/settings_meta', '3.0' );
162
+ $this->deprecated_action( 'cac/settings/general', '3.0' );
163
+ $this->deprecated_action( 'cpac_messages', '3.0' );
164
+ $this->deprecated_action( 'cac/settings/after_menu', '3.0' );
165
 
166
  $this->update_message_count();
167
  }
318
  */
319
  public function display() {
320
  ?>
321
+ <h2><?php _e( 'Help', 'codepress-admin-columns' ); ?></h2>
322
+ <p>
323
  <?php _e( 'The Admin Columns plugin has undergone some major changes in version 4.', 'codepress-admin-columns' ); ?> <br/>
324
 
325
  <?php printf( __( 'This site is using some actions or filters that have changed. Please read %s to resolve them.', 'codepress-admin-columns' ), ac_helper()->html->link( ac_get_site_utm_url( 'documentation/faq/upgrading-from-v3-to-v4', 'help' ), __( 'our documentation', 'codepress-admin-columns' ) ) ); ?>
326
+ </p>
327
 
328
  <?php foreach ( $this->get_groups() as $type => $label ) {
329
  if ( $messages = $this->get_messages( $type ) ) : ?>
330
+ <h3><?php echo esc_html( $label ); ?></h3>
331
  <?php foreach ( $messages as $message ) : ?>
332
+ <div class="ac-deprecated-message">
333
+ <p><?php echo $message; ?></p>
334
+ </div>
335
  <?php endforeach; ?>
336
  <?php endif;
337
  }
classes/Admin/Page/Settings.php CHANGED
@@ -27,9 +27,9 @@ class AC_Admin_Page_Settings extends AC_Admin_Page {
27
  }
28
 
29
  public function admin_scripts() {
30
- if ( $this->is_current_screen() ) {
31
- wp_enqueue_style( 'ac-admin-page-settings', AC()->get_plugin_url() . 'assets/css/admin-page-settings' . AC()->minified() . '.css', array(), AC()->get_version() );
32
- }
33
  }
34
 
35
  public function set_capability() {
@@ -117,22 +117,22 @@ class AC_Admin_Page_Settings extends AC_Admin_Page {
117
 
118
  $current_value = $this->is_empty_options() ? $args->default_value : $this->get_option( $args->name );
119
  ?>
120
- <p>
121
- <label for="<?php echo $args->name; ?>">
122
- <input name="<?php $this->attr_name( $args->name ); ?>" id="<?php echo $args->name; ?>" type="checkbox" value="1" <?php checked( $current_value, '1' ); ?>>
123
  <?php echo $args->label; ?>
124
- </label>
125
  <?php if ( $args->instructions ) : ?>
126
- <a class="ac-pointer instructions" rel="pointer-<?php echo $args->name; ?>" data-pos="right">
127
  <?php _e( 'Instructions', 'codepress-admin-columns' ); ?>
128
- </a>
129
  <?php endif; ?>
130
- </p>
131
  <?php if ( $args->instructions ) : ?>
132
- <div id="pointer-<?php echo $args->name; ?>" style="display:none;">
133
- <h3><?php _e( 'Notice', 'codepress-admin-columns' ); ?></h3>
134
  <?php echo $args->instructions; ?>
135
- </div>
136
  <?php
137
  endif;
138
  }
@@ -143,25 +143,25 @@ class AC_Admin_Page_Settings extends AC_Admin_Page {
143
  * @return string
144
  */
145
  public function get_default_text( $type = 'on' ) {
146
- $string = __( 'off', 'codepress-admin-columns' );
147
 
148
- if ( 'on' === $type ) {
149
- $string = __( 'on', 'codepress-admin-columns' );
150
- }
151
 
152
  return sprintf( __( "Default is %s.", 'codepress-admin-columns' ), '<code>' . $string . '</code>' );
153
  }
154
 
155
  public function display() { ?>
156
- <table class="form-table ac-form-table settings">
157
- <tbody>
158
- <tr class="general">
159
- <th scope="row">
160
- <h2><?php _e( 'General Settings', 'codepress-admin-columns' ); ?></h2>
161
- <p><?php _e( 'Customize your Admin Columns settings.', 'codepress-admin-columns' ); ?></p>
162
- </th>
163
- <td>
164
- <form method="post" action="options.php">
165
 
166
  <?php settings_fields( self::SETTINGS_GROUP ); ?>
167
 
@@ -175,12 +175,12 @@ class AC_Admin_Page_Settings extends AC_Admin_Page {
175
 
176
  <?php do_action( 'ac/settings/general', $this ); ?>
177
 
178
- <p>
179
- <input type="submit" class="button" value="<?php _e( 'Save' ); ?>"/>
180
- </p>
181
- </form>
182
- </td>
183
- </tr>
184
 
185
  <?php
186
 
@@ -194,45 +194,45 @@ class AC_Admin_Page_Settings extends AC_Admin_Page {
194
 
195
  ?>
196
 
197
- <tr>
198
- <th scope="row">
199
- <h2><?php echo esc_html( $title ); ?></h2>
200
 
201
- <p><?php echo $description; ?></p>
202
- </th>
203
- <td>
204
  <?php
205
 
206
  /** Use this Hook to add additional fields to the group */
207
  do_action( "ac/settings/group/" . $id );
208
 
209
  ?>
210
- </td>
211
- </tr>
212
 
213
  <?php
214
  }
215
  }
216
  ?>
217
 
218
- <tr class="restore">
219
- <th scope="row">
220
- <h2><?php _e( 'Restore Settings', 'codepress-admin-columns' ); ?></h2>
221
- <p><?php _e( 'This will delete all column settings and restore the default settings.', 'codepress-admin-columns' ); ?></p>
222
- </th>
223
- <td>
224
- <form method="post">
225
 
226
  <?php $this->nonce_field( 'restore-all' ); ?>
227
 
228
- <input type="hidden" name="ac_action" value="restore_all">
229
- <input type="submit" class="button" name="ac-restore-defaults" value="<?php echo esc_attr( __( 'Restore default settings', 'codepress-admin-columns' ) ); ?>" onclick="return confirm('<?php echo esc_js( __( "Warning! ALL saved admin columns data will be deleted. This cannot be undone. 'OK' to delete, 'Cancel' to stop", 'codepress-admin-columns' ) ); ?>');">
230
- </form>
231
- </td>
232
- </tr>
233
 
234
- </tbody>
235
- </table>
236
 
237
  <?php
238
  }
27
  }
28
 
29
  public function admin_scripts() {
30
+ if ( $this->is_current_screen() ) {
31
+ wp_enqueue_style( 'ac-admin-page-settings', AC()->get_plugin_url() . 'assets/css/admin-page-settings.css', array(), AC()->get_version() );
32
+ }
33
  }
34
 
35
  public function set_capability() {
117
 
118
  $current_value = $this->is_empty_options() ? $args->default_value : $this->get_option( $args->name );
119
  ?>
120
+ <p>
121
+ <label for="<?php echo $args->name; ?>">
122
+ <input name="<?php $this->attr_name( $args->name ); ?>" id="<?php echo $args->name; ?>" type="checkbox" value="1" <?php checked( $current_value, '1' ); ?>>
123
  <?php echo $args->label; ?>
124
+ </label>
125
  <?php if ( $args->instructions ) : ?>
126
+ <a class="ac-pointer instructions" rel="pointer-<?php echo $args->name; ?>" data-pos="right">
127
  <?php _e( 'Instructions', 'codepress-admin-columns' ); ?>
128
+ </a>
129
  <?php endif; ?>
130
+ </p>
131
  <?php if ( $args->instructions ) : ?>
132
+ <div id="pointer-<?php echo $args->name; ?>" style="display:none;">
133
+ <h3><?php _e( 'Notice', 'codepress-admin-columns' ); ?></h3>
134
  <?php echo $args->instructions; ?>
135
+ </div>
136
  <?php
137
  endif;
138
  }
143
  * @return string
144
  */
145
  public function get_default_text( $type = 'on' ) {
146
+ $string = __( 'off', 'codepress-admin-columns' );
147
 
148
+ if ( 'on' === $type ) {
149
+ $string = __( 'on', 'codepress-admin-columns' );
150
+ }
151
 
152
  return sprintf( __( "Default is %s.", 'codepress-admin-columns' ), '<code>' . $string . '</code>' );
153
  }
154
 
155
  public function display() { ?>
156
+ <table class="form-table ac-form-table settings">
157
+ <tbody>
158
+ <tr class="general">
159
+ <th scope="row">
160
+ <h2><?php _e( 'General Settings', 'codepress-admin-columns' ); ?></h2>
161
+ <p><?php _e( 'Customize your Admin Columns settings.', 'codepress-admin-columns' ); ?></p>
162
+ </th>
163
+ <td>
164
+ <form method="post" action="options.php">
165
 
166
  <?php settings_fields( self::SETTINGS_GROUP ); ?>
167
 
175
 
176
  <?php do_action( 'ac/settings/general', $this ); ?>
177
 
178
+ <p>
179
+ <input type="submit" class="button" value="<?php _e( 'Save' ); ?>"/>
180
+ </p>
181
+ </form>
182
+ </td>
183
+ </tr>
184
 
185
  <?php
186
 
194
 
195
  ?>
196
 
197
+ <tr>
198
+ <th scope="row">
199
+ <h2><?php echo esc_html( $title ); ?></h2>
200
 
201
+ <p><?php echo $description; ?></p>
202
+ </th>
203
+ <td>
204
  <?php
205
 
206
  /** Use this Hook to add additional fields to the group */
207
  do_action( "ac/settings/group/" . $id );
208
 
209
  ?>
210
+ </td>
211
+ </tr>
212
 
213
  <?php
214
  }
215
  }
216
  ?>
217
 
218
+ <tr class="restore">
219
+ <th scope="row">
220
+ <h2><?php _e( 'Restore Settings', 'codepress-admin-columns' ); ?></h2>
221
+ <p><?php _e( 'This will delete all column settings and restore the default settings.', 'codepress-admin-columns' ); ?></p>
222
+ </th>
223
+ <td>
224
+ <form method="post">
225
 
226
  <?php $this->nonce_field( 'restore-all' ); ?>
227
 
228
+ <input type="hidden" name="ac_action" value="restore_all">
229
+ <input type="submit" class="button" name="ac-restore-defaults" value="<?php echo esc_attr( __( 'Restore default settings', 'codepress-admin-columns' ) ); ?>" onclick="return confirm('<?php echo esc_js( __( "Warning! ALL saved admin columns data will be deleted. This cannot be undone. 'OK' to delete, 'Cancel' to stop", 'codepress-admin-columns' ) ); ?>');">
230
+ </form>
231
+ </td>
232
+ </tr>
233
 
234
+ </tbody>
235
+ </table>
236
 
237
  <?php
238
  }
classes/Column/Actions.php CHANGED
@@ -23,7 +23,7 @@ class AC_Column_Actions extends AC_Column {
23
  * @since 2.2.6
24
  */
25
  public function get_value( $id ) {
26
- if ( $this->get_option( 'use_icons' ) ) {
27
  return '<span class="cpac_use_icons"></span>';
28
  }
29
 
23
  * @since 2.2.6
24
  */
25
  public function get_value( $id ) {
26
+ if ( $this->get_setting( 'use_icons' )->get_value() ) {
27
  return '<span class="cpac_use_icons"></span>';
28
  }
29
 
classes/Column/CustomField.php CHANGED
@@ -44,13 +44,4 @@ class AC_Column_CustomField extends AC_Column_Meta {
44
  return $this->get_meta_key();
45
  }
46
 
47
- /**
48
- * Only valid for a Listscreen with a meta type
49
- *
50
- * @return mixed
51
- */
52
- public function is_valid() {
53
- return in_array( $this->get_list_screen()->get_meta_type(), array( 'post', 'user', 'comment', 'term' ) );
54
- }
55
-
56
  }
44
  return $this->get_meta_key();
45
  }
46
 
 
 
 
 
 
 
 
 
 
47
  }
classes/Column/Media/Menu.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit;
5
+ }
6
+
7
+ class AC_Column_Media_Menu extends AC_Column_Post_Menu {
8
+
9
+ }
classes/Column/Menu.php CHANGED
@@ -10,7 +10,7 @@ if ( ! defined( 'ABSPATH' ) ) {
10
  *
11
  * @since 2.2.5
12
  */
13
- class AC_Column_Menu extends AC_Column {
14
 
15
  public function __construct() {
16
  $this->set_type( 'column-used_by_menu' );
@@ -26,36 +26,14 @@ class AC_Column_Menu extends AC_Column {
26
  }
27
 
28
  /**
29
- * @return string Object type: 'post', 'page' or 'user'
30
  */
31
- public function get_object_type() {
32
- $object_type = $this->get_post_type();
33
-
34
- if ( ! $object_type ) {
35
- $object_type = $this->get_taxonomy();
36
- }
37
-
38
- if ( ! $object_type ) {
39
- $object_type = $this->get_list_screen()->get_meta_type();
40
- }
41
-
42
- return $object_type;
43
- }
44
 
45
  /**
46
  * @return string
47
  */
48
- public function get_item_type() {
49
- $item_type = $this->get_list_screen()->get_meta_type();
50
-
51
- switch ( $item_type ) {
52
- case 'post' :
53
- $item_type = 'post_type';
54
- break;
55
- }
56
-
57
- return $item_type;
58
- }
59
 
60
  /**
61
  * @param int $object_id
@@ -110,8 +88,4 @@ class AC_Column_Menu extends AC_Column {
110
  $this->add_setting( new AC_Settings_Column_LinkToMenu( $this ) );
111
  }
112
 
113
- public function is_valid() {
114
- return in_array( $this->get_list_screen()->get_meta_type(), array( 'post', 'user', 'term', 'comment' ) );
115
- }
116
-
117
  }
10
  *
11
  * @since 2.2.5
12
  */
13
+ abstract class AC_Column_Menu extends AC_Column {
14
 
15
  public function __construct() {
16
  $this->set_type( 'column-used_by_menu' );
26
  }
27
 
28
  /**
29
+ * @return string
30
  */
31
+ public abstract function get_object_type();
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
  /**
34
  * @return string
35
  */
36
+ public abstract function get_item_type();
 
 
 
 
 
 
 
 
 
 
37
 
38
  /**
39
  * @param int $object_id
88
  $this->add_setting( new AC_Settings_Column_LinkToMenu( $this ) );
89
  }
90
 
 
 
 
 
91
  }
classes/Column/Post/Menu.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit;
5
+ }
6
+
7
+ class AC_Column_Post_Menu extends AC_Column_Menu {
8
+
9
+ /**
10
+ * @return string
11
+ */
12
+ public function get_object_type() {
13
+ return $this->get_post_type();
14
+ }
15
+
16
+ /**
17
+ * @return string
18
+ */
19
+ public function get_item_type() {
20
+ return 'post_type';
21
+ }
22
+
23
+ }
classes/Form/Element/Checkbox.php CHANGED
@@ -69,7 +69,7 @@ class AC_Form_Element_Checkbox extends AC_Form_Element {
69
 
70
  $attributes = $this->get_attributes();
71
 
72
- $elements[] = sprintf( '<label %s>%s%s</label>', $this->get_attributes_as_string( $attributes ), $input->render(), esc_html( $label ) );
73
  }
74
 
75
  if ( $description = $this->render_description() ) {
69
 
70
  $attributes = $this->get_attributes();
71
 
72
+ $elements[] = sprintf( '<label %s>%s%s</label>', $this->get_attributes_as_string( $attributes ), $input->render(), $label );
73
  }
74
 
75
  if ( $description = $this->render_description() ) {
classes/ListScreen.php CHANGED
@@ -407,23 +407,21 @@ abstract class AC_ListScreen {
407
  */
408
  public function register_column_type( AC_Column $column ) {
409
  if ( ! $column->get_type() ) {
410
- return false;
411
  }
412
 
413
  $column->set_list_screen( $this );
414
 
415
  if ( ! $column->is_valid() ) {
416
- return false;
417
  }
418
 
419
  // Skip the custom registered columns which are marked 'original' but are not available for this list screen
420
  if ( $column->is_original() && ! in_array( $column->get_type(), array_keys( $this->get_original_columns() ) ) ) {
421
- return false;
422
  }
423
 
424
  $this->column_types[ $column->get_type() ] = $column;
425
-
426
- return true;
427
  }
428
 
429
  /**
@@ -470,6 +468,7 @@ abstract class AC_ListScreen {
470
  * Available column types
471
  */
472
  private function set_column_types() {
 
473
 
474
  // Register default columns
475
  foreach ( $this->get_original_columns() as $type => $label ) {
@@ -504,9 +503,6 @@ abstract class AC_ListScreen {
504
  * @param AC_ListScreen $this
505
  */
506
  do_action( 'ac/column_types', $this );
507
-
508
- // For backwards compatibility
509
- do_action( 'acp/column_types', $this );
510
  }
511
 
512
  /**
@@ -829,15 +825,4 @@ abstract class AC_ListScreen {
829
  return array();
830
  }
831
 
832
- /**
833
- * Get the default sortable column. The format is: 'orderby' or [ 'orderby', true ]
834
- *
835
- * The second format will make the initial sorting order be descending
836
- *
837
- * @return array [ $column_name, $descending ]
838
- */
839
- public function get_default_orderby() {
840
- return array();
841
- }
842
-
843
  }
407
  */
408
  public function register_column_type( AC_Column $column ) {
409
  if ( ! $column->get_type() ) {
410
+ return;
411
  }
412
 
413
  $column->set_list_screen( $this );
414
 
415
  if ( ! $column->is_valid() ) {
416
+ return;
417
  }
418
 
419
  // Skip the custom registered columns which are marked 'original' but are not available for this list screen
420
  if ( $column->is_original() && ! in_array( $column->get_type(), array_keys( $this->get_original_columns() ) ) ) {
421
+ return;
422
  }
423
 
424
  $this->column_types[ $column->get_type() ] = $column;
 
 
425
  }
426
 
427
  /**
468
  * Available column types
469
  */
470
  private function set_column_types() {
471
+ $this->column_types = array();
472
 
473
  // Register default columns
474
  foreach ( $this->get_original_columns() as $type => $label ) {
503
  * @param AC_ListScreen $this
504
  */
505
  do_action( 'ac/column_types', $this );
 
 
 
506
  }
507
 
508
  /**
825
  return array();
826
  }
827
 
 
 
 
 
 
 
 
 
 
 
 
828
  }
classes/ListScreen/Comment.php CHANGED
@@ -57,7 +57,7 @@ class AC_ListScreen_Comment extends AC_ListScreenWP {
57
 
58
  /**
59
  * @param string $column_name
60
- * @param int $id
61
  */
62
  public function manage_value( $column_name, $id ) {
63
  echo $this->get_display_value_by_column_name( $column_name, $id );
@@ -68,17 +68,9 @@ class AC_ListScreen_Comment extends AC_ListScreenWP {
68
  */
69
  protected function register_column_types() {
70
  $this->register_column_type( new AC_Column_CustomField );
71
- $this->register_column_type( new AC_Column_Menu );
72
  $this->register_column_type( new AC_Column_Actions );
73
 
74
  $this->register_column_types_from_dir( AC()->get_plugin_dir() . 'classes/Column/Comment', AC()->get_prefix() );
75
  }
76
 
77
- /**
78
- * @return array
79
- */
80
- public function get_default_orderby() {
81
- return array( 'comment_date', true );
82
- }
83
-
84
  }
57
 
58
  /**
59
  * @param string $column_name
60
+ * @param int $id
61
  */
62
  public function manage_value( $column_name, $id ) {
63
  echo $this->get_display_value_by_column_name( $column_name, $id );
68
  */
69
  protected function register_column_types() {
70
  $this->register_column_type( new AC_Column_CustomField );
 
71
  $this->register_column_type( new AC_Column_Actions );
72
 
73
  $this->register_column_types_from_dir( AC()->get_plugin_dir() . 'classes/Column/Comment', AC()->get_prefix() );
74
  }
75
 
 
 
 
 
 
 
 
76
  }
classes/ListScreen/User.php CHANGED
@@ -73,17 +73,9 @@ class AC_ListScreen_User extends AC_ListScreenWP {
73
 
74
  protected function register_column_types() {
75
  $this->register_column_type( new AC_Column_CustomField );
76
- $this->register_column_type( new AC_Column_Menu );
77
  $this->register_column_type( new AC_Column_Actions );
78
 
79
  $this->register_column_types_from_dir( AC()->get_plugin_dir() . 'classes/Column/User', AC()->get_prefix() );
80
  }
81
 
82
- /**
83
- * @return string
84
- */
85
- public function get_default_orderby() {
86
- return 'username';
87
- }
88
-
89
  }
73
 
74
  protected function register_column_types() {
75
  $this->register_column_type( new AC_Column_CustomField );
 
76
  $this->register_column_type( new AC_Column_Actions );
77
 
78
  $this->register_column_types_from_dir( AC()->get_plugin_dir() . 'classes/Column/User', AC()->get_prefix() );
79
  }
80
 
 
 
 
 
 
 
 
81
  }
classes/ListScreenPost.php CHANGED
@@ -53,19 +53,11 @@ abstract class AC_ListScreenPost extends AC_ListScreenWP {
53
  return $post_type_object && isset( $post_type_object->labels->{$var} ) ? $post_type_object->labels->{$var} : false;
54
  }
55
 
56
- /**
57
- * @return array
58
- */
59
- public function get_default_orderby() {
60
- return array( 'date', true );
61
- }
62
-
63
  /**
64
  * Register post specific columns
65
  */
66
  protected function register_column_types() {
67
  $this->register_column_type( new AC_Column_CustomField );
68
- $this->register_column_type( new AC_Column_Menu );
69
  $this->register_column_type( new AC_Column_Actions );
70
  }
71
 
53
  return $post_type_object && isset( $post_type_object->labels->{$var} ) ? $post_type_object->labels->{$var} : false;
54
  }
55
 
 
 
 
 
 
 
 
56
  /**
57
  * Register post specific columns
58
  */
59
  protected function register_column_types() {
60
  $this->register_column_type( new AC_Column_CustomField );
 
61
  $this->register_column_type( new AC_Column_Actions );
62
  }
63
 
classes/ListScreenWP.php CHANGED
@@ -105,7 +105,7 @@ abstract class AC_ListScreenWP extends AC_ListScreen {
105
  * @return object
106
  */
107
  protected function get_object_by_id( $id ) {
108
- _deprecated_function( __METHOD__, 'NEWVERSION', 'AC_ListScreenWP::get_object()' );
109
 
110
  return $this->get_object( $id );
111
  }
105
  * @return object
106
  */
107
  protected function get_object_by_id( $id ) {
108
+ _deprecated_function( __METHOD__, '3.1.4', 'AC_ListScreenWP::get_object()' );
109
 
110
  return $this->get_object( $id );
111
  }
classes/Preferences.php CHANGED
@@ -4,13 +4,20 @@ if ( ! defined( 'ABSPATH' ) ) {
4
  exit;
5
  }
6
 
7
- class AC_Preferences {
8
 
9
  /**
10
  * @var int
11
  */
12
  private $user_id;
13
 
 
 
 
 
 
 
 
14
  /**
15
  * Preferences of this user
16
  *
@@ -19,11 +26,18 @@ class AC_Preferences {
19
  protected $data = array();
20
 
21
  /**
22
- * The label for this set of preferences
23
  *
24
- * @var string
25
  */
26
- protected $label;
 
 
 
 
 
 
 
27
 
28
  /**
29
  * @param string $label
@@ -36,7 +50,14 @@ class AC_Preferences {
36
 
37
  $this->user_id = intval( $user_id );
38
  $this->label = sanitize_key( (string) $label );
39
- $this->load();
 
 
 
 
 
 
 
40
  }
41
 
42
  /**
@@ -44,25 +65,15 @@ class AC_Preferences {
44
  *
45
  * @return string
46
  */
47
- private function get_key() {
48
  return 'ac_preferences_' . $this->label;
49
  }
50
 
51
- private function load() {
52
- $data = get_user_option( $this->get_key(), $this->user_id );
53
-
54
- if ( is_array( $data ) ) {
55
- foreach ( $data as $k => $v ) {
56
- $this->set( $k, $v, false );
57
- }
58
- }
59
- }
60
-
61
  /**
62
- * @return bool
63
  */
64
- public function save() {
65
- return (bool) update_user_option( $this->user_id, $this->get_key(), $this->data );
66
  }
67
 
68
  /**
@@ -116,7 +127,7 @@ class AC_Preferences {
116
  }
117
 
118
  /**
119
- * Reset all preferences for all users that match on the current label
120
  */
121
  public function reset_for_all_users() {
122
  if ( empty( $this->label ) ) {
4
  exit;
5
  }
6
 
7
+ abstract class AC_Preferences {
8
 
9
  /**
10
  * @var int
11
  */
12
  private $user_id;
13
 
14
+ /**
15
+ * The label for this set of preferences
16
+ *
17
+ * @var string
18
+ */
19
+ private $label;
20
+
21
  /**
22
  * Preferences of this user
23
  *
26
  protected $data = array();
27
 
28
  /**
29
+ * Retrieves data from DB
30
  *
31
+ * return array|false
32
  */
33
+ abstract protected function load();
34
+
35
+ /**
36
+ * Stores data to DB
37
+ *
38
+ * @return bool
39
+ */
40
+ abstract public function save();
41
 
42
  /**
43
  * @param string $label
50
 
51
  $this->user_id = intval( $user_id );
52
  $this->label = sanitize_key( (string) $label );
53
+
54
+ $data = $this->load();
55
+
56
+ if ( is_array( $data ) ) {
57
+ foreach ( $data as $k => $v ) {
58
+ $this->set( $k, $v, false );
59
+ }
60
+ }
61
  }
62
 
63
  /**
65
  *
66
  * @return string
67
  */
68
+ protected function get_key() {
69
  return 'ac_preferences_' . $this->label;
70
  }
71
 
 
 
 
 
 
 
 
 
 
 
72
  /**
73
+ * @return int
74
  */
75
+ protected function get_user_id() {
76
+ return $this->user_id;
77
  }
78
 
79
  /**
127
  }
128
 
129
  /**
130
+ * Reset site preferences for all users that match on the current label
131
  */
132
  public function reset_for_all_users() {
133
  if ( empty( $this->label ) ) {
classes/Preferences/Site.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit;
5
+ }
6
+
7
+ class AC_Preferences_Site extends AC_Preferences {
8
+
9
+ /**
10
+ * return array|false
11
+ */
12
+ protected function load() {
13
+ return get_user_option( $this->get_key(), $this->get_user_id() );
14
+ }
15
+
16
+ /**
17
+ * @return bool
18
+ */
19
+ public function save() {
20
+ return (bool) update_user_option( $this->get_user_id(), $this->get_key(), $this->data );
21
+ }
22
+
23
+ }
classes/Preferences/User.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit;
5
+ }
6
+
7
+ class AC_Preferences_User extends AC_Preferences {
8
+
9
+ /**
10
+ * @return bool
11
+ */
12
+ public function save() {
13
+ return (bool) update_user_meta( $this->get_user_id(), $this->get_key(), $this->data );
14
+ }
15
+
16
+ /**
17
+ * @return false|array
18
+ */
19
+ protected function load() {
20
+ return get_user_meta( $this->get_user_id(), $this->get_key(), true );
21
+ }
22
+
23
+ }
classes/Settings/Column/PostType.php CHANGED
@@ -17,6 +17,7 @@ class AC_Settings_Column_PostType extends AC_Settings_Column {
17
 
18
  public function create_view() {
19
  $setting = $this->create_element( 'select' )
 
20
  ->set_options( $this->get_post_type_labels() );
21
 
22
  $view = new AC_View( array(
@@ -40,6 +41,8 @@ class AC_Settings_Column_PostType extends AC_Settings_Column {
40
  $options[ $post_type ] = $post_type_object->labels->name;
41
  }
42
 
 
 
43
  return $options;
44
  }
45
 
17
 
18
  public function create_view() {
19
  $setting = $this->create_element( 'select' )
20
+ ->set_attribute( 'data-label', 'update' )
21
  ->set_options( $this->get_post_type_labels() );
22
 
23
  $view = new AC_View( array(
41
  $options[ $post_type ] = $post_type_object->labels->name;
42
  }
43
 
44
+ natcasesort( $options );
45
+
46
  return $options;
47
  }
48
 
classes/TableScreen.php CHANGED
@@ -21,6 +21,7 @@ final class AC_TableScreen {
21
  add_action( 'admin_init', array( $this, 'load_list_screen_doing_quick_edit' ) );
22
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
23
  add_action( 'admin_footer', array( $this, 'admin_footer_scripts' ) );
 
24
  add_filter( 'admin_body_class', array( $this, 'admin_class' ) );
25
  add_filter( 'list_table_primary_column', array( $this, 'set_primary_column' ), 20 );
26
  add_action( 'wp_ajax_ac_get_column_value', array( $this, 'ajax_get_column_value' ) );
@@ -198,12 +199,12 @@ final class AC_TableScreen {
198
  $list_screen = $this->current_list_screen;
199
 
200
  // Tooltip
201
- wp_register_script( 'jquery-qtip2', AC()->get_plugin_url() . "external/qtip2/jquery.qtip" . AC()->minified() . ".js", array( 'jquery' ), AC()->get_version() );
202
- wp_enqueue_style( 'jquery-qtip2', AC()->get_plugin_url() . "external/qtip2/jquery.qtip" . AC()->minified() . ".css", array(), AC()->get_version() );
203
 
204
  // Main
205
- wp_enqueue_script( 'ac-table', AC()->get_plugin_url() . "assets/js/table" . AC()->minified() . ".js", array( 'jquery', 'jquery-qtip2' ), AC()->get_version() );
206
- wp_enqueue_style( 'ac-table', AC()->get_plugin_url() . "assets/css/table" . AC()->minified() . ".css", array(), AC()->get_version() );
207
 
208
  wp_localize_script( 'ac-table', 'AC', array(
209
  'list_screen' => $list_screen->get_key(),
@@ -265,31 +266,36 @@ final class AC_TableScreen {
265
  * Applies the width setting to the table headers
266
  */
267
  private function display_width_styles() {
268
- if ( $this->current_list_screen->get_settings() ) {
 
 
269
 
270
- // CSS: columns width
271
- $css_column_width = false;
272
 
273
- foreach ( $this->current_list_screen->get_columns() as $column ) {
274
-
275
- /* @var AC_Settings_Column_Width $setting */
276
- $setting = $column->get_setting( 'width' );
277
 
278
- if ( $width = $setting->get_display_width() ) {
279
- $css_column_width .= ".ac-" . $this->current_list_screen->get_key() . " .wrap table th.column-" . $column->get_name() . " { width: " . $width . " !important; }";
280
- $css_column_width .= "body.acp-overflow-table.ac-" . $this->current_list_screen->get_key() . " .wrap th.column-" . $column->get_name() . " { min-width: " . $width . " !important; }";
281
- }
282
  }
 
283
 
284
- if ( $css_column_width ) : ?>
285
- <style>
286
- @media screen and (min-width: 783px) {
287
- <?php echo $css_column_width; ?>
288
- }
289
- </style>
290
- <?php
291
- endif;
292
  }
 
 
 
 
 
 
 
 
 
 
293
  }
294
 
295
  /**
@@ -313,11 +319,11 @@ final class AC_TableScreen {
313
  }
314
 
315
  /**
316
- * Admin CSS for Column width and Settings Icon
317
  *
318
- * @since 1.4.0
319
  */
320
- public function admin_footer_scripts() {
321
  if ( ! $this->current_list_screen ) {
322
  return;
323
  }
@@ -326,9 +332,32 @@ final class AC_TableScreen {
326
 
327
  /**
328
  * Add header scripts that only apply to column screens.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
329
  * @since 2.3.5
330
  *
331
- * @param object CPAC Main Class
 
332
  */
333
  do_action( 'ac/admin_footer', $this->current_list_screen, $this );
334
  }
@@ -336,11 +365,19 @@ final class AC_TableScreen {
336
  /**
337
  * Load current list screen
338
  *
339
- * @param WP_Screen $current_screen
340
  */
341
- public function load_list_screen( $current_screen ) {
342
- if ( $list_screen = AC()->get_list_screen_by_wpscreen( $current_screen ) ) {
343
- $this->set_current_list_screen( $list_screen );
 
 
 
 
 
 
 
 
344
  }
345
  }
346
 
21
  add_action( 'admin_init', array( $this, 'load_list_screen_doing_quick_edit' ) );
22
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
23
  add_action( 'admin_footer', array( $this, 'admin_footer_scripts' ) );
24
+ add_action( 'admin_head', array( $this, 'admin_head_scripts' ) );
25
  add_filter( 'admin_body_class', array( $this, 'admin_class' ) );
26
  add_filter( 'list_table_primary_column', array( $this, 'set_primary_column' ), 20 );
27
  add_action( 'wp_ajax_ac_get_column_value', array( $this, 'ajax_get_column_value' ) );
199
  $list_screen = $this->current_list_screen;
200
 
201
  // Tooltip
202
+ wp_register_script( 'jquery-qtip2', AC()->get_plugin_url() . "external/qtip2/jquery.qtip.min.js", array( 'jquery' ), AC()->get_version() );
203
+ wp_enqueue_style( 'jquery-qtip2', AC()->get_plugin_url() . "external/qtip2/jquery.qtip.min.css", array(), AC()->get_version() );
204
 
205
  // Main
206
+ wp_enqueue_script( 'ac-table', AC()->get_plugin_url() . "assets/js/table.js", array( 'jquery', 'jquery-qtip2' ), AC()->get_version() );
207
+ wp_enqueue_style( 'ac-table', AC()->get_plugin_url() . "assets/css/table.css", array(), AC()->get_version() );
208
 
209
  wp_localize_script( 'ac-table', 'AC', array(
210
  'list_screen' => $list_screen->get_key(),
266
  * Applies the width setting to the table headers
267
  */
268
  private function display_width_styles() {
269
+ if ( ! $this->current_list_screen || ! $this->current_list_screen->get_settings() ) {
270
+ return;
271
+ }
272
 
273
+ // CSS: columns width
274
+ $css_column_width = false;
275
 
276
+ foreach ( $this->current_list_screen->get_columns() as $column ) {
277
+ /* @var AC_Settings_Column_Width $setting */
278
+ $setting = $column->get_setting( 'width' );
 
279
 
280
+ if ( $width = $setting->get_display_width() ) {
281
+ $css_column_width .= ".ac-" . esc_attr( $this->current_list_screen->get_key() ) . " .wrap table th.column-" . esc_attr( $column->get_name() ) . " { width: " . $width . " !important; }";
282
+ $css_column_width .= "body.acp-overflow-table.ac-" . esc_attr( $this->current_list_screen->get_key() ) . " .wrap th.column-" . esc_attr( $column->get_name() ) . " { min-width: " . $width . " !important; }";
 
283
  }
284
+ }
285
 
286
+ if ( ! $css_column_width ) {
287
+ return;
 
 
 
 
 
 
288
  }
289
+
290
+ ?>
291
+
292
+ <style>
293
+ @media screen and (min-width: 783px) {
294
+ <?php echo $css_column_width; ?>
295
+ }
296
+ </style>
297
+
298
+ <?php
299
  }
300
 
301
  /**
319
  }
320
 
321
  /**
322
+ * Admin header scripts
323
  *
324
+ * @since 3.1.4
325
  */
326
+ public function admin_head_scripts() {
327
  if ( ! $this->current_list_screen ) {
328
  return;
329
  }
332
 
333
  /**
334
  * Add header scripts that only apply to column screens.
335
+ *
336
+ * @since 3.1.4
337
+ *
338
+ * @param AC_ListScreen
339
+ * @param AC_TableScreen
340
+ */
341
+ do_action( 'ac/admin_head', $this->current_list_screen, $this );
342
+ }
343
+
344
+ /**
345
+ * Admin footer scripts
346
+ *
347
+ * @since 1.4.0
348
+ */
349
+ public function admin_footer_scripts() {
350
+ if ( ! $this->current_list_screen ) {
351
+ return;
352
+ }
353
+
354
+ /**
355
+ * Add footer scripts that only apply to column screens.
356
+ *
357
  * @since 2.3.5
358
  *
359
+ * @param AC_ListScreen
360
+ * @param AC_TableScreen
361
  */
362
  do_action( 'ac/admin_footer', $this->current_list_screen, $this );
363
  }
365
  /**
366
  * Load current list screen
367
  *
368
+ * @param WP_Screen $wp_screen
369
  */
370
+ public function load_list_screen( $wp_screen ) {
371
+ if ( ! $wp_screen instanceof WP_Screen ) {
372
+ return;
373
+ }
374
+
375
+ foreach ( AC()->get_list_screens() as $list_screen ) {
376
+ if ( $list_screen->is_current_screen( $wp_screen ) ) {
377
+
378
+ $this->set_current_list_screen( $list_screen );
379
+ break;
380
+ }
381
  }
382
  }
383
 
codepress-admin-columns.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Admin Columns
4
- Version: 3.1.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
@@ -175,7 +175,7 @@ class CPAC extends AC_Plugin {
175
  * @return string
176
  */
177
  public function get_version() {
178
- return '3.1.3';
179
  }
180
 
181
  public function get_prefix() {
@@ -198,17 +198,6 @@ class CPAC extends AC_Plugin {
198
  return AC_Autoloader::instance();
199
  }
200
 
201
- /**
202
- * @since 3.0
203
- */
204
- public function get_plugin_version( $file ) {
205
- require_once ABSPATH . 'wp-admin/includes/plugin.php';
206
-
207
- $plugin = get_plugin_data( $file, false, false );
208
-
209
- return isset( $plugin['Version'] ) ? $plugin['Version'] : false;
210
- }
211
-
212
  /**
213
  * @since 2.2
214
  * @uses load_plugin_textdomain()
@@ -217,13 +206,6 @@ class CPAC extends AC_Plugin {
217
  load_plugin_textdomain( 'codepress-admin-columns', false, dirname( $this->get_basename() ) . '/languages/' );
218
  }
219
 
220
- /**
221
- * @since 3.0
222
- */
223
- public function minified() {
224
- return defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
225
- }
226
-
227
  /**
228
  * Add capability to administrator to manage admin columns.
229
  * You can use the capability 'manage_admin_columns' to grant other roles this privilege as well.
@@ -373,25 +355,6 @@ class CPAC extends AC_Plugin {
373
  return $screens[ $key ];
374
  }
375
 
376
- /**
377
- * @param WP_Screen $wp_screen
378
- *
379
- * @return AC_ListScreen|bool
380
- */
381
- public function get_list_screen_by_wpscreen( $wp_screen ) {
382
- if ( ! $wp_screen instanceof WP_Screen ) {
383
- return false;
384
- }
385
-
386
- foreach ( $this->get_list_screens() as $list_screen ) {
387
- if ( $list_screen->is_current_screen( $wp_screen ) ) {
388
- return $list_screen;
389
- }
390
- }
391
-
392
- return false;
393
- }
394
-
395
  /**
396
  * @param string $key
397
  *
@@ -401,19 +364,6 @@ class CPAC extends AC_Plugin {
401
  return $this->get_list_screen( $key ) ? true : false;
402
  }
403
 
404
- /**
405
- * Returns the default list screen when no choice is made by the user
406
- *
407
- * @since 3.0
408
- * @return AC_ListScreen
409
- */
410
- public function get_default_list_screen() {
411
- $screens = $this->get_list_screens();
412
- $default_screen = array_shift( $screens );
413
-
414
- return $default_screen;
415
- }
416
-
417
  /**
418
  * Get registered list screens
419
  *
@@ -455,7 +405,11 @@ class CPAC extends AC_Plugin {
455
  }
456
 
457
  /**
 
 
458
  * @since 3.0
 
 
459
  */
460
  do_action( 'ac/list_screens', $this );
461
  }
@@ -543,9 +497,14 @@ class CPAC extends AC_Plugin {
543
  * 'error' is red
544
  * 'notice-warning' is yellow
545
  * 'notice-info' is blue
 
546
  */
547
- public function notice( $message, $type = 'updated' ) {
548
- $this->notices[] = '<div class="ac-message notice ' . esc_attr( $type ) . '"><p>' . $message . '</p></div>';
 
 
 
 
549
  }
550
 
551
  /**
@@ -559,8 +518,8 @@ class CPAC extends AC_Plugin {
559
  * @since 3.0
560
  */
561
  public function admin_scripts() {
562
- wp_register_script( 'ac-sitewide-notices', AC()->get_plugin_url() . "assets/js/message" . AC()->minified() . ".js", array( 'jquery' ), AC()->get_version() );
563
- wp_register_style( 'ac-sitewide-notices', AC()->get_plugin_url() . "assets/css/message" . AC()->minified() . ".css", array(), AC()->get_version() );
564
  }
565
 
566
  /**
@@ -569,6 +528,42 @@ class CPAC extends AC_Plugin {
569
  public function is_doing_ajax() {
570
  return defined( 'DOING_AJAX' ) && DOING_AJAX;
571
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
572
  }
573
 
574
  /**
1
  <?php
2
  /*
3
  Plugin Name: Admin Columns
4
+ Version: 3.1.5
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
175
  * @return string
176
  */
177
  public function get_version() {
178
+ return '3.1.5';
179
  }
180
 
181
  public function get_prefix() {
198
  return AC_Autoloader::instance();
199
  }
200
 
 
 
 
 
 
 
 
 
 
 
 
201
  /**
202
  * @since 2.2
203
  * @uses load_plugin_textdomain()
206
  load_plugin_textdomain( 'codepress-admin-columns', false, dirname( $this->get_basename() ) . '/languages/' );
207
  }
208
 
 
 
 
 
 
 
 
209
  /**
210
  * Add capability to administrator to manage admin columns.
211
  * You can use the capability 'manage_admin_columns' to grant other roles this privilege as well.
355
  return $screens[ $key ];
356
  }
357
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
358
  /**
359
  * @param string $key
360
  *
364
  return $this->get_list_screen( $key ) ? true : false;
365
  }
366
 
 
 
 
 
 
 
 
 
 
 
 
 
 
367
  /**
368
  * Get registered list screens
369
  *
405
  }
406
 
407
  /**
408
+ * Register list screens
409
+ *
410
  * @since 3.0
411
+ *
412
+ * @param CPAC $this
413
  */
414
  do_action( 'ac/list_screens', $this );
415
  }
497
  * 'error' is red
498
  * 'notice-warning' is yellow
499
  * 'notice-info' is blue
500
+ * @param bool $paragraph
501
  */
502
+ public function notice( $message, $type = 'updated', $paragraph = true ) {
503
+ if ( $paragraph ) {
504
+ $message = '<p>' . $message . '</p>';
505
+ }
506
+
507
+ $this->notices[] = '<div class="ac-message notice ' . esc_attr( $type ) . '">' . $message . '</div>';
508
  }
509
 
510
  /**
518
  * @since 3.0
519
  */
520
  public function admin_scripts() {
521
+ wp_register_script( 'ac-sitewide-notices', AC()->get_plugin_url() . "assets/js/message.js", array( 'jquery' ), AC()->get_version() );
522
+ wp_register_style( 'ac-sitewide-notices', AC()->get_plugin_url() . "assets/css/message.css", array(), AC()->get_version() );
523
  }
524
 
525
  /**
528
  public function is_doing_ajax() {
529
  return defined( 'DOING_AJAX' ) && DOING_AJAX;
530
  }
531
+
532
+ /**
533
+ * @deprecated 3.1.5
534
+ *
535
+ * @param WP_Screen $wp_screen
536
+ */
537
+ public function get_list_screen_by_wpscreen( $wp_screen ) {
538
+ _deprecated_function( __METHOD__, '3.1.5' );
539
+ }
540
+
541
+ /**
542
+ * @deprecated 3.1.5
543
+ * @since 3.0
544
+ */
545
+ public function get_plugin_version( $file ) {
546
+ _deprecated_function( __METHOD__, '3.1.5' );
547
+ }
548
+
549
+ /**
550
+ * Returns the default list screen when no choice is made by the user
551
+ *
552
+ * @deprecated 3.1.5
553
+ * @since 3.0
554
+ */
555
+ public function get_default_list_screen() {
556
+ _deprecated_function( __METHOD__, '3.1.5' );
557
+ }
558
+
559
+ /**
560
+ * @deprecated 3.1.5
561
+ * @since 3.0
562
+ */
563
+ public function minified() {
564
+ _deprecated_function( __METHOD__, '3.1.5' );
565
+ }
566
+
567
  }
568
 
569
  /**
languages/codepress-admin-columns.pot CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2017 Admin Columns
2
  # This file is distributed under the same license as the Admin Columns package.
3
  msgid ""
4
  msgstr ""
@@ -8,7 +8,6 @@ msgstr ""
8
  "Content-Transfer-Encoding: 8bit\n"
9
  "Language-Team: Admin Columns <info@admincolumns.com>\n"
10
  "Last-Translator: Codepress <info@codepress.nl\n"
11
- "Report-Msgid-Bugs-To: https://www.admincolumns.com\n"
12
  "X-Poedit-Basepath: ..\n"
13
  "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
14
  "X-Poedit-SearchPath-0: .\n"
@@ -16,1601 +15,1553 @@ msgstr ""
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
 
19
- #: ../codepress-admin-columns.php:316, ../classes/Admin/Help/CustomField.php:18, ../classes/Settings/Column/CustomFieldType.php:164, ../classes/Settings/Column/Image.php:67, ../classes/Settings/Column/Separator.php:19
20
  msgid "Default"
21
  msgstr ""
22
 
23
- #: ../codepress-admin-columns.php:318
24
  msgid "Custom Fields"
25
  msgstr ""
26
 
27
- #: ../codepress-admin-columns.php:319, ../classes/Settings/Column/CustomFieldType.php:149, ../classes/Settings/Column/Image.php:107
28
  msgid "Custom"
29
  msgstr ""
30
 
31
- #: ../codepress-admin-columns.php:485, ../classes/Settings/Column/CustomFieldType.php:76, ../classes/Settings/Column/PostType.php:19
32
  msgid "Post Type"
33
  msgstr ""
34
 
35
- #: ../classes/Addon.php:270
36
- msgid "Display and edit %s fields in the posts overview in seconds!"
37
- msgstr ""
38
-
39
- #: ../classes/Admin.php:126
40
  msgid "Admin Columns Settings"
41
  msgstr ""
42
 
43
- #: ../classes/Admin.php:126, ../classes/Notice/Review.php:61, ../classes/Plugin/Updater.php:82, ../classes/Admin/Page/Columns.php:18
44
  msgid "Admin Columns"
45
  msgstr ""
46
 
47
- #: ../classes/ListScreen.php:670
48
  msgid "No columns settings available."
49
  msgstr ""
50
 
51
- #: ../classes/TableScreen.php:35
52
  msgid "Invalid item ID."
53
  msgstr ""
54
 
55
- #: ../classes/TableScreen.php:41
56
  msgid "Invalid list screen."
57
  msgstr ""
58
 
59
- #: ../classes/TableScreen.php:49
60
  msgid "Invalid column."
61
  msgstr ""
62
 
63
- #: ../classes/TableScreen.php:53
64
  msgid "Invalid method."
65
  msgstr ""
66
 
67
- #: ../classes/TableScreen.php:119, ../classes/TableScreen.php:121
68
  msgid "Download"
69
  msgstr ""
70
 
71
- #: ../classes/TableScreen.php:210, ../classes/Admin/Page/Settings.php:167
72
  msgid "Edit columns"
73
  msgstr ""
74
 
75
- #: ../classes/Addon/ACF.php:9
76
- msgid "Advanced Custom Fields"
77
- msgstr ""
78
-
79
- #: ../classes/Addon/BuddyPress.php:13
80
- msgid "Display any of your Profile Fields for BuddyPress on your users overview."
81
- msgstr ""
82
-
83
- #: ../classes/Addon/BuddyPress.php:9
84
- msgid "BuddyPress"
85
- msgstr ""
86
-
87
- #: ../classes/Addon/EventsCalendar.php:9
88
- msgid "The Events Calendar"
89
- msgstr ""
90
-
91
- #: ../classes/Addon/NinjaForms.php:9
92
- msgid "Ninja Forms"
93
- msgstr ""
94
-
95
- #: ../classes/Addon/Pods.php:9
96
- msgid "Pods"
97
- msgstr ""
98
-
99
- #: ../classes/Addon/Types.php:9
100
- msgid "Toolset Types"
101
- msgstr ""
102
-
103
- #: ../classes/Addon/WooCommerce.php:10
104
- msgid "Enhance the products, orders and coupons overviews with new columns and inline editing."
105
- msgstr ""
106
-
107
- #: ../classes/Addon/WooCommerce.php:9
108
- msgid "WooCommerce"
109
  msgstr ""
110
 
111
- #: ../classes/Admin/Promo.php:130
112
  msgid "Get %s Off"
113
  msgstr ""
114
 
115
- #: ../classes/Admin/Promo.php:133
116
  msgid "Discount is valid until %s"
117
  msgstr ""
118
 
119
- #: ../classes/Column/Actions.php:15, ../classes/Column/Link/Actions.php:10
120
  msgid "Actions"
121
  msgstr ""
122
 
123
- #: ../classes/Column/CustomField.php:16, ../classes/Admin/Help/CustomField.php:6
124
  msgid "Custom Field"
125
  msgstr ""
126
 
127
- #: ../classes/Column/Menu.php:13
128
  msgid "Menu"
129
  msgstr ""
130
 
131
- #: ../classes/Column/Placeholder.php:31
132
  msgid "The %s column is only available in Admin Columns Pro - Business or Developer."
133
  msgstr ""
134
 
135
- #: ../classes/Column/Placeholder.php:35
136
  msgid "If you have a business or developer licence please download & install your %s add-on from the <a href='%s'>add-ons tab</a>."
137
  msgstr ""
138
 
139
- #: ../classes/Column/Placeholder.php:39
140
  msgid "Admin Columns Pro offers full %s integration, allowing you to easily display and edit %s fields from within your overview."
141
  msgstr ""
142
 
143
- #: ../classes/Column/Placeholder.php:41
144
  msgid "Find out more"
145
  msgstr ""
146
 
147
- #: ../classes/Column/Taxonomy.php:13, ../classes/Settings/Column/Taxonomy.php:26
148
  msgid "Taxonomy"
149
  msgstr ""
150
 
151
- #: ../classes/Helper/Html.php:377
152
  msgid "Show %s more"
153
  msgstr ""
154
 
155
- #: ../classes/Helper/Html.php:381
156
  msgid "Hide"
157
  msgstr ""
158
 
159
- #: ../classes/Helper/String.php:284
160
  msgid " or "
161
  msgstr ""
162
 
163
- #: ../classes/Notice/Review.php:64, ../classes/Admin/Page/Addons.php:60
164
  msgid "Admin Columns Pro"
165
  msgstr ""
166
 
167
- #: ../classes/Notice/Review.php:73
168
  msgid "We don't mean to bug you, but you've been using %s for some time now, and we were wondering if you're happy with the plugin. If so, could you please leave a review at wordpress.org? If you're not happy with %s, please %s."
169
  msgstr ""
170
 
171
- #: ../classes/Notice/Review.php:77
172
  msgid "click here"
173
  msgstr ""
174
 
175
- #: ../classes/Notice/Review.php:81
176
  msgid "Leave a review!"
177
  msgstr ""
178
 
179
- #: ../classes/Notice/Review.php:82
180
  msgid "Permanently hide notice"
181
  msgstr ""
182
 
183
- #: ../classes/Notice/Review.php:89
184
  msgid "We're sorry to hear that; maybe we can help! If you're having problems properly setting up %s or if you would like help with some more advanced features, please visit our %s."
185
  msgstr ""
186
 
187
- #: ../classes/Notice/Review.php:91
188
  msgid "documentation page"
189
  msgstr ""
190
 
191
- #: ../classes/Notice/Review.php:95
192
  msgid "As an Admin Columns Pro user, you can also use your AdminColumns.com account to access product support through %s!"
193
  msgstr ""
194
 
195
- #: ../classes/Notice/Review.php:96
196
  msgid "our forums"
197
  msgstr ""
198
 
199
- #: ../classes/Notice/Review.php:100
200
  msgid "You can also find help on the %s, and %s."
201
  msgstr ""
202
 
203
- #: ../classes/Notice/Review.php:101
204
  msgid "Admin Columns forums on WordPress.org"
205
  msgstr ""
206
 
207
- #: ../classes/Notice/Review.php:102
208
  msgid "find answers to some frequently asked questions"
209
  msgstr ""
210
 
211
- #: ../classes/Plugin/Updater.php:83
 
 
 
 
212
  msgid "We need to update your database to the latest version."
213
  msgstr ""
214
 
215
- #: ../classes/Plugin/Updater.php:85
216
  msgid "Run the updater"
217
  msgstr ""
218
 
219
- #: ../templates/settings/section.php:16
220
  msgid "View more"
221
  msgstr ""
222
 
223
- #: ../classes/Admin/Help/Basics.php:6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
224
  msgid "Basics"
225
  msgstr ""
226
 
227
- #: ../classes/Admin/Help/Basics.php:13
228
  msgid "Change order"
229
  msgstr ""
230
 
231
- #: ../classes/Admin/Help/Basics.php:15
232
  msgid "By dragging the columns you can change the order which they will appear in."
233
  msgstr ""
234
 
235
- #: ../classes/Admin/Help/Basics.php:18
236
  msgid "Change label"
237
  msgstr ""
238
 
239
- #: ../classes/Admin/Help/Basics.php:20
240
  msgid "By clicking on the triangle you will see the column options. Here you can change each label of the columns heading."
241
  msgstr ""
242
 
243
- #: ../classes/Admin/Help/Basics.php:23
244
  msgid "Change column width"
245
  msgstr ""
246
 
247
- #: ../classes/Admin/Help/Basics.php:25
248
  msgid "By clicking on the triangle you will see the column options. By using the draggable slider you can set the width of the columns in percentages."
249
  msgstr ""
250
 
251
- #: ../classes/Admin/Help/CustomField.php:14
252
- msgid "The custom field colum uses the custom fields from posts and users. There are 10 types which you can set."
253
  msgstr ""
254
 
255
- #: ../classes/Admin/Help/CustomField.php:19
256
  msgid "Value: Can be either a string or array. Arrays will be flattened and values are seperated by a ',' comma."
257
  msgstr ""
258
 
259
- #: ../classes/Admin/Help/CustomField.php:22
260
  msgid "Checkmark"
261
  msgstr ""
262
 
263
- #: ../classes/Admin/Help/CustomField.php:23
264
  msgid "Value: should be a 1 (one) or 0 (zero)."
265
  msgstr ""
266
 
267
- #: ../classes/Admin/Help/CustomField.php:26, ../classes/Settings/Column/CustomFieldType.php:96
268
  msgid "Color"
269
  msgstr ""
270
 
271
- #: ../classes/Admin/Help/CustomField.php:27
272
  msgid "Value: hex value color, such as #808080."
273
  msgstr ""
274
 
275
- #: ../classes/Admin/Help/CustomField.php:30
276
  msgid "Counter"
277
  msgstr ""
278
 
279
- #: ../classes/Admin/Help/CustomField.php:31
280
  msgid "Value: Can be either a string or array. This will display a count of the number of times the meta key is used by the item."
281
  msgstr ""
282
 
283
- #: ../classes/Admin/Help/CustomField.php:34, ../classes/Settings/Column/CustomFieldType.php:97
284
  msgid "Date"
285
  msgstr ""
286
 
287
- #: ../classes/Admin/Help/CustomField.php:35
288
  msgid "Value: Can be unix time stamp or a date format as described in the <a href='%s'>Codex</a>. You can change the outputted date format at the <a href='%s'>general settings</a> page."
289
  msgstr ""
290
 
291
- #: ../classes/Admin/Help/CustomField.php:38, ../classes/Column/Post/Excerpt.php:10
292
  msgid "Excerpt"
293
  msgstr ""
294
 
295
- #: ../classes/Admin/Help/CustomField.php:39
296
  msgid "Value: This will show the first 20 words of the Post content."
297
  msgstr ""
298
 
299
- #: ../classes/Admin/Help/CustomField.php:42, ../classes/Column/Link/Image.php:10, ../classes/Settings/Column/CustomFieldType.php:99
300
  msgid "Image"
301
  msgstr ""
302
 
303
- #: ../classes/Admin/Help/CustomField.php:43
304
  msgid "Value: should contain an image URL or Attachment IDs ( seperated by a ',' comma )."
305
  msgstr ""
306
 
307
- #: ../classes/Admin/Help/CustomField.php:46
308
  msgid "Media Library"
309
  msgstr ""
310
 
311
- #: ../classes/Admin/Help/CustomField.php:47
312
  msgid "Value: should contain Attachment IDs ( seperated by a ',' comma )."
313
  msgstr ""
314
 
315
- #: ../classes/Admin/Help/CustomField.php:50, ../classes/Settings/Column/CustomFieldType.php:114
316
  msgid "Multiple Values"
317
  msgstr ""
318
 
319
- #: ../classes/Admin/Help/CustomField.php:51
320
  msgid "Value: should be an array. This will flatten any ( multi dimensional ) array."
321
  msgstr ""
322
 
323
- #: ../classes/Admin/Help/CustomField.php:54
324
  msgid "Numeric"
325
  msgstr ""
326
 
327
- #: ../classes/Admin/Help/CustomField.php:55
328
  msgid "Value: Integers only.<br/>If you have the 'sorting addon' this will be used for sorting, so you can sort your posts on numeric (custom field) values."
329
  msgstr ""
330
 
331
- #: ../classes/Admin/Help/CustomField.php:58
332
  msgid "Post Titles"
333
  msgstr ""
334
 
335
- #: ../classes/Admin/Help/CustomField.php:59
336
  msgid "Value: can be one or more Post ID's (seperated by ',')."
337
  msgstr ""
338
 
339
- #: ../classes/Admin/Help/CustomField.php:62
340
  msgid "Usernames"
341
  msgstr ""
342
 
343
- #: ../classes/Admin/Help/CustomField.php:63
344
  msgid "Value: can be one or more User ID's (seperated by ',')."
345
  msgstr ""
346
 
347
- #: ../classes/Admin/Help/Introduction.php:6
348
  msgid "Overview"
349
  msgstr ""
350
 
351
- #: ../classes/Admin/Help/Introduction.php:14
352
  msgid "This plugin is for adding and removing additional columns to the administration screens for post(types), pages, media library, comments, links and users. Change the column's label and reorder them."
353
  msgstr ""
354
 
355
- #: ../classes/Admin/Page/Addons.php:8
356
  msgid "Add-ons"
357
  msgstr ""
358
 
359
- #: ../classes/Admin/Page/Addons.php:42
360
  msgid "%s plugin needs to be installed for the add-on to work."
361
  msgstr ""
362
 
363
- #: ../classes/Admin/Page/Addons.php:44
364
  msgid "%s plugin is installed, but not active."
365
  msgstr ""
366
 
367
- #: ../classes/Admin/Page/Addons.php:47
368
  msgid "Click %s to activate the plugin."
369
  msgstr ""
370
 
371
- #: ../classes/Admin/Page/Addons.php:60
372
  msgid "%s add-on requires %s."
373
  msgid_plural "%s add-ons requires %s."
374
  msgstr[0] ""
375
  msgstr[1] ""
376
 
377
- #: ../classes/Admin/Page/Addons.php:93
378
  msgid "%s plugin successfully activated."
379
  msgstr ""
380
 
381
- #: ../classes/Admin/Page/Addons.php:94
382
  msgid "%s plugin successfully deactivated."
383
  msgstr ""
384
 
385
- #: ../classes/Admin/Page/Addons.php:99
386
  msgid "%s successfully activated."
387
  msgstr ""
388
 
389
- #: ../classes/Admin/Page/Addons.php:100
390
  msgid "%s successfully deactivated."
391
  msgstr ""
392
 
393
- #: ../classes/Admin/Page/Addons.php:109
394
  msgid "%s could not be activated."
395
  msgstr ""
396
 
397
- #: ../classes/Admin/Page/Addons.php:109
398
  msgid "Please visit the %s page."
399
  msgstr ""
400
 
401
- #: ../classes/Admin/Page/Addons.php:172
402
  msgid "Did you know Admin Columns Pro has an integration addon for %s? With the proper Admin Columns Pro license, you can download them from %s!"
403
  msgstr ""
404
 
405
- #: ../classes/Admin/Page/Addons.php:172
406
  msgid "the addons page"
407
  msgstr ""
408
 
409
- #: ../classes/Admin/Page/Addons.php:210
410
  msgid "Addon does not exist."
411
  msgstr ""
412
 
413
- #: ../classes/Admin/Page/Addons.php:216
414
  msgid "You need Admin Columns Pro."
415
  msgstr ""
416
 
417
- #: ../classes/Admin/Page/Addons.php:287
418
  msgid "Installed"
419
  msgstr ""
420
 
421
- #: ../classes/Admin/Page/Addons.php:288
422
  msgid "Recommended"
423
  msgstr ""
424
 
425
- #: ../classes/Admin/Page/Addons.php:289
426
  msgid "Available"
427
  msgstr ""
428
 
429
- #: ../classes/Admin/Page/Addons.php:401
430
  msgid "Active"
431
  msgstr ""
432
 
433
- #: ../classes/Admin/Page/Addons.php:404
434
  msgid "Deactivate"
435
  msgstr ""
436
 
437
- #: ../classes/Admin/Page/Addons.php:408
438
  msgid "Activate"
439
  msgstr ""
440
 
441
- #: ../classes/Admin/Page/Addons.php:414
442
  msgid "Download & Install"
443
  msgstr ""
444
 
445
- #: ../classes/Admin/Page/Addons.php:416
446
  msgid "Get this add-on"
447
  msgstr ""
448
 
449
- #: ../classes/Admin/Page/Columns.php:67, ../classes/Admin/Page/Columns.php:261
450
  msgid "%s column is already present and can not be duplicated."
451
  msgstr ""
452
 
453
- #: ../classes/Admin/Page/Columns.php:68
454
  msgid "Invalid response."
455
  msgstr ""
456
 
457
- #: ../classes/Admin/Page/Columns.php:160
458
  msgid "Settings for %s restored successfully."
459
  msgstr ""
460
 
461
- #: ../classes/Admin/Page/Columns.php:234
462
  msgid "Please visit the %s screen once to load all available columns"
463
  msgstr ""
464
 
465
- #: ../classes/Admin/Page/Columns.php:314
466
  msgid "You need at least one column"
467
  msgstr ""
468
 
469
- #: ../classes/Admin/Page/Columns.php:321
470
  msgid "View %s screen"
471
  msgstr ""
472
 
473
- #: ../classes/Admin/Page/Columns.php:328
474
  msgid "You are trying to store the same settings for %s."
475
  msgstr ""
476
 
477
- #: ../classes/Admin/Page/Columns.php:341
478
  msgid "Settings for %s updated successfully."
479
  msgstr ""
480
 
481
- #: ../classes/Admin/Page/Columns.php:444
482
  msgid "The columns for %s are set up via PHP and can therefore not be edited."
483
  msgstr ""
484
 
485
- #: ../classes/Admin/Page/Columns.php:476
486
  msgid "View"
487
  msgstr ""
488
 
489
- #: ../classes/Admin/Page/Columns.php:490
490
  msgid "Store settings"
491
  msgstr ""
492
 
493
- #: ../classes/Admin/Page/Columns.php:512
494
  msgid "Warning! The %s columns data will be deleted. This cannot be undone. 'OK' to delete, 'Cancel' to stop"
495
  msgstr ""
496
 
497
- #: ../classes/Admin/Page/Columns.php:513
498
  msgid "Restore columns"
499
  msgstr ""
500
 
501
- #: ../classes/Admin/Page/Columns.php:532
502
  msgid "Upgrade to"
503
  msgstr ""
504
 
505
- #: ../classes/Admin/Page/Columns.php:532
506
  msgid "Pro"
507
  msgstr ""
508
 
509
- #: ../classes/Admin/Page/Columns.php:537
510
  msgid "Take Admin Columns to the next level:"
511
  msgstr ""
512
 
513
- #: ../classes/Admin/Page/Columns.php:542
514
  msgid "Add sortable columns"
515
  msgstr ""
516
 
517
- #: ../classes/Admin/Page/Columns.php:543
518
  msgid "Add filterable columns"
519
  msgstr ""
520
 
521
- #: ../classes/Admin/Page/Columns.php:544
522
  msgid "Edit your column content directly"
523
  msgstr ""
524
 
525
- #: ../classes/Admin/Page/Columns.php:545
526
  msgid "Create multiple columns sets"
527
  msgstr ""
528
 
529
- #: ../classes/Admin/Page/Columns.php:546
530
  msgid "Import &amp; Export settings"
531
  msgstr ""
532
 
533
- #: ../classes/Admin/Page/Columns.php:558
534
  msgid "Extra Columns for:"
535
  msgstr ""
536
 
537
- #: ../classes/Admin/Page/Columns.php:569
538
  msgid "Prices starting from %s"
539
  msgstr ""
540
 
541
- #: ../classes/Admin/Page/Columns.php:574
542
  msgid "Learn more about Pro"
543
  msgstr ""
544
 
545
- #: ../classes/Admin/Page/Columns.php:591
546
  msgid "Get %s Off!"
547
  msgstr ""
548
 
549
- #: ../classes/Admin/Page/Columns.php:595
550
  msgid "Submit your email and we'll send you a discount for %s off."
551
  msgstr ""
552
 
553
- #: ../classes/Admin/Page/Columns.php:602
554
  msgid "Your Email"
555
  msgstr ""
556
 
557
- #: ../classes/Admin/Page/Columns.php:603
558
  msgid "Your First Name"
559
  msgstr ""
560
 
561
- #: ../classes/Admin/Page/Columns.php:604
562
  msgid "Send me the discount"
563
  msgstr ""
564
 
565
- #: ../classes/Admin/Page/Columns.php:615
566
  msgid "Are you happy with Admin Columns?"
567
  msgstr ""
568
 
569
- #: ../classes/Admin/Page/Columns.php:625
570
  msgid "What's wrong? Need help? Let us know!"
571
  msgstr ""
572
 
573
- #: ../classes/Admin/Page/Columns.php:628
574
  msgid "Check out our extensive documentation, or you can open a support topic on WordPress.org!"
575
  msgstr ""
576
 
577
- #: ../classes/Admin/Page/Columns.php:633
578
  msgid "Docs"
579
  msgstr ""
580
 
581
- #: ../classes/Admin/Page/Columns.php:638
582
  msgid "Forums"
583
  msgstr ""
584
 
585
- #: ../classes/Admin/Page/Columns.php:648
586
  msgid "Woohoo! We're glad to hear that!"
587
  msgstr ""
588
 
589
- #: ../classes/Admin/Page/Columns.php:651
590
  msgid "We would really love it if you could show your appreciation by giving us a rating on WordPress.org or tweet about Admin Columns!"
591
  msgstr ""
592
 
593
- #: ../classes/Admin/Page/Columns.php:656
594
  msgid "Rate"
595
  msgstr ""
596
 
597
- #: ../classes/Admin/Page/Columns.php:661
598
  msgid "I'm using Admin Columns for WordPress!"
599
  msgstr ""
600
 
601
- #: ../classes/Admin/Page/Columns.php:662
602
  msgid "Tweet"
603
  msgstr ""
604
 
605
- #: ../classes/Admin/Page/Columns.php:668
606
  msgid "Buy Pro"
607
  msgstr ""
608
 
609
- #: ../classes/Admin/Page/Columns.php:680
610
  msgid "Support"
611
  msgstr ""
612
 
613
- #: ../classes/Admin/Page/Columns.php:685
614
  msgid "Check the <strong>Help</strong> section in the top-right screen."
615
  msgstr ""
616
 
617
- #: ../classes/Admin/Page/Columns.php:689
618
  msgid "For full documentation, bug reports, feature suggestions and other tips <a href='%s'>visit the Admin Columns website</a>"
619
  msgstr ""
620
 
621
- #: ../classes/Admin/Page/Columns.php:740
622
  msgid "Drag and drop to reorder"
623
  msgstr ""
624
 
625
- #: ../classes/Admin/Page/Columns.php:754
626
  msgid "Clear all columns "
627
  msgstr ""
628
 
629
- #: ../classes/Admin/Page/Columns.php:760
630
  msgid "Add Column"
631
  msgstr ""
632
 
633
- #: ../classes/Admin/Page/Columns.php:845
634
  msgid "Edit"
635
  msgstr ""
636
 
637
- #: ../classes/Admin/Page/Columns.php:846, ../classes/Admin/Page/Columns.php:881
638
  msgid "Close"
639
  msgstr ""
640
 
641
- #: ../classes/Admin/Page/Columns.php:848, ../classes/Admin/Page/Columns.php:883
642
  msgid "Clone"
643
  msgstr ""
644
 
645
- #: ../classes/Admin/Page/Columns.php:850
646
  msgid "Remove"
647
  msgstr ""
648
 
649
- #: ../classes/Admin/Page/Help.php:30, ../classes/Admin/Page/Help.php:307
650
  msgid "Help"
651
  msgstr ""
652
 
653
- #: ../classes/Admin/Page/Help.php:167
654
  msgid "Deprecated Filters"
655
  msgstr ""
656
 
657
- #: ../classes/Admin/Page/Help.php:168
658
  msgid "Deprecated Actions"
659
  msgstr ""
660
 
661
- #: ../classes/Admin/Page/Help.php:181
662
  msgid "The filter %s used on this website is deprecated since %s."
663
  msgstr ""
664
 
665
- #: ../classes/Admin/Page/Help.php:194
666
  msgid "The action %s used on this website is deprecated since %s."
667
  msgstr ""
668
 
669
- #: ../classes/Admin/Page/Help.php:244
670
  msgid "View documentation"
671
  msgstr ""
672
 
673
- #: ../classes/Admin/Page/Help.php:299
674
  msgid "The callback used is %s."
675
  msgid_plural "The callbacks used are %s"
676
  msgstr[0] ""
677
  msgstr[1] ""
678
 
679
- #: ../classes/Admin/Page/Help.php:309
680
  msgid "The Admin Columns plugin has undergone some major changes in version 4."
681
  msgstr ""
682
 
683
- #: ../classes/Admin/Page/Help.php:311
684
  msgid "This site is using some actions or filters that have changed. Please read %s to resolve them."
685
  msgstr ""
686
 
687
- #: ../classes/Admin/Page/Help.php:311
688
  msgid "our documentation"
689
  msgstr ""
690
 
691
- #: ../classes/Admin/Page/Settings.php:14
692
  msgid "Settings"
693
  msgstr ""
694
 
695
- #: ../classes/Admin/Page/Settings.php:97
696
  msgid "Default settings succesfully restored."
697
  msgstr ""
698
 
699
- #: ../classes/Admin/Page/Settings.php:123
700
  msgid "Instructions"
701
  msgstr ""
702
 
703
- #: ../classes/Admin/Page/Settings.php:129
704
  msgid "Notice"
705
  msgstr ""
706
 
707
- #: ../classes/Admin/Page/Settings.php:142
708
  msgid "off"
709
  msgstr ""
710
 
711
- #: ../classes/Admin/Page/Settings.php:145
712
  msgid "on"
713
  msgstr ""
714
 
715
- #: ../classes/Admin/Page/Settings.php:148
716
  msgid "Default is %s."
717
  msgstr ""
718
 
719
- #: ../classes/Admin/Page/Settings.php:156
720
  msgid "General Settings"
721
  msgstr ""
722
 
723
- #: ../classes/Admin/Page/Settings.php:157
724
  msgid "Customize your Admin Columns settings."
725
  msgstr ""
726
 
727
- #: ../classes/Admin/Page/Settings.php:167
728
  msgid "Show %s button on table screen."
729
  msgstr ""
730
 
731
- #: ../classes/Admin/Page/Settings.php:216
732
  msgid "Restore Settings"
733
  msgstr ""
734
 
735
- #: ../classes/Admin/Page/Settings.php:217
736
  msgid "This will delete all column settings and restore the default settings."
737
  msgstr ""
738
 
739
- #: ../classes/Admin/Page/Settings.php:225
740
  msgid "Restore default settings"
741
  msgstr ""
742
 
743
- #: ../classes/Admin/Page/Settings.php:225
744
  msgid "Warning! ALL saved admin columns data will be deleted. This cannot be undone. 'OK' to delete, 'Cancel' to stop"
745
  msgstr ""
746
 
747
- #: ../classes/Admin/Page/Upgrade.php:22, ../classes/Admin/Page/Upgrade.php:315
748
- msgid "Upgrade"
749
- msgstr ""
750
-
751
- #: ../classes/Admin/Page/Upgrade.php:42
752
- msgid "The pro add-on is no longer supported. Please login to your account and download Admin Columns Pro"
753
- msgstr ""
754
-
755
- #: ../classes/Admin/Page/Upgrade.php:43
756
- msgid "Learn more"
757
- msgstr ""
758
-
759
- #: ../classes/Admin/Page/Upgrade.php:251
760
- msgid "Migrating Column Settings"
761
- msgstr ""
762
-
763
- #: ../classes/Admin/Page/Upgrade.php:287
764
- msgid "No Upgrade Required"
765
- msgstr ""
766
-
767
- #: ../classes/Admin/Page/Upgrade.php:288
768
- msgid "Return to welcome screen."
769
- msgstr ""
770
-
771
- #: ../classes/Admin/Page/Upgrade.php:304
772
- msgid "Upgrade Complete!"
773
- msgstr ""
774
-
775
- #: ../classes/Admin/Page/Upgrade.php:304
776
- msgid "Return to settings."
777
- msgstr ""
778
-
779
- #: ../classes/Admin/Page/Upgrade.php:305
780
- msgid "Error"
781
- msgstr ""
782
-
783
- #: ../classes/Admin/Page/Upgrade.php:306
784
- msgid "Sorry. Something went wrong during the upgrade process. Please report this on the support forum."
785
- msgstr ""
786
-
787
- #: ../classes/Admin/Page/Welcome.php:8
788
- msgid "Welcome"
789
- msgstr ""
790
-
791
- #: ../classes/Admin/Page/Welcome.php:25
792
- msgid "Changelog for"
793
- msgstr ""
794
-
795
- #: ../classes/Admin/Page/Welcome.php:54
796
- msgid "Welcome to Admin Columns"
797
- msgstr ""
798
-
799
- #: ../classes/Admin/Page/Welcome.php:57
800
- msgid "Thank you for updating to the latest version!"
801
- msgstr ""
802
-
803
- #: ../classes/Admin/Page/Welcome.php:58
804
- msgid "Admin Columns is more polished and enjoyable than ever before. We hope you like it."
805
- msgstr ""
806
-
807
- #: ../classes/Admin/Page/Welcome.php:86
808
- msgid "Start using Admin Columns"
809
- msgstr ""
810
-
811
- #: ../classes/Column/Comment/Agent.php:10
812
  msgid "Agent"
813
  msgstr ""
814
 
815
- #: ../classes/Column/Comment/Approved.php:10, ../classes/Settings/Column/CommentCount.php:42
816
  msgid "Approved"
817
  msgstr ""
818
 
819
- #: ../classes/Column/Comment/AuthorAvatar.php:10
820
  msgid "Avatar"
821
  msgstr ""
822
 
823
- #: ../classes/Column/Comment/AuthorEmail.php:10
824
  msgid "Author Email"
825
  msgstr ""
826
 
827
- #: ../classes/Column/Comment/AuthorIP.php:7
828
  msgid "Author IP"
829
  msgstr ""
830
 
831
- #: ../classes/Column/Comment/AuthorName.php:10
832
  msgid "Author Name"
833
  msgstr ""
834
 
835
- #: ../classes/Column/Comment/AuthorUrl.php:10
836
  msgid "Author Url"
837
  msgstr ""
838
 
839
- #: ../classes/Column/Comment/DateGmt.php:10
840
  msgid "Date GMT"
841
  msgstr ""
842
 
843
- #: ../classes/Column/Comment/DateGmt.php:16
844
  msgid "Submitted on <a href=\"%1$s\">%2$s at %3$s</a>"
845
  msgstr ""
846
 
847
- #: ../classes/Column/Comment/Excerpt.php:10, ../classes/Column/Post/Content.php:10
848
  msgid "Content"
849
  msgstr ""
850
 
851
- #: ../classes/Column/Comment/ID.php:10, ../classes/Column/Link/ID.php:10, ../classes/Column/Media/ID.php:10, ../classes/Column/Post/ID.php:10
852
  msgid "ID"
853
  msgstr ""
854
 
855
- #: ../classes/Column/Comment/Post.php:10, ../classes/Settings/Column/CustomFieldType.php:109
856
  msgid "Post"
857
  msgstr ""
858
 
859
- #: ../classes/Column/Comment/ReplyTo.php:10
860
  msgid "In Reply To"
861
  msgstr ""
862
 
863
- #: ../classes/Column/Comment/Status.php:10, ../classes/Column/Post/Status.php:7
864
  msgid "Status"
865
  msgstr ""
866
 
867
- #: ../classes/Column/Comment/Type.php:10, ../classes/Settings/Column/CustomFieldType.php:52, ../classes/Settings/Column/Type.php:22, ../classes/Settings/Column/Type.php:30
868
  msgid "Type"
869
  msgstr ""
870
 
871
- #: ../classes/Column/Comment/User.php:10, ../classes/Settings/Column/CustomFieldType.php:80, ../classes/Settings/Column/CustomFieldType.php:110, ../classes/Settings/Column/User.php:49
872
  msgid "User"
873
  msgstr ""
874
 
875
- #: ../classes/Column/Comment/WordCount.php:10, ../classes/Column/Post/WordCount.php:10
876
  msgid "Word Count"
877
  msgstr ""
878
 
879
- #: ../classes/Column/Link/Actions.php:36
880
  msgid ""
881
  "You are about to delete this link '%s'\n"
882
  " 'Cancel' to stop, 'OK' to delete."
883
  msgstr ""
884
 
885
- #: ../classes/Column/Link/Description.php:10, ../classes/Column/Media/Description.php:12, ../classes/Column/User/Description.php:10
886
  msgid "Description"
887
  msgstr ""
888
 
889
- #: ../classes/Column/Link/Length.php:10
890
  msgid "Length"
891
  msgstr ""
892
 
893
- #: ../classes/Column/Link/Notes.php:10
894
  msgid "Notes"
895
  msgstr ""
896
 
897
- #: ../classes/Column/Link/Owner.php:10
898
  msgid "Owner"
899
  msgstr ""
900
 
901
- #: ../classes/Column/Link/Rss.php:10
902
  msgid "Rss"
903
  msgstr ""
904
 
905
- #: ../classes/Column/Link/Target.php:10
906
  msgid "Target"
907
  msgstr ""
908
 
909
- #: ../classes/Column/Media/AlternateText.php:10
910
  msgid "Alternative Text"
911
  msgstr ""
912
 
913
- #: ../classes/Column/Media/AvailableSizes.php:12
914
  msgid "Available Sizes"
915
  msgstr ""
916
 
917
- #: ../classes/Column/Media/AvailableSizes.php:31
918
  msgid "original"
919
  msgstr ""
920
 
921
- #: ../classes/Column/Media/AvailableSizes.php:47
922
  msgid "Missing image file for size %s."
923
  msgstr ""
924
 
925
- #: ../classes/Column/Media/Caption.php:10, ../classes/Settings/Column/ExifData.php:71
926
  msgid "Caption"
927
  msgstr ""
928
 
929
- #: ../classes/Column/Media/Dimensions.php:12
930
  msgid "Dimensions"
931
  msgstr ""
932
 
933
- #: ../classes/Column/Media/Dimensions.php:24
934
  msgid "Width : %s px"
935
  msgstr ""
936
 
937
- #: ../classes/Column/Media/Dimensions.php:24
938
  msgid "Height : %s px"
939
  msgstr ""
940
 
941
- #: ../classes/Column/Media/ExifData.php:12
942
  msgid "EXIF Data"
943
  msgstr ""
944
 
945
- #: ../classes/Column/Media/FileName.php:10
946
  msgid "Filename"
947
  msgstr ""
948
 
949
- #: ../classes/Column/Media/FileSize.php:10
950
  msgid "File Size"
951
  msgstr ""
952
 
953
- #: ../classes/Column/Media/FullPath.php:10
954
  msgid "Full Path"
955
  msgstr ""
956
 
957
- #: ../classes/Column/Media/Height.php:12, ../classes/Settings/Column/Image.php:42
958
  msgid "Height"
959
  msgstr ""
960
 
961
- #: ../classes/Column/Media/MimeType.php:10
962
  msgid "Mime Type"
963
  msgstr ""
964
 
965
- #: ../classes/Column/Media/Width.php:12, ../classes/Settings/Column/Image.php:36, ../classes/Settings/Column/Width.php:48
966
  msgid "Width"
967
  msgstr ""
968
 
969
- #: ../classes/Column/Post/Attachment.php:10
970
  msgid "Attachments"
971
  msgstr ""
972
 
973
- #: ../classes/Column/Post/AuthorName.php:13
974
  msgid "Author"
975
  msgstr ""
976
 
977
- #: ../classes/Column/Post/BeforeMoreTag.php:10
978
  msgid "More Tag"
979
  msgstr ""
980
 
981
- #: ../classes/Column/Post/CommentCount.php:13, ../classes/Column/User/CommentCount.php:10
982
  msgid "Comment Count"
983
  msgstr ""
984
 
985
- #: ../classes/Column/Post/CommentStatus.php:13
986
  msgid "Allow Comments"
987
  msgstr ""
988
 
989
- #: ../classes/Column/Post/DatePublished.php:10
990
  msgid "Date Published"
991
  msgstr ""
992
 
993
- #: ../classes/Column/Post/Depth.php:12
994
  msgid "Depth"
995
  msgstr ""
996
 
997
- #: ../classes/Column/Post/EstimatedReadingTime.php:10
998
  msgid "Estimated Reading Time"
999
  msgstr ""
1000
 
1001
- #: ../classes/Column/Post/FeaturedImage.php:10
1002
  msgid "Featured Image"
1003
  msgstr ""
1004
 
1005
- #: ../classes/Column/Post/Formats.php:10
1006
  msgid "Post Format"
1007
  msgstr ""
1008
 
1009
- #: ../classes/Column/Post/LastModifiedAuthor.php:13
1010
  msgid "Last Modified Author"
1011
  msgstr ""
1012
 
1013
- #: ../classes/Column/Post/Modified.php:10
1014
  msgid "Last Modified"
1015
  msgstr ""
1016
 
1017
- #: ../classes/Column/Post/Order.php:10
1018
  msgid "Order"
1019
  msgstr ""
1020
 
1021
- #: ../classes/Column/Post/PageTemplate.php:10
1022
  msgid "Page Template"
1023
  msgstr ""
1024
 
1025
- #: ../classes/Column/Post/Parent.php:10
1026
  msgid "Parent"
1027
  msgstr ""
1028
 
1029
- #: ../classes/Column/Post/Path.php:12
1030
  msgid "Path"
1031
  msgstr ""
1032
 
1033
- #: ../classes/Column/Post/Permalink.php:12
1034
  msgid "Permalink"
1035
  msgstr ""
1036
 
1037
- #: ../classes/Column/Post/PingStatus.php:10
1038
  msgid "Ping Status"
1039
  msgstr ""
1040
 
1041
- #: ../classes/Column/Post/Roles.php:10, ../classes/Settings/Column/User.php:115
1042
- msgid "Roles"
1043
- msgstr ""
1044
-
1045
- #: ../classes/Column/Post/Shortcodes.php:12
1046
  msgid "Shortcodes"
1047
  msgstr ""
1048
 
1049
- #: ../classes/Column/Post/Shortlink.php:10
1050
  msgid "Shortlink"
1051
  msgstr ""
1052
 
1053
- #: ../classes/Column/Post/Slug.php:10
1054
  msgid "Slug"
1055
  msgstr ""
1056
 
1057
- #: ../classes/Column/Post/Sticky.php:12
1058
  msgid "Sticky"
1059
  msgstr ""
1060
 
1061
- #: ../classes/Column/Post/TitleRaw.php:10
1062
  msgid "Title Only"
1063
  msgstr ""
1064
 
1065
- #: ../classes/Column/User/DisplayName.php:10, ../classes/Settings/Column/User.php:106
1066
  msgid "Display Name"
1067
  msgstr ""
1068
 
1069
- #: ../classes/Column/User/FirstName.php:10, ../classes/Settings/Column/User.php:107
1070
  msgid "First Name"
1071
  msgstr ""
1072
 
1073
- #: ../classes/Column/User/ID.php:10, ../classes/Settings/Column/User.php:112
1074
  msgid "User ID"
1075
  msgstr ""
1076
 
1077
- #: ../classes/Column/User/LastName.php:10
1078
  msgid "Last name"
1079
  msgstr ""
1080
 
1081
- #: ../classes/Column/User/Nickname.php:10, ../classes/Settings/Column/User.php:109
1082
  msgid "Nickname"
1083
  msgstr ""
1084
 
1085
- #: ../classes/Column/User/PostCount.php:10
1086
  msgid "Post Count"
1087
  msgstr ""
1088
 
1089
- #: ../classes/Column/User/Registered.php:10
1090
  msgid "Registered"
1091
  msgstr ""
1092
 
1093
- #: ../classes/Column/User/RichEditing.php:7
1094
  msgid "Visual Editor"
1095
  msgstr ""
1096
 
1097
- #: ../classes/Column/User/ShowToolbar.php:10
1098
  msgid "Show Toolbar"
1099
  msgstr ""
1100
 
1101
- #: ../classes/Column/User/Url.php:10
1102
  msgid "Website"
1103
  msgstr ""
1104
 
1105
- #: ../classes/Settings/Column/ActionIcons.php:22
1106
  msgid "Use icons?"
1107
  msgstr ""
1108
 
1109
- #: ../classes/Settings/Column/ActionIcons.php:23
1110
  msgid "Use icons instead of text for displaying the actions."
1111
  msgstr ""
1112
 
1113
- #: ../classes/Settings/Column/AttachmentDisplay.php:35, ../classes/Settings/Column/Post.php:70, ../classes/Settings/Column/Term.php:29, ../classes/Settings/Column/User.php:33
1114
  msgid "Display"
1115
  msgstr ""
1116
 
1117
- #: ../classes/Settings/Column/BeforeAfter.php:54
1118
  msgid "Before"
1119
  msgstr ""
1120
 
1121
- #: ../classes/Settings/Column/BeforeAfter.php:55
1122
  msgid "This text will appear before the column value."
1123
  msgstr ""
1124
 
1125
- #: ../classes/Settings/Column/BeforeAfter.php:63
1126
  msgid "After"
1127
  msgstr ""
1128
 
1129
- #: ../classes/Settings/Column/BeforeAfter.php:64
1130
  msgid "This text will appear after the column value."
1131
  msgstr ""
1132
 
1133
- #: ../classes/Settings/Column/BeforeAfter.php:70
1134
  msgid "Display Options"
1135
  msgstr ""
1136
 
1137
- #: ../classes/Settings/Column/CharacterLimit.php:23
1138
  msgid "Character Limit"
1139
  msgstr ""
1140
 
1141
- #: ../classes/Settings/Column/CharacterLimit.php:24
1142
  msgid "Maximum number of characters"
1143
  msgstr ""
1144
 
1145
- #: ../classes/Settings/Column/CharacterLimit.php:24, ../classes/Settings/Column/NumberOfItems.php:26, ../classes/Settings/Column/WordLimit.php:31
1146
  msgid "Leave empty for no limit"
1147
  msgstr ""
1148
 
1149
- #: ../classes/Settings/Column/CommentCount.php:29
1150
  msgid "Comment status"
1151
  msgstr ""
1152
 
1153
- #: ../classes/Settings/Column/CommentCount.php:30
1154
  msgid "Select which comment status you like to display."
1155
  msgstr ""
1156
 
1157
- #: ../classes/Settings/Column/CommentCount.php:43
1158
  msgid "Pending"
1159
  msgstr ""
1160
 
1161
- #: ../classes/Settings/Column/CommentCount.php:44
1162
  msgid "Spam"
1163
  msgstr ""
1164
 
1165
- #: ../classes/Settings/Column/CommentCount.php:45
1166
  msgid "Trash"
1167
  msgstr ""
1168
 
1169
- #: ../classes/Settings/Column/CommentCount.php:51
1170
  msgid "Total"
1171
  msgstr ""
1172
 
1173
- #: ../classes/Settings/Column/CustomField.php:13
1174
  msgid "Custom field key"
1175
  msgstr ""
1176
 
1177
- #: ../classes/Settings/Column/CustomField.php:17
1178
  msgid "No custom fields available."
1179
  msgstr ""
1180
 
1181
- #: ../classes/Settings/Column/CustomField.php:17
1182
  msgid "Please create a %s item first."
1183
  msgstr ""
1184
 
1185
- #: ../classes/Settings/Column/CustomFieldType.php:49
1186
  msgid "This will determine how the value will be displayed."
1187
  msgstr ""
1188
 
1189
- #: ../classes/Settings/Column/CustomFieldType.php:56
1190
  msgid "Field Type"
1191
  msgstr ""
1192
 
1193
- #: ../classes/Settings/Column/CustomFieldType.php:65
1194
  msgid "Uses the id from a %s to display information about it."
1195
  msgstr ""
1196
 
1197
- #: ../classes/Settings/Column/CustomFieldType.php:66
1198
  msgid "Multiple ids should be separated by a comma."
1199
  msgstr ""
1200
 
1201
- #: ../classes/Settings/Column/CustomFieldType.php:100
1202
  msgid "Url"
1203
  msgstr ""
1204
 
1205
- #: ../classes/Settings/Column/CustomFieldType.php:101
1206
  msgid "Number"
1207
  msgstr ""
1208
 
1209
- #: ../classes/Settings/Column/CustomFieldType.php:104
1210
  msgid "Has Content"
1211
  msgstr ""
1212
 
1213
- #: ../classes/Settings/Column/CustomFieldType.php:105
1214
  msgid "True / False"
1215
  msgstr ""
1216
 
1217
- #: ../classes/Settings/Column/CustomFieldType.php:108
1218
  msgid "Media"
1219
  msgstr ""
1220
 
1221
- #: ../classes/Settings/Column/CustomFieldType.php:113
1222
  msgid "Number of Fields"
1223
  msgstr ""
1224
 
1225
- #: ../classes/Settings/Column/CustomFieldType.php:145
1226
  msgid "Basic"
1227
  msgstr ""
1228
 
1229
- #: ../classes/Settings/Column/CustomFieldType.php:146
1230
  msgid "Relational"
1231
  msgstr ""
1232
 
1233
- #: ../classes/Settings/Column/CustomFieldType.php:147
1234
  msgid "Choice"
1235
  msgstr ""
1236
 
1237
- #: ../classes/Settings/Column/CustomFieldType.php:148
1238
  msgid "Multiple"
1239
  msgstr ""
1240
 
1241
- #: ../classes/Settings/Column/Date.php:28
1242
- msgid "Date Format"
1243
  msgstr ""
1244
 
1245
- #: ../classes/Settings/Column/Date.php:29
1246
- msgid "This will determine how the date will be displayed."
1247
  msgstr ""
1248
 
1249
- #: ../classes/Settings/Column/Date.php:65
1250
- msgid "Time Difference"
1251
  msgstr ""
1252
 
1253
- #: ../classes/Settings/Column/Date.php:66
1254
- msgid "The difference is returned in a human readable format."
1255
  msgstr ""
1256
 
1257
- #: ../classes/Settings/Column/Date.php:66
1258
- msgid "For example: %s."
1259
  msgstr ""
1260
 
1261
- #: ../classes/Settings/Column/Date.php:72
1262
- msgid "WordPress Date Format"
1263
  msgstr ""
1264
 
1265
- #: ../classes/Settings/Column/Date.php:77
1266
  msgid "The %s can be changed in %s."
1267
  msgstr ""
1268
 
1269
- #: ../classes/Settings/Column/Date.php:94
 
 
 
 
 
 
 
 
1270
  msgid "Custom:"
1271
  msgstr ""
1272
 
1273
- #: ../classes/Settings/Column/Date.php:95
1274
  msgid "Learn more about %s."
1275
  msgstr ""
1276
 
1277
- #: ../classes/Settings/Column/Date.php:95
1278
  msgid "date and time formatting"
1279
  msgstr ""
1280
 
1281
- #: ../classes/Settings/Column/Date.php:179
1282
- msgid "in %s"
1283
- msgstr ""
1284
-
1285
- #: ../classes/Settings/Column/ExifData.php:68
1286
  msgid "Aperture"
1287
  msgstr ""
1288
 
1289
- #: ../classes/Settings/Column/ExifData.php:69
1290
  msgid "Credit"
1291
  msgstr ""
1292
 
1293
- #: ../classes/Settings/Column/ExifData.php:70
1294
  msgid "Camera"
1295
  msgstr ""
1296
 
1297
- #: ../classes/Settings/Column/ExifData.php:72
1298
  msgid "Timestamp"
1299
  msgstr ""
1300
 
1301
- #: ../classes/Settings/Column/ExifData.php:73
1302
  msgid "Copyright"
1303
  msgstr ""
1304
 
1305
- #: ../classes/Settings/Column/ExifData.php:74
1306
  msgid "Focal Length"
1307
  msgstr ""
1308
 
1309
- #: ../classes/Settings/Column/ExifData.php:75
1310
  msgid "ISO"
1311
  msgstr ""
1312
 
1313
- #: ../classes/Settings/Column/ExifData.php:76
1314
  msgid "Shutter Speed"
1315
  msgstr ""
1316
 
1317
- #: ../classes/Settings/Column/ExifData.php:77
1318
  msgid "Title"
1319
  msgstr ""
1320
 
1321
- #: ../classes/Settings/Column/ExifData.php:78
1322
  msgid "Orientation"
1323
  msgstr ""
1324
 
1325
- #: ../classes/Settings/Column/ExifData.php:79
1326
  msgid "Keywords"
1327
  msgstr ""
1328
 
1329
- #: ../classes/Settings/Column/Image.php:37
1330
  msgid "Width in pixels"
1331
  msgstr ""
1332
 
1333
- #: ../classes/Settings/Column/Image.php:43
1334
  msgid "Height in pixels"
1335
  msgstr ""
1336
 
1337
- #: ../classes/Settings/Column/Image.php:50
1338
  msgid "Image Size"
1339
  msgstr ""
1340
 
1341
- #: ../classes/Settings/Column/Image.php:69
1342
  msgid "Thumbnail"
1343
  msgstr ""
1344
 
1345
- #: ../classes/Settings/Column/Image.php:70
1346
  msgid "Medium"
1347
  msgstr ""
1348
 
1349
- #: ../classes/Settings/Column/Image.php:71
1350
  msgid "Large"
1351
  msgstr ""
1352
 
1353
- #: ../classes/Settings/Column/Image.php:85
1354
  msgid "Others"
1355
  msgstr ""
1356
 
1357
- #: ../classes/Settings/Column/Image.php:104
1358
  msgid "Full Size"
1359
  msgstr ""
1360
 
1361
- #: ../classes/Settings/Column/Image.php:108
1362
  msgid "Custom Size"
1363
  msgstr ""
1364
 
1365
- #: ../classes/Settings/Column/Label.php:23
1366
  msgid "Label"
1367
  msgstr ""
1368
 
1369
- #: ../classes/Settings/Column/Label.php:24
1370
  msgid "This is the name which will appear as the column header."
1371
  msgstr ""
1372
 
1373
- #: ../classes/Settings/Column/LinkLabel.php:18
1374
  msgid "Link Label"
1375
  msgstr ""
1376
 
1377
- #: ../classes/Settings/Column/LinkLabel.php:19
1378
  msgid "Leave blank to display the url"
1379
  msgstr ""
1380
 
1381
- #: ../classes/Settings/Column/LinkToMenu.php:21
1382
  msgid "Link to menu"
1383
  msgstr ""
1384
 
1385
- #: ../classes/Settings/Column/LinkToMenu.php:22
1386
  msgid "This will make the title link to the menu."
1387
  msgstr ""
1388
 
1389
- #: ../classes/Settings/Column/Meta.php:23
1390
  msgid "No fields available."
1391
  msgstr ""
1392
 
1393
- #: ../classes/Settings/Column/Meta.php:66
1394
  msgid "Field"
1395
  msgstr ""
1396
 
1397
- #: ../classes/Settings/Column/Meta.php:113
1398
  msgid "Public"
1399
  msgstr ""
1400
 
1401
- #: ../classes/Settings/Column/Meta.php:114
1402
  msgid "Hidden"
1403
  msgstr ""
1404
 
1405
- #: ../classes/Settings/Column/Meta.php:122
1406
  msgid "Network Site:"
1407
  msgstr ""
1408
 
1409
- #: ../classes/Settings/Column/Meta.php:125
1410
  msgid "current"
1411
  msgstr ""
1412
 
1413
- #: ../classes/Settings/Column/Meta.php:131
1414
  msgid "Site Options"
1415
  msgstr ""
1416
 
1417
- #: ../classes/Settings/Column/MissingImageSize.php:22
1418
  msgid "Include missing sizes?"
1419
  msgstr ""
1420
 
1421
- #: ../classes/Settings/Column/MissingImageSize.php:23
1422
  msgid "Include sizes that are missing an image file."
1423
  msgstr ""
1424
 
1425
- #: ../classes/Settings/Column/NumberOfItems.php:25
1426
  msgid "Number of Items"
1427
  msgstr ""
1428
 
1429
- #: ../classes/Settings/Column/NumberOfItems.php:26
1430
  msgid "Maximum number of items"
1431
  msgstr ""
1432
 
1433
- #: ../classes/Settings/Column/Password.php:23
1434
  msgid "Display format"
1435
  msgstr ""
1436
 
1437
- #: ../classes/Settings/Column/PathScope.php:20
1438
  msgid "Full path"
1439
  msgstr ""
1440
 
1441
- #: ../classes/Settings/Column/PathScope.php:21
1442
  msgid "Relative to domain"
1443
  msgstr ""
1444
 
1445
- #: ../classes/Settings/Column/PathScope.php:22
1446
  msgid "Relative to main uploads folder "
1447
  msgstr ""
1448
 
1449
- #: ../classes/Settings/Column/PathScope.php:26
1450
  msgid "Path scope"
1451
  msgstr ""
1452
 
1453
- #: ../classes/Settings/Column/PathScope.php:27
1454
  msgid "Part of the file path to display"
1455
  msgstr ""
1456
 
1457
- #: ../classes/Settings/Column/PostFormatIcon.php:24, ../classes/Settings/Column/StatusIcon.php:24
1458
  msgid "Use an icon?"
1459
  msgstr ""
1460
 
1461
- #: ../classes/Settings/Column/PostFormatIcon.php:25
1462
  msgid "Use an icon instead of text for displaying."
1463
  msgstr ""
1464
 
1465
- #: ../classes/Settings/Column/PostFormatIcon.php:69
1466
  msgid "Standard"
1467
  msgstr ""
1468
 
1469
- #: ../classes/Settings/Column/PostLink.php:52, ../classes/Settings/Column/User.php:43
1470
  msgid "Link To"
1471
  msgstr ""
1472
 
1473
- #: ../classes/Settings/Column/PostLink.php:65
1474
  msgid "Edit Post Author"
1475
  msgstr ""
1476
 
1477
- #: ../classes/Settings/Column/PostLink.php:66
1478
  msgid "View Public Post Author Page"
1479
  msgstr ""
1480
 
1481
- #: ../classes/Settings/Column/PostLink.php:73
1482
  msgctxt "post"
1483
  msgid "Edit %s Author"
1484
  msgstr ""
1485
 
1486
- #: ../classes/Settings/Column/PostLink.php:74
1487
  msgctxt "post"
1488
  msgid "View Public %s Author Page"
1489
  msgstr ""
1490
 
1491
- #: ../classes/Settings/Column/Separator.php:20
1492
  msgid "Comma Separated"
1493
  msgstr ""
1494
 
1495
- #: ../classes/Settings/Column/Separator.php:21
1496
  msgid "New line"
1497
  msgstr ""
1498
 
1499
- #: ../classes/Settings/Column/Separator.php:22
1500
  msgid "None"
1501
  msgstr ""
1502
 
1503
- #: ../classes/Settings/Column/Separator.php:23
1504
  msgid "Whitespace"
1505
  msgstr ""
1506
 
1507
- #: ../classes/Settings/Column/Separator.php:27
1508
  msgid "Separator"
1509
  msgstr ""
1510
 
1511
- #: ../classes/Settings/Column/Separator.php:28
1512
  msgid "Select a repeater sub field."
1513
  msgstr ""
1514
 
1515
- #: ../classes/Settings/Column/StatusIcon.php:25
1516
  msgid "Use an icon instead of text for displaying the status."
1517
  msgstr ""
1518
 
1519
- #: ../classes/Settings/Column/StringLimit.php:20
1520
- msgid "Maximum Length"
1521
  msgstr ""
1522
 
1523
- #: ../classes/Settings/Column/StringLimit.php:29
1524
- msgid "No Maximum Length"
1525
  msgstr ""
1526
 
1527
- #: ../classes/Settings/Column/StringLimit.php:30
1528
- msgid "Limit on Characters"
1529
  msgstr ""
1530
 
1531
- #: ../classes/Settings/Column/StringLimit.php:31
1532
- msgid "Limit on Words"
1533
  msgstr ""
1534
 
1535
- #: ../classes/Settings/Column/Taxonomy.php:19
1536
  msgid "No taxonomies available."
1537
  msgstr ""
1538
 
1539
- #: ../classes/Settings/Column/Type.php:22
 
 
 
 
 
 
 
 
 
 
 
 
1540
  msgid "Choose a column type."
1541
  msgstr ""
1542
 
1543
- #: ../classes/Settings/Column/Type.php:25
1544
  msgid "Name"
1545
  msgstr ""
1546
 
1547
- #: ../classes/Settings/Column/User.php:108
1548
  msgid "Last Name"
1549
  msgstr ""
1550
 
1551
- #: ../classes/Settings/Column/User.php:110
1552
  msgid "User Login"
1553
  msgstr ""
1554
 
1555
- #: ../classes/Settings/Column/User.php:111, ../classes/Settings/Column/User.php:130
1556
  msgid "User Email"
1557
  msgstr ""
1558
 
1559
- #: ../classes/Settings/Column/User.php:113
1560
  msgid "First and Last Name"
1561
  msgstr ""
1562
 
1563
- #: ../classes/Settings/Column/User.php:114
1564
  msgid "User Nicename"
1565
  msgstr ""
1566
 
1567
- #: ../classes/Settings/Column/User.php:129
 
 
 
 
1568
  msgid "Edit User Profile"
1569
  msgstr ""
1570
 
1571
- #: ../classes/Settings/Column/User.php:131
1572
  msgid "View User Posts"
1573
  msgstr ""
1574
 
1575
- #: ../classes/Settings/Column/User.php:132
1576
  msgid "View Public Author Page"
1577
  msgstr ""
1578
 
1579
- #: ../classes/Settings/Column/Width.php:36
1580
  msgid "Auto"
1581
  msgstr ""
1582
 
1583
- #: ../classes/Settings/Column/Width.php:58
1584
  msgid "width"
1585
  msgstr ""
1586
 
1587
- #: ../classes/Settings/Column/WordLimit.php:30
1588
- msgid "Word Limit"
1589
- msgstr ""
1590
-
1591
- #: ../classes/Settings/Column/WordLimit.php:31
1592
  msgid "Maximum number of words"
1593
  msgstr ""
1594
 
1595
- #: ../classes/Settings/Column/WordsPerMinute.php:27
1596
  msgid "Words per minute"
1597
  msgstr ""
1598
 
1599
- #: ../classes/Settings/Column/WordsPerMinute.php:28
1600
  msgid "Estimated reading time in words per minute."
1601
  msgstr ""
1602
 
1603
- #: ../classes/Settings/Column/WordsPerMinute.php:28
1604
  msgid "By default: %s"
1605
  msgstr ""
1606
 
1607
- #: ../classes/Settings/Column/WordsPerMinute.php:79
1608
  msgid "second"
1609
  msgid_plural "seconds"
1610
  msgstr[0] ""
1611
  msgstr[1] ""
1612
 
1613
- #: ../classes/Settings/Column/WordsPerMinute.php:81
1614
  msgid "minute"
1615
  msgid_plural "minutes"
1616
  msgstr[0] ""
1
+ # Copyright (C) 2018 Admin Columns
2
  # This file is distributed under the same license as the Admin Columns package.
3
  msgid ""
4
  msgstr ""
8
  "Content-Transfer-Encoding: 8bit\n"
9
  "Language-Team: Admin Columns <info@admincolumns.com>\n"
10
  "Last-Translator: Codepress <info@codepress.nl\n"
 
11
  "X-Poedit-Basepath: ..\n"
12
  "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
13
  "X-Poedit-SearchPath-0: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
 
18
+ #: codepress-admin-columns.php:298, classes/Admin/Help/CustomField.php:18, classes/Settings/Column/CustomFieldType.php:164, classes/Settings/Column/Image.php:67, classes/Settings/Column/Separator.php:19
19
  msgid "Default"
20
  msgstr ""
21
 
22
+ #: codepress-admin-columns.php:300
23
  msgid "Custom Fields"
24
  msgstr ""
25
 
26
+ #: codepress-admin-columns.php:301, classes/Settings/Column/CustomFieldType.php:149, classes/Settings/Column/Image.php:107
27
  msgid "Custom"
28
  msgstr ""
29
 
30
+ #: codepress-admin-columns.php:430, classes/Settings/Column/CustomFieldType.php:76, classes/Settings/Column/PostType.php:20
31
  msgid "Post Type"
32
  msgstr ""
33
 
34
+ #: classes/Admin.php:123
 
 
 
 
35
  msgid "Admin Columns Settings"
36
  msgstr ""
37
 
38
+ #: classes/Admin.php:123, classes/Notice/Review.php:61, classes/Plugin/Updater.php:99, classes/Plugin/Updater.php:110, classes/Admin/Page/Columns.php:18
39
  msgid "Admin Columns"
40
  msgstr ""
41
 
42
+ #: classes/ListScreen.php:633
43
  msgid "No columns settings available."
44
  msgstr ""
45
 
46
+ #: classes/TableScreen.php:36
47
  msgid "Invalid item ID."
48
  msgstr ""
49
 
50
+ #: classes/TableScreen.php:42
51
  msgid "Invalid list screen."
52
  msgstr ""
53
 
54
+ #: classes/TableScreen.php:50
55
  msgid "Invalid column."
56
  msgstr ""
57
 
58
+ #: classes/TableScreen.php:54
59
  msgid "Invalid method."
60
  msgstr ""
61
 
62
+ #: classes/TableScreen.php:120, classes/TableScreen.php:122
63
  msgid "Download"
64
  msgstr ""
65
 
66
+ #: classes/TableScreen.php:214, classes/Admin/Page/Settings.php:167
67
  msgid "Edit columns"
68
  msgstr ""
69
 
70
+ #: classes/Admin/Addon.php:270
71
+ msgid "Display and edit %s fields in the posts overview in seconds!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  msgstr ""
73
 
74
+ #: classes/Admin/Promo.php:130
75
  msgid "Get %s Off"
76
  msgstr ""
77
 
78
+ #: classes/Admin/Promo.php:133
79
  msgid "Discount is valid until %s"
80
  msgstr ""
81
 
82
+ #: classes/Column/Actions.php:15, classes/Column/Link/Actions.php:10
83
  msgid "Actions"
84
  msgstr ""
85
 
86
+ #: classes/Column/CustomField.php:16, classes/Admin/Help/CustomField.php:6
87
  msgid "Custom Field"
88
  msgstr ""
89
 
90
+ #: classes/Column/Menu.php:13
91
  msgid "Menu"
92
  msgstr ""
93
 
94
+ #: classes/Column/Placeholder.php:31
95
  msgid "The %s column is only available in Admin Columns Pro - Business or Developer."
96
  msgstr ""
97
 
98
+ #: classes/Column/Placeholder.php:35
99
  msgid "If you have a business or developer licence please download & install your %s add-on from the <a href='%s'>add-ons tab</a>."
100
  msgstr ""
101
 
102
+ #: classes/Column/Placeholder.php:39
103
  msgid "Admin Columns Pro offers full %s integration, allowing you to easily display and edit %s fields from within your overview."
104
  msgstr ""
105
 
106
+ #: classes/Column/Placeholder.php:41
107
  msgid "Find out more"
108
  msgstr ""
109
 
110
+ #: classes/Column/Taxonomy.php:13, classes/Settings/Column/Taxonomy.php:26
111
  msgid "Taxonomy"
112
  msgstr ""
113
 
114
+ #: classes/Helper/Html.php:394
115
  msgid "Show %s more"
116
  msgstr ""
117
 
118
+ #: classes/Helper/Html.php:398
119
  msgid "Hide"
120
  msgstr ""
121
 
122
+ #: classes/Helper/String.php:288
123
  msgid " or "
124
  msgstr ""
125
 
126
+ #: classes/Notice/Review.php:64, classes/Admin/Page/Addons.php:60
127
  msgid "Admin Columns Pro"
128
  msgstr ""
129
 
130
+ #: classes/Notice/Review.php:73
131
  msgid "We don't mean to bug you, but you've been using %s for some time now, and we were wondering if you're happy with the plugin. If so, could you please leave a review at wordpress.org? If you're not happy with %s, please %s."
132
  msgstr ""
133
 
134
+ #: classes/Notice/Review.php:77
135
  msgid "click here"
136
  msgstr ""
137
 
138
+ #: classes/Notice/Review.php:81
139
  msgid "Leave a review!"
140
  msgstr ""
141
 
142
+ #: classes/Notice/Review.php:82
143
  msgid "Permanently hide notice"
144
  msgstr ""
145
 
146
+ #: classes/Notice/Review.php:89
147
  msgid "We're sorry to hear that; maybe we can help! If you're having problems properly setting up %s or if you would like help with some more advanced features, please visit our %s."
148
  msgstr ""
149
 
150
+ #: classes/Notice/Review.php:91
151
  msgid "documentation page"
152
  msgstr ""
153
 
154
+ #: classes/Notice/Review.php:95
155
  msgid "As an Admin Columns Pro user, you can also use your AdminColumns.com account to access product support through %s!"
156
  msgstr ""
157
 
158
+ #: classes/Notice/Review.php:96
159
  msgid "our forums"
160
  msgstr ""
161
 
162
+ #: classes/Notice/Review.php:100
163
  msgid "You can also find help on the %s, and %s."
164
  msgstr ""
165
 
166
+ #: classes/Notice/Review.php:101
167
  msgid "Admin Columns forums on WordPress.org"
168
  msgstr ""
169
 
170
+ #: classes/Notice/Review.php:102
171
  msgid "find answers to some frequently asked questions"
172
  msgstr ""
173
 
174
+ #: classes/Plugin/Updater.php:100
175
+ msgid "Your database is up to date. You are awesome."
176
+ msgstr ""
177
+
178
+ #: classes/Plugin/Updater.php:111
179
  msgid "We need to update your database to the latest version."
180
  msgstr ""
181
 
182
+ #: classes/Plugin/Updater.php:113
183
  msgid "Run the updater"
184
  msgstr ""
185
 
186
+ #: templates/settings/section.php:16
187
  msgid "View more"
188
  msgstr ""
189
 
190
+ #: classes/Admin/Addon/ACF.php:9
191
+ msgid "Advanced Custom Fields"
192
+ msgstr ""
193
+
194
+ #: classes/Admin/Addon/BuddyPress.php:13
195
+ msgid "Display any of your Profile Fields for BuddyPress on your users overview."
196
+ msgstr ""
197
+
198
+ #: classes/Admin/Addon/BuddyPress.php:9
199
+ msgid "BuddyPress"
200
+ msgstr ""
201
+
202
+ #: classes/Admin/Addon/EventsCalendar.php:9
203
+ msgid "The Events Calendar"
204
+ msgstr ""
205
+
206
+ #: classes/Admin/Addon/NinjaForms.php:9
207
+ msgid "Ninja Forms"
208
+ msgstr ""
209
+
210
+ #: classes/Admin/Addon/Pods.php:9
211
+ msgid "Pods"
212
+ msgstr ""
213
+
214
+ #: classes/Admin/Addon/Types.php:9
215
+ msgid "Toolset Types"
216
+ msgstr ""
217
+
218
+ #: classes/Admin/Addon/WooCommerce.php:10
219
+ msgid "Enhance the products, orders and coupons overviews with new columns and inline editing."
220
+ msgstr ""
221
+
222
+ #: classes/Admin/Addon/WooCommerce.php:9
223
+ msgid "WooCommerce"
224
+ msgstr ""
225
+
226
+ #: classes/Admin/Help/Basics.php:6
227
  msgid "Basics"
228
  msgstr ""
229
 
230
+ #: classes/Admin/Help/Basics.php:13
231
  msgid "Change order"
232
  msgstr ""
233
 
234
+ #: classes/Admin/Help/Basics.php:15
235
  msgid "By dragging the columns you can change the order which they will appear in."
236
  msgstr ""
237
 
238
+ #: classes/Admin/Help/Basics.php:18
239
  msgid "Change label"
240
  msgstr ""
241
 
242
+ #: classes/Admin/Help/Basics.php:20
243
  msgid "By clicking on the triangle you will see the column options. Here you can change each label of the columns heading."
244
  msgstr ""
245
 
246
+ #: classes/Admin/Help/Basics.php:23
247
  msgid "Change column width"
248
  msgstr ""
249
 
250
+ #: classes/Admin/Help/Basics.php:25
251
  msgid "By clicking on the triangle you will see the column options. By using the draggable slider you can set the width of the columns in percentages."
252
  msgstr ""
253
 
254
+ #: classes/Admin/Help/CustomField.php:14
255
+ msgid "The custom field column uses the custom fields from posts and users. There are 10 types which you can set."
256
  msgstr ""
257
 
258
+ #: classes/Admin/Help/CustomField.php:19
259
  msgid "Value: Can be either a string or array. Arrays will be flattened and values are seperated by a ',' comma."
260
  msgstr ""
261
 
262
+ #: classes/Admin/Help/CustomField.php:22
263
  msgid "Checkmark"
264
  msgstr ""
265
 
266
+ #: classes/Admin/Help/CustomField.php:23
267
  msgid "Value: should be a 1 (one) or 0 (zero)."
268
  msgstr ""
269
 
270
+ #: classes/Admin/Help/CustomField.php:26, classes/Settings/Column/CustomFieldType.php:96
271
  msgid "Color"
272
  msgstr ""
273
 
274
+ #: classes/Admin/Help/CustomField.php:27
275
  msgid "Value: hex value color, such as #808080."
276
  msgstr ""
277
 
278
+ #: classes/Admin/Help/CustomField.php:30
279
  msgid "Counter"
280
  msgstr ""
281
 
282
+ #: classes/Admin/Help/CustomField.php:31
283
  msgid "Value: Can be either a string or array. This will display a count of the number of times the meta key is used by the item."
284
  msgstr ""
285
 
286
+ #: classes/Admin/Help/CustomField.php:34, classes/Settings/Column/CustomFieldType.php:97
287
  msgid "Date"
288
  msgstr ""
289
 
290
+ #: classes/Admin/Help/CustomField.php:35
291
  msgid "Value: Can be unix time stamp or a date format as described in the <a href='%s'>Codex</a>. You can change the outputted date format at the <a href='%s'>general settings</a> page."
292
  msgstr ""
293
 
294
+ #: classes/Admin/Help/CustomField.php:38, classes/Column/Post/Excerpt.php:10
295
  msgid "Excerpt"
296
  msgstr ""
297
 
298
+ #: classes/Admin/Help/CustomField.php:39
299
  msgid "Value: This will show the first 20 words of the Post content."
300
  msgstr ""
301
 
302
+ #: classes/Admin/Help/CustomField.php:42, classes/Column/Link/Image.php:10, classes/Settings/Column/CustomFieldType.php:99
303
  msgid "Image"
304
  msgstr ""
305
 
306
+ #: classes/Admin/Help/CustomField.php:43
307
  msgid "Value: should contain an image URL or Attachment IDs ( seperated by a ',' comma )."
308
  msgstr ""
309
 
310
+ #: classes/Admin/Help/CustomField.php:46
311
  msgid "Media Library"
312
  msgstr ""
313
 
314
+ #: classes/Admin/Help/CustomField.php:47
315
  msgid "Value: should contain Attachment IDs ( seperated by a ',' comma )."
316
  msgstr ""
317
 
318
+ #: classes/Admin/Help/CustomField.php:50, classes/Settings/Column/CustomFieldType.php:114
319
  msgid "Multiple Values"
320
  msgstr ""
321
 
322
+ #: classes/Admin/Help/CustomField.php:51
323
  msgid "Value: should be an array. This will flatten any ( multi dimensional ) array."
324
  msgstr ""
325
 
326
+ #: classes/Admin/Help/CustomField.php:54
327
  msgid "Numeric"
328
  msgstr ""
329
 
330
+ #: classes/Admin/Help/CustomField.php:55
331
  msgid "Value: Integers only.<br/>If you have the 'sorting addon' this will be used for sorting, so you can sort your posts on numeric (custom field) values."
332
  msgstr ""
333
 
334
+ #: classes/Admin/Help/CustomField.php:58
335
  msgid "Post Titles"
336
  msgstr ""
337
 
338
+ #: classes/Admin/Help/CustomField.php:59
339
  msgid "Value: can be one or more Post ID's (seperated by ',')."
340
  msgstr ""
341
 
342
+ #: classes/Admin/Help/CustomField.php:62
343
  msgid "Usernames"
344
  msgstr ""
345
 
346
+ #: classes/Admin/Help/CustomField.php:63
347
  msgid "Value: can be one or more User ID's (seperated by ',')."
348
  msgstr ""
349
 
350
+ #: classes/Admin/Help/Introduction.php:6
351
  msgid "Overview"
352
  msgstr ""
353
 
354
+ #: classes/Admin/Help/Introduction.php:14
355
  msgid "This plugin is for adding and removing additional columns to the administration screens for post(types), pages, media library, comments, links and users. Change the column's label and reorder them."
356
  msgstr ""
357
 
358
+ #: classes/Admin/Page/Addons.php:8
359
  msgid "Add-ons"
360
  msgstr ""
361
 
362
+ #: classes/Admin/Page/Addons.php:42
363
  msgid "%s plugin needs to be installed for the add-on to work."
364
  msgstr ""
365
 
366
+ #: classes/Admin/Page/Addons.php:44
367
  msgid "%s plugin is installed, but not active."
368
  msgstr ""
369
 
370
+ #: classes/Admin/Page/Addons.php:47
371
  msgid "Click %s to activate the plugin."
372
  msgstr ""
373
 
374
+ #: classes/Admin/Page/Addons.php:60
375
  msgid "%s add-on requires %s."
376
  msgid_plural "%s add-ons requires %s."
377
  msgstr[0] ""
378
  msgstr[1] ""
379
 
380
+ #: classes/Admin/Page/Addons.php:93
381
  msgid "%s plugin successfully activated."
382
  msgstr ""
383
 
384
+ #: classes/Admin/Page/Addons.php:94
385
  msgid "%s plugin successfully deactivated."
386
  msgstr ""
387
 
388
+ #: classes/Admin/Page/Addons.php:99
389
  msgid "%s successfully activated."
390
  msgstr ""
391
 
392
+ #: classes/Admin/Page/Addons.php:100
393
  msgid "%s successfully deactivated."
394
  msgstr ""
395
 
396
+ #: classes/Admin/Page/Addons.php:109
397
  msgid "%s could not be activated."
398
  msgstr ""
399
 
400
+ #: classes/Admin/Page/Addons.php:109
401
  msgid "Please visit the %s page."
402
  msgstr ""
403
 
404
+ #: classes/Admin/Page/Addons.php:172
405
  msgid "Did you know Admin Columns Pro has an integration addon for %s? With the proper Admin Columns Pro license, you can download them from %s!"
406
  msgstr ""
407
 
408
+ #: classes/Admin/Page/Addons.php:172
409
  msgid "the addons page"
410
  msgstr ""
411
 
412
+ #: classes/Admin/Page/Addons.php:210
413
  msgid "Addon does not exist."
414
  msgstr ""
415
 
416
+ #: classes/Admin/Page/Addons.php:216
417
  msgid "You need Admin Columns Pro."
418
  msgstr ""
419
 
420
+ #: classes/Admin/Page/Addons.php:287
421
  msgid "Installed"
422
  msgstr ""
423
 
424
+ #: classes/Admin/Page/Addons.php:288
425
  msgid "Recommended"
426
  msgstr ""
427
 
428
+ #: classes/Admin/Page/Addons.php:289
429
  msgid "Available"
430
  msgstr ""
431
 
432
+ #: classes/Admin/Page/Addons.php:401
433
  msgid "Active"
434
  msgstr ""
435
 
436
+ #: classes/Admin/Page/Addons.php:404
437
  msgid "Deactivate"
438
  msgstr ""
439
 
440
+ #: classes/Admin/Page/Addons.php:408
441
  msgid "Activate"
442
  msgstr ""
443
 
444
+ #: classes/Admin/Page/Addons.php:414
445
  msgid "Download & Install"
446
  msgstr ""
447
 
448
+ #: classes/Admin/Page/Addons.php:416
449
  msgid "Get this add-on"
450
  msgstr ""
451
 
452
+ #: classes/Admin/Page/Columns.php:65, classes/Admin/Page/Columns.php:244
453
  msgid "%s column is already present and can not be duplicated."
454
  msgstr ""
455
 
456
+ #: classes/Admin/Page/Columns.php:66
457
  msgid "Invalid response."
458
  msgstr ""
459
 
460
+ #: classes/Admin/Page/Columns.php:143
461
  msgid "Settings for %s restored successfully."
462
  msgstr ""
463
 
464
+ #: classes/Admin/Page/Columns.php:217
465
  msgid "Please visit the %s screen once to load all available columns"
466
  msgstr ""
467
 
468
+ #: classes/Admin/Page/Columns.php:297
469
  msgid "You need at least one column"
470
  msgstr ""
471
 
472
+ #: classes/Admin/Page/Columns.php:304
473
  msgid "View %s screen"
474
  msgstr ""
475
 
476
+ #: classes/Admin/Page/Columns.php:311
477
  msgid "You are trying to store the same settings for %s."
478
  msgstr ""
479
 
480
+ #: classes/Admin/Page/Columns.php:324
481
  msgid "Settings for %s updated successfully."
482
  msgstr ""
483
 
484
+ #: classes/Admin/Page/Columns.php:427
485
  msgid "The columns for %s are set up via PHP and can therefore not be edited."
486
  msgstr ""
487
 
488
+ #: classes/Admin/Page/Columns.php:459
489
  msgid "View"
490
  msgstr ""
491
 
492
+ #: classes/Admin/Page/Columns.php:473
493
  msgid "Store settings"
494
  msgstr ""
495
 
496
+ #: classes/Admin/Page/Columns.php:495
497
  msgid "Warning! The %s columns data will be deleted. This cannot be undone. 'OK' to delete, 'Cancel' to stop"
498
  msgstr ""
499
 
500
+ #: classes/Admin/Page/Columns.php:496
501
  msgid "Restore columns"
502
  msgstr ""
503
 
504
+ #: classes/Admin/Page/Columns.php:515
505
  msgid "Upgrade to"
506
  msgstr ""
507
 
508
+ #: classes/Admin/Page/Columns.php:515
509
  msgid "Pro"
510
  msgstr ""
511
 
512
+ #: classes/Admin/Page/Columns.php:520
513
  msgid "Take Admin Columns to the next level:"
514
  msgstr ""
515
 
516
+ #: classes/Admin/Page/Columns.php:525
517
  msgid "Add sortable columns"
518
  msgstr ""
519
 
520
+ #: classes/Admin/Page/Columns.php:526
521
  msgid "Add filterable columns"
522
  msgstr ""
523
 
524
+ #: classes/Admin/Page/Columns.php:527
525
  msgid "Edit your column content directly"
526
  msgstr ""
527
 
528
+ #: classes/Admin/Page/Columns.php:528
529
  msgid "Create multiple columns sets"
530
  msgstr ""
531
 
532
+ #: classes/Admin/Page/Columns.php:529
533
  msgid "Import &amp; Export settings"
534
  msgstr ""
535
 
536
+ #: classes/Admin/Page/Columns.php:541
537
  msgid "Extra Columns for:"
538
  msgstr ""
539
 
540
+ #: classes/Admin/Page/Columns.php:552
541
  msgid "Prices starting from %s"
542
  msgstr ""
543
 
544
+ #: classes/Admin/Page/Columns.php:557
545
  msgid "Learn more about Pro"
546
  msgstr ""
547
 
548
+ #: classes/Admin/Page/Columns.php:574
549
  msgid "Get %s Off!"
550
  msgstr ""
551
 
552
+ #: classes/Admin/Page/Columns.php:578
553
  msgid "Submit your email and we'll send you a discount for %s off."
554
  msgstr ""
555
 
556
+ #: classes/Admin/Page/Columns.php:585
557
  msgid "Your Email"
558
  msgstr ""
559
 
560
+ #: classes/Admin/Page/Columns.php:586
561
  msgid "Your First Name"
562
  msgstr ""
563
 
564
+ #: classes/Admin/Page/Columns.php:587
565
  msgid "Send me the discount"
566
  msgstr ""
567
 
568
+ #: classes/Admin/Page/Columns.php:598
569
  msgid "Are you happy with Admin Columns?"
570
  msgstr ""
571
 
572
+ #: classes/Admin/Page/Columns.php:608
573
  msgid "What's wrong? Need help? Let us know!"
574
  msgstr ""
575
 
576
+ #: classes/Admin/Page/Columns.php:611
577
  msgid "Check out our extensive documentation, or you can open a support topic on WordPress.org!"
578
  msgstr ""
579
 
580
+ #: classes/Admin/Page/Columns.php:616
581
  msgid "Docs"
582
  msgstr ""
583
 
584
+ #: classes/Admin/Page/Columns.php:621
585
  msgid "Forums"
586
  msgstr ""
587
 
588
+ #: classes/Admin/Page/Columns.php:631
589
  msgid "Woohoo! We're glad to hear that!"
590
  msgstr ""
591
 
592
+ #: classes/Admin/Page/Columns.php:634
593
  msgid "We would really love it if you could show your appreciation by giving us a rating on WordPress.org or tweet about Admin Columns!"
594
  msgstr ""
595
 
596
+ #: classes/Admin/Page/Columns.php:639
597
  msgid "Rate"
598
  msgstr ""
599
 
600
+ #: classes/Admin/Page/Columns.php:644
601
  msgid "I'm using Admin Columns for WordPress!"
602
  msgstr ""
603
 
604
+ #: classes/Admin/Page/Columns.php:645
605
  msgid "Tweet"
606
  msgstr ""
607
 
608
+ #: classes/Admin/Page/Columns.php:651
609
  msgid "Buy Pro"
610
  msgstr ""
611
 
612
+ #: classes/Admin/Page/Columns.php:663
613
  msgid "Support"
614
  msgstr ""
615
 
616
+ #: classes/Admin/Page/Columns.php:668
617
  msgid "Check the <strong>Help</strong> section in the top-right screen."
618
  msgstr ""
619
 
620
+ #: classes/Admin/Page/Columns.php:672
621
  msgid "For full documentation, bug reports, feature suggestions and other tips <a href='%s'>visit the Admin Columns website</a>"
622
  msgstr ""
623
 
624
+ #: classes/Admin/Page/Columns.php:723
625
  msgid "Drag and drop to reorder"
626
  msgstr ""
627
 
628
+ #: classes/Admin/Page/Columns.php:737
629
  msgid "Clear all columns "
630
  msgstr ""
631
 
632
+ #: classes/Admin/Page/Columns.php:743
633
  msgid "Add Column"
634
  msgstr ""
635
 
636
+ #: classes/Admin/Page/Columns.php:853
637
  msgid "Edit"
638
  msgstr ""
639
 
640
+ #: classes/Admin/Page/Columns.php:854, classes/Admin/Page/Columns.php:889
641
  msgid "Close"
642
  msgstr ""
643
 
644
+ #: classes/Admin/Page/Columns.php:856, classes/Admin/Page/Columns.php:891
645
  msgid "Clone"
646
  msgstr ""
647
 
648
+ #: classes/Admin/Page/Columns.php:858
649
  msgid "Remove"
650
  msgstr ""
651
 
652
+ #: classes/Admin/Page/Help.php:30, classes/Admin/Page/Help.php:317
653
  msgid "Help"
654
  msgstr ""
655
 
656
+ #: classes/Admin/Page/Help.php:167
657
  msgid "Deprecated Filters"
658
  msgstr ""
659
 
660
+ #: classes/Admin/Page/Help.php:168
661
  msgid "Deprecated Actions"
662
  msgstr ""
663
 
664
+ #: classes/Admin/Page/Help.php:181
665
  msgid "The filter %s used on this website is deprecated since %s."
666
  msgstr ""
667
 
668
+ #: classes/Admin/Page/Help.php:199
669
  msgid "The action %s used on this website is deprecated since %s."
670
  msgstr ""
671
 
672
+ #: classes/Admin/Page/Help.php:254
673
  msgid "View documentation"
674
  msgstr ""
675
 
676
+ #: classes/Admin/Page/Help.php:309
677
  msgid "The callback used is %s."
678
  msgid_plural "The callbacks used are %s"
679
  msgstr[0] ""
680
  msgstr[1] ""
681
 
682
+ #: classes/Admin/Page/Help.php:319
683
  msgid "The Admin Columns plugin has undergone some major changes in version 4."
684
  msgstr ""
685
 
686
+ #: classes/Admin/Page/Help.php:321
687
  msgid "This site is using some actions or filters that have changed. Please read %s to resolve them."
688
  msgstr ""
689
 
690
+ #: classes/Admin/Page/Help.php:321
691
  msgid "our documentation"
692
  msgstr ""
693
 
694
+ #: classes/Admin/Page/Settings.php:14
695
  msgid "Settings"
696
  msgstr ""
697
 
698
+ #: classes/Admin/Page/Settings.php:97
699
  msgid "Default settings succesfully restored."
700
  msgstr ""
701
 
702
+ #: classes/Admin/Page/Settings.php:123
703
  msgid "Instructions"
704
  msgstr ""
705
 
706
+ #: classes/Admin/Page/Settings.php:129
707
  msgid "Notice"
708
  msgstr ""
709
 
710
+ #: classes/Admin/Page/Settings.php:142
711
  msgid "off"
712
  msgstr ""
713
 
714
+ #: classes/Admin/Page/Settings.php:145
715
  msgid "on"
716
  msgstr ""
717
 
718
+ #: classes/Admin/Page/Settings.php:148
719
  msgid "Default is %s."
720
  msgstr ""
721
 
722
+ #: classes/Admin/Page/Settings.php:156
723
  msgid "General Settings"
724
  msgstr ""
725
 
726
+ #: classes/Admin/Page/Settings.php:157
727
  msgid "Customize your Admin Columns settings."
728
  msgstr ""
729
 
730
+ #: classes/Admin/Page/Settings.php:167
731
  msgid "Show %s button on table screen."
732
  msgstr ""
733
 
734
+ #: classes/Admin/Page/Settings.php:216
735
  msgid "Restore Settings"
736
  msgstr ""
737
 
738
+ #: classes/Admin/Page/Settings.php:217
739
  msgid "This will delete all column settings and restore the default settings."
740
  msgstr ""
741
 
742
+ #: classes/Admin/Page/Settings.php:225
743
  msgid "Restore default settings"
744
  msgstr ""
745
 
746
+ #: classes/Admin/Page/Settings.php:225
747
  msgid "Warning! ALL saved admin columns data will be deleted. This cannot be undone. 'OK' to delete, 'Cancel' to stop"
748
  msgstr ""
749
 
750
+ #: classes/Column/Comment/Agent.php:10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
751
  msgid "Agent"
752
  msgstr ""
753
 
754
+ #: classes/Column/Comment/Approved.php:10, classes/Settings/Column/CommentCount.php:42
755
  msgid "Approved"
756
  msgstr ""
757
 
758
+ #: classes/Column/Comment/AuthorAvatar.php:10
759
  msgid "Avatar"
760
  msgstr ""
761
 
762
+ #: classes/Column/Comment/AuthorEmail.php:10
763
  msgid "Author Email"
764
  msgstr ""
765
 
766
+ #: classes/Column/Comment/AuthorIP.php:7
767
  msgid "Author IP"
768
  msgstr ""
769
 
770
+ #: classes/Column/Comment/AuthorName.php:10
771
  msgid "Author Name"
772
  msgstr ""
773
 
774
+ #: classes/Column/Comment/AuthorUrl.php:10
775
  msgid "Author Url"
776
  msgstr ""
777
 
778
+ #: classes/Column/Comment/DateGmt.php:10
779
  msgid "Date GMT"
780
  msgstr ""
781
 
782
+ #: classes/Column/Comment/DateGmt.php:16
783
  msgid "Submitted on <a href=\"%1$s\">%2$s at %3$s</a>"
784
  msgstr ""
785
 
786
+ #: classes/Column/Comment/Excerpt.php:10, classes/Column/Post/Content.php:10
787
  msgid "Content"
788
  msgstr ""
789
 
790
+ #: classes/Column/Comment/ID.php:10, classes/Column/Link/ID.php:10, classes/Column/Media/ID.php:10, classes/Column/Post/ID.php:10
791
  msgid "ID"
792
  msgstr ""
793
 
794
+ #: classes/Column/Comment/Post.php:10, classes/Settings/Column/CustomFieldType.php:109
795
  msgid "Post"
796
  msgstr ""
797
 
798
+ #: classes/Column/Comment/ReplyTo.php:10
799
  msgid "In Reply To"
800
  msgstr ""
801
 
802
+ #: classes/Column/Comment/Status.php:10, classes/Column/Post/Status.php:7
803
  msgid "Status"
804
  msgstr ""
805
 
806
+ #: classes/Column/Comment/Type.php:10, classes/Settings/Column/CustomFieldType.php:52, classes/Settings/Column/Type.php:25, classes/Settings/Column/Type.php:34
807
  msgid "Type"
808
  msgstr ""
809
 
810
+ #: classes/Column/Comment/User.php:10, classes/Settings/Column/CustomFieldType.php:80, classes/Settings/Column/CustomFieldType.php:110
811
  msgid "User"
812
  msgstr ""
813
 
814
+ #: classes/Column/Comment/WordCount.php:10, classes/Column/Post/WordCount.php:10
815
  msgid "Word Count"
816
  msgstr ""
817
 
818
+ #: classes/Column/Link/Actions.php:36
819
  msgid ""
820
  "You are about to delete this link '%s'\n"
821
  " 'Cancel' to stop, 'OK' to delete."
822
  msgstr ""
823
 
824
+ #: classes/Column/Link/Description.php:10, classes/Column/Media/Description.php:12, classes/Column/User/Description.php:10
825
  msgid "Description"
826
  msgstr ""
827
 
828
+ #: classes/Column/Link/Length.php:10
829
  msgid "Length"
830
  msgstr ""
831
 
832
+ #: classes/Column/Link/Notes.php:10
833
  msgid "Notes"
834
  msgstr ""
835
 
836
+ #: classes/Column/Link/Owner.php:10
837
  msgid "Owner"
838
  msgstr ""
839
 
840
+ #: classes/Column/Link/Rss.php:10
841
  msgid "Rss"
842
  msgstr ""
843
 
844
+ #: classes/Column/Link/Target.php:10
845
  msgid "Target"
846
  msgstr ""
847
 
848
+ #: classes/Column/Media/AlternateText.php:10
849
  msgid "Alternative Text"
850
  msgstr ""
851
 
852
+ #: classes/Column/Media/AvailableSizes.php:12
853
  msgid "Available Sizes"
854
  msgstr ""
855
 
856
+ #: classes/Column/Media/AvailableSizes.php:31
857
  msgid "original"
858
  msgstr ""
859
 
860
+ #: classes/Column/Media/AvailableSizes.php:47
861
  msgid "Missing image file for size %s."
862
  msgstr ""
863
 
864
+ #: classes/Column/Media/Caption.php:10, classes/Settings/Column/ExifData.php:71
865
  msgid "Caption"
866
  msgstr ""
867
 
868
+ #: classes/Column/Media/Dimensions.php:12
869
  msgid "Dimensions"
870
  msgstr ""
871
 
872
+ #: classes/Column/Media/Dimensions.php:24
873
  msgid "Width : %s px"
874
  msgstr ""
875
 
876
+ #: classes/Column/Media/Dimensions.php:24
877
  msgid "Height : %s px"
878
  msgstr ""
879
 
880
+ #: classes/Column/Media/ExifData.php:12
881
  msgid "EXIF Data"
882
  msgstr ""
883
 
884
+ #: classes/Column/Media/FileName.php:10
885
  msgid "Filename"
886
  msgstr ""
887
 
888
+ #: classes/Column/Media/FileSize.php:10
889
  msgid "File Size"
890
  msgstr ""
891
 
892
+ #: classes/Column/Media/FullPath.php:10
893
  msgid "Full Path"
894
  msgstr ""
895
 
896
+ #: classes/Column/Media/Height.php:12, classes/Settings/Column/Image.php:42
897
  msgid "Height"
898
  msgstr ""
899
 
900
+ #: classes/Column/Media/MimeType.php:10
901
  msgid "Mime Type"
902
  msgstr ""
903
 
904
+ #: classes/Column/Media/Width.php:12, classes/Settings/Column/Image.php:36, classes/Settings/Column/Width.php:48
905
  msgid "Width"
906
  msgstr ""
907
 
908
+ #: classes/Column/Post/Attachment.php:10
909
  msgid "Attachments"
910
  msgstr ""
911
 
912
+ #: classes/Column/Post/AuthorName.php:13
913
  msgid "Author"
914
  msgstr ""
915
 
916
+ #: classes/Column/Post/BeforeMoreTag.php:10
917
  msgid "More Tag"
918
  msgstr ""
919
 
920
+ #: classes/Column/Post/CommentCount.php:13, classes/Column/User/CommentCount.php:10
921
  msgid "Comment Count"
922
  msgstr ""
923
 
924
+ #: classes/Column/Post/CommentStatus.php:13
925
  msgid "Allow Comments"
926
  msgstr ""
927
 
928
+ #: classes/Column/Post/DatePublished.php:10
929
  msgid "Date Published"
930
  msgstr ""
931
 
932
+ #: classes/Column/Post/Depth.php:12
933
  msgid "Depth"
934
  msgstr ""
935
 
936
+ #: classes/Column/Post/EstimatedReadingTime.php:10
937
  msgid "Estimated Reading Time"
938
  msgstr ""
939
 
940
+ #: classes/Column/Post/FeaturedImage.php:10
941
  msgid "Featured Image"
942
  msgstr ""
943
 
944
+ #: classes/Column/Post/Formats.php:10
945
  msgid "Post Format"
946
  msgstr ""
947
 
948
+ #: classes/Column/Post/LastModifiedAuthor.php:13
949
  msgid "Last Modified Author"
950
  msgstr ""
951
 
952
+ #: classes/Column/Post/Modified.php:10
953
  msgid "Last Modified"
954
  msgstr ""
955
 
956
+ #: classes/Column/Post/Order.php:10
957
  msgid "Order"
958
  msgstr ""
959
 
960
+ #: classes/Column/Post/PageTemplate.php:10
961
  msgid "Page Template"
962
  msgstr ""
963
 
964
+ #: classes/Column/Post/Parent.php:10
965
  msgid "Parent"
966
  msgstr ""
967
 
968
+ #: classes/Column/Post/Path.php:12
969
  msgid "Path"
970
  msgstr ""
971
 
972
+ #: classes/Column/Post/Permalink.php:12
973
  msgid "Permalink"
974
  msgstr ""
975
 
976
+ #: classes/Column/Post/PingStatus.php:10
977
  msgid "Ping Status"
978
  msgstr ""
979
 
980
+ #: classes/Column/Post/Shortcodes.php:12
 
 
 
 
981
  msgid "Shortcodes"
982
  msgstr ""
983
 
984
+ #: classes/Column/Post/Shortlink.php:10
985
  msgid "Shortlink"
986
  msgstr ""
987
 
988
+ #: classes/Column/Post/Slug.php:10
989
  msgid "Slug"
990
  msgstr ""
991
 
992
+ #: classes/Column/Post/Sticky.php:12
993
  msgid "Sticky"
994
  msgstr ""
995
 
996
+ #: classes/Column/Post/TitleRaw.php:10
997
  msgid "Title Only"
998
  msgstr ""
999
 
1000
+ #: classes/Column/User/DisplayName.php:10, classes/Settings/Column/User.php:59
1001
  msgid "Display Name"
1002
  msgstr ""
1003
 
1004
+ #: classes/Column/User/FirstName.php:10, classes/Settings/Column/User.php:60
1005
  msgid "First Name"
1006
  msgstr ""
1007
 
1008
+ #: classes/Column/User/ID.php:10, classes/Settings/Column/User.php:65
1009
  msgid "User ID"
1010
  msgstr ""
1011
 
1012
+ #: classes/Column/User/LastName.php:10
1013
  msgid "Last name"
1014
  msgstr ""
1015
 
1016
+ #: classes/Column/User/Nickname.php:10, classes/Settings/Column/User.php:62
1017
  msgid "Nickname"
1018
  msgstr ""
1019
 
1020
+ #: classes/Column/User/PostCount.php:10
1021
  msgid "Post Count"
1022
  msgstr ""
1023
 
1024
+ #: classes/Column/User/Registered.php:10
1025
  msgid "Registered"
1026
  msgstr ""
1027
 
1028
+ #: classes/Column/User/RichEditing.php:7
1029
  msgid "Visual Editor"
1030
  msgstr ""
1031
 
1032
+ #: classes/Column/User/ShowToolbar.php:10
1033
  msgid "Show Toolbar"
1034
  msgstr ""
1035
 
1036
+ #: classes/Column/User/Url.php:10
1037
  msgid "Website"
1038
  msgstr ""
1039
 
1040
+ #: classes/Settings/Column/ActionIcons.php:22
1041
  msgid "Use icons?"
1042
  msgstr ""
1043
 
1044
+ #: classes/Settings/Column/ActionIcons.php:23
1045
  msgid "Use icons instead of text for displaying the actions."
1046
  msgstr ""
1047
 
1048
+ #: classes/Settings/Column/AttachmentDisplay.php:37, classes/Settings/Column/Comment.php:97, classes/Settings/Column/Post.php:70, classes/Settings/Column/Term.php:29, classes/Settings/Column/User.php:37
1049
  msgid "Display"
1050
  msgstr ""
1051
 
1052
+ #: classes/Settings/Column/BeforeAfter.php:54
1053
  msgid "Before"
1054
  msgstr ""
1055
 
1056
+ #: classes/Settings/Column/BeforeAfter.php:55
1057
  msgid "This text will appear before the column value."
1058
  msgstr ""
1059
 
1060
+ #: classes/Settings/Column/BeforeAfter.php:63
1061
  msgid "After"
1062
  msgstr ""
1063
 
1064
+ #: classes/Settings/Column/BeforeAfter.php:64
1065
  msgid "This text will appear after the column value."
1066
  msgstr ""
1067
 
1068
+ #: classes/Settings/Column/BeforeAfter.php:70
1069
  msgid "Display Options"
1070
  msgstr ""
1071
 
1072
+ #: classes/Settings/Column/CharacterLimit.php:23, classes/Settings/Column/StringLimit.php:31
1073
  msgid "Character Limit"
1074
  msgstr ""
1075
 
1076
+ #: classes/Settings/Column/CharacterLimit.php:24
1077
  msgid "Maximum number of characters"
1078
  msgstr ""
1079
 
1080
+ #: classes/Settings/Column/CharacterLimit.php:24, classes/Settings/Column/NumberOfItems.php:26, classes/Settings/Column/WordLimit.php:30
1081
  msgid "Leave empty for no limit"
1082
  msgstr ""
1083
 
1084
+ #: classes/Settings/Column/CommentCount.php:29
1085
  msgid "Comment status"
1086
  msgstr ""
1087
 
1088
+ #: classes/Settings/Column/CommentCount.php:30
1089
  msgid "Select which comment status you like to display."
1090
  msgstr ""
1091
 
1092
+ #: classes/Settings/Column/CommentCount.php:43
1093
  msgid "Pending"
1094
  msgstr ""
1095
 
1096
+ #: classes/Settings/Column/CommentCount.php:44
1097
  msgid "Spam"
1098
  msgstr ""
1099
 
1100
+ #: classes/Settings/Column/CommentCount.php:45
1101
  msgid "Trash"
1102
  msgstr ""
1103
 
1104
+ #: classes/Settings/Column/CommentCount.php:51
1105
  msgid "Total"
1106
  msgstr ""
1107
 
1108
+ #: classes/Settings/Column/CustomField.php:13
1109
  msgid "Custom field key"
1110
  msgstr ""
1111
 
1112
+ #: classes/Settings/Column/CustomField.php:17
1113
  msgid "No custom fields available."
1114
  msgstr ""
1115
 
1116
+ #: classes/Settings/Column/CustomField.php:17
1117
  msgid "Please create a %s item first."
1118
  msgstr ""
1119
 
1120
+ #: classes/Settings/Column/CustomFieldType.php:49
1121
  msgid "This will determine how the value will be displayed."
1122
  msgstr ""
1123
 
1124
+ #: classes/Settings/Column/CustomFieldType.php:56
1125
  msgid "Field Type"
1126
  msgstr ""
1127
 
1128
+ #: classes/Settings/Column/CustomFieldType.php:65
1129
  msgid "Uses the id from a %s to display information about it."
1130
  msgstr ""
1131
 
1132
+ #: classes/Settings/Column/CustomFieldType.php:66
1133
  msgid "Multiple ids should be separated by a comma."
1134
  msgstr ""
1135
 
1136
+ #: classes/Settings/Column/CustomFieldType.php:100
1137
  msgid "Url"
1138
  msgstr ""
1139
 
1140
+ #: classes/Settings/Column/CustomFieldType.php:101
1141
  msgid "Number"
1142
  msgstr ""
1143
 
1144
+ #: classes/Settings/Column/CustomFieldType.php:104
1145
  msgid "Has Content"
1146
  msgstr ""
1147
 
1148
+ #: classes/Settings/Column/CustomFieldType.php:105
1149
  msgid "True / False"
1150
  msgstr ""
1151
 
1152
+ #: classes/Settings/Column/CustomFieldType.php:108
1153
  msgid "Media"
1154
  msgstr ""
1155
 
1156
+ #: classes/Settings/Column/CustomFieldType.php:113
1157
  msgid "Number of Fields"
1158
  msgstr ""
1159
 
1160
+ #: classes/Settings/Column/CustomFieldType.php:145
1161
  msgid "Basic"
1162
  msgstr ""
1163
 
1164
+ #: classes/Settings/Column/CustomFieldType.php:146
1165
  msgid "Relational"
1166
  msgstr ""
1167
 
1168
+ #: classes/Settings/Column/CustomFieldType.php:147
1169
  msgid "Choice"
1170
  msgstr ""
1171
 
1172
+ #: classes/Settings/Column/CustomFieldType.php:148
1173
  msgid "Multiple"
1174
  msgstr ""
1175
 
1176
+ #: classes/Settings/Column/Date.php:6
1177
+ msgid "The difference is returned in a human readable format."
1178
  msgstr ""
1179
 
1180
+ #: classes/Settings/Column/Date.php:7
1181
+ msgid "For example: %s."
1182
  msgstr ""
1183
 
1184
+ #: classes/Settings/Column/Date.php:9
1185
+ msgid "or"
1186
  msgstr ""
1187
 
1188
+ #: classes/Settings/Column/Date.php:13
1189
+ msgid "Time Difference"
1190
  msgstr ""
1191
 
1192
+ #: classes/Settings/Column/Date.php:19
1193
+ msgid "WordPress Date Format"
1194
  msgstr ""
1195
 
1196
+ #: classes/Settings/Column/Date.php:74
1197
+ msgid "in %s"
1198
  msgstr ""
1199
 
1200
+ #: classes/Settings/Column/DateTimeFormat.php:35
1201
  msgid "The %s can be changed in %s."
1202
  msgstr ""
1203
 
1204
+ #: classes/Settings/Column/DateTimeFormat.php:50
1205
+ msgid "Date Format"
1206
+ msgstr ""
1207
+
1208
+ #: classes/Settings/Column/DateTimeFormat.php:51
1209
+ msgid "This will determine how the date will be displayed."
1210
+ msgstr ""
1211
+
1212
+ #: classes/Settings/Column/DateTimeFormat.php:103
1213
  msgid "Custom:"
1214
  msgstr ""
1215
 
1216
+ #: classes/Settings/Column/DateTimeFormat.php:105
1217
  msgid "Learn more about %s."
1218
  msgstr ""
1219
 
1220
+ #: classes/Settings/Column/DateTimeFormat.php:105
1221
  msgid "date and time formatting"
1222
  msgstr ""
1223
 
1224
+ #: classes/Settings/Column/ExifData.php:68
 
 
 
 
1225
  msgid "Aperture"
1226
  msgstr ""
1227
 
1228
+ #: classes/Settings/Column/ExifData.php:69
1229
  msgid "Credit"
1230
  msgstr ""
1231
 
1232
+ #: classes/Settings/Column/ExifData.php:70
1233
  msgid "Camera"
1234
  msgstr ""
1235
 
1236
+ #: classes/Settings/Column/ExifData.php:72
1237
  msgid "Timestamp"
1238
  msgstr ""
1239
 
1240
+ #: classes/Settings/Column/ExifData.php:73
1241
  msgid "Copyright"
1242
  msgstr ""
1243
 
1244
+ #: classes/Settings/Column/ExifData.php:74
1245
  msgid "Focal Length"
1246
  msgstr ""
1247
 
1248
+ #: classes/Settings/Column/ExifData.php:75
1249
  msgid "ISO"
1250
  msgstr ""
1251
 
1252
+ #: classes/Settings/Column/ExifData.php:76
1253
  msgid "Shutter Speed"
1254
  msgstr ""
1255
 
1256
+ #: classes/Settings/Column/ExifData.php:77
1257
  msgid "Title"
1258
  msgstr ""
1259
 
1260
+ #: classes/Settings/Column/ExifData.php:78
1261
  msgid "Orientation"
1262
  msgstr ""
1263
 
1264
+ #: classes/Settings/Column/ExifData.php:79
1265
  msgid "Keywords"
1266
  msgstr ""
1267
 
1268
+ #: classes/Settings/Column/Image.php:37
1269
  msgid "Width in pixels"
1270
  msgstr ""
1271
 
1272
+ #: classes/Settings/Column/Image.php:43
1273
  msgid "Height in pixels"
1274
  msgstr ""
1275
 
1276
+ #: classes/Settings/Column/Image.php:50
1277
  msgid "Image Size"
1278
  msgstr ""
1279
 
1280
+ #: classes/Settings/Column/Image.php:69
1281
  msgid "Thumbnail"
1282
  msgstr ""
1283
 
1284
+ #: classes/Settings/Column/Image.php:70
1285
  msgid "Medium"
1286
  msgstr ""
1287
 
1288
+ #: classes/Settings/Column/Image.php:71
1289
  msgid "Large"
1290
  msgstr ""
1291
 
1292
+ #: classes/Settings/Column/Image.php:85
1293
  msgid "Others"
1294
  msgstr ""
1295
 
1296
+ #: classes/Settings/Column/Image.php:104
1297
  msgid "Full Size"
1298
  msgstr ""
1299
 
1300
+ #: classes/Settings/Column/Image.php:108
1301
  msgid "Custom Size"
1302
  msgstr ""
1303
 
1304
+ #: classes/Settings/Column/Label.php:23
1305
  msgid "Label"
1306
  msgstr ""
1307
 
1308
+ #: classes/Settings/Column/Label.php:24
1309
  msgid "This is the name which will appear as the column header."
1310
  msgstr ""
1311
 
1312
+ #: classes/Settings/Column/LinkLabel.php:18
1313
  msgid "Link Label"
1314
  msgstr ""
1315
 
1316
+ #: classes/Settings/Column/LinkLabel.php:19
1317
  msgid "Leave blank to display the url"
1318
  msgstr ""
1319
 
1320
+ #: classes/Settings/Column/LinkToMenu.php:21
1321
  msgid "Link to menu"
1322
  msgstr ""
1323
 
1324
+ #: classes/Settings/Column/LinkToMenu.php:22
1325
  msgid "This will make the title link to the menu."
1326
  msgstr ""
1327
 
1328
+ #: classes/Settings/Column/Meta.php:23
1329
  msgid "No fields available."
1330
  msgstr ""
1331
 
1332
+ #: classes/Settings/Column/Meta.php:66
1333
  msgid "Field"
1334
  msgstr ""
1335
 
1336
+ #: classes/Settings/Column/Meta.php:113
1337
  msgid "Public"
1338
  msgstr ""
1339
 
1340
+ #: classes/Settings/Column/Meta.php:114
1341
  msgid "Hidden"
1342
  msgstr ""
1343
 
1344
+ #: classes/Settings/Column/Meta.php:122
1345
  msgid "Network Site:"
1346
  msgstr ""
1347
 
1348
+ #: classes/Settings/Column/Meta.php:125
1349
  msgid "current"
1350
  msgstr ""
1351
 
1352
+ #: classes/Settings/Column/Meta.php:131
1353
  msgid "Site Options"
1354
  msgstr ""
1355
 
1356
+ #: classes/Settings/Column/MissingImageSize.php:22
1357
  msgid "Include missing sizes?"
1358
  msgstr ""
1359
 
1360
+ #: classes/Settings/Column/MissingImageSize.php:23
1361
  msgid "Include sizes that are missing an image file."
1362
  msgstr ""
1363
 
1364
+ #: classes/Settings/Column/NumberOfItems.php:25
1365
  msgid "Number of Items"
1366
  msgstr ""
1367
 
1368
+ #: classes/Settings/Column/NumberOfItems.php:26
1369
  msgid "Maximum number of items"
1370
  msgstr ""
1371
 
1372
+ #: classes/Settings/Column/Password.php:23
1373
  msgid "Display format"
1374
  msgstr ""
1375
 
1376
+ #: classes/Settings/Column/PathScope.php:20
1377
  msgid "Full path"
1378
  msgstr ""
1379
 
1380
+ #: classes/Settings/Column/PathScope.php:21
1381
  msgid "Relative to domain"
1382
  msgstr ""
1383
 
1384
+ #: classes/Settings/Column/PathScope.php:22
1385
  msgid "Relative to main uploads folder "
1386
  msgstr ""
1387
 
1388
+ #: classes/Settings/Column/PathScope.php:26
1389
  msgid "Path scope"
1390
  msgstr ""
1391
 
1392
+ #: classes/Settings/Column/PathScope.php:27
1393
  msgid "Part of the file path to display"
1394
  msgstr ""
1395
 
1396
+ #: classes/Settings/Column/PostFormatIcon.php:24, classes/Settings/Column/StatusIcon.php:24
1397
  msgid "Use an icon?"
1398
  msgstr ""
1399
 
1400
+ #: classes/Settings/Column/PostFormatIcon.php:25
1401
  msgid "Use an icon instead of text for displaying."
1402
  msgstr ""
1403
 
1404
+ #: classes/Settings/Column/PostFormatIcon.php:69
1405
  msgid "Standard"
1406
  msgstr ""
1407
 
1408
+ #: classes/Settings/Column/PostLink.php:52, classes/Settings/Column/UserLink.php:55
1409
  msgid "Link To"
1410
  msgstr ""
1411
 
1412
+ #: classes/Settings/Column/PostLink.php:65
1413
  msgid "Edit Post Author"
1414
  msgstr ""
1415
 
1416
+ #: classes/Settings/Column/PostLink.php:66
1417
  msgid "View Public Post Author Page"
1418
  msgstr ""
1419
 
1420
+ #: classes/Settings/Column/PostLink.php:73
1421
  msgctxt "post"
1422
  msgid "Edit %s Author"
1423
  msgstr ""
1424
 
1425
+ #: classes/Settings/Column/PostLink.php:74
1426
  msgctxt "post"
1427
  msgid "View Public %s Author Page"
1428
  msgstr ""
1429
 
1430
+ #: classes/Settings/Column/Separator.php:20
1431
  msgid "Comma Separated"
1432
  msgstr ""
1433
 
1434
+ #: classes/Settings/Column/Separator.php:21
1435
  msgid "New line"
1436
  msgstr ""
1437
 
1438
+ #: classes/Settings/Column/Separator.php:22
1439
  msgid "None"
1440
  msgstr ""
1441
 
1442
+ #: classes/Settings/Column/Separator.php:23
1443
  msgid "Whitespace"
1444
  msgstr ""
1445
 
1446
+ #: classes/Settings/Column/Separator.php:27
1447
  msgid "Separator"
1448
  msgstr ""
1449
 
1450
+ #: classes/Settings/Column/Separator.php:28
1451
  msgid "Select a repeater sub field."
1452
  msgstr ""
1453
 
1454
+ #: classes/Settings/Column/StatusIcon.php:25
1455
  msgid "Use an icon instead of text for displaying the status."
1456
  msgstr ""
1457
 
1458
+ #: classes/Settings/Column/StringLimit.php:20
1459
+ msgid "Text Limit"
1460
  msgstr ""
1461
 
1462
+ #: classes/Settings/Column/StringLimit.php:21
1463
+ msgid "Limit text to a certain number of characters or words"
1464
  msgstr ""
1465
 
1466
+ #: classes/Settings/Column/StringLimit.php:30
1467
+ msgid "No limit"
1468
  msgstr ""
1469
 
1470
+ #: classes/Settings/Column/StringLimit.php:32, classes/Settings/Column/WordLimit.php:29
1471
+ msgid "Word Limit"
1472
  msgstr ""
1473
 
1474
+ #: classes/Settings/Column/Taxonomy.php:19
1475
  msgid "No taxonomies available."
1476
  msgstr ""
1477
 
1478
+ #: classes/Settings/Column/Time.php:9
1479
+ msgid "Time Format"
1480
+ msgstr ""
1481
+
1482
+ #: classes/Settings/Column/Time.php:10
1483
+ msgid "This will determine how the time will be displayed."
1484
+ msgstr ""
1485
+
1486
+ #: classes/Settings/Column/Time.php:16
1487
+ msgid "WordPress Time Format"
1488
+ msgstr ""
1489
+
1490
+ #: classes/Settings/Column/Type.php:22
1491
  msgid "Choose a column type."
1492
  msgstr ""
1493
 
1494
+ #: classes/Settings/Column/Type.php:28
1495
  msgid "Name"
1496
  msgstr ""
1497
 
1498
+ #: classes/Settings/Column/User.php:61
1499
  msgid "Last Name"
1500
  msgstr ""
1501
 
1502
+ #: classes/Settings/Column/User.php:63
1503
  msgid "User Login"
1504
  msgstr ""
1505
 
1506
+ #: classes/Settings/Column/User.php:64, classes/Settings/Column/UserLink.php:65
1507
  msgid "User Email"
1508
  msgstr ""
1509
 
1510
+ #: classes/Settings/Column/User.php:66
1511
  msgid "First and Last Name"
1512
  msgstr ""
1513
 
1514
+ #: classes/Settings/Column/User.php:67
1515
  msgid "User Nicename"
1516
  msgstr ""
1517
 
1518
+ #: classes/Settings/Column/User.php:68
1519
+ msgid "Roles"
1520
+ msgstr ""
1521
+
1522
+ #: classes/Settings/Column/UserLink.php:64
1523
  msgid "Edit User Profile"
1524
  msgstr ""
1525
 
1526
+ #: classes/Settings/Column/UserLink.php:66
1527
  msgid "View User Posts"
1528
  msgstr ""
1529
 
1530
+ #: classes/Settings/Column/UserLink.php:67
1531
  msgid "View Public Author Page"
1532
  msgstr ""
1533
 
1534
+ #: classes/Settings/Column/Width.php:36
1535
  msgid "Auto"
1536
  msgstr ""
1537
 
1538
+ #: classes/Settings/Column/Width.php:58
1539
  msgid "width"
1540
  msgstr ""
1541
 
1542
+ #: classes/Settings/Column/WordLimit.php:30
 
 
 
 
1543
  msgid "Maximum number of words"
1544
  msgstr ""
1545
 
1546
+ #: classes/Settings/Column/WordsPerMinute.php:27
1547
  msgid "Words per minute"
1548
  msgstr ""
1549
 
1550
+ #: classes/Settings/Column/WordsPerMinute.php:28
1551
  msgid "Estimated reading time in words per minute."
1552
  msgstr ""
1553
 
1554
+ #: classes/Settings/Column/WordsPerMinute.php:28
1555
  msgid "By default: %s"
1556
  msgstr ""
1557
 
1558
+ #: classes/Settings/Column/WordsPerMinute.php:79
1559
  msgid "second"
1560
  msgid_plural "seconds"
1561
  msgstr[0] ""
1562
  msgstr[1] ""
1563
 
1564
+ #: classes/Settings/Column/WordsPerMinute.php:81
1565
  msgid "minute"
1566
  msgid_plural "minutes"
1567
  msgstr[0] ""
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: codepress, tschutter, davidmosterd, engelen, dungengronovius
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZDZRSYLQ4Z76J
4
  Tags: plugins, wordpress, admin, column, columns, custom columns, custom fields, image, dashboard, sortable, filters, posts, media, users, pages, posttypes, manage columns, wp-admin
5
  Requires at least: 4.5
6
- Tested up to: 4.9.2
7
- Stable tag: 3.1.3
8
 
9
  Customise columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
10
 
@@ -218,6 +218,20 @@ You can find a list of the available actions and filters (and examples on how to
218
 
219
  == Changelog ==
220
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
221
  = 3.1.3 =
222
 
223
  Release Date: January 30th, 2018
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZDZRSYLQ4Z76J
4
  Tags: plugins, wordpress, admin, column, columns, custom columns, custom fields, image, dashboard, sortable, filters, posts, media, users, pages, posttypes, manage columns, wp-admin
5
  Requires at least: 4.5
6
+ Tested up to: 4.9.4
7
+ Stable tag: 3.1.5
8
 
9
  Customise columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
10
 
218
 
219
  == Changelog ==
220
 
221
+ = 3.1.5 =
222
+
223
+ Release Date: March 13th, 2018
224
+
225
+ * [Improved] Minor improvements and PHP warning fixes
226
+
227
+ = 3.1.4 =
228
+
229
+ Release Date: February 6th, 2018
230
+
231
+ [Removed] Removed 'acp/column_types' action
232
+ [Fixed] Small typo in help text
233
+ [Update] Updated languages from wordpress.org
234
+
235
  = 3.1.3 =
236
 
237
  Release Date: January 30th, 2018