Plugin Directory

Changeset 2678782


Ignore:
Timestamp:
02/15/2022 04:33:14 AM (4 years ago)
Author:
tauri77
Message:

Version 1.0.2

Location:
cute-mediainfo/trunk
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • cute-mediainfo/trunk/admin/admin-init.php

    r2671068 r2678782  
    4848        return;
    4949    }
     50    // Unregister the post type, so the rules are no longer in memory.
     51    unregister_post_type( 'cute_mediainfo' );
     52    // Clear the permalinks to remove our post type rules from the database.
    5053    flush_rewrite_rules();
    5154}
  • cute-mediainfo/trunk/admin/assets/css/post-type-cute-mediainfo.css

    r2671068 r2678782  
    617617}
    618618
    619 .cutemi-field.cutemi-field-line label.cutemi-btn, /*override label for file input hack*/
    620 .cutemi-btn {
     619.cutemi-field.cutemi-field-line label.cutemi-adm-btn, /*override label for file input hack*/
     620.cutemi-adm-btn {
    621621    padding: 0.5em 1em;
    622622    display: inline-block;
     
    632632}
    633633
    634 .cutemi-btn:hover {
     634.cutemi-adm-btn:hover {
    635635    border: 1px solid #39C0F3;
    636636    background: #D1EBFF;
  • cute-mediainfo/trunk/admin/assets/css/settings.css

    r2671068 r2678782  
    314314    transition: opacity 0.2s, z-index 0.2s, max-height 0.2s;
    315315}
     316
     317.settings_page_settings_cute_mediainfo .wrap .notice {
     318    margin: 10px 0 3px !important;
     319}
  • cute-mediainfo/trunk/admin/assets/js/post-type-cute-mediainfo.js

    r2671068 r2678782  
    658658                var $localLabel = jQuery( '<label>' )
    659659                    .html( cutemiData.select_local_video )
    660                     .addClass( 'cutemi-btn' )
     660                    .addClass( 'cutemi-adm-btn' )
    661661                    .attr( 'for', 'cutemi-mediainfo-file' );
    662662
     
    677677
    678678            var $extractBtn = jQuery( '<a href="#"> </a>' )
    679                 .addClass( 'cutemi-btn' ).hide()
     679                .addClass( 'cutemi-adm-btn' ).hide()
    680680                .html( cutemiData.load_data_from_mediainfo )
    681681                .on( 'click', extractFromMediaInfo );
    682682
    683683            var $mediaBtn = jQuery( '<a href="#"> </a>' )
    684                 .addClass( 'cutemi-btn' )
     684                .addClass( 'cutemi-adm-btn' )
    685685                .html( cutemiData.select_from_media_library )
    686686                .on( 'click', mediaInfoFromWP );
  • cute-mediainfo/trunk/admin/customizer/class-cutemi-alpha-color-control.php

    r2671068 r2678782  
    3232            plugins_url( 'assets/alpha-color-picker.js', __FILE__ ),
    3333            array( 'jquery', 'wp-color-picker' ),
    34             '1.0.1',
     34            '1.0.2',
    3535            true
    3636        );
     
    3939            plugins_url( 'assets/alpha-color-picker.css', __FILE__ ),
    4040            array( 'wp-color-picker' ),
    41             '1.0.1'
     41            '1.0.2'
    4242        );
    4343    }
  • cute-mediainfo/trunk/admin/customizer/class-cutemi-customize-settings.php

    r2671068 r2678782  
    161161            plugins_url( 'assets/customizer.js', __FILE__ ),
    162162            array(),
    163             '1.0.1',
     163            '1.0.2',
    164164            true
    165165        );
  • cute-mediainfo/trunk/admin/includes/class-cutemi-settings-api.php

    r2671068 r2678782  
    9797                    $plugin_dir_url . 'admin/assets/jquery-ui/jquery-ui.css',
    9898                    false,
    99                     '1.0.1',
     99                    '1.0.2',
    100100                    false
    101101                );
     
    106106                $plugin_dir_url . 'admin/assets/css/settings.css',
    107107                false,
    108                 '1.0.1',
     108                '1.0.2',
    109109                false
    110110            );
     
    116116                $plugin_dir_url . 'admin/assets/js/settings.js',
    117117                array( 'jquery' ),
    118                 '1.0.1',
     118                '1.0.2',
    119119                false
    120120            );
  • cute-mediainfo/trunk/admin/includes/class-cutemi-taxonomy-customs-metas.php

    r2671068 r2678782  
    366366                $plugin_dir_url . 'admin/assets/css/tax-term.css',
    367367                false,
    368                 '1.0.1'
     368                '1.0.2'
    369369            );
    370370            wp_enqueue_style( 'cutemi_tax_term.css' );
     
    409409                break;
    410410            case 'select':
    411                 $meta_value = $meta_field['default'];
    412411                $this->field_select( $meta_field, $meta_value );
    413412                break;
     
    542541                    case 'select':
    543542                        // Check valid option
    544                         if ( in_array( $raw_value, array_keys( $meta_field['options'] ), true ) ) {
     543                        if ( array_key_exists( $raw_value, $meta_field['options'] ) ) {
    545544                            $sanitized_value = $raw_value;
    546545                        }
  • cute-mediainfo/trunk/cute-mediainfo.php

    r2671068 r2678782  
    22/*
    33 * Plugin Name: Cute MediaInfo
    4  * Plugin URI:  https://cutemi-docs.galetto.info/
     4 * Plugin URI:  https://galetto.info/cutemi-file-info-and-links/
    55 * Description: Mediainfo for humans. Cute way to display video file information.
    6  * Version:     1.0.1
     6 * Version:     1.0.2
    77 * Author:      Mauricio Galetto
    88 * Author URI:  https://geletto.info
     
    151151            plugin_dir_url( CUTE_MEDIAINFO_FILE ) . 'assets/js/svg-inject.min.js',
    152152            array( 'jquery' ),
    153             '1.0.1',
     153            '1.0.2',
    154154            false
    155155        );
  • cute-mediainfo/trunk/icon-packs/images/default/video-tech/VP8.svg

    r2671068 r2678782  
    1 <svg viewBox="0 0 126 84" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="103.88" x2="122.06" y1="10.76" y2="51.92"><stop offset="0" stop-color="#a2a2a2"/><stop offset="1" stop-color="#eee"/></linearGradient><linearGradient id="b" gradientUnits="userSpaceOnUse" spreadMethod="reflect" x1="103.88" x2="122.06" y1="10.76" y2="51.92"><stop offset="0" stop-color="#e0e0e0"/><stop offset="1" stop-color="#757575"/></linearGradient><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="60.44" x2="57.2" y1="78.14" y2="60.74"><stop offset="0" stop-color="#004d0a"/><stop offset="1" stop-color="#179731"/></linearGradient><linearGradient id="d" x1="54.95" x2="51.83" xlink:href="#a" y1="22.67" y2="6.23"/><linearGradient id="e" x1="55.97" x2="52.85" xlink:href="#a" y1="22.65" y2="6.21"/><linearGradient id="f" gradientUnits="userSpaceOnUse" spreadMethod="reflect" x1="51.5" x2="61.58" y1="8.37" y2="29.93"><stop offset="0" stop-color="#002580"/><stop offset="1" stop-color="#3042e4"/></linearGradient><path d="m4.01 52.84v18.67a6.14 6.14 0 0 0 6.14 6.14h105.69c3.4 0 6.14-2.75 6.14-6.14v-18.67z" fill="url(#c)" stroke="#075a17"/><path d="m10.16 6.35a6.09 6.09 0 0 0 -4.34 1.8 6.23 6.23 0 0 0 -1.34 1.99c-.3.75-.46 1.55-.46 2.35v39.35h117.97v-39.35a6.16 6.16 0 0 0 -6.14-6.14z" fill="url(#b)" stroke="#898989"/><g stroke-width=".25"><path d="m4.87 17.44c0-1.77.37-3.15 1.1-4.14a3.55 3.55 0 0 1 3-1.48c2.72 0 4.08 1.88 4.08 5.62 0 1.82-.37 3.23-1.1 4.21a3.52 3.52 0 0 1 -2.98 1.48c-2.74 0-4.1-1.9-4.1-5.7m-1.9-6.4c-1.53 1.63-2.29 3.77-2.29 6.39 0 2.72.73 4.9 2.18 6.53s3.48 2.45 6.1 2.45c2.56 0 4.58-.81 6.05-2.43s2.21-3.8 2.21-6.54c0-2.76-.72-4.93-2.17-6.51-1.45-1.59-3.48-2.38-6.1-2.38-2.48 0-4.48.82-6 2.47m23.25-.53.01-1.6h-3.65v17.2h4.02v-12.44c.38-.5.9-.9 1.57-1.24a4.3 4.3 0 0 1 1.89-.5c1.27 0 2.19.34 2.75 1.01.56.68.85 1.75.85 3.22v9.95h4.02v-10.56c0-2.2-.6-3.9-1.78-5.13s-2.8-1.84-4.85-1.84c-2.13 0-3.74.64-4.84 1.93" fill="url(#d)" transform="translate(33.03 47.55)"/><path d="m45.57 10.04c-1.48.92-2.22 2.03-2.22 3.3 0 .74.23 1.36.7 1.87a2.4 2.4 0 0 0 1.86.77c.83 0 1.5-.22 2.04-.66.53-.44.8-1.03.8-1.77 0-.62-.08-1.18-.22-1.68-.15-.5-.3-.99-.46-1.46a4.5 4.5 0 0 1 1.83-.33c1.04 0 1.88.3 2.5.91.63.6.95 1.57.95 2.9a5 5 0 0 1 -.24 1.61c-.17.48-.44.93-.81 1.33-.38.44-.9.86-1.56 1.27-.66.4-1.48.86-2.45 1.37-.91.48-1.81 1.03-2.7 1.65s-1.7 1.3-2.44 2.06v2.83h16.07v-3.36h-12.17v-1.1c.6-.4 1.28-.75 2.05-1.04.76-.3 1.67-.57 2.7-.83a69 69 0 0 0 2.74-.76c.85-.26 1.62-.6 2.33-1a5.23 5.23 0 0 0 1.78-1.57c.4-.6.6-1.38.6-2.35 0-1.88-.76-3.25-2.28-4.1-1.52-.84-3.51-1.26-5.98-1.26a10 10 0 0 0 -5.42 1.4" fill="url(#e)" transform="translate(33.03 47.55)"/></g><path d="m30.83 18.1c-.34.1-.58.47-.58.85 0 .17.3 1.1 3.87 10.96a441.3 441.3 0 0 0 3.94 10.93c.27.48.69.75 1.27.92h5.1a2 2 0 0 0 1.24-.92c.06-.07 1.85-5 3.94-10.93 3.56-9.87 3.87-10.8 3.87-10.96a.85.85 0 0 0 -.62-.86c-.1-.07-.86-.07-1.64-.07s-1.58 0-1.75.07c-.48.1-.96.48-1.2.9-.1.16-1.37 3.76-2.74 7.56-2.13 6.1-3.36 9.87-3.4 10.38 0 0-.23-1.26-3.38-10.24-1.4-3.94-2.68-7.5-2.78-7.67a1.9 1.9 0 0 0 -1.2-.93c-.14-.07-1.06-.07-1.99-.07s-1.81 0-1.95.07zm26.76.85v21.89c.17.48.44.79.92.92l1.75.04c1.54 0 1.78 0 1.95-.07.41-.1.69-.38.82-.79.07-.2.07-.38.07-4v-3.81h2.88c2.95-.03 3.19-.03 4.08-.17 3.97-.62 6.33-2.84 6.33-7.26 0-4.46-2.32-6.79-6.13-7.47-1.16-.17-1.03-.17-6.54-.2-4.11 0-5.14 0-5.24.03-.45.17-.76.44-.9.89zm11.95 3.08c1.3.69 1.58 1.68 1.58 3.77 0 2.2-.58 3.36-2.26 3.84-.79.24-1.34.27-3.84.27h-2.02v-8.43h3.53c1.33 0 2.09.07 3.01.55zm11.06 2.02c0 2.57 1.35 4.22 3.4 4.87.2.2-3.9.54-3.9 5.89 0 3.12 1.02 5.27 2.84 6.47 1.23.86 2.8 1.27 5 1.27 5.14 0 7.81-2.57 7.81-7.74 0-1.71-.38-3.02-1.23-4.11a6.03 6.03 0 0 0 -2.37-1.61c-.27-.1-.34-.14-.27-.17.24-.07.82-.35 1.06-.48 1.4-.83 2.3-2.26 2.3-4.35 0-4.11-1.99-6.27-5.8-6.75-.37-.04-1.23-.04-1.91-.04-4.52 0-6.92 2.37-6.92 6.75zm9.7-.68v.78c0 1.44 0 1.75-.2 2.23-.24.76-1.06 1.1-2.16 1.1-2.26 0-2.43-1.03-2.43-3.43 0-2.12.27-2.77 1.16-3.05.38-.13.65-.17 1.4-.17 1.79.1 2.23.69 2.23 2.54zm-2.4 15.41c-2.4 0-2.46-1.2-2.53-3.73 0-1.68.04-2.57.24-3.19.2-.85 1.1-1.4 2.3-1.4s2.12.51 2.33 1.4c.2.62.24 1.51.24 3.19-.07 2.53-.18 3.73-2.57 3.73z" fill="url(#f)"/></svg>
     1<svg viewBox="0 0 126 84" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="103.88" x2="122.06" y1="10.76" y2="51.92"><stop offset="0" stop-color="#a2a2a2"/><stop offset="1" stop-color="#eee"/></linearGradient><linearGradient id="b" gradientUnits="userSpaceOnUse" spreadMethod="reflect" x1="103.88" x2="122.06" y1="10.76" y2="51.92"><stop offset="0" stop-color="#e0e0e0"/><stop offset="1" stop-color="#757575"/></linearGradient><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="60.44" x2="57.2" y1="78.14" y2="60.74"><stop offset="0" stop-color="#004d0a"/><stop offset="1" stop-color="#179731"/></linearGradient><linearGradient id="d" x1="54.95" x2="51.83" xlink:href="#a" y1="22.67" y2="6.23"/><linearGradient id="e" x1="55.97" x2="52.85" xlink:href="#a" y1="22.65" y2="6.21"/><linearGradient id="f" gradientUnits="userSpaceOnUse" spreadMethod="reflect" x1="51.5" x2="61.58" y1="8.37" y2="29.93"><stop offset="0" stop-color="#002580"/><stop offset="1" stop-color="#3042e4"/></linearGradient><path d="m4.01 52.84v18.67a6.14 6.14 0 0 0 6.14 6.14h105.69c3.4 0 6.14-2.75 6.14-6.14v-18.67z" fill="url(#c)" stroke="#075a17"/><path d="m10.16 6.35a6.09 6.09 0 0 0 -4.34 1.8 6.23 6.23 0 0 0 -1.34 1.99c-.3.75-.46 1.55-.46 2.35v39.35h117.97v-39.35a6.16 6.16 0 0 0 -6.14-6.14z" fill="url(#b)" stroke="#898989"/><g stroke-width=".25"><path d="m4.87 17.44c0-1.77.37-3.15 1.1-4.14a3.55 3.55 0 0 1 3-1.48c2.72 0 4.08 1.88 4.08 5.62 0 1.82-.37 3.23-1.1 4.21a3.52 3.52 0 0 1 -2.98 1.48c-2.74 0-4.1-1.9-4.1-5.7m-1.9-6.4c-1.53 1.63-2.29 3.77-2.29 6.39 0 2.72.73 4.9 2.18 6.53s3.48 2.45 6.1 2.45c2.56 0 4.58-.81 6.05-2.43s2.21-3.8 2.21-6.54c0-2.76-.72-4.93-2.17-6.51-1.45-1.59-3.48-2.38-6.1-2.38-2.48 0-4.48.82-6 2.47m23.25-.53.01-1.6h-3.65v17.2h4.02v-12.44c.38-.5.9-.9 1.57-1.24a4.3 4.3 0 0 1 1.89-.5c1.27 0 2.19.34 2.75 1.01.56.68.85 1.75.85 3.22v9.95h4.02v-10.56c0-2.2-.6-3.9-1.78-5.13s-2.8-1.84-4.85-1.84c-2.13 0-3.74.64-4.84 1.93" fill="url(#d)" transform="translate(33.03 47.55)"/><path d="m45.57 10.04c-1.48.92-2.22 2.03-2.22 3.3 0 .74.23 1.36.7 1.87a2.4 2.4 0 0 0 1.86.77c.83 0 1.5-.22 2.04-.66.53-.44.8-1.03.8-1.77 0-.62-.08-1.18-.22-1.68-.15-.5-.3-.99-.46-1.46a4.5 4.5 0 0 1 1.83-.33c1.04 0 1.88.3 2.5.91.63.6.95 1.57.95 2.9a5 5 0 0 1 -.24 1.61c-.17.48-.44.93-.81 1.33-.38.44-.9.86-1.56 1.27-.66.4-1.48.86-2.45 1.37-.91.48-1.81 1.03-2.7 1.65s-1.7 1.3-2.44 2.06v2.83h16.07v-3.36h-12.17v-1.1c.6-.4 1.28-.75 2.05-1.04.76-.3 1.67-.57 2.7-.83a69 69 0 0 0 2.74-.76c.85-.26 1.62-.6 2.33-1a5.23 5.23 0 0 0 1.78-1.57c.4-.6.6-1.38.6-2.35 0-1.88-.76-3.25-2.28-4.1-1.52-.84-3.51-1.26-5.98-1.26a10 10 0 0 0 -5.42 1.4" fill="url(#e)" transform="translate(33.03 47.55)"/></g><path d="m30.83 18.1c-.34.1-.58.47-.58.85 0 .17.3 1.1 3.87 10.96a441.3 441.3 0 0 0 3.94 10.93c.27.48.69.75 1.27.92h5.1a2 2 0 0 0 1.24-.92c.06-.07 1.85-5 3.94-10.93 3.56-9.87 3.87-10.8 3.87-10.96a.85.85 0 0 0 -.62-.86c-.1-.07-.86-.07-1.64-.07s-1.58 0-1.75.07c-.48.1-.96.48-1.2.9-.1.16-1.37 3.76-2.74 7.56-2.13 6.1-3.36 9.87-3.4 10.38 0 0-.23-1.26-3.38-10.24-1.4-3.94-2.68-7.5-2.78-7.67a1.9 1.9 0 0 0 -1.2-.93c-.14-.07-1.06-.07-1.99-.07s-1.81 0-1.95.07zm26.76.85v21.89c.17.48.44.79.92.92l1.75.04c1.54 0 1.78 0 1.95-.07.41-.1.69-.38.82-.79.07-.2.07-.38.07-4v-3.81h2.88c2.95-.03 3.19-.03 4.08-.17 3.97-.62 6.33-2.84 6.33-7.26 0-4.46-2.32-6.79-6.13-7.47-1.16-.17-1.03-.17-6.54-.2-4.11 0-5.14 0-5.24.03-.45.17-.76.44-.9.89zm11.95 3.08c1.3.69 1.58 1.68 1.58 3.77 0 2.2-.58 3.36-2.26 3.84-.79.24-1.34.27-3.84.27h-2.02v-8.43h3.53c1.33 0 2.09.07 3.01.55zm11.06 2.02c0 2.57 1.35 4.22 3.4 4.87.2.2-3.9.54-3.9 5.89 0 3.12 1.02 5.27 2.84 6.47 1.23.86 2.8 1.27 5 1.27 5.14 0 7.81-2.57 7.81-7.74 0-1.71-.38-3.02-1.23-4.11a6.03 6.03 0 0 0 -2.37-1.61c-.27-.1-.34-.14-.27-.17.24-.07.82-.35 1.06-.48 1.4-.83 2.3-2.26 2.3-4.35 0-4.11-1.99-6.27-5.8-6.75-.37-.04-1.23-.04-1.91-.04-4.52 0-6.92 2.37-6.92 6.75zm9.7-.68v.78c0 1.44 0 1.75-.2 2.23-.24.76-1.06 1.1-2.16 1.1-2.26 0-2.43-1.03-2.43-3.43 0-2.12.27-2.77 1.16-3.05.38-.13.65-.17 1.4-.17 1.79.1 2.23.69 2.23 2.54zm-2.4 15.41c-2.4 0-2.46-1.2-2.53-3.73 0-1.68.04-2.57.24-3.19.2-.85 1.1-1.4 2.3-1.4s2.12.51 2.33 1.4c.2.62.24 1.51.24 3.19-.07 2.53-.18 3.73-2.57 3.73z" fill="url(#f)"/></svg>
  • cute-mediainfo/trunk/includes/cute-mediainfo/class-cutemi-post-type-mediainfo.php

    r2671068 r2678782  
    492492                    $plugin_dir_url . 'admin/assets/js/post-type-cute-mediainfo.js',
    493493                    array( 'jquery' ),
    494                     '1.0.1',
     494                    '1.0.2',
    495495                    true
    496496                );
     
    522522                    $plugin_dir_url . 'admin/assets/css/post-type-cute-mediainfo.css',
    523523                    array(),
    524                     '1.0.1',
     524                    '1.0.2',
    525525                    'all'
    526526                );
  • cute-mediainfo/trunk/readme.txt

    r2671077 r2678782  
    2424* Two icon packs (extensible)
    2525* Use as block or shortcode
     26
     27Supported Links: 1fichier, Amazon, Amazon UE, box, Clicknupload, DailyUploads, ddownload, Dropapk, Dropbox, Fast Down, FastClick, FileFactory, GDrive, HexUpload, Jottacloud, KatFile, Mediafire, MEGA, MEGA Folder, NitroFlare, OneDrive, pCloud, pCloud(Euro), Rapidgator, Uploaded, UploadGIG, Uptobox, Usersdrive.
     28
     29### Extra features with PRO Addon
     30
     31Did you know that [PRO Addon](https://galetto.info/product/cute-mediainfo-pro/) contains a lot of extra features:
     32
     33* **Screenshots with** thumbnails and full-size viewer
     34* **Link checker** for offline status
     35* **Link protection** with reCaptcha
     36* **Link override** ( usage example: protected or shortened link )
     37* **Extra icon pack**: Flat Color
     38* **Export/Import** profiles
     39* **Source Quality** field (DVDRip, BRRip, etc)
     40
    2641
    2742### Documentation
     
    6580== Changelog ==
    6681
     82= 1.0.2 =
     83* call unregister_post_type on deactivate before flush_rewrite_rules
     84* fix some css
     85* fix arguments on hook cutemi_table_customize_style
     86* fix meta term with type select (always show default)
     87* fix VP8 svg
     88
    6789= 1.0.1 =
    6890* Code Cleanup
  • cute-mediainfo/trunk/templates/template-css.php

    r2671068 r2678782  
    214214    width: 100%;
    215215}
    216 .cutemi-template .cutemi-inline-flex {
     216.cutemi-template li.cutemi-inline-flex {
    217217    padding-left: 0.25em;
    218218    padding-right: 0.25em;
     
    224224    flex-wrap: wrap;
    225225}
    226 .cutemi-template .cutemi-inline-flex img,
    227 .cutemi-template .cutemi-inline-flex svg {
     226.cutemi-template li.cutemi-inline-flex img,
     227.cutemi-template li.cutemi-inline-flex svg {
    228228    margin: 0;
    229229}
    230 .cutemi-template .cutemi-inline-flex span {
     230.cutemi-template li.cutemi-inline-flex span {
    231231    width: auto;
    232232    margin: 0.1em 0.5em;
     
    791791    fill: ' . $safe_cfg['blocks_headers_font_color'] . ';
    792792}
     793' . $class_profile . ' .cutemi-group-head .cutemi-img-txt img,
    793794' . $class_profile . ' .cutemi-group-head .cutemi-img-txt svg {
    794795    max-height: ' . max( $min_dim, ( $safe_cfg['row_height'] - $safe_cfg['cell_padding'] * 2 ) ) . $safe_cfg['unit'] . ';
     
    978979        font-size: ' . $safe_cfg['font_size'] . $safe_cfg['unit'] . ';
    979980    }
     981    ' . $class_profile . ' .cutemi-group-cols-1 .cutemi-cell.cutemi-img-txt.cutemi-inline-flex img,
     982    ' . $class_profile . ' .cutemi-group-cols-2 .cutemi-cell.cutemi-img-txt.cutemi-inline-flex img,
     983    ' . $class_profile . ' .cutemi-group-cols-3 .cutemi-cell.cutemi-img-txt.cutemi-inline-flex img {
     984        max-height: ' . max( $min_dim, ( $safe_cfg['row_height'] - $safe_cfg['font_size'] - $safe_cfg['cell_padding'] * 2 ) ) . $safe_cfg['unit'] . ';
     985        height: auto;
     986    }
    980987}
    981988@media (min-width:850px) {
     
    983990        font-size: ' . $safe_cfg['font_size'] . $safe_cfg['unit'] . ';
    984991    }
    985 }';
    986 
    987         return apply_filters( 'cutemi_table_customize_style', $out, $class_profile, $safe_cfg );
    988     }
    989 }
     992    ' . $class_profile . ' .cutemi-group-cols-1 .cutemi-cell.cutemi-img-txt.cutemi-inline-flex img,
     993    ' . $class_profile . ' .cutemi-group-cols-2 .cutemi-cell.cutemi-img-txt.cutemi-inline-flex img,
     994    ' . $class_profile . ' .cutemi-group-cols-3 .cutemi-cell.cutemi-img-txt.cutemi-inline-flex img,
     995    ' . $class_profile . ' .cutemi-group-cols-4 .cutemi-cell.cutemi-img-txt.cutemi-inline-flex img {
     996        max-height: ' . max( $min_dim, ( $safe_cfg['row_height'] - $safe_cfg['font_size'] - $safe_cfg['cell_padding'] * 2 ) ) . $safe_cfg['unit'] . ';
     997        height: auto;
     998    }
     999}
     1000';
     1001
     1002        return apply_filters( 'cutemi_table_customize_style', $out, $class_profile, $style_cfg, $safe_cfg );
     1003    }
     1004}
Note: See TracChangeset for help on using the changeset viewer.