Plugin Directory

Changeset 1769889


Ignore:
Timestamp:
11/18/2017 02:25:42 AM (8 years ago)
Author:
reality66
Message:

Update to version 2.0.19

Location:
cart66-cloud/trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • cart66-cloud/trunk/cart66-cloud.php

    r1711118 r1769889  
    44Plugin URI: http://cart66.com
    55Description: Secure Ecommerce For WordPress.
    6 Version: 2.0.18
     6Version: 2.0.19
    77Author: Reality66
    88Author URI: http://www.reality66.com
  • cart66-cloud/trunk/includes/class-cart66-cloud.php

    r1711118 r1769889  
    2525        define( 'CC_URL',  WP_PLUGIN_URL . '/' . $plugin_dir . '/' );
    2626        define( 'CC_TEMPLATE_DEBUG_MODE', false );
    27         define( 'CC_VERSION_NUMBER', '2.0.18' );
     27        define( 'CC_VERSION_NUMBER', '2.0.19' );
    2828    }
    2929
  • cart66-cloud/trunk/readme.txt

    r1711118 r1769889  
    1 === Cart66 Cloud :: Ecommerce with security ===
    2 Contributors: Reality66,
     1=== Cart66 Cloud :: WordPress Ecommerce The Easy Way ===
     2Contributors: reality66,
    33Donate link: https://cart66.com
    4 Tags: ecommerce, e-commerce, shopping, cart, store, cart66, download, digital, downloadable, sell, inventory, shipping, tax, donations products, sales, shopping cart, cloud, sky
     4Tags: ecommerce, e-commerce, shopping, cart, store, cart66, download, digital, downloadable, sell, inventory, shipping, tax, donations products, sales
    55Requires at least: 3.5
    6 Tested up to: 4.8
    7 Stable tag: 2.0.18
    8 
     6Requires PHP: 5.4
     7Tested up to: 4.9
     8Stable tag: 2.0.19
    99License: GPLv3
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
    1111
    12 Cart66 Cloud is everything you need for a secure and PCI compliant store. You don't even need your own SSL Certificate.
     12Cart66 is the easiest way to sell on WordPress. You literally have fewer things to worry about because Cart66 handles the hard stuff for you.
    1313
    1414== Description ==
    1515
    16 A secure and sophisticated approach to WordPress e-commerce.
     16Cart66's connected services solves problems you might not have even thought about yet like payment security, keeping email receipts out of people's spam folders, and securely storing and delivering digital products. There's a built in recurring billing engine that for selling memberships, subscriptions, or physical products on a recurring basis - like coffee or vitamins.
    1717
    1818Cart66 includes a WordPress plugin as well as a suite of secure connected services that go beyond what you can do with a plugin alone. With Cart66 you don't have to worry about how to secure your digital products, hooking up a business class SMTP server for sending email receipts, secure PCI compliants connections to your payment gateway, and more. Everything you need is together in one place developed and supported by a team dedicated to making your store run smoothly. We don't make you search through huge marketplaces to piece together what you need for your store. We give you everything together. Come join us. It's better together. :)
     
    137137== Changelog ==
    138138
     139= 2.0.19 =
     140
     141- Fix path to product metabox selection field
     142
    139143= 2.0.18 =
    140144
  • cart66-cloud/trunk/resources/css/select2.css

    r1404207 r1769889  
    682682    .select2-container .select2-choice abbr,
    683683    .select2-container .select2-choice .select2-arrow b {
    684         background-image: url('select2x2.png') !important;
     684        background-image: url('../images/select2x2.png') !important;
    685685        background-repeat: no-repeat !important;
    686686        background-size: 60px 40px !important;
  • cart66-cloud/trunk/resources/js/get-images.js

    r1404207 r1769889  
    11jQuery(document).ready(function($) {
    22
    3     var formfield = null, formfielddeux = null, num ='';
     3    var formfield = null, formfielddeux = null, num ='';
    44
    5     $('.get-image').on( 'click', function() {
    6         $('html').addClass('image_spe');
    7         num = $(this).attr('data-num');
    8         formfield = $('.id_img[data-num="'+num+'"]').attr('name');
    9         var id=$("#post_ID").val();
    10         tb_show('', 'media-upload.php?post_id='+id+'&type=image&TB_iframe=true');
    11         return false;
    12     });
     5    $('.get-image').on( 'click', function() {
     6        $('html').addClass('image_spe');
     7        num = $(this).attr('data-num');
     8        formfield = $('.id_img[data-num="'+num+'"]').attr('name');
     9        var id=$("#post_ID").val();
     10        tb_show('', 'media-upload.php?post_id='+id+'&type=image&TB_iframe=true');
     11        return false;
     12    });
    1313
    14     $('.del-image').on('click', function(){
    15         var cible = $(this).attr('data-num');
    16         $('.img-preview[data-num="'+cible+'"]').empty();
    17         $('.id_img[data-num="'+cible+'"]').val('');
    18     });
     14    $('.del-image').on('click', function(){
     15        var cible = $(this).attr('data-num');
     16        $('.img-preview[data-num="'+cible+'"]').empty();
     17        $('.id_img[data-num="'+cible+'"]').val('');
     18    });
    1919
    20   $(document).on('click', '.upload_pdf_button',  function() {
    21         $('html').addClass('pdf');
    22         num = $(this).attr('data-cible');
    23         formfielddeux = $('.url_pdf_input[data-input="'+num+'"]').attr('name');
    24         var id=$("#post_ID").val();
    25         tb_show('', 'media-upload.php?post_id='+id+'&type=file&TB_iframe=true');
    26         return false;
    27     });
     20    $(document).on('click', '.upload_pdf_button',  function() {
     21        $('html').addClass('pdf');
     22        num = $(this).attr('data-cible');
     23        formfielddeux = $('.url_pdf_input[data-input="'+num+'"]').attr('name');
     24        var id=$("#post_ID").val();
     25        tb_show('', 'media-upload.php?post_id='+id+'&type=file&TB_iframe=true');
     26        return false;
     27    });
    2828
    29     // user inserts file into post. only run custom if user started process using the above process
    30     // window.send_to_editor(html) is how wp would normally handle the received data
     29    // user inserts file into post. only run custom if user started process using the above process
     30    // window.send_to_editor(html) is how wp would normally handle the received data
    3131
    32     window.original_send_to_editor = window.send_to_editor;
     32    window.original_send_to_editor = window.send_to_editor;
    3333
    34     window.send_to_editor = function(html) {
    35     var fileurl;
     34    window.send_to_editor = function(html) {
     35        var fileurl;
    3636
    37         if (formfield !== null) {
    38             var matches = html.match(/wp-image-([0-9]*)/);
     37        if (formfield !== null) {
     38            var matches = html.match(/wp-image-([0-9]*)/);
    3939
    40             $('input[name="' + formfield + '"]').val(matches[1]);
     40            $('input[name="' + formfield + '"]').val(matches[1]);
    4141     
    42             var imgfull = $(html).first('img').css( { "width":"100px", "height":"100px"} );
    43       console.log( $(imgfull) );
     42            // var imgfull = $(html).first('img').css( { "width":"100px", "height":"100px"} );
     43            var imgfull = $(html).find('img:first').css( { "width":"100px", "height":"100px"} );
     44            console.log( $(imgfull) );
    4445
    45             $('.img-preview[data-num="'+num+'"]').append( $(imgfull) );
     46            $('.img-preview[data-num="'+num+'"]').append( $(imgfull) );
    4647
    47             tb_remove();
     48            tb_remove();
    4849
    49             $('html').removeClass('image_spe');
     50            $('html').removeClass('image_spe');
    5051
    51             formfield = null;
    52             num = null;
    53         }
    54     else {
    55             if(formfielddeux !== null) {
    56                 fileurl = $(html).filter('a').attr('href');
     52            formfield = null;
     53            num = null;
     54        }
     55        else {
     56            if(formfielddeux !== null) {
     57                fileurl = $(html).filter('a').attr('href');
    5758
    58                 $('.url_pdf_input[data-input="'+num+'"]').val(fileurl);
     59                $('.url_pdf_input[data-input="'+num+'"]').val(fileurl);
    5960
    60                 tb_remove();
     61                tb_remove();
    6162
    62                 $('html').removeClass('pdf');
    63                 formfielddeux = null;
    64                 num = null;
    65             }
    66       else {
    67                 window.original_send_to_editor(html);
    68             }
    69         }
    70     }
     63                $('html').removeClass('pdf');
     64                formfielddeux = null;
     65                num = null;
     66            }
     67            else {
     68                window.original_send_to_editor(html);
     69            }
     70        }
     71    }
    7172
    7273});
    73 
Note: See TracChangeset for help on using the changeset viewer.