Admin Columns - Version 3.0.3

Version Description

Release Date: July 26th, 2017

  • [Fixed] Show the type instead of an empty label in the edit columns screen
  • [Fixed] Image URLs are supported again for the Custom Field column
  • [Fixed] Column with a date setting did not always store it's value date format correctly
  • [Improved] Post Status column can now also be displayed as an icon
  • [Improved] Use multibyte function to trim strings for showing a maximum character count
  • [Improved] Excerpt column now displays a text icon when the excerpt is generated from it's content
  • [Added] Added a helper to display star ratings
Download this release

Release Info

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

Code changes from version 3.0.2 to 3.0.3

assets/css/admin-general.css CHANGED
@@ -17,9 +17,12 @@
17
  [class^="cpacicon-"]:before, [class*=" cpacicon-"]:before {
18
  font-size: 100%; }
19
 
20
- .cpacicon-move:before {
21
  content: ""; }
22
 
 
 
 
23
  /* Dynamic variables */
24
  /**
25
  * General
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
assets/css/admin-general.min.css CHANGED
@@ -1 +1 @@
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-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}
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-columns.css CHANGED
@@ -17,9 +17,12 @@
17
  [class^="cpacicon-"]:before, [class*=" cpacicon-"]:before {
18
  font-size: 100%; }
19
 
20
- .cpacicon-move:before {
21
  content: ""; }
22
 
 
 
 
23
  /* Dynamic variables */
24
  /**
25
  * UI Sortable Plugin
@@ -45,7 +48,7 @@
45
  speak: none;
46
  display: inline-block;
47
  padding: 0;
48
- top: 4px;
49
  left: 0;
50
  position: relative;
51
  vertical-align: top;
@@ -446,6 +449,8 @@
446
  position: relative;
447
  overflow: hidden;
448
  height: 18px; }
 
 
449
  .ac-column-header table tr td.column_label .inner > a {
450
  color: #5a5a5a;
451
  padding: 0 4px; }
@@ -489,8 +494,6 @@
489
  color: #21759B; }
490
  .ac-column-header table tr td.column_label .inner .meta .ac-column-heading-setting.disabled {
491
  cursor: default; }
492
- .ac-column-header table tr td.column_label span.vers {
493
- float: left; }
494
  .ac-column-header table tr td.column_type {
495
  width: auto;
496
  min-width: 120px;
@@ -533,8 +536,6 @@
533
  display: inline-block; }
534
  .ac-column-header span.vers {
535
  padding-top: 2px; }
536
- .ac-column-header span.vers .comment-grey-bubble {
537
- float: right; }
538
 
539
  /**
540
  * Column Body
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
48
  speak: none;
49
  display: inline-block;
50
  padding: 0;
51
+ top: 5px;
52
  left: 0;
53
  position: relative;
54
  vertical-align: top;
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; }
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;
536
  display: inline-block; }
537
  .ac-column-header span.vers {
538
  padding-top: 2px; }
 
 
539
 
540
  /**
541
  * Column Body
assets/css/admin-page-columns.min.css CHANGED
@@ -1 +1 @@
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-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:4px;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>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_label span.vers{float:left}.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-header span.vers .comment-grey-bubble{float:right}.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:-webkit-gradient(linear,left bottom,left top,from(#ececec),to(#f9f9f9));background-image:-webkit-linear-gradient(bottom,#ececec,#f9f9f9);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}.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%}}
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:-webkit-gradient(linear,left bottom,left top,from(#ececec),to(#f9f9f9));background-image:-webkit-linear-gradient(bottom,#ececec,#f9f9f9);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}.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-welcome.css CHANGED
@@ -17,9 +17,12 @@
17
  [class^="cpacicon-"]:before, [class*=" cpacicon-"]:before {
18
  font-size: 100%; }
19
 
20
- .cpacicon-move:before {
21
  content: ""; }
22
 
 
 
 
23
  /* Dynamic variables */
24
  /**
25
  * Welcome Screen
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
assets/css/admin-welcome.min.css CHANGED
@@ -1 +1 @@
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-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)}
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/table.css CHANGED
@@ -1,3 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  /* =General
2
  -------------------------------------------------------------- */
3
  .ac-divider {
@@ -9,6 +21,15 @@
9
  span.status-closed {
10
  color: red; }
11
 
 
 
 
 
 
 
 
 
 
12
  .actions #post-query-submit {
13
  float: left;
14
  vertical-align: middle;
@@ -23,12 +44,34 @@ span.status-closed {
23
  body.edit-tags-php .tablenav.top .cpac-edit {
24
  float: none; }
25
 
26
- span.dashicons.green {
27
- color: #46b450; }
 
 
 
 
 
 
 
28
 
29
  span.dashicons.red {
30
  color: #dc3232; }
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  body.edit-php #delete_all {
33
  float: left;
34
  margin-right: 3px; }
1
+ /* =Status icons
2
+ -------------------------------------------------------------- */
3
+ .column-status .dashicons {
4
+ font-size: 22px; }
5
+ .column-status .dashicons.large {
6
+ width: 25px;
7
+ height: 28px;
8
+ font-size: 28px; }
9
+ .column-status .dashicons.dashicons-lock {
10
+ font-size: 15px;
11
+ margin-left: -2px; }
12
+
13
  /* =General
14
  -------------------------------------------------------------- */
15
  .ac-divider {
21
  span.status-closed {
22
  color: red; }
23
 
24
+ .ac-value-stars {
25
+ white-space: nowrap;
26
+ word-wrap: normal;
27
+ display: block; }
28
+ .ac-value-stars .ac-value-star {
29
+ font-size: 16px;
30
+ width: auto;
31
+ margin-right: -3px; }
32
+
33
  .actions #post-query-submit {
34
  float: left;
35
  vertical-align: middle;
44
  body.edit-tags-php .tablenav.top .cpac-edit {
45
  float: none; }
46
 
47
+ span.dashicons.flip:before {
48
+ transform: scale(-1, 1);
49
+ display: inline-block; }
50
+
51
+ span.dashicons.yellow {
52
+ color: #ffb900; }
53
+
54
+ span.dashicons.orange {
55
+ color: #d54e21; }
56
 
57
  span.dashicons.red {
58
  color: #dc3232; }
59
 
60
+ span.dashicons.green {
61
+ color: #46b450; }
62
+
63
+ span.dashicons.light-gray {
64
+ color: #bbb; }
65
+
66
+ span.dashicons.gray {
67
+ color: #8a8a8a; }
68
+
69
+ span.dashicons.blue {
70
+ color: #0073aa; }
71
+
72
+ span.dashicons.light-blue {
73
+ color: #00a0d2; }
74
+
75
  body.edit-php #delete_all {
76
  float: left;
77
  margin-right: 3px; }
assets/css/table.min.css CHANGED
@@ -1 +1 @@
1
- .ac-divider{display:inline-block;width:14px;height:12px;background:transparent url(../images/square.png) no-repeat 50% 7px}span.status-closed{color:red}.actions #post-query-submit,.tablenav.top .cpac-edit{float:left;vertical-align:middle;margin-bottom:4px}.tablenav.top .cpac-edit{top:2px;display:inline-block}body.edit-tags-php .tablenav.top .cpac-edit{float:none}span.dashicons.green{color:#46b450}span.dashicons.red{color:#dc3232}body.edit-php #delete_all{float:left;margin-right:3px}body.users-php .tablenav .actions a.add-new-h2{float:none;vertical-align:middle!important;top:2px!important}@media screen and (max-width:782px){.tablenav.top .actions{display:block!important;margin-bottom:4px}.tablenav.top .actions *{display:none}.tablenav.top .actions .cpac-edit{display:inline-block}}body.upload-php .tablenav.top .cpac-edit{float:none}.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-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 .cpac-edit{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{display:inline-block;margin-right:2px;overflow:hidden;max-width:100%;background-color:#ccc}.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}div.sizes span.not-available{color:#999}.button.cpac-button-action{position:relative;text-indent:9999px;margin-right:4px;padding:0 13px;overflow:hidden}.button.cpac-button-action:before{position:absolute;top:0;left:0;width:100%;height:100%;text-indent:0}.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.approve a,.column-actions.cpac_use_icons .row-actions>span.delete 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.unspam a,.column-actions.cpac_use_icons .row-actions>span.untrash a,.column-actions.cpac_use_icons .row-actions>span.view a{text-indent:-3000px}.column-actions.cpac_use_icons .row-actions>span.approve a:before,.column-actions.cpac_use_icons .row-actions>span.delete 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.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{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"}@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}
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-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 .cpac-edit{float:left;vertical-align:middle;margin-bottom:4px}.tablenav.top .cpac-edit{top:2px;display:inline-block}body.edit-tags-php .tablenav.top .cpac-edit{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 .cpac-edit{display:inline-block}}body.upload-php .tablenav.top .cpac-edit{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-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 .cpac-edit{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{display:inline-block;margin-right:2px;overflow:hidden;max-width:100%;background-color:#ccc}.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}div.sizes span.not-available{color:#999}.button.cpac-button-action{position:relative;text-indent:9999px;margin-right:4px;padding:0 13px;overflow:hidden}.button.cpac-button-action:before{position:absolute;top:0;left:0;width:100%;height:100%;text-indent:0}.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.approve a,.column-actions.cpac_use_icons .row-actions>span.delete 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.unspam a,.column-actions.cpac_use_icons .row-actions>span.untrash a,.column-actions.cpac_use_icons .row-actions>span.view a{text-indent:-3000px}.column-actions.cpac_use_icons .row-actions>span.approve a:before,.column-actions.cpac_use_icons .row-actions>span.delete 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.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{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"}@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.ttf CHANGED
Binary file
assets/fonts/cpac_icons.woff CHANGED
Binary file
assets/js/admin-page-columns.js CHANGED
@@ -29,7 +29,6 @@ jQuery( document ).ready( function( $ ) {
29
  cpac_menu( $ );
30
  cpac_add_column( $ );
31
  cpac_sidebar_feedback( $ );
32
-
33
  } );
34
 
35
  function ac_show_ajax_message( message, attr_class ) {
@@ -210,7 +209,7 @@ function cpac_menu( $ ) {
210
  /*
211
  * Reset columns
212
  *
213
- * @since NEWVERSION
214
  */
215
  function cpac_reset_columns( $ ) {
216
  var $container = $( '.ac-admin' );
@@ -487,6 +486,12 @@ function cpac_reset_columns( $ ) {
487
  column.cpac_column_refresh();
488
  } );
489
 
 
 
 
 
 
 
490
  $( document ).trigger( 'init_settings', column );
491
  };
492
 
@@ -850,6 +855,7 @@ function cpac_reset_columns( $ ) {
850
  // Custom input
851
  var $radio_custom = $container.find( 'input.custom' );
852
  var $input_custom = $container.find( '.ac-setting-input-date__custom' );
 
853
  var $example_custom = $container.find( '.ac-setting-input-date__example' );
854
  var $selected = $container.find( 'input[type=radio]:checked' );
855
  var $help_msg = $container.find( '.help-msg' );
@@ -886,6 +892,7 @@ function cpac_reset_columns( $ ) {
886
  $help_msg.html( description ).show();
887
  }
888
 
 
889
  } );
890
 
891
  // Custom input
@@ -912,6 +919,7 @@ function cpac_reset_columns( $ ) {
912
  $example_custom.text( date );
913
  } );
914
 
 
915
  } );
916
 
917
  // Update date example box
29
  cpac_menu( $ );
30
  cpac_add_column( $ );
31
  cpac_sidebar_feedback( $ );
 
32
  } );
33
 
34
  function ac_show_ajax_message( message, attr_class ) {
209
  /*
210
  * Reset columns
211
  *
212
+ * @since 3.0.3
213
  */
214
  function cpac_reset_columns( $ ) {
215
  var $container = $( '.ac-admin' );
486
  column.cpac_column_refresh();
487
  } );
488
 
489
+ /** When an label contains an icon or span, the displayed label can appear empty. In this case we show the "type" label. */
490
+ var column_label = column.find( '.column_label .toggle' );
491
+ if ( $.trim( column_label.html() ) && column_label.width() < 1 ) {
492
+ column_label.html( column.find( '.column_type .inner' ).html() );
493
+ }
494
+
495
  $( document ).trigger( 'init_settings', column );
496
  };
497
 
855
  // Custom input
856
  var $radio_custom = $container.find( 'input.custom' );
857
  var $input_custom = $container.find( '.ac-setting-input-date__custom' );
858
+ var $input_value = $container.find( '.ac-setting-input-date__value' );
859
  var $example_custom = $container.find( '.ac-setting-input-date__example' );
860
  var $selected = $container.find( 'input[type=radio]:checked' );
861
  var $help_msg = $container.find( '.help-msg' );
892
  $help_msg.html( description ).show();
893
  }
894
 
895
+ $input_value.val( $input.val() );
896
  } );
897
 
898
  // Custom input
919
  $example_custom.text( date );
920
  } );
921
 
922
+ $input_value.val( $custom_value );
923
  } );
924
 
925
  // Update date example box
assets/js/admin-page-columns.min.js CHANGED
@@ -1 +1 @@
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()}),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 s=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");s.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)}),s.always(function(){e.removeClass("loading"),t.prop("disabled",!1)})},n.fn.column_bind_events=function(){var e=n(this),t=e.closest(".ac-admin "),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(),s=n(this),l=[];t.find(".ac-column[data-original=1]").each(function(){l.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:l,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(),s.find("option").removeAttr("selected"),s.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.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"),s=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),s.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__example"),c=e.find("input[type=radio]:checked"),o=e.find(".help-msg");e.find("input[type=radio]").on("change",function(){var e=n(this),t=e.closest("label"),c=t.find("code").text(),s=t.find(".ac-setting-input-date__more").html();c&&i.val(c).trigger("change"),e.hasClass("diff")&&(i.val(""),a.text("")),i.prop("disabled",!0),e.hasClass("custom")&&(e.val(i.val()),i.prop("disabled",!1),o.show()),o.hide(),s&&o.html(s).show()}),i.on("change",function(){a.html('<span class="spinner is-active"></span>'),t.val(i.val());var e=n(this).val();if(!e)return void a.text("");n.ajax({url:ajaxurl,method:"post",data:{action:"date_format",date:e}}).done(function(n){a.text(n)})}),c.trigger("change"),0===c.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);
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()}),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_bind_events=function(){var e=n(this),t=e.closest(".ac-admin "),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()});var a=e.find(".column_label .toggle");n.trim(a.html())&&a.width()<1&&a.html(e.find(".column_type .inner").html()),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.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);
classes/Admin/Page/Columns.php CHANGED
@@ -332,12 +332,14 @@ class AC_Admin_Page_Columns extends AC_Admin_Page {
332
 
333
  $result = $list_screen->store( $formdata['columns'] );
334
 
 
 
335
  if ( is_wp_error( $result ) ) {
336
 
337
  if ( 'same-settings' === $result->get_error_code() ) {
338
  wp_send_json_error( array(
339
  'type' => 'notice notice-warning',
340
- 'message' => sprintf( __( 'You are trying to store the same settings for %s.', 'codepress-admin-columns' ), "<strong>" . esc_html( $this->get_list_screen_message_label( $list_screen ) ) . "</strong>" ),
341
  )
342
  );
343
  }
@@ -350,8 +352,7 @@ class AC_Admin_Page_Columns extends AC_Admin_Page {
350
  }
351
 
352
  wp_send_json_success(
353
- sprintf( __( 'Settings for %s updated successfully.', 'codepress-admin-columns' ), "<strong>" . esc_html( $this->get_list_screen_message_label( $list_screen ) ) . "</strong>" )
354
- . ' <a href="' . esc_attr( $list_screen->get_screen_link() ) . '">' . esc_html( sprintf( __( 'View %s screen', 'codepress-admin-columns' ), $list_screen->get_label() ) ) . '</a>'
355
  );
356
  }
357
 
332
 
333
  $result = $list_screen->store( $formdata['columns'] );
334
 
335
+ $view_link = ac_helper()->html->link( $list_screen->get_screen_link(), sprintf( __( 'View %s screen', 'codepress-admin-columns' ), $list_screen->get_label() ) );
336
+
337
  if ( is_wp_error( $result ) ) {
338
 
339
  if ( 'same-settings' === $result->get_error_code() ) {
340
  wp_send_json_error( array(
341
  'type' => 'notice notice-warning',
342
+ 'message' => sprintf( __( 'You are trying to store the same settings for %s.', 'codepress-admin-columns' ), "<strong>" . $this->get_list_screen_message_label( $list_screen ) . "</strong>" ) . ' ' . $view_link
343
  )
344
  );
345
  }
352
  }
353
 
354
  wp_send_json_success(
355
+ sprintf( __( 'Settings for %s updated successfully.', 'codepress-admin-columns' ), "<strong>" . esc_html( $this->get_list_screen_message_label( $list_screen ) ) . "</strong>" ) . ' ' . $view_link
 
356
  );
357
  }
358
 
classes/Column.php CHANGED
@@ -77,7 +77,7 @@ class AC_Column {
77
  * @return $this
78
  */
79
  public function set_name( $name ) {
80
- $this->name = $name;
81
 
82
  return $this;
83
  }
@@ -98,7 +98,7 @@ class AC_Column {
98
  * @return $this
99
  */
100
  public function set_type( $type ) {
101
- $this->type = $type;
102
 
103
  return $this;
104
  }
@@ -141,7 +141,7 @@ class AC_Column {
141
  * @return $this
142
  */
143
  public function set_label( $label ) {
144
- $this->label = $label;
145
 
146
  return $this;
147
  }
77
  * @return $this
78
  */
79
  public function set_name( $name ) {
80
+ $this->name = (string) $name;
81
 
82
  return $this;
83
  }
98
  * @return $this
99
  */
100
  public function set_type( $type ) {
101
+ $this->type = (string) $type;
102
 
103
  return $this;
104
  }
141
  * @return $this
142
  */
143
  public function set_label( $label ) {
144
+ $this->label = (string) $label;
145
 
146
  return $this;
147
  }
classes/Column/Post/Excerpt.php CHANGED
@@ -18,7 +18,7 @@ class AC_Column_Post_Excerpt extends AC_Column {
18
  $value = parent::get_value( $post_id );
19
 
20
  if ( $value && ! has_excerpt( $post_id ) && $value !== $this->get_empty_char() ) {
21
- $value = '<span class="ac-inline-info">' . __( 'Excerpt from content', 'codepress-admin-columns' ) . '</span> ' . $value;
22
  }
23
 
24
  return $value;
18
  $value = parent::get_value( $post_id );
19
 
20
  if ( $value && ! has_excerpt( $post_id ) && $value !== $this->get_empty_char() ) {
21
+ $value = ac_helper()->html->tooltip( ac_helper()->icon->dashicon( array( 'icon' => 'media-text', 'class' => 'gray' ) ), __( 'Excerpt is missing.' ) . ' ' . __( 'Current excerpt is generated from the content.' ) ) . ' ' . $value;
22
  }
23
 
24
  return $value;
classes/Column/Post/Status.php CHANGED
@@ -4,9 +4,6 @@ if ( ! defined( 'ABSPATH' ) ) {
4
  exit;
5
  }
6
 
7
- /**
8
- * @since 2.0
9
- */
10
  class AC_Column_Post_Status extends AC_Column {
11
 
12
  public function __construct() {
@@ -14,26 +11,12 @@ class AC_Column_Post_Status extends AC_Column {
14
  $this->set_label( __( 'Status', 'codepress-admin-columns' ) );
15
  }
16
 
17
- public function get_value( $post_id ) {
18
- global $wp_post_statuses;
19
-
20
- $post_status = $this->get_raw_value( $post_id );
21
-
22
- if ( ! isset( $wp_post_statuses[ $post_status ] ) ) {
23
- return false;
24
- }
25
-
26
- $label = $wp_post_statuses[ $post_status ]->label;
27
-
28
- if ( 'future' === $post_status ) {
29
- $label .= " <p class='description'>" . date_i18n( get_option( 'date_format' ) . ' ' . get_option( 'time_format' ), strtotime( get_post_field( 'post_date', $post_id ) ) ) . "</p>";
30
- }
31
-
32
- return $label;
33
- }
34
-
35
  public function get_raw_value( $post_id ) {
36
  return get_post_field( 'post_status', $post_id );
37
  }
38
 
 
 
 
 
39
  }
4
  exit;
5
  }
6
 
 
 
 
7
  class AC_Column_Post_Status extends AC_Column {
8
 
9
  public function __construct() {
11
  $this->set_label( __( 'Status', 'codepress-admin-columns' ) );
12
  }
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  public function get_raw_value( $post_id ) {
15
  return get_post_field( 'post_status', $post_id );
16
  }
17
 
18
+ public function register_settings() {
19
+ $this->add_setting( new AC_Settings_Column_StatusIcon( $this ) );
20
+ }
21
+
22
  }
classes/Column/User/DisplayName.php CHANGED
@@ -14,11 +14,11 @@ class AC_Column_User_DisplayName extends AC_Column {
14
  $this->set_label( __( 'Display Name', 'codepress-admin-columns' ) );
15
  }
16
 
17
- function get_value( $user_id ) {
18
  return $this->get_raw_value( $user_id );
19
  }
20
 
21
- function get_raw_value( $user_id ) {
22
  $userdata = get_userdata( $user_id );
23
 
24
  return $userdata->display_name;
14
  $this->set_label( __( 'Display Name', 'codepress-admin-columns' ) );
15
  }
16
 
17
+ public function get_value( $user_id ) {
18
  return $this->get_raw_value( $user_id );
19
  }
20
 
21
+ public function get_raw_value( $user_id ) {
22
  $userdata = get_userdata( $user_id );
23
 
24
  return $userdata->display_name;
classes/Column/User/ID.php CHANGED
@@ -14,11 +14,11 @@ class AC_Column_User_ID extends AC_Column {
14
  $this->set_label( __( 'User ID', 'codepress-admin-columns' ) );
15
  }
16
 
17
- function get_value( $user_id ) {
18
  return $this->get_raw_value( $user_id );
19
  }
20
 
21
- function get_raw_value( $user_id ) {
22
  return $user_id;
23
  }
24
 
14
  $this->set_label( __( 'User ID', 'codepress-admin-columns' ) );
15
  }
16
 
17
+ public function get_value( $user_id ) {
18
  return $this->get_raw_value( $user_id );
19
  }
20
 
21
+ public function get_raw_value( $user_id ) {
22
  return $user_id;
23
  }
24
 
classes/Helper/Html.php CHANGED
@@ -107,19 +107,19 @@ class AC_Helper_Html {
107
  }
108
 
109
  /**
110
- * Displays a toggle Box.
111
- *
112
  * @param string $label
113
  * @param string $contents
114
  */
115
  public function toggle_box( $label, $contents ) {
116
- if ( ! $label ) {
117
- return;
118
- }
119
 
120
  if ( $contents ) : ?>
121
- <a class="ac-toggle-box-link" href="#"><?php echo $label; ?></a>
122
- <div class="ac-toggle-box-contents"><?php echo $contents; ?></div>
123
  <?php
124
  else :
125
  echo $label;
@@ -194,7 +194,7 @@ class AC_Helper_Html {
194
  * @param string $name
195
  */
196
  public function indicator( $class, $id, $title = false ) { ?>
197
- <span class="indicator-<?php echo esc_attr( $class ); ?>" data-indicator-id="<?php echo esc_attr( $id ); ?>" title="<?php echo esc_attr( $title ); ?>"></span>
198
  <?php
199
  }
200
 
@@ -309,18 +309,18 @@ class AC_Helper_Html {
309
 
310
  ob_start();
311
  ?>
312
- <div class="ac-progress-bar<?php echo esc_attr( $class ); ?>">
313
  <?php if ( $args['label_main'] ) : ?>
314
- <span class="ac-label-main"><?php echo esc_html( $args['label_main'] ); ?></span>
315
  <?php endif; ?>
316
- <div class="ac-bar-container">
317
- <span class="ac-label-left"><?php echo esc_html( $args['label_left'] ); ?></span>
318
- <span class="ac-label-right"><?php echo esc_html( $args['label_right'] ); ?></span>
319
  <?php if ( $percentage ) : ?>
320
- <div class="ac-bar" style="width:<?php echo esc_attr( $percentage ); ?>%"></div>
321
  <?php endif; ?>
322
- </div>
323
- </div>
324
  <?php
325
 
326
  return ob_get_clean();
@@ -337,10 +337,10 @@ class AC_Helper_Html {
337
  echo implode( $glue, $first_set );
338
 
339
  if ( $last_set ) { ?>
340
- <span class="ac-more-link-show">( <a><?php printf( __( 'Show %s more', 'codepress-admin-columns' ), count( $last_set ) ); ?></a> )</span>
341
- <span class="ac-show-more-block">
342
  <?php echo $glue . implode( $glue, $first_set ); ?>
343
- <br/>
344
  <span class="ac-more-link-hide">( <a><?php _e( 'Hide', 'codepress-admin-columns' ); ?></a> )</span>
345
  </span>
346
  <?php
@@ -361,4 +361,49 @@ class AC_Helper_Html {
361
  return '<span class="ac-rounded">' . $string . '</span>';
362
  }
363
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
  }
107
  }
108
 
109
  /**
110
+ * Displays a toggle Box.
111
+ *
112
  * @param string $label
113
  * @param string $contents
114
  */
115
  public function toggle_box( $label, $contents ) {
116
+ if ( ! $label ) {
117
+ return;
118
+ }
119
 
120
  if ( $contents ) : ?>
121
+ <a class="ac-toggle-box-link" href="#"><?php echo $label; ?></a>
122
+ <div class="ac-toggle-box-contents"><?php echo $contents; ?></div>
123
  <?php
124
  else :
125
  echo $label;
194
  * @param string $name
195
  */
196
  public function indicator( $class, $id, $title = false ) { ?>
197
+ <span class="indicator-<?php echo esc_attr( $class ); ?>" data-indicator-id="<?php echo esc_attr( $id ); ?>" title="<?php echo esc_attr( $title ); ?>"></span>
198
  <?php
199
  }
200
 
309
 
310
  ob_start();
311
  ?>
312
+ <div class="ac-progress-bar<?php echo esc_attr( $class ); ?>">
313
  <?php if ( $args['label_main'] ) : ?>
314
+ <span class="ac-label-main"><?php echo esc_html( $args['label_main'] ); ?></span>
315
  <?php endif; ?>
316
+ <div class="ac-bar-container">
317
+ <span class="ac-label-left"><?php echo esc_html( $args['label_left'] ); ?></span>
318
+ <span class="ac-label-right"><?php echo esc_html( $args['label_right'] ); ?></span>
319
  <?php if ( $percentage ) : ?>
320
+ <div class="ac-bar" style="width:<?php echo esc_attr( $percentage ); ?>%"></div>
321
  <?php endif; ?>
322
+ </div>
323
+ </div>
324
  <?php
325
 
326
  return ob_get_clean();
337
  echo implode( $glue, $first_set );
338
 
339
  if ( $last_set ) { ?>
340
+ <span class="ac-more-link-show">( <a><?php printf( __( 'Show %s more', 'codepress-admin-columns' ), count( $last_set ) ); ?></a> )</span>
341
+ <span class="ac-show-more-block">
342
  <?php echo $glue . implode( $glue, $first_set ); ?>
343
+ <br/>
344
  <span class="ac-more-link-hide">( <a><?php _e( 'Hide', 'codepress-admin-columns' ); ?></a> )</span>
345
  </span>
346
  <?php
361
  return '<span class="ac-rounded">' . $string . '</span>';
362
  }
363
 
364
+ /**
365
+ * Returns star rating based on X start from $max count. Does support decimals.
366
+ *
367
+ * @param int $count
368
+ * @param int $max
369
+ *
370
+ * @return string
371
+ */
372
+ public function stars( $count, $max = 0 ) {
373
+ $stars = array(
374
+ 'filled' => floor( $count ),
375
+ 'half' => floor( round( ( $count * 2 ) ) - ( floor( $count ) * 2 ) ) ? 1 : 0,
376
+ 'empty' => 0,
377
+ );
378
+
379
+ $max = absint( $max );
380
+
381
+ if ( $max > 0 ) {
382
+ $star_count = $stars['filled'] + $stars['half'];
383
+
384
+ $stars['empty'] = $max - $star_count;
385
+
386
+ if ( $star_count > $max ) {
387
+ $stars['filled'] = $max;
388
+ $stars['half'] = 0;
389
+ }
390
+ }
391
+
392
+ $icons = array();
393
+
394
+ foreach ( $stars as $type => $count ) {
395
+ for ( $i = 1; $i <= $count; $i++ ) {
396
+ $icons[] = ac_helper()->icon->dashicon( array( 'icon' => 'star-' . $type, 'class' => 'ac-value-star' ) );
397
+ }
398
+ }
399
+
400
+ ob_start();
401
+ ?>
402
+ <span class="ac-value-stars">
403
+ <?php echo implode( ' ', $icons ); ?>
404
+ </span>
405
+ <?php
406
+ return ob_get_clean();
407
+ }
408
+
409
  }
classes/Helper/Image.php CHANGED
@@ -139,14 +139,18 @@ class AC_Helper_Image {
139
  /**
140
  * @param mixed $images
141
  * @param array|string $size
 
142
  *
143
  * @return array
144
  */
145
- public function get_images( $images, $size = 'thumbnail' ) {
146
  $thumbnails = array();
147
 
148
  foreach ( (array) $images as $value ) {
149
- if ( ac_helper()->string->is_image( $value ) ) {
 
 
 
150
  $thumbnails[] = $this->get_image_by_url( $value, $size );
151
  } // Media Attachment
152
  else if ( is_numeric( $value ) && wp_get_attachment_url( $value ) ) {
@@ -163,8 +167,8 @@ class AC_Helper_Image {
163
  *
164
  * @return string
165
  */
166
- public function get_image( $image, $size = 'thumbnail' ) {
167
- return implode( $this->get_images( $image, $size ) );
168
  }
169
 
170
  /**
@@ -205,7 +209,7 @@ class AC_Helper_Image {
205
  * @return string File extension
206
  */
207
  public function get_file_extension( $attachment_id ) {
208
- return pathinfo( $this->get_file_name( $attachment_id ), PATHINFO_EXTENSION );
209
  }
210
 
211
  // Helpers
@@ -216,25 +220,25 @@ class AC_Helper_Image {
216
 
217
  private function markup_cover( $src, $width, $height, $media_id = null ) {
218
  ob_start(); ?>
219
- <span class="ac-image cpac-cover" data-media-id="<?php echo esc_attr( $media_id ); ?>" style="width:<?php echo esc_attr( $width ); ?>px;height:<?php echo esc_attr( $height ); ?>px;background-size:cover;background-image:url(<?php echo esc_attr( $src ); ?>);background-position:center;"<?php echo $this->get_file_tooltip_attr( $media_id ); ?>></span>
220
 
221
  <?php
222
  return ob_get_clean();
223
  }
224
 
225
  private function markup( $src, $width, $height, $media_id = null, $add_extension = false ) {
226
- $class = false;
227
 
228
- if ( $media_id && ! wp_attachment_is_image( $media_id ) ) {
229
- $class = ' ac-icon';
230
- }
231
 
232
  ob_start(); ?>
233
- <span class="ac-image<?php echo $class; ?>" data-media-id="<?php echo esc_attr( $media_id ); ?>"<?php echo $this->get_file_tooltip_attr( $media_id ); ?>>
234
  <img style="max-width:<?php echo esc_attr( $width ); ?>px;max-height:<?php echo esc_attr( $height ); ?>px;" src="<?php echo esc_attr( $src ); ?>">
235
 
236
  <?php if ( $add_extension ) : ?>
237
- <span class="ac-extension"><?php echo esc_attr( $this->get_file_extension( $media_id ) ); ?></span>
238
  <?php endif; ?>
239
 
240
  </span>
139
  /**
140
  * @param mixed $images
141
  * @param array|string $size
142
+ * @param bool $skip_image_check Skips image check. Useful when the url does not have an image extension like jpg or gif (e.g. gravatar).
143
  *
144
  * @return array
145
  */
146
+ public function get_images( $images, $size = 'thumbnail', $skip_image_check = false ) {
147
  $thumbnails = array();
148
 
149
  foreach ( (array) $images as $value ) {
150
+ if ( $skip_image_check && $value && is_string( $value ) ) {
151
+ $thumbnails[] = $this->get_image_by_url( $value, $size );
152
+ }
153
+ else if ( ac_helper()->string->is_image( $value ) ) {
154
  $thumbnails[] = $this->get_image_by_url( $value, $size );
155
  } // Media Attachment
156
  else if ( is_numeric( $value ) && wp_get_attachment_url( $value ) ) {
167
  *
168
  * @return string
169
  */
170
+ public function get_image( $image, $size = 'thumbnail', $skip_image_check = false ) {
171
+ return implode( $this->get_images( $image, $size, $skip_image_check ) );
172
  }
173
 
174
  /**
209
  * @return string File extension
210
  */
211
  public function get_file_extension( $attachment_id ) {
212
+ return pathinfo( $this->get_file_name( $attachment_id ), PATHINFO_EXTENSION );
213
  }
214
 
215
  // Helpers
220
 
221
  private function markup_cover( $src, $width, $height, $media_id = null ) {
222
  ob_start(); ?>
223
+ <span class="ac-image cpac-cover" data-media-id="<?php echo esc_attr( $media_id ); ?>" style="width:<?php echo esc_attr( $width ); ?>px;height:<?php echo esc_attr( $height ); ?>px;background-size:cover;background-image:url(<?php echo esc_attr( $src ); ?>);background-position:center;"<?php echo $this->get_file_tooltip_attr( $media_id ); ?>></span>
224
 
225
  <?php
226
  return ob_get_clean();
227
  }
228
 
229
  private function markup( $src, $width, $height, $media_id = null, $add_extension = false ) {
230
+ $class = false;
231
 
232
+ if ( $media_id && ! wp_attachment_is_image( $media_id ) ) {
233
+ $class = ' ac-icon';
234
+ }
235
 
236
  ob_start(); ?>
237
+ <span class="ac-image<?php echo $class; ?>" data-media-id="<?php echo esc_attr( $media_id ); ?>"<?php echo $this->get_file_tooltip_attr( $media_id ); ?>>
238
  <img style="max-width:<?php echo esc_attr( $width ); ?>px;max-height:<?php echo esc_attr( $height ); ?>px;" src="<?php echo esc_attr( $src ); ?>">
239
 
240
  <?php if ( $add_extension ) : ?>
241
+ <span class="ac-extension"><?php echo esc_attr( $this->get_file_extension( $media_id ) ); ?></span>
242
  <?php endif; ?>
243
 
244
  </span>
classes/Helper/String.php CHANGED
@@ -94,7 +94,7 @@ class AC_Helper_String {
94
 
95
  $string = wp_strip_all_tags( $string );
96
 
97
- if ( strlen( $string ) <= $limit ) {
98
  return $string;
99
  }
100
 
@@ -102,7 +102,7 @@ class AC_Helper_String {
102
  $trail = __( '&hellip;' );
103
  }
104
 
105
- return substr( $string, 0, $limit ) . $trail;
106
  }
107
 
108
  /**
@@ -168,7 +168,7 @@ class AC_Helper_String {
168
  * @return bool
169
  */
170
  public function is_image( $url ) {
171
- return $url && is_string( $url ) ? in_array( strrchr( $url, '.' ), array( '.jpg', '.jpeg', '.gif', '.png', '.bmp' ) ) : false;
172
  }
173
 
174
  /**
94
 
95
  $string = wp_strip_all_tags( $string );
96
 
97
+ if ( mb_strlen( $string ) <= $limit ) {
98
  return $string;
99
  }
100
 
102
  $trail = __( '&hellip;' );
103
  }
104
 
105
+ return mb_substr( $string, 0, $limit ) . $trail;
106
  }
107
 
108
  /**
168
  * @return bool
169
  */
170
  public function is_image( $url ) {
171
+ return $url && is_string( $url ) && in_array( strrchr( $url, '.' ), array( '.jpg', '.jpeg', '.gif', '.png', '.bmp' ) );
172
  }
173
 
174
  /**
classes/ListScreen.php CHANGED
@@ -378,7 +378,10 @@ abstract class AC_ListScreen {
378
  $columns = $this->get_columns();
379
 
380
  foreach ( $columns as $column ) {
381
- if ( $column->get_name() === $name ) {
 
 
 
382
  return $column;
383
  }
384
  }
378
  $columns = $this->get_columns();
379
 
380
  foreach ( $columns as $column ) {
381
+
382
+ // Do not do a var type check. All column names
383
+ // are stored as strings, even integers.
384
+ if ( $column->get_name() == $name ) {
385
  return $column;
386
  }
387
  }
classes/Settings/Column/CustomFieldType.php CHANGED
@@ -170,6 +170,17 @@ class AC_Settings_Column_CustomFieldType extends AC_Settings_Column
170
  return $grouped_options;
171
  }
172
 
 
 
 
 
 
 
 
 
 
 
 
173
  /**
174
  * @param string|array $string
175
  *
@@ -210,9 +221,12 @@ class AC_Settings_Column_CustomFieldType extends AC_Settings_Column
210
  }
211
 
212
  $value = implode( ac_helper()->html->divider(), $values );
 
213
  break;
 
 
214
 
215
- case 'image' :
216
  case 'library_id' :
217
  $value = new AC_Collection( $this->get_ids_from_array_or_string( $value ) );
218
 
170
  return $grouped_options;
171
  }
172
 
173
+ /**
174
+ * @param string|array $string
175
+ *
176
+ * @return array
177
+ */
178
+ private function get_values_from_array_or_string( $string ) {
179
+ $string = ac_helper()->array->implode_recursive( ',', $string );
180
+
181
+ return ac_helper()->string->comma_separated_to_array( $string );
182
+ }
183
+
184
  /**
185
  * @param string|array $string
186
  *
221
  }
222
 
223
  $value = implode( ac_helper()->html->divider(), $values );
224
+
225
  break;
226
+ case 'image':
227
+ $value = new AC_Collection( $this->get_values_from_array_or_string( $value ) );
228
 
229
+ break;
230
  case 'library_id' :
231
  $value = new AC_Collection( $this->get_ids_from_array_or_string( $value ) );
232
 
classes/Settings/Column/Image.php CHANGED
@@ -177,7 +177,7 @@ class AC_Settings_Column_Image extends AC_Settings_Column
177
  return true;
178
  }
179
 
180
- public function format( $value, $original_value ) {
181
  $size = $this->get_image_size();
182
 
183
  if ( 'cpac-custom' == $size ) {
@@ -189,7 +189,11 @@ class AC_Settings_Column_Image extends AC_Settings_Column
189
  $size = array( 80, 80 );
190
  }
191
 
192
- return ac_helper()->image->get_image( $value, $size );
 
 
 
 
193
  }
194
 
195
  }
177
  return true;
178
  }
179
 
180
+ protected function get_size_args() {
181
  $size = $this->get_image_size();
182
 
183
  if ( 'cpac-custom' == $size ) {
189
  $size = array( 80, 80 );
190
  }
191
 
192
+ return $size;
193
+ }
194
+
195
+ public function format( $value, $original_value ) {
196
+ return ac_helper()->image->get_image( $value, $this->get_size_args() );
197
  }
198
 
199
  }
classes/Settings/Column/StatusIcon.php ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit;
5
+ }
6
+
7
+ class AC_Settings_Column_StatusIcon extends AC_Settings_Column
8
+ implements AC_Settings_FormatValueInterface {
9
+
10
+ /**
11
+ * @var bool
12
+ */
13
+ private $use_icon;
14
+
15
+ protected function define_options() {
16
+ return array( 'use_icon' => '' );
17
+ }
18
+
19
+ public function create_view() {
20
+
21
+ $setting = $this->create_element( 'radio' )
22
+ ->set_options( array(
23
+ '1' => __( 'Yes' ),
24
+ '' => __( 'No' ),
25
+ ) );
26
+
27
+ $view = new AC_View( array(
28
+ 'label' => __( 'Use an icon?', 'codepress-admin-columns' ),
29
+ 'tooltip' => __( 'Use an icon instead of text for displaying the status.', 'codepress-admin-columns' ),
30
+ 'setting' => $setting,
31
+ ) );
32
+
33
+ return $view;
34
+ }
35
+
36
+ /**
37
+ * @return int
38
+ */
39
+ public function get_use_icon() {
40
+ return $this->use_icon;
41
+ }
42
+
43
+ /**
44
+ * @param int $use_icons
45
+ *
46
+ * @return bool
47
+ */
48
+ public function set_use_icon( $use_icon ) {
49
+ $this->use_icon = $use_icon;
50
+
51
+ return true;
52
+ }
53
+
54
+ private function get_future_date( $post_id ) {
55
+ return date_i18n( get_option( 'date_format' ) . ' ' . get_option( 'time_format' ), strtotime( get_post_field( 'post_date', $post_id ) ) );
56
+ }
57
+
58
+ /**
59
+ * @param string $status
60
+ * @param int $post_id
61
+ *
62
+ * @return string
63
+ */
64
+ public function format( $status, $post_id ) {
65
+ global $wp_post_statuses;
66
+
67
+ $value = $status;
68
+
69
+ if ( $this->get_use_icon() ) {
70
+
71
+ switch ( $status ) {
72
+ case 'private' :
73
+ $value = ac_helper()->html->tooltip( ac_helper()->icon->dashicon( array( 'icon' => 'hidden', 'class' => 'gray' ) ), __( 'Private' ) );
74
+ break;
75
+ case 'publish' :
76
+ $value = ac_helper()->html->tooltip( ac_helper()->icon->dashicon( array( 'icon' => 'yes', 'class' => 'blue large' ) ), __( 'Published' ) );
77
+ break;
78
+ case 'draft' :
79
+ $value = ac_helper()->html->tooltip( ac_helper()->icon->dashicon( array( 'icon' => 'edit', 'class' => 'green' ) ), __( 'Draft' ) );
80
+ break;
81
+ case 'pending' :
82
+ $value = ac_helper()->html->tooltip( ac_helper()->icon->dashicon( array( 'icon' => 'backup', 'class' => 'orange' ) ), __( 'Pending for review' ) );
83
+ break;
84
+ case 'future' :
85
+ $value = ac_helper()->html->tooltip( ac_helper()->icon->dashicon( array( 'icon' => 'clock' ) ), __( 'Future' ) . ': <em>' . $this->get_future_date( $post_id ) . '</em>' );
86
+ break;
87
+ }
88
+
89
+ if ( get_post_field( 'post_password', $post_id ) ) {
90
+ $value .= ac_helper()->html->tooltip( ac_helper()->icon->dashicon( array( 'icon' => 'lock', 'class' => 'gray' ) ), __( 'Password protected' ) );
91
+ }
92
+ } else if ( isset( $wp_post_statuses[ $status ] ) ) {
93
+ $value = $wp_post_statuses[ $status ]->label;
94
+
95
+ if ( 'future' === $status ) {
96
+ $value .= " <p class='description'>" . $this->get_future_date( $post_id ) . "</p>";
97
+ }
98
+ }
99
+
100
+ return $value;
101
+ }
102
+
103
+ }
classes/TableScreen.php CHANGED
@@ -244,9 +244,11 @@ final class AC_TableScreen {
244
  }
245
 
246
  if ( $css_column_width ) : ?>
247
- <style>
248
- <?php echo $css_column_width; ?>
249
- </style>
 
 
250
  <?php
251
  endif;
252
  }
244
  }
245
 
246
  if ( $css_column_width ) : ?>
247
+ <style>
248
+ @media screen and (min-width: 783px) {
249
+ <?php echo $css_column_width; ?>
250
+ }
251
+ </style>
252
  <?php
253
  endif;
254
  }
codepress-admin-columns.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Admin Columns
4
- Version: 3.0.2
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
1
  <?php
2
  /*
3
  Plugin Name: Admin Columns
4
+ Version: 3.0.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
languages/codepress-admin-columns-it_IT.mo CHANGED
Binary file
languages/codepress-admin-columns-it_IT.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Plugins - Admin Columns - Stable (latest release) package.
3
  msgid ""
4
  msgstr ""
5
- "PO-Revision-Date: 2017-01-05 20:53:08+0000\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
@@ -29,7 +29,7 @@ msgstr ""
29
 
30
  #: classes/Addon/BuddyPress.php:13
31
  msgid "BuddyPress"
32
- msgstr ""
33
 
34
  #: templates/settings/section.php:23
35
  msgid "View more"
@@ -49,7 +49,7 @@ msgstr ""
49
 
50
  #: classes/TableScreen.php:39
51
  msgid "Invalid item ID."
52
- msgstr ""
53
 
54
  #: classes/Settings/Column/WordsPerMinute.php:32
55
  msgid "By default: %s"
@@ -57,7 +57,7 @@ msgstr ""
57
 
58
  #: classes/Settings/Column/WordLimit.php:35
59
  msgid "Maximum number of words"
60
- msgstr ""
61
 
62
  #: classes/Settings/Column/WordLimit.php:34
63
  msgid "Word Limit"
@@ -65,7 +65,7 @@ msgstr ""
65
 
66
  #: classes/Settings/Column/Width.php:40
67
  msgid "Auto"
68
- msgstr ""
69
 
70
  #: classes/Settings/Column/Term.php:33 classes/Settings/Column/User.php:37
71
  msgid "Display"
@@ -81,19 +81,19 @@ msgstr ""
81
 
82
  #: classes/Settings/Column/Separator.php:31
83
  msgid "Separator"
84
- msgstr ""
85
 
86
  #: classes/Settings/Column/Separator.php:27
87
  msgid "Whitespace"
88
- msgstr ""
89
 
90
  #: classes/Settings/Column/Separator.php:25
91
  msgid "New line"
92
- msgstr ""
93
 
94
  #: classes/Settings/Column/Separator.php:24
95
  msgid "Comma Separated"
96
- msgstr ""
97
 
98
  #: classes/Settings/Column/Password.php:23
99
  msgid "Plain text"
@@ -105,7 +105,7 @@ msgstr ""
105
 
106
  #: classes/Settings/Column/Meta.php:27
107
  msgid "No fields available."
108
- msgstr ""
109
 
110
  #: classes/Settings/Column/Image.php:112
111
  msgid "Custom Size"
@@ -121,11 +121,11 @@ msgstr ""
121
 
122
  #: classes/Settings/Column/Image.php:47
123
  msgid "Height in pixels"
124
- msgstr ""
125
 
126
  #: classes/Settings/Column/Image.php:41
127
  msgid "Width in pixels"
128
- msgstr ""
129
 
130
  #: classes/Settings/Column/Date.php:181
131
  msgid "in %s"
@@ -137,7 +137,7 @@ msgstr ""
137
 
138
  #: classes/Settings/Column/Date.php:99
139
  msgid "date and time formatting"
140
- msgstr ""
141
 
142
  #: classes/Settings/Column/Date.php:99
143
  msgid "Learn more about %s."
@@ -157,11 +157,11 @@ msgstr ""
157
 
158
  #: classes/Settings/Column/Date.php:70
159
  msgid "or"
160
- msgstr ""
161
 
162
  #: classes/Settings/Column/Date.php:70
163
  msgid "For example: %s."
164
- msgstr ""
165
 
166
  #: classes/Settings/Column/Date.php:70
167
  msgid "The difference is returned in a human readable format."
@@ -173,7 +173,7 @@ msgstr ""
173
 
174
  #: classes/Settings/Column/CustomFieldType.php:152
175
  msgid "Multiple"
176
- msgstr ""
177
 
178
  #: classes/Settings/Column/CustomFieldType.php:151
179
  msgid "Choice"
@@ -193,7 +193,7 @@ msgstr ""
193
 
194
  #: classes/Settings/Column/CustomFieldType.php:109
195
  msgid "True / False"
196
- msgstr ""
197
 
198
  #: classes/Settings/Column/CustomFieldType.php:108
199
  msgid "Has Content"
@@ -201,11 +201,11 @@ msgstr ""
201
 
202
  #: classes/Settings/Column/CustomFieldType.php:105
203
  msgid "Number"
204
- msgstr ""
205
 
206
  #: classes/Settings/Column/CustomFieldType.php:102
207
  msgid "Text"
208
- msgstr ""
209
 
210
  #: classes/Settings/Column/CustomFieldType.php:70
211
  msgid "Multiple ids should be separated by a comma."
@@ -218,7 +218,7 @@ msgstr ""
218
  #: classes/Settings/Column/CustomField.php:36
219
  #: classes/Settings/Column/Meta.php:63 classes/Settings/Column/Post.php:71
220
  msgid "Field"
221
- msgstr ""
222
 
223
  #: classes/Settings/Column/CharacterLimit.php:28
224
  #: classes/Settings/Column/WordLimit.php:35
@@ -227,7 +227,7 @@ msgstr ""
227
 
228
  #: classes/Settings/Column/CharacterLimit.php:28
229
  msgid "Maximum number of characters"
230
- msgstr ""
231
 
232
  #: classes/Settings/Column/CharacterLimit.php:27
233
  msgid "Character Limit"
@@ -243,15 +243,15 @@ msgstr ""
243
 
244
  #: classes/Helper/String.php:270
245
  msgid " and "
246
- msgstr ""
247
 
248
  #: classes/Helper/String.php:268
249
  msgid " or "
250
- msgstr ""
251
 
252
  #: classes/Helper/Html.php:344
253
  msgid "Hide"
254
- msgstr ""
255
 
256
  #: classes/Helper/Html.php:340
257
  msgid "Show %s more"
@@ -259,24 +259,24 @@ msgstr ""
259
 
260
  #: classes/Column/User/Url.php:14
261
  msgid "Website"
262
- msgstr ""
263
 
264
  #: classes/Column/User/ShowToolbar.php:14
265
  msgid "Show Toolbar"
266
- msgstr ""
267
 
268
  #: classes/Column/Post/Shortlink.php:14
269
  msgid "Shortlink"
270
- msgstr ""
271
 
272
  #: classes/Column/Post/Roles.php:33 classes/Column/Taxonomy.php:27
273
  #: classes/Settings/Column/CustomFieldType.php:260
274
  msgid ", "
275
- msgstr ""
276
 
277
  #: classes/Column/Post/Formats.php:24
278
  msgid "Standard"
279
- msgstr ""
280
 
281
  #: classes/Column/Post/CommentStatus.php:17
282
  msgid "Comment Status"
@@ -316,11 +316,11 @@ msgstr ""
316
 
317
  #: classes/Admin/Page/Settings.php:133
318
  msgid "Notice"
319
- msgstr ""
320
 
321
  #: classes/Admin/Page/Settings.php:127
322
  msgid "Instructions"
323
- msgstr ""
324
 
325
  #: classes/Admin/Page/Help.php:315
326
  msgid "our documentation"
@@ -362,7 +362,7 @@ msgstr ""
362
 
363
  #: classes/Admin/Page/Help.php:34 classes/Admin/Page/Help.php:311
364
  msgid "Help"
365
- msgstr ""
366
 
367
  #: classes/Admin/Page/Columns.php:849 classes/Admin/Page/Columns.php:884
368
  msgid "Close"
@@ -370,19 +370,19 @@ msgstr ""
370
 
371
  #: classes/Admin/Page/Columns.php:757
372
  msgid "Clear all columns "
373
- msgstr ""
374
 
375
  #: classes/Admin/Page/Columns.php:664
376
  msgid "I'm using Admin Columns for WordPress!"
377
- msgstr ""
378
 
379
  #: classes/Admin/Page/Columns.php:606
380
  msgid "Your First Name"
381
- msgstr ""
382
 
383
  #: classes/Admin/Page/Columns.php:605
384
  msgid "Your Email"
385
- msgstr ""
386
 
387
  #: classes/Admin/Page/Columns.php:598
388
  msgid "Submit your email and we'll send you a discount for %s off."
2
  # This file is distributed under the same license as the Plugins - Admin Columns - Stable (latest release) package.
3
  msgid ""
4
  msgstr ""
5
+ "PO-Revision-Date: 2017-07-11 20:50:22+0000\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
29
 
30
  #: classes/Addon/BuddyPress.php:13
31
  msgid "BuddyPress"
32
+ msgstr "BuddyPress"
33
 
34
  #: templates/settings/section.php:23
35
  msgid "View more"
49
 
50
  #: classes/TableScreen.php:39
51
  msgid "Invalid item ID."
52
+ msgstr "Elemento ID non valido"
53
 
54
  #: classes/Settings/Column/WordsPerMinute.php:32
55
  msgid "By default: %s"
57
 
58
  #: classes/Settings/Column/WordLimit.php:35
59
  msgid "Maximum number of words"
60
+ msgstr "Numero massimo di parole"
61
 
62
  #: classes/Settings/Column/WordLimit.php:34
63
  msgid "Word Limit"
65
 
66
  #: classes/Settings/Column/Width.php:40
67
  msgid "Auto"
68
+ msgstr "Auto"
69
 
70
  #: classes/Settings/Column/Term.php:33 classes/Settings/Column/User.php:37
71
  msgid "Display"
81
 
82
  #: classes/Settings/Column/Separator.php:31
83
  msgid "Separator"
84
+ msgstr "Separatore"
85
 
86
  #: classes/Settings/Column/Separator.php:27
87
  msgid "Whitespace"
88
+ msgstr "Spazio bianco"
89
 
90
  #: classes/Settings/Column/Separator.php:25
91
  msgid "New line"
92
+ msgstr "Nuova linea"
93
 
94
  #: classes/Settings/Column/Separator.php:24
95
  msgid "Comma Separated"
96
+ msgstr "Separato da virgola"
97
 
98
  #: classes/Settings/Column/Password.php:23
99
  msgid "Plain text"
105
 
106
  #: classes/Settings/Column/Meta.php:27
107
  msgid "No fields available."
108
+ msgstr "Nessun campo disponibile"
109
 
110
  #: classes/Settings/Column/Image.php:112
111
  msgid "Custom Size"
121
 
122
  #: classes/Settings/Column/Image.php:47
123
  msgid "Height in pixels"
124
+ msgstr "Altezza in pixel"
125
 
126
  #: classes/Settings/Column/Image.php:41
127
  msgid "Width in pixels"
128
+ msgstr "Larghezza in pixel"
129
 
130
  #: classes/Settings/Column/Date.php:181
131
  msgid "in %s"
137
 
138
  #: classes/Settings/Column/Date.php:99
139
  msgid "date and time formatting"
140
+ msgstr "formattazione data e ora"
141
 
142
  #: classes/Settings/Column/Date.php:99
143
  msgid "Learn more about %s."
157
 
158
  #: classes/Settings/Column/Date.php:70
159
  msgid "or"
160
+ msgstr "o"
161
 
162
  #: classes/Settings/Column/Date.php:70
163
  msgid "For example: %s."
164
+ msgstr "Per esempio: %s."
165
 
166
  #: classes/Settings/Column/Date.php:70
167
  msgid "The difference is returned in a human readable format."
173
 
174
  #: classes/Settings/Column/CustomFieldType.php:152
175
  msgid "Multiple"
176
+ msgstr "Multiplo"
177
 
178
  #: classes/Settings/Column/CustomFieldType.php:151
179
  msgid "Choice"
193
 
194
  #: classes/Settings/Column/CustomFieldType.php:109
195
  msgid "True / False"
196
+ msgstr "Vero / Falso"
197
 
198
  #: classes/Settings/Column/CustomFieldType.php:108
199
  msgid "Has Content"
201
 
202
  #: classes/Settings/Column/CustomFieldType.php:105
203
  msgid "Number"
204
+ msgstr "Numero"
205
 
206
  #: classes/Settings/Column/CustomFieldType.php:102
207
  msgid "Text"
208
+ msgstr "Testo"
209
 
210
  #: classes/Settings/Column/CustomFieldType.php:70
211
  msgid "Multiple ids should be separated by a comma."
218
  #: classes/Settings/Column/CustomField.php:36
219
  #: classes/Settings/Column/Meta.php:63 classes/Settings/Column/Post.php:71
220
  msgid "Field"
221
+ msgstr "Campo"
222
 
223
  #: classes/Settings/Column/CharacterLimit.php:28
224
  #: classes/Settings/Column/WordLimit.php:35
227
 
228
  #: classes/Settings/Column/CharacterLimit.php:28
229
  msgid "Maximum number of characters"
230
+ msgstr "Numero massimo di caratteri"
231
 
232
  #: classes/Settings/Column/CharacterLimit.php:27
233
  msgid "Character Limit"
243
 
244
  #: classes/Helper/String.php:270
245
  msgid " and "
246
+ msgstr "e"
247
 
248
  #: classes/Helper/String.php:268
249
  msgid " or "
250
+ msgstr "o"
251
 
252
  #: classes/Helper/Html.php:344
253
  msgid "Hide"
254
+ msgstr "Nascondi"
255
 
256
  #: classes/Helper/Html.php:340
257
  msgid "Show %s more"
259
 
260
  #: classes/Column/User/Url.php:14
261
  msgid "Website"
262
+ msgstr "Sito web"
263
 
264
  #: classes/Column/User/ShowToolbar.php:14
265
  msgid "Show Toolbar"
266
+ msgstr "Mostra la barra degli strumenti"
267
 
268
  #: classes/Column/Post/Shortlink.php:14
269
  msgid "Shortlink"
270
+ msgstr "Shortlink"
271
 
272
  #: classes/Column/Post/Roles.php:33 classes/Column/Taxonomy.php:27
273
  #: classes/Settings/Column/CustomFieldType.php:260
274
  msgid ", "
275
+ msgstr ", "
276
 
277
  #: classes/Column/Post/Formats.php:24
278
  msgid "Standard"
279
+ msgstr "Standard"
280
 
281
  #: classes/Column/Post/CommentStatus.php:17
282
  msgid "Comment Status"
316
 
317
  #: classes/Admin/Page/Settings.php:133
318
  msgid "Notice"
319
+ msgstr "Avviso"
320
 
321
  #: classes/Admin/Page/Settings.php:127
322
  msgid "Instructions"
323
+ msgstr "Istruzioni"
324
 
325
  #: classes/Admin/Page/Help.php:315
326
  msgid "our documentation"
362
 
363
  #: classes/Admin/Page/Help.php:34 classes/Admin/Page/Help.php:311
364
  msgid "Help"
365
+ msgstr "Aiuto"
366
 
367
  #: classes/Admin/Page/Columns.php:849 classes/Admin/Page/Columns.php:884
368
  msgid "Close"
370
 
371
  #: classes/Admin/Page/Columns.php:757
372
  msgid "Clear all columns "
373
+ msgstr "Cancellare tutte le colonne "
374
 
375
  #: classes/Admin/Page/Columns.php:664
376
  msgid "I'm using Admin Columns for WordPress!"
377
+ msgstr "Sto usando Admin Columns per WordPress!"
378
 
379
  #: classes/Admin/Page/Columns.php:606
380
  msgid "Your First Name"
381
+ msgstr "Il tuo nome"
382
 
383
  #: classes/Admin/Page/Columns.php:605
384
  msgid "Your Email"
385
+ msgstr "La tua email"
386
 
387
  #: classes/Admin/Page/Columns.php:598
388
  msgid "Submit your email and we'll send you a discount for %s off."
languages/codepress-admin-columns-ro_RO.mo CHANGED
Binary file
languages/codepress-admin-columns-ro_RO.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Plugins - Admin Columns - Stable (latest release) package.
3
  msgid ""
4
  msgstr ""
5
- "PO-Revision-Date: 2017-05-03 16:39:31+0000\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
@@ -775,7 +775,7 @@ msgstr ""
775
 
776
  #: classes/Admin/Page/Settings.php:229
777
  msgid "Restore default settings"
778
- msgstr "Restaurează setări implicite"
779
 
780
  #: classes/Admin/Page/Settings.php:221
781
  msgid "This will delete all column settings and restore the default settings."
2
  # This file is distributed under the same license as the Plugins - Admin Columns - Stable (latest release) package.
3
  msgid ""
4
  msgstr ""
5
+ "PO-Revision-Date: 2017-07-06 14:09:35+0000\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
775
 
776
  #: classes/Admin/Page/Settings.php:229
777
  msgid "Restore default settings"
778
+ msgstr "Restaurează setările implicite"
779
 
780
  #: classes/Admin/Page/Settings.php:221
781
  msgid "This will delete all column settings and restore the default settings."
languages/codepress-admin-columns.pot CHANGED
@@ -44,7 +44,7 @@ msgstr ""
44
  msgid "Admin Columns"
45
  msgstr ""
46
 
47
- #: ../classes/ListScreen.php:638
48
  msgid "No columns settings available."
49
  msgstr ""
50
 
@@ -72,6 +72,14 @@ msgstr ""
72
  msgid "Advanced Custom Fields"
73
  msgstr ""
74
 
 
 
 
 
 
 
 
 
75
  #: ../classes/Addon/Pods.php:9
76
  msgid "Pods"
77
  msgstr ""
@@ -136,11 +144,11 @@ msgstr ""
136
  msgid "Hide"
137
  msgstr ""
138
 
139
- #: ../classes/Helper/String.php:264
140
  msgid " or "
141
  msgstr ""
142
 
143
- #: ../classes/Helper/String.php:266
144
  msgid " and "
145
  msgstr ""
146
 
@@ -438,183 +446,183 @@ msgstr ""
438
  msgid "You need at least one column"
439
  msgstr ""
440
 
441
- #: ../classes/Admin/Page/Columns.php:336
442
- msgid "You are trying to store the same settings for %s."
443
  msgstr ""
444
 
445
- #: ../classes/Admin/Page/Columns.php:349
446
- msgid "Settings for %s updated successfully."
447
  msgstr ""
448
 
449
- #: ../classes/Admin/Page/Columns.php:350
450
- msgid "View %s screen"
451
  msgstr ""
452
 
453
- #: ../classes/Admin/Page/Columns.php:443
454
  msgid "The columns for %s are set up via PHP and can therefore not be edited."
455
  msgstr ""
456
 
457
- #: ../classes/Admin/Page/Columns.php:475
458
  msgid "View"
459
  msgstr ""
460
 
461
- #: ../classes/Admin/Page/Columns.php:489
462
  msgid "Store settings"
463
  msgstr ""
464
 
465
- #: ../classes/Admin/Page/Columns.php:511
466
  msgid "Warning! The %s columns data will be deleted. This cannot be undone. 'OK' to delete, 'Cancel' to stop"
467
  msgstr ""
468
 
469
- #: ../classes/Admin/Page/Columns.php:512
470
  msgid "Restore columns"
471
  msgstr ""
472
 
473
- #: ../classes/Admin/Page/Columns.php:531
474
  msgid "Upgrade to"
475
  msgstr ""
476
 
477
- #: ../classes/Admin/Page/Columns.php:531
478
  msgid "Pro"
479
  msgstr ""
480
 
481
- #: ../classes/Admin/Page/Columns.php:536
482
  msgid "Take Admin Columns to the next level:"
483
  msgstr ""
484
 
485
- #: ../classes/Admin/Page/Columns.php:541
486
  msgid "Add sortable columns"
487
  msgstr ""
488
 
489
- #: ../classes/Admin/Page/Columns.php:542
490
  msgid "Add filterable columns"
491
  msgstr ""
492
 
493
- #: ../classes/Admin/Page/Columns.php:543
494
  msgid "Edit your column content directly"
495
  msgstr ""
496
 
497
- #: ../classes/Admin/Page/Columns.php:544
498
  msgid "Create multiple columns sets"
499
  msgstr ""
500
 
501
- #: ../classes/Admin/Page/Columns.php:545
502
  msgid "Import &amp; Export settings"
503
  msgstr ""
504
 
505
- #: ../classes/Admin/Page/Columns.php:557
506
  msgid "Extra Columns for:"
507
  msgstr ""
508
 
509
- #: ../classes/Admin/Page/Columns.php:568
510
  msgid "Prices starting from %s"
511
  msgstr ""
512
 
513
- #: ../classes/Admin/Page/Columns.php:573
514
  msgid "Learn more about Pro"
515
  msgstr ""
516
 
517
- #: ../classes/Admin/Page/Columns.php:590
518
  msgid "Get %s Off!"
519
  msgstr ""
520
 
521
- #: ../classes/Admin/Page/Columns.php:594
522
  msgid "Submit your email and we'll send you a discount for %s off."
523
  msgstr ""
524
 
525
- #: ../classes/Admin/Page/Columns.php:601
526
  msgid "Your Email"
527
  msgstr ""
528
 
529
- #: ../classes/Admin/Page/Columns.php:602
530
  msgid "Your First Name"
531
  msgstr ""
532
 
533
- #: ../classes/Admin/Page/Columns.php:603
534
  msgid "Send me the discount"
535
  msgstr ""
536
 
537
- #: ../classes/Admin/Page/Columns.php:614
538
  msgid "Are you happy with Admin Columns?"
539
  msgstr ""
540
 
541
- #: ../classes/Admin/Page/Columns.php:624
542
  msgid "What's wrong? Need help? Let us know!"
543
  msgstr ""
544
 
545
- #: ../classes/Admin/Page/Columns.php:627
546
  msgid "Check out our extensive documentation, or you can open a support topic on WordPress.org!"
547
  msgstr ""
548
 
549
- #: ../classes/Admin/Page/Columns.php:632
550
  msgid "Docs"
551
  msgstr ""
552
 
553
- #: ../classes/Admin/Page/Columns.php:637
554
  msgid "Forums"
555
  msgstr ""
556
 
557
- #: ../classes/Admin/Page/Columns.php:647
558
  msgid "Woohoo! We're glad to hear that!"
559
  msgstr ""
560
 
561
- #: ../classes/Admin/Page/Columns.php:650
562
  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!"
563
  msgstr ""
564
 
565
- #: ../classes/Admin/Page/Columns.php:655
566
  msgid "Rate"
567
  msgstr ""
568
 
569
- #: ../classes/Admin/Page/Columns.php:660
570
  msgid "I'm using Admin Columns for WordPress!"
571
  msgstr ""
572
 
573
- #: ../classes/Admin/Page/Columns.php:661
574
  msgid "Tweet"
575
  msgstr ""
576
 
577
- #: ../classes/Admin/Page/Columns.php:667
578
  msgid "Buy Pro"
579
  msgstr ""
580
 
581
- #: ../classes/Admin/Page/Columns.php:679
582
  msgid "Support"
583
  msgstr ""
584
 
585
- #: ../classes/Admin/Page/Columns.php:684
586
  msgid "Check the <strong>Help</strong> section in the top-right screen."
587
  msgstr ""
588
 
589
- #: ../classes/Admin/Page/Columns.php:688
590
  msgid "For full documentation, bug reports, feature suggestions and other tips <a href='%s'>visit the Admin Columns website</a>"
591
  msgstr ""
592
 
593
- #: ../classes/Admin/Page/Columns.php:739
594
  msgid "Drag and drop to reorder"
595
  msgstr ""
596
 
597
- #: ../classes/Admin/Page/Columns.php:753
598
  msgid "Clear all columns "
599
  msgstr ""
600
 
601
- #: ../classes/Admin/Page/Columns.php:759
602
  msgid "Add Column"
603
  msgstr ""
604
 
605
- #: ../classes/Admin/Page/Columns.php:844
606
  msgid "Edit"
607
  msgstr ""
608
 
609
- #: ../classes/Admin/Page/Columns.php:845, ../classes/Admin/Page/Columns.php:880
610
  msgid "Close"
611
  msgstr ""
612
 
613
- #: ../classes/Admin/Page/Columns.php:847, ../classes/Admin/Page/Columns.php:882
614
  msgid "Clone"
615
  msgstr ""
616
 
617
- #: ../classes/Admin/Page/Columns.php:849
618
  msgid "Remove"
619
  msgstr ""
620
 
@@ -828,7 +836,7 @@ msgstr ""
828
  msgid "In Reply To"
829
  msgstr ""
830
 
831
- #: ../classes/Column/Comment/Status.php:10, ../classes/Column/Post/Status.php:10
832
  msgid "Status"
833
  msgstr ""
834
 
@@ -952,10 +960,6 @@ msgstr ""
952
  msgid "Estimated Reading Time"
953
  msgstr ""
954
 
955
- #: ../classes/Column/Post/Excerpt.php:17
956
- msgid "Excerpt from content"
957
- msgstr ""
958
-
959
  #: ../classes/Column/Post/FeaturedImage.php:10
960
  msgid "Featured Image"
961
  msgstr ""
@@ -1136,7 +1140,7 @@ msgstr ""
1136
  msgid "Please create a %s item first."
1137
  msgstr ""
1138
 
1139
- #: ../classes/Settings/Column/CustomField.php:32, ../classes/Settings/Column/Meta.php:59, ../classes/Settings/Column/Post.php:67
1140
  msgid "Field"
1141
  msgstr ""
1142
 
@@ -1364,6 +1368,10 @@ msgstr ""
1364
  msgid "Part of the file path to display"
1365
  msgstr ""
1366
 
 
 
 
 
1367
  #: ../classes/Settings/Column/PostLink.php:52, ../classes/Settings/Column/User.php:43
1368
  msgid "Link To"
1369
  msgstr ""
@@ -1400,8 +1408,12 @@ msgstr ""
1400
  msgid "Select a repeater sub field."
1401
  msgstr ""
1402
 
1403
- #: ../classes/Settings/Column/Term.php:29, ../classes/Settings/Column/User.php:33
1404
- msgid "Display"
 
 
 
 
1405
  msgstr ""
1406
 
1407
  #: ../classes/Settings/Column/Type.php:22
44
  msgid "Admin Columns"
45
  msgstr ""
46
 
47
+ #: ../classes/ListScreen.php:648
48
  msgid "No columns settings available."
49
  msgstr ""
50
 
72
  msgid "Advanced Custom Fields"
73
  msgstr ""
74
 
75
+ #: ../classes/Addon/BuddyPress.php:13
76
+ msgid "Display any of your Profile Fields for BuddyPress on your users overview."
77
+ msgstr ""
78
+
79
+ #: ../classes/Addon/BuddyPress.php:9
80
+ msgid "BuddyPress"
81
+ msgstr ""
82
+
83
  #: ../classes/Addon/Pods.php:9
84
  msgid "Pods"
85
  msgstr ""
144
  msgid "Hide"
145
  msgstr ""
146
 
147
+ #: ../classes/Helper/String.php:280
148
  msgid " or "
149
  msgstr ""
150
 
151
+ #: ../classes/Helper/String.php:282
152
  msgid " and "
153
  msgstr ""
154
 
446
  msgid "You need at least one column"
447
  msgstr ""
448
 
449
+ #: ../classes/Admin/Page/Columns.php:331
450
+ msgid "View %s screen"
451
  msgstr ""
452
 
453
+ #: ../classes/Admin/Page/Columns.php:338
454
+ msgid "You are trying to store the same settings for %s."
455
  msgstr ""
456
 
457
+ #: ../classes/Admin/Page/Columns.php:351
458
+ msgid "Settings for %s updated successfully."
459
  msgstr ""
460
 
461
+ #: ../classes/Admin/Page/Columns.php:444
462
  msgid "The columns for %s are set up via PHP and can therefore not be edited."
463
  msgstr ""
464
 
465
+ #: ../classes/Admin/Page/Columns.php:476
466
  msgid "View"
467
  msgstr ""
468
 
469
+ #: ../classes/Admin/Page/Columns.php:490
470
  msgid "Store settings"
471
  msgstr ""
472
 
473
+ #: ../classes/Admin/Page/Columns.php:512
474
  msgid "Warning! The %s columns data will be deleted. This cannot be undone. 'OK' to delete, 'Cancel' to stop"
475
  msgstr ""
476
 
477
+ #: ../classes/Admin/Page/Columns.php:513
478
  msgid "Restore columns"
479
  msgstr ""
480
 
481
+ #: ../classes/Admin/Page/Columns.php:532
482
  msgid "Upgrade to"
483
  msgstr ""
484
 
485
+ #: ../classes/Admin/Page/Columns.php:532
486
  msgid "Pro"
487
  msgstr ""
488
 
489
+ #: ../classes/Admin/Page/Columns.php:537
490
  msgid "Take Admin Columns to the next level:"
491
  msgstr ""
492
 
493
+ #: ../classes/Admin/Page/Columns.php:542
494
  msgid "Add sortable columns"
495
  msgstr ""
496
 
497
+ #: ../classes/Admin/Page/Columns.php:543
498
  msgid "Add filterable columns"
499
  msgstr ""
500
 
501
+ #: ../classes/Admin/Page/Columns.php:544
502
  msgid "Edit your column content directly"
503
  msgstr ""
504
 
505
+ #: ../classes/Admin/Page/Columns.php:545
506
  msgid "Create multiple columns sets"
507
  msgstr ""
508
 
509
+ #: ../classes/Admin/Page/Columns.php:546
510
  msgid "Import &amp; Export settings"
511
  msgstr ""
512
 
513
+ #: ../classes/Admin/Page/Columns.php:558
514
  msgid "Extra Columns for:"
515
  msgstr ""
516
 
517
+ #: ../classes/Admin/Page/Columns.php:569
518
  msgid "Prices starting from %s"
519
  msgstr ""
520
 
521
+ #: ../classes/Admin/Page/Columns.php:574
522
  msgid "Learn more about Pro"
523
  msgstr ""
524
 
525
+ #: ../classes/Admin/Page/Columns.php:591
526
  msgid "Get %s Off!"
527
  msgstr ""
528
 
529
+ #: ../classes/Admin/Page/Columns.php:595
530
  msgid "Submit your email and we'll send you a discount for %s off."
531
  msgstr ""
532
 
533
+ #: ../classes/Admin/Page/Columns.php:602
534
  msgid "Your Email"
535
  msgstr ""
536
 
537
+ #: ../classes/Admin/Page/Columns.php:603
538
  msgid "Your First Name"
539
  msgstr ""
540
 
541
+ #: ../classes/Admin/Page/Columns.php:604
542
  msgid "Send me the discount"
543
  msgstr ""
544
 
545
+ #: ../classes/Admin/Page/Columns.php:615
546
  msgid "Are you happy with Admin Columns?"
547
  msgstr ""
548
 
549
+ #: ../classes/Admin/Page/Columns.php:625
550
  msgid "What's wrong? Need help? Let us know!"
551
  msgstr ""
552
 
553
+ #: ../classes/Admin/Page/Columns.php:628
554
  msgid "Check out our extensive documentation, or you can open a support topic on WordPress.org!"
555
  msgstr ""
556
 
557
+ #: ../classes/Admin/Page/Columns.php:633
558
  msgid "Docs"
559
  msgstr ""
560
 
561
+ #: ../classes/Admin/Page/Columns.php:638
562
  msgid "Forums"
563
  msgstr ""
564
 
565
+ #: ../classes/Admin/Page/Columns.php:648
566
  msgid "Woohoo! We're glad to hear that!"
567
  msgstr ""
568
 
569
+ #: ../classes/Admin/Page/Columns.php:651
570
  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!"
571
  msgstr ""
572
 
573
+ #: ../classes/Admin/Page/Columns.php:656
574
  msgid "Rate"
575
  msgstr ""
576
 
577
+ #: ../classes/Admin/Page/Columns.php:661
578
  msgid "I'm using Admin Columns for WordPress!"
579
  msgstr ""
580
 
581
+ #: ../classes/Admin/Page/Columns.php:662
582
  msgid "Tweet"
583
  msgstr ""
584
 
585
+ #: ../classes/Admin/Page/Columns.php:668
586
  msgid "Buy Pro"
587
  msgstr ""
588
 
589
+ #: ../classes/Admin/Page/Columns.php:680
590
  msgid "Support"
591
  msgstr ""
592
 
593
+ #: ../classes/Admin/Page/Columns.php:685
594
  msgid "Check the <strong>Help</strong> section in the top-right screen."
595
  msgstr ""
596
 
597
+ #: ../classes/Admin/Page/Columns.php:689
598
  msgid "For full documentation, bug reports, feature suggestions and other tips <a href='%s'>visit the Admin Columns website</a>"
599
  msgstr ""
600
 
601
+ #: ../classes/Admin/Page/Columns.php:740
602
  msgid "Drag and drop to reorder"
603
  msgstr ""
604
 
605
+ #: ../classes/Admin/Page/Columns.php:754
606
  msgid "Clear all columns "
607
  msgstr ""
608
 
609
+ #: ../classes/Admin/Page/Columns.php:760
610
  msgid "Add Column"
611
  msgstr ""
612
 
613
+ #: ../classes/Admin/Page/Columns.php:845
614
  msgid "Edit"
615
  msgstr ""
616
 
617
+ #: ../classes/Admin/Page/Columns.php:846, ../classes/Admin/Page/Columns.php:881
618
  msgid "Close"
619
  msgstr ""
620
 
621
+ #: ../classes/Admin/Page/Columns.php:848, ../classes/Admin/Page/Columns.php:883
622
  msgid "Clone"
623
  msgstr ""
624
 
625
+ #: ../classes/Admin/Page/Columns.php:850
626
  msgid "Remove"
627
  msgstr ""
628
 
836
  msgid "In Reply To"
837
  msgstr ""
838
 
839
+ #: ../classes/Column/Comment/Status.php:10, ../classes/Column/Post/Status.php:7
840
  msgid "Status"
841
  msgstr ""
842
 
960
  msgid "Estimated Reading Time"
961
  msgstr ""
962
 
 
 
 
 
963
  #: ../classes/Column/Post/FeaturedImage.php:10
964
  msgid "Featured Image"
965
  msgstr ""
1140
  msgid "Please create a %s item first."
1141
  msgstr ""
1142
 
1143
+ #: ../classes/Settings/Column/CustomField.php:32, ../classes/Settings/Column/Meta.php:59
1144
  msgid "Field"
1145
  msgstr ""
1146
 
1368
  msgid "Part of the file path to display"
1369
  msgstr ""
1370
 
1371
+ #: ../classes/Settings/Column/Post.php:67, ../classes/Settings/Column/Term.php:29, ../classes/Settings/Column/User.php:33
1372
+ msgid "Display"
1373
+ msgstr ""
1374
+
1375
  #: ../classes/Settings/Column/PostLink.php:52, ../classes/Settings/Column/User.php:43
1376
  msgid "Link To"
1377
  msgstr ""
1408
  msgid "Select a repeater sub field."
1409
  msgstr ""
1410
 
1411
+ #: ../classes/Settings/Column/StatusIcon.php:24
1412
+ msgid "Use an icon?"
1413
+ msgstr ""
1414
+
1415
+ #: ../classes/Settings/Column/StatusIcon.php:25
1416
+ msgid "Use an icon instead of text for displaying the status."
1417
  msgstr ""
1418
 
1419
  #: ../classes/Settings/Column/Type.php:22
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
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.8
7
- Stable tag: 3.0.2
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,18 @@ You can find a list of the available actions and filters (and examples on how to
218
 
219
  == Changelog ==
220
 
 
 
 
 
 
 
 
 
 
 
 
 
221
  = 3.0.2 =
222
 
223
  Release Date: July 3rd, 2017
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.8
7
+ Stable tag: 3.0.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
 
219
  == Changelog ==
220
 
221
+ = 3.0.3 =
222
+
223
+ Release Date: July 26th, 2017
224
+
225
+ * [Fixed] Show the type instead of an empty label in the edit columns screen
226
+ * [Fixed] Image URLs are supported again for the Custom Field column
227
+ * [Fixed] Column with a date setting did not always store it's value date format correctly
228
+ * [Improved] Post Status column can now also be displayed as an icon
229
+ * [Improved] Use multibyte function to trim strings for showing a maximum character count
230
+ * [Improved] Excerpt column now displays a text icon when the excerpt is generated from it's content
231
+ * [Added] Added a helper to display star ratings
232
+
233
  = 3.0.2 =
234
 
235
  Release Date: July 3rd, 2017
templates/settings/setting-date.php CHANGED
@@ -27,6 +27,7 @@ if ( ! defined( 'ABSPATH' ) ) {
27
 
28
  </div>
29
  <p class="help-msg"></p>
 
30
  </div>
31
  </td>
32
  </tr>
27
 
28
  </div>
29
  <p class="help-msg"></p>
30
+ <input type="hidden" class="ac-setting-input-date__value" name="<?php echo $this->setting->get_name(); ?>" value="<?php echo $this->date_format; ?>">
31
  </div>
32
  </td>
33
  </tr>