Changeset 1787384
- Timestamp:
- 12/15/2017 02:28:13 AM (8 years ago)
- Location:
- gnucommerce/trunk
- Files:
-
- 18 edited
-
bbs/download.php (modified) (1 diff)
-
bbs/write_update.php (modified) (1 diff)
-
config.php (modified) (1 diff)
-
gnucommerce.php (modified) (1 diff)
-
js/shop.order.js (modified) (1 diff)
-
lib/gc_board.class.php (modified) (2 diffs)
-
lib/gc_board_common.php (modified) (1 diff)
-
lib/gc_shop.lib.php (modified) (1 diff)
-
lib/recaptcha_hook.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
shop/ajax.orderstock.php (modified) (1 diff)
-
shop/inicis/INIStdPayReturn.php (modified) (1 diff)
-
shop/orderform.php (modified) (2 diffs)
-
skin/board/16-summer-ipha-gallery/write.skin.php (modified) (2 diffs)
-
skin/board/16-summer-ipha/write.skin.php (modified) (2 diffs)
-
skin/board/basic/write.skin.php (modified) (2 diffs)
-
skin/board/default/write.skin.php (modified) (2 diffs)
-
skin/board/gallery/write.skin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gnucommerce/trunk/bbs/download.php
r1676363 r1787384 99 99 header("content-disposition: attachment; filename=\"$original\""); 100 100 header("content-transfer-encoding: binary"); 101 } else if (preg_match("/Firefox/i", $_SERVER['HTTP_USER_AGENT'])){ 102 header("content-type: file/unknown"); 103 header("content-length: ".filesize("$filepath")); 104 header("content-disposition: attachment; filename=\"".basename($file['bf_source'])."\""); 105 header("content-description: php generated data"); 101 106 } else { 102 107 header("content-type: file/unknown"); -
gnucommerce/trunk/bbs/write_update.php
r1676363 r1787384 529 529 530 530 // 아래의 문자열이 들어간 파일은 -x 를 붙여서 웹경로를 알더라도 실행을 하지 못하도록 함 531 $filename = preg_replace("/\.(php|pht m|htm|cgi|pl|exe|jsp|asp|inc)/i", "$0-x", $filename);531 $filename = preg_replace("/\.(php|pht|phtm|htm|cgi|pl|exe|jsp|asp|inc)/i", "$0-x", $filename); 532 532 533 533 shuffle($chars_array); -
gnucommerce/trunk/config.php
r1732634 r1787384 5 5 6 6 public function __construct() { 7 define( 'GC_VERSION', '1.4. 8' );7 define( 'GC_VERSION', '1.4.9' ); 8 8 define( 'GC_NAME', 'gnucommerce' ); 9 9 define( 'GC_OPTION_KEY', 'gc_options' ); //쇼핑몰옵션키 -
gnucommerce/trunk/gnucommerce.php
r1732634 r1787384 5 5 * Author: SIR Soft 6 6 * Author URI: http://sir.kr 7 * Version: 1.4. 87 * Version: 1.4.9 8 8 * Text Domain: SIR Soft 9 9 */ -
gnucommerce/trunk/js/shop.order.js
r1442174 r1787384 2 2 3 3 (function($){ 4 gnucommerce.order_stock_check = function( ) {4 gnucommerce.order_stock_check = function(str_direct) { 5 5 var result = ""; 6 6 $.ajax({ 7 7 type: "POST", 8 8 url:gnucommerce.ajaxurl, 9 data:{action: 'gc_ajax_orderstock' },9 data:{action: 'gc_ajax_orderstock', sw_direct: str_direct}, 10 10 cache: false, 11 11 async: false, -
gnucommerce/trunk/lib/gc_board.class.php
r1676363 r1787384 455 455 return $gc_error->get_error_message(); 456 456 } 457 458 GC_Board_var::getInstance()->need_value_load(); 457 459 458 460 $arg = wp_parse_args($attr, array( … … 581 583 } 582 584 583 $gc_page_url = gc_page_get_by($bo_table, 'url' ); 585 $gc_page_url = ( isset($arg['url']) && !empty($arg['url']) && esc_url($arg['url']) ) ? esc_url($arg['url']) : gc_page_get_by($bo_table, 'url' ); 586 584 587 ob_start(); 585 588 if ( !file_exists($latest_skin_path) ) { //해당 파일이 없으면 -
gnucommerce/trunk/lib/gc_board_common.php
r1676363 r1787384 1291 1291 1292 1292 function gc_get_current_page() { 1293 return substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1);1293 return substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1); 1294 1294 } 1295 1295 -
gnucommerce/trunk/lib/gc_shop.lib.php
r1735879 r1787384 136 136 137 137 foreach( $it_images as $attachment_id ){ 138 add_filter( 'wp_calculate_image_srcset', '__return_false' ); 138 139 if( $image = wp_get_attachment_image( $attachment_id, $size, false, $attr ) ){ 139 140 break; 140 141 } 142 remove_filter( 'wp_calculate_image_srcset', '__return_false' ); 141 143 } 142 144 return $image; -
gnucommerce/trunk/lib/recaptcha_hook.php
r1454448 r1787384 23 23 * @param string $secret shared secret between site and ReCAPTCHA server. 24 24 */ 25 function ReCaptcha_gc($secret)25 function __construct($secret) 26 26 { 27 27 if ($secret == null || $secret == "") { -
gnucommerce/trunk/readme.txt
r1732634 r1787384 4 4 Tags: gnucommerce, shopping, cart, mall, youngcart, gnu, gnuboard, korea, korean, bulletin, board, bbs, community, forum, kalga 5 5 Requires at least: 4.0 6 Tested up to: 4. 77 Stable tag: 1.4. 86 Tested up to: 4.9.1 7 Stable tag: 1.4.9 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 64 64 65 65 == Changelog == 66 67 = 1.4.9 = 68 일부 오류를 수정했습니다. 66 69 67 70 = 1.4.8 = -
gnucommerce/trunk/shop/ajax.orderstock.php
r1732634 r1787384 1 1 <?php 2 2 if( !defined('GC_NAME') ) exit; 3 4 if( isset($_POST['sw_direct']) ){ 5 gc_set_session("ss_direct", sanitize_text_field($_POST['sw_direct'])); 6 } 3 7 4 8 if (gc_get_session('ss_direct')) -
gnucommerce/trunk/shop/inicis/INIStdPayReturn.php
r1732634 r1787384 79 79 if ($httpUtil->processHTTP($authUrl, $authMap)) { 80 80 $authResultString = $httpUtil->body; 81 echo "<p><b>RESULT DATA :</b> $authResultString</p>"; //PRINT DATA81 //echo "<p><b>RESULT DATA :</b> $authResultString</p>"; //PRINT DATA 82 82 } else { 83 83 echo "Http Connect Error\n"; -
gnucommerce/trunk/shop/orderform.php
r1732634 r1787384 789 789 790 790 // 재고체크 791 var stock_msg = gnucommerce.order_stock_check( );791 var stock_msg = gnucommerce.order_stock_check("<?php echo $sw_direct; ?>"); 792 792 if(jQuery.trim(stock_msg) != "") { 793 793 alert(stock_msg); … … 1611 1611 { 1612 1612 // 재고체크 1613 var stock_msg = gnucommerce.order_stock_check( );1613 var stock_msg = gnucommerce.order_stock_check("<?php echo $sw_direct; ?>"); 1614 1614 if(jQuery.trim(stock_msg) != "") { 1615 1615 alert(stock_msg); -
gnucommerce/trunk/skin/board/16-summer-ipha-gallery/write.skin.php
r1732634 r1787384 203 203 var char_min = parseInt(<?php echo $write_min; ?>); // 최소 204 204 var char_max = parseInt(<?php echo $write_max; ?>); // 최대 205 check_byte("wr_content", "char_count");205 gc_check_byte("wr_content", "char_count"); 206 206 207 207 jQuery(function($) { 208 208 $("#wr_content").on("keyup", function() { 209 check_byte("wr_content", "char_count");209 gc_check_byte("wr_content", "char_count"); 210 210 }); 211 211 }); … … 307 307 if (document.getElementById("char_count")) { 308 308 if (char_min > 0 || char_max > 0) { 309 var cnt = parseInt( check_byte("wr_content", "char_count"));309 var cnt = parseInt(gc_check_byte("wr_content", "char_count")); 310 310 if (char_min > 0 && char_min > cnt) { 311 311 alert( gcboard.sprintf("<?php _e('내용은 %d 글자 이상 쓰셔야 합니다.', GC_NAME);?>", char_min) ); -
gnucommerce/trunk/skin/board/16-summer-ipha/write.skin.php
r1732634 r1787384 203 203 var char_min = parseInt(<?php echo $write_min; ?>); // 최소 204 204 var char_max = parseInt(<?php echo $write_max; ?>); // 최대 205 check_byte("wr_content", "char_count");205 gc_check_byte("wr_content", "char_count"); 206 206 207 207 jQuery(function($) { 208 208 $("#wr_content").on("keyup", function() { 209 check_byte("wr_content", "char_count");209 gc_check_byte("wr_content", "char_count"); 210 210 }); 211 211 }); … … 307 307 if (document.getElementById("char_count")) { 308 308 if (char_min > 0 || char_max > 0) { 309 var cnt = parseInt( check_byte("wr_content", "char_count"));309 var cnt = parseInt(gc_check_byte("wr_content", "char_count")); 310 310 if (char_min > 0 && char_min > cnt) { 311 311 alert( gcboard.sprintf("<?php _e('내용은 %d 글자 이상 쓰셔야 합니다.', GC_NAME);?>", char_min) ); -
gnucommerce/trunk/skin/board/basic/write.skin.php
r1732634 r1787384 203 203 var char_min = parseInt(<?php echo $write_min; ?>); // 최소 204 204 var char_max = parseInt(<?php echo $write_max; ?>); // 최대 205 check_byte("wr_content", "char_count");205 gc_check_byte("wr_content", "char_count"); 206 206 207 207 jQuery(function($) { 208 208 $("#wr_content").on("keyup", function() { 209 check_byte("wr_content", "char_count");209 gc_check_byte("wr_content", "char_count"); 210 210 }); 211 211 }); … … 307 307 if (document.getElementById("char_count")) { 308 308 if (char_min > 0 || char_max > 0) { 309 var cnt = parseInt( check_byte("wr_content", "char_count"));309 var cnt = parseInt(gc_check_byte("wr_content", "char_count")); 310 310 if (char_min > 0 && char_min > cnt) { 311 311 alert( gcboard.sprintf("<?php _e('내용은 %d 글자 이상 쓰셔야 합니다.', GC_NAME);?>", char_min) ); -
gnucommerce/trunk/skin/board/default/write.skin.php
r1568385 r1787384 203 203 var char_min = parseInt(<?php echo $write_min; ?>); // 최소 204 204 var char_max = parseInt(<?php echo $write_max; ?>); // 최대 205 check_byte("wr_content", "char_count");205 gc_check_byte("wr_content", "char_count"); 206 206 207 207 jQuery(function($) { 208 208 $("#wr_content").on("keyup", function() { 209 check_byte("wr_content", "char_count");209 gc_check_byte("wr_content", "char_count"); 210 210 }); 211 211 }); … … 307 307 if (document.getElementById("char_count")) { 308 308 if (char_min > 0 || char_max > 0) { 309 var cnt = parseInt( check_byte("wr_content", "char_count"));309 var cnt = parseInt(gc_check_byte("wr_content", "char_count")); 310 310 if (char_min > 0 && char_min > cnt) { 311 311 alert( gcboard.sprintf("<?php _e('내용은 %d 글자 이상 쓰셔야 합니다.', GC_NAME);?>", char_min) ); -
gnucommerce/trunk/skin/board/gallery/write.skin.php
r1568385 r1787384 203 203 var char_min = parseInt(<?php echo $write_min; ?>); // 최소 204 204 var char_max = parseInt(<?php echo $write_max; ?>); // 최대 205 check_byte("wr_content", "char_count");205 gc_check_byte("wr_content", "char_count"); 206 206 207 207 jQuery(function($) { 208 208 $("#wr_content").on("keyup", function() { 209 check_byte("wr_content", "char_count");209 gc_check_byte("wr_content", "char_count"); 210 210 }); 211 211 }); … … 307 307 if (document.getElementById("char_count")) { 308 308 if (char_min > 0 || char_max > 0) { 309 var cnt = parseInt( check_byte("wr_content", "char_count"));309 var cnt = parseInt(gc_check_byte("wr_content", "char_count")); 310 310 if (char_min > 0 && char_min > cnt) { 311 311 alert( gcboard.sprintf("<?php _e('내용은 %d 글자 이상 쓰셔야 합니다.', GC_NAME);?>", char_min) );
Note: See TracChangeset
for help on using the changeset viewer.