| 1 |
<?php |
| 2 |
$status = $this->action_status; |
| 3 |
$message = $this->action_message; |
| 4 |
$this->action_status = 'none'; |
| 5 |
$this->action_message = ''; |
| 6 |
if( !empty($this->options['cart_page_data']) ){ |
| 7 |
$cart_page_datas = stripslashes_deep($this->options['cart_page_data']); |
| 8 |
}else{ |
| 9 |
$cart_page_datas['header'] = array(); |
| 10 |
$cart_page_datas['footer'] = array(); |
| 11 |
} |
| 12 |
$indi_item_name = $this->options['indi_item_name']; |
| 13 |
$pos_item_name = $this->options['pos_item_name']; |
| 14 |
foreach( (array)$indi_item_name as $key => $value){ |
| 15 |
$checked_item_name[$key] = $indi_item_name[$key] == 1 ? ' checked="checked"' : ''; |
| 16 |
} |
| 17 |
?> |
| 18 |
<script type="text/javascript"> |
| 19 |
jQuery(function($){ |
| 20 |
<?php if($status == 'success'){ ?> |
| 21 |
$("#anibox").animate({ backgroundColor: "#ECFFFF" }, 2000); |
| 22 |
<?php }else if($status == 'caution'){ ?> |
| 23 |
$("#anibox").animate({ backgroundColor: "#FFF5CE" }, 2000); |
| 24 |
<?php }else if($status == 'error'){ ?> |
| 25 |
$("#anibox").animate({ backgroundColor: "#FFE6E6" }, 2000); |
| 26 |
<?php } ?> |
| 27 |
|
| 28 |
$("#aAdditionalURLs").click(function () { |
| 29 |
$("#AdditionalURLs").toggle(); |
| 30 |
}); |
| 31 |
|
| 32 |
$(".num").bind("change", function(){ usces_check_num($(this)); }); |
| 33 |
|
| 34 |
//20100818ysk start |
| 35 |
//20100809ysk start |
| 36 |
if( $.fn.jquery < "1.10" ) { |
| 37 |
var $tabs = $('#uscestabs_cart').tabs({ |
| 38 |
cookie: { |
| 39 |
// store cookie for a day, without, it would be a session cookie |
| 40 |
expires: 1 |
| 41 |
} |
| 42 |
}); |
| 43 |
} else { |
| 44 |
$( "#uscestabs_cart" ).tabs({ |
| 45 |
active: ($.cookie("uscestabs_cart")) ? $.cookie("uscestabs_cart") : 0 |
| 46 |
, activate: function( event, ui ){ |
| 47 |
$.cookie("uscestabs_cart", $(this).tabs("option", "active")); |
| 48 |
} |
| 49 |
}); |
| 50 |
} |
| 51 |
|
| 52 |
//customOrder = { |
| 53 |
customField = { |
| 54 |
settings: { |
| 55 |
url: uscesL10n.requestFile, |
| 56 |
type: 'POST', |
| 57 |
cache: false |
| 58 |
//cache: false, |
| 59 |
//success: function(data, dataType) { |
| 60 |
// $("tbody#item-opt-list").html(data); |
| 61 |
//}, |
| 62 |
//error: function(msg) { |
| 63 |
// $("#ajax-response").html(msg); |
| 64 |
//} |
| 65 |
}, |
| 66 |
|
| 67 |
//** Custom Order ** |
| 68 |
//add: function() { |
| 69 |
addOrder: function() { |
| 70 |
//if($("#newcsodkey").val() == '' || $("#newcsodname").val() == '') return; |
| 71 |
|
| 72 |
var key = $("#newcsodkey").val(); |
| 73 |
var name = $("#newcsodname").val(); |
| 74 |
var value = $("#newcsodvalue").val(); |
| 75 |
var means = $("#newcsodmeans").val(); |
| 76 |
var essential = ($("input#newcsodessential").attr("checked")) ? '1' : '0'; |
| 77 |
var mes = ''; |
| 78 |
if( '' == key || !checkCode( key ) ) |
| 79 |
mes += '<p>フィールドキーは半角英数(-_を含む)で� |
| 80 |
�力して下さい。</p>'; |
| 81 |
if( '' == name ) |
| 82 |
mes += '<p>フィールド名の値を� |
| 83 |
�力してください。</p>'; |
| 84 |
if( 2 != means && '' == value ) |
| 85 |
mes += '<p>セレクト値を� |
| 86 |
�力してください。</p>'; |
| 87 |
if( '' != mes ) { |
| 88 |
mes = '<div class="error">'+mes+'</div>'; |
| 89 |
$("#ajax-response-csod").html(mes); |
| 90 |
return false; |
| 91 |
} |
| 92 |
|
| 93 |
$("#newcsod_loading").html('<img src="' + uscesL10n.USCES_PLUGIN_URL + '/images/loading.gif" />'); |
| 94 |
|
| 95 |
//var s = customOrder.settings; |
| 96 |
var s = customField.settings; |
| 97 |
//s.data = "action=custom_order_ajax&add=1&newcsodkey="+key+"&newcsodname="+name+"&newcsodvalue="+value+"&newcsodmeans="+means+"&newcsodessential="+essential; |
| 98 |
s.data = "action=custom_field_ajax&field=order&add=1&newkey="+key+"&newname="+name+"&newvalue="+value+"&newmeans="+means+"&newessential="+essential; |
| 99 |
s.success = function(data, dataType) { |
| 100 |
$("#ajax-response-csod").html(''); |
| 101 |
$("#newcsod_loading").html(''); |
| 102 |
var strs = data.split('#usces#'); |
| 103 |
var list = strs[0]; |
| 104 |
var dupkey = strs[1]; |
| 105 |
if( 0 < dupkey ) { |
| 106 |
$("#ajax-response-csod").html('<div class="error"><p>同じフィールドキーが存在します。</p></div>'); |
| 107 |
}else{ |
| 108 |
if(list.length > 1) $("table#csod-list-table").removeAttr("style"); |
| 109 |
$("tbody#csod-list").html(list); |
| 110 |
$("#csod-" + key).css({'background-color': '#FF4'}); |
| 111 |
$("#csod-" + key).animate({ 'background-color': '#FFFFEE' }, 2000 ); |
| 112 |
$("#newcsodkey").val(""); |
| 113 |
$("#newcsodname").val(""); |
| 114 |
$("#newcsodvalue").val(""); |
| 115 |
$("#newcsodmeans").val(0); |
| 116 |
$("#newcsodessential").attr({checked: false}); |
| 117 |
} |
| 118 |
}; |
| 119 |
s.error = function(msg) { |
| 120 |
$("#ajax-response-csod").html(msg); |
| 121 |
$("#newcsod_loading").html(''); |
| 122 |
}; |
| 123 |
$.ajax(s); |
| 124 |
return false; |
| 125 |
}, |
| 126 |
|
| 127 |
//upd: function(key) { |
| 128 |
updOrder: function(key) { |
| 129 |
var name = $(':input[name="csod['+key+'][name]"]').val(); |
| 130 |
var value = $(':input[name="csod['+key+'][value]"]').val(); |
| 131 |
var means = $(':input[name="csod['+key+'][means]"]').val(); |
| 132 |
var essential = ($(':input[name="csod['+key+'][essential]"]').attr("checked")) ? '1' : '0'; |
| 133 |
var mes = ''; |
| 134 |
if( '' == name ) |
| 135 |
mes += '<p>フィールド名の値を� |
| 136 |
�力してください。</p>'; |
| 137 |
if( 2 != means && '' == value ) |
| 138 |
mes += '<p>セレクト値を� |
| 139 |
�力してください。</p>'; |
| 140 |
if( '' != mes ) { |
| 141 |
mes = '<div class="error">'+mes+'</div>'; |
| 142 |
$("#ajax-response-csod").html(mes); |
| 143 |
return false; |
| 144 |
} |
| 145 |
|
| 146 |
$("#csod_loading-" + key).html('<img src="' + uscesL10n.USCES_PLUGIN_URL + '/images/loading.gif" />'); |
| 147 |
|
| 148 |
//var s = customOrder.settings; |
| 149 |
var s = customField.settings; |
| 150 |
//s.data = "action=custom_order_ajax&update=1&csodkey="+key+"&csodname="+name+"&csodvalue="+value+"&csodmeans="+means+"&csodessential="+essential; |
| 151 |
s.data = "action=custom_field_ajax&field=order&update=1&key="+key+"&name="+name+"&value="+value+"&means="+means+"&essential="+essential; |
| 152 |
s.success = function(data, dataType) { |
| 153 |
$("#ajax-response-csod").html(''); |
| 154 |
$("#csod_loading-" + key).html(''); |
| 155 |
var strs = data.split('#usces#'); |
| 156 |
var list = strs[0]; |
| 157 |
$("tbody#csod-list").html(list); |
| 158 |
$("#csod-" + key).css({'background-color': '#FF4'}); |
| 159 |
$("#csod-" + key).animate({ 'background-color': '#FFFFEE' }, 2000 ); |
| 160 |
}; |
| 161 |
s.error = function(msg) { |
| 162 |
$("#ajax-response-csod").html(msg); |
| 163 |
$("#csod_loading-" + key).html(''); |
| 164 |
}; |
| 165 |
$.ajax(s); |
| 166 |
return false; |
| 167 |
}, |
| 168 |
|
| 169 |
//del: function(key) { |
| 170 |
delOrder: function(key) { |
| 171 |
$("#csod-" + key).css({'background-color': '#F00'}); |
| 172 |
$("#csod-" + key).animate({ 'background-color': '#FFFFEE' }, 1000 ); |
| 173 |
//var s = customOrder.settings; |
| 174 |
var s = customField.settings; |
| 175 |
//s.data = "action=custom_order_ajax&delete=1&csodkey="+key; |
| 176 |
s.data = "action=custom_field_ajax&field=order&delete=1&key="+key; |
| 177 |
s.success = function(data, dataType) { |
| 178 |
$("#ajax-response-csod").html(''); |
| 179 |
var strs = data.split('#usces#'); |
| 180 |
var list = strs[0]; |
| 181 |
$("tbody#csod-list").html(list); |
| 182 |
if(list.length < 1) $("table#csod-list-table").attr("style", "display: none"); |
| 183 |
}; |
| 184 |
s.error = function(msg) { |
| 185 |
$("#ajax-response-csod").html(msg); |
| 186 |
}; |
| 187 |
$.ajax(s); |
| 188 |
return false; |
| 189 |
}, |
| 190 |
|
| 191 |
//** Custom Customer ** |
| 192 |
addCustomer: function() { |
| 193 |
//if($("#newcscskey").val() == '' || $("#newcscsname").val() == '') return; |
| 194 |
|
| 195 |
var key = $("#newcscskey").val(); |
| 196 |
var name = $("#newcscsname").val(); |
| 197 |
var value = $("#newcscsvalue").val(); |
| 198 |
var means = $("#newcscsmeans").val(); |
| 199 |
var essential = ($("input#newcscsessential").attr("checked")) ? '1' : '0'; |
| 200 |
var position = $("#newcscsposition").val(); |
| 201 |
var mes = ''; |
| 202 |
if( '' == key || !checkCode( key ) ) |
| 203 |
mes += '<p>フィールドキーは半角英数(-_を含む)で� |
| 204 |
�力して下さい。</p>'; |
| 205 |
if( '' == name ) |
| 206 |
mes += '<p>フィールド名の値を� |
| 207 |
�力してください。</p>'; |
| 208 |
if( 2 != means && '' == value ) |
| 209 |
mes += '<p>セレクト値を� |
| 210 |
�力してください。</p>'; |
| 211 |
if( '' != mes ) { |
| 212 |
mes = '<div class="error">'+mes+'</div>'; |
| 213 |
$("#ajax-response-cscs").html(mes); |
| 214 |
return false; |
| 215 |
} |
| 216 |
|
| 217 |
$("#newcscs_loading").html('<img src="' + uscesL10n.USCES_PLUGIN_URL + '/images/loading.gif" />'); |
| 218 |
|
| 219 |
var s = customField.settings; |
| 220 |
s.data = "action=custom_field_ajax&field=customer&add=1&newkey="+key+"&newname="+name+"&newvalue="+value+"&newmeans="+means+"&newessential="+essential+"&newposition="+position; |
| 221 |
s.success = function(data, dataType) { |
| 222 |
$("#ajax-response-cscs").html(''); |
| 223 |
$("#newcscs_loading").html(''); |
| 224 |
var strs = data.split('#usces#'); |
| 225 |
var list = strs[0]; |
| 226 |
var dupkey = strs[1]; |
| 227 |
if( 0 < dupkey ) { |
| 228 |
$("#ajax-response-cscs").html('<div class="error"><p>同じフィールドキーが存在します。</p></div>'); |
| 229 |
}else{ |
| 230 |
if(list.length > 1) $("table#cscs-list-table").removeAttr("style"); |
| 231 |
$("tbody#cscs-list").html(list); |
| 232 |
$("#cscs-" + key).css({'background-color': '#FF4'}); |
| 233 |
$("#cscs-" + key).animate({ 'background-color': '#FFFFEE' }, 2000 ); |
| 234 |
$("#newcscskey").val(""); |
| 235 |
$("#newcscsname").val(""); |
| 236 |
$("#newcscsvalue").val(""); |
| 237 |
$("#newcscsmeans").val(0); |
| 238 |
$("#newcscsessential").attr({checked: false}); |
| 239 |
} |
| 240 |
}; |
| 241 |
s.error = function(msg) { |
| 242 |
$("#ajax-response-cscs").html(msg); |
| 243 |
$("#newcscs_loading").html(''); |
| 244 |
}; |
| 245 |
$.ajax(s); |
| 246 |
return false; |
| 247 |
}, |
| 248 |
|
| 249 |
updCustomer: function(key) { |
| 250 |
var name = $(':input[name="cscs['+key+'][name]"]').val(); |
| 251 |
var value = $(':input[name="cscs['+key+'][value]"]').val(); |
| 252 |
var means = $(':input[name="cscs['+key+'][means]"]').val(); |
| 253 |
var essential = ($(':input[name="cscs['+key+'][essential]"]').attr("checked")) ? '1' : '0'; |
| 254 |
var position = $(':input[name="cscs['+key+'][position]"]').val(); |
| 255 |
var mes = ''; |
| 256 |
if( '' == name ) |
| 257 |
mes += '<p>フィールド名の値を� |
| 258 |
�力してください。</p>'; |
| 259 |
if( 2 != means && '' == value ) |
| 260 |
mes += '<p>セレクト値を� |
| 261 |
�力してください。</p>'; |
| 262 |
if( '' != mes ) { |
| 263 |
mes = '<div class="error">'+mes+'</div>'; |
| 264 |
$("#ajax-response-cscs").html(mes); |
| 265 |
return false; |
| 266 |
} |
| 267 |
|
| 268 |
$("#cscs_loading-" + key).html('<img src="' + uscesL10n.USCES_PLUGIN_URL + '/images/loading.gif" />'); |
| 269 |
|
| 270 |
var s = customField.settings; |
| 271 |
s.data = "action=custom_field_ajax&field=customer&update=1&key="+key+"&name="+name+"&value="+value+"&means="+means+"&essential="+essential+"&position="+position; |
| 272 |
s.success = function(data, dataType) { |
| 273 |
$("#ajax-response-cscs").html(''); |
| 274 |
$("#cscs_loading-" + key).html(''); |
| 275 |
var strs = data.split('#usces#'); |
| 276 |
var list = strs[0]; |
| 277 |
$("tbody#cscs-list").html(list); |
| 278 |
$("#cscs-" + key).css({'background-color': '#FF4'}); |
| 279 |
$("#cscs-" + key).animate({ 'background-color': '#FFFFEE' }, 2000 ); |
| 280 |
}; |
| 281 |
s.error = function(msg) { |
| 282 |
$("#ajax-response-cscs").html(msg); |
| 283 |
$("#cscs_loading-" + key).html(''); |
| 284 |
}; |
| 285 |
$.ajax(s); |
| 286 |
return false; |
| 287 |
}, |
| 288 |
|
| 289 |
delCustomer: function(key) { |
| 290 |
$("#cscs-" + key).css({'background-color': '#F00'}); |
| 291 |
$("#cscs-" + key).animate({ 'background-color': '#FFFFEE' }, 1000 ); |
| 292 |
var s = customField.settings; |
| 293 |
s.data = "action=custom_field_ajax&field=customer&delete=1&key="+key; |
| 294 |
s.success = function(data, dataType) { |
| 295 |
$("#ajax-response-cscs").html(''); |
| 296 |
var strs = data.split('#usces#'); |
| 297 |
var list = strs[0]; |
| 298 |
$("tbody#cscs-list").html(list); |
| 299 |
if(list.length < 1) $("table#cscs-list-table").attr("style", "display: none"); |
| 300 |
}; |
| 301 |
s.error = function(msg) { |
| 302 |
$("#ajax-response-cscs").html(msg); |
| 303 |
}; |
| 304 |
$.ajax(s); |
| 305 |
return false; |
| 306 |
}, |
| 307 |
|
| 308 |
//** Custom Delivery ** |
| 309 |
addDelivery: function() { |
| 310 |
//if($("#newcsdekey").val() == '' || $("#newcsdename").val() == '') return; |
| 311 |
|
| 312 |
var key = $("#newcsdekey").val(); |
| 313 |
var name = $("#newcsdename").val(); |
| 314 |
var value = $("#newcsdevalue").val(); |
| 315 |
var means = $("#newcsdemeans").val(); |
| 316 |
var essential = ($("input#newcsdeessential").attr("checked")) ? '1' : '0'; |
| 317 |
var position = $("#newcsdeposition").val(); |
| 318 |
var mes = ''; |
| 319 |
if( '' == key || !checkCode( key ) ) |
| 320 |
mes += '<p>フィールドキーは半角英数(-_を含む)で� |
| 321 |
�力して下さい。</p>'; |
| 322 |
if( '' == name ) |
| 323 |
mes += '<p>フィールド名の値を� |
| 324 |
�力してください。</p>'; |
| 325 |
if( 2 != means && '' == value ) |
| 326 |
mes += '<p>セレクト値を� |
| 327 |
�力してください。</p>'; |
| 328 |
if( '' != mes ) { |
| 329 |
mes = '<div class="error">'+mes+'</div>'; |
| 330 |
$("#ajax-response-csde").html(mes); |
| 331 |
return false; |
| 332 |
} |
| 333 |
|
| 334 |
$("#newcsde_loading").html('<img src="' + uscesL10n.USCES_PLUGIN_URL + '/images/loading.gif" />'); |
| 335 |
|
| 336 |
var s = customField.settings; |
| 337 |
s.data = "action=custom_field_ajax&field=delivery&add=1&newkey="+key+"&newname="+name+"&newvalue="+value+"&newmeans="+means+"&newessential="+essential+"&newposition="+position; |
| 338 |
s.success = function(data, dataType) { |
| 339 |
$("#ajax-response-csde").html(''); |
| 340 |
$("#newcsde_loading").html(''); |
| 341 |
var strs = data.split('#usces#'); |
| 342 |
var list = strs[0]; |
| 343 |
var dupkey = strs[1]; |
| 344 |
if( 0 < dupkey ) { |
| 345 |
$("#ajax-response-csde").html('<div class="error"><p>同じフィールドキーが存在します。</p></div>'); |
| 346 |
}else{ |
| 347 |
if(list.length > 1) $("table#csde-list-table").removeAttr("style"); |
| 348 |
$("tbody#csde-list").html(list); |
| 349 |
$("#csde-" + key).css({'background-color': '#FF4'}); |
| 350 |
$("#csde-" + key).animate({ 'background-color': '#FFFFEE' }, 2000 ); |
| 351 |
$("#newcsdekey").val(""); |
| 352 |
$("#newcsdename").val(""); |
| 353 |
$("#newcsdevalue").val(""); |
| 354 |
$("#newcsdemeans").val(0); |
| 355 |
$("#newcsdeessential").attr({checked: false}); |
| 356 |
} |
| 357 |
}; |
| 358 |
s.error = function(msg) { |
| 359 |
$("#ajax-response-csde").html(msg); |
| 360 |
$("#newcsde_loading").html(''); |
| 361 |
}; |
| 362 |
$.ajax(s); |
| 363 |
return false; |
| 364 |
}, |
| 365 |
|
| 366 |
updDelivery: function(key) { |
| 367 |
var name = $(':input[name="csde['+key+'][name]"]').val(); |
| 368 |
var value = $(':input[name="csde['+key+'][value]"]').val(); |
| 369 |
var means = $(':input[name="csde['+key+'][means]"]').val(); |
| 370 |
var essential = ($(':input[name="csde['+key+'][essential]"]').attr("checked")) ? '1' : '0'; |
| 371 |
var position = $(':input[name="csde['+key+'][position]"]').val(); |
| 372 |
var mes = ''; |
| 373 |
if( '' == name ) |
| 374 |
mes += '<p>フィールド名の値を� |
| 375 |
�力してください。</p>'; |
| 376 |
if( 2 != means && '' == value ) |
| 377 |
mes += '<p>セレクト値を� |
| 378 |
�力してください。</p>'; |
| 379 |
if( '' != mes ) { |
| 380 |
mes = '<div class="error">'+mes+'</div>'; |
| 381 |
$("#ajax-response-csde").html(mes); |
| 382 |
return false; |
| 383 |
} |
| 384 |
|
| 385 |
$("#csde_loading-" + key).html('<img src="' + uscesL10n.USCES_PLUGIN_URL + '/images/loading.gif" />'); |
| 386 |
|
| 387 |
var s = customField.settings; |
| 388 |
s.data = "action=custom_field_ajax&field=delivery&update=1&key="+key+"&name="+name+"&value="+value+"&means="+means+"&essential="+essential+"&position="+position; |
| 389 |
s.success = function(data, dataType) { |
| 390 |
$("#ajax-response-cscs").html(''); |
| 391 |
$("#cscs_loading-" + key).html(''); |
| 392 |
var strs = data.split('#usces#'); |
| 393 |
var list = strs[0]; |
| 394 |
$("tbody#csde-list").html(list); |
| 395 |
$("#cscs-" + key).css({'background-color': '#FF4'}); |
| 396 |
$("#cscs-" + key).animate({ 'background-color': '#FFFFEE' }, 2000 ); |
| 397 |
}; |
| 398 |
s.error = function(msg) { |
| 399 |
$("#ajax-response-csde").html(msg); |
| 400 |
$("#cscs_loading-" + key).html(''); |
| 401 |
}; |
| 402 |
$.ajax(s); |
| 403 |
return false; |
| 404 |
}, |
| 405 |
|
| 406 |
delDelivery: function(key) { |
| 407 |
$("#csde-" + key).css({'background-color': '#F00'}); |
| 408 |
$("#csde-" + key).animate({ 'background-color': '#FFFFEE' }, 1000 ); |
| 409 |
var s = customField.settings; |
| 410 |
s.data = "action=custom_field_ajax&field=delivery&delete=1&key="+key; |
| 411 |
s.success = function(data, dataType) { |
| 412 |
$("#ajax-response-csde").html(''); |
| 413 |
var strs = data.split('#usces#'); |
| 414 |
var list = strs[0]; |
| 415 |
$("tbody#csde-list").html(list); |
| 416 |
if(list.length < 1) $("table#csde-list-table").attr("style", "display: none"); |
| 417 |
}; |
| 418 |
s.error = function(msg) { |
| 419 |
$("#ajax-response-csde").html(msg); |
| 420 |
}; |
| 421 |
$.ajax(s); |
| 422 |
return false; |
| 423 |
} |
| 424 |
}; |
| 425 |
//20100809ysk end |
| 426 |
//20100818ysk end |
| 427 |
}); |
| 428 |
|
| 429 |
function toggleVisibility(id) { |
| 430 |
var e = document.getElementById(id); |
| 431 |
if(e.style.display == 'block') |
| 432 |
e.style.display = 'none'; |
| 433 |
else |
| 434 |
e.style.display = 'block'; |
| 435 |
} |
| 436 |
</script> |
| 437 |
<div class="wrap"> |
| 438 |
<div class="usces_admin"> |
| 439 |
<h2>Welcart Shop <?php _e('Cart Page Setting','usces'); ?></h2> |
| 440 |
<div id="aniboxStatus" class="<?php echo $status; ?>"> |
| 441 |
<div id="anibox" class="clearfix"> |
| 442 |
<img id="info_image" src="<?php echo USCES_PLUGIN_URL; ?>/images/list_message_<?php echo $status; ?>.gif" /> |
| 443 |
<div class="mes" id="info_massage"><?php echo $message; ?></div> |
| 444 |
</div> |
| 445 |
</div> |
| 446 |
<form action="" method="post" name="option_form" id="option_form"> |
| 447 |
<input name="usces_option_update" type="submit" class="button" value="<?php _e('change decision','usces'); ?>" /> |
| 448 |
<div id="poststuff" class="metabox-holder"> |
| 449 |
|
| 450 |
<!--20100809ysk start--> |
| 451 |
<div class="uscestabs" id="uscestabs_cart"> |
| 452 |
<ul> |
| 453 |
<li><a href="#cart_page_setting_1"><?php _e('Rule of the column for a item name','usces'); ?></a></li> |
| 454 |
<li><a href="#cart_page_setting_2"><?php _e('Explanation in a Cart page','usces'); ?></a></li> |
| 455 |
<li><a href="#cart_page_setting_3"><?php _e('Custom order field','usces'); ?></a></li> |
| 456 |
<!--20100818ysk start--> |
| 457 |
<li><a href="#cart_page_setting_4"><?php _e('Custom customer field','usces'); ?></a></li> |
| 458 |
<li><a href="#cart_page_setting_5"><?php _e('Custom delivery field','usces'); ?></a></li> |
| 459 |
<!--20100818ysk end--> |
| 460 |
</ul> |
| 461 |
|
| 462 |
<div id="cart_page_setting_1"> |
| 463 |
<!--20100809ysk end--> |
| 464 |
|
| 465 |
<div class="postbox"> |
| 466 |
<h3 class="hndle"><span><?php _e('Rule of the column for a item name','usces'); ?></span><a style="cursor:pointer;" onclick="toggleVisibility('ex_item_indication');"><?php _e('(Explain)','usces'); ?></a></h3> |
| 467 |
<div class="inside"> |
| 468 |
<table class="form_table"> |
| 469 |
<tr> |
| 470 |
<th><label for="indi_item_name"><?php _e('Indication of item name','usces'); ?></label></th> |
| 471 |
<td><input name="indication[item_name]" type="checkbox" id="indi_item_name" value="<?php echo esc_attr($indi_item_name['item_name']); ?>"<?php echo $checked_item_name['item_name']; ?> /></td> |
| 472 |
<th><?php _e('Position of item name','usces'); ?></th> |
| 473 |
<td><input name="position[item_name]" type="text" class="num" id="pos_item_name" value="<?php echo esc_attr($pos_item_name['item_name']); ?>" />(<?php _e('numeric','usces'); ?>)</td> |
| 474 |
</tr> |
| 475 |
<tr> |
| 476 |
<th><label for="indi_item_code"><?php _e('Indication of item code','usces'); ?></label></th> |
| 477 |
<td><input name="indication[item_code]" type="checkbox" id="indi_item_code" value="<?php echo esc_attr($indi_item_name['item_code']); ?>"<?php echo $checked_item_name['item_code']; ?> /></td> |
| 478 |
<th><?php _e('Position of item code','usces'); ?></th> |
| 479 |
<td><input name="position[item_code]" type="text" class="num" id="pos_item_code" value="<?php echo esc_attr($pos_item_name['item_code']); ?>" />(<?php _e('numeric','usces'); ?>)</td> |
| 480 |
</tr> |
| 481 |
<tr> |
| 482 |
<th><label for="indi_sku_name"><?php _e('Indication of SKU name','usces'); ?></label></th> |
| 483 |
<td><input name="indication[sku_name]" type="checkbox" id="indi_sku_name" value="<?php echo esc_attr($indi_item_name['sku_name']); ?>"<?php echo $checked_item_name['sku_name']; ?> /></td> |
| 484 |
<th><?php _e('Position of SKU name','usces'); ?></th> |
| 485 |
<td><input name="position[sku_name]" type="text" class="num" id="pos_sku_name" value="<?php echo esc_attr($pos_item_name['sku_name']); ?>" />(<?php _e('numeric','usces'); ?>)</td> |
| 486 |
</tr> |
| 487 |
<tr> |
| 488 |
<th><label for="indi_sku_code"><?php _e('Indication of SKU code','usces'); ?></label></th> |
| 489 |
<td><input name="indication[sku_code]" type="checkbox" id="indi_sku_code" value="<?php echo esc_attr($indi_item_name['sku_code']); ?>"<?php echo $checked_item_name['sku_code']; ?> /></td> |
| 490 |
<th><?php _e('Position of SKU code','usces'); ?></th> |
| 491 |
<td><input name="position[sku_code]" type="text" class="num" id="pos_sku_code" value="<?php echo esc_attr($pos_item_name['sku_code']); ?>" />(<?php _e('numeric','usces'); ?>)</td> |
| 492 |
</tr> |
| 493 |
</table> |
| 494 |
<hr size="1" color="#CCCCCC" /> |
| 495 |
<div id="ex_item_indication" class="explanation"><?php _e('You can appoint indication, non-indication, sort of the item name to show the cart.<br />This rule is applied as brand names such as a cart page, contents confirmation page, a member information purchase history, an email, a written estimate, the statement of delivery.','usces'); ?></div> |
| 496 |
</div> |
| 497 |
</div><!--postbox--> |
| 498 |
|
| 499 |
<!--20100809ysk start--> |
| 500 |
</div><!--cart_page_setting_1--> |
| 501 |
|
| 502 |
<div id="cart_page_setting_2"> |
| 503 |
<!--20100809ysk end--> |
| 504 |
|
| 505 |
<div class="postbox"> |
| 506 |
<h3 class="hndle"><span><?php _e('Explanation in a Cart page','usces'); ?></span><a style="cursor:pointer;" onclick="toggleVisibility('ex_cart_page');"><?php _e('(Explain)','usces'); ?></a></h3> |
| 507 |
<div class="inside"> |
| 508 |
<table class="form_table"> |
| 509 |
<tr> |
| 510 |
<th><?php _e('header','usces'); ?></th> |
| 511 |
<td><textarea name="header[cart]" id="header[cart]" class="mail_header"><?php echo (isset($cart_page_datas['header']['cart']) ? $cart_page_datas['header']['cart'] : ''); ?></textarea></td> |
| 512 |
<td> </td> |
| 513 |
</tr> |
| 514 |
<tr> |
| 515 |
<th><?php _e('footer','usces'); ?></th> |
| 516 |
<td><textarea name="footer[cart]" id="footer[cart]" class="mail_footer"><?php echo (isset($cart_page_datas['footer']['cart']) ? $cart_page_datas['footer']['cart'] : ''); ?></textarea></td> |
| 517 |
<td> </td> |
| 518 |
</tr> |
| 519 |
</table> |
| 520 |
<hr size="1" color="#CCCCCC" /> |
| 521 |
<div id="ex_cart_page" class="explanation"><?php _e('You can set additional explanation to insert in a cart page.','usces'); ?></div> |
| 522 |
</div> |
| 523 |
</div><!--postbox--> |
| 524 |
|
| 525 |
<div class="postbox"> |
| 526 |
<h3 class="hndle"><span><?php _e('Explanation in a Customer Info page','usces'); ?></span><a style="cursor:pointer;" onclick="toggleVisibility('ex_customer_page');"><?php _e('(Explain)','usces'); ?></a></h3> |
| 527 |
<div class="inside"> |
| 528 |
<table class="form_table"> |
| 529 |
<tr> |
| 530 |
<th><?php _e('header','usces'); ?></th> |
| 531 |
<td><textarea name="header[customer]" id="header[customer]" class="mail_header"><?php echo (isset($cart_page_datas['header']['customer']) ? $cart_page_datas['header']['customer'] : ''); ?></textarea></td> |
| 532 |
<td> </td> |
| 533 |
</tr> |
| 534 |
<tr> |
| 535 |
<th><?php _e('footer','usces'); ?></th> |
| 536 |
<td><textarea name="footer[customer]" id="footer[customer]" class="mail_footer"><?php echo (isset($cart_page_datas['footer']['customer']) ? $cart_page_datas['footer']['customer'] : ''); ?></textarea></td> |
| 537 |
<td> </td> |
| 538 |
</tr> |
| 539 |
</table> |
| 540 |
<hr size="1" color="#CCCCCC" /> |
| 541 |
<div id="ex_customer_page" class="explanation"><?php _e('You can set additional explanation to insert in a customer information page.','usces'); ?></div> |
| 542 |
</div> |
| 543 |
</div><!--postbox--> |
| 544 |
|
| 545 |
<div class="postbox"> |
| 546 |
<h3 class="hndle"><span><?php _e('Explanation in Delivery and Payment method page','usces'); ?></span><a style="cursor:pointer;" onclick="toggleVisibility('ex_delivery_page');"><?php _e('(Explain)','usces'); ?></a></h3> |
| 547 |
<div class="inside"> |
| 548 |
<table class="form_table"> |
| 549 |
<tr> |
| 550 |
<th><?php _e('header','usces'); ?></th> |
| 551 |
<td><textarea name="header[delivery]" id="header[delivery]" class="mail_header"><?php echo $cart_page_datas['header']['delivery']; ?></textarea></td> |
| 552 |
<td> </td> |
| 553 |
</tr> |
| 554 |
<tr> |
| 555 |
<th><?php _e('footer','usces'); ?></th> |
| 556 |
<td><textarea name="footer[delivery]" id="footer[delivery]" class="mail_footer"><?php echo $cart_page_datas['footer']['delivery']; ?></textarea></td> |
| 557 |
<td> </td> |
| 558 |
</tr> |
| 559 |
</table> |
| 560 |
<hr size="1" color="#CCCCCC" /> |
| 561 |
<div id="ex_delivery_page" class="explanation"><?php _e('You can set additional explanation to insert in a delivery and a payment method page.','usces'); ?></div> |
| 562 |
</div> |
| 563 |
</div><!--postbox--> |
| 564 |
|
| 565 |
<div class="postbox"> |
| 566 |
<h3 class="hndle"><span><?php _e('Explanation in a Confirm page','usces'); ?></span><a style="cursor:pointer;" onclick="toggleVisibility('ex_confirm_page');"><?php _e('(Explain)','usces'); ?></a></h3> |
| 567 |
<div class="inside"> |
| 568 |
<table class="form_table"> |
| 569 |
<tr> |
| 570 |
<th><?php _e('header','usces'); ?></th> |
| 571 |
<td><textarea name="header[confirm]" id="header[confirm]" class="mail_header"><?php echo $cart_page_datas['header']['confirm']; ?></textarea></td> |
| 572 |
<td> </td> |
| 573 |
</tr> |
| 574 |
<tr> |
| 575 |
<th><?php _e('footer','usces'); ?></th> |
| 576 |
<td><textarea name="footer[confirm]" id="footer[confirm]" class="mail_footer"><?php echo $cart_page_datas['footer']['confirm']; ?></textarea></td> |
| 577 |
<td> </td> |
| 578 |
</tr> |
| 579 |
</table> |
| 580 |
<hr size="1" color="#CCCCCC" /> |
| 581 |
<div id="ex_confirm_page" class="explanation"><?php _e('You can set additional explanation to insert in a confirm page.','usces'); ?></div> |
| 582 |
</div> |
| 583 |
</div><!--postbox--> |
| 584 |
|
| 585 |
<div class="postbox"> |
| 586 |
<h3 class="hndle"><span><?php _e('Explanation in a Completion page','usces'); ?></span><a style="cursor:pointer;" onclick="toggleVisibility('ex_completion_page');"><?php _e('(Explain)','usces'); ?></a></h3> |
| 587 |
<div class="inside"> |
| 588 |
<table class="form_table"> |
| 589 |
<tr> |
| 590 |
<th><?php _e('header','usces'); ?></th> |
| 591 |
<td><textarea name="header[completion]" id="header[completion]" class="mail_header"><?php echo $cart_page_datas['header']['completion']; ?></textarea></td> |
| 592 |
<td> </td> |
| 593 |
</tr> |
| 594 |
<tr> |
| 595 |
<th><?php _e('footer','usces'); ?></th> |
| 596 |
<td><textarea name="footer[completion]" id="footer[completion]" class="mail_footer"><?php echo $cart_page_datas['footer']['completion']; ?></textarea></td> |
| 597 |
<td> </td> |
| 598 |
</tr> |
| 599 |
</table> |
| 600 |
<hr size="1" color="#CCCCCC" /> |
| 601 |
<div id="ex_completion_page" class="explanation"><?php _e('You can set additional explanation to insert in a completion page.','usces'); ?></div> |
| 602 |
</div> |
| 603 |
</div><!--postbox--> |
| 604 |
|
| 605 |
<!--20100809ysk start--> |
| 606 |
</div><!--cart_page_setting_2--> |
| 607 |
<!--20100818ysk start--> |
| 608 |
<?php |
| 609 |
//$meta = has_custom_order_meta(); |
| 610 |
$csod_meta = usces_has_custom_field_meta('order'); |
| 611 |
$csod_display = (empty($csod_meta)) ? ' style="display: none;"' : ''; |
| 612 |
$csod_means = get_option('usces_custom_order_select'); |
| 613 |
$csod_meansoption = ''; |
| 614 |
foreach($csod_means as $meankey => $meanvalue) { |
| 615 |
$csod_meansoption .= '<option value="'.$meankey.'">'.$meanvalue."</option>\n"; |
| 616 |
} |
| 617 |
?> |
| 618 |
<div id="cart_page_setting_3"> |
| 619 |
<div class="postbox"> |
| 620 |
<h3 class="hndle"><span><?php _e('Custom order field', 'usces'); ?><a style="cursor:pointer;" onclick="toggleVisibility('ex_custom_order');"><?php _e('(Explain)','usces'); ?></a></span></h3> |
| 621 |
<!--20100818ysk end--> |
| 622 |
<div class="inside"> |
| 623 |
<!--20100818ysk start--> |
| 624 |
<div id="postoptcustomstuff"> |
| 625 |
<table id="csod-list-table" class="list"<?php echo $csod_display; ?>> |
| 626 |
<!--20100818ysk end--> |
| 627 |
<thead> |
| 628 |
<tr> |
| 629 |
<th class="left"><?php _e('key name','usces') ?></th> |
| 630 |
<th rowspan="2"><?php _e('selected amount','usces') ?></th> |
| 631 |
</tr> |
| 632 |
<tr> |
| 633 |
<th class="left"><?php _e('field name','usces') ?></th> |
| 634 |
</tr> |
| 635 |
</thead> |
| 636 |
<!--20100818ysk start--> |
| 637 |
<tbody id="csod-list"> |
| 638 |
<!--20100818ysk end--> |
| 639 |
<?php |
| 640 |
if(is_array($csod_meta)) { |
| 641 |
foreach($csod_meta as $key => $entry) |
| 642 |
echo _list_custom_order_meta_row($key, $entry); |
| 643 |
} |
| 644 |
?> |
| 645 |
</tbody> |
| 646 |
</table> |
| 647 |
<div id="ajax-response-csod"></div> |
| 648 |
<!--20100818ysk start--> |
| 649 |
<p><strong><?php _e('Add a new custom order field','usces') ?> : </strong></p> |
| 650 |
<!--20100818ysk end--> |
| 651 |
<table id="newmeta2"> |
| 652 |
<thead> |
| 653 |
<tr> |
| 654 |
<th class="left"><?php _e('key name','usces') ?></th> |
| 655 |
<th rowspan="2"><?php _e('selected amount','usces') ?></th> |
| 656 |
</tr> |
| 657 |
<tr> |
| 658 |
<th class="left"><?php _e('field name','usces') ?></th> |
| 659 |
</tr> |
| 660 |
</thead> |
| 661 |
|
| 662 |
<tbody> |
| 663 |
<tr> |
| 664 |
<td class='item-opt-key'> |
| 665 |
<input type="text" name="newcsodkey" id="newcsodkey" class="optname" value="" /> |
| 666 |
<input type="text" name="newcsodname" id="newcsodname" class="optname" value="" /> |
| 667 |
<div class="optcheck"><select name='newcsodmeans' id='newcsodmeans'><?php echo $csod_meansoption; ?></select> |
| 668 |
<input type="checkbox" name="newcsodessential" id="newcsodessential" /><label for='newcsodessential'><?php _e('Required','usces') ?></label></div> |
| 669 |
</td> |
| 670 |
<td class='item-opt-value'><textarea name="newcsodvalue" id="newcsodvalue" class='optvalue'></textarea></td> |
| 671 |
</tr> |
| 672 |
|
| 673 |
<tr><td colspan="2" class="submit"> |
| 674 |
<!--20100818ysk start--> |
| 675 |
<input type="button" name="add_csod" id="add_csod" value="<?php _e('Add custom order field','usces') ?>" onclick="customField.addOrder();" /> |
| 676 |
<!--20100818ysk end--> |
| 677 |
<div id="newcsod_loading" class="meta_submit_loading"></div> |
| 678 |
</td></tr> |
| 679 |
</tbody> |
| 680 |
</table> |
| 681 |
|
| 682 |
<hr size="1" color="#CCCCCC" /> |
| 683 |
<div id="ex_custom_order" class="explanation"><?php _e("You can add an arbitrary field to the page of the payment method.", 'usces'); ?></div> |
| 684 |
</div> |
| 685 |
</div> |
| 686 |
</div><!--postbox--> |
| 687 |
</div><!--cart_page_setting_3--> |
| 688 |
<!--20100818ysk start--> |
| 689 |
<?php |
| 690 |
$cscs_meta = usces_has_custom_field_meta('customer'); |
| 691 |
$cscs_display = (empty($cscs_meta)) ? ' style="display: none;"' : ''; |
| 692 |
$cscs_means = get_option('usces_custom_customer_select'); |
| 693 |
$cscs_meansoption = ''; |
| 694 |
foreach($cscs_means as $meankey => $meanvalue) { |
| 695 |
$cscs_meansoption .= '<option value="'.$meankey.'">'.$meanvalue."</option>\n"; |
| 696 |
} |
| 697 |
$positions = get_option('usces_custom_field_position_select'); |
| 698 |
$positionsoption = ''; |
| 699 |
foreach($positions as $poskey => $posvalue) { |
| 700 |
$positionsoption .= '<option value="'.$poskey.'">'.$posvalue."</option>\n"; |
| 701 |
} |
| 702 |
?> |
| 703 |
<div id="cart_page_setting_4"> |
| 704 |
<div class="postbox"> |
| 705 |
<h3 class="hndle"><span><?php _e('Custom customer field', 'usces'); ?><a style="cursor:pointer;" onclick="toggleVisibility('ex_custom_customer');"><?php _e('(Explain)','usces'); ?></a></span></h3> |
| 706 |
<div class="inside"> |
| 707 |
<div id="postoptcustomstuff"> |
| 708 |
<table id="cscs-list-table" class="list"<?php echo $cscs_display; ?>> |
| 709 |
<thead> |
| 710 |
<tr> |
| 711 |
<th class="left"><?php _e('key name','usces') ?></th> |
| 712 |
<th rowspan="2"><?php _e('selected amount','usces') ?></th> |
| 713 |
</tr> |
| 714 |
<tr> |
| 715 |
<th class="left"><?php _e('field name','usces') ?></th> |
| 716 |
</tr> |
| 717 |
</thead> |
| 718 |
<tbody id="cscs-list"> |
| 719 |
<?php |
| 720 |
if(is_array($cscs_meta)) { |
| 721 |
foreach($cscs_meta as $key => $entry) |
| 722 |
echo _list_custom_customer_meta_row($key, $entry); |
| 723 |
} |
| 724 |
?> |
| 725 |
</tbody> |
| 726 |
</table> |
| 727 |
<div id="ajax-response-cscs"></div> |
| 728 |
<p><strong><?php _e('Add a new custom customer field','usces') ?> : </strong></p> |
| 729 |
<table id="newmeta2"> |
| 730 |
<thead> |
| 731 |
<tr> |
| 732 |
<th class="left"><?php _e('key name','usces') ?></th> |
| 733 |
<th rowspan="2"><?php _e('selected amount','usces') ?></th> |
| 734 |
</tr> |
| 735 |
<tr> |
| 736 |
<th class="left"><?php _e('field name','usces') ?></th> |
| 737 |
</tr> |
| 738 |
</thead> |
| 739 |
|
| 740 |
<tbody> |
| 741 |
<tr> |
| 742 |
<td class='item-opt-key'> |
| 743 |
<input type="text" name="newcscskey" id="newcscskey" class="optname" value="" /> |
| 744 |
<input type="text" name="newcscsname" id="newcscsname" class="optname" value="" /> |
| 745 |
<div class="optcheck"><select name='newcscsmeans' id='newcscsmeans'><?php echo $cscs_meansoption; ?></select> |
| 746 |
<input type="checkbox" name="newcscsessential" id="newcscsessential" /><label for='newcscsessential'><?php _e('Required','usces') ?></label> |
| 747 |
<select name='newcscsposition' id='newcscsposition'><?php echo $positionsoption; ?></select></div> |
| 748 |
</td> |
| 749 |
<td class='item-opt-value'><textarea name="newcscsvalue" id="newcscsvalue" class='optvalue'></textarea></td> |
| 750 |
</tr> |
| 751 |
|
| 752 |
<tr><td colspan="2" class="submit"> |
| 753 |
<input type="button" name="add_cscs" id="add_cscs" value="<?php _e('Add custom customer field','usces') ?>" onclick="customField.addCustomer();" /> |
| 754 |
<div id="newcscs_loading" class="meta_submit_loading"></div> |
| 755 |
</td></tr> |
| 756 |
</tbody> |
| 757 |
</table> |
| 758 |
|
| 759 |
<hr size="1" color="#CCCCCC" /> |
| 760 |
<div id="ex_custom_customer" class="explanation"><?php _e("You can add an arbitrary field to customer information.", 'usces'); ?></div> |
| 761 |
</div> |
| 762 |
</div> |
| 763 |
</div><!--postbox--> |
| 764 |
</div><!--cart_page_setting_4--> |
| 765 |
<?php |
| 766 |
$csde_meta = usces_has_custom_field_meta('delivery'); |
| 767 |
$csde_display = (empty($csde_meta)) ? ' style="display: none;"' : ''; |
| 768 |
$csde_means = get_option('usces_custom_delivery_select'); |
| 769 |
$csde_meansoption = ''; |
| 770 |
foreach($csde_means as $meankey => $meanvalue) { |
| 771 |
$csde_meansoption .= '<option value="'.$meankey.'">'.$meanvalue."</option>\n"; |
| 772 |
} |
| 773 |
?> |
| 774 |
<div id="cart_page_setting_5"> |
| 775 |
<div class="postbox"> |
| 776 |
<h3 class="hndle"><span><?php _e('Custom delivery field', 'usces'); ?><a style="cursor:pointer;" onclick="toggleVisibility('ex_custom_delivery');"><?php _e('(Explain)','usces'); ?></a></span></h3> |
| 777 |
<div class="inside"> |
| 778 |
<div id="postoptcustomstuff"> |
| 779 |
<table id="csde-list-table" class="list"<?php echo $csde_display; ?>> |
| 780 |
<thead> |
| 781 |
<tr> |
| 782 |
<th class="left"><?php _e('key name','usces') ?></th> |
| 783 |
<th rowspan="2"><?php _e('selected amount','usces') ?></th> |
| 784 |
</tr> |
| 785 |
<tr> |
| 786 |
<th class="left"><?php _e('field name','usces') ?></th> |
| 787 |
</tr> |
| 788 |
</thead> |
| 789 |
<tbody id="csde-list"> |
| 790 |
<?php |
| 791 |
if(is_array($csde_meta)) { |
| 792 |
foreach($csde_meta as $key => $entry) |
| 793 |
echo _list_custom_delivery_meta_row($key, $entry); |
| 794 |
} |
| 795 |
?> |
| 796 |
</tbody> |
| 797 |
</table> |
| 798 |
<div id="ajax-response-csde"></div> |
| 799 |
<p><strong><?php _e('Add a new custom delivery field','usces') ?> : </strong></p> |
| 800 |
<table id="newmeta2"> |
| 801 |
<thead> |
| 802 |
<tr> |
| 803 |
<th class="left"><?php _e('key name','usces') ?></th> |
| 804 |
<th rowspan="2"><?php _e('selected amount','usces') ?></th> |
| 805 |
</tr> |
| 806 |
<tr> |
| 807 |
<th class="left"><?php _e('field name','usces') ?></th> |
| 808 |
</tr> |
| 809 |
</thead> |
| 810 |
|
| 811 |
<tbody> |
| 812 |
<tr> |
| 813 |
<td class='item-opt-key'> |
| 814 |
<input type="text" name="newcsdekey" id="newcsdekey" class="optname" value="" /> |
| 815 |
<input type="text" name="newcsdename" id="newcsdename" class="optname" value="" /> |
| 816 |
<div class="optcheck"><select name='newcsdemeans' id='newcsdemeans'><?php echo $csde_meansoption; ?></select> |
| 817 |
<input type="checkbox" name="newcsdeessential" id="newcsdeessential" /><label for='newcsdeessential'><?php _e('Required','usces') ?></label> |
| 818 |
<select name='newcsdeposition' id='newcsdeposition'><?php echo $positionsoption; ?></select></div> |
| 819 |
</td> |
| 820 |
<td class='item-opt-value'><textarea name="newcsdevalue" id="newcsdevalue" class='optvalue'></textarea></td> |
| 821 |
</tr> |
| 822 |
|
| 823 |
<tr><td colspan="2" class="submit"> |
| 824 |
<input type="button" name="add_csde" id="add_csde" value="<?php _e('Add custom delivery field','usces') ?>" onclick="customField.addDelivery();" /> |
| 825 |
<div id="newcsde_loading" class="meta_submit_loading"></div> |
| 826 |
</td></tr> |
| 827 |
</tbody> |
| 828 |
</table> |
| 829 |
|
| 830 |
<hr size="1" color="#CCCCCC" /> |
| 831 |
<div id="ex_custom_delivery" class="explanation"><?php _e("You can add an arbitrary field to delivery information.", 'usces'); ?></div> |
| 832 |
</div> |
| 833 |
</div> |
| 834 |
</div><!--postbox--> |
| 835 |
</div><!--cart_page_setting_5--> |
| 836 |
</div><!--tabs--> |
| 837 |
<!--20100809ysk end--> |
| 838 |
<!--20100818ysk end--> |
| 839 |
|
| 840 |
</div><!--poststuff--> |
| 841 |
<input name="usces_option_update" type="submit" class="button" value="<?php _e('change decision','usces'); ?>" /> |
| 842 |
</form> |
| 843 |
</div><!--usces_admin--> |
| 844 |
</div><!--wrap--> |