Plugin Directory

Changeset 1103918


Ignore:
Timestamp:
03/03/2015 08:59:29 AM (11 years ago)
Author:
codepress
Message:

version 2.3.5

Location:
codepress-admin-columns
Files:
219 added
36 edited

Legend:

Unmodified
Added
Removed
  • codepress-admin-columns/trunk/api.php

    r1049853 r1103918  
    11<?php
     2/**
     3 * If you like to register a column of your own please have a look at our documentation.
     4 * We also have a free start-kit available, which contains all the necessary files.
     5 *
     6 * Documentation: https://www.admincolumns.com/documentation/developer-docs/creating-new-column-type/
     7 * Starter-kit: https://github.com/codepress/cac-column-template/
     8 *
     9 */
     10
    211/**
    312 * Manually set the columns for a storage model
     
    918 * @param array $columns List of columns ([column_name] => [column_options])
    1019 */
    11 function cpac_set_storage_model_columns( $storage_model, $columns ) {
     20function ac_register_columns( $storage_model, $columns ) {
    1221    global $_cac_exported_columns;
    13     $_cac_exported_columns[ $storage_model ] = $columns;
    14 }
    1522
    16 /**
    17  * Set exported columns
    18  *
    19  * @since 3.2
    20  */
    21 function cpac_set_exported_columns( $cpac ) {
    22     global $_cac_exported_columns;
    23     if ( $_cac_exported_columns ) {
    24         foreach( $_cac_exported_columns as $model => $columns ) {
    25             if ( $storage_model = $cpac->get_storage_model( $model ) ) {
    26                 $storage_model->set_stored_columns( $columns );
    27             }
     23    $storage_models = (array) $storage_model;
     24
     25    foreach ( $storage_models as $storage_model ) {
     26        if ( isset( $_cac_exported_columns[ $storage_model ] ) ) {
     27            $_cac_exported_columns[ $storage_model ] = array_merge( $_cac_exported_columns[ $storage_model ], $columns );
     28        }
     29        else {
     30            $_cac_exported_columns[ $storage_model ] = $columns;
    2831        }
    2932    }
    3033}
    31 add_action( 'cac/loaded', 'cpac_set_exported_columns', 5 );
     34
     35function cpac_set_storage_model_columns( $storage_model, $columns ) {
     36    ac_register_columns( $storage_model, $columns );
     37}
  • codepress-admin-columns/trunk/assets/css/admin-column.css

    r1079055 r1103918  
    1 #cpac a:focus,
    2 #cpac a:active {
    3   outline: none;
    4 }
    5 /**
    6  * General
    7  * ----------------------------------------------------------------------------
    8  */
    9 #icon-codepress-admin-columns {
    10   background: transparent url('../images/icon.png') no-repeat 0 0;
    11 }
    12 .cpac-settings-link {
    13   float: right;
    14   margin: 12px 14px 5px 0;
    15   background: transparent url('../images/settings.png') no-repeat 0 0;
    16   padding-left: 20px;
    17   text-decoration: none;
    18   display: inline-block;
    19   line-height: 16px;
    20 }
    21 .cpac-settings-link.current {
    22   font-weight: bold;
    23 }
    24 .rtl .cpac-settings-link {
    25   float: left;
    26   margin: 12px 0 5px 14px;
    27   padding-right: 20px;
    28   padding-left: 0;
    29 }
    30 a.help {
    31   background: transparent url('../images/help.png') no-repeat 0 0;
    32   display: inline-block;
    33   width: 16px;
    34   height: 16px;
    35 }
    36 .button.loading {
    37   padding-right: 25px;
    38   position: relative;
    39 }
    40 .rtl .button.loading {
    41   padding-left: 25px;
    42   padding-right: 0;
    43 }
    44 .button.loading span {
    45   position: absolute;
    46   top: 2px;
    47   right: 6px;
    48   background: transparent url('../images/loading.gif') no-repeat right 50%;
    49   width: 16px;
    50   height: 16px;
    51   display: inline-block;
    52 }
    53 .rtl .button.loading span {
    54   left: 6px;
    55   right: auto;
    56 }
    57 /**
    58  * Icons
    59  * ----------------------------------------------------------------------------
    60  */
    61 .icon-yes {
    62   background: transparent url(../images/yes.png) no-repeat 0 0;
    63   width: 16px;
    64   height: 16px;
    65   display: inline-block;
    66   position: relative;
    67   top: 2px;
    68 }
    69 .icon-no {
    70   background: transparent url(../images/no.png) no-repeat 0 0;
    71   width: 16px;
    72   height: 16px;
    73   display: inline-block;
    74   position: relative;
    75   top: 2px;
    76 }
    77 /**
    78  * Header
    79  * ----------------------------------------------------------------------------
    80  */
    81 h2.cpac-nav-tab-wrapper {
    82   margin-bottom: 10px;
    83 }
    84 /**
    85  * Menu
    86  * ----------------------------------------------------------------------------
    87  */
    88 .cpac-menu {
    89   clear: both;
    90   overflow: hidden;
    91   margin-bottom: 10px;
    92 }
    93 .cpac-menu .subsubsub {
    94   white-space: normal;
    95   margin-right: 14px;
    96   width: 100%;
    97   margin: 0 14px 0 0;
    98 }
    99 .cpac-menu .subsubsub li.first {
    100   font-weight: bold;
    101   min-width: 90px;
    102 }
    103 /**
    104  * Structure
    105  * ----------------------------------------------------------------------------
    106  */
    107 .columns-container {
    108   margin-right: 300px;
    109   max-width: 700px;
    110 }
    111 .columns-container .columns-left {
    112   float: left;
    113   width: 100%;
    114 }
    115 .columns-container .columns-right {
    116   float: right;
    117   margin-right: -300px;
    118   width: 280px;
    119 }
    120 .columns-container .columns-right .columns-right-inside.fixed {
    121   position: fixed;
    122   top: 40px;
    123   width: 280px;
    124 }
    125 /**
    126  * UI Sortable Plugin
    127  * ----------------------------------------------------------------------------
    128  */
    129 .ui-sortable-helper {
    130   -webkit-box-shadow: 1px 3px 6px 0px rgba(1, 1, 1, 0.4);
    131   box-shadow: 1px 3px 6px 0px rgba(1, 1, 1, 0.4);
    132 }
    133 .ui-sortable-helper .column-meta {
    134   border-width: 1px;
    135 }
    136 .cpac-placeholder {
    137   visibility: visible !important;
    138   border-top: 1px solid #dfdfdf;
    139   padding: 5px 4px 7px 0;
    140 }
    141 .cpac-placeholder .inner-placeholder {
    142   border: 1px dashed #808080;
    143   background: #eee;
    144   width: 100%;
    145   height: 100%;
    146 }
    147 .cpac-placeholder :first-child {
    148   border: none;
    149 }
    150 /**
    151  * Columns
    152  * ----------------------------------------------------------------------------
    153  */
    154 .columns-left .cpac-boxes .cpac-columns form {
    155   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    156 }
    157 /**
    158  * Column
    159  * ----------------------------------------------------------------------------
    160  */
    161 .cpac-column .column-meta {
    162   border-style: solid;
    163   border-color: #dfdfdf;
    164   border-width: 1px 1px 0;
    165   background: #fcfcfc;
    166 }
    167 .cpac-column .column-meta:nth-child(2n) .column-meta {
    168   background: #f9f9f9;
    169 }
    170 .cpac-column .column-meta img {
    171   margin-right: 3px;
    172 }
    173 .cpac-column .column-meta table {
    174   border: none;
    175   background: transparent;
    176   border-radius: 0;
    177 }
    178 .cpac-column .column-meta table tr td {
    179   vertical-align: top;
    180   height: 18px;
    181   border: none;
    182   padding: 11px 8px;
    183   border-width: 1px 0 0;
    184   border-style: solid;
    185   border-color: transparent;
    186 }
    187 .cpac-column .column-meta table tr td.column_sort {
    188   width: 10px;
    189   background: transparent url('../images/drag.png') no-repeat 8px 8px;
    190   cursor: move;
    191 }
    192 .cpac-column .column-meta table tr td.column_label {
    193   width: 70%;
    194   font-weight: bold;
    195   vertical-align: middle;
    196   position: relative;
    197 }
    198 .cpac-column .column-meta table tr td.column_label .inner {
    199   position: relative;
    200   overflow: hidden;
    201   height: 18px;
    202 }
    203 .cpac-column .column-meta table tr td.column_label .inner > a {
    204   color: #5a5a5a;
    205   padding: 0 4px;
    206 }
    207 .cpac-column .column-meta table tr td.column_label .inner > a:hover {
    208   color: #333333;
    209 }
    210 .cpac-column .column-meta table tr td.column_label .inner > a.edit-button,
    211 .cpac-column .column-meta table tr td.column_label .inner > a.remove-button,
    212 .cpac-column .column-meta table tr td.column_label .inner > a.clone-button {
    213   display: none;
    214   color: #a00;
    215   text-decoration: none;
    216   text-shadow: none;
    217   font-weight: normal;
    218   margin-left: 5px;
    219   font-size: 12px;
    220 }
    221 .cpac-column .column-meta table tr td.column_label .inner > a.edit-button:hover,
    222 .cpac-column .column-meta table tr td.column_label .inner > a.remove-button:hover,
    223 .cpac-column .column-meta table tr td.column_label .inner > a.clone-button:hover {
    224   color: #f00;
    225 }
    226 .cpac-column .column-meta table tr td.column_label .inner > a.edit-button,
    227 .cpac-column .column-meta table tr td.column_label .inner > a.clone-button {
    228   color: #0074a2;
    229 }
    230 .cpac-column .column-meta table tr td.column_label .inner > a.edit-button:hover,
    231 .cpac-column .column-meta table tr td.column_label .inner > a.clone-button:hover {
    232   color: #2ea2cc;
    233 }
    234 .cpac-column .column-meta table tr td.column_label .inner .meta {
    235   display: inline-block;
    236   float: right;
    237   font-weight: normal;
    238   color: #b2b2b2;
    239   font-size: 12px;
    240 }
    241 .cpac-column .column-meta table tr td.column_label .inner .meta span {
    242   cursor: pointer;
    243   /*background: #ccc;
    244                                     border-radius: 2px;
    245                                     padding: 0 4px;
    246                                     color: #fff;
    247                                     display: inline-block;
    248                                     height: 15px;
    249                                     line-height: 15px;
    250 
    251                                     &.on {
    252                                         background: #1e8cbe;
    253                                     }*/
    254 }
    255 .cpac-column .column-meta table tr td.column_label span.vers {
    256   float: left;
    257 }
    258 .cpac-column .column-meta table tr td.column_type {
    259   width: auto;
    260   min-width: 120px;
    261   text-align: right;
    262   vertical-align: middle;
    263   color: #999999;
    264   padding-right: 0;
    265 }
    266 .cpac-column .column-meta table tr td.column_type .inner {
    267   height: 18px;
    268   overflow: hidden;
    269 }
    270 .cpac-column .column-meta table tr td.column_type .inner a {
    271   color: #999999;
    272 }
    273 .cpac-column .column-meta table tr td.column_edit {
    274   width: 38px;
    275   min-width: 38px;
    276   background: transparent url('../images/arrow.png') no-repeat 23px 18px;
    277   cursor: pointer;
    278 }
    279 .cpac-column .column-meta:hover .column_label .inner > a.remove-button,
    280 .cpac-column .column-meta:hover .column_label .inner > a.edit-button,
    281 .cpac-column .column-meta:hover .column_label .inner > a.clone-button {
    282   display: inline-block;
    283 }
    284 .cpac-column .column-meta span.vers {
    285   padding-top: 2px;
    286 }
    287 .cpac-column .column-meta span.vers .comment-grey-bubble {
    288   background: transparent url("../images/comment-grey-bubble.png") no-repeat 0 0;
    289   height: 12px;
    290   width: 12px;
    291   float: right;
    292 }
    293 .cpac-column .column-form {
    294   display: none;
    295   border-width: 1px 1px 0;
    296   border-style: solid;
    297   border-color: #dfdfdf;
    298   position: relative;
    299 }
    300 .cpac-column .column-form table {
    301   border: none;
    302   background: #fcfcfc;
    303 }
    304 .cpac-column .column-form table tr td {
    305   vertical-align: top;
    306   border: none;
    307   padding: 8px;
    308   background: #ffffff;
    309   border-top: 1px solid #F5F5F5;
    310 }
    311 .cpac-column .column-form table tr td select,
    312 .cpac-column .column-form table tr td input[type=text] {
    313   width: 99.95%;
    314 }
    315 .cpac-column .column-form table tr td select optgroup:nth-child(2n) {
    316   background: #F9F9F9;
    317 }
    318 .cpac-column .column-form table tr td.label {
    319   position: relative;
    320   overflow: visible;
    321   background: #F9F9F9;
    322   background: #f5f5f5;
    323   border-right: 1px solid #E1E1E1;
    324   vertical-align: top;
    325   width: 34%;
    326   border-top: 1px solid #F0F0F0;
    327 }
    328 .cpac-column .column-form table tr td.label label {
    329   font-weight: bold;
    330   color: #333333;
    331   display: block;
    332   position: relative;
    333 }
    334 .cpac-column .column-form table tr td.label p {
    335   color: #666666;
    336   display: block;
    337   font-size: 12px;
    338   font-style: normal;
    339   line-height: 16px;
    340   margin: 0 !important;
    341 }
    342 .cpac-column .column-form table tr td.label p.description {
    343   display: none;
    344   position: absolute;
    345   z-index: 99;
    346   top: 30px;
    347   left: 0;
    348   background: #eaf2fa;
    349   border-radius: 5px;
    350   border: 1px solid #c7d7e2;
    351   padding: 5px 8px !important;
    352   font-weight: normal;
    353 }
    354 .cpac-column .column-form table tr td.label p.description em {
    355   display: block;
    356   color: #999;
    357 }
    358 .cpac-column .column-form table tr td.input label {
    359   padding-left: 10px;
    360   padding-right: 0;
    361 }
    362 .cpac-column .column-form table tr td.input div.msg {
    363   margin-top: 5px;
    364   display: none;
    365   color: #333;
    366   padding: 6px 8px;
    367   background-color: #ffebe8;
    368   border: 1px solid #fff;
    369   -moz-border-radius: 3px;
    370   -webkit-border-radius: 3px;
    371   border-radius: 3px;
    372 }
    373 .cpac-column .column-form table tr td.input .section {
    374   padding: 12px;
    375 }
    376 .cpac-column .column-form table tr.column_width div.description {
    377   font-size: 11px;
    378   width: 12%;
    379   float: left;
    380   text-align: middle;
    381 }
    382 .cpac-column .column-form table tr.column_width div.input-width-range {
    383   float: left;
    384   position: relative;
    385   width: 87%;
    386   margin-top: 4px;
    387 }
    388 .cpac-column .column-form table tr.column_width div.input-width-range .ui-slider-handle {
    389   cursor: ew-resize;
    390 }
    391 .cpac-column .column-form table tr.column_image_size {
    392   border: 10px solid red;
    393 }
    394 .cpac-column .column-form table tr.column_image_size td.input label.custom-size {
    395   display: inline-block;
    396   margin-top: 4px;
    397   margin-bottom: 4px;
    398 }
    399 .cpac-column .column-form table tr.column_image_size td.input label.custom-size input {
    400   margin-right: 3px;
    401 }
    402 .cpac-column .column-form table tr.column_image_size td.input .custom_image_size {
    403   display: inline-block;
    404 }
    405 .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .hidden {
    406   display: none;
    407 }
    408 .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w,
    409 .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h {
    410   margin: 0;
    411 }
    412 .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w.hidden,
    413 .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h.hidden {
    414   display: none;
    415 }
    416 .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w input[type="text"],
    417 .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h input[type="text"] {
    418   margin-right: 3px;
    419   width: 40px !important;
    420 }
    421 .cpac-column .column-form table tr.column_action td {
    422   background: #f9f9f9;
    423 }
    424 .cpac-column .column-form table tr.column_action td p {
    425   margin: 0;
    426 }
    427 .cpac-column .column-form table tr.column_action td p a.remove-button {
    428   color: #a00;
    429   text-decoration: none;
    430   text-shadow: none;
    431   font-weight: normal;
    432   margin-left: 5px;
    433   font-size: 12px;
    434   padding: 0 5px;
    435 }
    436 .cpac-column .column-form table tr.column_action td p a.remove-button:hover {
    437   color: #fff;
    438   background: #f00;
    439 }
    440 .cpac-column .column-form table tr:first-child td {
    441   border-top: none;
    442 }
    443 .cpac-column.loading .column-form > .spinner {
    444   position: absolute;
    445   left: 50%;
    446   top: 50%;
    447   z-index: 200;
    448   margin-left: -10px;
    449   margin-top: -10px;
    450   display: block;
    451 }
    452 .cpac-column.loading .column-form:before {
    453   content: '';
    454   position: absolute;
    455   width: 100%;
    456   height: 100%;
    457   background: #FFF;
    458   z-index: 100;
    459   opacity: 0.5;
    460 }
    461 .cpac-column.opened .column-meta {
    462   background-color: #c7c7c7;
    463   background-image: -ms-linear-gradient(top, #e9e9e9, #c7c7c7);
    464   background-image: -moz-linear-gradient(top, #e9e9e9, #c7c7c7);
    465   background-image: -o-linear-gradient(top, #e9e9e9, #c7c7c7);
    466   background-image: -webkit-gradient(linear, left top, left bottom, from(#e9e9e9), to(#c7c7c7));
    467   background-image: -webkit-linear-gradient(top, #e9e9e9, #c7c7c7);
    468   background-image: linear-gradient(top, #e9e9e9, #c7c7c7);
    469   border-color: #aeaeae;
    470 }
    471 .cpac-column.opened .column-meta table {
    472   background: transparent;
    473 }
    474 .cpac-column.opened .column-meta table td {
    475   border-color: #f8f8f8;
    476   color: #333;
    477   text-shadow: 0 1px 0 #FFFFFF;
    478 }
    479 .cpac-column.opened .column-meta table td a {
    480   color: #333;
    481   text-shadow: 0 1px 0 #FFFFFF;
    482 }
    483 .cpac-column.opened .column-meta table td.column_sort {
    484   background-position: 8px -39px;
    485 }
    486 .cpac-column.opened .column-meta table td.column_label .inner .meta span {
    487   color: #808080;
    488   text-shadow: none;
    489 }
    490 .cpac-column.opened .column-meta table td.column_type {
    491   color: #5C5C5C;
    492 }
    493 /**
    494  * Column: Footer
    495  * ----------------------------------------------------------------------------
    496  */
    497 .column-footer {
    498   background: #EAF2FA;
    499   border: 1px solid #c7d7e2;
    500   min-height: 26px;
    501   padding: 8px;
    502   overflow: hidden;
    503 }
    504 .column-footer .order-message {
    505   background: transparent url('../images/order_arrow.png') no-repeat 0 0;
    506   color: #7A9BBE;
    507   float: left;
    508   font-family: Comic Sans MS, sans-serif;
    509   font-size: 11px;
    510   height: 13px;
    511   line-height: 1em;
    512   margin-left: 4px;
    513   padding: 7px 0 0 22px;
    514   text-shadow: 0 1px 0 #FFFFFF;
    515   display: inline-block;
    516 }
    517 .column-footer .button-container {
    518   float: right;
    519   display: inline-block;
    520   margin-top: -5px;
    521 }
    522 .column-footer .button-container a {
    523   display: inline-block;
    524   margin-top: 5px;
    525 }
    526 /**
    527  * Welcome Screen
    528  * ----------------------------------------------------------------------------
    529  */
    530 .cpac-content-body hr {
    531   -moz-border-bottom-colors: none;
    532   -moz-border-left-colors: none;
    533   -moz-border-right-colors: none;
    534   -moz-border-top-colors: none;
    535   background: none repeat scroll 0 0 transparent;
    536   border-color: #dfdfdf -moz-use-text-color -moz-use-text-color;
    537   border-image: none;
    538   border-right: 0 none;
    539   border-style: solid none none;
    540   border-width: 1px 0 0;
    541   clear: both;
    542   margin: 30px 0;
    543   opacity: 0.2;
    544 }
    545 #cpac-welcome.about-wrap div.error {
    546   display: block !important;
    547 }
    548 .cpac-alert {
    549   display: inline-block;
    550   background: none repeat scroll 0 0 #FCF8E3;
    551   border: 1px solid #FBEED5;
    552   border-radius: 4px 4px 4px 4px;
    553   color: #C09853;
    554   margin: 20px 0;
    555   padding: 16px 14px;
    556   text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    557 }
    558 .cpac-alert p {
    559   margin: 0;
    560 }
    561 .cpac-alert.cpac-alert-success {
    562   background-color: #DFF0D8;
    563   border-color: #D6E9C6;
    564   color: #468847;
    565 }
    566 .cpac-alert.cpac-alert-error {
    567   background-color: #F2DEDE;
    568   border-color: #EED3D7;
    569   color: #B94A48;
    570 }
    571 .cpac-alert a.button-primary {
    572   height: 28px;
    573   line-height: 28px;
    574   display: inline-block;
    575 }
    576 #cpac-download-add-ons-table {
    577   max-width: 600px;
    578 }
    579 .wp-core-ui .button-large {
    580   height: 40px;
    581   line-height: 40px;
    582   font-size: 16px;
    583   padding: 0 15px;
    584   text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
    585 }
    586 /**
    587  * Notifications
    588  * ----------------------------------------------------------------------------
    589  */
    590 .cac-notification.updated {
    591   border-left-color: #0071aa;
    592 }
    593 .cac-notification.updated .learnmore {
    594   float: right;
    595 }
    596 .cac-notification.updated .learnmore:after {
    597   content: "\f139";
    598   font: normal 20px/1 'dashicons';
    599   float: right;
    600 }
    601 /**
    602  * Sidebar
    603  * ----------------------------------------------------------------------------
    604  */
    605 .columns-right {
    606   margin-top: 54px;
    607 }
    608 .columns-right .sidebox {
    609   background: none repeat scroll 0 0 #FFFFFF;
    610   border: 1px solid #E1E1E1;
    611   border-radius: 0 0 0 0;
    612   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    613   position: relative;
    614   margin-bottom: 14px;
    615 }
    616 .columns-right .sidebox h3 {
    617   padding: 10px;
    618   margin: 0;
    619 }
    620 .columns-right .sidebox h3.title {
    621   font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
    622   font-size: 15px;
    623   font-weight: normal;
    624   line-height: 1;
    625   margin: 0;
    626   padding: 7px 10px;
    627   background: #f1f1f1;
    628   background-image: -webkit-gradient(linear, left bottom, left top, from(#ececec), to(#f9f9f9));
    629   background-image: -webkit-linear-gradient(bottom, #ececec, #f9f9f9);
    630   background-image: -moz-linear-gradient(bottom, #ececec, #f9f9f9);
    631   background-image: -o-linear-gradient(bottom, #ececec, #f9f9f9);
    632   background-image: linear-gradient(to top, #ececec, #f9f9f9);
    633   border-bottom-color: #dfdfdf;
    634   text-shadow: #fff 0 1px 0;
    635   -webkit-box-shadow: 0 1px 0 #fff;
    636   box-shadow: 0 1px 0 #fff;
    637   border-bottom-style: solid;
    638   border-bottom-width: 1px;
    639 }
    640 .columns-right .sidebox .inside {
    641   padding: 10px;
    642 }
    643 .columns-right .sidebox .inside p {
    644   margin-top: 0;
    645 }
    646 .columns-right .sidebox#form-actions .form-reset {
    647   border-bottom: 1px solid #F5F5F5;
    648   padding: 8px;
    649 }
    650 .columns-right .sidebox#form-actions .reset-column-type {
    651   text-decoration: none;
    652   color: #BC0B0B;
    653   line-height: 25px;
    654   display: inline-block;
    655 }
    656 .columns-right .sidebox#form-actions .form-update {
    657   padding: 8px;
    658   overflow: hidden;
    659 }
    660 .columns-right .sidebox#form-actions .submit-update {
    661   display: block;
    662   width: 100%;
    663   height: 28px;
    664   line-height: 28px;
    665   text-align: center;
    666 }
    667 .columns-right .sidebox#pro-version .cta {
    668   background: transparent url(../images/get_the_addon.png) no-repeat 0 0;
    669   background-size: cover;
    670 }
    671 .columns-right .sidebox#pro-version .padding-box {
    672   padding: 8px 15px 0;
    673 }
    674 .columns-right .sidebox#pro-version h3 a {
    675   color: #fff;
    676   font-size: 19px;
    677   text-decoration: none;
    678   font-weight: normal;
    679   margin-top: 6px;
    680 }
    681 .columns-right .sidebox#pro-version .inside ul {
    682   margin: 0 0 10px 0;
    683 }
    684 .columns-right .sidebox#pro-version .inside ul li {
    685   margin: 0;
    686   padding: 0;
    687 }
    688 .columns-right .sidebox#pro-version .inside ul li a {
    689   display: inline-block;
    690   min-height: 24px;
    691   font-size: 19px;
    692   line-height: 24px;
    693   margin-bottom: 1px;
    694   padding: 0 5px;
    695   background: #000;
    696   color: #fff;
    697   text-decoration: none;
    698 }
    699 .columns-right .sidebox#pro-version .inside p {
    700   color: #fff;
    701   font-size: 12px;
    702 }
    703 .columns-right .sidebox#pro-version .inside p a {
    704   color: #fff;
    705   display: inline-block;
    706   background: #a4c518;
    707   padding: 0 2px;
    708   font-size: 15px;
    709   text-decoration: none;
    710 }
    711 .columns-right .sidebox#direct-feedback #feedback-support,
    712 .columns-right .sidebox#direct-feedback #feedback-rate {
    713   display: none;
    714 }
    715 .columns-right .sidebox#direct-feedback .inside > a {
    716   border-radius: 4px;
    717   border: 1px solid #CCC;
    718   width: 48%;
    719   height: 64px;
    720   text-align: center;
    721   line-height: 64px;
    722   font-weight: bold;
    723   color: #222;
    724   display: inline-block;
    725   text-decoration: none;
    726 }
    727 .columns-right .sidebox#direct-feedback .inside > a:hover {
    728   background: #FAFAFA;
    729 }
    730 .columns-right .sidebox#direct-feedback .inside form textarea {
    731   width: 100%;
    732   height: 120px;
    733 }
    734 .columns-right .sidebox#direct-feedback .inside form input[type="submit"] {
    735   float: right;
    736   border-radius: 4px;
    737   border: 1px solid #CCC;
    738   height: 32px;
    739   text-align: center;
    740   line-height: 32px;
    741   font-weight: bold;
    742   font-size: 12px;
    743   padding: 0 32px;
    744   color: #CCC;
    745   display: inline-block;
    746   background: none;
    747   text-decoration: none;
    748   cursor: pointer;
    749 }
    750 .columns-right .sidebox#direct-feedback .inside form input[type="submit"]:hover {
    751   background: #FAFAFA;
    752 }
    753 .columns-right .sidebox#direct-feedback .inside form p.description {
    754   float: left;
    755   font-size: 10px;
    756 }
    757 .columns-right .sidebox#direct-feedback .inside ul {
    758   margin: 0;
    759 }
    760 .columns-right .sidebox#direct-feedback .inside ul.share li {
    761   margin: 0;
    762   display: block;
    763   float: left;
    764   margin-left: 9px;
    765   width: 30%;
    766 }
    767 .columns-right .sidebox#direct-feedback .inside ul.share li a {
    768   text-decoration: none;
    769   vertical-align: middle;
    770   line-height: 20px;
    771   padding: 16px 0;
    772   width: 100%;
    773   text-align: center;
    774   border: 1px solid #CCC;
    775   border-radius: 4px;
    776   display: block;
    777 }
    778 .columns-right .sidebox#direct-feedback .inside ul.share li a:hover {
    779   background: #FAFAFA;
    780 }
    781 .columns-right .sidebox#direct-feedback .inside ul.share li:first-child {
    782   margin-left: 0;
    783 }
    784 .columns-right .sidebox#direct-feedback #feedback-support .inside ul.share li {
    785   width: 48%;
    786 }
    787 /**
    788  * Setting Tab
    789  * ----------------------------------------------------------------------------
    790  */
    791 table.cpac-form-table {
    792   max-width: 1100px;
    793   margin-top: 20px;
    794 }
    795 table.cpac-form-table > tbody > tr > td,
    796 table.cpac-form-table > tbody > tr > th {
    797   vertical-align: top;
    798 }
    799 table.cpac-form-table td.padding-22 {
    800   padding-top: 22px;
    801 }
    802 table.cpac-form-table td .cpac_export .ms-container {
    803   background: transparent url('../images/switch_bw.png') no-repeat 50% 50%;
    804 }
    805 table.cpac-form-table td .cpac_export .ms-container .ms-selectable {
    806   width: 48%;
    807   margin-right: 0;
    808 }
    809 table.cpac-form-table td .cpac_export .ms-container .ms-selection {
    810   float: right;
    811   width: 48%;
    812 }
    813 table.cpac-form-table td .cpac_export .ms-container ul.ms-list {
    814   width: 100%;
    815 }
    816 table.cpac-form-table td .cpac_export .ms-container ul.ms-list li {
    817   margin: 0;
    818   padding-top: 5px;
    819   padding-bottom: 5px;
    820 }
    821 table.cpac-form-table.settings tr td {
    822   padding-top: 74px;
    823 }
    824 table.cpac-form-table.settings tr:first-child th {
    825   padding-top: 0;
    826 }
    827 table.cpac-form-table.settings tr:first-child td {
    828   padding-top: 54px;
    829 }
    830 /**
    831  * WP Pointer
    832  * ----------------------------------------------------------------------------
    833  */
    834 .wp-pointer-content {
    835   overflow: hidden;
    836 }
    837 .wp-pointer-content ol {
    838   margin-left: 1.5em;
    839   padding: 0 15px;
    840 }
    841 .wp-pointer-right {
    842   margin-right: 15px;
    843 }
    844 /* =RTL language
    845 -------------------------------------------------------------- */
    846 body.rtl .wp-pointer-right {
    847   margin-left: 15px;
    848   margin-right: 0;
    849 }
    850 body.rtl .wp-pointer-right ol {
    851   margin-right: 1.5em;
    852   margin-left: 0;
    853 }
    854 body.rtl .cpac-menu .subsubsub {
    855   margin-left: 14px;
    856   margin-right: 0;
    857 }
    858 body.rtl .columns-container {
    859   margin-left: 300px;
    860   margin-right: 0;
    861 }
    862 body.rtl .columns-left {
    863   float: right;
    864 }
    865 body.rtl .columns-left .cpac-columns .cpac-column .column-meta img {
    866   margin-left: 3px;
    867   margin-right: 0;
    868 }
    869 body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner > a.remove-button {
    870   margin-right: 12px;
    871   margin-left: 0;
    872 }
    873 body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner .meta {
    874   float: left;
    875 }
    876 body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label span.vers {
    877   float: right;
    878 }
    879 body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_type {
    880   text-align: left;
    881   padding-left: 0;
    882   padding-right: auto;
    883 }
    884 body.rtl .columns-left .cpac-columns .cpac-column .column-meta span.vers .comment-grey-bubble {
    885   float: left;
    886 }
    887 body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr.column_image_size td.input label input {
    888   margin-left: 3px;
    889   margin-right: 0;
    890 }
    891 body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label p.description {
    892   right: 0;
    893   left: auto;
    894 }
    895 body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label a.more-info {
    896   float: left;
    897 }
    898 body.rtl .columns-left .cpac-columns .cpac-column .column-form div.description {
    899   float: right;
    900 }
    901 body.rtl .columns-left .cpac-columns .cpac-column .column-form div.input-width-range {
    902   float: right;
    903 }
    904 body.rtl .columns-left .cpac-columns .cpac-column .column-form tr td.input label {
    905   padding-left: 10px;
    906   padding-right: 0;
    907 }
    908 body.rtl .columns-left .cpac-columns .cpac-column .column-form a.help {
    909   float: left;
    910 }
    911 body.rtl .columns-left .column-footer .order-message {
    912   float: right;
    913   padding-right: 22px;
    914   padding-left: 0;
    915   background: transparent url('../images/order_arrow-rtl.png') no-repeat right top;
    916 }
    917 body.rtl .columns-left .column-footer .button-container {
    918   float: left;
    919 }
    920 body.rtl .columns-right {
    921   float: left;
    922   margin-left: -300px;
    923   margin-right: 0;
    924 }
    925 body.rtl .cpac-placeholder {
    926   padding: 5px 0 7px 4px;
    927 }
    928 body.rtl .cpac_export .ms-container .ms-selection {
    929   float: left;
    930 }
    931 /* =Responsive
    932 -------------------------------------------------------------- */
    933 @media only screen and (max-width: 900px) {
    934   .columns-container {
    935     margin-right: 0;
    936   }
    937   .columns-container .columns-left {
    938     float: none;
    939   }
    940   .columns-container .columns-right {
    941     float: none;
    942     margin-top: 0;
    943     margin-right: 0;
    944     width: 100%;
    945   }
    946   .columns-container .columns-right .columns-right-inside.fixed {
    947     position: relative;
    948     top: 0;
    949     width: 100%;
    950   }
    951 }
    952 /* =Addons
    953 -------------------------------------------------------------- */
    954 .cpac-addons li {
    955   width: 200px;
    956   background: #FFF;
    957   float: left;
    958   margin-right: 16px;
    959   margin-bottom: 16px;
    960   border: 1px solid #DDD;
    961   -webkit-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.15);
    962   -moz-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.15);
    963   box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.15);
    964 }
    965 .cpac-addons li:hover {
    966   -webkit-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.25);
    967   -moz-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.25);
    968   box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.25);
    969 }
    970 .cpac-addons li a {
    971   color: #444;
    972 }
    973 .cpac-addons li .cpac-addon-content {
    974   display: table;
    975   width: 100%;
    976   height: 125px;
    977   text-align: center;
    978   vertical-align: middle;
    979   border-top: 1px solid #DDD;
    980   background: #0069a4;
    981   background: -moz-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);
    982   background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #0069a4), color-stop(100%, #085079));
    983   background: -webkit-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);
    984   background: -o-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);
    985   background: -ms-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);
    986   background: radial-gradient(ellipse at center, #0069a4 0%, #085079 100%);
    987   filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0069a4', endColorstr='#085079', GradientType=1);
    988 }
    989 .cpac-addons li .cpac-addon-content > * {
    990   display: table-cell;
    991   vertical-align: middle;
    992 }
    993 .cpac-addons li .cpac-addon-content h3 {
    994   padding: 0 16px;
    995   color: #FFF;
    996   line-height: 150%;
    997 }
    998 .cpac-addons li .cpac-addon-content img {
    999   width: 100%;
    1000 }
    1001 .cpac-addons li .cpac-addon-header {
    1002   width: 100%;
    1003   padding: 25px 15px;
    1004   -moz-box-sizing: border-box;
    1005   box-sizing: border-box;
    1006 }
    1007 .cpac-addons li .cpac-addon-header > *:first-child {
    1008   margin-top: 0;
    1009 }
    1010 .cpac-addons li .cpac-addon-header > *:last-child {
    1011   margin-bottom: 0;
    1012 }
    1013 .cpac-addons li .cpac-addon-actions {
    1014   background: #EEE;
    1015   border-top: 1px solid #DDD;
    1016   padding: 8px;
    1017 }
    1018 .cpac-addons li .cpac-addon-actions .cpac-installed:before {
    1019   content: "\f147";
    1020   font-family: 'dashicons';
    1021   vertical-align: middle;
    1022   margin-left: -5px;
    1023   margin-right: 3px;
    1024 }
     1#cpac a:focus,#cpac a:active{outline:none}#icon-codepress-admin-columns{background:transparent url('../images/icon.png') no-repeat 0 0}.cpac-settings-link{float:right;margin:12px 14px 5px 0;background:transparent url('../images/settings.png') no-repeat 0 0;padding-left:20px;text-decoration:none;display:inline-block;line-height:16px}.cpac-settings-link.current{font-weight:bold}.rtl .cpac-settings-link{float:left;margin:12px 0 5px 14px;padding-right:20px;padding-left:0}a.help{background:transparent url('../images/help.png') no-repeat 0 0;display:inline-block;width:16px;height:16px}.button.loading{padding-right:25px;position:relative}.rtl .button.loading{padding-left:25px;padding-right:0}.button.loading span{position:absolute;top:2px;right:6px;background:transparent url('../images/loading.gif') no-repeat right 50%;width:16px;height:16px;display:inline-block}.rtl .button.loading span{left:6px;right:auto}.icon-yes{background:transparent url(../images/yes.png) no-repeat 0 0;width:16px;height:16px;display:inline-block;position:relative;top:2px}.icon-no{background:transparent url(../images/no.png) no-repeat 0 0;width:16px;height:16px;display:inline-block;position:relative;top:2px}h2.cpac-nav-tab-wrapper{margin-bottom:10px}.cpac-menu{clear:both;overflow:hidden;margin-bottom:10px}.cpac-menu .subsubsub{white-space:normal;margin-right:14px;width:100%;margin:0 14px 0 0}.cpac-menu .subsubsub li.first{font-weight:bold;min-width:90px}.columns-container{margin-right:300px;max-width:700px}.columns-container .columns-left{float:left;width:100%}.columns-container .columns-right{float:right;margin-right:-300px;width:280px}.columns-container .columns-right .columns-right-inside.fixed{position:fixed;top:40px;width:280px}.ui-sortable-helper{-webkit-box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4);box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4)}.ui-sortable-helper .column-meta{border-width:1px}.cpac-placeholder{visibility:visible !important;border-top:1px solid #dfdfdf;padding:5px 4px 7px 0}.cpac-placeholder .inner-placeholder{border:1px dashed #808080;background:#eee;width:100%;height:100%}.cpac-placeholder :first-child{border:none}.columns-left .cpac-boxes .cpac-columns form{box-shadow:0 1px 3px rgba(0,0,0,0.1)}.cpac-column .column-meta{border-style:solid;border-color:#dfdfdf;border-width:1px 1px 0;background:#fcfcfc}.cpac-column .column-meta:nth-child(2n) .column-meta{background:#f9f9f9}.cpac-column .column-meta img{margin-right:3px}.cpac-column .column-meta table{border:none;background:transparent;border-radius:0}.cpac-column .column-meta table tr td{vertical-align:top;height:18px;border:none;padding:11px 8px;border-width:1px 0 0;border-style:solid;border-color:transparent}.cpac-column .column-meta table tr td.column_sort{width:10px;background:transparent url('../images/drag.png') no-repeat 8px 8px;cursor:move}.cpac-column .column-meta table tr td.column_label{width:70%;font-weight:bold;vertical-align:middle;position:relative}.cpac-column .column-meta table tr td.column_label .inner{position:relative;overflow:hidden;height:18px}.cpac-column .column-meta table tr td.column_label .inner>a{color:#5a5a5a;padding:0 4px}.cpac-column .column-meta table tr td.column_label .inner>a:hover{color:#333}.cpac-column .column-meta table tr td.column_label .inner>a.edit-button,.cpac-column .column-meta table tr td.column_label .inner>a.remove-button,.cpac-column .column-meta table tr td.column_label .inner>a.clone-button{display:none;color:#a00;text-decoration:none;text-shadow:none;font-weight:normal;margin-left:5px;font-size:12px}.cpac-column .column-meta table tr td.column_label .inner>a.edit-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.remove-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.clone-button:hover{color:#f00}.cpac-column .column-meta table tr td.column_label .inner>a.edit-button,.cpac-column .column-meta table tr td.column_label .inner>a.clone-button{color:#0074a2}.cpac-column .column-meta table tr td.column_label .inner>a.edit-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.clone-button:hover{color:#2ea2cc}.cpac-column .column-meta table tr td.column_label .inner .meta{display:inline-block;float:right;font-weight:normal;color:#b2b2b2;font-size:12px}.cpac-column .column-meta table tr td.column_label .inner .meta span{cursor:pointer}.cpac-column .column-meta table tr td.column_label .inner .meta span.width{margin-right:5px;cursor:auto}.cpac-column .column-meta table tr td.column_label span.vers{float:left}.cpac-column .column-meta table tr td.column_type{width:auto;min-width:120px;text-align:right;vertical-align:middle;color:#999;padding-right:0}.cpac-column .column-meta table tr td.column_type .inner{height:18px;overflow:hidden}.cpac-column .column-meta table tr td.column_type .inner a{color:#999}.cpac-column .column-meta table tr td.column_edit{width:38px;min-width:38px;background:transparent url('../images/arrow.png') no-repeat 23px 18px;cursor:pointer}.cpac-column .column-meta:hover .column_label .inner>a.remove-button,.cpac-column .column-meta:hover .column_label .inner>a.edit-button,.cpac-column .column-meta:hover .column_label .inner>a.clone-button{display:inline-block}.cpac-column .column-meta span.vers{padding-top:2px}.cpac-column .column-meta span.vers .comment-grey-bubble{background:transparent url("../images/comment-grey-bubble.png") no-repeat 0 0;height:12px;width:12px;float:right}.cpac-column .column-form{display:none;border-width:1px 1px 0;border-style:solid;border-color:#dfdfdf;position:relative}.cpac-column .column-form table{border:none;background:#fcfcfc}.cpac-column .column-form table tr td{vertical-align:top;border:none;padding:8px;background:#fff;border-top:1px solid #f5f5f5}.cpac-column .column-form table tr td select,.cpac-column .column-form table tr td input[type=text]{width:99.95%}.cpac-column .column-form table tr td select.small,.cpac-column .column-form table tr td input[type=text].small{width:100px}.cpac-column .column-form table tr td span.suffix{line-height:40px;color:#808080}.cpac-column .column-form table tr td select optgroup:nth-child(2n){background:#f9f9f9}.cpac-column .column-form table tr td.label{position:relative;overflow:visible;background:#f9f9f9;background:#f5f5f5;border-right:1px solid #e1e1e1;vertical-align:top;width:34%;border-top:1px solid #f0f0f0}.cpac-column .column-form table tr td.label label{font-weight:bold;color:#333;display:block;position:relative}.cpac-column .column-form table tr td.label p{color:#666;display:block;font-size:12px;font-style:normal;line-height:16px;margin:0 !important}.cpac-column .column-form table tr td.label p.description{display:none;position:absolute;z-index:99;top:30px;left:0;background:#eaf2fa;border-radius:5px;border:1px solid #c7d7e2;padding:5px 8px !important;font-weight:normal}.cpac-column .column-form table tr td.label p.description em{display:block;color:#999}.cpac-column .column-form table tr td.input label{padding-left:10px;padding-right:0}.cpac-column .column-form table tr td.input div.msg{margin-top:5px;display:none;color:#333;padding:6px 8px;background-color:#ffebe8;border:1px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.cpac-column .column-form table tr td.input .section{padding:12px}.cpac-column .column-form table tr.column_width div.description{font-size:11px;width:12%;float:left;text-align:middle}.cpac-column .column-form table tr.column_width div.input-width-range{float:left;position:relative;width:87%;margin-top:4px}.cpac-column .column-form table tr.column_width div.input-width-range .ui-slider-handle{cursor:ew-resize}.cpac-column .column-form table tr.column_image_size{border:10px solid #f00}.cpac-column .column-form table tr.column_image_size td.input label.custom-size{display:inline-block;margin-top:4px;margin-bottom:4px}.cpac-column .column-form table tr.column_image_size td.input label.custom-size input{margin-right:3px}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size{display:inline-block}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .hidden{display:none}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w,.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h{margin:0}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w.hidden,.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h.hidden{display:none}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w input[type="text"],.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h input[type="text"]{margin-right:3px;width:40px !important}.cpac-column .column-form table tr.column_action td{background:#f9f9f9}.cpac-column .column-form table tr.column_action td p{margin:0}.cpac-column .column-form table tr.column_action td p a.remove-button{color:#a00;text-decoration:none;text-shadow:none;font-weight:normal;margin-left:5px;font-size:12px;padding:0 5px}.cpac-column .column-form table tr.column_action td p a.remove-button:hover{color:#fff;background:#f00}.cpac-column .column-form table tr:first-child td{border-top:none}.cpac-column.loading .column-form>.spinner{position:absolute;left:50%;top:50%;z-index:200;margin-left:-10px;margin-top:-10px;display:block}.cpac-column.loading .column-form:before{content:'';position:absolute;width:100%;height:100%;background:#fff;z-index:100;opacity:.5}.cpac-column.opened .column-meta{background-color:#c7c7c7;background-image:-ms-linear-gradient(top, #e9e9e9, #c7c7c7);background-image:-moz-linear-gradient(top, #e9e9e9, #c7c7c7);background-image:-o-linear-gradient(top, #e9e9e9, #c7c7c7);background-image:-webkit-gradient(linear, left top, left bottom, from(#e9e9e9), to(#c7c7c7));background-image:-webkit-linear-gradient(top, #e9e9e9, #c7c7c7);background-image:linear-gradient(top, #e9e9e9, #c7c7c7);border-color:#aeaeae}.cpac-column.opened .column-meta table{background:transparent}.cpac-column.opened .column-meta table td{border-color:#f8f8f8;color:#333;text-shadow:0 1px 0 #fff}.cpac-column.opened .column-meta table td a{color:#333;text-shadow:0 1px 0 #fff}.cpac-column.opened .column-meta table td.column_sort{background-position:8px -39px}.cpac-column.opened .column-meta table td.column_label .inner .meta span{color:#808080;text-shadow:none}.cpac-column.opened .column-meta table td.column_type{color:#5c5c5c}.column-footer{background:#eaf2fa;border:1px solid #c7d7e2;min-height:26px;padding:8px;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;margin-top:-5px}.column-footer .button-container a{display:inline-block;margin-top:5px}.cpac-content-body hr{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background:none repeat scroll 0 0 transparent;border-color:#dfdfdf -moz-use-text-color -moz-use-text-color;border-image:none;border-right:0 none;border-style:solid none none;border-width:1px 0 0;clear:both;margin:30px 0;opacity:.2}#cpac-welcome.about-wrap div.error{display:block !important}.cpac-alert{display:inline-block;background:none repeat scroll 0 0 #fcf8e3;border:1px solid #fbeed5;border-radius:4px 4px 4px 4px;color:#c09853;margin:20px 0;padding:16px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.cpac-alert p{margin:0}.cpac-alert.cpac-alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847}.cpac-alert.cpac-alert-error{background-color:#f2dede;border-color:#eed3d7;color:#b94a48}.cpac-alert a.button-primary{height:28px;line-height:28px;display:inline-block}#cpac-download-add-ons-table{max-width:600px}.wp-core-ui .button-large{height:40px;line-height:40px;font-size:16px;padding:0 15px;text-shadow:0 1px 0 rgba(0,0,0,0.5)}.cac-notification.updated{border-left-color:#0071aa}.cac-notification.updated .learnmore{float:right}.cac-notification.updated .learnmore:after{content:"\f139";font:normal 20px/1 'dashicons';float:right}.columns-right{margin-top:54px}.columns-right .sidebox{background:none repeat scroll 0 0 #fff;border:1px solid #e1e1e1;border-radius:0 0 0 0;box-shadow:0 1px 3px rgba(0,0,0,0.1);position:relative;margin-bottom:14px}.columns-right .sidebox h3{padding:10px;margin:0}.columns-right .sidebox h3.title{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:15px;font-weight:normal;line-height:1;margin:0;padding:7px 10px;background:#f1f1f1;background-image:-webkit-gradient(linear, left bottom, left top, from(#ececec), to(#f9f9f9));background-image:-webkit-linear-gradient(bottom, #ececec, #f9f9f9);background-image:-moz-linear-gradient(bottom, #ececec, #f9f9f9);background-image:-o-linear-gradient(bottom, #ececec, #f9f9f9);background-image:linear-gradient(to top, #ececec, #f9f9f9);border-bottom-color:#dfdfdf;text-shadow:#fff 0 1px 0;-webkit-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;border-bottom-style:solid;border-bottom-width:1px}.columns-right .sidebox .inside{padding:10px}.columns-right .sidebox .inside p{margin-top:0}.columns-right .sidebox#form-actions .form-reset{border-bottom:1px solid #f5f5f5;padding:8px}.columns-right .sidebox#form-actions .reset-column-type{text-decoration:none;color:#bc0b0b;line-height:25px;display:inline-block}.columns-right .sidebox#form-actions .form-update{padding:8px;overflow:hidden}.columns-right .sidebox#form-actions .submit-update{display:block;width:100%;height:28px;line-height:28px;text-align:center}.columns-right .sidebox#pro-version .cta{background:transparent url(../images/get_the_addon.png) no-repeat 0 0;background-size:cover}.columns-right .sidebox#pro-version .padding-box{padding:8px 15px 0}.columns-right .sidebox#pro-version h3 a{color:#fff;font-size:19px;text-decoration:none;font-weight:normal;margin-top:6px}.columns-right .sidebox#pro-version .inside ul{margin:0 0 10px 0}.columns-right .sidebox#pro-version .inside ul li{margin:0;padding:0}.columns-right .sidebox#pro-version .inside ul li a{display:inline-block;min-height:24px;font-size:19px;line-height:24px;margin-bottom:1px;padding:0 5px;background:#000;color:#fff;text-decoration:none}.columns-right .sidebox#pro-version .inside p{color:#fff;font-size:12px}.columns-right .sidebox#pro-version .inside p a{color:#fff;display:inline-block;background:#a4c518;padding:0 2px;font-size:15px;text-decoration:none}.columns-right .sidebox#direct-feedback #feedback-support,.columns-right .sidebox#direct-feedback #feedback-rate{display:none}.columns-right .sidebox#direct-feedback .inside>a{border-radius:4px;border:1px solid #ccc;width:48%;height:64px;text-align:center;line-height:64px;font-weight:bold;color:#222;display:inline-block;text-decoration:none}.columns-right .sidebox#direct-feedback .inside>a:hover{background:#fafafa}.columns-right .sidebox#direct-feedback .inside form textarea{width:100%;height:120px}.columns-right .sidebox#direct-feedback .inside form input[type="submit"]{float:right;border-radius:4px;border:1px solid #ccc;height:32px;text-align:center;line-height:32px;font-weight:bold;font-size:12px;padding:0 32px;color:#ccc;display:inline-block;background:none;text-decoration:none;cursor:pointer}.columns-right .sidebox#direct-feedback .inside form input[type="submit"]:hover{background:#fafafa}.columns-right .sidebox#direct-feedback .inside form p.description{float:left;font-size:10px}.columns-right .sidebox#direct-feedback .inside ul{margin:0}.columns-right .sidebox#direct-feedback .inside ul.share li{margin:0;display:block;float:left;margin-left:9px;width:30%}.columns-right .sidebox#direct-feedback .inside ul.share li a{text-decoration:none;vertical-align:middle;line-height:20px;padding:16px 0;width:100%;text-align:center;border:1px solid #ccc;border-radius:4px;display:block}.columns-right .sidebox#direct-feedback .inside ul.share li a:hover{background:#fafafa}.columns-right .sidebox#direct-feedback .inside ul.share li:first-child{margin-left:0}.columns-right .sidebox#direct-feedback #feedback-support .inside ul.share li{width:48%}table.cpac-form-table{max-width:1100px;margin-top:20px}table.cpac-form-table>tbody>tr>td,table.cpac-form-table>tbody>tr>th{vertical-align:top}table.cpac-form-table td.padding-22{padding-top:22px}table.cpac-form-table td .cpac_export .ms-container{background:transparent url('../images/switch_bw.png') no-repeat 50% 50%}table.cpac-form-table td .cpac_export .ms-container .ms-selectable{width:48%;margin-right:0}table.cpac-form-table td .cpac_export .ms-container .ms-selection{float:right;width:48%}table.cpac-form-table td .cpac_export .ms-container ul.ms-list{width:100%}table.cpac-form-table td .cpac_export .ms-container ul.ms-list li{margin:0;padding-top:5px;padding-bottom:5px}table.cpac-form-table.settings tr td{padding-top:74px}table.cpac-form-table.settings tr:first-child th{padding-top:0}table.cpac-form-table.settings tr:first-child td{padding-top:54px}.wp-pointer-content{overflow:hidden}.wp-pointer-content ol{margin-left:1.5em;padding:0 15px}.wp-pointer-right{margin-right:15px}body.rtl .wp-pointer-right{margin-left:15px;margin-right:0}body.rtl .wp-pointer-right ol{margin-right:1.5em;margin-left:0}body.rtl .cpac-menu .subsubsub{margin-left:14px;margin-right:0}body.rtl .columns-container{margin-left:300px;margin-right:0}body.rtl .columns-left{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-meta img{margin-left:3px;margin-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner>a.remove-button{margin-right:12px;margin-left:0}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner .meta{float:left}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label span.vers{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_type{text-align:left;padding-left:0;padding-right:auto}body.rtl .columns-left .cpac-columns .cpac-column .column-meta span.vers .comment-grey-bubble{float:left}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr.column_image_size td.input label input{margin-left:3px;margin-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label p.description{right:0;left:auto}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label a.more-info{float:left}body.rtl .columns-left .cpac-columns .cpac-column .column-form div.description{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-form div.input-width-range{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-form tr td.input label{padding-left:10px;padding-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-form a.help{float:left}body.rtl .columns-left .column-footer .order-message{float:right;padding-right:22px;padding-left:0;background:transparent url('../images/order_arrow-rtl.png') no-repeat right top}body.rtl .columns-left .column-footer .button-container{float:left}body.rtl .columns-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}@media only screen and (max-width:900px){.columns-container{margin-right:0}.columns-container .columns-left{float:none}.columns-container .columns-right{float:none;margin-top:0;margin-right:0;width:100%}.columns-container .columns-right .columns-right-inside.fixed{position:relative;top:0;width:100%}}.cpac-addons li{width:200px;background:#fff;float:left;margin-right:16px;margin-bottom:16px;border:1px solid #ddd;-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,0.15);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,0.15);box-shadow:0 3px 10px 0 rgba(0,0,0,0.15)}.cpac-addons li:hover{-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,0.25);box-shadow:0 3px 10px 0 rgba(0,0,0,0.25)}.cpac-addons li a{color:#444}.cpac-addons li .cpac-addon-content{display:table;width:100%;height:125px;text-align:center;vertical-align:middle;border-top:1px solid #ddd;background:#0069a4;background:-moz-radial-gradient(center, ellipse cover, #0069a4 0, #085079 100%);background:-webkit-gradient(radial, center center, 0, center center, 100%, color-stop(0, #0069a4), color-stop(100%, #085079));background:-webkit-radial-gradient(center, ellipse cover, #0069a4 0, #085079 100%);background:-o-radial-gradient(center, ellipse cover, #0069a4 0, #085079 100%);background:-ms-radial-gradient(center, ellipse cover, #0069a4 0, #085079 100%);background:radial-gradient(ellipse at center, #0069a4 0, #085079 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0069a4', endColorstr='#085079', GradientType=1)}.cpac-addons li .cpac-addon-content>*{display:table-cell;vertical-align:middle}.cpac-addons li .cpac-addon-content h3{padding:0 16px;color:#fff;line-height:150%}.cpac-addons li .cpac-addon-content img{width:100%}.cpac-addons li .cpac-addon-header{width:100%;padding:25px 15px;-moz-box-sizing:border-box;box-sizing:border-box}.cpac-addons li .cpac-addon-header>*:first-child{margin-top:0}.cpac-addons li .cpac-addon-header>*:last-child{margin-bottom:0}.cpac-addons li .cpac-addon-actions{background:#eee;border-top:1px solid #ddd;padding:8px}.cpac-addons li .cpac-addon-actions .cpac-installed:before{content:"\f147";font-family:'dashicons';vertical-align:middle;margin-left:-5px;margin-right:3px}
  • codepress-admin-columns/trunk/assets/js/admin-columns.js

    r1038877 r1103918  
    88function cpac_tooltips() {
    99
    10     if ( typeof qtip === 'undefined' || ! jQuery.isFunction( qtip ) ) {
     10    if ( typeof jQuery.fn.qtip === 'undefined' ) {
    1111        return;
    1212    }
  • codepress-admin-columns/trunk/assets/js/admin-columns.min.js

    r1038877 r1103918  
    1 function cpac_tooltips(){if(typeof qtip=="undefined"||!jQuery.isFunction(qtip))return;jQuery(".cpac-tip").qtip({content:{attr:"data-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}})}jQuery(document).ready(function(e){cpac_tooltips()});
     1function cpac_tooltips(){if(typeof jQuery.fn.qtip=="undefined")return;jQuery(".cpac-tip").qtip({content:{attr:"data-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}})}jQuery(document).ready(function(e){cpac_tooltips()});
  • codepress-admin-columns/trunk/assets/js/admin-settings.js

    r1079055 r1103918  
    9797 * Column: bind clone events
    9898 *
    99  * @since NEWVERSION
     99 * @since 2.3.4
    100100 */
    101101jQuery.fn.column_bind_clone = function() {
     
    221221        var input               = jQuery(this).closest('td').find('.input-width');
    222222        var descr               = jQuery(this).closest('td').find('.width-decription');
     223        var indicator           = jQuery(this).closest('.cpac-column').find('.column-meta span.width');
    223224        var input_default       = jQuery(input)[0].defaultValue;
    224225        var translation_default = descr.attr('title');
     
    234235                // set default
    235236                var descr_value = ui.value > 0 ? ui.value + '%' : translation_default;
     237                var indicator_value = ui.value > 0 ? ui.value + '%' : '';
    236238
    237239                // set input value
     
    239241
    240242                // set description
    241                 jQuery(descr).text( descr_value );
     243                descr.text( descr_value );
     244                indicator.text( indicator_value );
    242245            }
    243246        });
     
    288291 * Column: clone
    289292 *
    290  * @since NEWVERSION
     293 * @since 2.3.4
    291294 */
    292295jQuery.fn.column_clone = function() {
     
    371374        return;
    372375
     376    // get original clone ID
     377    var clone_id = el.attr( 'data-clone' );
     378    var clone_suffix = '';
     379
     380    if ( clone_id ) {
     381        clone_suffix = '-' + clone_id;
     382    }
     383
    373384    // set clone ID
    374385    el.attr( 'data-clone', id );
     
    384395        // name
    385396        if( jQuery(v).attr( 'name' ) ) {
    386             jQuery(v).attr( 'name', jQuery(v).attr( 'name' ).replace( type, new_name) );
     397            jQuery(v).attr( 'name', jQuery(v).attr( 'name' ).replace( type + clone_suffix, new_name) );
    387398        }
    388399
    389400        // for
    390401        if( jQuery(v).attr( 'for' ) ) {
    391             jQuery(v).attr( 'for', jQuery(v).attr( 'for' ).replace( type, new_name ) );
     402            jQuery(v).attr( 'for', jQuery(v).attr( 'for' ).replace( type + clone_suffix, new_name ) );
    392403        }
    393404
    394405        // id
    395406        if( jQuery(v).attr( 'id' ) ) {
    396             jQuery(v).attr( 'id', jQuery(v).attr( 'id' ).replace( type, new_name ) );
     407            jQuery(v).attr( 'id', jQuery(v).attr( 'id' ).replace( type + clone_suffix, new_name ) );
    397408        }
    398409    });
  • codepress-admin-columns/trunk/assets/js/admin-settings.min.js

    r1079055 r1103918  
    22 *  Fires when the dom is ready
    33 *
    4  */function cpac_importexport(){jQuery("#php-export-results textarea").on("focus, mouseup",function(){jQuery(this).select()}).select().focus()}function cpac_submit_form(){jQuery(".form-update a.submit-update").click(function(e){e.preventDefault();jQuery(this).closest(".columns-container").find(".cpac-columns form").submit()})}function cpac_create_column(e){var t=jQuery(".for-cloning-only .cpac-column",e).first().clone(),n=e.attr("data-type");if(t.length>0){t.cpac_update_clone_id(n);jQuery(".cpac-columns form",e).append(t);t.column_bind_toggle();t.column_bind_remove();t.column_bind_clone();t.column_bind_events();cpac_sortable();jQuery(document).trigger("column_add",t)}return t}function cpac_add_column(){jQuery("#cpac .add_column").click(function(e){var t=jQuery(this).closest(".columns-container"),n=cpac_create_column(t);n.addClass("opened").find(".column-form").slideDown(150,function(){jQuery("html, body").animate({scrollTop:n.offset().top-58},300)});e.preventDefault()})}function cpac_sidebar_feedback(){jQuery(function(e){var t=e(".sidebox#direct-feedback");t.find("#feedback-choice a.no").click(function(e){e.preventDefault();t.find("#feedback-choice").slideUp();t.find("#feedback-support").slideDown()});t.find("#feedback-choice a.yes").click(function(e){e.preventDefault();t.find("#feedback-choice").slideUp();t.find("#feedback-rate").slideDown()})})}function cpac_clear_input_defaults(){jQuery.fn.cleardefault=function(){return this.focus(function(){this.value==this.defaultValue&&(this.value="")}).blur(function(){this.value.length||(this.value=this.defaultValue)})};jQuery("#cpac-box-plugin_settings .addons input").cleardefault()}function cpac_help(){jQuery("#cpac a.help").click(function(e){e.preventDefault();var t=jQuery("#contextual-help-wrap");t.parent().show();jQuery('a[href="#tab-panel-cpac-'+jQuery(this).attr("data-help")+'"]',t).trigger("click");t.slideDown("fast",function(){t.focus()})})}function cpac_pointer(){jQuery(".cpac-pointer").each(function(){var e=jQuery(this),t=e.attr("rel"),n=e.attr("data-pos"),r={at:"left top",my:"right top",edge:"right",offset:"0 0"};"right"==n&&(r={at:"right middle",my:"left middle",edge:"left"});e.pointer({content:jQuery("#"+t).html(),position:r,pointerWidth:250,close:function(){e.removeClass("open")},pointerClass:"wp-pointer wp-pointer-"+r.edge});e.click(function(){e.hasClass("open")?e.removeClass("open"):e.addClass("open")});e.hover(function(){jQuery(this).pointer("open")},function(){e.hasClass("open")||jQuery(this).pointer("close")})})}function cpac_sortable(){jQuery("div.cpac-columns").each(function(){jQuery(this).hasClass("ui-sortable")?jQuery(this).sortable("refresh"):jQuery(this).sortable({items:".cpac-column"})})}function cpac_menu(){var e=jQuery("#cpac div.cpac-menu");e.find("a").click(function(e,t){var n=jQuery(this).attr("href");if(n){var r=n.replace("#cpac-box-","");jQuery(".cpac-menu a").removeClass("current");jQuery(".columns-container").hide();jQuery(this).addClass("current");var i=jQuery('.columns-container[data-type="'+r+'"]').show(),s=i.find(".cpac-columns");jQuery(document).trigger("cac_menu_change",s)}e.preventDefault()});e.find("a.current").trigger("click")}jQuery(document).ready(function(){if(jQuery("#cpac").length===0)return!1;cpac_pointer();cpac_submit_form();cpac_clear_input_defaults();cpac_sortable();cpac_menu();cpac_help();cpac_add_column();cpac_importexport();cpac_sidebar_feedback();jQuery(".cpac-column").each(function(e,t){jQuery(t).column_bind_toggle();jQuery(t).column_bind_remove();jQuery(t).column_bind_clone();jQuery(t).cpac_bind_container_addon_events()})});jQuery.fn.column_bind_toggle=function(){var e=jQuery(this);e.find("td.column_type a, td.column_edit, td.column_label a.toggle, td.column_label .edit-button").click(function(t){t.preventDefault();e.toggleClass("opened").find(".column-form").slideToggle(150);e.hasClass("events-binded")||e.column_bind_events();e.addClass("events-binded");jQuery(document).trigger("column_init",e)})};jQuery.fn.column_bind_remove=function(){jQuery(this).find(".remove-button").click(function(e){jQuery(this).closest(".cpac-column").column_remove();e.preventDefault()})};jQuery.fn.column_bind_clone=function(){jQuery(this).find(".clone-button").click(function(e){var t,n;e.preventDefault();t=jQuery(this).closest(".cpac-column");n=t.column_clone();typeof n!="undefined"&&n.removeClass("loading").hide().slideDown()})};jQuery.fn.cpac_column_refresh=function(){var e=jQuery(this);e.addClass("loading");e.find(".column-form").prepend('<span class="spinner" />');jQuery.post(ajaxurl,{plugin_id:"cpac",action:"cpac_column_refresh",column:jQuery(this).find("input.column-name").val(),formdata:jQuery(this).parents("form").serialize()},function(t){var n=jQuery("<div>"+t+"</div>").children();e.replaceWith(n);e=n;e.column_bind_toggle();e.column_bind_remove();e.column_bind_clone();e.column_bind_events();e.removeClass("loading").addClass("opened").find(".column-form").show();jQuery(document).trigger("column_change",e)})};jQuery.fn.column_bind_events=function(){var e=jQuery(this),t=e.closest(".columns-container "),n=t.attr("data-type"),r=e.find(".column_type select option:selected").val();e.find(".column_type select").change(function(){var i=jQuery("optgroup",this).children(":selected"),s=i.val(),o=i.text(),u=jQuery(this).next(".msg").hide(),a=t.find('.for-cloning-only .cpac-column[data-type="'+s+'"]');if(a.length)if(a.find(".is-disabled").length){u.html(a.find(".is-disabled").html()).show();jQuery(this).find("option").removeAttr("selected");jQuery(this).find('option[value="'+r+'"]').attr("selected","selected")}else{if(typeof a.attr("data-clone")=="undefined"&&jQuery(".cpac-columns",t).find('[data-type="'+s+'"]').length){u.html(cpac_i18n.clone.replace("%s","<strong>"+o+"</strong>")).show();jQuery(this).find("option").removeAttr("selected");jQuery(this).find('option[value="'+r+'"]').attr("selected","selected");return}var f=a.clone();f.addClass("opened").find(".column-form").show();f.find(".column-meta").replaceWith(e.find(".column-meta"));f.find(".column-form").replaceWith(e.find(".column-form"));f.cpac_update_clone_id(n);e.replaceWith(f);f.cpac_column_refresh()}});e.find(".column_label .input input").bind("keyup change",function(){var e=jQuery(this).val();jQuery(this).closest(".cpac-column").find("td.column_label .inner > a.toggle").text(e)});e.find(".input-width-range").each(function(){var e=jQuery(this).closest("td").find(".input-width"),t=jQuery(this).closest("td").find(".width-decription"),n=jQuery(e)[0].defaultValue,r=t.attr("title");jQuery(this).slider({range:"min",min:0,max:100,value:n,slide:function(n,i){var s=i.value>0?i.value+"%":r;jQuery(e).val(i.value);jQuery(t).text(s)}})});e.find(".column_image_size label.custom-size").click(function(){var e=jQuery(this).closest(".input");if(jQuery(this).hasClass("image-size-custom")){jQuery(".custom-size-w",e).removeClass("hidden");jQuery(".custom-size-h",e).removeClass("hidden")}else{jQuery(".custom-size-w",e).addClass("hidden");jQuery(".custom-size-h",e).addClass("hidden")}});e.find(".column-form .label label").hover(function(){jQuery(this).find("p.description").show()},function(){jQuery(this).find("p.description").hide()});e.find(".column_type select").val()=="column-meta"&&e.find(".column_field_type select").change(function(){e.cpac_column_refresh()})};jQuery.fn.column_remove=function(){jQuery(this).addClass("deleting").animate({opacity:0,height:0},350,function(e){jQuery(this).remove()})};jQuery.fn.column_clone=function(){var e=jQuery(this).closest(".columns-container"),t=jQuery(this);if(typeof t.attr("data-clone")=="undefined"){var n=cpac_i18n.clone.replace("%s","<strong>"+t.find(".column_label .toggle").text()+"</strong>");t.addClass("opened").find(".column-form").slideDown(150);t.find(".msg").html(n).show();return}var r=jQuery(this).clone();r.cpac_update_clone_id(e.attr("data-type"));jQuery(this).after(r);r.column_bind_toggle();r.column_bind_remove();r.column_bind_clone();r.column_bind_events();cpac_sortable();jQuery(document).trigger("column_add",r);return r};jQuery.fn.cpac_update_clone_id=function(e){var t=jQuery(this),n=t.attr("data-type"),r=jQuery('.columns-container[data-type="'+e+'"]').find(".cpac-columns"),i=jQuery(r).find('*[data-type="'+n+'"]').not(t),s=jQuery.map(i,function(e,t){return jQuery(e).attr("data-clone")?parseInt(jQuery(e).attr("data-clone"),10):0});s.sort();var o=Math.max.apply(null,s)+1;for(var u=0;u<=o;u++)if(-1===jQuery.inArray(u,s))break;if(0===u)return;t.attr("data-clone",u);t.find("input.clone").val(u);t.find("input.column-name").val(n+"-"+u);var a=t.find("input, select, label");jQuery(a).each(function(e,t){var r=n+"-"+u;jQuery(t).attr("name")&&jQuery(t).attr("name",jQuery(t).attr("name").replace(n,r));jQuery(t).attr("for")&&jQuery(t).attr("for",jQuery(t).attr("for").replace(n,r));jQuery(t).attr("id")&&jQuery(t).attr("id",jQuery(t).attr("id").replace(n,r))})};jQuery(document).bind("column_init column_change column_add",function(e,t){jQuery(t).cpac_bind_column_addon_events();jQuery(t).cpac_bind_container_addon_events()});jQuery.fn.cpac_bind_column_addon_events=function(){var e=jQuery(this),t=e.find("[data-toggle-id] label");t.click(function(){var t=jQuery(this).closest("td.input").data("toggle-id"),n=e.find('[data-indicator-id="'+t+'"]').removeClass("on"),r=jQuery("input",this).val();"on"==r&&n.addClass("on")})};jQuery.fn.cpac_bind_container_addon_events=function(){var e=jQuery(this),t=e.find("[data-indicator-id]");t.unbind("click").click(function(){var t=jQuery(this).data("indicator-id"),n=e.find('[data-toggle-id="'+t+'"] input');if(jQuery(this).hasClass("on")){jQuery(this).removeClass("on").addClass("off");n.filter("[value=off]").prop("checked",!0)}else{jQuery(this).removeClass("off").addClass("on");n.filter("[value=on]").prop("checked",!0)}})};
     4 */function cpac_importexport(){jQuery("#php-export-results textarea").on("focus, mouseup",function(){jQuery(this).select()}).select().focus()}function cpac_submit_form(){jQuery(".form-update a.submit-update").click(function(e){e.preventDefault();jQuery(this).closest(".columns-container").find(".cpac-columns form").submit()})}function cpac_create_column(e){var t=jQuery(".for-cloning-only .cpac-column",e).first().clone(),n=e.attr("data-type");if(t.length>0){t.cpac_update_clone_id(n);jQuery(".cpac-columns form",e).append(t);t.column_bind_toggle();t.column_bind_remove();t.column_bind_clone();t.column_bind_events();cpac_sortable();jQuery(document).trigger("column_add",t)}return t}function cpac_add_column(){jQuery("#cpac .add_column").click(function(e){var t=jQuery(this).closest(".columns-container"),n=cpac_create_column(t);n.addClass("opened").find(".column-form").slideDown(150,function(){jQuery("html, body").animate({scrollTop:n.offset().top-58},300)});e.preventDefault()})}function cpac_sidebar_feedback(){jQuery(function(e){var t=e(".sidebox#direct-feedback");t.find("#feedback-choice a.no").click(function(e){e.preventDefault();t.find("#feedback-choice").slideUp();t.find("#feedback-support").slideDown()});t.find("#feedback-choice a.yes").click(function(e){e.preventDefault();t.find("#feedback-choice").slideUp();t.find("#feedback-rate").slideDown()})})}function cpac_clear_input_defaults(){jQuery.fn.cleardefault=function(){return this.focus(function(){this.value==this.defaultValue&&(this.value="")}).blur(function(){this.value.length||(this.value=this.defaultValue)})};jQuery("#cpac-box-plugin_settings .addons input").cleardefault()}function cpac_help(){jQuery("#cpac a.help").click(function(e){e.preventDefault();var t=jQuery("#contextual-help-wrap");t.parent().show();jQuery('a[href="#tab-panel-cpac-'+jQuery(this).attr("data-help")+'"]',t).trigger("click");t.slideDown("fast",function(){t.focus()})})}function cpac_pointer(){jQuery(".cpac-pointer").each(function(){var e=jQuery(this),t=e.attr("rel"),n=e.attr("data-pos"),r={at:"left top",my:"right top",edge:"right",offset:"0 0"};"right"==n&&(r={at:"right middle",my:"left middle",edge:"left"});e.pointer({content:jQuery("#"+t).html(),position:r,pointerWidth:250,close:function(){e.removeClass("open")},pointerClass:"wp-pointer wp-pointer-"+r.edge});e.click(function(){e.hasClass("open")?e.removeClass("open"):e.addClass("open")});e.hover(function(){jQuery(this).pointer("open")},function(){e.hasClass("open")||jQuery(this).pointer("close")})})}function cpac_sortable(){jQuery("div.cpac-columns").each(function(){jQuery(this).hasClass("ui-sortable")?jQuery(this).sortable("refresh"):jQuery(this).sortable({items:".cpac-column"})})}function cpac_menu(){var e=jQuery("#cpac div.cpac-menu");e.find("a").click(function(e,t){var n=jQuery(this).attr("href");if(n){var r=n.replace("#cpac-box-","");jQuery(".cpac-menu a").removeClass("current");jQuery(".columns-container").hide();jQuery(this).addClass("current");var i=jQuery('.columns-container[data-type="'+r+'"]').show(),s=i.find(".cpac-columns");jQuery(document).trigger("cac_menu_change",s)}e.preventDefault()});e.find("a.current").trigger("click")}jQuery(document).ready(function(){if(jQuery("#cpac").length===0)return!1;cpac_pointer();cpac_submit_form();cpac_clear_input_defaults();cpac_sortable();cpac_menu();cpac_help();cpac_add_column();cpac_importexport();cpac_sidebar_feedback();jQuery(".cpac-column").each(function(e,t){jQuery(t).column_bind_toggle();jQuery(t).column_bind_remove();jQuery(t).column_bind_clone();jQuery(t).cpac_bind_container_addon_events()})});jQuery.fn.column_bind_toggle=function(){var e=jQuery(this);e.find("td.column_type a, td.column_edit, td.column_label a.toggle, td.column_label .edit-button").click(function(t){t.preventDefault();e.toggleClass("opened").find(".column-form").slideToggle(150);e.hasClass("events-binded")||e.column_bind_events();e.addClass("events-binded");jQuery(document).trigger("column_init",e)})};jQuery.fn.column_bind_remove=function(){jQuery(this).find(".remove-button").click(function(e){jQuery(this).closest(".cpac-column").column_remove();e.preventDefault()})};jQuery.fn.column_bind_clone=function(){jQuery(this).find(".clone-button").click(function(e){var t,n;e.preventDefault();t=jQuery(this).closest(".cpac-column");n=t.column_clone();typeof n!="undefined"&&n.removeClass("loading").hide().slideDown()})};jQuery.fn.cpac_column_refresh=function(){var e=jQuery(this);e.addClass("loading");e.find(".column-form").prepend('<span class="spinner" />');jQuery.post(ajaxurl,{plugin_id:"cpac",action:"cpac_column_refresh",column:jQuery(this).find("input.column-name").val(),formdata:jQuery(this).parents("form").serialize()},function(t){var n=jQuery("<div>"+t+"</div>").children();e.replaceWith(n);e=n;e.column_bind_toggle();e.column_bind_remove();e.column_bind_clone();e.column_bind_events();e.removeClass("loading").addClass("opened").find(".column-form").show();jQuery(document).trigger("column_change",e)})};jQuery.fn.column_bind_events=function(){var e=jQuery(this),t=e.closest(".columns-container "),n=t.attr("data-type"),r=e.find(".column_type select option:selected").val();e.find(".column_type select").change(function(){var i=jQuery("optgroup",this).children(":selected"),s=i.val(),o=i.text(),u=jQuery(this).next(".msg").hide(),a=t.find('.for-cloning-only .cpac-column[data-type="'+s+'"]');if(a.length)if(a.find(".is-disabled").length){u.html(a.find(".is-disabled").html()).show();jQuery(this).find("option").removeAttr("selected");jQuery(this).find('option[value="'+r+'"]').attr("selected","selected")}else{if(typeof a.attr("data-clone")=="undefined"&&jQuery(".cpac-columns",t).find('[data-type="'+s+'"]').length){u.html(cpac_i18n.clone.replace("%s","<strong>"+o+"</strong>")).show();jQuery(this).find("option").removeAttr("selected");jQuery(this).find('option[value="'+r+'"]').attr("selected","selected");return}var f=a.clone();f.addClass("opened").find(".column-form").show();f.find(".column-meta").replaceWith(e.find(".column-meta"));f.find(".column-form").replaceWith(e.find(".column-form"));f.cpac_update_clone_id(n);e.replaceWith(f);f.cpac_column_refresh()}});e.find(".column_label .input input").bind("keyup change",function(){var e=jQuery(this).val();jQuery(this).closest(".cpac-column").find("td.column_label .inner > a.toggle").text(e)});e.find(".input-width-range").each(function(){var e=jQuery(this).closest("td").find(".input-width"),t=jQuery(this).closest("td").find(".width-decription"),n=jQuery(this).closest(".cpac-column").find(".column-meta span.width"),r=jQuery(e)[0].defaultValue,i=t.attr("title");jQuery(this).slider({range:"min",min:0,max:100,value:r,slide:function(r,s){var o=s.value>0?s.value+"%":i,u=s.value>0?s.value+"%":"";jQuery(e).val(s.value);t.text(o);n.text(u)}})});e.find(".column_image_size label.custom-size").click(function(){var e=jQuery(this).closest(".input");if(jQuery(this).hasClass("image-size-custom")){jQuery(".custom-size-w",e).removeClass("hidden");jQuery(".custom-size-h",e).removeClass("hidden")}else{jQuery(".custom-size-w",e).addClass("hidden");jQuery(".custom-size-h",e).addClass("hidden")}});e.find(".column-form .label label").hover(function(){jQuery(this).find("p.description").show()},function(){jQuery(this).find("p.description").hide()});e.find(".column_type select").val()=="column-meta"&&e.find(".column_field_type select").change(function(){e.cpac_column_refresh()})};jQuery.fn.column_remove=function(){jQuery(this).addClass("deleting").animate({opacity:0,height:0},350,function(e){jQuery(this).remove()})};jQuery.fn.column_clone=function(){var e=jQuery(this).closest(".columns-container"),t=jQuery(this);if(typeof t.attr("data-clone")=="undefined"){var n=cpac_i18n.clone.replace("%s","<strong>"+t.find(".column_label .toggle").text()+"</strong>");t.addClass("opened").find(".column-form").slideDown(150);t.find(".msg").html(n).show();return}var r=jQuery(this).clone();r.cpac_update_clone_id(e.attr("data-type"));jQuery(this).after(r);r.column_bind_toggle();r.column_bind_remove();r.column_bind_clone();r.column_bind_events();cpac_sortable();jQuery(document).trigger("column_add",r);return r};jQuery.fn.cpac_update_clone_id=function(e){var t=jQuery(this),n=t.attr("data-type"),r=jQuery('.columns-container[data-type="'+e+'"]').find(".cpac-columns"),i=jQuery(r).find('*[data-type="'+n+'"]').not(t),s=jQuery.map(i,function(e,t){return jQuery(e).attr("data-clone")?parseInt(jQuery(e).attr("data-clone"),10):0});s.sort();var o=Math.max.apply(null,s)+1;for(var u=0;u<=o;u++)if(-1===jQuery.inArray(u,s))break;if(0===u)return;var a=t.attr("data-clone"),f="";a&&(f="-"+a);t.attr("data-clone",u);t.find("input.clone").val(u);t.find("input.column-name").val(n+"-"+u);var l=t.find("input, select, label");jQuery(l).each(function(e,t){var r=n+"-"+u;jQuery(t).attr("name")&&jQuery(t).attr("name",jQuery(t).attr("name").replace(n+f,r));jQuery(t).attr("for")&&jQuery(t).attr("for",jQuery(t).attr("for").replace(n+f,r));jQuery(t).attr("id")&&jQuery(t).attr("id",jQuery(t).attr("id").replace(n+f,r))})};jQuery(document).bind("column_init column_change column_add",function(e,t){jQuery(t).cpac_bind_column_addon_events();jQuery(t).cpac_bind_container_addon_events()});jQuery.fn.cpac_bind_column_addon_events=function(){var e=jQuery(this),t=e.find("[data-toggle-id] label");t.click(function(){var t=jQuery(this).closest("td.input").data("toggle-id"),n=e.find('[data-indicator-id="'+t+'"]').removeClass("on"),r=jQuery("input",this).val();"on"==r&&n.addClass("on")})};jQuery.fn.cpac_bind_container_addon_events=function(){var e=jQuery(this),t=e.find("[data-indicator-id]");t.unbind("click").click(function(){var t=jQuery(this).data("indicator-id"),n=e.find('[data-toggle-id="'+t+'"] input');if(jQuery(this).hasClass("on")){jQuery(this).removeClass("on").addClass("off");n.filter("[value=off]").prop("checked",!0)}else{jQuery(this).removeClass("off").addClass("on");n.filter("[value=on]").prop("checked",!0)}})};
  • codepress-admin-columns/trunk/assets/less/admin-column.less

    r1079055 r1103918  
    282282                                    cursor: pointer;
    283283
    284                                     /*background: #ccc;
    285                                     border-radius: 2px;
    286                                     padding: 0 4px;
    287                                     color: #fff;
    288                                     display: inline-block;
    289                                     height: 15px;
    290                                     line-height: 15px;
    291 
    292                                     &.on {
    293                                         background: #1e8cbe;
    294                                     }*/
     284                                    &.width {
     285                                        margin-right: 5px;
     286                                        cursor: auto;
     287                                    }
    295288                                }
    296289                            }
     
    379372                    input[type=text] {
    380373                        width: 99.95%; // excl padding
     374
     375                        &.small {
     376                            width: 100px;
     377                        }
     378                    }
     379
     380                    span.suffix {
     381                        line-height: 40px;
     382                        color: #808080;
    381383                    }
    382384
  • codepress-admin-columns/trunk/classes/addons.php

    r946789 r1103918  
    108108
    109109        $addon_groups = array(
    110             'integration' => __( 'Third party plugin integration', 'cpac' )
     110            'integration' => __( 'Plugins', 'cpac' )
    111111        );
    112112
  • codepress-admin-columns/trunk/classes/column.php

    r1079055 r1103918  
    8787
    8888    /**
     89     * Overwrite this function in child class.
    8990     * Determine whether this column type should be available
    9091     *
     
    9798        return true;
    9899    }
     100
     101    /**
     102     * Overwrite this function in child class.
     103     * Adds (optional) scripts to the listings screen.
     104     *
     105     * @since 2.3.4
     106     */
     107    public function scripts() {}
    99108
    100109    /**
     
    160169         * @since 2.2
    161170         * @param array $default_options Default column options
    162          * @param CPAC_Column $column_instance Column class instance
     171         * @param CPAC_Storage_Model $storage_model Storage Model class instance
    163172         */
    164         $default_options = apply_filters( 'cac/column/default_options', $default_options, $this );
     173        $default_options = apply_filters( 'cac/column/default_options', $default_options ); // do not pass $this because object is not ready
    165174
    166175        foreach ( $default_options as $option => $value ) {
     
    169178    }
    170179
     180    /**
     181     * After Setup
     182     *
     183     */
    171184    public function after_setup() {
    172185
     
    185198         * @since 2.0
    186199         * @param array $properties Column properties
    187          * @param CPAC_Column $column_instance Column class instance
     200         * @param CPAC_Storage_Model $storage_model Storage Model class instance
    188201         */
    189         $this->properties = apply_filters( 'cac/column/properties', $this->properties, $this );
     202        $this->properties = apply_filters( 'cac/column/properties', $this->properties ); // do not pass $this because object is not ready
    190203
    191204        /**
     
    196209         * @see Filter cac/column/properties
    197210         */
    198         $this->properties = apply_filters( "cac/column/properties/storage_key={$this->storage_model->key}", $this->properties, $this );
     211        $this->properties = apply_filters( "cac/column/properties/storage_key={$this->storage_model->key}", $this->properties ); // do not pass $this because object is not ready
    199212
    200213        // Column label defaults to column type label
     
    273286
    274287    /**
    275      * @since 3.2.1
     288     * Get the type of the column.
     289     *
     290     * @since 2.3.4
    276291     */
    277292    public function get_type() {
     
    280295
    281296    /**
     297     * Get the name of the column.
     298     *
     299     * @since 2.3.4
     300     */
     301    public function get_name() {
     302        return $this->properties->name;
     303    }
     304
     305    /**
     306     * Get the column options set by the user
     307     *
     308     * @since 2.3.4
     309     * @return object Column options set by user
     310     */
     311    public function get_options() {
     312        return $this->options;
     313    }
     314
     315    /**
     316     * Get a single column option
     317     *
     318     * @since 2.3.4
     319     * @return array Column options set by user
     320     */
     321    public function get_option( $name ) {
     322        return isset( $this->options->{$name} ) ? $this->options->{$name} : false;
     323    }
     324
     325    /**
    282326     * Checks column type
    283327     *
    284      * @since 3.2.1
     328     * @since 2.3.4
    285329     * @param string $type Column type. Also work without the 'column-' prefix. Example 'column-meta' or 'meta'.
    286330     * @return bool Matches column type
     
    298342
    299343    /**
     344     * @since 2.3.4
     345     */
     346    public function get_storage_model() {
     347        return $this->storage_model;
     348    }
     349
     350    /**
     351     * @since 2.3.4
     352     */
     353    public function get_storage_model_type() {
     354        return $this->storage_model->get_type();
     355    }
     356
     357    /**
     358     * @since 2.3.4
     359     */
     360    public function get_storage_model_meta_type() {
     361        return $this->storage_model->get_meta_type();
     362    }
     363
     364    /**
    300365     * @param string $field_key
    301366     * @return void
     
    318383     */
    319384    public function read() {
    320         $options = (array) get_option( "cpac_options_{$this->storage_model->key}" );
     385        $options = (array) $this->storage_model->get_database_columns();
    321386
    322387        if ( empty( $options[ $this->properties->name ] ) ) {
     
    526591     */
    527592    public function get_terms_for_display( $term_ids, $taxonomy ) {
     593        if ( empty( $term_ids ) ) {
     594            return false;
     595        }
     596
    528597        $values = array();
    529598        $term_ids = (array) $term_ids;
     
    926995            <label for="<?php $this->attr_id( $pointer ); ?>">
    927996                <?php echo stripslashes( $label ); ?>
    928 
    929997                <?php if( $description ) : ?><p class="description"><?php echo $description; ?></p><?php endif; ?>
    930998            </label>
     
    10171085     */
    10181086    public function display_field_before_after() {
    1019         ?>
    1020         <tr class="column_before">
    1021             <?php $this->label_view( __( "Before", 'cpac' ), __( 'This text will appear before the custom field value.', 'cpac' ), 'before' ); ?>
    1022             <td class="input">
    1023                 <input type="text" class="cpac-before" name="<?php $this->attr_name( 'before' ); ?>" id="<?php $this->attr_id( 'before' ); ?>" value="<?php echo esc_attr( stripslashes( $this->options->before ) ); ?>"/>
    1024             </td>
    1025         </tr>
    1026         <tr class="column_after">
    1027             <?php $this->label_view( __( "After", 'cpac' ), __( 'This text will appear after the custom field value.', 'cpac' ), 'after' ); ?>
    1028             <td class="input">
    1029                 <input type="text" class="cpac-after" name="<?php $this->attr_name( 'after' ); ?>" id="<?php $this->attr_id( 'after' ); ?>" value="<?php echo esc_attr( stripslashes( $this->options->after ) ); ?>"/>
    1030             </td>
    1031         </tr>
    1032 <?php
     1087        $this->display_field_text( 'before', __( "Before", 'cpac' ), __( 'This text will appear before the custom field value.', 'cpac' ) );
     1088        $this->display_field_text( 'after', __( "After", 'cpac' ), __( 'This text will appear after the custom field value.', 'cpac' ) );
    10331089    }
    10341090
     
    10491105        );
    10501106
     1107        $this->display_field_select( 'display_author_as', __( 'Display format', 'cpac' ), $nametypes, __( 'This is the format of the author name.', 'cpac' ) );
     1108    }
     1109
     1110    /**
     1111     * @since 2.3.4
     1112     * @param string $name Name of the column option
     1113     * @return string $label Label
     1114     * @return array $options Select options
     1115     * @return strong $description (optional) Description below the label
     1116     */
     1117    public function display_field_select( $name, $label, $options = array(), $description = '' ) {
     1118        $current = $this->get_option( $name );
    10511119        ?>
    1052         <tr class="column-author-name">
    1053             <?php $this->label_view( __( 'Display format', 'cpac' ), __( 'This is the format of the author name.', 'cpac' ), 'display_author_as' ); ?>
     1120        <tr class="column-<?php echo $name; ?>">
     1121            <?php $this->label_view( $label, $description, $name ); ?>
    10541122            <td class="input">
    1055                 <select name="<?php $this->attr_name( 'display_author_as' ); ?>" id="<?php $this->attr_id( 'display_author_as' ); ?>">
    1056                 <?php foreach ( $nametypes as $key => $label ) : ?>
    1057                     <option value="<?php echo $key; ?>"<?php selected( $key, $this->options->display_author_as ) ?>><?php echo $label; ?></option>
     1123                <select name="<?php $this->attr_name( $name ); ?>" id="<?php $this->attr_id( $name ); ?>">
     1124                <?php foreach ( $options as $key => $label ) : ?>
     1125                    <option value="<?php echo $key; ?>"<?php selected( $key, $current ); ?>><?php echo $label; ?></option>
    10581126                <?php endforeach; ?>
    10591127                </select>
     1128            </td>
     1129        </tr>
     1130        <?php
     1131    }
     1132
     1133    /**
     1134     * @since 2.3.4
     1135     * @param string $name Name of the column option
     1136     * @return string $label Label
     1137     * @return array $options Select options
     1138     * @return strong $description (optional) Description below the label
     1139     */
     1140    public function display_field_text( $name, $label, $description = '' ) {
     1141        ?>
     1142        <tr class="column-<?php echo $name; ?>">
     1143            <?php $this->label_view( $label, $description, $name ); ?>
     1144            <td class="input">
     1145                <input type="text" name="<?php $this->attr_name( $name ); ?>" id="<?php $this->attr_id( $name ); ?>" value="<?php echo esc_attr( stripslashes( $this->get_option( $name ) ) ); ?>"/>
    10601146            </td>
    10611147        </tr>
     
    11301216                                <div class="inner">
    11311217                                    <div class="meta">
     1218
     1219                                        <span title="<?php echo esc_attr( __( 'width', 'cpac' ) ); ?>" class="width" data-indicator-id="">
     1220                                            <?php echo ! empty( $this->options->width ) ? $this->options->width . '%' : ''; ?>
     1221                                        </span>
    11321222
    11331223                                        <?php
     
    11711261                    <tbody>
    11721262                        <tr class="column_type">
    1173                             <?php $this->label_view( __( 'Type', 'cpac' ), __( 'Choose a column type.', 'cpac' ) . '<em>' . __('ID','cpac') . ': ' . $this->properties->type . '</em>', 'type' ); ?>
     1263                            <?php $this->label_view( __( 'Type', 'cpac' ), __( 'Choose a column type.', 'cpac' ) . '<em>' . __( 'Type', 'cpac' ) . ': ' . $this->properties->type . '</em><em>' . __( 'Name', 'cpac' ) . ': ' . $this->properties->name . '</em>', 'type' ); ?>
    11741264                            <td class="input">
    11751265                                <select name="<?php $this->attr_name( 'type' ); ?>" id="<?php $this->attr_id( 'type' ); ?>">
  • codepress-admin-columns/trunk/classes/column/actions.php

    r1079055 r1103918  
    1212     * @since 2.2.6
    1313     *
    14      * @param int $item_id Item ID to get the list of actions for.
     14     * @param int $id Item ID to get the list of actions for.
    1515     * @return array List of actions ([action name] => [action link]).
    1616     */
    17     abstract public function get_actions( $item_id );
     17    abstract public function get_actions( $id );
    1818
    1919    /**
     
    3737     * @since 2.2.6
    3838     */
    39     public function get_value( $post_id ) {
     39    public function get_value( $id ) {
    4040
    41         $actions = $this->get_raw_value( $post_id );
     41        $actions = $this->get_raw_value( $id );
    4242
    4343        if ( ! empty( $this->options->use_icons ) ) {
     
    6060     * @since 2.2.6
    6161     */
    62     public function get_raw_value( $post_id ) {
     62    public function get_raw_value( $id ) {
    6363
    6464        /**
     
    6969         * @param array $actions List of actions ([action name] => [action link]).
    7070         * @param CPAC_Column_Actions $column_instance Column object.
     71         * @param int $id Post/User/Comment ID
    7172         */
    72         return apply_filters( 'cac/column/actions/action_links', $this->get_actions( $post_id ), $this );
     73        return apply_filters( 'cac/column/actions/action_links', $this->get_actions( $id ), $this, $id );
    7374    }
    7475
     
    121122
    122123        foreach ( $actions as $action => $link ) {
    123             if ( isset( $icons[ $action ] ) ) {
     124            $action1 = $action;
     125            $spacepos = $spacepos = strpos( $action1, ' ' );
     126
     127            if ( $spacepos !== false ) {
     128                $action1 = substr( $action1, 0, $spacepos );
     129            }
     130
     131            if ( isset( $icons[ $action1 ] ) ) {
    124132                // Add mandatory "class" HTML attribute
    125133                if ( strpos( $link, 'class=' ) === false ) {
     
    128136
    129137                // Add icon and tooltip classes
    130                 $link = preg_replace( '/class=["\'](.*?)["\']/', 'class="$1 cpac-tip button cpac-button-action dashicons hide-content dashicons-' . $icons[ $action ] . '"', $link, 1 );
     138                $link = preg_replace( '/class=["\'](.*?)["\']/', 'class="$1 cpac-tip button cpac-button-action dashicons hide-content dashicons-' . $icons[ $action1 ] . '"', $link, 1 );
    131139
    132140                // Add tooltip title
     
    167175            'delete' => 'trash',
    168176            'untrash' => 'undo',
     177            'unspam' => 'undo',
    169178            'view' => 'visibility',
    170             'inline hide-if-no-js' => 'welcome-write-blog'
     179            'inline' => 'welcome-write-blog',
     180            'quickedit' => 'welcome-write-blog',
     181            'approve' => 'yes',
     182            'unapprove' => 'no',
     183            'reply' => 'testimonial',
     184            'trash' => 'trash',
     185            'spam' => 'welcome-comments'
    171186        );
    172187    }
  • codepress-admin-columns/trunk/classes/column/comment/actions.php

    r958604 r1103918  
    55 * @since 2.0
    66 */
    7 class CPAC_Column_Comment_Actions extends CPAC_Column {
     7class CPAC_Column_Comment_Actions extends CPAC_Column_Actions {
    88
    99    /**
    10      * @see CPAC_Column::init()
    11      * @since 2.2.1
     10     * @see CPAC_Column_Actions::get_actions()
     11     * @since 2.3.4
    1212     */
    13     public function init() {
     13    public function get_actions( $id ) {
    1414
    15         parent::init();
    16 
    17         // Properties
    18         $this->properties['type']       = 'column-actions';
    19         $this->properties['label']      = __( 'Actions', 'cpac' );
    20     }
    21 
    22     /**
    23      * @see CPAC_Column::get_value()
    24      * @since 2.0
    25      */
    26     function get_value( $id ) {
     15        global $post, $comment_status;
    2716
    2817        $comment = get_comment( $id );
    29 
    30         return $this->get_column_value_actions( $comment );
    31     }
    32 
    33     /**
    34      *  Get column value of comments actions
    35      *
    36      *  This part is copied from the Comments List Table class
    37      *
    38      *  @since 1.4.2
    39      */
    40     private function get_column_value_actions( $comment ) {
    41         global $post, $comment_status;
    4218
    4319        // set uased vars
     
    10379
    10480            $actions = apply_filters( 'comment_row_actions', array_filter( $actions ), $comment );
     81            $actions_copy = $actions;
     82            $actions = array();
    10583
    106             $i = 0;
    107             $result = '<div class="cp-row-actions">';
    108             foreach ( $actions as $action => $link ) {
    109                 ++$i;
    110                 ( ( ( 'approve' == $action || 'unapprove' == $action ) && 2 === $i ) || 1 === $i ) ? $sep = '' : $sep = ' | ';
     84            foreach ( $actions_copy as $action => $link ) {
     85                $action_append = '';
    11186
    11287                // Reply and quickedit need a hide-if-no-js span when not added with ajax
    113                 if ( ( 'reply' == $action || 'quickedit' == $action ) && ! defined('DOING_AJAX') )
    114                     $action .= ' hide-if-no-js';
     88                if ( ( 'reply' == $action || 'quickedit' == $action ) && ! defined('DOING_AJAX') ) {
     89                    $action_append .= ' hide-if-no-js';
     90                }
    11591                elseif ( ( $action == 'untrash' && $the_comment_status == 'trash' ) || ( $action == 'unspam' && $the_comment_status == 'spam' ) ) {
    116                     if ( '1' == get_comment_meta( $comment->comment_ID, '_wp_trash_meta_status', true ) )
    117                         $action .= ' approve';
    118                     else
    119                         $action .= ' unapprove';
     92                    if ( '1' == get_comment_meta( $comment->comment_ID, '_wp_trash_meta_status', true ) ) {
     93                        $action_append .= ' approve';
     94                    }
     95                    else {
     96                        $action_append .= ' unapprove';
     97                    }
    12098                }
    12199
    122                 $result .= "<span class='$action'>$sep$link</span>";
     100                $action .= $action_append;
     101                $actions[ $action ] = $link;
    123102            }
    124             $result .= '</div>';
    125103        }
    126         return $result;
    127         // end copied
     104
     105        return $actions;
    128106    }
     107
    129108}
  • codepress-admin-columns/trunk/classes/column/custom-field.php

    r1079055 r1103918  
    5252     */
    5353    public function is_field( $field ) {
    54         return $type === $this->get_field();
     54        return $field === $this->get_field();
    5555    }
    5656
     
    9292
    9393        $custom_field_types = array(
    94             ''              => __( 'Default'),
     94            ''              => __( 'Default', 'cpac' ),
    9595            'checkmark'     => __( 'Checkmark (true/false)', 'cpac' ),
    9696            'color'         => __( 'Color', 'cpac' ),
     
    214214     */
    215215    public function get_terms_by_id( $meta_value )  {
     216        // as used by Pods, @todo
    216217        if ( ! is_array( $meta_value) || ! isset( $meta_value['term_id'] ) || ! isset( $meta_value['taxonomy'] ) ) {
    217218            return false;
     
    332333    public function get_raw_value( $id, $single = true ) {
    333334
    334         $field_key = $this->get_field_key();
    335 
    336         $raw_value = get_metadata( $this->storage_model->meta_type, $id, $field_key, $single );
     335        $raw_value = '';
     336
     337        if ( $field_key = $this->get_field_key() ) {
     338            $raw_value = get_metadata( $this->storage_model->meta_type, $id, $field_key, $single );
     339        }
    337340
    338341        return apply_filters( 'cac/column/meta/raw_value', $raw_value, $id, $field_key, $this );
     
    353356        }
    354357
     358        /**
     359         * Filter the display value for Custom Field columns
     360         *
     361         * @param mixed $value Custom field value
     362         * @param int $id Object ID
     363         * @param object $this Column instance
     364         */
    355365        $value = apply_filters( 'cac/column/meta/value', $value, $id, $this );
    356366
  • codepress-admin-columns/trunk/classes/column/default.php

    r966195 r1103918  
    2929
    3030        if ( ! empty( $this->properties->handle ) ) {
    31             echo $this->storage_model->get_original_column_value( $this->properties->handle, $post_id );
     31            return $this->storage_model->get_original_column_value( $this->properties->handle, $post_id );
    3232        }
    3333
  • codepress-admin-columns/trunk/classes/column/media/actions.php

    r1079055 r1103918  
    1010    /**
    1111     * @see CPAC_Column_Actions::get_actions()
    12      * @since NEWVERSION
     12     * @since 2.3.4
    1313     */
    14     public function get_actions( $item_id ) {
     14    public function get_actions( $id ) {
    1515
    1616        global $wp_list_table;
    1717
    18         $post = get_post( $item_id );
    19         $att_title = _draft_or_post_title( $item_id );
    20        
     18        $post = get_post( $id );
     19        $att_title = _draft_or_post_title( $id );
     20
    2121        $actions = array();
    2222
  • codepress-admin-columns/trunk/classes/column/media/file-name.php

    r958604 r1103918  
    2424     * @since 2.0
    2525     */
    26     function get_value( $id ) {
     26    public function get_value( $id ) {
    2727
    28         $file       = wp_get_attachment_url( $id );
    29         $filename   = basename( $file );
     28        $file = wp_get_attachment_url( $id );
     29        $filename = $this->get_raw_value( $id );
    3030
    3131        return "<a title='{$filename}' href='{$file}'>{$filename}</a>";
    3232    }
     33
     34    /**
     35     * @see CPAC_Column::get_value()
     36     * @since 2.0
     37     */
     38    public function get_raw_value( $id ) {
     39
     40        $file = wp_get_attachment_url( $id );
     41
     42        return basename( $file );
     43    }
    3344}
  • codepress-admin-columns/trunk/classes/column/media/full-path.php

    r958604 r1103918  
    1818        $this->properties['type']    = 'column-full_path';
    1919        $this->properties['label']   = __( 'Full path', 'cpac' );
     20
     21        // Options
     22        $this->options['path_scope'] = 'full';
    2023    }
    2124
     
    3134
    3235        if ( $file ) {
     36            switch ( $this->options->path_scope ) {
     37                case 'relative-domain':
     38                    $file = str_replace( 'https://', 'http://', $file );
     39                    $url = str_replace( 'https://', 'http://', home_url( '/' ) );
     40
     41                    if ( strpos( $file, $url ) === 0 ) {
     42                        $file = '/' . substr( $file, strlen( $url ) );
     43                    }
     44
     45                    break;
     46                case 'relative-uploads':
     47                    $uploaddir = wp_upload_dir();
     48                    $file = str_replace( 'https://', 'http://', $file );
     49                    $url = str_replace( 'https://', 'http://', $uploaddir['baseurl'] );
     50
     51                    if ( strpos( $file, $url ) === 0 ) {
     52                        $file = substr( $file, strlen( $url ) );
     53                    }
     54
     55                    break;
     56            }
     57
    3358            $value = $file;
    3459        }
     
    3661        return $value;
    3762    }
     63
     64    /**
     65     *
     66     *
     67     * @see CPAC_Column::display_settings()
     68     * @since 2.3.4
     69     */
     70    public function display_settings() {
     71
     72        $this->display_field_path_scope();
     73    }
     74
     75    /**
     76     *
     77     *
     78     * @since 2.3.4
     79     */
     80    public function display_field_path_scope() {
     81
     82        $field_key      = 'path_scope';
     83        $label          = __( 'Path scope', 'cpac' );
     84        $description    = __( 'Part of the file path to display', 'cpac' );
     85
     86        ?>
     87        <tr class="column_<?php echo $field_key; ?>">
     88            <?php $this->label_view( $label, $description, $field_key ); ?>
     89            <td class="input">
     90                <label for="<?php $this->attr_id( $field_key ); ?>-full">
     91                    <input type="radio" value="full" name="<?php $this->attr_name( $field_key ); ?>" id="<?php $this->attr_id( $field_key ); ?>-full"<?php checked( $this->options->path_scope, 'full' ); ?> />
     92                    <?php _e( 'Full path', 'cpac' ); ?>
     93                </label>
     94                <br/>
     95                <label for="<?php $this->attr_id( $field_key ); ?>-relative-domain">
     96                    <input type="radio" value="relative-domain" name="<?php $this->attr_name( $field_key ); ?>" id="<?php $this->attr_id( $field_key ); ?>-relative-domain"<?php checked( $this->options->path_scope, 'relative-domain' ); ?> />
     97                    <?php _e( 'Relative to domain', 'cpac' ); ?>
     98                </label>
     99                <br/>
     100                <label for="<?php $this->attr_id( $field_key ); ?>-relative-uploads">
     101                    <input type="radio" value="relative-uploads" name="<?php $this->attr_name( $field_key ); ?>" id="<?php $this->attr_id( $field_key ); ?>-relative-uploads"<?php checked( $this->options->path_scope, 'relative-uploads' ); ?> />
     102                    <?php _e( 'Relative to main uploads folder ', 'cpac' ); ?>
     103                </label>
     104            </td>
     105        </tr>
     106    <?php
     107    }
     108
    38109}
  • codepress-admin-columns/trunk/classes/column/post/parent.php

    r958604 r1103918  
    2525     * @since 2.0
    2626     */
    27     function get_value( $post_id ) {
     27    public function get_value( $post_id ) {
    2828
    2929        if ( !( $parent_id = $this->get_raw_value( $post_id ) ) ) {
     
    4141     * @since 2.0.3
    4242     */
    43     function get_raw_value( $post_id ) {
     43    public function get_raw_value( $post_id ) {
    4444
    4545        $parent_id = get_post_field( 'post_parent', $post_id );
    4646
    47         if ( !$parent_id || !is_numeric( $parent_id ) )
     47        if ( ! $parent_id || ! is_numeric( $parent_id ) ) {
    4848            return false;
     49        }
    4950
    5051        return $parent_id;
     
    5556     * @since 2.0
    5657     */
    57     function apply_conditional() {
     58    public function apply_conditional() {
    5859
    59         if ( post_type_supports( $this->storage_model->key, 'page-attributes' ) )
    60             return true;
    61 
    62         return false;
     60        return is_post_type_hierarchical( $this->storage_model->get_post_type() );
    6361    }
    6462}
  • codepress-admin-columns/trunk/classes/column/post/slug.php

    r958604 r1103918  
    3535    function get_raw_value( $post_id ) {
    3636
    37         return get_post_field( 'post_name', $post_id );
     37        return get_post_field( 'post_name', $post_id, 'raw' );
    3838    }
    3939}
  • codepress-admin-columns/trunk/classes/column/taxonomy.php

    r966195 r1103918  
    2929     * @since 2.0
    3030     */
    31     function get_value( $post_id ) {
     31    public function get_value( $post_id ) {
    3232        $term_ids = $this->get_raw_value( $post_id );
    3333
     
    3939     * @since 2.0.3
    4040     */
    41     function get_raw_value( $post_id ) {
     41    public function get_raw_value( $post_id ) {
    4242
    4343        return wp_get_post_terms( $post_id, $this->options->taxonomy, array( 'fields' => 'ids' ) );
     44    }
     45
     46    /**
     47     * @see CPAC_Column::get_value()
     48     * @since 2.3.4
     49     */
     50    public function get_taxonomy() {
     51        return $this->options->taxonomy;
    4452    }
    4553
     
    4856     * @since 2.0
    4957     */
    50     function apply_conditional() {
     58    public function apply_conditional() {
    5159
    5260        $post_type = $this->get_post_type();
     
    6573     * @since 2.0
    6674     */
    67     function display_settings() {
     75    public function display_settings() {
    6876
    6977        $taxonomies = get_object_taxonomies( $this->get_post_type(), 'objects' );
  • codepress-admin-columns/trunk/classes/column/user/comment-count.php

    r958604 r1103918  
    1616
    1717        // Properties
    18         $this->properties['type']    = 'column-user_commentcount';
    19         $this->properties['label']  = __( 'Comment Count' );
     18        $this->properties['type'] = 'column-user_commentcount';
     19        $this->properties['label'] = __( 'Comment Count' );
    2020    }
    2121
     
    3737        return get_comments( array(
    3838            'user_id'   => $user_id,
    39             'count'     => true
     39            'count'     => true,
     40            'orderby' => false
    4041        ));
    4142    }
  • codepress-admin-columns/trunk/classes/settings.php

    r1049853 r1103918  
    601601        );
    602602
     603        /**
     604         * Filter the tabs on the settings screen
     605         *
     606         * @param array $tabs Available tabs
     607         */
    603608        $tabs = apply_filters( 'cac/settings/tabs', $tabs );
    604609
     
    642647                                </div>
    643648
    644                                 <?php if ( $storage_model->stored_columns !== NULL ) : ?>
     649                                <?php if ( $storage_model->is_using_php_export() ) : ?>
    645650                                    <div class="error below-h2">
    646651                                        <p><?php printf( __( 'The columns for %s are set up via PHP and can therefore not be edited in the admin panel.', 'cpac' ), '<strong>' . $storage_model->label . '</strong>' ); ?></p>
     
    651656                            <div class="columns-right">
    652657                                <div class="columns-right-inside">
    653                                     <?php if ( $storage_model->stored_columns === NULL ) : ?>
     658                                    <?php if ( ! $storage_model->is_using_php_export() ) : ?>
    654659                                        <div class="sidebox" id="form-actions">
    655660                                            <h3>
     
    808813                            <div class="columns-left">
    809814                                <div class="cpac-boxes">
    810                                     <?php if ( $storage_model->stored_columns === NULL ) : ?>
     815                                    <?php if ( ! $storage_model->is_using_php_export() ) : ?>
    811816                                        <div class="cpac-columns">
    812817
     
    862867                    break;
    863868                default:
    864                     echo apply_filters( 'cac/settings/tab_contents/tab=' . $current_tab, apply_filters( 'cac/settings/tab_contents', '', $current_tab ) );
    865                     break;
     869
     870                    /**
     871                     * Action to add tab contents
     872                     *
     873                     */
     874                    do_action( 'cac/settings/tab_contents/tab=' . $current_tab );
     875
    866876            endswitch;
    867877            ?>
  • codepress-admin-columns/trunk/classes/storage_model.php

    r1049853 r1103918  
    4848
    4949    /**
     50     * Uses PHP export to display settings
     51     *
     52     * @since 2.0
     53     * @var string
     54     */
     55    private $php_export = false;
     56
     57    /**
    5058     * @since 2.0.1
    5159     * @var array
     
    135143        $fields = $this->get_meta();
    136144
    137         if ( is_wp_error( $fields ) || empty( $fields ) )
     145        if ( is_wp_error( $fields ) || empty( $fields ) ) {
    138146            $keys = false;
     147        }
    139148
    140149        if ( $fields ) {
     
    474483    }
    475484
     485    /**
     486     * Set stopred column by 3rd party plugins
     487     *
     488     * @since 2.3
     489     */
    476490    public function set_stored_columns( $columns ) {
    477491        $this->stored_columns = $columns;
     492
     493        // columns settings are set by external plugin
     494        $this->php_export = true;
     495    }
     496
     497    /**
     498     * Are column set by third party plugin
     499     *
     500     * @since 2.3.4
     501     */
     502    public function is_using_php_export() {
     503        return $this->php_export;
    478504    }
    479505
     
    486512
    487513    /**
     514     * @since 2.3.4
     515     */
     516    public function get_type() {
     517        return $this->type;
     518    }
     519
     520    /**
     521     * @since 2.3.4
     522     */
     523    public function get_meta_type() {
     524        return $this->meta_type;
     525    }
     526
     527    /**
    488528     * Only set columns on current screens
    489529     *
     
    501541    /**
    502542     * @since 2.0.2
    503      * @param bool $ignore_check This will allow (3rd party plugins) to populate columns outside the approved screens.
    504543     */
    505544    public function set_columns() {
     
    564603     */
    565604    public function get_registered_columns() {
    566 
    567605        $types = array();
    568 
    569606        foreach ( $this->column_types as $grouptypes ) {
    570607            $types = array_merge( $types, $grouptypes );
    571608        }
    572 
    573609        return $types;
     610    }
     611
     612    /**
     613     * @since 2.3.4
     614     * @param string Column Type
     615     */
     616    public function get_registered_column( $column_type ) {
     617        $columns = $this->get_registered_columns();
     618        return isset( $columns[ $column_type ] ) ? $columns[ $column_type ] : false;
    574619    }
    575620
     
    609654                $column->set_clone( $options['clone'] );
    610655
     656                // preload options when php export is being used
     657                $preload = $this->is_using_php_export() ? $options : false;
     658
    611659                // repopulate the options, so they contains the right stored options
    612                 $column->populate_options();
     660                $column->populate_options( $preload );
     661
    613662                $column->sanitize_label();
    614663
     
    678727    public function add_headings( $columns ) {
    679728
    680         // only add headings on overview screens, to prevent deactivating columns in the Storage Model.
     729        // only add headings on overview screens, to prevent deactivating columns on the column settings screen
    681730        if ( ! $this->is_columns_screen() ) {
    682731            return $columns;
     
    697746        foreach ( $stored_columns as $column_name => $options ) {
    698747
     748            // Label needs stripslashes() for HTML tagged labels, like icons and checkboxes
     749            $label = stripslashes( $options['label'] );
     750
    699751            /**
    700              * Filter the column headers label for use in a WP_List_Table
     752             * Filter the stored column headers label for use in a WP_List_Table
    701753             * Label needs stripslashes() for HTML tagged labels, like icons and checkboxes
    702754             *
     
    707759             * @param CPAC_Storage_Model $storage_model Storage model class instance
    708760             */
    709             $label = apply_filters( 'cac/headings/label', stripslashes( $options['label'] ), $column_name, $options, $this );
     761            $label = apply_filters( 'cac/headings/label', $label, $column_name, $options, $this );
    710762            $label = str_replace( '[cpac_site_url]', site_url(), $label );
    711763
     
    716768        // For example when a plugin has been activated after storing column settings.
    717769        // When $diff contains items, it means an available column has not been stored.
    718         if ( $diff = array_diff( array_keys( $columns ), $this->get_default_stored_columns() ) ) {
     770        if ( ! $this->is_using_php_export() && ( $diff = array_diff( array_keys( $columns ), $this->get_default_stored_columns() ) ) ) {
    719771            foreach ( $diff as $column_name ) {
    720772                $column_headings[ $column_name ] = $columns[ $column_name ];
     
    722774        }
    723775
    724         // Remove 3rd party columns that have been deactivated.
    725         // While the column settings have not been stored yet.
    726         // When $diff contains items, it means the default stored columns are not available anymore.
    727         // @todo: check if working properly. cuurently issues with woocommerce columns
    728         /*
    729         if ( $diff = array_diff( $this->get_default_stored_columns(), array_keys( $columns ) ) ) {
    730             foreach ( $diff as $column_name ) {
    731                 if( isset( $column_headings[ $column_name ] ) )
    732                     unset( $column_headings[ $column_name ] );
    733             }
    734         }*/
    735 
    736776        return $column_headings;
    737777    }
     
    743783    protected function get_screen_link() {
    744784
    745         return admin_url( $this->page . '.php' );
     785        return is_network_admin() ? network_admin_url( $this->page . '.php' ) : admin_url( $this->page . '.php' );
    746786    }
    747787
     
    751791    public function screen_link() {
    752792
    753         echo '<a href="' . $this->get_screen_link() . '" class="add-new-h2">' . __('View', 'cpac') . '</a>';
     793        if ( $link = $this->get_screen_link() ) {
     794            echo '<a href="' . $link . '" class="add-new-h2">' . __('View', 'cpac') . '</a>';
     795        }
    754796    }
    755797
     
    770812     */
    771813    public function is_doing_ajax() {
    772         if ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) {
    773             return false;
    774         }
    775 
    776         if ( ( isset( $_POST['plugin_id'] ) && 'cpac' == $_POST['plugin_id'] ) || ( isset( $_GET['plugin_id'] ) && 'cpac' == $_GET['plugin_id'] ) ) {
    777             return true;
    778         }
    779 
    780         return false;
     814
     815        return cac_is_doing_ajax();
    781816    }
    782817
     
    811846                return false;
    812847            }
     848        }
     849
     850        // users
     851        if ( 'wp-users' == $this->key && is_network_admin() ) {
     852            return false;
    813853        }
    814854
  • codepress-admin-columns/trunk/classes/storage_model/comment.php

    r1079055 r1103918  
    1818
    1919        // headings
    20         add_filter( "manage_{$this->page}_columns",  array( $this, 'add_headings' ), 100 );
     20        add_filter( "manage_{$this->page}_columns",  array( $this, 'add_headings' ), 100 ); // Filter is located in get_column_headers().
    2121
    2222        // values
     
    2424
    2525        parent::__construct();
     26    }
     27
     28    /**
     29     * @since 2.3.4
     30     * @see CPAC_Storage_Model::is_columns_screen()
     31     */
     32    public function is_columns_screen() {
     33
     34        $is_columns_screen = parent::is_columns_screen();
     35
     36        if ( ! $is_columns_screen ) {
     37            if ( ! empty( $_REQUEST['_ajax_nonce-replyto-comment'] ) && wp_verify_nonce( $_REQUEST['_ajax_nonce-replyto-comment'], 'replyto-comment' ) ) {
     38                $is_columns_screen = true;
     39            }
     40        }
     41
     42        return $is_columns_screen;
    2643    }
    2744
     
    3653    public function get_default_columns() {
    3754
    38         if ( ! function_exists('_get_list_table') ) return array();
     55        if ( ! function_exists('_get_list_table') ) {
     56            return array();
     57        }
    3958
    4059        // You can use this filter to add thirdparty columns by hooking into this.
  • codepress-admin-columns/trunk/classes/storage_model/post.php

    r1049853 r1103918  
    2424
    2525        // Deprecated ( as of 3.1 ) Note: This one is still used by woocommerce.
    26         // Priority set to 11 top make sure the WooCommerce headings are overwritten by CAC
     26        // Priority set to 100 top make sure the WooCommerce headings are overwritten by CAC
     27        // Filter is located in get_column_headers().
    2728        // @todo_minor check compatibility issues for this deprecated filter
    2829        add_filter( "manage_{$this->page}-{$post_type}_columns",  array( $this, 'add_headings' ), 100, 1 );
    2930
    3031        // values
    31         add_action( "manage_{$this->post_type}_posts_custom_column", array( $this, 'manage_value' ), 100, 2 );
     32        add_action( "manage_{$this->post_type}_posts_custom_column", array( $this, 'manage_value_callback' ), 100, 2 );
    3233
    3334        // @todo: description
     
    5051
    5152        // Remove Admin Columns action for this column's value
    52         remove_action( "manage_{$this->post_type}_posts_custom_column", array( $this, 'manage_value' ), 100, 2 );
     53        remove_action( "manage_{$this->post_type}_posts_custom_column", array( $this, 'manage_value_callback' ), 100, 2 );
    5354
    5455        ob_start();
     
    6768
    6869        // Add removed Admin Columns action for this column's value
    69         add_action( "manage_{$this->post_type}_posts_custom_column", array( $this, 'manage_value' ), 100, 2 );
     70        add_action( "manage_{$this->post_type}_posts_custom_column", array( $this, 'manage_value_callback' ), 100, 2 );
    7071
    7172        // Restore original post object
     
    190191        setup_postdata( $post );
    191192
    192         // Column value
    193193        $value = '';
     194
     195        // Set column value
    194196        if ( $column = $this->get_column_by_name( $column_name ) ) {
    195197            $value = $column->get_value( $post_id );
     
    209211        echo $value;
    210212    }
     213
     214    /**
     215     * Manage value callback
     216     *
     217     * @since ?
     218     */
     219    public function manage_value_callback( $column_name, $post_id ) {
     220
     221        $column = $this->get_column_by_name( $column_name );
     222
     223        if ( $column && ! empty( $column->properties->handle ) ) {
     224            ob_start();
     225            $this->manage_value( $column_name, $post_id );
     226            ob_end_clean();
     227        }
     228        else {
     229            $this->manage_value( $column_name, $post_id );
     230        }
     231    }
     232
    211233}
  • codepress-admin-columns/trunk/classes/third_party.php

    r1049853 r1103918  
    3131
    3232        require_once WPSEO_PATH . 'admin/class-metabox.php';
    33         if ( class_exists( 'WPSEO_Metabox' ) ) {
     33        if ( class_exists( 'WPSEO_Metabox', false ) ) {
    3434            new WPSEO_Metabox;
    3535        }
     
    4646function cac_add_wpml_columns( $storage_model ) {
    4747
    48     if ( ! class_exists('SitePress') ) {
     48    if ( ! class_exists( 'SitePress', false ) ) {
    4949        return;
    5050    }
     
    8282 */
    8383function cpac_remove_acf_from_cpac_post_types( $post_types ) {
    84     if ( class_exists('Acf') ) {
     84    if ( class_exists( 'Acf', false ) ) {
    8585        if ( isset( $post_types['acf'] ) ) {
    8686            unset( $post_types['acf'] );
     
    9898 * bbPress - remove posttypes: forum, reply and topic
    9999 *
    100 * @since 2.0
     100 * The default columns of bbPress are not recognised by Admin Columns as of yet.
     101 *
     102 * @since 2.0
    101103 *
    102104 * @return array Posttypes
    103105 */
    104106function cpac_posttypes_remove_bbpress( $post_types ) {
    105     if ( class_exists( 'bbPress' ) ) {
     107    if ( class_exists( 'bbPress', false ) ) {
    106108        unset( $post_types['topic'] );
    107109        unset( $post_types['reply'] );
     
    121123 */
    122124function cpac_remove_ninja_forms_from_cpac_post_types( $post_types ) {
    123     if ( class_exists('Ninja_Forms') ) {
     125    if ( class_exists( 'Ninja_Forms', false ) ) {
    124126        if ( isset( $post_types['nf_sub'] ) ) {
    125127            unset( $post_types['nf_sub'] );
  • codepress-admin-columns/trunk/classes/utility.php

    r803107 r1103918  
    3030}
    3131
     32/**
     33 * Is doing ajax
     34 *
     35 * @since 2.3.4
     36 */
     37function cac_is_doing_ajax() {
     38    if ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) {
     39        return false;
     40    }
     41
     42    if ( ( isset( $_POST['action'] ) && 'inline-save' === $_POST['action'] ) ) {
     43        return true;
     44    }
     45
     46    if ( ( isset( $_POST['action'] ) && 'edit-comment' === $_POST['action'] ) ) {
     47        return true;
     48    }
     49
     50    if ( ( isset( $_POST['action'] ) && 'replyto-comment' === $_POST['action'] ) ) {
     51        return true;
     52    }
     53
     54    if ( ( isset( $_POST['plugin_id'] ) && 'cpac' == $_POST['plugin_id'] ) || ( isset( $_GET['plugin_id'] ) && 'cpac' == $_GET['plugin_id'] ) ) {
     55        return true;
     56    }
     57
     58    return false;
     59}
     60
     61/**
     62 * Returns true if the installed version of WooCommerce is version X or greater
     63 *
     64 * @since 2.3.4
     65 * @return boolean true if the installed version of WooCommerce is version X or greater
     66 */
     67function cpac_is_wc_version_gte( $version = '1.0' ) {
     68    $wc_version = defined( 'WC_VERSION' ) && WC_VERSION ? WC_VERSION : null;
     69    return $wc_version && version_compare( $wc_version, $version, '>=' );
     70}
  • codepress-admin-columns/trunk/codepress-admin-columns.php

    r1079055 r1103918  
    11<?php
    22/*
    3 Plugin Name:        Admin Columns
    4 Version:            2.3.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:         http://www.admincolumns.com
    8 Plugin URI:         http://www.admincolumns.com
    9 Text Domain:        cpac
    10 Domain Path:        /languages
    11 License:            GPLv2
    12 
    13 Copyright 2011-2014  AdminColumns.com  [email protected]
     3Plugin Name: Admin Columns
     4Version: 2.3.5
     5Description: Customize columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
     6Author: AdminColumns.com
     7Author URI: http://www.admincolumns.com
     8Plugin URI: http://www.admincolumns.com
     9Text Domain: cpac
     10Domain Path: /languages
     11License: GPLv2
     12
     13Copyright 2011-2015  AdminColumns.com  [email protected]
    1414
    1515This program is free software; you can redistribute it and/or modify
     
    3333
    3434// Plugin information
    35 define( 'CPAC_VERSION',         '2.3.3' ); // Current plugin version
     35define( 'CPAC_VERSION',         '2.3.5' ); // Current plugin version
    3636define( 'CPAC_UPGRADE_VERSION', '2.0.0' ); // Latest version which requires an upgrade
    3737define( 'CPAC_URL',             plugin_dir_url( __FILE__ ) );
     
    106106        add_action( 'init', array( $this, 'localize' ) );
    107107        add_action( 'wp_loaded', array( $this, 'maybe_set_storage_models' ), 5 );
     108        add_action( 'wp_loaded', array( $this, 'maybe_load_php_export' ) );
    108109        add_action( 'wp_loaded', array( $this, 'after_setup' ) ); // Setup callback, important to load after set_storage_models
    109110        add_action( 'admin_enqueue_scripts', array( $this, 'scripts' ) );
     
    177178    public function set_capabilities() {
    178179        if ( $role = get_role( 'administrator' ) ) {
    179             $role->add_cap( 'manage_admin_columns' );
    180         }
     180            $role->add_cap( 'manage_admin_columns' );
     181        }
    181182    }
    182183
     
    193194
    194195        $this->set_storage_models();
     196    }
     197
     198    /**
     199     * Load the php exported settings
     200     *
     201     * @since 2.3.5
     202     */
     203    public function maybe_load_php_export() {
     204        global $_cac_exported_columns;
     205        if ( $_cac_exported_columns ) {
     206            foreach( $_cac_exported_columns as $model => $columns ) {
     207                if ( $storage_model = $this->get_storage_model( $model ) ) {
     208                    $storage_model->set_stored_columns( $columns );
     209                }
     210            }
     211        }
    195212    }
    196213
     
    242259         * @since 2.0
    243260         * @param array $storage_models List of storage model class instances ( [key] => [CPAC_Storage_Model object], where [key] is the storage key, such as "user", "post" or "my_custom_post_type")
     261         * @param object $this CPAC
    244262         */
    245         $this->storage_models = apply_filters( 'cac/storage_models', $storage_models );
     263        $this->storage_models = apply_filters( 'cac/storage_models', $storage_models, $this );
    246264    }
    247265
     
    316334
    317335    /**
     336     * Get a list of taxonomies supported by Admin Columns
     337     *
     338     * @since 1.0
     339     *
     340     * @return array List of taxonomies
     341     */
     342    public function get_taxonomies() {
     343
     344        $taxonomies = get_taxonomies( array( 'public' => true ) );
     345
     346        if ( isset( $taxonomies['post_format'] ) ) {
     347            unset( $taxonomies['post_format'] );
     348        }
     349
     350        /**
     351         * Filter the post types for which Admin Columns is active
     352         *
     353         * @since 2.0
     354         * @param array $post_types List of active post type names
     355         */
     356        return apply_filters( 'cac/taxonomies', $taxonomies );
     357    }
     358
     359    /**
    318360     * Add a settings link to the Admin Columns entry in the plugin overview screen
    319361     *
     
    321363     * @see filter:plugin_action_links
    322364     */
    323     function add_settings_link( $links, $file ) {
     365    public function add_settings_link( $links, $file ) {
    324366
    325367        if ( $file != plugin_basename( __FILE__ ) ) {
     
    340382     * @return string
    341383     */
    342     function admin_class( $classes ) {
     384    public function admin_class( $classes ) {
    343385
    344386        if ( $storage_model = $this->get_current_storage_model() ) {
     
    354396     * @since 1.4.0
    355397     */
    356     function admin_scripts() {
     398    public function admin_scripts() {
    357399
    358400        $css_column_width   = '';
     
    362404            foreach ( $this->storage_models as $storage_model ) {
    363405
    364                 if ( ! $storage_model->is_columns_screen() )
     406                if ( ! $storage_model->is_columns_screen() ) {
    365407                    continue;
     408                }
    366409
    367410                // CSS: columns width
     
    371414                        if ( ! empty( $options['width'] ) && is_numeric( $options['width'] ) && $options['width'] > 0 ) {
    372415                            $css_column_width .= ".cp-{$storage_model->key} .wrap table th.column-{$name} { width: {$options['width']}% !important; }";
     416                        }
     417
     418                        // Load custom column scripts, used by 3rd party columns
     419                        if ( $column = $storage_model->get_column_by_name( $name ) ) {
     420                            $column->scripts();
    373421                        }
    374422                    }
     
    403451     *
    404452     * @since 2.2
    405      * @return bool Returns true if in an AJAX request, false otherwise
    406      */
    407     function is_doing_ajax() {
    408 
    409         if ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) {
    410             return false;
    411         }
    412 
    413         if ( ( isset( $_POST['action'] ) && 'inline-save' === $_POST['action'] ) ) {
    414             return true;
    415         }
    416 
    417         if ( ( isset( $_POST['plugin_id'] ) && 'cpac' == $_POST['plugin_id'] ) || ( isset( $_GET['plugin_id'] ) && 'cpac' == $_GET['plugin_id'] ) ) {
    418             return true;
    419         }
    420 
    421         return false;
     453     * @return bool Returns true if in an AJAX request, false otherwise
     454     */
     455    public function is_doing_ajax() {
     456
     457        return cac_is_doing_ajax();
    422458    }
    423459
     
    426462     *
    427463     * @since 2.2
    428     * @return bool Returns true if the current screen is a columns screen, false otherwise
    429      */
    430     function is_columns_screen() {
     464    * @return bool Returns true if the current screen is a columns screen, false otherwise
     465     */
     466    public function is_columns_screen() {
    431467
    432468        global $pagenow;
     
    452488     * @return bool True if the current screen is the settings screen, false otherwise
    453489     */
    454     function is_settings_screen() {
     490    public function is_settings_screen() {
    455491
    456492        global $pagenow;
     
    470506     * @return bool Whether the current screen is an Admin Columns screen
    471507     */
    472     function is_cac_screen() {
     508    public function is_cac_screen() {
    473509
    474510        /**
  • codepress-admin-columns/trunk/external/qtip2/jquery.qtip.css

    r1079055 r1103918  
    77 * http://jquery.org/license
    88 *
    9  * Date: Sun Sep 7 2014 10:41 EDT-0400
    10  * Plugins: viewport
     9 * Date: Mon Sep 8 2014 05:43 EDT-0400
     10 * Plugins: tips
    1111 * Styles: core css3
    1212 */
     
    452452    -ms-filter: none;
    453453}
     454
     455
     456.qtip .qtip-tip{
     457    margin: 0 auto;
     458    overflow: hidden;
     459    z-index: 10;
     460
     461}
     462
     463    /* Opera bug #357 - Incorrect tip position
     464    https://github.com/Craga89/qTip2/issues/367 */
     465    x:-o-prefocus, .qtip .qtip-tip{
     466        visibility: hidden;
     467    }
     468
     469    .qtip .qtip-tip,
     470    .qtip .qtip-tip .qtip-vml,
     471    .qtip .qtip-tip canvas{
     472        position: absolute;
     473
     474        color: #123456;
     475        background: transparent;
     476        border: 0 dashed transparent;
     477    }
     478
     479    .qtip .qtip-tip canvas{ top: 0; left: 0; }
     480
     481    .qtip .qtip-tip .qtip-vml{
     482        behavior: url(#default#VML);
     483        display: inline-block;
     484        visibility: visible;
     485    }
  • codepress-admin-columns/trunk/external/qtip2/jquery.qtip.js

    r1079055 r1103918  
    77 * http://jquery.org/license
    88 *
    9  * Date: Sun Sep 7 2014 10:41 EDT-0400
    10  * Plugins: viewport
     9 * Date: Mon Sep 8 2014 05:43 EDT-0400
     10 * Plugins: tips
    1111 * Styles: core css3
    1212 */
     
    19981998    }
    19991999};
    2000 ;PLUGINS.viewport = function(api, position, posOptions, targetWidth, targetHeight, elemWidth, elemHeight)
    2001 {
    2002     var target = posOptions.target,
    2003         tooltip = api.elements.tooltip,
    2004         my = posOptions.my,
    2005         at = posOptions.at,
    2006         adjust = posOptions.adjust,
    2007         method = adjust.method.split(' '),
    2008         methodX = method[0],
    2009         methodY = method[1] || method[0],
    2010         viewport = posOptions.viewport,
    2011         container = posOptions.container,
    2012         cache = api.cache,
    2013         adjusted = { left: 0, top: 0 },
    2014         fixed, newMy, containerOffset, containerStatic,
    2015         viewportWidth, viewportHeight, viewportScroll, viewportOffset;
    2016 
    2017     // If viewport is not a jQuery element, or it's the window/document, or no adjustment method is used... return
    2018     if(!viewport.jquery || target[0] === window || target[0] === document.body || adjust.method === 'none') {
    2019         return adjusted;
    2020     }
    2021 
    2022     // Cach container details
    2023     containerOffset = container.offset() || adjusted;
    2024     containerStatic = container.css('position') === 'static';
    2025 
    2026     // Cache our viewport details
    2027     fixed = tooltip.css('position') === 'fixed';
    2028     viewportWidth = viewport[0] === window ? viewport.width() : viewport.outerWidth(FALSE);
    2029     viewportHeight = viewport[0] === window ? viewport.height() : viewport.outerHeight(FALSE);
    2030     viewportScroll = { left: fixed ? 0 : viewport.scrollLeft(), top: fixed ? 0 : viewport.scrollTop() };
    2031     viewportOffset = viewport.offset() || adjusted;
    2032 
    2033     // Generic calculation method
    2034     function calculate(side, otherSide, type, adjust, side1, side2, lengthName, targetLength, elemLength) {
    2035         var initialPos = position[side1],
    2036             mySide = my[side],
    2037             atSide = at[side],
    2038             isShift = type === SHIFT,
    2039             myLength = mySide === side1 ? elemLength : mySide === side2 ? -elemLength : -elemLength / 2,
    2040             atLength = atSide === side1 ? targetLength : atSide === side2 ? -targetLength : -targetLength / 2,
    2041             sideOffset = viewportScroll[side1] + viewportOffset[side1] - (containerStatic ? 0 : containerOffset[side1]),
    2042             overflow1 = sideOffset - initialPos,
    2043             overflow2 = initialPos + elemLength - (lengthName === WIDTH ? viewportWidth : viewportHeight) - sideOffset,
    2044             offset = myLength - (my.precedance === side || mySide === my[otherSide] ? atLength : 0) - (atSide === CENTER ? targetLength / 2 : 0);
    2045 
    2046         // shift
    2047         if(isShift) {
    2048             offset = (mySide === side1 ? 1 : -1) * myLength;
    2049 
    2050             // Adjust position but keep it within viewport dimensions
    2051             position[side1] += overflow1 > 0 ? overflow1 : overflow2 > 0 ? -overflow2 : 0;
    2052             position[side1] = Math.max(
    2053                 -containerOffset[side1] + viewportOffset[side1],
    2054                 initialPos - offset,
    2055                 Math.min(
    2056                     Math.max(
    2057                         -containerOffset[side1] + viewportOffset[side1] + (lengthName === WIDTH ? viewportWidth : viewportHeight),
    2058                         initialPos + offset
    2059                     ),
    2060                     position[side1],
    2061 
    2062                     // Make sure we don't adjust complete off the element when using 'center'
    2063                     mySide === 'center' ? initialPos - myLength : 1E9
    2064                 )
    2065             );
    2066 
    2067         }
    2068 
    2069         // flip/flipinvert
     2000;var TIP,
     2001
     2002// .bind()/.on() namespace
     2003TIPNS = '.qtip-tip',
     2004
     2005// Common CSS strings
     2006MARGIN = 'margin',
     2007BORDER = 'border',
     2008COLOR = 'color',
     2009BG_COLOR = 'background-color',
     2010TRANSPARENT = 'transparent',
     2011IMPORTANT = ' !important',
     2012
     2013// Check if the browser supports <canvas/> elements
     2014HASCANVAS = !!document.createElement('canvas').getContext,
     2015
     2016// Invalid colour values used in parseColours()
     2017INVALID = /rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i;
     2018
     2019// Camel-case method, taken from jQuery source
     2020// http://code.jquery.com/jquery-1.8.0.js
     2021function camel(s) { return s.charAt(0).toUpperCase() + s.slice(1); }
     2022
     2023/*
     2024 * Modified from Modernizr's testPropsAll()
     2025 * http://modernizr.com/downloads/modernizr-latest.js
     2026 */
     2027var cssProps = {}, cssPrefixes = ["Webkit", "O", "Moz", "ms"];
     2028function vendorCss(elem, prop) {
     2029    var ucProp = prop.charAt(0).toUpperCase() + prop.slice(1),
     2030        props = (prop + ' ' + cssPrefixes.join(ucProp + ' ') + ucProp).split(' '),
     2031        cur, val, i = 0;
     2032
     2033    // If the property has already been mapped...
     2034    if(cssProps[prop]) { return elem.css(cssProps[prop]); }
     2035
     2036    while((cur = props[i++])) {
     2037        if((val = elem.css(cur)) !== undefined) {
     2038            return cssProps[prop] = cur, val;
     2039        }
     2040    }
     2041}
     2042
     2043// Parse a given elements CSS property into an int
     2044function intCss(elem, prop) {
     2045    return Math.ceil(parseFloat(vendorCss(elem, prop)));
     2046}
     2047
     2048
     2049// VML creation (for IE only)
     2050if(!HASCANVAS) {
     2051    var createVML = function(tag, props, style) {
     2052        return '<qtipvml:'+tag+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(props||'')+
     2053            ' style="behavior: url(#default#VML); '+(style||'')+ '" />';
     2054    };
     2055}
     2056
     2057// Canvas only definitions
     2058else {
     2059    var PIXEL_RATIO = window.devicePixelRatio || 1,
     2060        BACKING_STORE_RATIO = (function() {
     2061            var context = document.createElement('canvas').getContext('2d');
     2062            return context.backingStorePixelRatio || context.webkitBackingStorePixelRatio || context.mozBackingStorePixelRatio ||
     2063                    context.msBackingStorePixelRatio || context.oBackingStorePixelRatio || 1;
     2064        }()),
     2065        SCALE = PIXEL_RATIO / BACKING_STORE_RATIO;
     2066}
     2067
     2068
     2069function Tip(qtip, options) {
     2070    this._ns = 'tip';
     2071    this.options = options;
     2072    this.offset = options.offset;
     2073    this.size = [ options.width, options.height ];
     2074
     2075    // Initialize
     2076    this.init( (this.qtip = qtip) );
     2077}
     2078
     2079$.extend(Tip.prototype, {
     2080    init: function(qtip) {
     2081        var context, tip;
     2082
     2083        // Create tip element and prepend to the tooltip
     2084        tip = this.element = qtip.elements.tip = $('<div />', { 'class': NAMESPACE+'-tip' }).prependTo(qtip.tooltip);
     2085
     2086        // Create tip drawing element(s)
     2087        if(HASCANVAS) {
     2088            // save() as soon as we create the canvas element so FF2 doesn't bork on our first restore()!
     2089            context = $('<canvas />').appendTo(this.element)[0].getContext('2d');
     2090
     2091            // Setup constant parameters
     2092            context.lineJoin = 'miter';
     2093            context.miterLimit = 100000;
     2094            context.save();
     2095        }
    20702096        else {
    2071             // Update adjustment amount depending on if using flipinvert or flip
    2072             adjust *= (type === FLIPINVERT ? 2 : 0);
    2073 
    2074             // Check for overflow on the left/top
    2075             if(overflow1 > 0 && (mySide !== side1 || overflow2 > 0)) {
    2076                 position[side1] -= offset + adjust;
    2077                 newMy.invert(side, side1);
    2078             }
    2079 
    2080             // Check for overflow on the bottom/right
    2081             else if(overflow2 > 0 && (mySide !== side2 || overflow1 > 0)  ) {
    2082                 position[side1] -= (mySide === CENTER ? -offset : offset) + adjust;
    2083                 newMy.invert(side, side2);
    2084             }
    2085 
    2086             // Make sure we haven't made things worse with the adjustment and reset if so
    2087             if(position[side1] < viewportScroll && -position[side1] > overflow2) {
    2088                 position[side1] = initialPos; newMy = my.clone();
    2089             }
    2090         }
    2091 
    2092         return position[side1] - initialPos;
    2093     }
    2094 
    2095     // Set newMy if using flip or flipinvert methods
    2096     if(methodX !== 'shift' || methodY !== 'shift') { newMy = my.clone(); }
    2097 
    2098     // Adjust position based onviewport and adjustment options
    2099     adjusted = {
    2100         left: methodX !== 'none' ? calculate( X, Y, methodX, adjust.x, LEFT, RIGHT, WIDTH, targetWidth, elemWidth ) : 0,
    2101         top: methodY !== 'none' ? calculate( Y, X, methodY, adjust.y, TOP, BOTTOM, HEIGHT, targetHeight, elemHeight ) : 0,
    2102         my: newMy
    2103     };
    2104 
    2105     return adjusted;
    2106 };
     2097            context = createVML('shape', 'coordorigin="0,0"', 'position:absolute;');
     2098            this.element.html(context + context);
     2099
     2100            // Prevent mousing down on the tip since it causes problems with .live() handling in IE due to VML
     2101            qtip._bind( $('*', tip).add(tip), ['click', 'mousedown'], function(event) { event.stopPropagation(); }, this._ns);
     2102        }
     2103
     2104        // Bind update events
     2105        qtip._bind(qtip.tooltip, 'tooltipmove', this.reposition, this._ns, this);
     2106
     2107        // Create it
     2108        this.create();
     2109    },
     2110
     2111    _swapDimensions: function() {
     2112        this.size[0] = this.options.height;
     2113        this.size[1] = this.options.width;
     2114    },
     2115    _resetDimensions: function() {
     2116        this.size[0] = this.options.width;
     2117        this.size[1] = this.options.height;
     2118    },
     2119
     2120    _useTitle: function(corner) {
     2121        var titlebar = this.qtip.elements.titlebar;
     2122        return titlebar && (
     2123            corner.y === TOP || (corner.y === CENTER && this.element.position().top + (this.size[1] / 2) + this.options.offset < titlebar.outerHeight(TRUE))
     2124        );
     2125    },
     2126
     2127    _parseCorner: function(corner) {
     2128        var my = this.qtip.options.position.my;
     2129
     2130        // Detect corner and mimic properties
     2131        if(corner === FALSE || my === FALSE) {
     2132            corner = FALSE;
     2133        }
     2134        else if(corner === TRUE) {
     2135            corner = new CORNER( my.string() );
     2136        }
     2137        else if(!corner.string) {
     2138            corner = new CORNER(corner);
     2139            corner.fixed = TRUE;
     2140        }
     2141
     2142        return corner;
     2143    },
     2144
     2145    _parseWidth: function(corner, side, use) {
     2146        var elements = this.qtip.elements,
     2147            prop = BORDER + camel(side) + 'Width';
     2148
     2149        return (use ? intCss(use, prop) : (
     2150            intCss(elements.content, prop) ||
     2151            intCss(this._useTitle(corner) && elements.titlebar || elements.content, prop) ||
     2152            intCss(elements.tooltip, prop)
     2153        )) || 0;
     2154    },
     2155
     2156    _parseRadius: function(corner) {
     2157        var elements = this.qtip.elements,
     2158            prop = BORDER + camel(corner.y) + camel(corner.x) + 'Radius';
     2159
     2160        return BROWSER.ie < 9 ? 0 :
     2161            intCss(this._useTitle(corner) && elements.titlebar || elements.content, prop) ||
     2162            intCss(elements.tooltip, prop) || 0;
     2163    },
     2164
     2165    _invalidColour: function(elem, prop, compare) {
     2166        var val = elem.css(prop);
     2167        return !val || (compare && val === elem.css(compare)) || INVALID.test(val) ? FALSE : val;
     2168    },
     2169
     2170    _parseColours: function(corner) {
     2171        var elements = this.qtip.elements,
     2172            tip = this.element.css('cssText', ''),
     2173            borderSide = BORDER + camel(corner[ corner.precedance ]) + camel(COLOR),
     2174            colorElem = this._useTitle(corner) && elements.titlebar || elements.content,
     2175            css = this._invalidColour, color = [];
     2176
     2177        // Attempt to detect the background colour from various elements, left-to-right precedance
     2178        color[0] = css(tip, BG_COLOR) || css(colorElem, BG_COLOR) || css(elements.content, BG_COLOR) ||
     2179            css(elements.tooltip, BG_COLOR) || tip.css(BG_COLOR);
     2180
     2181        // Attempt to detect the correct border side colour from various elements, left-to-right precedance
     2182        color[1] = css(tip, borderSide, COLOR) || css(colorElem, borderSide, COLOR) ||
     2183            css(elements.content, borderSide, COLOR) || css(elements.tooltip, borderSide, COLOR) || elements.tooltip.css(borderSide);
     2184
     2185        // Reset background and border colours
     2186        $('*', tip).add(tip).css('cssText', BG_COLOR+':'+TRANSPARENT+IMPORTANT+';'+BORDER+':0'+IMPORTANT+';');
     2187
     2188        return color;
     2189    },
     2190
     2191    _calculateSize: function(corner) {
     2192        var y = corner.precedance === Y,
     2193            width = this.options['width'],
     2194            height = this.options['height'],
     2195            isCenter = corner.abbrev() === 'c',
     2196            base = (y ? width: height) * (isCenter ? 0.5 : 1),
     2197            pow = Math.pow,
     2198            round = Math.round,
     2199            bigHyp, ratio, result,
     2200
     2201        smallHyp = Math.sqrt( pow(base, 2) + pow(height, 2) ),
     2202        hyp = [ (this.border / base) * smallHyp, (this.border / height) * smallHyp ];
     2203
     2204        hyp[2] = Math.sqrt( pow(hyp[0], 2) - pow(this.border, 2) );
     2205        hyp[3] = Math.sqrt( pow(hyp[1], 2) - pow(this.border, 2) );
     2206
     2207        bigHyp = smallHyp + hyp[2] + hyp[3] + (isCenter ? 0 : hyp[0]);
     2208        ratio = bigHyp / smallHyp;
     2209
     2210        result = [ round(ratio * width), round(ratio * height) ];
     2211        return y ? result : result.reverse();
     2212    },
     2213
     2214    // Tip coordinates calculator
     2215    _calculateTip: function(corner, size, scale) {
     2216        scale = scale || 1;
     2217        size = size || this.size;
     2218
     2219        var width = size[0] * scale,
     2220            height = size[1] * scale,
     2221            width2 = Math.ceil(width / 2), height2 = Math.ceil(height / 2),
     2222
     2223        // Define tip coordinates in terms of height and width values
     2224        tips = {
     2225            br: [0,0,       width,height,   width,0],
     2226            bl: [0,0,       width,0,        0,height],
     2227            tr: [0,height,  width,0,        width,height],
     2228            tl: [0,0,       0,height,       width,height],
     2229            tc: [0,height,  width2,0,       width,height],
     2230            bc: [0,0,       width,0,        width2,height],
     2231            rc: [0,0,       width,height2,  0,height],
     2232            lc: [width,0,   width,height,   0,height2]
     2233        };
     2234
     2235        // Set common side shapes
     2236        tips.lt = tips.br; tips.rt = tips.bl;
     2237        tips.lb = tips.tr; tips.rb = tips.tl;
     2238
     2239        return tips[ corner.abbrev() ];
     2240    },
     2241
     2242    // Tip coordinates drawer (canvas)
     2243    _drawCoords: function(context, coords) {
     2244        context.beginPath();
     2245        context.moveTo(coords[0], coords[1]);
     2246        context.lineTo(coords[2], coords[3]);
     2247        context.lineTo(coords[4], coords[5]);
     2248        context.closePath();
     2249    },
     2250
     2251    create: function() {
     2252        // Determine tip corner
     2253        var c = this.corner = (HASCANVAS || BROWSER.ie) && this._parseCorner(this.options.corner);
     2254
     2255        // If we have a tip corner...
     2256        if( (this.enabled = !!this.corner && this.corner.abbrev() !== 'c') ) {
     2257            // Cache it
     2258            this.qtip.cache.corner = c.clone();
     2259
     2260            // Create it
     2261            this.update();
     2262        }
     2263
     2264        // Toggle tip element
     2265        this.element.toggle(this.enabled);
     2266
     2267        return this.corner;
     2268    },
     2269
     2270    update: function(corner, position) {
     2271        if(!this.enabled) { return this; }
     2272
     2273        var elements = this.qtip.elements,
     2274            tip = this.element,
     2275            inner = tip.children(),
     2276            options = this.options,
     2277            curSize = this.size,
     2278            mimic = options.mimic,
     2279            round = Math.round,
     2280            color, precedance, context,
     2281            coords, bigCoords, translate, newSize, border, BACKING_STORE_RATIO;
     2282
     2283        // Re-determine tip if not already set
     2284        if(!corner) { corner = this.qtip.cache.corner || this.corner; }
     2285
     2286        // Use corner property if we detect an invalid mimic value
     2287        if(mimic === FALSE) { mimic = corner; }
     2288
     2289        // Otherwise inherit mimic properties from the corner object as necessary
     2290        else {
     2291            mimic = new CORNER(mimic);
     2292            mimic.precedance = corner.precedance;
     2293
     2294            if(mimic.x === 'inherit') { mimic.x = corner.x; }
     2295            else if(mimic.y === 'inherit') { mimic.y = corner.y; }
     2296            else if(mimic.x === mimic.y) {
     2297                mimic[ corner.precedance ] = corner[ corner.precedance ];
     2298            }
     2299        }
     2300        precedance = mimic.precedance;
     2301
     2302        // Ensure the tip width.height are relative to the tip position
     2303        if(corner.precedance === X) { this._swapDimensions(); }
     2304        else { this._resetDimensions(); }
     2305
     2306        // Update our colours
     2307        color = this.color = this._parseColours(corner);
     2308
     2309        // Detect border width, taking into account colours
     2310        if(color[1] !== TRANSPARENT) {
     2311            // Grab border width
     2312            border = this.border = this._parseWidth(corner, corner[corner.precedance]);
     2313
     2314            // If border width isn't zero, use border color as fill if it's not invalid (1.0 style tips)
     2315            if(options.border && border < 1 && !INVALID.test(color[1])) { color[0] = color[1]; }
     2316
     2317            // Set border width (use detected border width if options.border is true)
     2318            this.border = border = options.border !== TRUE ? options.border : border;
     2319        }
     2320
     2321        // Border colour was invalid, set border to zero
     2322        else { this.border = border = 0; }
     2323
     2324        // Determine tip size
     2325        newSize = this.size = this._calculateSize(corner);
     2326        tip.css({
     2327            width: newSize[0],
     2328            height: newSize[1],
     2329            lineHeight: newSize[1]+'px'
     2330        });
     2331
     2332        // Calculate tip translation
     2333        if(corner.precedance === Y) {
     2334            translate = [
     2335                round(mimic.x === LEFT ? border : mimic.x === RIGHT ? newSize[0] - curSize[0] - border : (newSize[0] - curSize[0]) / 2),
     2336                round(mimic.y === TOP ? newSize[1] - curSize[1] : 0)
     2337            ];
     2338        }
     2339        else {
     2340            translate = [
     2341                round(mimic.x === LEFT ? newSize[0] - curSize[0] : 0),
     2342                round(mimic.y === TOP ? border : mimic.y === BOTTOM ? newSize[1] - curSize[1] - border : (newSize[1] - curSize[1]) / 2)
     2343            ];
     2344        }
     2345
     2346        // Canvas drawing implementation
     2347        if(HASCANVAS) {
     2348            // Grab canvas context and clear/save it
     2349            context = inner[0].getContext('2d');
     2350            context.restore(); context.save();
     2351            context.clearRect(0,0,6000,6000);
     2352
     2353            // Calculate coordinates
     2354            coords = this._calculateTip(mimic, curSize, SCALE);
     2355            bigCoords = this._calculateTip(mimic, this.size, SCALE);
     2356
     2357            // Set the canvas size using calculated size
     2358            inner.attr(WIDTH, newSize[0] * SCALE).attr(HEIGHT, newSize[1] * SCALE);
     2359            inner.css(WIDTH, newSize[0]).css(HEIGHT, newSize[1]);
     2360
     2361            // Draw the outer-stroke tip
     2362            this._drawCoords(context, bigCoords);
     2363            context.fillStyle = color[1];
     2364            context.fill();
     2365
     2366            // Draw the actual tip
     2367            context.translate(translate[0] * SCALE, translate[1] * SCALE);
     2368            this._drawCoords(context, coords);
     2369            context.fillStyle = color[0];
     2370            context.fill();
     2371        }
     2372
     2373        // VML (IE Proprietary implementation)
     2374        else {
     2375            // Calculate coordinates
     2376            coords = this._calculateTip(mimic);
     2377
     2378            // Setup coordinates string
     2379            coords = 'm' + coords[0] + ',' + coords[1] + ' l' + coords[2] +
     2380                ',' + coords[3] + ' ' + coords[4] + ',' + coords[5] + ' xe';
     2381
     2382            // Setup VML-specific offset for pixel-perfection
     2383            translate[2] = border && /^(r|b)/i.test(corner.string()) ?
     2384                BROWSER.ie === 8 ? 2 : 1 : 0;
     2385
     2386            // Set initial CSS
     2387            inner.css({
     2388                coordsize: (newSize[0]+border) + ' ' + (newSize[1]+border),
     2389                antialias: ''+(mimic.string().indexOf(CENTER) > -1),
     2390                left: translate[0] - (translate[2] * Number(precedance === X)),
     2391                top: translate[1] - (translate[2] * Number(precedance === Y)),
     2392                width: newSize[0] + border,
     2393                height: newSize[1] + border
     2394            })
     2395            .each(function(i) {
     2396                var $this = $(this);
     2397
     2398                // Set shape specific attributes
     2399                $this[ $this.prop ? 'prop' : 'attr' ]({
     2400                    coordsize: (newSize[0]+border) + ' ' + (newSize[1]+border),
     2401                    path: coords,
     2402                    fillcolor: color[0],
     2403                    filled: !!i,
     2404                    stroked: !i
     2405                })
     2406                .toggle(!!(border || i));
     2407
     2408                // Check if border is enabled and add stroke element
     2409                !i && $this.html( createVML(
     2410                    'stroke', 'weight="'+(border*2)+'px" color="'+color[1]+'" miterlimit="1000" joinstyle="miter"'
     2411                ) );
     2412            });
     2413        }
     2414
     2415        // Opera bug #357 - Incorrect tip position
     2416        // https://github.com/Craga89/qTip2/issues/367
     2417        window.opera && setTimeout(function() {
     2418            elements.tip.css({
     2419                display: 'inline-block',
     2420                visibility: 'visible'
     2421            });
     2422        }, 1);
     2423
     2424        // Position if needed
     2425        if(position !== FALSE) { this.calculate(corner, newSize); }
     2426    },
     2427
     2428    calculate: function(corner, size) {
     2429        if(!this.enabled) { return FALSE; }
     2430
     2431        var self = this,
     2432            elements = this.qtip.elements,
     2433            tip = this.element,
     2434            userOffset = this.options.offset,
     2435            isWidget = elements.tooltip.hasClass('ui-widget'),
     2436            position = {  },
     2437            precedance, corners;
     2438
     2439        // Inherit corner if not provided
     2440        corner = corner || this.corner;
     2441        precedance = corner.precedance;
     2442
     2443        // Determine which tip dimension to use for adjustment
     2444        size = size || this._calculateSize(corner);
     2445
     2446        // Setup corners and offset array
     2447        corners = [ corner.x, corner.y ];
     2448        if(precedance === X) { corners.reverse(); }
     2449
     2450        // Calculate tip position
     2451        $.each(corners, function(i, side) {
     2452            var b, bc, br;
     2453
     2454            if(side === CENTER) {
     2455                b = precedance === Y ? LEFT : TOP;
     2456                position[ b ] = '50%';
     2457                position[MARGIN+'-' + b] = -Math.round(size[ precedance === Y ? 0 : 1 ] / 2) + userOffset;
     2458            }
     2459            else {
     2460                b = self._parseWidth(corner, side, elements.tooltip);
     2461                bc = self._parseWidth(corner, side, elements.content);
     2462                br = self._parseRadius(corner);
     2463
     2464                position[ side ] = Math.max(-self.border, i ? bc : (userOffset + (br > b ? br : -b)));
     2465            }
     2466        });
     2467
     2468        // Adjust for tip size
     2469        position[ corner[precedance] ] -= size[ precedance === X ? 0 : 1 ];
     2470
     2471        // Set and return new position
     2472        tip.css({ margin: '', top: '', bottom: '', left: '', right: '' }).css(position);
     2473        return position;
     2474    },
     2475
     2476    reposition: function(event, api, pos, viewport) {
     2477        if(!this.enabled) { return; }
     2478
     2479        var cache = api.cache,
     2480            newCorner = this.corner.clone(),
     2481            adjust = pos.adjusted,
     2482            method = api.options.position.adjust.method.split(' '),
     2483            horizontal = method[0],
     2484            vertical = method[1] || method[0],
     2485            shift = { left: FALSE, top: FALSE, x: 0, y: 0 },
     2486            offset, css = {}, props;
     2487
     2488        function shiftflip(direction, precedance, popposite, side, opposite) {
     2489            // Horizontal - Shift or flip method
     2490            if(direction === SHIFT && newCorner.precedance === precedance && adjust[side] && newCorner[popposite] !== CENTER) {
     2491                newCorner.precedance = newCorner.precedance === X ? Y : X;
     2492            }
     2493            else if(direction !== SHIFT && adjust[side]){
     2494                newCorner[precedance] = newCorner[precedance] === CENTER ?
     2495                    (adjust[side] > 0 ? side : opposite) : (newCorner[precedance] === side ? opposite : side);
     2496            }
     2497        }
     2498
     2499        function shiftonly(xy, side, opposite) {
     2500            if(newCorner[xy] === CENTER) {
     2501                css[MARGIN+'-'+side] = shift[xy] = offset[MARGIN+'-'+side] - adjust[side];
     2502            }
     2503            else {
     2504                props = offset[opposite] !== undefined ?
     2505                    [ adjust[side], -offset[side] ] : [ -adjust[side], offset[side] ];
     2506
     2507                if( (shift[xy] = Math.max(props[0], props[1])) > props[0] ) {
     2508                    pos[side] -= adjust[side];
     2509                    shift[side] = FALSE;
     2510                }
     2511
     2512                css[ offset[opposite] !== undefined ? opposite : side ] = shift[xy];
     2513            }
     2514        }
     2515
     2516        // If our tip position isn't fixed e.g. doesn't adjust with viewport...
     2517        if(this.corner.fixed !== TRUE) {
     2518            // Perform shift/flip adjustments
     2519            shiftflip(horizontal, X, Y, LEFT, RIGHT);
     2520            shiftflip(vertical, Y, X, TOP, BOTTOM);
     2521
     2522            // Update and redraw the tip if needed (check cached details of last drawn tip)
     2523            if(newCorner.string() !== cache.corner.string() || cache.cornerTop !== adjust.top || cache.cornerLeft !== adjust.left) {
     2524                this.update(newCorner, FALSE);
     2525            }
     2526        }
     2527
     2528        // Setup tip offset properties
     2529        offset = this.calculate(newCorner);
     2530
     2531        // Readjust offset object to make it left/top
     2532        if(offset.right !== undefined) { offset.left = -offset.right; }
     2533        if(offset.bottom !== undefined) { offset.top = -offset.bottom; }
     2534        offset.user = this.offset;
     2535
     2536        // Perform shift adjustments
     2537        if(shift.left = (horizontal === SHIFT && !!adjust.left)) { shiftonly(X, LEFT, RIGHT); }
     2538        if(shift.top = (vertical === SHIFT && !!adjust.top)) { shiftonly(Y, TOP, BOTTOM); }
     2539
     2540        /*
     2541        * If the tip is adjusted in both dimensions, or in a
     2542        * direction that would cause it to be anywhere but the
     2543        * outer border, hide it!
     2544        */
     2545        this.element.css(css).toggle(
     2546            !((shift.x && shift.y) || (newCorner.x === CENTER && shift.y) || (newCorner.y === CENTER && shift.x))
     2547        );
     2548
     2549        // Adjust position to accomodate tip dimensions
     2550        pos.left -= offset.left.charAt ? offset.user :
     2551            horizontal !== SHIFT || shift.top || !shift.left && !shift.top ? offset.left + this.border : 0;
     2552        pos.top -= offset.top.charAt ? offset.user :
     2553            vertical !== SHIFT || shift.left || !shift.left && !shift.top ? offset.top + this.border : 0;
     2554
     2555        // Cache details
     2556        cache.cornerLeft = adjust.left; cache.cornerTop = adjust.top;
     2557        cache.corner = newCorner.clone();
     2558    },
     2559
     2560    destroy: function() {
     2561        // Unbind events
     2562        this.qtip._unbind(this.qtip.tooltip, this._ns);
     2563
     2564        // Remove the tip element(s)
     2565        if(this.qtip.elements.tip) {
     2566            this.qtip.elements.tip.find('*')
     2567                .remove().end().remove();
     2568        }
     2569    }
     2570});
     2571
     2572TIP = PLUGINS.tip = function(api) {
     2573    return new Tip(api, api.options.style.tip);
     2574};
     2575
     2576// Initialize tip on render
     2577TIP.initialize = 'render';
     2578
     2579// Setup plugin sanitization options
     2580TIP.sanitize = function(options) {
     2581    if(options.style && 'tip' in options.style) {
     2582        var opts = options.style.tip;
     2583        if(typeof opts !== 'object') { opts = options.style.tip = { corner: opts }; }
     2584        if(!(/string|boolean/i).test(typeof opts.corner)) { opts.corner = TRUE; }
     2585    }
     2586};
     2587
     2588// Add new option checks for the plugin
     2589CHECKS.tip = {
     2590    '^position.my|style.tip.(corner|mimic|border)$': function() {
     2591        // Make sure a tip can be drawn
     2592        this.create();
     2593
     2594        // Reposition the tooltip
     2595        this.qtip.reposition();
     2596    },
     2597    '^style.tip.(height|width)$': function(obj) {
     2598        // Re-set dimensions and redraw the tip
     2599        this.size = [ obj.width, obj.height ];
     2600        this.update();
     2601
     2602        // Reposition the tooltip
     2603        this.qtip.reposition();
     2604    },
     2605    '^content.title|style.(classes|widget)$': function() {
     2606        this.update();
     2607    }
     2608};
     2609
     2610// Extend original qTip defaults
     2611$.extend(TRUE, QTIP.defaults, {
     2612    style: {
     2613        tip: {
     2614            corner: TRUE,
     2615            mimic: FALSE,
     2616            width: 6,
     2617            height: 6,
     2618            border: TRUE,
     2619            offset: 0
     2620        }
     2621    }
     2622});
    21072623;}));
    21082624}( window, document ));
  • codepress-admin-columns/trunk/external/qtip2/jquery.qtip.min.css

    r1079055 r1103918  
    1 /* qTip2 v2.2.1 | Plugins: viewport | Styles: core css3 | qtip2.com | Licensed MIT | Sun Sep 07 2014 10:41:41 */
     1/* qTip2 v2.2.1 | Plugins: tips | Styles: core css3 | qtip2.com | Licensed MIT | Mon Sep 08 2014 17:43:50 */
    22
    3 .qtip{position:absolute;left:-28000px;top:-28000px;display:none;max-width:280px;min-width:50px;font-size:10.5px;line-height:12px;direction:ltr;box-shadow:none;padding:0}.qtip-content{position:relative;padding:5px 9px;overflow:hidden;text-align:left;word-wrap:break-word}.qtip-titlebar{position:relative;padding:5px 35px 5px 10px;overflow:hidden;border-width:0 0 1px;font-weight:700}.qtip-titlebar+.qtip-content{border-top-width:0!important}.qtip-close{position:absolute;right:-9px;top:-9px;z-index:11;cursor:pointer;outline:0;border:1px solid transparent}.qtip-titlebar .qtip-close{right:4px;top:50%;margin-top:-9px}* html .qtip-titlebar .qtip-close{top:16px}.qtip-icon .ui-icon,.qtip-titlebar .ui-icon{display:block;text-indent:-1000em;direction:ltr}.qtip-icon,.qtip-icon .ui-icon{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-decoration:none}.qtip-icon .ui-icon{width:18px;height:14px;line-height:14px;text-align:center;text-indent:0;font:400 bold 10px/13px Tahoma,sans-serif;color:inherit;background:-100em -100em no-repeat}.qtip-default{border:1px solid #F1D031;background-color:#FFFFA3;color:#555}.qtip-default .qtip-titlebar{background-color:#FFEF93}.qtip-default .qtip-icon{border-color:#CCC;background:#F1F1F1;color:#777}.qtip-default .qtip-titlebar .qtip-close{border-color:#AAA;color:#111}.qtip-shadow{-webkit-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);-moz-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);box-shadow:1px 1px 3px 1px rgba(0,0,0,.15)}.qtip-bootstrap,.qtip-rounded,.qtip-tipsy{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.qtip-rounded .qtip-titlebar{-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.qtip-youtube{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 3px #333;-moz-box-shadow:0 0 3px #333;box-shadow:0 0 3px #333;color:#fff;border:0 solid transparent;background:#4A4A4A;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#4A4A4A),color-stop(100%,#000));background-image:-webkit-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-moz-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-ms-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-o-linear-gradient(top,#4A4A4A 0,#000 100%)}.qtip-youtube .qtip-titlebar{background-color:transparent}.qtip-youtube .qtip-content{padding:.75em;font:12px arial,sans-serif;filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);-ms-filter:"progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#4a4a4a,EndColorStr=#000000);"}.qtip-youtube .qtip-icon{border-color:#222}.qtip-youtube .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-jtools{background:#232323;background:rgba(0,0,0,.7);background-image:-webkit-gradient(linear,left top,left bottom,from(#717171),to(#232323));background-image:-moz-linear-gradient(top,#717171,#232323);background-image:-webkit-linear-gradient(top,#717171,#232323);background-image:-ms-linear-gradient(top,#717171,#232323);background-image:-o-linear-gradient(top,#717171,#232323);border:2px solid #ddd;border:2px solid rgba(241,241,241,1);-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 12px #333;-moz-box-shadow:0 0 12px #333;box-shadow:0 0 12px #333}.qtip-jtools .qtip-titlebar{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A)"}.qtip-jtools .qtip-content{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323)"}.qtip-jtools .qtip-content,.qtip-jtools .qtip-titlebar{background:0 0;color:#fff;border:0 dashed transparent}.qtip-jtools .qtip-icon{border-color:#555}.qtip-jtools .qtip-titlebar .ui-state-hover{border-color:#333}.qtip-cluetip{-webkit-box-shadow:4px 4px 5px rgba(0,0,0,.4);-moz-box-shadow:4px 4px 5px rgba(0,0,0,.4);box-shadow:4px 4px 5px rgba(0,0,0,.4);background-color:#D9D9C2;color:#111;border:0 dashed transparent}.qtip-cluetip .qtip-titlebar{background-color:#87876A;color:#fff;border:0 dashed transparent}.qtip-cluetip .qtip-icon{border-color:#808064}.qtip-cluetip .qtip-titlebar .ui-state-hover{border-color:#696952;color:#696952}.qtip-tipsy{background:#000;background:rgba(0,0,0,.87);color:#fff;border:0 solid transparent;font-size:11px;font-family:'Lucida Grande',sans-serif;font-weight:700;line-height:16px;text-shadow:0 1px #000}.qtip-tipsy .qtip-titlebar{padding:6px 35px 0 10px;background-color:transparent}.qtip-tipsy .qtip-content{padding:6px 10px}.qtip-tipsy .qtip-icon{border-color:#222;text-shadow:none}.qtip-tipsy .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-tipped{border:3px solid #959FA9;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-color:#F9F9F9;color:#454545;font-weight:400;font-family:serif}.qtip-tipped .qtip-titlebar{border-bottom-width:0;color:#fff;background:#3A79B8;background-image:-webkit-gradient(linear,left top,left bottom,from(#3A79B8),to(#2E629D));background-image:-webkit-linear-gradient(top,#3A79B8,#2E629D);background-image:-moz-linear-gradient(top,#3A79B8,#2E629D);background-image:-ms-linear-gradient(top,#3A79B8,#2E629D);background-image:-o-linear-gradient(top,#3A79B8,#2E629D);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8,endColorstr=#2E629D)"}.qtip-tipped .qtip-icon{border:2px solid #285589;background:#285589}.qtip-tipped .qtip-icon .ui-icon{background-color:#FBFBFB;color:#555}.qtip-bootstrap{font-size:14px;line-height:20px;color:#333;padding:1px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.qtip-bootstrap .qtip-titlebar{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.qtip-bootstrap .qtip-titlebar .qtip-close{right:11px;top:45%;border-style:none}.qtip-bootstrap .qtip-content{padding:9px 14px}.qtip-bootstrap .qtip-icon{background:0 0}.qtip-bootstrap .qtip-icon .ui-icon{width:auto;height:auto;float:right;font-size:20px;font-weight:700;line-height:18px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.qtip-bootstrap .qtip-icon .ui-icon:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}.qtip:not(.ie9haxors) div.qtip-content,.qtip:not(.ie9haxors) div.qtip-titlebar{filter:none;-ms-filter:none}
     3.qtip{position:absolute;left:-28000px;top:-28000px;display:none;max-width:280px;min-width:50px;font-size:10.5px;line-height:12px;direction:ltr;box-shadow:none;padding:0}.qtip-content{position:relative;padding:5px 9px;overflow:hidden;text-align:left;word-wrap:break-word}.qtip-titlebar{position:relative;padding:5px 35px 5px 10px;overflow:hidden;border-width:0 0 1px;font-weight:700}.qtip-titlebar+.qtip-content{border-top-width:0!important}.qtip-close{position:absolute;right:-9px;top:-9px;z-index:11;cursor:pointer;outline:0;border:1px solid transparent}.qtip-titlebar .qtip-close{right:4px;top:50%;margin-top:-9px}* html .qtip-titlebar .qtip-close{top:16px}.qtip-icon .ui-icon,.qtip-titlebar .ui-icon{display:block;text-indent:-1000em;direction:ltr}.qtip-icon,.qtip-icon .ui-icon{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-decoration:none}.qtip-icon .ui-icon{width:18px;height:14px;line-height:14px;text-align:center;text-indent:0;font:400 bold 10px/13px Tahoma,sans-serif;color:inherit;background:-100em -100em no-repeat}.qtip-default{border:1px solid #F1D031;background-color:#FFFFA3;color:#555}.qtip-default .qtip-titlebar{background-color:#FFEF93}.qtip-default .qtip-icon{border-color:#CCC;background:#F1F1F1;color:#777}.qtip-default .qtip-titlebar .qtip-close{border-color:#AAA;color:#111}.qtip-shadow{-webkit-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);-moz-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);box-shadow:1px 1px 3px 1px rgba(0,0,0,.15)}.qtip-bootstrap,.qtip-rounded,.qtip-tipsy{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.qtip-rounded .qtip-titlebar{-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.qtip-youtube{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 3px #333;-moz-box-shadow:0 0 3px #333;box-shadow:0 0 3px #333;color:#fff;border:0 solid transparent;background:#4A4A4A;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#4A4A4A),color-stop(100%,#000));background-image:-webkit-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-moz-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-ms-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-o-linear-gradient(top,#4A4A4A 0,#000 100%)}.qtip-youtube .qtip-titlebar{background-color:transparent}.qtip-youtube .qtip-content{padding:.75em;font:12px arial,sans-serif;filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);-ms-filter:"progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#4a4a4a,EndColorStr=#000000);"}.qtip-youtube .qtip-icon{border-color:#222}.qtip-youtube .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-jtools{background:#232323;background:rgba(0,0,0,.7);background-image:-webkit-gradient(linear,left top,left bottom,from(#717171),to(#232323));background-image:-moz-linear-gradient(top,#717171,#232323);background-image:-webkit-linear-gradient(top,#717171,#232323);background-image:-ms-linear-gradient(top,#717171,#232323);background-image:-o-linear-gradient(top,#717171,#232323);border:2px solid #ddd;border:2px solid rgba(241,241,241,1);-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 12px #333;-moz-box-shadow:0 0 12px #333;box-shadow:0 0 12px #333}.qtip-jtools .qtip-titlebar{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A)"}.qtip-jtools .qtip-content{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323)"}.qtip-jtools .qtip-content,.qtip-jtools .qtip-titlebar{background:0 0;color:#fff;border:0 dashed transparent}.qtip-jtools .qtip-icon{border-color:#555}.qtip-jtools .qtip-titlebar .ui-state-hover{border-color:#333}.qtip-cluetip{-webkit-box-shadow:4px 4px 5px rgba(0,0,0,.4);-moz-box-shadow:4px 4px 5px rgba(0,0,0,.4);box-shadow:4px 4px 5px rgba(0,0,0,.4);background-color:#D9D9C2;color:#111;border:0 dashed transparent}.qtip-cluetip .qtip-titlebar{background-color:#87876A;color:#fff;border:0 dashed transparent}.qtip-cluetip .qtip-icon{border-color:#808064}.qtip-cluetip .qtip-titlebar .ui-state-hover{border-color:#696952;color:#696952}.qtip-tipsy{background:#000;background:rgba(0,0,0,.87);color:#fff;border:0 solid transparent;font-size:11px;font-family:'Lucida Grande',sans-serif;font-weight:700;line-height:16px;text-shadow:0 1px #000}.qtip-tipsy .qtip-titlebar{padding:6px 35px 0 10px;background-color:transparent}.qtip-tipsy .qtip-content{padding:6px 10px}.qtip-tipsy .qtip-icon{border-color:#222;text-shadow:none}.qtip-tipsy .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-tipped{border:3px solid #959FA9;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-color:#F9F9F9;color:#454545;font-weight:400;font-family:serif}.qtip-tipped .qtip-titlebar{border-bottom-width:0;color:#fff;background:#3A79B8;background-image:-webkit-gradient(linear,left top,left bottom,from(#3A79B8),to(#2E629D));background-image:-webkit-linear-gradient(top,#3A79B8,#2E629D);background-image:-moz-linear-gradient(top,#3A79B8,#2E629D);background-image:-ms-linear-gradient(top,#3A79B8,#2E629D);background-image:-o-linear-gradient(top,#3A79B8,#2E629D);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8,endColorstr=#2E629D)"}.qtip-tipped .qtip-icon{border:2px solid #285589;background:#285589}.qtip-tipped .qtip-icon .ui-icon{background-color:#FBFBFB;color:#555}.qtip-bootstrap{font-size:14px;line-height:20px;color:#333;padding:1px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.qtip-bootstrap .qtip-titlebar{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.qtip-bootstrap .qtip-titlebar .qtip-close{right:11px;top:45%;border-style:none}.qtip-bootstrap .qtip-content{padding:9px 14px}.qtip-bootstrap .qtip-icon{background:0 0}.qtip-bootstrap .qtip-icon .ui-icon{width:auto;height:auto;float:right;font-size:20px;font-weight:700;line-height:18px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.qtip-bootstrap .qtip-icon .ui-icon:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}.qtip:not(.ie9haxors) div.qtip-content,.qtip:not(.ie9haxors) div.qtip-titlebar{filter:none;-ms-filter:none}.qtip .qtip-tip{margin:0 auto;overflow:hidden;z-index:10}.qtip .qtip-tip,x:-o-prefocus{visibility:hidden}.qtip .qtip-tip,.qtip .qtip-tip .qtip-vml,.qtip .qtip-tip canvas{position:absolute;color:#123456;background:0 0;border:0 dashed transparent}.qtip .qtip-tip canvas{top:0;left:0}.qtip .qtip-tip .qtip-vml{behavior:url(#default#VML);display:inline-block;visibility:visible}
  • codepress-admin-columns/trunk/external/qtip2/jquery.qtip.min.js

    r1079055 r1103918  
    1 /* qTip2 v2.2.1 | Plugins: viewport | Styles: core css3 | qtip2.com | Licensed MIT | Sun Sep 07 2014 10:41:40 */
     1/* qTip2 v2.2.1 | Plugins: tips | Styles: core css3 | qtip2.com | Licensed MIT | Mon Sep 08 2014 17:43:49 */
    22
    3 !function(a,b,c){!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):jQuery&&!jQuery.fn.qtip&&a(jQuery)}(function(d){"use strict";function e(a,b,c,e){this.id=c,this.target=a,this.tooltip=z,this.elements={target:a},this._id=M+"-"+c,this.timers={img:{}},this.options=b,this.plugins={},this.cache={event:{},target:d(),disabled:y,attr:e,onTooltip:y,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=y}function f(a){return a===z||"object"!==d.type(a)}function g(a){return!(d.isFunction(a)||a&&a.attr||a.length||"object"===d.type(a)&&(a.jquery||a.then))}function h(a){var b,c,e,h;return f(a)?y:(f(a.metadata)&&(a.metadata={type:a.metadata}),"content"in a&&(b=a.content,f(b)||b.jquery||b.done?b=a.content={text:c=g(b)?y:b}:c=b.text,"ajax"in b&&(e=b.ajax,h=e&&e.once!==y,delete b.ajax,b.text=function(a,b){var f=c||d(this).attr(b.options.content.attr)||"Loading...",g=d.ajax(d.extend({},e,{context:b})).then(e.success,z,e.error).then(function(a){return a&&h&&b.set("content.text",a),a},function(a,c,d){b.destroyed||0===a.status||b.set("content.text",c+": "+d)});return h?f:(b.set("content.text",f),g)}),"title"in b&&(d.isPlainObject(b.title)&&(b.button=b.title.button,b.title=b.title.text),g(b.title||y)&&(b.title=y))),"position"in a&&f(a.position)&&(a.position={my:a.position,at:a.position}),"show"in a&&f(a.show)&&(a.show=a.show.jquery?{target:a.show}:a.show===x?{ready:x}:{event:a.show}),"hide"in a&&f(a.hide)&&(a.hide=a.hide.jquery?{target:a.hide}:{event:a.hide}),"style"in a&&f(a.style)&&(a.style={classes:a.style}),d.each(L,function(){this.sanitize&&this.sanitize(a)}),a)}function i(a,b){for(var c,d=0,e=a,f=b.split(".");e=e[f[d++]];)d<f.length&&(c=e);return[c||a,f.pop()]}function j(a,b){var c,d,e;for(c in this.checks)for(d in this.checks[c])(e=new RegExp(d,"i").exec(a))&&(b.push(e),("builtin"===c||this.plugins[c])&&this.checks[c][d].apply(this.plugins[c]||this,b))}function k(a){return P.concat("").join(a?"-"+a+" ":" ")}function l(a,b){return b>0?setTimeout(d.proxy(a,this),b):void a.call(this)}function m(a){this.tooltip.hasClass(W)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=l.call(this,function(){this.toggle(x,a)},this.options.show.delay))}function n(a){if(!this.tooltip.hasClass(W)&&!this.destroyed){var b=d(a.relatedTarget),c=b.closest(Q)[0]===this.tooltip[0],e=b[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==b[0]&&"mouse"===this.options.position.target&&c||this.options.hide.fixed&&/mouse(out|leave|move)/.test(a.type)&&(c||e))try{a.preventDefault(),a.stopImmediatePropagation()}catch(f){}else this.timers.hide=l.call(this,function(){this.toggle(y,a)},this.options.hide.delay,this)}}function o(a){!this.tooltip.hasClass(W)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=l.call(this,function(){this.hide(a)},this.options.hide.inactive))}function p(a){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(a)}function q(a,c,e){d(b.body).delegate(a,(c.split?c:c.join("."+M+" "))+"."+M,function(){var a=s.api[d.attr(this,O)];a&&!a.disabled&&e.apply(a,arguments)})}function r(a,c,f){var g,i,j,k,l,m=d(b.body),n=a[0]===b?m:a,o=a.metadata?a.metadata(f.metadata):z,p="html5"===f.metadata.type&&o?o[f.metadata.name]:z,q=a.data(f.metadata.name||"qtipopts");try{q="string"==typeof q?d.parseJSON(q):q}catch(r){}if(k=d.extend(x,{},s.defaults,f,"object"==typeof q?h(q):z,h(p||o)),i=k.position,k.id=c,"boolean"==typeof k.content.text){if(j=a.attr(k.content.attr),k.content.attr===y||!j)return y;k.content.text=j}if(i.container.length||(i.container=m),i.target===y&&(i.target=n),k.show.target===y&&(k.show.target=n),k.show.solo===x&&(k.show.solo=i.container.closest("body")),k.hide.target===y&&(k.hide.target=n),k.position.viewport===x&&(k.position.viewport=i.container),i.container=i.container.eq(0),i.at=new u(i.at,x),i.my=new u(i.my),a.data(M))if(k.overwrite)a.qtip("destroy",!0);else if(k.overwrite===y)return y;return a.attr(N,c),k.suppress&&(l=a.attr("title"))&&a.removeAttr("title").attr(Y,l).attr("title",""),g=new e(a,k,c,!!j),a.data(M,g),g}var s,t,u,v,w,x=!0,y=!1,z=null,A="x",B="y",C="width",D="height",E="top",F="left",G="bottom",H="right",I="center",J="flipinvert",K="shift",L={},M="qtip",N="data-hasqtip",O="data-qtip-id",P=["ui-widget","ui-tooltip"],Q="."+M,R="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),S=M+"-fixed",T=M+"-default",U=M+"-focus",V=M+"-hover",W=M+"-disabled",X="_replacedByqTip",Y="oldtitle",Z={ie:function(){for(var a=4,c=b.createElement("div");(c.innerHTML="<!--[if gt IE "+a+"]><i></i><![endif]-->")&&c.getElementsByTagName("i")[0];a+=1);return a>4?a:0/0}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||y};t=e.prototype,t._when=function(a){return d.when.apply(d,a)},t.render=function(a){if(this.rendered||this.destroyed)return this;var b,c=this,e=this.options,f=this.cache,g=this.elements,h=e.content.text,i=e.content.title,j=e.content.button,k=e.position,l=("."+this._id+" ",[]);return d.attr(this.target[0],"aria-describedby",this._id),f.posClass=this._createPosClass((this.position={my:k.my,at:k.at}).my),this.tooltip=g.tooltip=b=d("<div/>",{id:this._id,"class":[M,T,e.style.classes,f.posClass].join(" "),width:e.style.width||"",height:e.style.height||"",tracking:"mouse"===k.target&&k.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":y,"aria-describedby":this._id+"-content","aria-hidden":x}).toggleClass(W,this.disabled).attr(O,this.id).data(M,this).appendTo(k.container).append(g.content=d("<div />",{"class":M+"-content",id:this._id+"-content","aria-atomic":x})),this.rendered=-1,this.positioning=x,i&&(this._createTitle(),d.isFunction(i)||l.push(this._updateTitle(i,y))),j&&this._createButton(),d.isFunction(h)||l.push(this._updateContent(h,y)),this.rendered=x,this._setWidget(),d.each(L,function(a){var b;"render"===this.initialize&&(b=this(c))&&(c.plugins[a]=b)}),this._unassignEvents(),this._assignEvents(),this._when(l).then(function(){c._trigger("render"),c.positioning=y,c.hiddenDuringWait||!e.show.ready&&!a||c.toggle(x,f.event,y),c.hiddenDuringWait=y}),s.api[this.id]=this,this},t.destroy=function(a){function b(){if(!this.destroyed){this.destroyed=x;var a,b=this.target,c=b.attr(Y);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),d.each(this.plugins,function(){this.destroy&&this.destroy()});for(a in this.timers)clearTimeout(this.timers[a]);b.removeData(M).removeAttr(O).removeAttr(N).removeAttr("aria-describedby"),this.options.suppress&&c&&b.attr("title",c).removeAttr(Y),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=z,delete s.api[this.id]}}return this.destroyed?this.target:(a===x&&"hide"!==this.triggering||!this.rendered?b.call(this):(this.tooltip.one("tooltiphidden",d.proxy(b,this)),!this.triggering&&this.hide()),this.target)},v=t.checks={builtin:{"^id$":function(a,b,c,e){var f=c===x?s.nextid:c,g=M+"-"+f;f!==y&&f.length>0&&!d("#"+g).length?(this._id=g,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):a[b]=e},"^prerender":function(a,b,c){c&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(a,b,c){this._updateContent(c)},"^content.attr$":function(a,b,c,d){this.options.content.text===this.target.attr(d)&&this._updateContent(this.target.attr(c))},"^content.title$":function(a,b,c){return c?(c&&!this.elements.title&&this._createTitle(),void this._updateTitle(c)):this._removeTitle()},"^content.button$":function(a,b,c){this._updateButton(c)},"^content.title.(text|button)$":function(a,b,c){this.set("content."+b,c)},"^position.(my|at)$":function(a,b,c){"string"==typeof c&&(this.position[b]=a[b]=new u(c,"at"===b))},"^position.container$":function(a,b,c){this.rendered&&this.tooltip.appendTo(c)},"^show.ready$":function(a,b,c){c&&(!this.rendered&&this.render(x)||this.toggle(x))},"^style.classes$":function(a,b,c,d){this.rendered&&this.tooltip.removeClass(d).addClass(c)},"^style.(width|height)":function(a,b,c){this.rendered&&this.tooltip.css(b,c)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(a,b,c){this.rendered&&this.tooltip.toggleClass(T,!!c)},"^events.(render|show|move|hide|focus|blur)$":function(a,b,c){this.rendered&&this.tooltip[(d.isFunction(c)?"":"un")+"bind"]("tooltip"+b,c)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(this.rendered){var a=this.options.position;this.tooltip.attr("tracking","mouse"===a.target&&a.adjust.mouse),this._unassignEvents(),this._assignEvents()}}}},t.get=function(a){if(this.destroyed)return this;var b=i(this.options,a.toLowerCase()),c=b[0][b[1]];return c.precedance?c.string():c};var $=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,_=/^prerender|show\.ready/i;t.set=function(a,b){if(this.destroyed)return this;{var c,e=this.rendered,f=y,g=this.options;this.checks}return"string"==typeof a?(c=a,a={},a[c]=b):a=d.extend({},a),d.each(a,function(b,c){if(e&&_.test(b))return void delete a[b];var h,j=i(g,b.toLowerCase());h=j[0][j[1]],j[0][j[1]]=c&&c.nodeType?d(c):c,f=$.test(b)||f,a[b]=[j[0],j[1],c,h]}),h(g),this.positioning=x,d.each(a,d.proxy(j,this)),this.positioning=y,this.rendered&&this.tooltip[0].offsetWidth>0&&f&&this.reposition("mouse"===g.position.target?z:this.cache.event),this},t._update=function(a,b){var c=this,e=this.cache;return this.rendered&&a?(d.isFunction(a)&&(a=a.call(this.elements.target,e.event,this)||""),d.isFunction(a.then)?(e.waiting=x,a.then(function(a){return e.waiting=y,c._update(a,b)},z,function(a){return c._update(a,b)})):a===y||!a&&""!==a?y:(a.jquery&&a.length>0?b.empty().append(a.css({display:"block",visibility:"visible"})):b.html(a),this._waitForContent(b).then(function(a){c.rendered&&c.tooltip[0].offsetWidth>0&&c.reposition(e.event,!a.length)}))):y},t._waitForContent=function(a){var b=this.cache;return b.waiting=x,(d.fn.imagesLoaded?a.imagesLoaded():d.Deferred().resolve([])).done(function(){b.waiting=y}).promise()},t._updateContent=function(a,b){this._update(a,this.elements.content,b)},t._updateTitle=function(a,b){this._update(a,this.elements.title,b)===y&&this._removeTitle(y)},t._createTitle=function(){var a=this.elements,b=this._id+"-title";a.titlebar&&this._removeTitle(),a.titlebar=d("<div />",{"class":M+"-titlebar "+(this.options.style.widget?k("header"):"")}).append(a.title=d("<div />",{id:b,"class":M+"-title","aria-atomic":x})).insertBefore(a.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(a){d(this).toggleClass("ui-state-active ui-state-focus","down"===a.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function(a){d(this).toggleClass("ui-state-hover","mouseover"===a.type)}),this.options.content.button&&this._createButton()},t._removeTitle=function(a){var b=this.elements;b.title&&(b.titlebar.remove(),b.titlebar=b.title=b.button=z,a!==y&&this.reposition())},t._createPosClass=function(a){return M+"-pos-"+(a||this.options.position.my).abbrev()},t.reposition=function(c,e){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=x;var f,g,h,i,j=this.cache,k=this.tooltip,l=this.options.position,m=l.target,n=l.my,o=l.at,p=l.viewport,q=l.container,r=l.adjust,s=r.method.split(" "),t=k.outerWidth(y),u=k.outerHeight(y),v=0,w=0,z=k.css("position"),A={left:0,top:0},B=k[0].offsetWidth>0,C=c&&"scroll"===c.type,D=d(a),J=q[0].ownerDocument,K=this.mouse;if(d.isArray(m)&&2===m.length)o={x:F,y:E},A={left:m[0],top:m[1]};else if("mouse"===m)o={x:F,y:E},(!r.mouse||this.options.hide.distance)&&j.origin&&j.origin.pageX?c=j.origin:!c||c&&("resize"===c.type||"scroll"===c.type)?c=j.event:K&&K.pageX&&(c=K),"static"!==z&&(A=q.offset()),J.body.offsetWidth!==(a.innerWidth||J.documentElement.clientWidth)&&(g=d(b.body).offset()),A={left:c.pageX-A.left+(g&&g.left||0),top:c.pageY-A.top+(g&&g.top||0)},r.mouse&&C&&K&&(A.left-=(K.scrollX||0)-D.scrollLeft(),A.top-=(K.scrollY||0)-D.scrollTop());else{if("event"===m?c&&c.target&&"scroll"!==c.type&&"resize"!==c.type?j.target=d(c.target):c.target||(j.target=this.elements.target):"event"!==m&&(j.target=d(m.jquery?m:this.elements.target)),m=j.target,m=d(m).eq(0),0===m.length)return this;m[0]===b||m[0]===a?(v=Z.iOS?a.innerWidth:m.width(),w=Z.iOS?a.innerHeight:m.height(),m[0]===a&&(A={top:(p||m).scrollTop(),left:(p||m).scrollLeft()})):L.imagemap&&m.is("area")?f=L.imagemap(this,m,o,L.viewport?s:y):L.svg&&m&&m[0].ownerSVGElement?f=L.svg(this,m,o,L.viewport?s:y):(v=m.outerWidth(y),w=m.outerHeight(y),A=m.offset()),f&&(v=f.width,w=f.height,g=f.offset,A=f.position),A=this.reposition.offset(m,A,q),(Z.iOS>3.1&&Z.iOS<4.1||Z.iOS>=4.3&&Z.iOS<4.33||!Z.iOS&&"fixed"===z)&&(A.left-=D.scrollLeft(),A.top-=D.scrollTop()),(!f||f&&f.adjustable!==y)&&(A.left+=o.x===H?v:o.x===I?v/2:0,A.top+=o.y===G?w:o.y===I?w/2:0)}return A.left+=r.x+(n.x===H?-t:n.x===I?-t/2:0),A.top+=r.y+(n.y===G?-u:n.y===I?-u/2:0),L.viewport?(h=A.adjusted=L.viewport(this,A,l,v,w,t,u),g&&h.left&&(A.left+=g.left),g&&h.top&&(A.top+=g.top),h.my&&(this.position.my=h.my)):A.adjusted={left:0,top:0},j.posClass!==(i=this._createPosClass(this.position.my))&&k.removeClass(j.posClass).addClass(j.posClass=i),this._trigger("move",[A,p.elem||p],c)?(delete A.adjusted,e===y||!B||isNaN(A.left)||isNaN(A.top)||"mouse"===m||!d.isFunction(l.effect)?k.css(A):d.isFunction(l.effect)&&(l.effect.call(k,this,d.extend({},A)),k.queue(function(a){d(this).css({opacity:"",height:""}),Z.ie&&this.style.removeAttribute("filter"),a()})),this.positioning=y,this):this},t.reposition.offset=function(a,c,e){function f(a,b){c.left+=b*a.scrollLeft(),c.top+=b*a.scrollTop()}if(!e[0])return c;var g,h,i,j,k=d(a[0].ownerDocument),l=!!Z.ie&&"CSS1Compat"!==b.compatMode,m=e[0];do"static"!==(h=d.css(m,"position"))&&("fixed"===h?(i=m.getBoundingClientRect(),f(k,-1)):(i=d(m).position(),i.left+=parseFloat(d.css(m,"borderLeftWidth"))||0,i.top+=parseFloat(d.css(m,"borderTopWidth"))||0),c.left-=i.left+(parseFloat(d.css(m,"marginLeft"))||0),c.top-=i.top+(parseFloat(d.css(m,"marginTop"))||0),g||"hidden"===(j=d.css(m,"overflow"))||"visible"===j||(g=d(m)));while(m=m.offsetParent);return g&&(g[0]!==k[0]||l)&&f(g,1),c};var ab=(u=t.reposition.Corner=function(a,b){a=(""+a).replace(/([A-Z])/," $1").replace(/middle/gi,I).toLowerCase(),this.x=(a.match(/left|right/i)||a.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(a.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!b;var c=a.charAt(0);this.precedance="t"===c||"b"===c?B:A}).prototype;ab.invert=function(a,b){this[a]=this[a]===F?H:this[a]===H?F:b||this[a]},ab.string=function(a){var b=this.x,c=this.y,d=b!==c?"center"===b||"center"!==c&&(this.precedance===B||this.forceY)?[c,b]:[b,c]:[b];return a!==!1?d.join(" "):d},ab.abbrev=function(){var a=this.string(!1);return a[0].charAt(0)+(a[1]&&a[1].charAt(0)||"")},ab.clone=function(){return new u(this.string(),this.forceY)},t.toggle=function(a,c){var e=this.cache,f=this.options,g=this.tooltip;if(c){if(/over|enter/.test(c.type)&&e.event&&/out|leave/.test(e.event.type)&&f.show.target.add(c.target).length===f.show.target.length&&g.has(c.relatedTarget).length)return this;e.event=d.event.fix(c)}if(this.waiting&&!a&&(this.hiddenDuringWait=x),!this.rendered)return a?this.render(1):this;if(this.destroyed||this.disabled)return this;var h,i,j,k=a?"show":"hide",l=this.options[k],m=(this.options[a?"hide":"show"],this.options.position),n=this.options.content,o=this.tooltip.css("width"),p=this.tooltip.is(":visible"),q=a||1===l.target.length,r=!c||l.target.length<2||e.target[0]===c.target;return(typeof a).search("boolean|number")&&(a=!p),h=!g.is(":animated")&&p===a&&r,i=h?z:!!this._trigger(k,[90]),this.destroyed?this:(i!==y&&a&&this.focus(c),!i||h?this:(d.attr(g[0],"aria-hidden",!a),a?(this.mouse&&(e.origin=d.event.fix(this.mouse)),d.isFunction(n.text)&&this._updateContent(n.text,y),d.isFunction(n.title)&&this._updateTitle(n.title,y),!w&&"mouse"===m.target&&m.adjust.mouse&&(d(b).bind("mousemove."+M,this._storeMouse),w=x),o||g.css("width",g.outerWidth(y)),this.reposition(c,arguments[2]),o||g.css("width",""),l.solo&&("string"==typeof l.solo?d(l.solo):d(Q,l.solo)).not(g).not(l.target).qtip("hide",d.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete e.origin,w&&!d(Q+'[tracking="true"]:visible',l.solo).not(g).length&&(d(b).unbind("mousemove."+M),w=y),this.blur(c)),j=d.proxy(function(){a?(Z.ie&&g[0].style.removeAttribute("filter"),g.css("overflow",""),"string"==typeof l.autofocus&&d(this.options.show.autofocus,g).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):g.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(a?"visible":"hidden")},this),l.effect===y||q===y?(g[k](),j()):d.isFunction(l.effect)?(g.stop(1,1),l.effect.call(g,this),g.queue("fx",function(a){j(),a()})):g.fadeTo(90,a?1:0,j),a&&l.target.trigger("qtip-"+this.id+"-inactive"),this))},t.show=function(a){return this.toggle(x,a)},t.hide=function(a){return this.toggle(y,a)},t.focus=function(a){if(!this.rendered||this.destroyed)return this;var b=d(Q),c=this.tooltip,e=parseInt(c[0].style.zIndex,10),f=s.zindex+b.length;return c.hasClass(U)||this._trigger("focus",[f],a)&&(e!==f&&(b.each(function(){this.style.zIndex>e&&(this.style.zIndex=this.style.zIndex-1)}),b.filter("."+U).qtip("blur",a)),c.addClass(U)[0].style.zIndex=f),this},t.blur=function(a){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass(U),this._trigger("blur",[this.tooltip.css("zIndex")],a),this)},t.disable=function(a){return this.destroyed?this:("toggle"===a?a=!(this.rendered?this.tooltip.hasClass(W):this.disabled):"boolean"!=typeof a&&(a=x),this.rendered&&this.tooltip.toggleClass(W,a).attr("aria-disabled",a),this.disabled=!!a,this)},t.enable=function(){return this.disable(y)},t._createButton=function(){var a=this,b=this.elements,c=b.tooltip,e=this.options.content.button,f="string"==typeof e,g=f?e:"Close tooltip";b.button&&b.button.remove(),b.button=e.jquery?e:d("<a />",{"class":"qtip-close "+(this.options.style.widget?"":M+"-icon"),title:g,"aria-label":g}).prepend(d("<span />",{"class":"ui-icon ui-icon-close",html:"&times;"})),b.button.appendTo(b.titlebar||c).attr("role","button").click(function(b){return c.hasClass(W)||a.hide(b),y})},t._updateButton=function(a){if(!this.rendered)return y;var b=this.elements.button;a?this._createButton():b.remove()},t._setWidget=function(){var a=this.options.style.widget,b=this.elements,c=b.tooltip,d=c.hasClass(W);c.removeClass(W),W=a?"ui-state-disabled":"qtip-disabled",c.toggleClass(W,d),c.toggleClass("ui-helper-reset "+k(),a).toggleClass(T,this.options.style.def&&!a),b.content&&b.content.toggleClass(k("content"),a),b.titlebar&&b.titlebar.toggleClass(k("header"),a),b.button&&b.button.toggleClass(M+"-icon",!a)},t._storeMouse=function(a){return(this.mouse=d.event.fix(a)).type="mousemove",this},t._bind=function(a,b,c,e,f){if(a&&c&&b.length){var g="."+this._id+(e?"-"+e:"");return d(a).bind((b.split?b:b.join(g+" "))+g,d.proxy(c,f||this)),this}},t._unbind=function(a,b){return a&&d(a).unbind("."+this._id+(b?"-"+b:"")),this},t._trigger=function(a,b,c){var e=d.Event("tooltip"+a);return e.originalEvent=c&&d.extend({},c)||this.cache.event||z,this.triggering=a,this.tooltip.trigger(e,[this].concat(b||[])),this.triggering=y,!e.isDefaultPrevented()},t._bindEvents=function(a,b,c,e,f,g){var h=c.filter(e).add(e.filter(c)),i=[];h.length&&(d.each(b,function(b,c){var e=d.inArray(c,a);e>-1&&i.push(a.splice(e,1)[0])}),i.length&&(this._bind(h,i,function(a){var b=this.rendered?this.tooltip[0].offsetWidth>0:!1;(b?g:f).call(this,a)}),c=c.not(h),e=e.not(h))),this._bind(c,a,f),this._bind(e,b,g)},t._assignInitialEvents=function(a){function b(a){return this.disabled||this.destroyed?y:(this.cache.event=a&&d.event.fix(a),this.cache.target=a&&d(a.target),clearTimeout(this.timers.show),void(this.timers.show=l.call(this,function(){this.render("object"==typeof a||c.show.ready)},c.prerender?0:c.show.delay)))}var c=this.options,e=c.show.target,f=c.hide.target,g=c.show.event?d.trim(""+c.show.event).split(" "):[],h=c.hide.event?d.trim(""+c.hide.event).split(" "):[];this._bind(this.elements.target,["remove","removeqtip"],function(){this.destroy(!0)},"destroy"),/mouse(over|enter)/i.test(c.show.event)&&!/mouse(out|leave)/i.test(c.hide.event)&&h.push("mouseleave"),this._bind(e,"mousemove",function(a){this._storeMouse(a),this.cache.onTarget=x}),this._bindEvents(g,h,e,f,b,function(){return this.timers?void clearTimeout(this.timers.show):y}),(c.show.ready||c.prerender)&&b.call(this,a)},t._assignEvents=function(){var c=this,e=this.options,f=e.position,g=this.tooltip,h=e.show.target,i=e.hide.target,j=f.container,k=f.viewport,l=d(b),q=(d(b.body),d(a)),r=e.show.event?d.trim(""+e.show.event).split(" "):[],t=e.hide.event?d.trim(""+e.hide.event).split(" "):[];d.each(e.events,function(a,b){c._bind(g,"toggle"===a?["tooltipshow","tooltiphide"]:["tooltip"+a],b,null,g)}),/mouse(out|leave)/i.test(e.hide.event)&&"window"===e.hide.leave&&this._bind(l,["mouseout","blur"],function(a){/select|option/.test(a.target.nodeName)||a.relatedTarget||this.hide(a)}),e.hide.fixed?i=i.add(g.addClass(S)):/mouse(over|enter)/i.test(e.show.event)&&this._bind(i,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+e.hide.event).indexOf("unfocus")>-1&&this._bind(j.closest("html"),["mousedown","touchstart"],function(a){var b=d(a.target),c=this.rendered&&!this.tooltip.hasClass(W)&&this.tooltip[0].offsetWidth>0,e=b.parents(Q).filter(this.tooltip[0]).length>0;b[0]===this.target[0]||b[0]===this.tooltip[0]||e||this.target.has(b[0]).length||!c||this.hide(a)}),"number"==typeof e.hide.inactive&&(this._bind(h,"qtip-"+this.id+"-inactive",o,"inactive"),this._bind(i.add(g),s.inactiveEvents,o)),this._bindEvents(r,t,h,i,m,n),this._bind(h.add(g),"mousemove",function(a){if("number"==typeof e.hide.distance){var b=this.cache.origin||{},c=this.options.hide.distance,d=Math.abs;(d(a.pageX-b.pageX)>=c||d(a.pageY-b.pageY)>=c)&&this.hide(a)}this._storeMouse(a)}),"mouse"===f.target&&f.adjust.mouse&&(e.hide.event&&this._bind(h,["mouseenter","mouseleave"],function(a){return this.cache?void(this.cache.onTarget="mouseenter"===a.type):y}),this._bind(l,"mousemove",function(a){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(W)&&this.tooltip[0].offsetWidth>0&&this.reposition(a)})),(f.adjust.resize||k.length)&&this._bind(d.event.special.resize?k:q,"resize",p),f.adjust.scroll&&this._bind(q.add(f.container),"scroll",p)},t._unassignEvents=function(){var c=this.options,e=c.show.target,f=c.hide.target,g=d.grep([this.elements.target[0],this.rendered&&this.tooltip[0],c.position.container[0],c.position.viewport[0],c.position.container.closest("html")[0],a,b],function(a){return"object"==typeof a});e&&e.toArray&&(g=g.concat(e.toArray())),f&&f.toArray&&(g=g.concat(f.toArray())),this._unbind(g)._unbind(g,"destroy")._unbind(g,"inactive")},d(function(){q(Q,["mouseenter","mouseleave"],function(a){var b="mouseenter"===a.type,c=d(a.currentTarget),e=d(a.relatedTarget||a.target),f=this.options;b?(this.focus(a),c.hasClass(S)&&!c.hasClass(W)&&clearTimeout(this.timers.hide)):"mouse"===f.position.target&&f.position.adjust.mouse&&f.hide.event&&f.show.target&&!e.closest(f.show.target[0]).length&&this.hide(a),c.toggleClass(V,b)}),q("["+O+"]",R,o)}),s=d.fn.qtip=function(a,b,e){var f=(""+a).toLowerCase(),g=z,i=d.makeArray(arguments).slice(1),j=i[i.length-1],k=this[0]?d.data(this[0],M):z;return!arguments.length&&k||"api"===f?k:"string"==typeof a?(this.each(function(){var a=d.data(this,M);if(!a)return x;if(j&&j.timeStamp&&(a.cache.event=j),!b||"option"!==f&&"options"!==f)a[f]&&a[f].apply(a,i);else{if(e===c&&!d.isPlainObject(b))return g=a.get(b),y;a.set(b,e)}}),g!==z?g:this):"object"!=typeof a&&arguments.length?void 0:(k=h(d.extend(x,{},a)),this.each(function(a){var b,c;return c=d.isArray(k.id)?k.id[a]:k.id,c=!c||c===y||c.length<1||s.api[c]?s.nextid++:c,b=r(d(this),c,k),b===y?x:(s.api[c]=b,d.each(L,function(){"initialize"===this.initialize&&this(b)}),void b._assignInitialEvents(j))}))},d.qtip=e,s.api={},d.each({attr:function(a,b){if(this.length){var c=this[0],e="title",f=d.data(c,"qtip");if(a===e&&f&&"object"==typeof f&&f.options.suppress)return arguments.length<2?d.attr(c,Y):(f&&f.options.content.attr===e&&f.cache.attr&&f.set("content.text",b),this.attr(Y,b))}return d.fn["attr"+X].apply(this,arguments)},clone:function(a){var b=(d([]),d.fn["clone"+X].apply(this,arguments));return a||b.filter("["+Y+"]").attr("title",function(){return d.attr(this,Y)}).removeAttr(Y),b}},function(a,b){if(!b||d.fn[a+X])return x;var c=d.fn[a+X]=d.fn[a];d.fn[a]=function(){return b.apply(this,arguments)||c.apply(this,arguments)}}),d.ui||(d["cleanData"+X]=d.cleanData,d.cleanData=function(a){for(var b,c=0;(b=d(a[c])).length;c++)if(b.attr(N))try{b.triggerHandler("removeqtip")}catch(e){}d["cleanData"+X].apply(this,arguments)}),s.version="2.2.1",s.nextid=0,s.inactiveEvents=R,s.zindex=15e3,s.defaults={prerender:y,id:y,overwrite:x,suppress:x,content:{text:x,attr:"title",title:y,button:y},position:{my:"top left",at:"bottom right",target:y,container:y,viewport:y,adjust:{x:0,y:0,mouse:x,scroll:x,resize:x,method:"flipinvert flipinvert"},effect:function(a,b){d(this).animate(b,{duration:200,queue:y})}},show:{target:y,event:"mouseenter",effect:x,delay:90,solo:y,ready:y,autofocus:y},hide:{target:y,event:"mouseleave",effect:x,delay:0,fixed:y,inactive:y,leave:"window",distance:y},style:{classes:"",widget:y,width:y,height:y,def:x},events:{render:z,move:z,show:z,hide:z,toggle:z,visible:z,hidden:z,focus:z,blur:z}},L.viewport=function(c,d,e,f,g,h,i){function j(a,b,c,e,f,g,h,i,j){var k=d[f],s=u[a],t=v[a],w=c===K,x=s===f?j:s===g?-j:-j/2,y=t===f?i:t===g?-i:-i/2,z=q[f]+r[f]-(n?0:m[f]),A=z-k,B=k+j-(h===C?o:p)-z,D=x-(u.precedance===a||s===u[b]?y:0)-(t===I?i/2:0);return w?(D=(s===f?1:-1)*x,d[f]+=A>0?A:B>0?-B:0,d[f]=Math.max(-m[f]+r[f],k-D,Math.min(Math.max(-m[f]+r[f]+(h===C?o:p),k+D),d[f],"center"===s?k-x:1e9))):(e*=c===J?2:0,A>0&&(s!==f||B>0)?(d[f]-=D+e,l.invert(a,f)):B>0&&(s!==g||A>0)&&(d[f]-=(s===I?-D:D)+e,l.invert(a,g)),d[f]<q&&-d[f]>B&&(d[f]=k,l=u.clone())),d[f]-k}var k,l,m,n,o,p,q,r,s=e.target,t=c.elements.tooltip,u=e.my,v=e.at,w=e.adjust,x=w.method.split(" "),z=x[0],L=x[1]||x[0],M=e.viewport,N=e.container,O=(c.cache,{left:0,top:0});return M.jquery&&s[0]!==a&&s[0]!==b.body&&"none"!==w.method?(m=N.offset()||O,n="static"===N.css("position"),k="fixed"===t.css("position"),o=M[0]===a?M.width():M.outerWidth(y),p=M[0]===a?M.height():M.outerHeight(y),q={left:k?0:M.scrollLeft(),top:k?0:M.scrollTop()},r=M.offset()||O,("shift"!==z||"shift"!==L)&&(l=u.clone()),O={left:"none"!==z?j(A,B,z,w.x,F,H,C,f,h):0,top:"none"!==L?j(B,A,L,w.y,E,G,D,g,i):0,my:l}):O}})}(window,document);
     3!function(a,b,c){!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):jQuery&&!jQuery.fn.qtip&&a(jQuery)}(function(d){"use strict";function e(a,b,c,e){this.id=c,this.target=a,this.tooltip=D,this.elements={target:a},this._id=P+"-"+c,this.timers={img:{}},this.options=b,this.plugins={},this.cache={event:{},target:d(),disabled:C,attr:e,onTooltip:C,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=C}function f(a){return a===D||"object"!==d.type(a)}function g(a){return!(d.isFunction(a)||a&&a.attr||a.length||"object"===d.type(a)&&(a.jquery||a.then))}function h(a){var b,c,e,h;return f(a)?C:(f(a.metadata)&&(a.metadata={type:a.metadata}),"content"in a&&(b=a.content,f(b)||b.jquery||b.done?b=a.content={text:c=g(b)?C:b}:c=b.text,"ajax"in b&&(e=b.ajax,h=e&&e.once!==C,delete b.ajax,b.text=function(a,b){var f=c||d(this).attr(b.options.content.attr)||"Loading...",g=d.ajax(d.extend({},e,{context:b})).then(e.success,D,e.error).then(function(a){return a&&h&&b.set("content.text",a),a},function(a,c,d){b.destroyed||0===a.status||b.set("content.text",c+": "+d)});return h?f:(b.set("content.text",f),g)}),"title"in b&&(d.isPlainObject(b.title)&&(b.button=b.title.button,b.title=b.title.text),g(b.title||C)&&(b.title=C))),"position"in a&&f(a.position)&&(a.position={my:a.position,at:a.position}),"show"in a&&f(a.show)&&(a.show=a.show.jquery?{target:a.show}:a.show===B?{ready:B}:{event:a.show}),"hide"in a&&f(a.hide)&&(a.hide=a.hide.jquery?{target:a.hide}:{event:a.hide}),"style"in a&&f(a.style)&&(a.style={classes:a.style}),d.each(O,function(){this.sanitize&&this.sanitize(a)}),a)}function i(a,b){for(var c,d=0,e=a,f=b.split(".");e=e[f[d++]];)d<f.length&&(c=e);return[c||a,f.pop()]}function j(a,b){var c,d,e;for(c in this.checks)for(d in this.checks[c])(e=new RegExp(d,"i").exec(a))&&(b.push(e),("builtin"===c||this.plugins[c])&&this.checks[c][d].apply(this.plugins[c]||this,b))}function k(a){return S.concat("").join(a?"-"+a+" ":" ")}function l(a,b){return b>0?setTimeout(d.proxy(a,this),b):void a.call(this)}function m(a){this.tooltip.hasClass(Z)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=l.call(this,function(){this.toggle(B,a)},this.options.show.delay))}function n(a){if(!this.tooltip.hasClass(Z)&&!this.destroyed){var b=d(a.relatedTarget),c=b.closest(T)[0]===this.tooltip[0],e=b[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==b[0]&&"mouse"===this.options.position.target&&c||this.options.hide.fixed&&/mouse(out|leave|move)/.test(a.type)&&(c||e))try{a.preventDefault(),a.stopImmediatePropagation()}catch(f){}else this.timers.hide=l.call(this,function(){this.toggle(C,a)},this.options.hide.delay,this)}}function o(a){!this.tooltip.hasClass(Z)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=l.call(this,function(){this.hide(a)},this.options.hide.inactive))}function p(a){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(a)}function q(a,c,e){d(b.body).delegate(a,(c.split?c:c.join("."+P+" "))+"."+P,function(){var a=w.api[d.attr(this,R)];a&&!a.disabled&&e.apply(a,arguments)})}function r(a,c,f){var g,i,j,k,l,m=d(b.body),n=a[0]===b?m:a,o=a.metadata?a.metadata(f.metadata):D,p="html5"===f.metadata.type&&o?o[f.metadata.name]:D,q=a.data(f.metadata.name||"qtipopts");try{q="string"==typeof q?d.parseJSON(q):q}catch(r){}if(k=d.extend(B,{},w.defaults,f,"object"==typeof q?h(q):D,h(p||o)),i=k.position,k.id=c,"boolean"==typeof k.content.text){if(j=a.attr(k.content.attr),k.content.attr===C||!j)return C;k.content.text=j}if(i.container.length||(i.container=m),i.target===C&&(i.target=n),k.show.target===C&&(k.show.target=n),k.show.solo===B&&(k.show.solo=i.container.closest("body")),k.hide.target===C&&(k.hide.target=n),k.position.viewport===B&&(k.position.viewport=i.container),i.container=i.container.eq(0),i.at=new y(i.at,B),i.my=new y(i.my),a.data(P))if(k.overwrite)a.qtip("destroy",!0);else if(k.overwrite===C)return C;return a.attr(Q,c),k.suppress&&(l=a.attr("title"))&&a.removeAttr("title").attr(_,l).attr("title",""),g=new e(a,k,c,!!j),a.data(P,g),g}function s(a){return a.charAt(0).toUpperCase()+a.slice(1)}function t(a,b){var d,e,f=b.charAt(0).toUpperCase()+b.slice(1),g=(b+" "+ob.join(f+" ")+f).split(" "),h=0;if(nb[b])return a.css(nb[b]);for(;d=g[h++];)if((e=a.css(d))!==c)return nb[b]=d,e}function u(a,b){return Math.ceil(parseFloat(t(a,b)))}function v(a,b){this._ns="tip",this.options=b,this.offset=b.offset,this.size=[b.width,b.height],this.init(this.qtip=a)}var w,x,y,z,A,B=!0,C=!1,D=null,E="x",F="y",G="width",H="height",I="top",J="left",K="bottom",L="right",M="center",N="shift",O={},P="qtip",Q="data-hasqtip",R="data-qtip-id",S=["ui-widget","ui-tooltip"],T="."+P,U="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),V=P+"-fixed",W=P+"-default",X=P+"-focus",Y=P+"-hover",Z=P+"-disabled",$="_replacedByqTip",_="oldtitle",ab={ie:function(){for(var a=4,c=b.createElement("div");(c.innerHTML="<!--[if gt IE "+a+"]><i></i><![endif]-->")&&c.getElementsByTagName("i")[0];a+=1);return a>4?a:0/0}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||C};x=e.prototype,x._when=function(a){return d.when.apply(d,a)},x.render=function(a){if(this.rendered||this.destroyed)return this;var b,c=this,e=this.options,f=this.cache,g=this.elements,h=e.content.text,i=e.content.title,j=e.content.button,k=e.position,l=("."+this._id+" ",[]);return d.attr(this.target[0],"aria-describedby",this._id),f.posClass=this._createPosClass((this.position={my:k.my,at:k.at}).my),this.tooltip=g.tooltip=b=d("<div/>",{id:this._id,"class":[P,W,e.style.classes,f.posClass].join(" "),width:e.style.width||"",height:e.style.height||"",tracking:"mouse"===k.target&&k.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":C,"aria-describedby":this._id+"-content","aria-hidden":B}).toggleClass(Z,this.disabled).attr(R,this.id).data(P,this).appendTo(k.container).append(g.content=d("<div />",{"class":P+"-content",id:this._id+"-content","aria-atomic":B})),this.rendered=-1,this.positioning=B,i&&(this._createTitle(),d.isFunction(i)||l.push(this._updateTitle(i,C))),j&&this._createButton(),d.isFunction(h)||l.push(this._updateContent(h,C)),this.rendered=B,this._setWidget(),d.each(O,function(a){var b;"render"===this.initialize&&(b=this(c))&&(c.plugins[a]=b)}),this._unassignEvents(),this._assignEvents(),this._when(l).then(function(){c._trigger("render"),c.positioning=C,c.hiddenDuringWait||!e.show.ready&&!a||c.toggle(B,f.event,C),c.hiddenDuringWait=C}),w.api[this.id]=this,this},x.destroy=function(a){function b(){if(!this.destroyed){this.destroyed=B;var a,b=this.target,c=b.attr(_);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),d.each(this.plugins,function(){this.destroy&&this.destroy()});for(a in this.timers)clearTimeout(this.timers[a]);b.removeData(P).removeAttr(R).removeAttr(Q).removeAttr("aria-describedby"),this.options.suppress&&c&&b.attr("title",c).removeAttr(_),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=D,delete w.api[this.id]}}return this.destroyed?this.target:(a===B&&"hide"!==this.triggering||!this.rendered?b.call(this):(this.tooltip.one("tooltiphidden",d.proxy(b,this)),!this.triggering&&this.hide()),this.target)},z=x.checks={builtin:{"^id$":function(a,b,c,e){var f=c===B?w.nextid:c,g=P+"-"+f;f!==C&&f.length>0&&!d("#"+g).length?(this._id=g,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):a[b]=e},"^prerender":function(a,b,c){c&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(a,b,c){this._updateContent(c)},"^content.attr$":function(a,b,c,d){this.options.content.text===this.target.attr(d)&&this._updateContent(this.target.attr(c))},"^content.title$":function(a,b,c){return c?(c&&!this.elements.title&&this._createTitle(),void this._updateTitle(c)):this._removeTitle()},"^content.button$":function(a,b,c){this._updateButton(c)},"^content.title.(text|button)$":function(a,b,c){this.set("content."+b,c)},"^position.(my|at)$":function(a,b,c){"string"==typeof c&&(this.position[b]=a[b]=new y(c,"at"===b))},"^position.container$":function(a,b,c){this.rendered&&this.tooltip.appendTo(c)},"^show.ready$":function(a,b,c){c&&(!this.rendered&&this.render(B)||this.toggle(B))},"^style.classes$":function(a,b,c,d){this.rendered&&this.tooltip.removeClass(d).addClass(c)},"^style.(width|height)":function(a,b,c){this.rendered&&this.tooltip.css(b,c)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(a,b,c){this.rendered&&this.tooltip.toggleClass(W,!!c)},"^events.(render|show|move|hide|focus|blur)$":function(a,b,c){this.rendered&&this.tooltip[(d.isFunction(c)?"":"un")+"bind"]("tooltip"+b,c)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(this.rendered){var a=this.options.position;this.tooltip.attr("tracking","mouse"===a.target&&a.adjust.mouse),this._unassignEvents(),this._assignEvents()}}}},x.get=function(a){if(this.destroyed)return this;var b=i(this.options,a.toLowerCase()),c=b[0][b[1]];return c.precedance?c.string():c};var bb=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,cb=/^prerender|show\.ready/i;x.set=function(a,b){if(this.destroyed)return this;{var c,e=this.rendered,f=C,g=this.options;this.checks}return"string"==typeof a?(c=a,a={},a[c]=b):a=d.extend({},a),d.each(a,function(b,c){if(e&&cb.test(b))return void delete a[b];var h,j=i(g,b.toLowerCase());h=j[0][j[1]],j[0][j[1]]=c&&c.nodeType?d(c):c,f=bb.test(b)||f,a[b]=[j[0],j[1],c,h]}),h(g),this.positioning=B,d.each(a,d.proxy(j,this)),this.positioning=C,this.rendered&&this.tooltip[0].offsetWidth>0&&f&&this.reposition("mouse"===g.position.target?D:this.cache.event),this},x._update=function(a,b){var c=this,e=this.cache;return this.rendered&&a?(d.isFunction(a)&&(a=a.call(this.elements.target,e.event,this)||""),d.isFunction(a.then)?(e.waiting=B,a.then(function(a){return e.waiting=C,c._update(a,b)},D,function(a){return c._update(a,b)})):a===C||!a&&""!==a?C:(a.jquery&&a.length>0?b.empty().append(a.css({display:"block",visibility:"visible"})):b.html(a),this._waitForContent(b).then(function(a){c.rendered&&c.tooltip[0].offsetWidth>0&&c.reposition(e.event,!a.length)}))):C},x._waitForContent=function(a){var b=this.cache;return b.waiting=B,(d.fn.imagesLoaded?a.imagesLoaded():d.Deferred().resolve([])).done(function(){b.waiting=C}).promise()},x._updateContent=function(a,b){this._update(a,this.elements.content,b)},x._updateTitle=function(a,b){this._update(a,this.elements.title,b)===C&&this._removeTitle(C)},x._createTitle=function(){var a=this.elements,b=this._id+"-title";a.titlebar&&this._removeTitle(),a.titlebar=d("<div />",{"class":P+"-titlebar "+(this.options.style.widget?k("header"):"")}).append(a.title=d("<div />",{id:b,"class":P+"-title","aria-atomic":B})).insertBefore(a.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(a){d(this).toggleClass("ui-state-active ui-state-focus","down"===a.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function(a){d(this).toggleClass("ui-state-hover","mouseover"===a.type)}),this.options.content.button&&this._createButton()},x._removeTitle=function(a){var b=this.elements;b.title&&(b.titlebar.remove(),b.titlebar=b.title=b.button=D,a!==C&&this.reposition())},x._createPosClass=function(a){return P+"-pos-"+(a||this.options.position.my).abbrev()},x.reposition=function(c,e){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=B;var f,g,h,i,j=this.cache,k=this.tooltip,l=this.options.position,m=l.target,n=l.my,o=l.at,p=l.viewport,q=l.container,r=l.adjust,s=r.method.split(" "),t=k.outerWidth(C),u=k.outerHeight(C),v=0,w=0,x=k.css("position"),y={left:0,top:0},z=k[0].offsetWidth>0,A=c&&"scroll"===c.type,D=d(a),E=q[0].ownerDocument,F=this.mouse;if(d.isArray(m)&&2===m.length)o={x:J,y:I},y={left:m[0],top:m[1]};else if("mouse"===m)o={x:J,y:I},(!r.mouse||this.options.hide.distance)&&j.origin&&j.origin.pageX?c=j.origin:!c||c&&("resize"===c.type||"scroll"===c.type)?c=j.event:F&&F.pageX&&(c=F),"static"!==x&&(y=q.offset()),E.body.offsetWidth!==(a.innerWidth||E.documentElement.clientWidth)&&(g=d(b.body).offset()),y={left:c.pageX-y.left+(g&&g.left||0),top:c.pageY-y.top+(g&&g.top||0)},r.mouse&&A&&F&&(y.left-=(F.scrollX||0)-D.scrollLeft(),y.top-=(F.scrollY||0)-D.scrollTop());else{if("event"===m?c&&c.target&&"scroll"!==c.type&&"resize"!==c.type?j.target=d(c.target):c.target||(j.target=this.elements.target):"event"!==m&&(j.target=d(m.jquery?m:this.elements.target)),m=j.target,m=d(m).eq(0),0===m.length)return this;m[0]===b||m[0]===a?(v=ab.iOS?a.innerWidth:m.width(),w=ab.iOS?a.innerHeight:m.height(),m[0]===a&&(y={top:(p||m).scrollTop(),left:(p||m).scrollLeft()})):O.imagemap&&m.is("area")?f=O.imagemap(this,m,o,O.viewport?s:C):O.svg&&m&&m[0].ownerSVGElement?f=O.svg(this,m,o,O.viewport?s:C):(v=m.outerWidth(C),w=m.outerHeight(C),y=m.offset()),f&&(v=f.width,w=f.height,g=f.offset,y=f.position),y=this.reposition.offset(m,y,q),(ab.iOS>3.1&&ab.iOS<4.1||ab.iOS>=4.3&&ab.iOS<4.33||!ab.iOS&&"fixed"===x)&&(y.left-=D.scrollLeft(),y.top-=D.scrollTop()),(!f||f&&f.adjustable!==C)&&(y.left+=o.x===L?v:o.x===M?v/2:0,y.top+=o.y===K?w:o.y===M?w/2:0)}return y.left+=r.x+(n.x===L?-t:n.x===M?-t/2:0),y.top+=r.y+(n.y===K?-u:n.y===M?-u/2:0),O.viewport?(h=y.adjusted=O.viewport(this,y,l,v,w,t,u),g&&h.left&&(y.left+=g.left),g&&h.top&&(y.top+=g.top),h.my&&(this.position.my=h.my)):y.adjusted={left:0,top:0},j.posClass!==(i=this._createPosClass(this.position.my))&&k.removeClass(j.posClass).addClass(j.posClass=i),this._trigger("move",[y,p.elem||p],c)?(delete y.adjusted,e===C||!z||isNaN(y.left)||isNaN(y.top)||"mouse"===m||!d.isFunction(l.effect)?k.css(y):d.isFunction(l.effect)&&(l.effect.call(k,this,d.extend({},y)),k.queue(function(a){d(this).css({opacity:"",height:""}),ab.ie&&this.style.removeAttribute("filter"),a()})),this.positioning=C,this):this},x.reposition.offset=function(a,c,e){function f(a,b){c.left+=b*a.scrollLeft(),c.top+=b*a.scrollTop()}if(!e[0])return c;var g,h,i,j,k=d(a[0].ownerDocument),l=!!ab.ie&&"CSS1Compat"!==b.compatMode,m=e[0];do"static"!==(h=d.css(m,"position"))&&("fixed"===h?(i=m.getBoundingClientRect(),f(k,-1)):(i=d(m).position(),i.left+=parseFloat(d.css(m,"borderLeftWidth"))||0,i.top+=parseFloat(d.css(m,"borderTopWidth"))||0),c.left-=i.left+(parseFloat(d.css(m,"marginLeft"))||0),c.top-=i.top+(parseFloat(d.css(m,"marginTop"))||0),g||"hidden"===(j=d.css(m,"overflow"))||"visible"===j||(g=d(m)));while(m=m.offsetParent);return g&&(g[0]!==k[0]||l)&&f(g,1),c};var db=(y=x.reposition.Corner=function(a,b){a=(""+a).replace(/([A-Z])/," $1").replace(/middle/gi,M).toLowerCase(),this.x=(a.match(/left|right/i)||a.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(a.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!b;var c=a.charAt(0);this.precedance="t"===c||"b"===c?F:E}).prototype;db.invert=function(a,b){this[a]=this[a]===J?L:this[a]===L?J:b||this[a]},db.string=function(a){var b=this.x,c=this.y,d=b!==c?"center"===b||"center"!==c&&(this.precedance===F||this.forceY)?[c,b]:[b,c]:[b];return a!==!1?d.join(" "):d},db.abbrev=function(){var a=this.string(!1);return a[0].charAt(0)+(a[1]&&a[1].charAt(0)||"")},db.clone=function(){return new y(this.string(),this.forceY)},x.toggle=function(a,c){var e=this.cache,f=this.options,g=this.tooltip;if(c){if(/over|enter/.test(c.type)&&e.event&&/out|leave/.test(e.event.type)&&f.show.target.add(c.target).length===f.show.target.length&&g.has(c.relatedTarget).length)return this;e.event=d.event.fix(c)}if(this.waiting&&!a&&(this.hiddenDuringWait=B),!this.rendered)return a?this.render(1):this;if(this.destroyed||this.disabled)return this;var h,i,j,k=a?"show":"hide",l=this.options[k],m=(this.options[a?"hide":"show"],this.options.position),n=this.options.content,o=this.tooltip.css("width"),p=this.tooltip.is(":visible"),q=a||1===l.target.length,r=!c||l.target.length<2||e.target[0]===c.target;return(typeof a).search("boolean|number")&&(a=!p),h=!g.is(":animated")&&p===a&&r,i=h?D:!!this._trigger(k,[90]),this.destroyed?this:(i!==C&&a&&this.focus(c),!i||h?this:(d.attr(g[0],"aria-hidden",!a),a?(this.mouse&&(e.origin=d.event.fix(this.mouse)),d.isFunction(n.text)&&this._updateContent(n.text,C),d.isFunction(n.title)&&this._updateTitle(n.title,C),!A&&"mouse"===m.target&&m.adjust.mouse&&(d(b).bind("mousemove."+P,this._storeMouse),A=B),o||g.css("width",g.outerWidth(C)),this.reposition(c,arguments[2]),o||g.css("width",""),l.solo&&("string"==typeof l.solo?d(l.solo):d(T,l.solo)).not(g).not(l.target).qtip("hide",d.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete e.origin,A&&!d(T+'[tracking="true"]:visible',l.solo).not(g).length&&(d(b).unbind("mousemove."+P),A=C),this.blur(c)),j=d.proxy(function(){a?(ab.ie&&g[0].style.removeAttribute("filter"),g.css("overflow",""),"string"==typeof l.autofocus&&d(this.options.show.autofocus,g).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):g.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(a?"visible":"hidden")},this),l.effect===C||q===C?(g[k](),j()):d.isFunction(l.effect)?(g.stop(1,1),l.effect.call(g,this),g.queue("fx",function(a){j(),a()})):g.fadeTo(90,a?1:0,j),a&&l.target.trigger("qtip-"+this.id+"-inactive"),this))},x.show=function(a){return this.toggle(B,a)},x.hide=function(a){return this.toggle(C,a)},x.focus=function(a){if(!this.rendered||this.destroyed)return this;var b=d(T),c=this.tooltip,e=parseInt(c[0].style.zIndex,10),f=w.zindex+b.length;return c.hasClass(X)||this._trigger("focus",[f],a)&&(e!==f&&(b.each(function(){this.style.zIndex>e&&(this.style.zIndex=this.style.zIndex-1)}),b.filter("."+X).qtip("blur",a)),c.addClass(X)[0].style.zIndex=f),this},x.blur=function(a){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass(X),this._trigger("blur",[this.tooltip.css("zIndex")],a),this)},x.disable=function(a){return this.destroyed?this:("toggle"===a?a=!(this.rendered?this.tooltip.hasClass(Z):this.disabled):"boolean"!=typeof a&&(a=B),this.rendered&&this.tooltip.toggleClass(Z,a).attr("aria-disabled",a),this.disabled=!!a,this)},x.enable=function(){return this.disable(C)},x._createButton=function(){var a=this,b=this.elements,c=b.tooltip,e=this.options.content.button,f="string"==typeof e,g=f?e:"Close tooltip";b.button&&b.button.remove(),b.button=e.jquery?e:d("<a />",{"class":"qtip-close "+(this.options.style.widget?"":P+"-icon"),title:g,"aria-label":g}).prepend(d("<span />",{"class":"ui-icon ui-icon-close",html:"&times;"})),b.button.appendTo(b.titlebar||c).attr("role","button").click(function(b){return c.hasClass(Z)||a.hide(b),C})},x._updateButton=function(a){if(!this.rendered)return C;var b=this.elements.button;a?this._createButton():b.remove()},x._setWidget=function(){var a=this.options.style.widget,b=this.elements,c=b.tooltip,d=c.hasClass(Z);c.removeClass(Z),Z=a?"ui-state-disabled":"qtip-disabled",c.toggleClass(Z,d),c.toggleClass("ui-helper-reset "+k(),a).toggleClass(W,this.options.style.def&&!a),b.content&&b.content.toggleClass(k("content"),a),b.titlebar&&b.titlebar.toggleClass(k("header"),a),b.button&&b.button.toggleClass(P+"-icon",!a)},x._storeMouse=function(a){return(this.mouse=d.event.fix(a)).type="mousemove",this},x._bind=function(a,b,c,e,f){if(a&&c&&b.length){var g="."+this._id+(e?"-"+e:"");return d(a).bind((b.split?b:b.join(g+" "))+g,d.proxy(c,f||this)),this}},x._unbind=function(a,b){return a&&d(a).unbind("."+this._id+(b?"-"+b:"")),this},x._trigger=function(a,b,c){var e=d.Event("tooltip"+a);return e.originalEvent=c&&d.extend({},c)||this.cache.event||D,this.triggering=a,this.tooltip.trigger(e,[this].concat(b||[])),this.triggering=C,!e.isDefaultPrevented()},x._bindEvents=function(a,b,c,e,f,g){var h=c.filter(e).add(e.filter(c)),i=[];h.length&&(d.each(b,function(b,c){var e=d.inArray(c,a);e>-1&&i.push(a.splice(e,1)[0])}),i.length&&(this._bind(h,i,function(a){var b=this.rendered?this.tooltip[0].offsetWidth>0:!1;(b?g:f).call(this,a)}),c=c.not(h),e=e.not(h))),this._bind(c,a,f),this._bind(e,b,g)},x._assignInitialEvents=function(a){function b(a){return this.disabled||this.destroyed?C:(this.cache.event=a&&d.event.fix(a),this.cache.target=a&&d(a.target),clearTimeout(this.timers.show),void(this.timers.show=l.call(this,function(){this.render("object"==typeof a||c.show.ready)},c.prerender?0:c.show.delay)))}var c=this.options,e=c.show.target,f=c.hide.target,g=c.show.event?d.trim(""+c.show.event).split(" "):[],h=c.hide.event?d.trim(""+c.hide.event).split(" "):[];this._bind(this.elements.target,["remove","removeqtip"],function(){this.destroy(!0)},"destroy"),/mouse(over|enter)/i.test(c.show.event)&&!/mouse(out|leave)/i.test(c.hide.event)&&h.push("mouseleave"),this._bind(e,"mousemove",function(a){this._storeMouse(a),this.cache.onTarget=B}),this._bindEvents(g,h,e,f,b,function(){return this.timers?void clearTimeout(this.timers.show):C}),(c.show.ready||c.prerender)&&b.call(this,a)},x._assignEvents=function(){var c=this,e=this.options,f=e.position,g=this.tooltip,h=e.show.target,i=e.hide.target,j=f.container,k=f.viewport,l=d(b),q=(d(b.body),d(a)),r=e.show.event?d.trim(""+e.show.event).split(" "):[],s=e.hide.event?d.trim(""+e.hide.event).split(" "):[];d.each(e.events,function(a,b){c._bind(g,"toggle"===a?["tooltipshow","tooltiphide"]:["tooltip"+a],b,null,g)}),/mouse(out|leave)/i.test(e.hide.event)&&"window"===e.hide.leave&&this._bind(l,["mouseout","blur"],function(a){/select|option/.test(a.target.nodeName)||a.relatedTarget||this.hide(a)}),e.hide.fixed?i=i.add(g.addClass(V)):/mouse(over|enter)/i.test(e.show.event)&&this._bind(i,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+e.hide.event).indexOf("unfocus")>-1&&this._bind(j.closest("html"),["mousedown","touchstart"],function(a){var b=d(a.target),c=this.rendered&&!this.tooltip.hasClass(Z)&&this.tooltip[0].offsetWidth>0,e=b.parents(T).filter(this.tooltip[0]).length>0;b[0]===this.target[0]||b[0]===this.tooltip[0]||e||this.target.has(b[0]).length||!c||this.hide(a)}),"number"==typeof e.hide.inactive&&(this._bind(h,"qtip-"+this.id+"-inactive",o,"inactive"),this._bind(i.add(g),w.inactiveEvents,o)),this._bindEvents(r,s,h,i,m,n),this._bind(h.add(g),"mousemove",function(a){if("number"==typeof e.hide.distance){var b=this.cache.origin||{},c=this.options.hide.distance,d=Math.abs;(d(a.pageX-b.pageX)>=c||d(a.pageY-b.pageY)>=c)&&this.hide(a)}this._storeMouse(a)}),"mouse"===f.target&&f.adjust.mouse&&(e.hide.event&&this._bind(h,["mouseenter","mouseleave"],function(a){return this.cache?void(this.cache.onTarget="mouseenter"===a.type):C}),this._bind(l,"mousemove",function(a){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(Z)&&this.tooltip[0].offsetWidth>0&&this.reposition(a)})),(f.adjust.resize||k.length)&&this._bind(d.event.special.resize?k:q,"resize",p),f.adjust.scroll&&this._bind(q.add(f.container),"scroll",p)},x._unassignEvents=function(){var c=this.options,e=c.show.target,f=c.hide.target,g=d.grep([this.elements.target[0],this.rendered&&this.tooltip[0],c.position.container[0],c.position.viewport[0],c.position.container.closest("html")[0],a,b],function(a){return"object"==typeof a});e&&e.toArray&&(g=g.concat(e.toArray())),f&&f.toArray&&(g=g.concat(f.toArray())),this._unbind(g)._unbind(g,"destroy")._unbind(g,"inactive")},d(function(){q(T,["mouseenter","mouseleave"],function(a){var b="mouseenter"===a.type,c=d(a.currentTarget),e=d(a.relatedTarget||a.target),f=this.options;b?(this.focus(a),c.hasClass(V)&&!c.hasClass(Z)&&clearTimeout(this.timers.hide)):"mouse"===f.position.target&&f.position.adjust.mouse&&f.hide.event&&f.show.target&&!e.closest(f.show.target[0]).length&&this.hide(a),c.toggleClass(Y,b)}),q("["+R+"]",U,o)}),w=d.fn.qtip=function(a,b,e){var f=(""+a).toLowerCase(),g=D,i=d.makeArray(arguments).slice(1),j=i[i.length-1],k=this[0]?d.data(this[0],P):D;return!arguments.length&&k||"api"===f?k:"string"==typeof a?(this.each(function(){var a=d.data(this,P);if(!a)return B;if(j&&j.timeStamp&&(a.cache.event=j),!b||"option"!==f&&"options"!==f)a[f]&&a[f].apply(a,i);else{if(e===c&&!d.isPlainObject(b))return g=a.get(b),C;a.set(b,e)}}),g!==D?g:this):"object"!=typeof a&&arguments.length?void 0:(k=h(d.extend(B,{},a)),this.each(function(a){var b,c;return c=d.isArray(k.id)?k.id[a]:k.id,c=!c||c===C||c.length<1||w.api[c]?w.nextid++:c,b=r(d(this),c,k),b===C?B:(w.api[c]=b,d.each(O,function(){"initialize"===this.initialize&&this(b)}),void b._assignInitialEvents(j))}))},d.qtip=e,w.api={},d.each({attr:function(a,b){if(this.length){var c=this[0],e="title",f=d.data(c,"qtip");if(a===e&&f&&"object"==typeof f&&f.options.suppress)return arguments.length<2?d.attr(c,_):(f&&f.options.content.attr===e&&f.cache.attr&&f.set("content.text",b),this.attr(_,b))}return d.fn["attr"+$].apply(this,arguments)},clone:function(a){var b=(d([]),d.fn["clone"+$].apply(this,arguments));return a||b.filter("["+_+"]").attr("title",function(){return d.attr(this,_)}).removeAttr(_),b}},function(a,b){if(!b||d.fn[a+$])return B;var c=d.fn[a+$]=d.fn[a];d.fn[a]=function(){return b.apply(this,arguments)||c.apply(this,arguments)}}),d.ui||(d["cleanData"+$]=d.cleanData,d.cleanData=function(a){for(var b,c=0;(b=d(a[c])).length;c++)if(b.attr(Q))try{b.triggerHandler("removeqtip")}catch(e){}d["cleanData"+$].apply(this,arguments)}),w.version="2.2.1",w.nextid=0,w.inactiveEvents=U,w.zindex=15e3,w.defaults={prerender:C,id:C,overwrite:B,suppress:B,content:{text:B,attr:"title",title:C,button:C},position:{my:"top left",at:"bottom right",target:C,container:C,viewport:C,adjust:{x:0,y:0,mouse:B,scroll:B,resize:B,method:"flipinvert flipinvert"},effect:function(a,b){d(this).animate(b,{duration:200,queue:C})}},show:{target:C,event:"mouseenter",effect:B,delay:90,solo:C,ready:C,autofocus:C},hide:{target:C,event:"mouseleave",effect:B,delay:0,fixed:C,inactive:C,leave:"window",distance:C},style:{classes:"",widget:C,width:C,height:C,def:B},events:{render:D,move:D,show:D,hide:D,toggle:D,visible:D,hidden:D,focus:D,blur:D}};var eb,fb="margin",gb="border",hb="color",ib="background-color",jb="transparent",kb=" !important",lb=!!b.createElement("canvas").getContext,mb=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,nb={},ob=["Webkit","O","Moz","ms"];if(lb)var pb=a.devicePixelRatio||1,qb=function(){var a=b.createElement("canvas").getContext("2d");return a.backingStorePixelRatio||a.webkitBackingStorePixelRatio||a.mozBackingStorePixelRatio||a.msBackingStorePixelRatio||a.oBackingStorePixelRatio||1}(),rb=pb/qb;else var sb=function(a,b,c){return"<qtipvml:"+a+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(b||"")+' style="behavior: url(#default#VML); '+(c||"")+'" />'};d.extend(v.prototype,{init:function(a){var b,c;c=this.element=a.elements.tip=d("<div />",{"class":P+"-tip"}).prependTo(a.tooltip),lb?(b=d("<canvas />").appendTo(this.element)[0].getContext("2d"),b.lineJoin="miter",b.miterLimit=1e5,b.save()):(b=sb("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(b+b),a._bind(d("*",c).add(c),["click","mousedown"],function(a){a.stopPropagation()},this._ns)),a._bind(a.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(a){var b=this.qtip.elements.titlebar;return b&&(a.y===I||a.y===M&&this.element.position().top+this.size[1]/2+this.options.offset<b.outerHeight(B))},_parseCorner:function(a){var b=this.qtip.options.position.my;return a===C||b===C?a=C:a===B?a=new y(b.string()):a.string||(a=new y(a),a.fixed=B),a},_parseWidth:function(a,b,c){var d=this.qtip.elements,e=gb+s(b)+"Width";return(c?u(c,e):u(d.content,e)||u(this._useTitle(a)&&d.titlebar||d.content,e)||u(d.tooltip,e))||0},_parseRadius:function(a){var b=this.qtip.elements,c=gb+s(a.y)+s(a.x)+"Radius";return ab.ie<9?0:u(this._useTitle(a)&&b.titlebar||b.content,c)||u(b.tooltip,c)||0},_invalidColour:function(a,b,c){var d=a.css(b);return!d||c&&d===a.css(c)||mb.test(d)?C:d},_parseColours:function(a){var b=this.qtip.elements,c=this.element.css("cssText",""),e=gb+s(a[a.precedance])+s(hb),f=this._useTitle(a)&&b.titlebar||b.content,g=this._invalidColour,h=[];return h[0]=g(c,ib)||g(f,ib)||g(b.content,ib)||g(b.tooltip,ib)||c.css(ib),h[1]=g(c,e,hb)||g(f,e,hb)||g(b.content,e,hb)||g(b.tooltip,e,hb)||b.tooltip.css(e),d("*",c).add(c).css("cssText",ib+":"+jb+kb+";"+gb+":0"+kb+";"),h},_calculateSize:function(a){var b,c,d,e=a.precedance===F,f=this.options.width,g=this.options.height,h="c"===a.abbrev(),i=(e?f:g)*(h?.5:1),j=Math.pow,k=Math.round,l=Math.sqrt(j(i,2)+j(g,2)),m=[this.border/i*l,this.border/g*l];return m[2]=Math.sqrt(j(m[0],2)-j(this.border,2)),m[3]=Math.sqrt(j(m[1],2)-j(this.border,2)),b=l+m[2]+m[3]+(h?0:m[0]),c=b/l,d=[k(c*f),k(c*g)],e?d:d.reverse()},_calculateTip:function(a,b,c){c=c||1,b=b||this.size;var d=b[0]*c,e=b[1]*c,f=Math.ceil(d/2),g=Math.ceil(e/2),h={br:[0,0,d,e,d,0],bl:[0,0,d,0,0,e],tr:[0,e,d,0,d,e],tl:[0,0,0,e,d,e],tc:[0,e,f,0,d,e],bc:[0,0,d,0,f,e],rc:[0,0,d,g,0,e],lc:[d,0,d,e,0,g]};return h.lt=h.br,h.rt=h.bl,h.lb=h.tr,h.rb=h.tl,h[a.abbrev()]},_drawCoords:function(a,b){a.beginPath(),a.moveTo(b[0],b[1]),a.lineTo(b[2],b[3]),a.lineTo(b[4],b[5]),a.closePath()},create:function(){var a=this.corner=(lb||ab.ie)&&this._parseCorner(this.options.corner);return(this.enabled=!!this.corner&&"c"!==this.corner.abbrev())&&(this.qtip.cache.corner=a.clone(),this.update()),this.element.toggle(this.enabled),this.corner},update:function(b,c){if(!this.enabled)return this;var e,f,g,h,i,j,k,l,m=this.qtip.elements,n=this.element,o=n.children(),p=this.options,q=this.size,r=p.mimic,s=Math.round;b||(b=this.qtip.cache.corner||this.corner),r===C?r=b:(r=new y(r),r.precedance=b.precedance,"inherit"===r.x?r.x=b.x:"inherit"===r.y?r.y=b.y:r.x===r.y&&(r[b.precedance]=b[b.precedance])),f=r.precedance,b.precedance===E?this._swapDimensions():this._resetDimensions(),e=this.color=this._parseColours(b),e[1]!==jb?(l=this.border=this._parseWidth(b,b[b.precedance]),p.border&&1>l&&!mb.test(e[1])&&(e[0]=e[1]),this.border=l=p.border!==B?p.border:l):this.border=l=0,k=this.size=this._calculateSize(b),n.css({width:k[0],height:k[1],lineHeight:k[1]+"px"}),j=b.precedance===F?[s(r.x===J?l:r.x===L?k[0]-q[0]-l:(k[0]-q[0])/2),s(r.y===I?k[1]-q[1]:0)]:[s(r.x===J?k[0]-q[0]:0),s(r.y===I?l:r.y===K?k[1]-q[1]-l:(k[1]-q[1])/2)],lb?(g=o[0].getContext("2d"),g.restore(),g.save(),g.clearRect(0,0,6e3,6e3),h=this._calculateTip(r,q,rb),i=this._calculateTip(r,this.size,rb),o.attr(G,k[0]*rb).attr(H,k[1]*rb),o.css(G,k[0]).css(H,k[1]),this._drawCoords(g,i),g.fillStyle=e[1],g.fill(),g.translate(j[0]*rb,j[1]*rb),this._drawCoords(g,h),g.fillStyle=e[0],g.fill()):(h=this._calculateTip(r),h="m"+h[0]+","+h[1]+" l"+h[2]+","+h[3]+" "+h[4]+","+h[5]+" xe",j[2]=l&&/^(r|b)/i.test(b.string())?8===ab.ie?2:1:0,o.css({coordsize:k[0]+l+" "+(k[1]+l),antialias:""+(r.string().indexOf(M)>-1),left:j[0]-j[2]*Number(f===E),top:j[1]-j[2]*Number(f===F),width:k[0]+l,height:k[1]+l}).each(function(a){var b=d(this);b[b.prop?"prop":"attr"]({coordsize:k[0]+l+" "+(k[1]+l),path:h,fillcolor:e[0],filled:!!a,stroked:!a}).toggle(!(!l&&!a)),!a&&b.html(sb("stroke",'weight="'+2*l+'px" color="'+e[1]+'" miterlimit="1000" joinstyle="miter"'))})),a.opera&&setTimeout(function(){m.tip.css({display:"inline-block",visibility:"visible"})},1),c!==C&&this.calculate(b,k)},calculate:function(a,b){if(!this.enabled)return C;var c,e,f=this,g=this.qtip.elements,h=this.element,i=this.options.offset,j=(g.tooltip.hasClass("ui-widget"),{});return a=a||this.corner,c=a.precedance,b=b||this._calculateSize(a),e=[a.x,a.y],c===E&&e.reverse(),d.each(e,function(d,e){var h,k,l;e===M?(h=c===F?J:I,j[h]="50%",j[fb+"-"+h]=-Math.round(b[c===F?0:1]/2)+i):(h=f._parseWidth(a,e,g.tooltip),k=f._parseWidth(a,e,g.content),l=f._parseRadius(a),j[e]=Math.max(-f.border,d?k:i+(l>h?l:-h)))
     4}),j[a[c]]-=b[c===E?0:1],h.css({margin:"",top:"",bottom:"",left:"",right:""}).css(j),j},reposition:function(a,b,d){function e(a,b,c,d,e){a===N&&j.precedance===b&&k[d]&&j[c]!==M?j.precedance=j.precedance===E?F:E:a!==N&&k[d]&&(j[b]=j[b]===M?k[d]>0?d:e:j[b]===d?e:d)}function f(a,b,e){j[a]===M?p[fb+"-"+b]=o[a]=g[fb+"-"+b]-k[b]:(h=g[e]!==c?[k[b],-g[b]]:[-k[b],g[b]],(o[a]=Math.max(h[0],h[1]))>h[0]&&(d[b]-=k[b],o[b]=C),p[g[e]!==c?e:b]=o[a])}if(this.enabled){var g,h,i=b.cache,j=this.corner.clone(),k=d.adjusted,l=b.options.position.adjust.method.split(" "),m=l[0],n=l[1]||l[0],o={left:C,top:C,x:0,y:0},p={};this.corner.fixed!==B&&(e(m,E,F,J,L),e(n,F,E,I,K),(j.string()!==i.corner.string()||i.cornerTop!==k.top||i.cornerLeft!==k.left)&&this.update(j,C)),g=this.calculate(j),g.right!==c&&(g.left=-g.right),g.bottom!==c&&(g.top=-g.bottom),g.user=this.offset,(o.left=m===N&&!!k.left)&&f(E,J,L),(o.top=n===N&&!!k.top)&&f(F,I,K),this.element.css(p).toggle(!(o.x&&o.y||j.x===M&&o.y||j.y===M&&o.x)),d.left-=g.left.charAt?g.user:m!==N||o.top||!o.left&&!o.top?g.left+this.border:0,d.top-=g.top.charAt?g.user:n!==N||o.left||!o.left&&!o.top?g.top+this.border:0,i.cornerLeft=k.left,i.cornerTop=k.top,i.corner=j.clone()}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),eb=O.tip=function(a){return new v(a,a.options.style.tip)},eb.initialize="render",eb.sanitize=function(a){if(a.style&&"tip"in a.style){var b=a.style.tip;"object"!=typeof b&&(b=a.style.tip={corner:b}),/string|boolean/i.test(typeof b.corner)||(b.corner=B)}},z.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(a){this.size=[a.width,a.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},d.extend(B,w.defaults,{style:{tip:{corner:B,mimic:C,width:6,height:6,border:B,offset:0}}})})}(window,document);
     5//# sourceMappingURL=jquery.qtip.min.js.map
  • codepress-admin-columns/trunk/languages/cpac-sv_SE.po

    r1042023 r1103918  
    11#
    22# Translators:
    3 # Fredrik Andersson <[email protected]>, 2013-2014
     3# Fredrik Andersson <[email protected]>, 2013-2015
    44# Tobias Schutter <[email protected]>, 2013
    55msgid ""
     
    88"Report-Msgid-Bugs-To: \n"
    99"POT-Creation-Date: 2014-12-10 17:02+0100\n"
    10 "PO-Revision-Date: 2014-12-10 17:24+0100\n"
     10"PO-Revision-Date: 2015-01-30 16:20+0100\n"
    1111"Last-Translator: Codepress <[email protected]>\n"
    1212"Language-Team: Swedish (Sweden) (http://www.transifex.com/projects/p/admin-columns/language/sv_SE/)\n"
     
    1616"Language: sv_SE\n"
    1717"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    18 "X-Generator: Poedit 1.7.1\n"
     18"X-Generator: Poedit 1.7.3\n"
    1919"X-Poedit-Basepath: .\n"
    2020"X-Poedit-KeywordsList: __;_e\n"
     
    3737#: ../classes/addons.php:141
    3838msgid "WooCommerce"
    39 msgstr ""
     39msgstr "WooCommerce"
    4040
    4141#: ../classes/addons.php:142
    4242msgid "Enhance the products, orders and coupons overviews with new columns and inline editing."
    43 msgstr ""
     43msgstr "Förbättra de produkter, ordrar och kupongers översikter med nya kolumner och snabbredigering."
    4444
    4545#: ../classes/column.php:500
     
    162162#: ../classes/column/acf-placeholder.php:32
    163163msgid "This feature is only available in Admin Columns Pro - Business or Developer."
    164 msgstr ""
     164msgstr "Den här funktionen är endast tillgänglig i Admin Columns Pro - Företag eller utvecklare."
    165165
    166166#: ../classes/column/acf-placeholder.php:35
     
    183183#: ../classes/column/actions.php:87
    184184msgid "Use icons?"
    185 msgstr ""
     185msgstr "Använda ikoner?"
    186186
    187187#: ../classes/column/actions.php:87
    188188msgid "Use icons instead of text for displaying the actions."
    189 msgstr ""
     189msgstr "Använda ikoner istället för text för att visa åtgärder."
    190190
    191191#: ../classes/column/actions.php:91 ../classes/column/post/permalink.php:72 ../classes/column/used-by-menu.php:137
    192192msgid "Yes"
    193 msgstr ""
     193msgstr "Ja"
    194194
    195195#: ../classes/column/actions.php:95 ../classes/column/post/permalink.php:76 ../classes/column/used-by-menu.php:141
    196196msgid "No"
    197 msgstr ""
     197msgstr "Nej"
    198198
    199199#: ../classes/column/comment/actions.php:76 ../classes/column/comment/actions.php:81
     
    595595#: ../classes/column/post/path.php:19
    596596msgid "Path"
    597 msgstr ""
     597msgstr "Sökväg"
    598598
    599599#: ../classes/column/post/permalink.php:19
     
    603603#: ../classes/column/post/permalink.php:68
    604604msgid "Link to post"
    605 msgstr ""
     605msgstr "Länka till inlägg"
    606606
    607607#: ../classes/column/post/permalink.php:68
    608608msgid "This will make the permalink clickable."
    609 msgstr ""
     609msgstr "Detta gör länken klickbar."
    610610
    611611#: ../classes/column/post/ping-status.php:19
     
    655655#: ../classes/column/post/title-raw.php:19
    656656msgid "Title without actions"
    657 msgstr ""
     657msgstr "Titel utan åtgärder"
    658658
    659659#: ../classes/column/taxonomy.php:20 ../classes/column/taxonomy.php:79
     
    663663#: ../classes/column/used-by-menu.php:20
    664664msgid "Used by Menu"
    665 msgstr ""
     665msgstr "Använd av meny"
    666666
    667667#: ../classes/column/used-by-menu.php:133
    668668msgid "Link to menu"
    669 msgstr ""
     669msgstr "Länk till meny"
    670670
    671671#: ../classes/column/used-by-menu.php:133
    672672msgid "This will make the title link to the menu."
    673 msgstr ""
     673msgstr "Detta gör att titeln länkas till menyn."
    674674
    675675#: ../classes/column/user/comment-count.php:19
     
    926926#: ../classes/settings.php:523
    927927msgid "Show \"Edit Columns\" button on admin screens. Default is <code>on</code>."
    928 msgstr ""
     928msgstr "Visa \"Redigera kolumner\" knappen i adminmenyn. Standard är <code>på</code>."
    929929
    930930#: ../classes/settings.php:530 ../classes/settings.php:660
     
    10171017#: ../classes/settings.php:725
    10181018msgid "Are you happy with Admin Columns?"
    1019 msgstr ""
     1019msgstr "Är du nöjd med Admin Columns?"
    10201020
    10211021#: ../classes/settings.php:733
    10221022msgid "What's wrong? Need help? Let us know!"
    1023 msgstr ""
     1023msgstr "Vad är fel? Behöver hjälp? Låt oss veta!"
    10241024
    10251025#: ../classes/settings.php:734
    10261026msgid "Check out our extensive documentation, or you can open a support topic on WordPress.org!"
    1027 msgstr ""
     1027msgstr "Kolla in vår omfattande dokumentation, eller så kan du öppna ett support tråd på WordPress.org!"
    10281028
    10291029#: ../classes/settings.php:742
    10301030msgid "Docs"
    1031 msgstr ""
     1031msgstr "Dokumentation"
    10321032
    10331033#: ../classes/settings.php:747
    10341034msgid "Forums"
    1035 msgstr ""
     1035msgstr "Forum"
    10361036
    10371037#: ../classes/settings.php:756
    10381038msgid "Woohoo! We're glad to hear that!"
    1039 msgstr ""
     1039msgstr "Woohoo! Vi är glada att höra det!"
    10401040
    10411041#: ../classes/settings.php:757
    10421042msgid "We would really love it if you could show your appreciation by giving us a rating on WordPress.org or tweet about Admin Columns!"
    1043 msgstr ""
     1043msgstr "Vi skulle verkligen älska om du kunde visa din uppskattning genom att ge oss ett omdöme på WordPress.org eller twittra om Admin Columns!"
    10441044
    10451045#: ../classes/settings.php:761
    10461046msgid "Rate"
    1047 msgstr ""
     1047msgstr "Omdöme"
    10481048
    10491049#: ../classes/settings.php:772
    10501050msgid "Tweet"
    1051 msgstr ""
     1051msgstr "Twittra"
    10521052
    10531053#: ../classes/settings.php:782
    10541054msgid "Buy Pro"
    1055 msgstr ""
     1055msgstr "Köp Pro"
    10561056
    10571057#: ../classes/settings.php:794
     
    11321132#: ../classes/upgrade.php:62
    11331133msgid ""
    1134 "<strong>Important:</strong> We&#39;ve noticed that you&#39;re using the <em>Pro add-on</em>, which is no longer supported by Admin Columns 2.2+. However, a free license of <strong>Admin Columns Pro</strong> <a href="
    1135 "\"http://www.admincolumns.com/pro-addon-information/\" target=\"_blank\">is available</a>, which features a bunch of cool new features, including Direct Inline Editing!"
    1136 msgstr ""
     1134"<strong>Important:</strong> We&#39;ve noticed that you&#39;re using the <em>Pro add-on</em>, which is no longer supported by Admin Columns 2.2+. However, a free license of <strong>Admin Columns Pro</strong> <a href=\"http://www.admincolumns.com/pro-addon-information/\" target=\"_blank\">is available</a>, which features a bunch of cool new features, including Direct "
     1135"Inline Editing!"
     1136msgstr "<strong>Viktigt:</strong> Vi&#39; har noterat att du använder <em>Pro tillägget</em>, vilket inte längre stöds av Admin Columns 2.2+. Dock, en fri licens av <strong>Admin Columns Pro</strong> <a href=\"http://www.admincolumns.com/pro-addon-information/\" target=\"_blank\">är tillgänglig</a>, som har en massa häftiga nya funktioner och inkluderar snabbredigering!"
    11371137
    11381138#: ../classes/upgrade.php:95
  • codepress-admin-columns/trunk/languages/cpac.po

    r1079055 r1103918  
    33"Project-Id-Version: Codepress Admin Columns\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2014-12-20 00:05+0100\n"
    6 "PO-Revision-Date: 2014-12-20 00:05+0100\n"
     5"POT-Creation-Date: 2015-02-23 10:18+0100\n"
     6"PO-Revision-Date: 2015-02-23 10:18+0100\n"
    77"Last-Translator: Codepress <[email protected]>\n"
    88"Language-Team: Codepress <[email protected]>\n"
     
    1414"X-Poedit-Basepath: .\n"
    1515"X-Poedit-SourceCharset: UTF-8\n"
    16 "X-Generator: Poedit 1.7.1\n"
     16"X-Generator: Poedit 1.7.4\n"
    1717"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    1818"X-Poedit-SearchPath-0: .\n"
     
    2020
    2121#: ../classes/addons.php:110
    22 msgid "Third party plugin integration"
     22msgid "Plugins"
    2323msgstr ""
    2424
     
    4343msgstr ""
    4444
    45 #: ../classes/column.php:500
     45#: ../classes/column.php:567
    4646msgid "Thumbnail"
    4747msgstr ""
    4848
    49 #: ../classes/column.php:501
     49#: ../classes/column.php:568
    5050msgid "Medium"
    5151msgstr ""
    5252
    53 #: ../classes/column.php:502
     53#: ../classes/column.php:569
    5454msgid "Large"
    5555msgstr ""
    5656
    57 #: ../classes/column.php:503
     57#: ../classes/column.php:570
    5858msgid "Full"
    5959msgstr ""
    6060
    61 #: ../classes/column.php:902
     61#: ../classes/column.php:1002
    6262msgid "Date Format"
    6363msgstr ""
    6464
    65 #: ../classes/column.php:903
     65#: ../classes/column.php:1003
    6666msgid "This will determine how the date will be displayed."
    6767msgstr ""
    6868
    69 #: ../classes/column.php:909
     69#: ../classes/column.php:1009
    7070msgid "Example:"
    7171msgstr ""
    7272
    73 #: ../classes/column.php:911
     73#: ../classes/column.php:1011
    7474#, php-format
    7575msgid ""
     
    7878msgstr ""
    7979
    80 #: ../classes/column.php:912
     80#: ../classes/column.php:1012
    8181msgid "Documentation on date and time formatting."
    8282msgstr ""
    8383
    84 #: ../classes/column.php:926
     84#: ../classes/column.php:1026
    8585msgid "Excerpt length"
    8686msgstr ""
    8787
    88 #: ../classes/column.php:927
     88#: ../classes/column.php:1027
    8989msgid "Number of words"
    9090msgstr ""
    9191
    92 #: ../classes/column.php:945
     92#: ../classes/column.php:1045
    9393msgid "Preview size"
    9494msgstr ""
    9595
    96 #: ../classes/column.php:962 ../classes/storage_model.php:541
     96#: ../classes/column.php:1062 ../classes/storage_model.php:573
    9797msgid "Custom"
    9898msgstr ""
    9999
    100 #: ../classes/column.php:965
     100#: ../classes/column.php:1065
    101101msgid "width"
    102102msgstr ""
    103103
    104 #: ../classes/column.php:968
     104#: ../classes/column.php:1068
    105105msgid "height"
    106106msgstr ""
    107107
    108 #: ../classes/column.php:982
     108#: ../classes/column.php:1080
    109109msgid "Before"
    110110msgstr ""
    111111
    112 #: ../classes/column.php:982
     112#: ../classes/column.php:1080
    113113msgid "This text will appear before the custom field value."
    114114msgstr ""
    115115
    116 #: ../classes/column.php:988
     116#: ../classes/column.php:1081
    117117msgid "After"
    118118msgstr ""
    119119
    120 #: ../classes/column.php:988
     120#: ../classes/column.php:1081
    121121msgid "This text will appear after the custom field value."
    122122msgstr ""
    123123
    124 #: ../classes/column.php:1002
     124#: ../classes/column.php:1090
    125125msgid "Display Name"
    126126msgstr ""
    127127
    128 #: ../classes/column.php:1003
     128#: ../classes/column.php:1091
    129129msgid "First Name"
    130130msgstr ""
    131131
    132 #: ../classes/column.php:1004
     132#: ../classes/column.php:1092
    133133msgid "Last Name"
    134134msgstr ""
    135135
    136 #: ../classes/column.php:1005 ../classes/column/user/nickname.php:19
     136#: ../classes/column.php:1093 ../classes/column/user/nickname.php:19
    137137msgid "Nickname"
    138138msgstr ""
    139139
    140 #: ../classes/column.php:1006
     140#: ../classes/column.php:1094
    141141msgid "User Login"
    142142msgstr ""
    143143
    144 #: ../classes/column.php:1007
     144#: ../classes/column.php:1095
    145145msgid "User Email"
    146146msgstr ""
    147147
    148 #: ../classes/column.php:1008 ../classes/column/user/ID.php:19
     148#: ../classes/column.php:1096 ../classes/column/user/ID.php:19
    149149msgid "User ID"
    150150msgstr ""
    151151
    152 #: ../classes/column.php:1009
     152#: ../classes/column.php:1097
    153153msgid "First and Last Name"
    154154msgstr ""
    155155
    156 #: ../classes/column.php:1014
     156#: ../classes/column.php:1100
    157157msgid "Display format"
    158158msgstr ""
    159159
    160 #: ../classes/column.php:1014
     160#: ../classes/column.php:1100
    161161msgid "This is the format of the author name."
    162162msgstr ""
    163163
    164 #: ../classes/column.php:1112 ../classes/column/comment/actions.php:99
    165 #: ../classes/column/link/actions.php:48 ../classes/column/post/actions.php:31
    166 #: ../classes/column/user/actions.php:69
     164#: ../classes/column.php:1230 ../classes/column/comment/actions.php:99
     165#: ../classes/column/link/actions.php:48
     166#: ../classes/column/media/actions.php:25
     167#: ../classes/column/media/actions.php:39
     168#: ../classes/column/post/actions.php:32 ../classes/column/user/actions.php:69
    167169msgid "Edit"
    168170msgstr ""
    169171
    170 #: ../classes/column.php:1113 ../classes/column.php:1191
     172#: ../classes/column.php:1232 ../classes/column.php:1313
     173msgid "Clone"
     174msgstr ""
     175
     176#: ../classes/column.php:1234 ../classes/column.php:1315
    171177#: ../classes/column/user/actions.php:77
    172178msgid "Remove"
    173179msgstr ""
    174180
    175 #: ../classes/column.php:1131
     181#: ../classes/column.php:1252
    176182msgid "Type"
    177183msgstr ""
    178184
    179 #: ../classes/column.php:1131
     185#: ../classes/column.php:1252
    180186msgid "Choose a column type."
    181187msgstr ""
    182188
    183 #: ../classes/column.php:1131 ../classes/column/comment/ID.php:19
    184 #: ../classes/column/link/ID.php:19 ../classes/column/media/ID.php:19
    185 #: ../classes/column/post/ID.php:19
    186 msgid "ID"
    187 msgstr ""
    188 
    189 #: ../classes/column.php:1141
     189#: ../classes/column.php:1252
     190msgid "Name"
     191msgstr ""
     192
     193#: ../classes/column.php:1262
    190194msgid "Label"
    191195msgstr ""
    192196
    193 #: ../classes/column.php:1141
     197#: ../classes/column.php:1262
    194198msgid "This is the name which will appear as the column header."
    195199msgstr ""
    196200
    197 #: ../classes/column.php:1148 ../classes/column/media/width.php:19
     201#: ../classes/column.php:1269 ../classes/column/media/width.php:19
    198202msgid "Width"
    199203msgstr ""
    200204
    201 #: ../classes/column.php:1150 ../classes/column.php:1151
     205#: ../classes/column.php:1271 ../classes/column.php:1272
    202206msgid "default"
    203207msgstr ""
     
    231235
    232236#: ../classes/column/actions.php:29 ../classes/column/comment/actions.php:19
    233 #: ../classes/column/link/actions.php:19
    234 #: ../classes/column/media/actions.php:20
    235 #: ../classes/column/user/actions.php:19
     237#: ../classes/column/link/actions.php:19 ../classes/column/user/actions.php:19
    236238msgid "Actions"
    237239msgstr ""
    238240
    239 #: ../classes/column/actions.php:87
     241#: ../classes/column/actions.php:96
    240242msgid "Use icons?"
    241243msgstr ""
    242244
    243 #: ../classes/column/actions.php:87
     245#: ../classes/column/actions.php:96
    244246msgid "Use icons instead of text for displaying the actions."
    245247msgstr ""
    246248
    247 #: ../classes/column/actions.php:91 ../classes/column/post/permalink.php:72
     249#: ../classes/column/actions.php:100 ../classes/column/post/permalink.php:72
    248250#: ../classes/column/used-by-menu.php:137
    249251msgid "Yes"
    250252msgstr ""
    251253
    252 #: ../classes/column/actions.php:95 ../classes/column/post/permalink.php:76
     254#: ../classes/column/actions.php:104 ../classes/column/post/permalink.php:76
    253255#: ../classes/column/used-by-menu.php:141
    254256msgid "No"
     257msgstr ""
     258
     259#: ../classes/column/comment/ID.php:19 ../classes/column/link/ID.php:19
     260#: ../classes/column/media/ID.php:19 ../classes/column/post/ID.php:19
     261msgid "ID"
    255262msgstr ""
    256263
     
    266273
    267274#: ../classes/column/comment/actions.php:89
    268 #: ../classes/column/post/actions.php:39 ../classes/settings.php:665
     275#: ../classes/column/media/actions.php:42
     276#: ../classes/column/post/actions.php:40 ../classes/settings.php:670
    269277msgid "Restore"
    270278msgstr ""
    271279
    272280#: ../classes/column/comment/actions.php:93
    273 #: ../classes/column/post/actions.php:43
     281#: ../classes/column/media/actions.php:31
     282#: ../classes/column/media/actions.php:47
     283#: ../classes/column/post/actions.php:44
    274284msgid "Delete Permanently"
    275285msgstr ""
    276286
    277287#: ../classes/column/comment/actions.php:100
    278 #: ../classes/column/post/actions.php:34
     288#: ../classes/column/post/actions.php:35
    279289msgid "Quick&nbsp;Edit"
    280290msgstr ""
     
    344354
    345355#: ../classes/column/custom-field.php:23
    346 #: ../classes/column/custom-field.php:378 ../classes/settings.php:305
     356#: ../classes/column/custom-field.php:388 ../classes/settings.php:305
    347357msgid "Custom Field"
    348358msgstr ""
    349359
    350360#: ../classes/column/custom-field.php:94 ../classes/settings.php:310
    351 #: ../classes/storage_model.php:542
     361#: ../classes/storage_model.php:574
    352362msgid "Default"
    353363msgstr ""
     
    395405msgstr ""
    396406
    397 #: ../classes/column/custom-field.php:378
     407#: ../classes/column/custom-field.php:388
    398408msgid "Select your custom field."
    399409msgstr ""
    400410
    401 #: ../classes/column/custom-field.php:388
     411#: ../classes/column/custom-field.php:398
    402412msgid "No custom fields available."
    403413msgstr ""
    404414
    405 #: ../classes/column/custom-field.php:395
     415#: ../classes/column/custom-field.php:405
    406416msgid "Field Type"
    407417msgstr ""
    408418
    409 #: ../classes/column/custom-field.php:395
     419#: ../classes/column/custom-field.php:405
    410420msgid "This will determine how the value will be displayed."
    411421msgstr ""
     
    448458msgstr ""
    449459
     460#: ../classes/column/media/actions.php:28
     461#: ../classes/column/media/actions.php:44
     462#: ../classes/column/post/actions.php:42
     463#: ../classes/column/post/comment-count.php:38
     464#: ../classes/column/post/status.php:35
     465msgid "Trash"
     466msgstr ""
     467
     468#: ../classes/column/media/actions.php:33
     469#: ../classes/column/media/actions.php:52
     470#: ../classes/column/post/actions.php:51
     471#, php-format
     472msgid "View &#8220;%s&#8221;"
     473msgstr ""
     474
     475#: ../classes/column/media/actions.php:33
     476#: ../classes/column/media/actions.php:52
     477#: ../classes/column/post/actions.php:51 ../classes/storage_model.php:783
     478msgid "View"
     479msgstr ""
     480
     481#: ../classes/column/media/actions.php:35
     482msgid "Attach"
     483msgstr ""
     484
    450485#: ../classes/column/media/alternate-text.php:19
    451486msgid "Alt"
     
    518553
    519554#: ../classes/column/media/full-path.php:19
     555#: ../classes/column/media/full-path.php:92
    520556msgid "Full path"
     557msgstr ""
     558
     559#: ../classes/column/media/full-path.php:83
     560msgid "Path scope"
     561msgstr ""
     562
     563#: ../classes/column/media/full-path.php:84
     564msgid "Part of the file path to display"
     565msgstr ""
     566
     567#: ../classes/column/media/full-path.php:97
     568msgid "Relative to domain"
     569msgstr ""
     570
     571#: ../classes/column/media/full-path.php:102
     572msgid "Relative to main uploads folder "
    521573msgstr ""
    522574
     
    529581msgstr ""
    530582
    531 #: ../classes/column/post/actions.php:31
     583#: ../classes/column/post/actions.php:32
    532584msgid "Edit this item"
    533585msgstr ""
    534586
    535 #: ../classes/column/post/actions.php:34
     587#: ../classes/column/post/actions.php:35
    536588msgid "Edit this item inline"
    537589msgstr ""
    538590
    539 #: ../classes/column/post/actions.php:39
     591#: ../classes/column/post/actions.php:40
    540592msgid "Restore this item from the Trash"
    541593msgstr ""
    542594
    543 #: ../classes/column/post/actions.php:41
     595#: ../classes/column/post/actions.php:42
    544596msgid "Move this item to the Trash"
    545597msgstr ""
    546598
    547 #: ../classes/column/post/actions.php:41
    548 #: ../classes/column/post/comment-count.php:38
    549 #: ../classes/column/post/status.php:35
    550 msgid "Trash"
    551 msgstr ""
    552 
    553 #: ../classes/column/post/actions.php:43
     599#: ../classes/column/post/actions.php:44
    554600msgid "Delete this item permanently"
    555601msgstr ""
    556602
    557 #: ../classes/column/post/actions.php:48
     603#: ../classes/column/post/actions.php:49
    558604#, php-format
    559605msgid "Preview &#8220;%s&#8221;"
    560606msgstr ""
    561607
    562 #: ../classes/column/post/actions.php:48
     608#: ../classes/column/post/actions.php:49
    563609msgid "Preview"
    564 msgstr ""
    565 
    566 #: ../classes/column/post/actions.php:50
    567 #, php-format
    568 msgid "View &#8220;%s&#8221;"
    569 msgstr ""
    570 
    571 #: ../classes/column/post/actions.php:50 ../classes/storage_model.php:753
    572 msgid "View"
    573610msgstr ""
    574611
     
    614651msgstr ""
    615652
     653#: ../classes/column/post/depth.php:19
     654msgid "Depth"
     655msgstr ""
     656
     657#: ../classes/column/post/estimated-reading-time.php:19
     658msgid "Estimated Reading Time"
     659msgstr ""
     660
     661#: ../classes/column/post/estimated-reading-time.php:103
     662msgid "Words per minute"
     663msgstr ""
     664
     665#: ../classes/column/post/estimated-reading-time.php:104
     666msgid "Estimated reading time in words per minute"
     667msgstr ""
     668
    616669#: ../classes/column/post/featured-image.php:19
    617670msgid "Featured Image"
     
    706759msgstr ""
    707760
    708 #: ../classes/column/taxonomy.php:20 ../classes/column/taxonomy.php:79
     761#: ../classes/column/taxonomy.php:20 ../classes/column/taxonomy.php:87
    709762msgid "Taxonomy"
    710763msgstr ""
     
    726779msgstr ""
    727780
     781#: ../classes/column/user/display-name.php:19
     782msgid "Display name"
     783msgstr ""
     784
    728785#: ../classes/column/user/first-name.php:19
    729786msgid "First name"
     
    744801#: ../classes/column/user/registered.php:19
    745802msgid "Registered"
     803msgstr ""
     804
     805#: ../classes/column/user/rich-editing.php:19
     806msgid "Visual Editor"
    746807msgstr ""
    747808
     
    10121073msgstr ""
    10131074
    1014 #: ../classes/settings.php:530 ../classes/settings.php:660
     1075#: ../classes/settings.php:530 ../classes/settings.php:665
    10151076msgid "Save"
    10161077msgstr ""
     
    10341095msgstr ""
    10351096
    1036 #: ../classes/settings.php:599 ../codepress-admin-columns.php:326
     1097#: ../classes/settings.php:599 ../codepress-admin-columns.php:354
    10371098msgid "Settings"
    10381099msgstr ""
     
    10421103msgstr ""
    10431104
    1044 #: ../classes/settings.php:625
     1105#: ../classes/settings.php:630
    10451106msgid "Posttypes"
    10461107msgstr ""
    10471108
    1048 #: ../classes/settings.php:626
     1109#: ../classes/settings.php:631
    10491110msgid "Others"
    10501111msgstr ""
    10511112
    1052 #: ../classes/settings.php:627
     1113#: ../classes/settings.php:632
    10531114msgid "Taxonomies"
    10541115msgstr ""
    10551116
    1056 #: ../classes/settings.php:646
     1117#: ../classes/settings.php:651
    10571118#, php-format
    10581119msgid ""
     
    10611122msgstr ""
    10621123
    1063 #: ../classes/settings.php:656
     1124#: ../classes/settings.php:661
    10641125msgid "Store settings"
    10651126msgstr ""
    10661127
    1067 #: ../classes/settings.php:660
     1128#: ../classes/settings.php:665
    10681129msgid "Update"
    10691130msgstr ""
    10701131
    1071 #: ../classes/settings.php:664
     1132#: ../classes/settings.php:669
    10721133#, php-format
    10731134msgid ""
     
    10761137msgstr ""
    10771138
    1078 #: ../classes/settings.php:665
     1139#: ../classes/settings.php:670
    10791140msgid "columns"
    10801141msgstr ""
    10811142
    1082 #: ../classes/settings.php:684
     1143#: ../classes/settings.php:689
    10831144msgid "Get Admin Columns Pro"
    10841145msgstr ""
    10851146
    1086 #: ../classes/settings.php:688
     1147#: ../classes/settings.php:693
    10871148msgid "Add Sorting"
    10881149msgstr ""
    10891150
    1090 #: ../classes/settings.php:689
     1151#: ../classes/settings.php:694
    10911152msgid "Add Filtering"
    10921153msgstr ""
    10931154
    1094 #: ../classes/settings.php:690
     1155#: ../classes/settings.php:695
    10951156msgid "Add Import/Export"
    10961157msgstr ""
    10971158
    1098 #: ../classes/settings.php:691
     1159#: ../classes/settings.php:696
    10991160msgid "Add Direct Editing"
    11001161msgstr ""
    11011162
    1102 #: ../classes/settings.php:694
     1163#: ../classes/settings.php:699
    11031164#, php-format
    11041165msgid "Check out <a href=\"%s\">Admin Columns Pro</a> for more details!"
    11051166msgstr ""
    11061167
    1107 #: ../classes/settings.php:725
     1168#: ../classes/settings.php:730
    11081169msgid "Are you happy with Admin Columns?"
    11091170msgstr ""
    11101171
    1111 #: ../classes/settings.php:733
     1172#: ../classes/settings.php:738
    11121173msgid "What's wrong? Need help? Let us know!"
    11131174msgstr ""
    11141175
    1115 #: ../classes/settings.php:734
     1176#: ../classes/settings.php:739
    11161177msgid ""
    11171178"Check out our extensive documentation, or you can open a support topic on "
     
    11191180msgstr ""
    11201181
    1121 #: ../classes/settings.php:742
     1182#: ../classes/settings.php:747
    11221183msgid "Docs"
    11231184msgstr ""
    11241185
    1125 #: ../classes/settings.php:747
     1186#: ../classes/settings.php:752
    11261187msgid "Forums"
    11271188msgstr ""
    11281189
    1129 #: ../classes/settings.php:756
     1190#: ../classes/settings.php:761
    11301191msgid "Woohoo! We're glad to hear that!"
    11311192msgstr ""
    11321193
    1133 #: ../classes/settings.php:757
     1194#: ../classes/settings.php:762
    11341195msgid ""
    11351196"We would really love it if you could show your appreciation by giving us a "
     
    11371198msgstr ""
    11381199
    1139 #: ../classes/settings.php:761
     1200#: ../classes/settings.php:766
    11401201msgid "Rate"
    11411202msgstr ""
    11421203
    1143 #: ../classes/settings.php:772
     1204#: ../classes/settings.php:777
    11441205msgid "Tweet"
    11451206msgstr ""
    11461207
    1147 #: ../classes/settings.php:782
     1208#: ../classes/settings.php:787
    11481209msgid "Buy Pro"
    11491210msgstr ""
    11501211
    1151 #: ../classes/settings.php:794
     1212#: ../classes/settings.php:799
    11521213msgid "Support"
    11531214msgstr ""
    11541215
    1155 #: ../classes/settings.php:797
     1216#: ../classes/settings.php:802
    11561217msgid "Check the <strong>Help</strong> section in the top-right screen."
    11571218msgstr ""
    11581219
    1159 #: ../classes/settings.php:800
     1220#: ../classes/settings.php:805
    11601221#, php-format
    11611222msgid ""
     
    11641225msgstr ""
    11651226
    1166 #: ../classes/settings.php:829
     1227#: ../classes/settings.php:834
    11671228msgid "Drag and drop to reorder"
    11681229msgstr ""
    11691230
    1170 #: ../classes/settings.php:832
     1231#: ../classes/settings.php:837
    11711232msgid "Add Column"
    11721233msgstr ""
    11731234
    1174 #: ../classes/settings.php:908
     1235#: ../classes/settings.php:918
    11751236msgid "Active"
    11761237msgstr ""
    11771238
    1178 #: ../classes/settings.php:909
     1239#: ../classes/settings.php:919
    11791240msgid "Deactivate"
    11801241msgstr ""
    11811242
    1182 #: ../classes/settings.php:916
     1243#: ../classes/settings.php:926
    11831244msgid "Installed"
    11841245msgstr ""
    11851246
    1186 #: ../classes/settings.php:917
     1247#: ../classes/settings.php:927
    11871248msgid "Activate"
    11881249msgstr ""
    11891250
    1190 #: ../classes/settings.php:931
     1251#: ../classes/settings.php:941
    11911252msgid "Download & Install"
    11921253msgstr ""
    11931254
    1194 #: ../classes/settings.php:936
     1255#: ../classes/settings.php:946
    11951256msgid "Get this add-on"
    11961257msgstr ""
    11971258
    1198 #: ../classes/storage_model.php:213
     1259#: ../classes/storage_model.php:222
    11991260msgid "settings succesfully restored."
    12001261msgstr ""
    12011262
    1202 #: ../classes/storage_model.php:229
     1263#: ../classes/storage_model.php:238
    12031264msgid "No columns settings available."
    12041265msgstr ""
    12051266
    1206 #: ../classes/storage_model.php:250
     1267#: ../classes/storage_model.php:259
    12071268#, php-format
    12081269msgid "You are trying to store the same settings for %s."
    12091270msgstr ""
    12101271
    1211 #: ../classes/storage_model.php:254
     1272#: ../classes/storage_model.php:263
    12121273#, php-format
    12131274msgid "Settings for %s updated succesfully."
     
    12901351msgstr ""
    12911352
    1292 #: ../codepress-admin-columns.php:390
     1353#: ../codepress-admin-columns.php:424
    12931354msgid "Edit columns"
    12941355msgstr ""
  • codepress-admin-columns/trunk/readme.txt

    r1079055 r1103918  
    44Tags: plugins, wordpress, admin, column, columns, custom columns, custom fields, image, dashboard, sortable, filters, posts, media, users, pages, posttypes, manage columns, wp-admin
    55Requires at least: 3.5
    6 Tested up to: 4.1
    7 Stable tag: 2.3.3
     6Tested up to: 4.1.1
     7Stable tag: 2.3.5
    88
    99Customise columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
     
    250250== Changelog ==
    251251
     252= 2.3.5 =
     253* [Added] Added a width indicator to the column settings header
     254
     255= 2.3.4 =
     256* [Added] A column can have it's own JS/CSS files by using the CPAC_Column::scripts() method
     257* [Added] Column Name can be found by hovering over the "Type" label in your column settings
     258* [Fixed] Fixed a quick edit issue for comments
     259* [Fixed] is_field() method of the custom field column works as intended
     260
    252261= 2.3.3 =
    253262* [Added] Added user column: Visual Editor
     
    255264* [Added] Added method CPAC_Column::get_sorting_value()
    256265* [Added] Added user column display name
     266* [Fixed] fixed wordcount issue with PHP 5.3 or lower
    257267* [Fixed] Fixed media actions column
    258268
Note: See TracChangeset for help on using the changeset viewer.