Changeset 1769889
- Timestamp:
- 11/18/2017 02:25:42 AM (8 years ago)
- Location:
- cart66-cloud/trunk
- Files:
-
- 1 added
- 5 edited
-
cart66-cloud.php (modified) (1 diff)
-
includes/class-cart66-cloud.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
resources/css/select2.css (modified) (1 diff)
-
resources/images/select2x2.png (added)
-
resources/js/get-images.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cart66-cloud/trunk/cart66-cloud.php
r1711118 r1769889 4 4 Plugin URI: http://cart66.com 5 5 Description: Secure Ecommerce For WordPress. 6 Version: 2.0.1 86 Version: 2.0.19 7 7 Author: Reality66 8 8 Author URI: http://www.reality66.com -
cart66-cloud/trunk/includes/class-cart66-cloud.php
r1711118 r1769889 25 25 define( 'CC_URL', WP_PLUGIN_URL . '/' . $plugin_dir . '/' ); 26 26 define( 'CC_TEMPLATE_DEBUG_MODE', false ); 27 define( 'CC_VERSION_NUMBER', '2.0.1 8' );27 define( 'CC_VERSION_NUMBER', '2.0.19' ); 28 28 } 29 29 -
cart66-cloud/trunk/readme.txt
r1711118 r1769889 1 === Cart66 Cloud :: Ecommerce with security ===2 Contributors: Reality66,1 === Cart66 Cloud :: WordPress Ecommerce The Easy Way === 2 Contributors: reality66, 3 3 Donate 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, sky4 Tags: ecommerce, e-commerce, shopping, cart, store, cart66, download, digital, downloadable, sell, inventory, shipping, tax, donations products, sales 5 5 Requires at least: 3.5 6 Tested up to: 4.8 7 Stable tag: 2.0.18 8 6 Requires PHP: 5.4 7 Tested up to: 4.9 8 Stable tag: 2.0.19 9 9 License: GPLv3 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html 11 11 12 Cart66 Cloud is everything you need for a secure and PCI compliant store. You don't even need your own SSL Certificate.12 Cart66 is the easiest way to sell on WordPress. You literally have fewer things to worry about because Cart66 handles the hard stuff for you. 13 13 14 14 == Description == 15 15 16 A secure and sophisticated approach to WordPress e-commerce.16 Cart66'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. 17 17 18 18 Cart66 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. :) … … 137 137 == Changelog == 138 138 139 = 2.0.19 = 140 141 - Fix path to product metabox selection field 142 139 143 = 2.0.18 = 140 144 -
cart66-cloud/trunk/resources/css/select2.css
r1404207 r1769889 682 682 .select2-container .select2-choice abbr, 683 683 .select2-container .select2-choice .select2-arrow b { 684 background-image: url(' select2x2.png') !important;684 background-image: url('../images/select2x2.png') !important; 685 685 background-repeat: no-repeat !important; 686 686 background-size: 60px 40px !important; -
cart66-cloud/trunk/resources/js/get-images.js
r1404207 r1769889 1 1 jQuery(document).ready(function($) { 2 2 3 var formfield = null, formfielddeux = null, num ='';3 var formfield = null, formfielddeux = null, num =''; 4 4 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 }); 13 13 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 }); 19 19 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 }); 28 28 29 // user inserts file into post. only run custom if user started process using the above process30 // window.send_to_editor(html) is how wp would normally handle the received data29 // 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 31 31 32 window.original_send_to_editor = window.send_to_editor;32 window.original_send_to_editor = window.send_to_editor; 33 33 34 window.send_to_editor = function(html) {35 var fileurl;34 window.send_to_editor = function(html) { 35 var fileurl; 36 36 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]*)/); 39 39 40 $('input[name="' + formfield + '"]').val(matches[1]);40 $('input[name="' + formfield + '"]').val(matches[1]); 41 41 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) ); 44 45 45 $('.img-preview[data-num="'+num+'"]').append( $(imgfull) );46 $('.img-preview[data-num="'+num+'"]').append( $(imgfull) ); 46 47 47 tb_remove();48 tb_remove(); 48 49 49 $('html').removeClass('image_spe');50 $('html').removeClass('image_spe'); 50 51 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'); 57 58 58 $('.url_pdf_input[data-input="'+num+'"]').val(fileurl);59 $('.url_pdf_input[data-input="'+num+'"]').val(fileurl); 59 60 60 tb_remove();61 tb_remove(); 61 62 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 } 71 72 72 73 }); 73
Note: See TracChangeset
for help on using the changeset viewer.