WP eCommerce - Version 3.7.8.1

Version Description

  • Fix: Security vulnerability in chronopay.
Download this release

Release Info

Developer garyc40
Plugin Icon 128x128 WP eCommerce
Version 3.7.8.1
Comparing to
See all releases

Code changes from version 3.8.6.1 to 3.7.8.1

Files changed (163) hide show
  1. .phptidy-config.php +0 -24
  2. admin-form-functions.php +909 -0
  3. admin-ie.css +15 -0
  4. admin.css +1721 -0
  5. admin.js +1236 -0
  6. admin_2.7.css +2040 -0
  7. currency_converter.inc.php +104 -0
  8. currency_list.php +243 -0
  9. display-coupons.php +581 -0
  10. display-ecommerce-subs.php +43 -0
  11. edit-profile.php +193 -0
  12. editor.php +165 -0
  13. editor_plugin.js +162 -0
  14. extra_image_processing.php +71 -0
  15. getimagesize.php +6 -0
  16. wpsc-merchants/library/google_shipping_country.php → google_shipping_country.php +44 -45
  17. homepage_products_functions.php +244 -0
  18. wpsc-includes/image_processing.php → image_processing.php +34 -2
  19. image_resize.php +101 -0
  20. {wpsc-core/images → images}/24bit-star.png +0 -0
  21. {wpsc-core/images → images}/arrowdown.gif +0 -0
  22. {wpsc-core/images → images}/blank.gif +0 -0
  23. {wpsc-core/images → images}/blue-star.gif +0 -0
  24. {wpsc-core/images → images}/buy_button.jpg +0 -0
  25. {wpsc-core/images → images}/cart-icon.gif +0 -0
  26. {wpsc-core/images → images}/cart.png +0 -0
  27. {wpsc-core/images → images}/cart_bg_top.gif +0 -0
  28. {wpsc-core/images → images}/cart_leftarrow.png +0 -0
  29. {wpsc-core/images → images}/cart_logo.gif +0 -0
  30. {wpsc-core/images → images}/cart_rightarrow.png +0 -0
  31. images/cc.gif +0 -0
  32. {wpsc-core/images → images}/checkout_logo.jpg +0 -0
  33. {wpsc-core/images → images}/close.gif +0 -0
  34. {wpsc-core/images → images}/closelabel.gif +0 -0
  35. {wpsc-core/js/tinymce3 → images}/credit_cards.png +0 -0
  36. {wpsc-core/images → images}/cross.png +0 -0
  37. {wpsc-core/images → images}/default-off.gif +0 -0
  38. {wpsc-core/images → images}/default-on.gif +0 -0
  39. {wpsc-core/images → images}/download.gif +0 -0
  40. {wpsc-core/images → images}/email_go.png +0 -0
  41. {wpsc-core/images → images}/exclamation.png +0 -0
  42. {wpsc-core/images → images}/facebook_status_off.gif +0 -0
  43. {wpsc-core/images → images}/folder_edit.png +0 -0
  44. {wpsc-core/images → images}/gear__plus.png +0 -0
  45. {wpsc-core/images → images}/gold-cart.png +0 -0
  46. {wpsc-core/images → images}/gold-star.gif +0 -0
  47. {wpsc-core/images → images}/google_bmarks.gif +0 -0
  48. images/google_checkout.gif +0 -0
  49. {wpsc-core/images → images}/grey-loader.gif +0 -0
  50. {wpsc-core/images → images}/grey-star.gif +0 -0
  51. {wpsc-core/images → images}/grid-off.gif +0 -0
  52. {wpsc-core/images → images}/grid-on.gif +0 -0
  53. {wpsc-core/images → images}/grid_bg.png +0 -0
  54. {wpsc-core/images → images}/help.png +0 -0
  55. images/icon_window_collapse.gif +0 -0
  56. images/icon_window_expand.gif +0 -0
  57. {wpsc-core/images → images}/indenter.gif +0 -0
  58. images/indicator.gif +0 -0
  59. {wpsc-core/images → images}/info_icon.jpg +0 -0
  60. {wpsc-core/images → images}/intensedebate-logo.png +0 -0
  61. {wpsc-core/images → images}/list-off.gif +0 -0
  62. {wpsc-core/images → images}/list-on.gif +0 -0
  63. {wpsc-core/images → images}/loading.gif +0 -0
  64. {wpsc-core/images → images}/loadingAnimation.gif +0 -0
  65. {wpsc-core/images → images}/lock_open.png +0 -0
  66. {wpsc-core/images → images}/menu-arrows.gif +0 -0
  67. {wpsc-core/images → images}/mini-arrow.jpg +0 -0
  68. {wpsc-core/images → images}/minus.png +0 -0
  69. {wpsc-core/images → images}/next.gif +0 -0
  70. {wpsc-core/images → images}/nextlabel.gif +0 -0
  71. {wpsc-core/images → images}/no-image-uploaded.gif +0 -0
  72. {wpsc-core/images → images}/no-star.gif +0 -0
  73. {wpsc-core/images → images}/no_stock.gif +0 -0
  74. {wpsc-core/images → images}/order_bottom.png +0 -0
  75. {wpsc-core/images → images}/order_down.png +0 -0
  76. {wpsc-core/images → images}/order_top.png +0 -0
  77. {wpsc-core/images → images}/order_up.png +0 -0
  78. {wpsc-core/images → images}/package_add.png +0 -0
  79. {wpsc-core/images → images}/paypal-referal.gif +0 -0
  80. images/paypal.gif +0 -0
  81. {wpsc-core/images → images}/pencil.png +0 -0
  82. {wpsc-core/images → images}/plus.png +0 -0
  83. {wpsc-core/images → images}/plus_icon.jpg +0 -0
  84. {wpsc-core/images → images}/prev.gif +0 -0
  85. {wpsc-core/images → images}/prevlabel.gif +0 -0
  86. {wpsc-core/images → images}/printer.png +0 -0
  87. {wpsc-core/images → images}/product-alert.jpg +0 -0
  88. {wpsc-core/images → images}/remove_item.png +0 -0
  89. {wpsc-core/images → images}/roll-over-drag.jpg +0 -0
  90. {wpsc-core/images → images}/rss-icon.jpg +0 -0
  91. {wpsc-core/images → images}/social_networking/blinklist.gif +0 -0
  92. {wpsc-core/images → images}/social_networking/blogmarks.gif +0 -0
  93. {wpsc-core/images → images}/social_networking/delicious.gif +0 -0
  94. {wpsc-core/images → images}/social_networking/digg.gif +0 -0
  95. {wpsc-core/images → images}/social_networking/favoriting.gif +0 -0
  96. {wpsc-core/images → images}/social_networking/furl.gif +0 -0
  97. {wpsc-core/images → images}/social_networking/google_bmarks.gif +0 -0
  98. {wpsc-core/images → images}/social_networking/magnolia.gif +0 -0
  99. {wpsc-core/images → images}/social_networking/netscape.gif +0 -0
  100. {wpsc-core/images → images}/social_networking/newsvine.gif +0 -0
  101. {wpsc-core/images → images}/social_networking/reddit.gif +0 -0
  102. {wpsc-core/images → images}/social_networking/share-icon-16x16.gif +0 -0
  103. {wpsc-core/images → images}/social_networking/share-this-product.gif +0 -0
  104. {wpsc-core/images → images}/social_networking/stumbleupon.gif +0 -0
  105. {wpsc-core/images → images}/social_networking/tailrank.gif +0 -0
  106. {wpsc-core/images → images}/social_networking/technorati.gif +0 -0
  107. {wpsc-core/images → images}/social_networking/windows_live.gif +0 -0
  108. {wpsc-core/images → images}/social_networking/yahoo_myweb.gif +0 -0
  109. {wpsc-core/images → images}/star.gif +0 -0
  110. {wpsc-core/images → images}/sub-category-divide.jpg +0 -0
  111. {wpsc-core/images → images}/tick.png +0 -0
  112. {wpsc-core/images → images}/toggle-arrow.gif +0 -0
  113. {wpsc-core/images → images}/toolbar.png +0 -0
  114. {wpsc-core/images → images}/transparent.gif +0 -0
  115. {wpsc-core/images → images}/trash.gif +0 -0
  116. {wpsc-core/images → images}/yes_stock.gif +0 -0
  117. insertcate.php +95 -0
  118. {wpsc-core/js → js}/ajax.js +0 -0
  119. js/editor_plugin.js +134 -0
  120. {wpsc-core/js → js}/iautocompleter.js +0 -0
  121. {wpsc-core/js → js}/interface.js +0 -0
  122. {wpsc-core/js → js}/jquery.accessible-news-slider.js +0 -0
  123. {wpsc-core/js → js}/jquery.jeditable.pack.js +0 -0
  124. {wpsc-core/js → js}/jquery.rating.js +137 -137
  125. {wpsc-core/js → js}/jquery.tabs.pack.js +0 -0
  126. {wpsc-core/js → js}/jquery.ui.tabs.css +0 -0
  127. {wpsc-core/js → js}/loading.gif +0 -0
  128. {wpsc-core/js → js}/product_rater.css +1 -1
  129. {wpsc-core/js → js}/swfupload.js +928 -928
  130. {wpsc-core/js → js}/swfupload.swf +0 -0
  131. {wpsc-core/js → js}/swfupload/SWFObject License.txt +4 -4
  132. {wpsc-core/js → js}/swfupload/swfupload.cookies.js +53 -53
  133. {wpsc-core/js → js}/swfupload/swfupload.gears.js +1035 -1035
  134. {wpsc-core/js → js}/swfupload/swfupload.queue.js +76 -76
  135. {wpsc-core/js → js}/swfupload/swfupload.swfobject.js +110 -110
  136. {wpsc-core/js → js}/thickbox.css +0 -0
  137. {wpsc-core/js → js}/thickbox.js +1 -1
  138. js/tinymce3/cart.png +0 -0
  139. {wpsc-core/js → js}/tinymce3/editor_plugin.js +16 -5
  140. {wpsc-core/js → js}/tinymce3/langs/de_de.js +0 -0
  141. {wpsc-core/js → js}/tinymce3/langs/en.js +0 -0
  142. {wpsc-core/js → js}/tinymce3/langs/en_US.js +0 -0
  143. js/tinymce3/mce.css +9 -0
  144. js/tinymce3/productspage.gif +0 -0
  145. {wpsc-core/js → js}/tinymce3/tinymce.js +21 -51
  146. {wpsc-core/js → js}/tinymce3/tinymce.php +5 -5
  147. js/tinymce3/window.php +149 -0
  148. {wpsc-core/js → js}/ui.datepicker.js +3 -2
  149. {wpsc-core/js → js}/ui.droppable.js +0 -0
  150. js/user.js +559 -0
  151. js/wp-e-commerce.js +376 -0
  152. langs/en.js +13 -0
  153. languages/BG_bg.php +585 -0
  154. languages/CZ_cz.php +856 -0
  155. languages/DE_de.php +655 -0
  156. languages/DK_da.php +719 -0
  157. languages/EL_el.php +479 -0
  158. {wpsc-languages → languages}/EN_en.php +38 -12
  159. languages/FR_fr.php +866 -0
  160. languages/HU_hu.php +494 -0
  161. languages/IT_it.php +1051 -0
  162. languages/JP_jp.php +1089 -0
  163. languages/KO_ko.php +461 -0
.phptidy-config.php DELETED
@@ -1,24 +0,0 @@
1
- <?php
2
- // This is a config file for PHPtidy
3
- // http://developer.berlios.de/projects/phptidy/
4
-
5
- $project_files = array('*.php',
6
- 'merchants/*.php',
7
- 'shipping/*.php',
8
- 'merchants/*.php',
9
- 'updates/*.php',
10
- 'widgets/*.php',
11
- 'wpsc-includes/*.php',
12
- 'wpsc-admin/*.php',
13
- 'wpsc-admin/includes/*.php',
14
- 'wpsc-admin/includes/settings-pages/*.php');
15
-
16
- $default_package = "WP e-Commerce";
17
- $add_file_docblock = TRUE;
18
- $add_functions_docblock = TRUE;
19
- $add_doctags = TRUE;
20
- $fix_docblock_format = TRUE;
21
- $fix_docblock_space = TRUE;
22
- $add_blank_lines = FALSE;
23
-
24
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin-form-functions.php ADDED
@@ -0,0 +1,909 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ // ini_set('display_errors','1');
3
+
4
+ function nzshpcrt_getcategoryform($catid)
5
+ {
6
+ global $wpdb,$nzshpcrt_imagesize_info;
7
+ $product = $wpdb->get_row("SELECT * FROM `".WPSC_TABLE_PRODUCT_CATEGORIES."` WHERE `id`=$catid LIMIT 1",ARRAY_A);
8
+ $output = '';
9
+ $output .= "<div class='editing_this_group form_table'>";
10
+ $output .= "<p>".str_replace("[categorisation]", htmlentities(stripslashes($product['name'])), __('You are editing the &quot;[categorisation]&quot; Category', 'wpsc'))."</p>\n\r";
11
+ $output .= "<p><a href='' onclick='return showaddform()' class='add_category_link'><span>".str_replace("&quot;[categorisation]&quot;", "current", __('+ Add new category to the &quot;[categorisation]&quot; Group', 'wpsc'))."</span></a></p>";
12
+ $output .="<dl>\n\r";
13
+ $output .=" <dt>Display Category Shortcode: </dt>\n\r";
14
+ $output .=" <dd> [wpsc_products category_url_name='{$product['nice-name']}']</dd>\n\r";
15
+ $output .=" <dt>Display Category Template Tag: </dt>\n\r";
16
+ $output .=" <dd> &lt;?php echo wpsc_display_products_page(array('category_url_name'=>'{$product['nice-name']}')); ?&gt;</dd>\n\r";
17
+ $output .="</dl>\n\r";
18
+
19
+ //$output .= " [ <a href='#' onclick='return showedit_categorisation_form()'>".__('Edit This Group', 'wpsc')."</a> ]";
20
+
21
+ $output .= "</div>";
22
+ $output .= " <table class='category_forms'>\n\r";
23
+ $output .= " <tr>\n\r";
24
+ $output .= " <td>\n\r";
25
+ $output .= __('Name', 'wpsc').": ";
26
+ $output .= " </td>\n\r";
27
+ $output .= " <td>\n\r";
28
+ $output .= "<input type='text' class='text' name='title' value='".htmlentities(stripslashes($product['name']), ENT_QUOTES, 'UTF-8')."' />";
29
+ $output .= " </td>\n\r";
30
+ $output .= " </tr>\n\r";
31
+
32
+ $output .= " <tr>\n\r";
33
+ $output .= " <td>\n\r";
34
+ $output .= __('Description', 'wpsc').": ";
35
+ $output .= " </td>\n\r";
36
+ $output .= " <td>\n\r";
37
+ $output .= "<textarea name='description' cols='40' rows='8' >".stripslashes($product['description'])."</textarea>";
38
+ $output .= " </td>\n\r";
39
+ $output .= " </tr>\n\r";
40
+ $output .= " </tr>\n\r";
41
+
42
+ $output .= " <tr>\n\r";
43
+ $output .= " <td>\n\r";
44
+ $output .= __('Category Parent', 'wpsc').": ";
45
+ $output .= " </td>\n\r";
46
+ $output .= " <td>\n\r";
47
+ $output .= wpsc_parent_category_list($product['group_id'], $product['id'], $product['category_parent']);
48
+ $output .= " </td>\n\r";
49
+ $output .= " </tr>\n\r";
50
+ $output .= " </tr>\n\r";
51
+
52
+
53
+ if ($product['display_type'] == 'grid') {
54
+ $display_type1="selected='selected'";
55
+ } else if ($product['display_type'] == 'default') {
56
+ $display_type2="selected='selected'";
57
+ }
58
+
59
+ switch($product['display_type']) {
60
+ case "default":
61
+ $product_view1 = "selected ='selected'";
62
+ break;
63
+
64
+ case "grid":
65
+ if(function_exists('product_display_grid')) {
66
+ $product_view3 = "selected ='selected'";
67
+ break;
68
+ }
69
+
70
+ case "list":
71
+ if(function_exists('product_display_list')) {
72
+ $product_view2 = "selected ='selected'";
73
+ break;
74
+ }
75
+
76
+ default:
77
+ $product_view0 = "selected ='selected'";
78
+ break;
79
+ }
80
+
81
+
82
+
83
+ $output .= " <tr>\n\r";
84
+ $output .= " <td>\n\r";
85
+ $output .= __('Category&nbsp;Image', 'wpsc').": ";
86
+ $output .= " </td>\n\r";
87
+ $output .= " <td>\n\r";
88
+ $output .= "<input type='file' name='image' value='' />";
89
+ $output .= " </td>\n\r";
90
+ $output .= " </tr>\n\r";
91
+ $output .= " </tr>\n\r";
92
+
93
+ if(function_exists("getimagesize")) {
94
+ if($product['image'] != '') {
95
+ $imagepath = WPSC_CATEGORY_DIR . $product['image'];
96
+ $imagetype = @getimagesize($imagepath); //previously exif_imagetype()
97
+ $output .= " <tr>\n\r";
98
+ $output .= " <td>\n\r";
99
+ $output .= " </td>\n\r";
100
+ $output .= " <td>\n\r";
101
+ $output .= __('Height', 'wpsc').":<input type='text' size='6' name='height' value='".$imagetype[1]."' /> ".__('Width', 'wpsc').":<input type='text' size='6' name='width' value='".$imagetype[0]."' /><br /><span class='wpscsmall description'>$nzshpcrt_imagesize_info</span><br />\n\r";
102
+ $output .= "<span class='wpscsmall description'>".__('You can upload thumbnail images for each group. To display Group details in your shop you must configure these settings under <a href="admin.php?page=wpsc-settings&tab=presentation">Presentation Settings</a>.', 'wpsc')."</span>\n\r";
103
+ $output .= " </td>\n\r";
104
+ $output .= " </tr>\n\r";
105
+ } else {
106
+ $output .= " <tr>\n\r";
107
+ $output .= " <td>\n\r";
108
+ $output .= " </td>\n\r";
109
+ $output .= " <td>\n\r";
110
+ $output .= __('Height', 'wpsc').":<input type='text' size='6' name='height' value='".get_option('product_image_height')."' /> ".__('Width', 'wpsc').":<input type='text' size='6' name='width' value='".get_option('product_image_width')."' /><br /><span class='wpscsmall description'>$nzshpcrt_imagesize_info</span><br />\n\r";
111
+ $output .= "<span class='wpscsmall description'>".__('You can upload thumbnail images for each group. To display Group details in your shop you must configure these settings under <a href="admin.php?page=wpsc-settings&tab=presentation">Presentation Settings</a>.', 'wpsc')."</span>\n\r";
112
+ $output .= " </td>\n\r";
113
+ $output .= " </tr>\n\r";
114
+ }
115
+ }
116
+
117
+ $output .= " <tr>\n\r";
118
+ $output .= " <td>\n\r";
119
+ $output .= __('Delete Image', 'wpsc').": ";
120
+ $output .= " </td>\n\r";
121
+ $output .= " <td>\n\r";
122
+ $output .= "<input type='checkbox' name='deleteimage' value='1' />";
123
+ $output .= " </td>\n\r";
124
+ $output .= " </tr>\n\r";
125
+ $output .= " </tr>\n\r";
126
+ /* START OF TARGET MARKET SELECTION */
127
+ $countrylist = $wpdb->get_results("SELECT id,country,visible FROM `".WPSC_TABLE_CURRENCY_LIST."` ORDER BY country ASC ",ARRAY_A);
128
+ $selectedCountries = $wpdb->get_col("SELECT countryid FROM `".WPSC_TABLE_CATEGORY_TM."` WHERE categoryid=".$product['id']." AND visible= 1");
129
+ // exit('<pre>'.print_r($countrylist,true).'</pre><br /><pre>'.print_r($selectedCountries,true).'</pre>');
130
+ $output .= " <tr>\n\r";
131
+ $output .= " <td colspan='2'><h4>Target Market Restrictions</h4></td></tr><tr><td>&nbsp;</td></tr><tr>\n\r";
132
+ $output .= " <td>\n\r";
133
+ $output .= __('Target Markets', 'wpsc').":\n\r";
134
+ $output .= " </td>\n\r";
135
+ $output .= " <td>\n\r";
136
+
137
+ if(@extension_loaded('suhosin')) {
138
+ $output .= "<em>".__("The Target Markets feature has been disabled because you have the Suhosin PHP extension installed on this server. If you need to use the Target Markets feature then disable the suhosin extension, if you can not do this, you will need to contact your hosting provider.
139
+ ",'wpsc')."</em>";
140
+
141
+ } else {
142
+ $output .= "<span>Select: <a href='' class='wpsc_select_all'>All</a>&nbsp; <a href='' class='wpsc_select_none'>None</a></span><br />";
143
+ $output .= " <div id='resizeable' class='ui-widget-content multiple-select'>\n\r";
144
+ foreach($countrylist as $country){
145
+ if(in_array($country['id'], $selectedCountries))
146
+ /* if($country['visible'] == 1) */{
147
+ $output .= " <input type='checkbox' name='countrylist2[]' value='".$country['id']."' checked='".$country['visible']."' />".$country['country']."<br />\n\r";
148
+ }else{
149
+ $output .= " <input type='checkbox' name='countrylist2[]' value='".$country['id']."' />".$country['country']."<br />\n\r";
150
+ }
151
+
152
+ }
153
+ $output .= " </div><br /><br />";
154
+ $output .= " <span class='wpscsmall description'>Select the markets you are selling this category to.<span>\n\r";
155
+ }
156
+
157
+ $output .= " </td>\n\r";
158
+
159
+ $output .= " </tr>\n\r";
160
+ ////////
161
+
162
+ $output .= " <tr>\n\r";
163
+ $output .= " <td colspan='2' class='category_presentation_settings'>\n\r";
164
+ $output .= " <h4>".__('Presentation Settings', 'wpsc')."</h4>\n\r";
165
+ $output .= " <span class='small'>".__('To over-ride the presentation settings for this group you can enter in your prefered settings here', 'wpsc')."</span>\n\r";
166
+ $output .= " </td>\n\r";
167
+ $output .= " </tr>\n\r";
168
+
169
+ $output .= " <tr>\n\r";
170
+ $output .= " <td>\n\r";
171
+ $output .= " ". __('Catalog View', 'wpsc').":\n\r";
172
+ $output .= " </td>\n\r";
173
+ $output .= " <td>\n\r";
174
+ $output .= " <select name='display_type'>\n\r";
175
+ $output .= " <option value='' $product_view0 >".__('Please select', 'wpsc')."</option>\n\r";
176
+ $output .= " <option value='default' $product_view1 >".__('Default View', 'wpsc')."</option>\n\r";
177
+ if(function_exists('product_display_list')) {
178
+ $output .= " <option value='list' ". $product_view2.">". __('List View', 'wpsc')."</option>\n\r";
179
+ } else {
180
+ $output .= " <option value='list' disabled='disabled' ". $product_view2.">". __('List View', 'wpsc')."</option>\n\r";
181
+ }
182
+ if(function_exists('product_display_grid')) {
183
+ $output .= " <option value='grid' ". $product_view3.">". __('Grid View', 'wpsc')."</option>\n\r";
184
+ } else {
185
+ $output .= " <option value='grid' disabled='disabled' ". $product_view3.">". __('Grid View', 'wpsc')."</option>\n\r";
186
+ }
187
+ $output .= " </select>\n\r";
188
+ $output .= " </td>\n\r";
189
+ $output .= " </tr>\n\r";
190
+
191
+
192
+ if(function_exists("getimagesize")) {
193
+ $output .= " <tr>\n\r";
194
+ $output .= " <td>\n\r";
195
+ $output .= __('Thumbnail&nbsp;Size', 'wpsc').": ";
196
+ $output .= " </td>\n\r";
197
+ $output .= " <td>\n\r";
198
+ $output .= __('Height', 'wpsc').": <input type='text' value='".$product['image_height']."' name='product_height' size='6'/> ";
199
+ $output .= __('Width', 'wpsc').": <input type='text' value='".$product['image_width']."' name='product_width' size='6'/> <br/>";
200
+ $output .= " </td>\n\r";
201
+ $output .= " </tr>\n\r";
202
+ }
203
+
204
+
205
+
206
+ $output .= " <tr>\n\r";
207
+ $output .= " <td colspan='2' class='category_presentation_settings'>\n\r";
208
+ $output .= " <h4>".__('Checkout Settings', 'wpsc')."</h4>\n\r";
209
+ //$output .= " <span class='small'>".__('To over-ride the presentation settings for this group you can enter in your prefered settings here', 'wpsc')."</span>\n\r";
210
+ $output .= " </td>\n\r";
211
+ $output .= " </tr>\n\r";
212
+
213
+
214
+ $used_additonal_form_set = wpsc_get_categorymeta($product['id'], 'use_additonal_form_set');
215
+ $output .= " <tr>\n\r";
216
+ $output .= " <td>\n\r";
217
+ $output .= __("This category requires additional checkout form fields",'wpsc').": ";
218
+ $output .= " </td>\n\r";
219
+ $output .= " <td>\n\r";
220
+
221
+ $output .= " <select name='use_additonal_form_set'>\n\r";
222
+ $output .= " <option value=''>".__("None",'wpsc')."</option>\n\r";
223
+
224
+ $checkout_sets = get_option('wpsc_checkout_form_sets');
225
+ unset($checkout_sets[0]);
226
+ foreach((array)$checkout_sets as $key => $value) {
227
+ $selected_state = "";
228
+ if($used_additonal_form_set == $key) {
229
+ $selected_state = "selected='selected'";
230
+ }
231
+ $output .= " <option {$selected_state} value='{$key}'>".stripslashes($value)."</option>\n\r";
232
+ }
233
+ $output .= " </select>\n\r";
234
+ //$output .= " <label><input type='radio' value='1' name='uses_additonal_forms' ".(($uses_additional_forms == true) ? "checked='checked'" : "")." />".__("Yes",'wpsc')."</label>";
235
+ //$output .= " <label><input type='radio' value='0' name='uses_additonal_forms' ".(($uses_additional_forms != true) ? "checked='checked'" : "")." />".__("No",'wpsc')."</label>";
236
+ $output .= " </td>\n\r";
237
+ $output .= " </tr>\n\r";
238
+
239
+
240
+ $output .= " <tr>";
241
+ $output .= " <td colspan='2'> </td>";
242
+ $output .= " </tr>";
243
+
244
+ $uses_billing_address = (bool)wpsc_get_categorymeta($product['id'], 'uses_billing_address');
245
+ $output .= " <tr>\n\r";
246
+ $output .= " <td>\n\r";
247
+ $output .= __("Products in this category use the billing address to calculate shipping",'wpsc').": ";
248
+ $output .= " </td>\n\r";
249
+ $output .= " <td>\n\r";
250
+ $output .= " <label><input type='radio' value='1' name='uses_billing_address' ".(($uses_billing_address == true) ? "checked='checked'" : "")." />".__("Yes",'wpsc')."</label>";
251
+ $output .= " <label><input type='radio' value='0' name='uses_billing_address' ".(($uses_billing_address != true) ? "checked='checked'" : "")." />".__("No",'wpsc')."</label>";
252
+ $output .= " </td>\n\r";
253
+ $output .= " </tr>\n\r";
254
+
255
+ $output .= " <tr>\n\r";
256
+ $output .= " <td>\n\r";
257
+ $output .= " </td>\n\r";
258
+ $output .= " <td class='last_row'>\n\r";
259
+ $output .= "<input type='hidden' name='prodid' value='".$product['id']."' />";
260
+ $output .= "<input type='hidden' name='submit_action' value='edit' />";
261
+ $output .= "<input class='button-primary' style='float:left;' type='submit' name='submit' value='".__('Update Category', 'wpsc')."' />";
262
+ $output .= "<a class='delete_button' href='".add_query_arg('deleteid', $product['id'], 'admin.php?page=wpsc-edit-groups')."' onclick=\"return conf();\" >".__('Delete', 'wpsc')."</a>";
263
+ $output .= " </td>\n\r";
264
+ $output .= " </tr>\n\r";
265
+ $output .= " </table>\n\r";
266
+ return $output;
267
+ }
268
+
269
+ function nzshpcrt_getvariationform($variation_id)
270
+ {
271
+ global $wpdb,$nzshpcrt_imagesize_info;
272
+
273
+ $variation_sql = "SELECT * FROM `".WPSC_TABLE_PRODUCT_VARIATIONS."` WHERE `id`='$variation_id' LIMIT 1";
274
+ $variation_data = $wpdb->get_results($variation_sql,ARRAY_A) ;
275
+ $variation = $variation_data[0];
276
+ $output .= " <table class='category_forms' >\n\r";
277
+ $output .= " <tr>\n\r";
278
+ $output .= " <td>\n\r";
279
+ $output .= __('Name', 'wpsc').": ";
280
+ $output .= " </td>\n\r";
281
+ $output .= " <td>\n\r";
282
+ $output .= "<input type='text' class='text' name='title' value='".htmlentities(stripslashes($variation['name']), ENT_QUOTES, 'UTF-8')."' />";
283
+ $output .= " </td>\n\r";
284
+ $output .= " </tr>\n\r";
285
+
286
+ $output .= " <tr>\n\r";
287
+ $output .= " <td>\n\r";
288
+ $output .= __('Variation Values', 'wpsc').": ";
289
+ $output .= " </td>\n\r";
290
+ $output .= " <td>\n\r";
291
+ $variation_values_sql = "SELECT * FROM `".WPSC_TABLE_VARIATION_VALUES."` WHERE `variation_id`='$variation_id' ORDER BY `id` ASC";
292
+ $variation_values = $wpdb->get_results($variation_values_sql,ARRAY_A);
293
+ $variation_value_count = count($variation_values);
294
+ $output .= "<div id='edit_variation_values'>";
295
+ $num = 0;
296
+ foreach($variation_values as $variation_value) {
297
+ $output .= "<span class='variation_value'>";
298
+ $output .= "<input type='text' class='text' name='variation_values[".$variation_value['id']."]' value='".htmlentities(stripslashes($variation_value['name']), ENT_QUOTES, 'UTF-8')."' />";
299
+ if($variation_value_count > 1) {
300
+ $output .= " <a class='image_link' onclick='return remove_variation_value(this,".$variation_value['id'].")' href='#'><img src='".WPSC_URL."/images/trash.gif' alt='".__('Delete', 'wpsc')."' title='".__('Delete', 'wpsc')."' /></a>";
301
+ }
302
+ $output .= "<br />";
303
+ $output .= "</span>";
304
+ $num++;
305
+ }
306
+ $output .= "</div>";
307
+ $output .= "<a href='#' onclick='return add_variation_value(\"edit\")'>".__('Add', 'wpsc')."</a>";
308
+ $output .= " </td>\n\r";
309
+ $output .= " </tr>\n\r";
310
+ $output .= " </tr>\n\r";
311
+
312
+ $output .= " <tr>\n\r";
313
+ $output .= " <td>\n\r";
314
+ $output .= " </td>\n\r";
315
+ $output .= " <td>\n\r";
316
+ $output .= "<input type='hidden' name='prodid' value='".$variation['id']."' />";
317
+ $output .= "<input type='hidden' name='submit_action' value='edit' />";
318
+ $output .= "<input class='button' style='float:left;' type='submit' name='submit' value='".__('Edit', 'wpsc')."' />";
319
+ $output .= "<a class='button delete_button' href='admin.php?page=".WPSC_DIR_NAME."/display_variations.php&amp;deleteid=".$variation['id']."' onclick=\"return conf();\" >".__('Delete', 'wpsc')."</a>";
320
+ $output .= " </td>\n\r";
321
+ $output .= " </tr>\n\r";
322
+ $output .= " </table>\n\r";
323
+ return $output;
324
+ }
325
+
326
+ function coupon_edit_form($coupon) {
327
+
328
+ $conditions = unserialize($coupon['condition']);
329
+ //exit('<pre>'.print_r($coupon, true).'</pre>');
330
+
331
+ $start_timestamp = strtotime($coupon['start']);
332
+ $end_timestamp = strtotime($coupon['expiry']);
333
+ $id = $coupon['id'];
334
+ $output = '';
335
+ $output .= "<form name='edit_coupon' id='".$coupon['coupon_code']."' method='post' action=''>\n\r";
336
+ $output .= " <input type='hidden' value='true' name='is_edit_coupon' />\n\r";
337
+ $output .= "<table class='add-coupon'>\n\r";
338
+ $output .= " <tr>\n\r";
339
+ $output .= " <th>".__('Coupon Code', 'wpsc')."</th>\n\r";
340
+ $output .= " <th>".__('Discount', 'wpsc')."</th>\n\r";
341
+ $output .= " <th>".__('Start', 'wpsc')."</th>\n\r";
342
+ $output .= " <th>".__('Expiry', 'wpsc')."</th>\n\r";
343
+ $output .= " <th>".__('Use Once', 'wpsc')."</th>\n\r";
344
+ $output .= " <th>".__('Active', 'wpsc')."</th>\n\r";
345
+ $output .= " <th>".__('Apply On All Products', 'wpsc')."</th>\n\r";
346
+ $output .= " <th></th>\n\r";
347
+ $output .= " </tr>\n\r";
348
+ $output .= " <tr>\n\r";
349
+ $output .= " <td>\n\r";
350
+ $output .= " <input type='text' size='8' value='".$coupon['coupon_code']."' name='edit_coupon[".$id."][coupon_code]' />\n\r";
351
+ $output .= " </td>\n\r";
352
+ $output .= " <td>\n\r";
353
+ $output .= " <input type='text' style='width:28px;' value='".$coupon['value']."' name=edit_coupon[".$id."][value]' />";
354
+ $output .= " <select style='width:20px;' name='edit_coupon[".$id."][is-percentage]'>";
355
+ $output .= " <option value='0' ".(($coupon['is-percentage'] == 0) ? "selected='true'" : '')." >$</option>\n\r";//
356
+ $output .= " <option value='1' ".(($coupon['is-percentage'] == 1) ? "selected='true'" : '')." >%</option>\n\r";
357
+ $output .= " <option value='2' ".(($coupon['is-percentage'] == 2) ? "selected='true'" : '')." >Free shipping</option>\n\r";
358
+ $output .= " </select>\n\r";
359
+ $output .= " </td>\n\r";
360
+ $output .= " <td>\n\r";
361
+ $coupon_start = explode(" ",$coupon['start']);
362
+ $output .= "<input type='text' class='pickdate' size='8' name='edit_coupon[".$id."][start]' value='{$coupon_start[0]}'>";
363
+ $output .= " </td>\n\r";
364
+ $output .= " <td>\n\r";
365
+ $coupon_expiry = explode(" ",$coupon['expiry']);
366
+ $output .= "<input type='text' class='pickdate' size='8' name='edit_coupon[".$id."][expiry]' value='{$coupon_expiry[0]}'>";
367
+ $output .= " </td>\n\r";
368
+ $output .= " <td>\n\r";
369
+ $output .= " <input type='hidden' value='0' name='edit_coupon[".$id."][use-once]' />\n\r";
370
+ $output .= " <input type='checkbox' value='1' ".(($coupon['use-once'] == 1) ? "checked='checked'" : '')." name='edit_coupon[".$id."][use-once]' />\n\r";
371
+ $output .= " </td>\n\r";
372
+ $output .= " <td>\n\r";
373
+ $output .= " <input type='hidden' value='0' name='edit_coupon[".$id."][active]' />\n\r";
374
+ $output .= " <input type='checkbox' value='1' ".(($coupon['active'] == 1) ? "checked='checked'" : '')." name='edit_coupon[".$id."][active]' />\n\r";
375
+ $output .= " </td>\n\r";
376
+ $output .= " <td>\n\r";
377
+ $output .= " <input type='hidden' value='0' name='edit_coupon[".$id."][every_product]' />\n\r";
378
+ $output .= " <input type='checkbox' value='1' ".(($coupon['every_product'] == 1) ? "checked='checked'" : '')." name='edit_coupon[".$id."][every_product]' />\n\r";
379
+ $output .= " </td>\n\r";
380
+ $output .= " <td>\n\r";
381
+ $output .= " <input type='hidden' value='".$id."' name='edit_coupon[".$id."][id]' />\n\r";
382
+ $output .= " </td>\n\r";
383
+ $output .= " </tr>\n\r";
384
+
385
+ if($conditions != null){
386
+ $output .= "<tr>";
387
+ $output .= "<th>";
388
+ $output .= "Conditions";
389
+ $output .= "</th>";
390
+ $output .= "</tr>";
391
+ $output .= "<th>";
392
+ $output .= "Delete";
393
+ $output .= "</th>";
394
+ $output .= "<th>";
395
+ $output .= "Property";
396
+ $output .= "</th>";
397
+ $output .= "<th>";
398
+ $output .= "Logic";
399
+ $output .= "</th>";
400
+ $output .= "<th>";
401
+ $output .= "Value";
402
+ $output .= "</th>";
403
+ $output .= " </tr>\n\r";
404
+ $i=0;
405
+ foreach ($conditions as $condition){
406
+ $output .= "<tr>";
407
+ $output .= "<td>";
408
+ $output .= "<input type='hidden' name='coupon_id' value='".$id."' />";
409
+ $output .= "<input type='submit' id='delete_condition".$i."' style='display:none;' value='".$i."' name='delete_condition' />";
410
+ $output .= "<span style='cursor:pointer;' class='delete_button' onclick='jQuery(\"#delete_condition".$i."\").click()'>Delete</span>";
411
+ $output .= "</td>";
412
+ $output .= "<td>";
413
+ $output .= $condition['property'];
414
+ $output .= "</td>";
415
+ $output .= "<td>";
416
+ $output .= $condition['logic'];
417
+ $output .= "</td>";
418
+ $output .= "<td>";
419
+ $output .= $condition['value'];
420
+ $output .= "</td>";
421
+ $output .= "</tr>";
422
+ $i++;
423
+ }
424
+ $output .= wpsc_coupons_conditions( $id);
425
+ }elseif($conditions == null){
426
+ $output .= wpsc_coupons_conditions( $id);
427
+
428
+ }
429
+ $output .= "</table>\n\r";
430
+ $output .= "</form>\n\r";
431
+ echo $output;
432
+ return $output;
433
+ }
434
+ function wpsc_coupons_conditions($id){
435
+ ?>
436
+
437
+ <?php
438
+
439
+ $output ='
440
+ <input type="hidden" name="coupon_id" value="'.$id.'" />
441
+ <tr><td colspan="3"><b>Add Conditions</b></td></tr>
442
+ <tr><td colspan="6">
443
+ <div class="coupon_condition">
444
+ <div>
445
+ <select class="ruleprops" name="rules[property][]">
446
+ <option value="item_name" rel="order">Item name</option>
447
+ <option value="item_quantity" rel="order">Item quantity</option>
448
+ <option value="total_quantity" rel="order">Total quantity</option>
449
+ <option value="subtotal_amount" rel="order">Subtotal amount</option>
450
+ ' . apply_filters( 'wpsc_coupon_rule_property_options', '' ) . '
451
+ </select>
452
+ <select name="rules[logic][]">
453
+ <option value="equal">Is equal to</option>
454
+ <option value="greater">Is greater than</option>
455
+ <option value="less">Is less than</option>
456
+ <option value="contains">Contains</option>
457
+ <option value="not_contain">Does not contain</option>
458
+ <option value="begins">Begins with</option>
459
+ <option value="ends">Ends with</option>
460
+ </select>
461
+ <span>
462
+ <input type="text" name="rules[value][]"/>
463
+ </span>
464
+
465
+
466
+ </div>
467
+ </div>
468
+ </td>
469
+ <td colspan="3">
470
+
471
+ <input type="submit" value="'.__("Update Coupon", "wpsc").'" name="edit_coupon['.$id.'][submit_coupon]" />
472
+ <input type="submit" value="'.__("Delete Coupon", "wpsc").'" name="edit_coupon['.$id.'][delete_coupon]" />
473
+ </td>
474
+ </tr>
475
+ ';
476
+ return $output;
477
+
478
+ }
479
+ function setting_button(){
480
+ $next_url = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']."?page=wpsc-edit-products";
481
+
482
+ // $output.="<div><img src='".get_option('siteurl')."/wp-content/plugins/".WPSC_DIR_NAME."/images/settings_button.jpg' onclick='display_settings_button()'>";
483
+ $output.="<div style='float: right; margin-top: 0px; position: relative;'> | <a href='#' onclick='display_settings_button(); return false;' style='text-decoration: underline;'>".__('Settings', 'wpsc')." &raquo;</a>";
484
+ $output.="<span id='settings_button' style='width:180px;background-color:#f1f1f1;position:absolute; right: 10px; border:1px solid black; display:none;'>";
485
+ $output.="<ul class='settings_button'>";
486
+
487
+ $output.="<li><a href='admin.php?page=wpsc-settings'>".__('Shop Settings', 'wpsc')."</a></li>";
488
+ $output.="<li><a href='admin.php?page=wpsc-settings&amp;tab=gateway'>".__('Money and Payment', 'wpsc')."</a></li>";
489
+ $output.="<li><a href='admin.php?page=wpsc-settings&amp;tab=checkout'>".__('Checkout Page Settings', 'wpsc')."</a></li>";
490
+ //$output.="<li><a href='?page=".WPSC_DIR_NAME."/instructions.php'>Help/Upgrade</a></li>";
491
+ $output.="</ul>";
492
+ // $output.="<div>Checkout Settings</div>";
493
+ $output.="</span>&emsp;&emsp;</div>";
494
+
495
+ return $output;
496
+ }
497
+
498
+ function wpsc_right_now($hidden = '') {
499
+ global $wpdb,$nzshpcrt_imagesize_info;
500
+ $year = date("Y");
501
+ $month = date("m");
502
+ $start_timestamp = mktime(0, 0, 0, $month, 1, $year);
503
+ $end_timestamp = mktime(0, 0, 0, ($month+1), 0, $year);
504
+
505
+ $replace_values[":productcount:"] = $wpdb->get_var("SELECT COUNT(*) FROM `".WPSC_TABLE_PRODUCT_LIST."` WHERE `active` IN ('1')");
506
+ $product_count = $wpdb->get_var("SELECT COUNT(*) FROM `".WPSC_TABLE_PRODUCT_LIST."` WHERE `active` IN ('1')");
507
+ $replace_values[":productcount:"] .= " ".(($replace_values[":productcount:"] == 1) ? __('product', 'wpsc') : __('products', 'wpsc'));
508
+ $product_unit = (($replace_values[":productcount:"] == 1) ? __('product', 'wpsc') : __('products', 'wpsc'));
509
+
510
+ $replace_values[":groupcount:"] = $wpdb->get_var("SELECT COUNT(*) FROM `".WPSC_TABLE_PRODUCT_CATEGORIES."` WHERE `active` IN ('1')");
511
+ $group_count = $wpdb->get_var("SELECT COUNT(*) FROM `".WPSC_TABLE_PRODUCT_CATEGORIES."` WHERE `active` IN ('1')");
512
+ $replace_values[":groupcount:"] .= " ".(($replace_values[":groupcount:"] == 1) ? __('group', 'wpsc') : __('groups', 'wpsc'));
513
+ $group_unit = (($replace_values[":groupcount:"] == 1) ? __('group', 'wpsc') : __('groups', 'wpsc'));
514
+
515
+ $replace_values[":salecount:"] = $wpdb->get_var("SELECT COUNT(*) FROM `".WPSC_TABLE_PURCHASE_LOGS."` WHERE `date` BETWEEN '".$start_timestamp."' AND '".$end_timestamp."'");
516
+ $sales_count = $wpdb->get_var("SELECT COUNT(*) FROM `".WPSC_TABLE_PURCHASE_LOGS."` WHERE `date` BETWEEN '".$start_timestamp."' AND '".$end_timestamp."'");
517
+ $replace_values[":salecount:"] .= " ".(($replace_values[":salecount:"] == 1) ? __('sale', 'wpsc') : __('sales', 'wpsc'));
518
+ $sales_unit = (($replace_values[":salecount:"] == 1) ? __('sale', 'wpsc') : __('sales', 'wpsc'));
519
+
520
+ $replace_values[":monthtotal:"] = nzshpcrt_currency_display(admin_display_total_price($start_timestamp, $end_timestamp),1);
521
+ $replace_values[":overaltotal:"] = nzshpcrt_currency_display(admin_display_total_price(),1);
522
+
523
+ $variation_count = $wpdb->get_var("SELECT COUNT(*) FROM `".WPSC_TABLE_PRODUCT_VARIATIONS."`");
524
+ $variation_unit = (($variation_count == 1) ? __('variation', 'wpsc') : __('variations', 'wpsc'));
525
+
526
+ $replace_values[":pendingcount:"] = $wpdb->get_var("SELECT COUNT(*) FROM `".WPSC_TABLE_PURCHASE_LOGS."` WHERE `processed` IN ('1')");
527
+ $pending_sales = $wpdb->get_var("SELECT COUNT(*) FROM `".WPSC_TABLE_PURCHASE_LOGS."` WHERE `processed` IN ('1')");
528
+ $replace_values[":pendingcount:"] .= " " . (($replace_values[":pendingcount:"] == 1) ? __('transaction', 'wpsc') : __('transactions', 'wpsc'));
529
+ $pending_sales_unit = (($replace_values[":pendingcount:"] == 1) ? __('transaction', 'wpsc') : __('transactions', 'wpsc'));
530
+
531
+ $accept_sales = $wpdb->get_var("SELECT COUNT(*) FROM `".WPSC_TABLE_PURCHASE_LOGS."` WHERE `processed` IN ('2' ,'3', '4')");
532
+ $accept_sales_unit = (($accept_sales == 1) ? __('transaction', 'wpsc') : __('transactions', 'wpsc'));
533
+
534
+
535
+ $replace_values[":theme:"] = get_option('wpsc_selected_theme');
536
+ $replace_values[":versionnumber:"] = WPSC_PRESENTABLE_VERSION;
537
+ if (function_exists('add_object_page')) {
538
+ $output="";
539
+ $output.="<div id='dashboard_right_now' class='postbox ".((array_search('dashboard_right_now', $hidden) !== false) ? 'closed' : '')."'>";
540
+ $output.=" <h3 class='hndle'>";
541
+ $output.=" <span>".__('Current Month', 'wpsc')."</span>";
542
+ $output.=" <br class='clear'/>";
543
+ $output.=" </h3>";
544
+
545
+ $output .= "<div class='inside'>";
546
+ $output .= "<div class='table'>";
547
+ $output .= "<p class='sub'>".__('At a Glance', 'wpsc')."</p>";
548
+ //$output.="<p class='youhave'>".__('You have <a href='admin.php?page=wpsc-edit-products'>:productcount:</a>, contained within <a href='admin.php?page=wpsc-edit-groups'>:groupcount:</a>. This month you made :salecount: and generated a total of :monthtotal: and your total sales ever is :overaltotal:. You have :pendingcount: awaiting approval.', 'wpsc')."</p>";
549
+ $output .= "<table style='border-top:1px solid #ececec;'>";
550
+ $output .= "<tr class='first'>";
551
+ $output .= "<td class='first b'>";
552
+ $output .= "<a href='?page=wpsc-edit-products'>".$product_count."</a>";
553
+ $output .= "</td>";
554
+ $output .= "<td class='t'>";
555
+ $output .= ucfirst($product_unit);
556
+ $output .= "</td>";
557
+ $output .= "<td class='b'>";
558
+ $output .= "<a href='?page=wpsc-sales-logs'>".$sales_count."</a>";
559
+ $output .= "</td>";
560
+ $output .= "<td class='last'>";
561
+ $output .= ucfirst($sales_unit);
562
+ $output .= "</td>";
563
+ $output .= "</tr>";
564
+
565
+ $output .= "<tr>";
566
+ $output .= "<td class='first b'>";
567
+ $output .= "<a href='?page=wpsc-edit-groups'>".$group_count."</a>";
568
+ $output .= "</td>";
569
+ $output .= "<td class='t'>";
570
+ $output .= ucfirst($group_unit);
571
+ $output .= "</td>";
572
+ $output .= "<td class='b'>";
573
+ $output .= "<a href='?page=wpsc-sales-logs'>".$pending_sales."</a>";
574
+ $output .= "</td>";
575
+ $output .= "<td class='last t waiting'>".__('Pending', 'wpsc')." ";
576
+ $output .= ucfirst($pending_sales_unit);
577
+ $output .= "</td>";
578
+ $output .= "</tr>";
579
+
580
+ $output .= "<tr>";
581
+ $output .= "<td class='first b'>";
582
+ $output .= "<a href='?page=wpsc-edit-variations'>".$variation_count."</a>";
583
+ $output .= "</td>";
584
+ $output .= "<td class='t'>";
585
+ $output .= ucfirst($variation_unit);
586
+ $output .= "</td>";
587
+ $output .= "<td class='b'>";
588
+ $output .= "<a href='?page=wpsc-sales-logs'>".$accept_sales."</a>";
589
+ $output .= "</td>";
590
+ $output .= "<td class='last t approved'>".__('Closed', 'wpsc')." ";
591
+ $output .= ucfirst($accept_sales_unit);
592
+ $output .= "</td>";
593
+ $output .= "</tr>";
594
+
595
+ $output .= "</table>";
596
+ $output .= "</div>";
597
+ $output .= "<div class='versions'>";
598
+ $output .= "<p><a class='button rbutton' href='admin.php?page=wpsc-edit-products'><strong>".__('Add New Product', 'wpsc')."</strong></a>".__('Here you can add products, groups or variations', 'wpsc')."</p>";
599
+ $output .= "</div>";
600
+ $output .= "</div>";
601
+ $output.="</div>";
602
+ } else {
603
+ $output="";
604
+ $output.="<div id='rightnow'>\n\r";
605
+ $output.=" <h3 class='reallynow'>\n\r";
606
+ $output.=" <a class='rbutton' href='admin.php?page=wpsc-edit-products'><strong>".__('Add New Product', 'wpsc')."</strong></a>\n\r";
607
+ $output.=" <span>"._('Right Now')."</span>\n\r";
608
+
609
+ //$output.=" <br class='clear'/>\n\r";
610
+ $output.=" </h3>\n\r";
611
+
612
+ $output.="<p class='youhave'>".__('You have <a href="admin.php?page=wpsc-edit-products">:productcount:</a>, contained within <a href="admin.php?page=wpsc-edit-groups">:groupcount:</a>. This month you made :salecount: and generated a total of :monthtotal: and your total sales ever is :overaltotal:. You have :pendingcount: awaiting approval.', 'wpsc')."</p>\n\r";
613
+ $output.=" <p class='youare'>\n\r";
614
+ $output.=" ".__('You are using the :theme: style. This is WP e-Commerce :versionnumber:.', 'wpsc')."\n\r";
615
+ //$output.=" <a class='rbutton' href='themes.php'>Change Theme</a>\n\r";
616
+ //$output.="<span id='wp-version-message'>This is WordPress version 2.6. <a class='rbutton' href='http://wordpress.org/download/'>Update to 2.6.1</a></span>\n\r";
617
+ $output.=" </p>\n\r";
618
+ $output.="</div>\n\r";
619
+ $output.="<br />\n\r";
620
+ $output = str_replace(array_keys($replace_values), array_values($replace_values),$output);
621
+ }
622
+
623
+ return $output;
624
+ }
625
+
626
+
627
+ function wpsc_packing_slip($purchase_id) {
628
+ global $wpdb, $purchlogitem, $wpsc_cart,$purchlog;
629
+ if(isset($_REQUEST['purchaselog_id'])){
630
+ $purchlogitem = new wpsc_purchaselogs_items((int)$_REQUEST['purchaselog_id']);
631
+ }
632
+
633
+ $purch_sql = "SELECT * FROM `".WPSC_TABLE_PURCHASE_LOGS."` WHERE `id`='".$purchase_id."'";
634
+ $purch_data = $wpdb->get_row($purch_sql,ARRAY_A) ;
635
+
636
+
637
+ //echo "<p style='padding-left: 5px;'><strong>".__('Date', 'wpsc')."</strong>:".date("jS M Y", $purch_data['date'])."</p>";
638
+
639
+ $cartsql = "SELECT * FROM `".WPSC_TABLE_CART_CONTENTS."` WHERE `purchaseid`=".$purchase_id."";
640
+ $cart_log = $wpdb->get_results($cartsql,ARRAY_A) ;
641
+ $j = 0;
642
+
643
+ if($cart_log != null) {
644
+ echo "<div class='packing_slip'>\n\r";
645
+ echo apply_filters( 'wpsc_packing_slip_header', '<h2>' . __( 'Packing Slip', 'wpsc' ) . "</h2>\n\r" );
646
+ echo "<strong>".__('Order', 'wpsc')." #</strong> ".$purchase_id."<br /><br />\n\r";
647
+
648
+ echo "<table>\n\r";
649
+ /*
650
+
651
+ $form_sql = "SELECT * FROM `".WPSC_TABLE_SUBMITED_FORM_DATA."` WHERE `log_id` = '".(int)$purchase_id."'";
652
+ $input_data = $wpdb->get_results($form_sql,ARRAY_A);
653
+
654
+ */
655
+ echo "<tr class='heading'><td colspan='2'><strong>Billing Info</strong></td></tr>";
656
+ foreach((array)$purchlogitem->userinfo as $userinfo){
657
+ if($userinfo['unique_name'] != 'billingcountry'){
658
+ echo "<tr><td>".$userinfo['name'].": </td><td>".$userinfo['value']."</td></tr>";
659
+ }else{
660
+ $userinfo['value'] = maybe_unserialize($userinfo['value']);
661
+ if(is_array($userinfo['value'] )){
662
+ if(!empty($userinfo['value'][1]) && !is_numeric($userinfo['value'][1])){
663
+ echo "<tr><td>State: </td><td>".$userinfo['value'][1]."</td></tr>";
664
+ }elseif(is_numeric($userinfo['value'][1])){
665
+ echo "<tr><td>State: </td><td>".wpsc_get_state_by_id($userinfo['value'][1],'name')."</td></tr>";
666
+ }
667
+ if(!empty($userinfo['value'][0])){
668
+ echo "<tr><td>Country: </td><td>".$userinfo['value'][0]."</td></tr>";
669
+ }
670
+ }else{
671
+ echo "<tr><td>".$userinfo['name'].": </td><td>".$userinfo['value']."</td></tr>";
672
+ }
673
+ }
674
+ }
675
+
676
+ echo "<tr class='heading'><td colspan='2'><strong>Shipping Info</strong></td></tr>";
677
+ foreach((array)$purchlogitem->shippinginfo as $userinfo){
678
+ if($userinfo['unique_name'] != 'shippingcountry' && $userinfo['unique_name'] != 'shippingstate'){
679
+ echo "<tr><td>".$userinfo['name'].": </td><td>".$userinfo['value']."</td></tr>";
680
+ }elseif($userinfo['unique_name'] == 'shippingcountry'){
681
+ $userinfo['value'] = maybe_unserialize($userinfo['value']);
682
+ if(is_array($userinfo['value'] )){
683
+ if(!empty($userinfo['value'][1]) && !is_numeric($userinfo['value'][1])){
684
+ echo "<tr><td>State: </td><td>".$userinfo['value'][1]."</td></tr>";
685
+ }elseif(is_numeric($userinfo['value'][1])){
686
+ echo "<tr><td>State: </td><td>".wpsc_get_state_by_id($userinfo['value'][1],'name')."</td></tr>";
687
+ }
688
+ if(!empty($userinfo['value'][0])){
689
+ echo "<tr><td>Country: </td><td>".$userinfo['value'][0]."</td></tr>";
690
+ }
691
+ }else{
692
+ echo "<tr><td>".$userinfo['name'].": </td><td>".$userinfo['value']."</td></tr>";
693
+ }
694
+ }elseif($userinfo['unique_name'] == 'shippingstate'){
695
+ if(!empty($userinfo['value']) && !is_numeric($userinfo['value'])){
696
+ echo "<tr><td>".$userinfo['name'].": </td><td>".$userinfo['value']."</td></tr>";
697
+ }elseif(is_numeric($userinfo['value'])){
698
+ echo "<tr><td>State: </td><td>".wpsc_get_state_by_id($userinfo['value'],'name')."</td></tr>";
699
+ }
700
+ }
701
+ }
702
+ // echo('<pre>'.print_r($purchlogitem,true).'</pre>');
703
+
704
+ /*
705
+ foreach($input_data as $input_row) {
706
+ $rekeyed_input[$input_row['form_id']] = $input_row;
707
+ }
708
+
709
+
710
+ if($input_data != null) {
711
+ $form_data = $wpdb->get_results("SELECT * FROM `".WPSC_TABLE_CHECKOUT_FORMS."` WHERE `active` = '1'",ARRAY_A);
712
+ // exit('<pre>'.print_r($purch_data, true).'</pre>');
713
+ foreach($form_data as $form_field) {
714
+ switch($form_field['type']) {
715
+ case 'country':
716
+
717
+ $delivery_region_count = $wpdb->get_var("SELECT COUNT(`regions`.`id`) FROM `".WPSC_TABLE_REGION_TAX."` AS `regions` INNER JOIN `".WPSC_TABLE_CURRENCY_LIST."` AS `country` ON `country`.`id` = `regions`.`country_id` WHERE `country`.`isocode` IN('".$wpdb->escape( $purch_data['billing_country'])."')");
718
+
719
+ if(is_numeric($purch_data['billing_region']) && ($delivery_region_count > 0)) {
720
+ echo " <tr><td>".__('State', 'wpsc').":</td><td>".wpsc_get_region($purch_data['billing_region'])."</td></tr>\n\r";
721
+ }
722
+ echo " <tr><td>".wp_kses($form_field['name'], array() ).":</td><td>".wpsc_get_country($purch_data['billing_country'])."</td></tr>\n\r";
723
+ break;
724
+
725
+ case 'delivery_country':
726
+ echo " <tr><td>".$form_field['name'].":</td><td>".wpsc_get_country($purch_data['shipping_country'])."</td></tr>\n\r";
727
+ break;
728
+
729
+ case 'heading':
730
+ echo " <tr><td colspan='2'><strong>".wp_kses($form_field['name'], array()).":</strong></td></tr>\n\r";
731
+ break;
732
+
733
+ default:
734
+ if($form_field['unique_name'] == 'shippingstate'){
735
+ echo " <tr><td>".wp_kses($form_field['name'], array() ).":</td><td>".wpsc_get_region($purch_data['shipping_region'])."</td></tr>\n\r";
736
+ }else{
737
+ echo " <tr><td>".wp_kses($form_field['name'], array() ).":</td><td>".htmlentities(stripslashes($rekeyed_input[$form_field['id']]['value']), ENT_QUOTES,'UTF-8')."</td></tr>\n\r";
738
+ }
739
+ break;
740
+ }
741
+ }
742
+ } else {
743
+ echo " <tr><td>".__('Name', 'wpsc').":</td><td>".$purch_data['firstname']." ".$purch_data['lastname']."</td></tr>\n\r";
744
+ echo " <tr><td>".__('Address', 'wpsc').":</td><td>".$purch_data['address']."</td></tr>\n\r";
745
+ echo " <tr><td>".__('Phone', 'wpsc').":</td><td>".$purch_data['phone']."</td></tr>\n\r";
746
+ echo " <tr><td>".__('Email', 'wpsc').":</td><td>".$purch_data['email']."</td></tr>\n\r";
747
+ }
748
+ */
749
+
750
+ if(get_option('payment_method') == 2) {
751
+ $gateway_name = '';
752
+ foreach($GLOBALS['nzshpcrt_gateways'] as $gateway) {
753
+ if($purch_data['gateway'] != 'testmode') {
754
+ if($gateway['internalname'] == $purch_data['gateway'] ) {
755
+ $gateway_name = $gateway['name'];
756
+ }
757
+ } else {
758
+ $gateway_name = "Manual Payment";
759
+ }
760
+ }
761
+ }
762
+ // echo " <tr><td colspan='2'></td></tr>\n\r";
763
+ // echo " <tr><td>".__('Payment Method', 'wpsc').":</td><td>".$gateway_name."</td></tr>\n\r";
764
+ // //echo " <tr><td>".__('Purchase No.', 'wpsc').":</td><td>".$purch_data['id']."</td></tr>\n\r";
765
+ // echo " <tr><td>".__('How The Customer Found Us', 'wpsc').":</td><td>".$purch_data['find_us']."</td></tr>\n\r";
766
+ // $engrave_line = explode(",",$purch_data['engravetext']);
767
+ // echo " <tr><td>".__('Engrave text', 'wpsc')."</td><td></td></tr>\n\r";
768
+ // echo " <tr><td>".__('Line 1', 'wpsc').":</td><td>".$engrave_line[0]."</td></tr>\n\r";
769
+ // echo " <tr><td>".__('Line 2', 'wpsc').":</td><td>".$engrave_line[1]."</td></tr>\n\r";
770
+ // if($purch_data['transactid'] != '') {
771
+ // echo " <tr><td>".__('Transaction Id', 'wpsc').":</td><td>".$purch_data['transactid']."</td></tr>\n\r";
772
+ // }
773
+ echo "</table>\n\r";
774
+
775
+
776
+ do_action ( 'wpsc_packing_slip_extra_info', $purchase_id );
777
+
778
+
779
+ echo "<table class='packing_slip'>";
780
+
781
+ echo "<tr>";
782
+ echo " <th>".__('Quantity', 'wpsc')." </th>";
783
+
784
+ echo " <th>".__('Name', 'wpsc')."</th>";
785
+
786
+
787
+ echo " <th>".__('Price', 'wpsc')." </th>";
788
+
789
+ echo " <th>".__('Shipping', 'wpsc')." </th>";
790
+ echo "<th>".wpsc_display_tax_label(false)."</th>";
791
+ echo '</tr>';
792
+ $endtotal = 0;
793
+ $all_donations = true;
794
+ $all_no_shipping = true;
795
+ $file_link_list = array();
796
+ // exit('<pre>'.print_r($cart_log,true).'</pre>');
797
+ foreach($cart_log as $cart_row) {
798
+ $purchlogitem->the_purch_item();
799
+ // exit('<pre>'.print_r, true).'</pre>');
800
+ $alternate = "";
801
+ $j++;
802
+ if(($j % 2) != 0) {
803
+ $alternate = "class='alt'";
804
+ }
805
+ $productsql= "SELECT * FROM `".WPSC_TABLE_PRODUCT_LIST."` WHERE `id`=".$cart_row['prodid']."";
806
+ $product_data = $wpdb->get_results($productsql,ARRAY_A);
807
+
808
+
809
+
810
+ $variation_sql = "SELECT * FROM `".WPSC_TABLE_CART_ITEM_VARIATIONS."` WHERE `cart_id`='".$cart_row['id']."'";
811
+ $variation_data = $wpdb->get_results($variation_sql,ARRAY_A);
812
+ $variation_count = count($variation_data);
813
+
814
+ if($variation_count > 1) {
815
+ $variation_list = " (";
816
+ $i = 0;
817
+ foreach($variation_data as $variation) {
818
+ if($i > 0) {
819
+ $variation_list .= ", ";
820
+ }
821
+ $value_id = $variation['value_id'];
822
+ $value_data = $wpdb->get_results("SELECT * FROM `".WPSC_TABLE_VARIATION_VALUES."` WHERE `id`='".$value_id."' LIMIT 1",ARRAY_A);
823
+ $variation_list .= $value_data[0]['name'];
824
+ $i++;
825
+ }
826
+ $variation_list .= ")";
827
+ } else if($variation_count == 1) {
828
+ $value_id = $variation_data[0]['value_id'];
829
+ $value_data = $wpdb->get_results("SELECT * FROM `".WPSC_TABLE_VARIATION_VALUES."` WHERE `id`='".$value_id."' LIMIT 1",ARRAY_A);
830
+ $variation_list = " (".$value_data[0]['name'].")";
831
+ } else {
832
+ $variation_list = '';
833
+ }
834
+
835
+
836
+ if($cart_row['donation'] != 1) {
837
+ $all_donations = false;
838
+ }
839
+ if($cart_row['no_shipping'] != 1) {
840
+ $shipping = $cart_row['pnp'] * $cart_row['quantity'];
841
+ $total_shipping += $shipping;
842
+ $all_no_shipping = false;
843
+ } else {
844
+ $shipping = 0;
845
+ }
846
+
847
+ $price = $cart_row['price'] * $cart_row['quantity'];
848
+ $gst = $price - ($price / (1+($cart_row['gst'] / 100)));
849
+
850
+ if($gst > 0) {
851
+ $tax_per_item = $gst / $cart_row['quantity'];
852
+ }
853
+
854
+
855
+ echo "<tr $alternate>";
856
+
857
+
858
+ echo " <td>";
859
+ echo $cart_row['quantity'];
860
+ echo " </td>";
861
+
862
+ echo " <td>";
863
+ echo $product_data[0]['name'];
864
+ echo stripslashes($variation_list);
865
+ echo " </td>";
866
+
867
+
868
+ echo " <td>";
869
+ echo nzshpcrt_currency_display( $price, 1);
870
+ echo " </td>";
871
+
872
+ echo " <td>";
873
+ echo nzshpcrt_currency_display($shipping, 1);
874
+ echo " </td>";
875
+
876
+
877
+
878
+ echo '<td>';
879
+ if(wpsc_tax_isincluded()){
880
+ echo (wpsc_purchaselog_details_tax());
881
+ }else{
882
+ echo nzshpcrt_currency_display($cart_row['tax_charged'],1);
883
+ }
884
+ echo '<td>';
885
+ echo '</tr>';
886
+ }
887
+ echo "</table>";
888
+
889
+ echo '<table class="packing-slip-totals">';
890
+ echo '<tr><th>Base Shipping</th><td>' . nzshpcrt_currency_display( $purch_data['base_shipping'], 1 ) . '</td></tr>';
891
+ echo '<tr><th>Total Shipping</th><td>' . nzshpcrt_currency_display( $purch_data['base_shipping'] + $total_shipping, 1 ) . '</td></tr>';
892
+ echo '<tr><th>Total Price</th><td>' . nzshpcrt_currency_display( $purch_data['totalprice'], 1 ) . '</td></tr>';
893
+ echo '</table>';
894
+
895
+ echo "</div>\n\r";
896
+ } else {
897
+ echo "<br />".__('This users cart was empty', 'wpsc');
898
+ }
899
+
900
+ }
901
+
902
+
903
+
904
+
905
+
906
+ function wpsc_product_item_row() {
907
+ }
908
+
909
+ ?>
admin-ie.css ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*#setup_wizard h3 {
2
+ }
3
+
4
+ #additem .togbox, #productform h3 .togbox {
5
+ display:block;
6
+ float: left;
7
+ height:37px;
8
+ width: 12px;
9
+ margin: 0px 4px 0px 0px;
10
+ text-indent: 0px;
11
+ position: relative;
12
+ background: none !important;
13
+ }
14
+
15
+ */
admin.css ADDED
@@ -0,0 +1,1721 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ a {
2
+ text-decoration:none;
3
+ outline: none;
4
+ }
5
+ table.productdisplay tr td{ vertical-align: top; }
6
+
7
+ table.logdisplay{ width: 100%; padding-left: 5px; }
8
+
9
+ table.logdisplay tr.toprow td{ text-align: center; font-weight:bold; }
10
+
11
+ table.logdisplay tr.toprow2 td{ text-align: left; font-weight:bold; }
12
+
13
+ table.logdisplay tr td{ /* padding-left: 5px; */ padding-top: 2px; padding-bottom: 2px;}
14
+
15
+ table.logdisplay tr.alt{ background-color: #eeeeee; }
16
+
17
+ table.logdisplay tr.alt td{ background-color: #eeeeee;}
18
+
19
+ ul.installation { list-style-type: decimal; }
20
+ td.processed{ text-align: left; min-width: 140px; width: 140px; white-space: nowrap; }
21
+ td.processed a{ border-bottom: none; }
22
+ td.processed a img{ margin-left: 5px; }
23
+ /* td.processed a span{ border-bottom: 1px solid #69c; } */
24
+
25
+ td.processed a.yes{ color: green; }
26
+
27
+ td.processed a.no{ color: red; }
28
+
29
+ table.wpsc_options tr.merged th, table.wpsc_options tr.merged td { border: none; padding: 5px 10px 5px 10px; }
30
+
31
+ table.wpsc_options tr th{ width: 30%; }
32
+
33
+ table.wpsc_options tr td{ vertical-align: top; }
34
+
35
+ table.wpsc_options tr td input.text, table.wpsc_options tr td textarea{ width: 300px; }
36
+
37
+ table.wpsc_options tr td textarea{ height: 120px; }
38
+
39
+
40
+ div.wpsc_products_nav {
41
+ margin-bottom: 1px;
42
+ margin-top: 20px;
43
+ color: #666666;
44
+ padding-top: 5px;
45
+ padding-bottom: 5px;
46
+ border-left: 1px solid #EAF3FA;
47
+ font-size: 12px;
48
+ }
49
+
50
+ div.wpsc_products_nav27 {
51
+ margin-bottom: 1px;
52
+ padding-top: 5px;
53
+ padding-bottom: 5px;
54
+ background-color: white;
55
+ }
56
+
57
+ div.wpsc_products_nav div {
58
+ margin-top: 5px;
59
+ }
60
+
61
+ div.wpsc_products_nav div.alignright {
62
+ width: 300px;
63
+ margin-right: -18px;
64
+ _margin-right: 0px;
65
+ }
66
+
67
+ div.wpsc_groups_nav div.alignright {
68
+ width: 300px;
69
+ font-size: 12px;
70
+ padding-top: 5px;
71
+ }
72
+
73
+ div.wpsc_groups_nav {
74
+ margin-bottom: 1px;
75
+ margin-top: 20px;
76
+ font-size: 12px;
77
+ }
78
+
79
+
80
+ div.wpsc_admin_nav{
81
+ margin-bottom: 1px;
82
+ margin-top: 20px;
83
+ color: #666666;
84
+ padding-top: 5px;
85
+ padding-bottom: 5px;
86
+ font-size: 12px;
87
+ }
88
+
89
+ div.wpsc_admin_nav div{
90
+ padding-top: 5px;
91
+ }
92
+
93
+ div.wpsc_admin_nav div.alignleft a {
94
+ display: block;
95
+ float: left;
96
+ }
97
+
98
+ div.wpsc_admin_nav div.alignleft span#loadingindicator_span {
99
+ margin-left: 8px;
100
+ float: left;
101
+ }
102
+
103
+
104
+
105
+
106
+
107
+ table#productpage{
108
+ width: 100%;
109
+ clear: both;
110
+ border-collapse: collapse;
111
+ }
112
+
113
+ table#productpage tr td{
114
+ vertical-align: top;
115
+ /* padding: 0px 0px 0px 6px; */
116
+ }
117
+
118
+ table#productpage tr td.secondcol{
119
+ width: 60%;
120
+ margin-left: 20px;
121
+ padding: 0px 0px 0px 2px;
122
+
123
+ }
124
+
125
+ table#itemlist{
126
+ min-width: 350px;
127
+ width: 100%;
128
+ border-collapse:collapse;
129
+ border:1px solid #bbb;
130
+ border-top:none;
131
+ }
132
+
133
+
134
+ /* table#itemlist tr{border-left:1px solid #bbb;border-right:1px solid #bbb;} */
135
+ table#itemlist tr td{text-align: left; padding:10px 5px 8px 5px; }
136
+
137
+ /*
138
+ table#itemlist tr.products{border-left:1px solid #bbb;border-right:1px solid #bbb;}
139
+ table#itemlist tr.productsalt{background-color:#f3f3f3;border-left:1px solid #bbb;border-right:1px solid #bbb;}
140
+ */
141
+
142
+ table#itemlist tr.products td{text-align: left;padding-top:8px; vertical-align: top ; border-top:1px solid #bbb;border-bottom:1px solid #bbb;}
143
+ table#itemlist tr.productsalt td{text-align: left;padding-top:8px; vertical-align: top ; border-top:1px solid #bbb;border-bottom:1px solid #bbb;}
144
+
145
+ table#itemlist tr td.imagecol{ padding: 4px;}
146
+
147
+ table#itemlist tr td.colspan{ text-align: left; padding: 0px; }
148
+
149
+ table#itemlist tr.firstrow td{ font-weight: bold; padding-left: 5px; padding-right: 5px; }
150
+
151
+
152
+
153
+ table tr.firstrowth{background-color:#575757; border-left:1px solid #575757;border-right:1px solid #575757;border-top: none ;}
154
+
155
+ table#itemlist tr.firstrowth td{
156
+ padding:4px 5px 6px;
157
+ }
158
+ table tr.firstrowth strong.form_group {
159
+ display:block;
160
+ font-size:11px;
161
+ margin-top:5px;
162
+ }
163
+
164
+ table tr.selectcategory{background-color:#E4F2FD;border-left:1px solid #bbb;border-right:1px solid #bbb;}
165
+
166
+ table tr.selectcategory td{ padding: 3px 3px 3px 13px !important;}
167
+
168
+ div.tablenav-pages {
169
+ margin: 4px;
170
+ _margin: 2px;
171
+ text-align:right;
172
+ }
173
+
174
+ table.itemlist{ margin: 0px; }
175
+
176
+ div.subcategory{ list-style-type: none; vertical-align: top; margin: 0px; padding: 0px; }
177
+
178
+ div.subcategory img.category_indenter{ float: left; margin-top: 10px; }
179
+ table.additem{ width: 100%;}
180
+
181
+
182
+ table.itemlist tr td{ text-align: center; padding-left: 3px; padding-right: 3px; }
183
+
184
+ table.edititem{ width: 100%;}
185
+ span.small{ font-size: 9pt; }
186
+ span.small_italic{font-size:9px; font-style:italic;color:#888;}
187
+ table.producttext{width:497px;border-collapse:collapse;border-left:1px solid #bbb;border-right:1px solid #bbb;}
188
+ table tr.firstrowth td{ vertical-align: top; padding:10px 5px 8px;}
189
+
190
+ div#productform{ display: none; width: 586px; }
191
+
192
+ div#edititem27{ display: none; width: 586px; }
193
+
194
+ div#productform table tr td{ height: 11px !important; }
195
+ div#productform table tr.settings_row td{ height: 0px !important; }
196
+
197
+ div#additem{ display: block;border: 1px solid #dadada;}
198
+
199
+ /* div#additem table tr td{ height: 11px; } */
200
+
201
+ div#productform table.additem td.itemfirstcol, div#additem table.additem td.itemfirstcol{ width: 120px !important; padding-left:8px; padding-top: 5px; vertical-align: top; }
202
+
203
+ div#productform td.itemfirstcol{ width: 120px !important; padding-left:8px; vertical-align: top; }
204
+ 3
205
+ div#productform input.text,div#productform textarea, div#additem input.text,div#additem textarea{margin-right:6px;width:250px;border:1px solid #bbb;}
206
+ input.image_resize{ position: relative; top: 4px; }
207
+
208
+ #loadingindicator_span{ visibility: hidden; }
209
+
210
+ strong.form_group{ font-size: 11pt; color: #dfdfdf; }
211
+
212
+ strong.form_group span{ font-size: 8pt; }
213
+
214
+ span.image_size_text{ font-size: 8pt; }
215
+
216
+ img.previewimage{ width: 60px; height: 60px; margin-right:4px;cursor:move;}
217
+
218
+ div#preview_button{ width: 100%; text-align: center; }
219
+
220
+ a#preview_button{ font-size: 8pt; }
221
+
222
+ a.lightbox_links{ border-bottom: none; }
223
+
224
+ td#product_log_data{ width: 70%; vertical-align: top; }
225
+
226
+ td#order_summary_container{ padding-left: 10px; padding-top: 0em; vertical-align: top; }
227
+
228
+ td#order_summary_container strong.order_summary{ display: block; margin-top: 4px; margin-bottom: 3px; }
229
+
230
+ td#order_summary_container div.order_summary{ background-color: #eaf2f5; border: 1px solid #d7e4ec; padding-top: 15px; padding-left: 15px; padding-right: 15px; }
231
+
232
+ td#order_summary_container div.wpsc_news{
233
+ background-color: #eaf2f5;
234
+ border: 1px solid #d7e4ec;
235
+ padding-top: 5px;
236
+ padding-left: 15px;
237
+ padding-right: 15px;
238
+ margin-bottom: 10px;
239
+ position: relative;
240
+ }
241
+
242
+ td#order_summary_container div.wpsc_news strong{
243
+ margin-top: 0px;
244
+ }
245
+
246
+ ul.ecom_dashboard {
247
+ padding-left: 1em;
248
+ margin-top: 5px;
249
+ }
250
+
251
+ ul.ecom_dashboard li{
252
+ padding: 0px;
253
+ margin: 0px;
254
+ font-size: 8pt;
255
+ /* list-style-type: none; */
256
+ }
257
+
258
+ a#close_news_box{
259
+ position: absolute;
260
+ top: 2px;
261
+ right: 4px;
262
+ display: block;
263
+ text-decoration: none;
264
+ border: none;
265
+ }
266
+
267
+ div.order_summary_subsection{ margin-bottom: 1em; }
268
+
269
+ div.order_summary_subsection strong{ display: block; border-bottom: 1px solid #d0dee7; width: 100%; font-size: 8pt; }
270
+
271
+ div.order_summary_subsection p{ font-size: 8pt; display: block; margin-top: 3px; }
272
+
273
+
274
+ td#order_summary_container div.gold-cart_pesterer{ background-color: #eaf2f5; border: 1px solid #d7e4ec; padding: 15px; margin-top: 15px; }
275
+
276
+ td#order_summary_container div.gold-cart_pesterer div{ font-size: 8pt; color: #666666; } /*
277
+ td#order_summary_container div.gold-cart_pesterer div a{ color: #666666; border-bottom: 1px solid #666666; }
278
+ td#order_summary_container div.gold-cart_pesterer div a:hover { color: #666666; border-bottom: 1px solid #666666; }*/
279
+ td#order_summary_container div.gold-cart_pesterer div img{ float: left; margin-right: 12px; }
280
+
281
+
282
+ a.image_link{ border-bottom: none !important; }
283
+
284
+ a.image_link img{ border-bottom: none !important; }
285
+
286
+
287
+ a.add_item_link{
288
+ display: block;
289
+ border-bottom: none !important;
290
+ float:left;
291
+ margin-right:10px;
292
+ }
293
+
294
+ a.add_item_link span{ text-decoration: underline; }
295
+
296
+ a.add_item_link img{ margin-bottom: -3px; }
297
+
298
+
299
+
300
+ a.about_this_page{ display: block; border-bottom: none !important; float: right; }
301
+
302
+ a.about_this_page span{ text-decoration: underline; }
303
+
304
+ a.about_this_page img{ margin-bottom: -3px; }
305
+
306
+
307
+
308
+ table#form_field_table tr td, table#form_field_table tr th{ border: 1px solid white; }
309
+
310
+ table#form_field_table tr th{ margin: 0px; padding:0px; }
311
+
312
+ table#form_field_table tr td.namecol{ }
313
+
314
+ table#form_field_table tr *.namecol{ width: 170px; padding-right: 8px; }
315
+ table#form_field_table tr *.namecol input{ width: 160px; }
316
+
317
+ table#form_field_table tr *.typecol{ width: 120px; }
318
+ table#form_field_table tr *.typecol select{ width: 115px; }
319
+
320
+ table#form_field_table tr *.mandatorycol{ width: 90px; text-align: center; }
321
+ table#form_field_table tr *.mandatorycol input{ }
322
+
323
+ table#form_field_table tr *.logdisplaycol{ width: 70px; text-align: center; }
324
+ table#form_field_table tr *.logdisplaycol input{ }
325
+
326
+ table#form_field_table tr *.ordercol{ width: 70px; text-align: center; }
327
+ table#form_field_table tr *.ordercol input{ }
328
+
329
+ table#form_field_table tr th{ padding-left: 0px; padding-right: 0px;
330
+ }
331
+
332
+
333
+ div#form_field_form_container{ padding: 0px; margin: 0px; }
334
+
335
+ div#form_field_form_container div, div#form_field_form_container div table{ padding: 0px; margin: 0px; width: 100%; border-collapse: collapse; }
336
+
337
+ img.log_expander_icon { margin-right: 3px; }
338
+
339
+ /* td { border: 1px solid red; } */
340
+
341
+ div#form_field_form_container div table tr td{ padding: 0px; margin: 0px; }
342
+
343
+ div.order_status{ display: none;}
344
+
345
+ div.order_status div{ width: 100%; padding:1ex 0px 1ex 1em; display: block !important;}
346
+
347
+ div.order_status ul{ list-style-type: none; margin: 1ex 0px 0px 0px; padding: 0px; }
348
+
349
+ div.order_status ul li{ padding-left: 0px; }
350
+
351
+ div.order_status ul li input{ margin: 0px 2px -2px 0px; }
352
+
353
+ img.log_expander_icon { margin-right: 3px; }
354
+
355
+ /* td { border: 1px solid red; } */
356
+
357
+ td.authorize_info_box { vertical-align: top; text-align: left; }
358
+
359
+ div.authorize_info_box { background: #f0f8ff; vertical-align: middle; text-align: center; width: 284px; height: 117px; }
360
+ div.authorize_info_box table { display: block; height: 117px; margin: auto auto auto auto; width: 205px; }
361
+ div.authorize_info_box table tr td { text-align: left; height: 117px; vertical-align: middle; color: #999999; font-size: 8pt; }
362
+
363
+ hr.image_seperator { border-top: 1px solid #cccccc; border-bottom: none; border-left: none; border-right: none;}
364
+
365
+ table.add_extra_images { width: 100%; }
366
+
367
+ div#list_view_quantity_container{
368
+ }
369
+
370
+ a.product_log_rss {
371
+ border-bottom: none;
372
+ }
373
+
374
+ a.product_log_rss span{
375
+ border-bottom: 1px solid #6699cc;
376
+ }
377
+
378
+ a.noline{
379
+ text-decoration:none;
380
+ border:0px;
381
+ }
382
+
383
+ a.admin_download {
384
+ display: block;
385
+ height: 26px;
386
+ border-bottom: none;
387
+ }
388
+
389
+ a.admin_download img{
390
+ margin-right: 3px;
391
+ }
392
+
393
+ a.admin_download span{
394
+ border-bottom: 1px solid #6699cc;
395
+ }
396
+
397
+ h3.log_headers{
398
+ color: #71a4c8;
399
+ margin-bottom: 0px;
400
+ margin-top: 0px;
401
+ }
402
+
403
+ input.edit_button {
404
+ float: left;
405
+ }
406
+
407
+ a.delete_button {
408
+ display: block;
409
+ float: left;
410
+ width: auto;
411
+ color: #333333;
412
+ font-size: 13px;
413
+ margin-top: 1px;
414
+ vertical-align: middle;
415
+ padding:0.25em 0.25em 0.25em 0.25em !important;
416
+ height: 19px;
417
+ margin-left: 12px;
418
+ }
419
+ a.delete_button:hover{
420
+ color: #333333;
421
+ }
422
+
423
+ div.flag_email{
424
+ position: relative;
425
+ left: 60px;
426
+ }
427
+
428
+ td.positioning_buttons a{
429
+ border-bottom: none;
430
+ margin-left: 3px;
431
+ }
432
+
433
+ input.tax_forms{
434
+ text-align: right;
435
+ width: 2.75em;
436
+ }
437
+
438
+ a.add_image_upload_forms div{/*
439
+ height: 8pt;
440
+ width: 1ex;
441
+ background-color: #cccccc !important;
442
+ float: left;*/
443
+ display: none;
444
+ }
445
+
446
+ label.order_filters{ font-size: 8pt; }
447
+ input.order_filters{ margin-bottom: -2px; }
448
+
449
+ a.thickbox{
450
+ border: none;
451
+ }
452
+ a.thickbox img{
453
+ border: none;
454
+ }
455
+
456
+ .entry p { margin: 0 0 1em 0; }
457
+
458
+
459
+ div.select_product_file, div.edit_select_product_file{
460
+ width: 300px;
461
+ margin-top: 3px;
462
+ padding: 2px;
463
+ border: 1px solid #B2B2B2;
464
+ background-color: #eeeeee;
465
+ overflow: auto;
466
+ overflow-x: hidden;
467
+ position: relative;
468
+ padding-bottom: 6px;
469
+ margin-bottom: 0px;
470
+ }
471
+
472
+ div.select_product_file p, div.edit_select_product_file p{
473
+ margin: 0px;
474
+ width: 96%;
475
+ _width: 90%;
476
+ padding: 4px;
477
+ }
478
+
479
+ div.select_product_file p input, div.edit_select_product_file p input{
480
+ margin: 0px 4px -3px 0px;
481
+ }
482
+
483
+ div.select_product_file p.alt, div.edit_select_product_file p.alt{
484
+ background-color: #ffffff;
485
+ }
486
+
487
+ div.select_product_handle, div.edit_select_product_handle{
488
+ position: relative;
489
+ height: 6px;
490
+ width: 306px;
491
+ background-color: #b2b2b2;
492
+ font-size: 1px;
493
+ margin: 0px;
494
+ }
495
+
496
+ div.select_product_handle div, div.edit_select_product_handle div{
497
+ position: relative;
498
+ top: 1px;
499
+ _top: 0px;
500
+ height: 1px;
501
+ border-bottom: 1px dotted #ffffff;
502
+ width: 13px;
503
+ _width: 14px;
504
+ margin: 0px auto 0px auto;
505
+ }
506
+
507
+ span.admin_product_notes{
508
+ font-size: 9pt;
509
+ color: #666666;
510
+ }
511
+
512
+ span.select_product_note{
513
+ display: block;
514
+ margin-top: 10px;
515
+ }
516
+
517
+ table.product_variation_listing{
518
+ margin-bottom: 12px;
519
+ }
520
+
521
+ table.product_variation_listing th.variation_name{
522
+ color: #71A4C8;
523
+ font-style: italic;
524
+ text-align: left;
525
+ padding-bottom: 1px;
526
+ }
527
+
528
+ table.product_variation_grid{
529
+ margin-top: 12px;
530
+ }
531
+
532
+ table.product_variation_grid th.variation_name{
533
+ color: #71A4C8;
534
+ font-style: italic;
535
+ text-align: left;
536
+ padding-bottom: 1px;
537
+ }
538
+
539
+ div.wpsc_listen_button{
540
+ clear: both;
541
+ display: block;
542
+ height: 26px;
543
+ padding: 0px;
544
+ }
545
+
546
+
547
+
548
+ td#order_summary_container{ width: 80px; }
549
+
550
+ /* written by allen */
551
+ .groupWrapper{
552
+ width: 260px;
553
+ float: left;
554
+ margin-right: 1%;
555
+ min-height: 100px;
556
+ }
557
+
558
+ .serializer{
559
+ clear: both;
560
+ }
561
+
562
+
563
+ table#itemlist tr td.category_item_container {
564
+ padding:0px 0px 0px 0px;
565
+ border-left:1px solid #bbb;
566
+ border-bottom:1px solid #bbb;
567
+ border-right:1px solid #bbb;
568
+ }
569
+
570
+ .groupItem{
571
+ border-top:1px solid #bbb;
572
+ width:350px;
573
+ height:35px;
574
+ clear: both;
575
+ /* margin-left:-6px; */
576
+ padding: 0px 0px 4px 0px;
577
+ }
578
+
579
+ .groupItem .itemHeader{
580
+ width:65px;
581
+ line-height: 15px;
582
+ color: #000;
583
+ padding: 4px;
584
+ cursor: move;
585
+ height: 35px;
586
+ position: relative;
587
+ clear: both;
588
+ }
589
+
590
+ .groupItem .itemHeader a{
591
+ margin: 4px 0px 4px 0px;
592
+ font-weight: normal;
593
+ font-size: 11px;
594
+ text-decoration: none;
595
+ }
596
+ .sortHelper{
597
+ border: 3px dashed #666;
598
+ width: auto;
599
+ }
600
+ .groupWrapper p{
601
+ height: 1px;
602
+ overflow: hidden;
603
+ margin: 0;
604
+ padding: 0;
605
+ }
606
+
607
+ .inputsTooltip{
608
+ border: 1px solid #000;
609
+ background-color: #444;
610
+ padding: 4px;
611
+ color: #ccc;
612
+ font-family: Arial, Helvetica, sans-serif;
613
+ font-size: 11px;
614
+ width: 150px;
615
+ }
616
+ .inputsTooltip #tooltipTitle{
617
+ font-weight: bold;
618
+ }
619
+
620
+ #description{
621
+ width: 300px;
622
+ height: 150px;
623
+ cursor: ns-resize;
624
+ cursor: n-resize;
625
+
626
+ }
627
+
628
+ #description textarea{
629
+ width: 300px;
630
+ height: 150px;
631
+ }
632
+ #resizeS{
633
+ border:0px;
634
+ top:-4px;
635
+ margin-left:1px;
636
+ margin-top:-2px;
637
+ width: 308px;
638
+ height: 6px;
639
+ background-color: #ccc;
640
+ bottom: 0;
641
+ left: 1px;
642
+ background-image:url(i/resizable-s.gif);
643
+ background-repeat:no-repeat;
644
+ background-position: center;
645
+ overflow: hidden;
646
+ }
647
+
648
+ #description1{
649
+ width: 300px;
650
+ height: 150px;
651
+ cursor: ns-resize;
652
+ cursor: n-resize;
653
+
654
+ }
655
+
656
+ #description1 textarea{
657
+ width: 300px;
658
+ height: 150px;
659
+ }
660
+
661
+ #resizeS1{
662
+ border:0px;
663
+ top:-4px;
664
+ margin-left:1px;
665
+ margin-top:-2px;
666
+ width: 308px;
667
+ height: 6px;
668
+ background-color: #ccc;
669
+ bottom: 0;
670
+ left: 1px;
671
+ background-image:url(i/resizable-s.gif);
672
+ background-repeat:no-repeat;
673
+ background-position: center;
674
+ overflow: hidden;
675
+ }
676
+
677
+ .mce_plugin_cforms_img{
678
+ background:url(../images/cformsmce.gif) no-repeat 5px center;
679
+ border:0;
680
+ border-top: 1px dotted #cccccc;
681
+ border-bottom: 1px dotted #cccccc;
682
+ width:100%;
683
+ padding:0.3em 0 0.3em 120px;
684
+ }
685
+ div.panel_wrapper{
686
+ display:block;
687
+ height:22px;
688
+ overflow:visible;
689
+ width:100%;
690
+ padding:0;
691
+ background:white url(../images/cfii.gif) no-repeat right 1px;
692
+ }
693
+ div.panel_wrapper div.current{
694
+ display:block;
695
+ height:22px;
696
+ overflow:visible;
697
+ width:100%;
698
+ padding:15px 0 0 10px;
699
+ }
700
+ div.panel_wrapper div.current table {
701
+ font-size:13px;
702
+ }
703
+ td.cflabel{
704
+ font-size:12px;
705
+
706
+ }
707
+ td.cfinput{
708
+ padding-left:10px;
709
+ }
710
+ td.cfinput select {
711
+ font-size:12px;
712
+ width:210px;
713
+ }
714
+ div.mceActionPanel{
715
+ }
716
+ #cancel,
717
+ #insert{
718
+ width:120px!important;
719
+ }
720
+
721
+ td#order_summary_container div.menu {
722
+ background-color:#EAF2F5;
723
+ border:1px solid #D7E4EC;
724
+ padding-left:15px;
725
+ padding-right:15px;
726
+ padding-top:15px;
727
+ }
728
+
729
+
730
+ div#changenotice {
731
+ background: #e5f3ff;
732
+ display: none;
733
+ padding: 5px;
734
+ margin-left: 0px !important;
735
+ }
736
+
737
+
738
+ div.pli_img{
739
+ cursor:move;
740
+ left:0px;
741
+ width:35px;
742
+ top:0px;
743
+ float:left;
744
+ }
745
+
746
+ td.pli_name{
747
+ width:90px;
748
+ padding-left: 0px !important;
749
+ }
750
+
751
+ div.pli_name{
752
+ left:auto;
753
+ top:5px;
754
+ width:90px;
755
+ display:block;
756
+ float:left;
757
+ margin-left: 8px;
758
+ margin-top:10px;
759
+ }
760
+
761
+ div.pli_price{
762
+ left:auto;
763
+ width:50px;
764
+ display:block;
765
+ top:0px;
766
+ float:left;
767
+ margin-left: 18px;
768
+ margin-top:10px;
769
+ }
770
+
771
+ div#pli_edit{
772
+ left:auto;
773
+ width:auto;
774
+ top:0px;
775
+ float:left;
776
+ }
777
+
778
+ span#settings_button{
779
+ width:180px;
780
+ background-color:#f1f1f1;
781
+ position:absolute;
782
+ border:1px solid black;
783
+ display:none;
784
+ z-index: 100;
785
+ }
786
+
787
+
788
+ ul.settings_button{
789
+ list-style-type:none;
790
+ padding:0px 3px 0 10px;
791
+ margin:5px 0 0 0;
792
+ }
793
+
794
+
795
+ table.product_editform tr td.itemformcol, table.additem tr td.itemformcol {
796
+ padding-bottom: 10px;
797
+
798
+ }
799
+
800
+
801
+ #additem .postbox, #productform .postbox, #titlediv, #additem .postarea, #additem .stuffbox {
802
+ border-color:#EBEBEB rgb(204, 204, 204) rgb(204, 204, 204) rgb(235, 235, 235);
803
+ }
804
+
805
+
806
+ #additem .postbox, #productform .postbox, #additem .stuffbox {
807
+ border-style:solid;
808
+ border-width:1px;
809
+ margin-bottom:3px;
810
+ /*
811
+ margin-left:-3px;
812
+ margin-right:-3px;
813
+ */
814
+ /* padding:2px; */
815
+ }
816
+
817
+
818
+ #additem .togbox, #productform .togbox{
819
+ display:block;
820
+ position:absolute;
821
+ top: 0px;
822
+ left: 0px;
823
+ height:35px;
824
+ _height:37px;
825
+ overflow:hidden;
826
+ width:12px;
827
+ border-right: 1px solid white;
828
+ background-position:-10px 16px;
829
+ background-repeat:no-repeat;
830
+ }
831
+
832
+
833
+ #additem h3, #productform h3 {
834
+ color:#DFDFDF;
835
+ background-color:#575757;
836
+ position: relative;
837
+ zoom: 1;
838
+
839
+ }
840
+ #additem h3, #productform h3 {
841
+ font-size:14px;
842
+ font-weight:bold;
843
+ margin:0pt 0pt 0px;
844
+ padding:9px 5px 9px 26px;
845
+ }
846
+
847
+
848
+ #additem .closed h3, #productform .closed h3 {
849
+ margin: 0px;
850
+ }
851
+
852
+
853
+ #additem .togbox, #productform .togbox {
854
+ background-color:#B2B2B2;
855
+ color:#B2B2B2;
856
+ background-image:url(./images/toggle-arrow.gif);
857
+ }
858
+
859
+ #additem .closed .togbox, #productform .closed .togbox {
860
+ /* background-color:#2583AD;
861
+ color:#2583AD;*/
862
+ background-image:url(images/toggle-arrow.gif);
863
+ background-position:4px 15px;
864
+ }
865
+
866
+ #additem .closed .inside, #productform .closed .inside {
867
+ width:548px;
868
+ display:none;
869
+ }
870
+ #additem .inside, #productform .inside {
871
+ font-size:11px;
872
+ margin:15px 12px;
873
+ }
874
+
875
+ div.categorisation_title {
876
+ background:#585858;
877
+ padding: 4px 5px 10px;
878
+ margin: 0px 0px 0px 0px;
879
+ position: relative;
880
+ height: 15px;
881
+ top: 0px;
882
+ left: 0px;
883
+ }
884
+
885
+ div.categorisation_title strong {
886
+ display: block;
887
+ font-size: 11px;
888
+ margin-top: 5px;
889
+ }
890
+
891
+ tr.categorisation_title {
892
+ background:#585858;
893
+ height: 14px;
894
+ }
895
+
896
+ div#submit_categorisation_form {
897
+ float: left;
898
+ display: block;
899
+ }
900
+
901
+ div.editing_this_group {
902
+ width: 100%;
903
+ border-bottom: 1px dotted black;
904
+ }
905
+ .secondcol div.editing_this_group {
906
+ width: 100%;
907
+ }
908
+
909
+ form.additem{
910
+ /*
911
+ border-left:1px solid #bbb;
912
+ border-right:1px solid #bbb;
913
+ border-bottom:1px solid #bbb;
914
+ */
915
+ }
916
+
917
+ #productform form{
918
+ border-left:1px solid #bbb;
919
+ border-right:1px solid #bbb;
920
+ border-bottom:1px solid #bbb;
921
+ }
922
+
923
+
924
+ div.editing_this_group p {
925
+ font-size:8pt;
926
+ min-height:16px;
927
+ padding:4px 4px 4px 8px;
928
+ margin: 0px;
929
+ }
930
+
931
+
932
+ a.add_category_link{
933
+ display: block;
934
+ margin: 8px;
935
+ }
936
+
937
+ table#itemlist tr.categorisation_title td {
938
+ color: #dfdfdf;
939
+ font-size: 11px;
940
+ line-height:1.3em;
941
+ padding:9px 15px 6px 10px;
942
+ text-align:left;
943
+ }
944
+
945
+
946
+
947
+ label.select_categorisation_group, select#select_categorisation_group, a.add_categorisation_group, a.edit_categorisation_group {
948
+ display: block;
949
+ float: left;
950
+ }
951
+
952
+ label.select_categorisation_group {
953
+ padding-top: 4px;
954
+ color: #336699;
955
+ font-size: 11px;
956
+ }
957
+
958
+ a.add_categorisation_group {
959
+ margin-left: 10px;
960
+ }
961
+
962
+ a.edit_categorisation_group {
963
+ margin-left: 30px;
964
+ }
965
+
966
+
967
+
968
+ table#productpage tr td.firstcol {
969
+ padding:0px !important;
970
+ }
971
+
972
+
973
+
974
+ div#add_categorisation, div#edit_categorisation{
975
+ display: none;
976
+ border: 1px solid #BBBBBB;
977
+ padding: 4px;
978
+ margin-top: 6px;
979
+ }
980
+
981
+ div#add_categorisation br, div#edit_categorisation br{
982
+ clear: both;
983
+ }
984
+
985
+
986
+ div#add_categorisation fieldset, div#edit_categorisation fieldset{
987
+ width: 230px;
988
+ float: left;
989
+ border: none;
990
+ }
991
+
992
+ div#add_categorisation fieldset label, div#edit_categorisation fieldset label{
993
+ display: block;
994
+ }
995
+
996
+ ul.categorisation_links{
997
+ list-style-type: none;
998
+ clear: both;
999
+ padding: 0px;
1000
+ }
1001
+
1002
+ ul.categorisation_links li{
1003
+ display: block;
1004
+ float: left;
1005
+ list-style-type: none;
1006
+ margin: 0px;
1007
+ font-size: 14px;
1008
+ padding: 4px;
1009
+ }
1010
+
1011
+ ul.categorisation_links li.selected a{
1012
+ color: #D54E21;
1013
+ }
1014
+
1015
+
1016
+
1017
+
1018
+ div.product_custom_meta {
1019
+ display: block;
1020
+ width: 100%;
1021
+ }
1022
+
1023
+ div.product_custom_meta a.add_more_meta {
1024
+ display: block;
1025
+ float: left;
1026
+ margin-top: 18px;
1027
+ margin-left: 4px;
1028
+ }
1029
+
1030
+ div.product_custom_meta a.remove_meta {
1031
+ display: block;
1032
+ float: left;
1033
+ margin-top: 18px;
1034
+ margin-left: 4px;
1035
+ }
1036
+
1037
+
1038
+ div.product_custom_meta label {
1039
+ display: block;
1040
+ width: 170px;
1041
+ float: left;
1042
+ }
1043
+
1044
+ div.product_custom_meta label input {
1045
+ font-size:13px;
1046
+ width: 160px !important;
1047
+ margin:1px !important;
1048
+ padding:3px !important;
1049
+ display: block;
1050
+ }
1051
+
1052
+ div.product_custom_meta br {
1053
+ clear: both;
1054
+ }
1055
+
1056
+ table.product_editform {
1057
+ width: 588px;
1058
+ margin-top: 15px;
1059
+ /* border-left:1px solid #bbb; */
1060
+ /* border-right:1px solid #bbb; */
1061
+ /* border-bottom:1px solid #bbb; */
1062
+ }
1063
+
1064
+ table.category_forms {
1065
+ width: 100%;
1066
+ }
1067
+ table.category_forms tr td {
1068
+ padding-left: 8px;
1069
+ }
1070
+ /*
1071
+ input, table.category_forms tr td textarea {
1072
+ width: 440px;
1073
+ }*/
1074
+
1075
+
1076
+ div#wpsc_shipwire_setting {
1077
+ display: none;
1078
+ }
1079
+
1080
+ #wpsc_options {
1081
+ border-color:#EBEBEB rgb(204, 204, 204) rgb(204, 204, 204) rgb(235, 235, 235);
1082
+ border-style:solid;
1083
+ border-width:1px;
1084
+ margin:0pt 15% 0pt 15px;
1085
+ padding:2px;
1086
+ position: relative;
1087
+ }
1088
+
1089
+ #wpsc_options a.about_this_page {
1090
+ position: absolute;
1091
+ top: 10px;
1092
+ right: 12px;
1093
+ }
1094
+
1095
+
1096
+ span.product_loadingindicator {
1097
+ display: block;
1098
+ float: right;
1099
+ }
1100
+
1101
+
1102
+ table#gateway_options{
1103
+ margin: 0px;
1104
+ width: 100%;
1105
+ }
1106
+
1107
+ table#gateway_options tr td{
1108
+ padding: 8px 0px 8px 2px;
1109
+ vertical-align: top;
1110
+ }
1111
+
1112
+
1113
+ table#gateway_options tr td h4{
1114
+ }
1115
+
1116
+ table#gateway_options tr td.select_gateway {
1117
+ width: 360px;
1118
+ height: 360px;
1119
+ min-width: 360px;
1120
+ background-color:#EAF3FA;
1121
+ padding: 0px;
1122
+ }
1123
+ table#gateway_options tr td.select_gateway div.gateway_settings {
1124
+ padding-left: 10px;
1125
+ }
1126
+
1127
+ td.select_gateway h4 {
1128
+ margin: 0px 0px 10px 0px;
1129
+ }
1130
+
1131
+ td.select_gateway p {
1132
+ padding-left: 8px;
1133
+ margin: 0px;
1134
+ }
1135
+
1136
+ td.select_gateway p input {
1137
+ position: relative;
1138
+ top: 3px;
1139
+ margin: 0px 3px 0px 0px;
1140
+ display: block;
1141
+ float: left;
1142
+ }
1143
+
1144
+ td.gateway_settings {
1145
+ padding-top: 0px !important;
1146
+ }
1147
+
1148
+ td.gateway_settings h4 {
1149
+ margin: 0px;
1150
+ }
1151
+
1152
+ td.gateway_settings table.form-table {
1153
+ margin: 0px 0px 0px 0px;
1154
+ }
1155
+
1156
+ table#gateway_options table.form-table tr td {
1157
+ padding-left: 8px;
1158
+ }
1159
+
1160
+ table.form-table tr.firstrowth td {
1161
+ padding: 4px 5px 6px 6px !important;
1162
+ line-height: normal;
1163
+ }
1164
+
1165
+
1166
+ tr.update_gateway {
1167
+ background: none;
1168
+ }
1169
+
1170
+ tr.update_gateway td {
1171
+ padding: 0px 0px 0px 8px !important;
1172
+ }
1173
+
1174
+ tr.update_gateway td div {
1175
+ border-top: none;
1176
+ margin: 0px;
1177
+ padding: 0px;
1178
+ }
1179
+
1180
+ div.admin_product_name {
1181
+ width: 360px;
1182
+ padding: 0px;
1183
+ }
1184
+
1185
+ div.admin_product_name input.text{
1186
+ width: 325px !important;
1187
+ margin: 0px 0px 0px 1px !important;
1188
+ float: left;
1189
+ _height: 17px;
1190
+ }
1191
+
1192
+ div.admin_product_name a.shorttag_toggle {
1193
+ background:#FFFFFF url(images/info_icon.jpg) no-repeat scroll 5px 4px;
1194
+ /* border-bottom:1px solid #BBBBBB; */
1195
+ /* border-right:1px solid #BBBBBB; */
1196
+ /* border-top:1px solid #BBBBBB; */
1197
+ display:block;
1198
+ float:left;
1199
+ height:17px;
1200
+ padding:3px;
1201
+ width:18px;
1202
+ margin-top:1px;
1203
+ }
1204
+
1205
+ div.admin_product_name a.shorttag_toggle.toggled {
1206
+ background:#FFFFFF url(images/plus_icon.jpg) no-repeat scroll 5px 4px;
1207
+ }
1208
+
1209
+ form.additem input.wpsc_product_name, form.edititem input.wpsc_product_name{
1210
+ /*
1211
+ -moz-border-radius-topright:0px;
1212
+ -moz-border-radius-bottomright:0px;
1213
+ */
1214
+ margin-bottom:0px;
1215
+ float:left;
1216
+ width:85%;
1217
+ }
1218
+
1219
+ div.admin_product_name div.admin_product_shorttags {
1220
+ width: 328px;
1221
+ clear: both;
1222
+ padding: 6px;
1223
+ font-size: 8pt;
1224
+ margin: 0px 0px 0px 1px !important;
1225
+ /* border-left:1px solid #BBBBBB; */
1226
+ /* border-right:1px solid #BBBBBB; */
1227
+ /* border-bottom:1px solid #BBBBBB; */
1228
+ display: none;
1229
+ }
1230
+
1231
+ div.admin_product_name div.admin_product_shorttags dl {
1232
+ margin: 0px;
1233
+ }
1234
+ div.admin_product_name div.admin_product_shorttags dl dt {
1235
+ display: block;
1236
+ float: left;
1237
+ clear: left;
1238
+ }
1239
+ div.admin_product_name div.admin_product_shorttags dl dd {
1240
+ display: block;
1241
+ float: left;
1242
+ margin-bottom: 0px;
1243
+ }
1244
+
1245
+ table#itemlist tr.firstrowth td {
1246
+ padding:4px 5px 6px;
1247
+ }
1248
+
1249
+
1250
+ /* Affiliates styles */
1251
+ select#affliate_products {
1252
+ width:150px;
1253
+ }
1254
+
1255
+ textarea.affiliate_text {
1256
+ width:450px;
1257
+ height:150px;
1258
+ }
1259
+
1260
+
1261
+ table.product_variation_grid {
1262
+ border-collapse: collapse;
1263
+ margin-top: 0px;
1264
+ }
1265
+
1266
+ table.product_variation_grid tr td, table.product_variation_grid tr th {
1267
+ border: 1px solid #cccccc;
1268
+ border-collapse: collapse;
1269
+ text-align: left;
1270
+ }
1271
+
1272
+ table.product_variation_grid tr th {
1273
+ border-bottom: 1px solid #969696;
1274
+ }
1275
+
1276
+ table.product_variation_grid tr th.stock {
1277
+ border-bottom: 1px solid #969696;
1278
+ width: 50px;
1279
+ }
1280
+
1281
+ table.product_variation_grid tr th.price {
1282
+ width: 78px;
1283
+ }
1284
+
1285
+ table.product_variation_grid tr td.variations, table.product_variation_grid tr th {
1286
+ padding: 4px 0px 4px 10px;
1287
+ }
1288
+
1289
+ table.product_variation_grid tr td.variations, table.product_variation_grid tr th.variations {
1290
+ width: 300px;
1291
+ }
1292
+
1293
+
1294
+ table.product_variation_grid tr td input{
1295
+ padding: 0px 3px 0px 3px;
1296
+ }
1297
+
1298
+ table.product_variation_grid tr.group_boundary td {
1299
+ border-bottom: 1px solid #969696;
1300
+ }
1301
+
1302
+ a.about_this_page_sub {
1303
+ text-decoration:underline;
1304
+ }
1305
+
1306
+ table.product_variation_grid {
1307
+ border-collapse: collapse;
1308
+ margin-top: 0px;
1309
+ }
1310
+
1311
+ table.product_variation_grid tr td, table.product_variation_grid tr th {
1312
+ border: 1px solid #cccccc;
1313
+ border-collapse: collapse;
1314
+ text-align: left;
1315
+ }
1316
+
1317
+ table.product_variation_grid tr.variation_row td {
1318
+ border-bottom: none;
1319
+ }
1320
+
1321
+ table.product_variation_grid tr.settings_row td {
1322
+ border-top: none;
1323
+ padding: 0px !important;
1324
+ }
1325
+
1326
+
1327
+ table.product_variation_grid tr.settings_row td div.variation_settings {
1328
+ display: none;
1329
+ border-top: 1px dotted #cccccc;
1330
+ width: 100%;
1331
+ min-height: 30px;
1332
+ padding: 4px 10px;
1333
+
1334
+ }
1335
+ table.product_variation_grid tr th {
1336
+ border-bottom: 1px solid #969696;
1337
+ }
1338
+
1339
+ table.product_variation_grid tr th.stock {
1340
+ border-bottom: 1px solid #969696;
1341
+ width: 50px;
1342
+ }
1343
+
1344
+ table.product_variation_grid tr th.price {
1345
+ width: 78px;
1346
+ }
1347
+
1348
+ table.product_variation_grid tr td.variations, table.product_variation_grid tr th {
1349
+ padding: 4px 0px 4px 10px;
1350
+ }
1351
+
1352
+ table.product_variation_grid tr td.variations, table.product_variation_grid tr th.variations {
1353
+ width: 300px;
1354
+ }
1355
+
1356
+
1357
+ table.product_variation_grid tr td input{
1358
+ padding: 0px 3px 0px 3px;
1359
+ }
1360
+
1361
+ table.product_variation_grid tr td input.checkbox{
1362
+ display: block;
1363
+ margin:6px auto;
1364
+ }
1365
+
1366
+ table.product_variation_grid tr.group_boundary td {
1367
+ border-bottom: 1px solid #969696;
1368
+ }
1369
+
1370
+ div#add_product_variation_details {
1371
+ margin: 1ex 0px 0px 0px;
1372
+ }
1373
+
1374
+ div#add_product_variation_details table.product_variation_grid {
1375
+ margin: 4px 0px 0px 0px;
1376
+ }
1377
+
1378
+ ul#gallery_list{
1379
+ clear:both;
1380
+ list-style-type:none;
1381
+ list-style-position: inside;
1382
+ cursor: hand;
1383
+ /* min-height:70px; */
1384
+ _height:70px;
1385
+ padding-left:0px;
1386
+ }
1387
+
1388
+ ul#gallery_list li{
1389
+ float:left;
1390
+ }
1391
+
1392
+ ul#gallery_list li *{
1393
+ z-index:79;
1394
+ }
1395
+ ul#gallery_list li.first *{
1396
+ z-index:80;
1397
+ }
1398
+ .ui-selected {
1399
+ border:2px dashed #969696;
1400
+ }
1401
+ img.deleteButton {
1402
+ display:none;
1403
+ position:absolute;
1404
+ margin-left:-16px;
1405
+ top:-5px;
1406
+ width:16px;
1407
+ height:16px;
1408
+ cursor:pointer;
1409
+ }
1410
+ a.editButton {
1411
+ background:#FFFFFF none repeat scroll 0%;
1412
+ height:20px;
1413
+ display:none;
1414
+ position:absolute;
1415
+ margin-left:-50px;
1416
+ top:0px;
1417
+ padding-bottom:3px;
1418
+ padding-left:3px;
1419
+ cursor:pointer;
1420
+ }
1421
+
1422
+ div#image_settings_box {
1423
+ position:absolute;
1424
+ width:150px;
1425
+ display:none;
1426
+ margin: -66px 0px 0px 36px;
1427
+ _margin: 0px 0px 0px -30px;
1428
+ padding-top:2px;
1429
+ width:252px;
1430
+ z-index:69;
1431
+ _z-index:80;
1432
+ }
1433
+
1434
+ div.lower_settings_box {
1435
+ width:234px;
1436
+ background-color:white;
1437
+ border:1px solid black;
1438
+ border-top:1px solid #CCCCCC;
1439
+ float:right;
1440
+ margin: -1px -6px 0px 0px;
1441
+ background-color:#EAF3FA;
1442
+ }
1443
+
1444
+ div.upper_settings_box {
1445
+ width:250px;
1446
+ background-color:white;
1447
+ border:1px solid black;
1448
+ padding:3px 1px 2px 5px;
1449
+ }
1450
+
1451
+ div.upper_image {
1452
+ float:left;
1453
+ /* border-bottom:1px solid black; */
1454
+ padding-left:5px;
1455
+ margin-left:-5px;
1456
+ _margin-left:-3px;
1457
+ margin-right:-7px;
1458
+ padding-bottom:4px;
1459
+ _padding-bottom:6px;
1460
+ _margin-bottom:-2px;
1461
+ }
1462
+
1463
+ div.upper_txt{
1464
+ padding-left:22px;
1465
+ color:#666666;
1466
+ }
1467
+
1468
+ div.previewimage {
1469
+ position:relative;
1470
+ }
1471
+
1472
+ tr.edit_product_image *{
1473
+ z-index:80;
1474
+ }
1475
+
1476
+ a.closeimagesettings{
1477
+ cursor:pointer;
1478
+ margin-left:90px;
1479
+ }
1480
+
1481
+ table.wpsc_options, table.form-table{
1482
+ margin-top:0px;
1483
+ margin-bottom:0px;
1484
+ }
1485
+
1486
+ h2.wpsc_special{
1487
+ margin-bottom:5px;
1488
+ }
1489
+
1490
+ input.deletecheckbox {
1491
+ position: relative;
1492
+ top: -14px;
1493
+ margin-right:10px;
1494
+ }
1495
+
1496
+ /*div#wpcontent div:not(#wpbody) * {
1497
+ display:none;
1498
+ }*/
1499
+ div.packing_slip {
1500
+ margin: 10px;
1501
+ }
1502
+
1503
+ table.packing_slip {
1504
+ border: 1px solid black;
1505
+ border-collapse: collapse;
1506
+ width: 500px
1507
+ }
1508
+
1509
+ table.packing_slip tr td, table.packing_slip tr th {
1510
+ border: 1px solid black;
1511
+ padding: 6px 6px 6px 6px;
1512
+ }
1513
+
1514
+ @media print {
1515
+ div#wpcontent ul {
1516
+ display: none;
1517
+ }
1518
+
1519
+ div#wphead {
1520
+ display: none;
1521
+ }
1522
+
1523
+ div#user_info {
1524
+ display: none;
1525
+ }
1526
+
1527
+ div#update-nag {
1528
+ display: none;
1529
+ }
1530
+
1531
+ div#rightnow {
1532
+ display: none;
1533
+ }
1534
+
1535
+ td#order_summary_container {
1536
+ display: none;
1537
+ }
1538
+
1539
+ div#footer {
1540
+ display: none;
1541
+ }
1542
+ a {
1543
+ display: none;
1544
+ }
1545
+ embed {
1546
+ display: none;
1547
+ }
1548
+ }
1549
+
1550
+ img.file_delete_button {
1551
+ float:right;
1552
+ cursor: pointer;
1553
+ margin-top: -17px;
1554
+ }
1555
+
1556
+ .swfupload {
1557
+ position:absolute;
1558
+ z-index:1;
1559
+ vertical-align:top;
1560
+ }
1561
+
1562
+ a.delete_primary_image {
1563
+ display: block;
1564
+ margin-left: 20px;
1565
+ }
1566
+
1567
+ br.small {
1568
+ line-height: 0.5em;
1569
+ }
1570
+
1571
+ #dashboard-widgets-main-content-wpsc {
1572
+ margin-right:31% !important;
1573
+ }
1574
+
1575
+ #side-info-column-wpsc {
1576
+ width:28% !important;
1577
+ }
1578
+
1579
+ .inner-sidebar {
1580
+ float:right;
1581
+ clear:right;
1582
+ }
1583
+
1584
+ div.purchase_detail{
1585
+ margin-left:10px;
1586
+ margin-bottom: 10px;
1587
+ }
1588
+
1589
+ div.email_buyer{
1590
+ margin-left:10px;
1591
+ margin-bottom: 10px;
1592
+ }
1593
+
1594
+ h3.hndle {
1595
+ font-size:12px !important;
1596
+ margin:0px !important;
1597
+ color:#DFDFDF !important;
1598
+ background-color:#575757;
1599
+ border-left:1px solid #575757;
1600
+ border-right:1px solid #575757;
1601
+ padding:7px 6px 9px;
1602
+
1603
+ }
1604
+
1605
+ #rightnow .reallynow span {
1606
+ display:block;
1607
+ float:none !important;
1608
+ padding:0 6px;
1609
+ text-align:left;
1610
+ width:50%;
1611
+ }
1612
+
1613
+ #rightnow {
1614
+ margin-top:25px !important;
1615
+ }
1616
+
1617
+ #side-info-column-wpsc div.postbox{
1618
+ background-color:#EAF2F5;
1619
+ border:1px solid #D7E4EC;
1620
+ margin-bottom: 10px;
1621
+ padding: 5px 15px 5px 15px;
1622
+ position:relative;
1623
+ }
1624
+
1625
+ #additem h3, #productform h3 {
1626
+ font-size:14px;
1627
+ font-weight:bold;
1628
+ margin:0 0 0;
1629
+ padding:9px 5px 9px 26px;
1630
+ }
1631
+
1632
+ #additem h3, #productform h3 {
1633
+ background-color:#575757;
1634
+ color:#DFDFDF;
1635
+ position:relative;
1636
+ }
1637
+
1638
+ div.variation_checkboxes {
1639
+ margin-bottom: 4px;
1640
+ }
1641
+
1642
+ div.variation_checkboxes label {
1643
+ display: block;
1644
+ margin-bottom: 2px;
1645
+ }
1646
+
1647
+ div.variation_checkboxes label input {
1648
+ position: relative;
1649
+ top: 2px;
1650
+ margin-right: 3px;
1651
+ }
1652
+
1653
+ a.variation_edit_button {
1654
+ display: block;
1655
+ height: 16px;
1656
+ width: 16px;
1657
+ margin: 4px auto 0px auto;
1658
+
1659
+ }
1660
+
1661
+ div.variation_settings div.variation_settings_contents{
1662
+ padding-left: 10px;
1663
+ }
1664
+
1665
+ div.select_variation_file {
1666
+ padding-left: 6px;
1667
+ }
1668
+ div.select_variation_file p {
1669
+ margin:0 0 3px;
1670
+ }
1671
+
1672
+ div.select_variation_file p {
1673
+ margin:0 0 3px;
1674
+ }
1675
+
1676
+ div.select_variation_file p input {
1677
+ position: relative;
1678
+ top: 2px;
1679
+ }
1680
+
1681
+ #dashboard-widgets-main-content-wpsc {
1682
+ margin-right:31% !important;
1683
+ }
1684
+
1685
+ #side-info-column-wpsc {
1686
+ width:28% !important;
1687
+ }
1688
+
1689
+ div.purchase_detail{
1690
+ margin-left:10px;
1691
+ margin-bottom: 10px;
1692
+ }
1693
+
1694
+ div.email_buyer{
1695
+ margin-left:10px;
1696
+ margin-bottom: 10px;
1697
+ }
1698
+
1699
+ h3.hndle {
1700
+ font-size:12px !important;
1701
+ padding:6px 7px !important;
1702
+ }
1703
+
1704
+ .wpsc-row-actions {
1705
+ font-size: 0.8em;
1706
+ visibility: hidden;
1707
+ }
1708
+
1709
+ #editorcontainer {
1710
+ padding:0px;
1711
+ }
1712
+
1713
+ label.variation_checkbox {
1714
+ display: block;
1715
+ }
1716
+
1717
+ div.variation_box{
1718
+ }
1719
+ div.variation_values_box{
1720
+ padding-left: 10px;
1721
+ }
admin.js ADDED
@@ -0,0 +1,1236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var someresults=function() {
2
+ document.getElementById('changenotice').innerHTML = "Thank you, your change has been saved";
3
+ }
4
+
5
+ var noresults=function() {
6
+ // see nothing, know nothing, do nothing
7
+ }
8
+
9
+ if(typeof(select_min_height) == undefined) {
10
+ var select_min_height = 0;
11
+ var select_max_height = 200;
12
+ }
13
+
14
+ jQuery(document).ready(
15
+ function() {
16
+ // jQuery('div.select_product_file').Resizable({
17
+ // minWidth: 300,
18
+ // minHeight: select_min_height,
19
+ // maxWidth: 300,
20
+ // maxHeight: select_max_height,
21
+ // handlers: {
22
+ // s: '.select_product_handle'
23
+ // }
24
+ // });
25
+
26
+ jQuery("div.admin_product_name a.shorttag_toggle").toggle(
27
+ function () {
28
+ jQuery("div.admin_product_shorttags", jQuery(this).parent("div.admin_product_name")).css('display', 'block');
29
+ },
30
+ function () {
31
+ //jQuery("div#admin_product_name a.shorttag_toggle").toggleClass('toggled');
32
+ jQuery("div.admin_product_shorttags", jQuery(this).parent("div.admin_product_name")).css('display', 'none');
33
+ }
34
+ );
35
+ enablebuttons();
36
+
37
+ }
38
+ );
39
+
40
+ function activate_resizable() {
41
+ // jQuery('div.edit_select_product_file').Resizable({
42
+ // minWidth: 300,
43
+ // minHeight: select_min_height,
44
+ // maxWidth: 300,
45
+ // maxHeight: select_max_height,
46
+ // handlers: {
47
+ // s: '.edit_select_product_handle'
48
+ // }
49
+ // });
50
+ }
51
+
52
+
53
+
54
+ jQuery(document).ready(function(){
55
+ // bind_shipping_rate_deletion();
56
+ jQuery(function() {
57
+ // set us up some mighty fine tabs for the options page
58
+
59
+ if (typeof jQuery('#wpsc_options > ul#tabs').tabs != "undefined") {
60
+ $tabs = jQuery('#wpsc_options > ul#tabs').tabs();
61
+ }
62
+ // current_tab = window.location.href.split('#');
63
+
64
+ // this here code handles remembering what tab you were on
65
+ jQuery('#wpsc_options > ul').bind('tabsselect', function(event, ui) {
66
+ form_action = jQuery('#cart_options').attr('action').split('#'); //split at the #
67
+ form_action = form_action[0]+"#"+ui.panel.id; // get the first item, add the hash then our current tab ID
68
+ jQuery('#cart_options').attr('action', form_action); // stick it all back in the action attribute
69
+ // var current_tab = $tabs.data('selected.tabs');
70
+ // alert(current_tab);
71
+ // if (current_tab == '3') {
72
+ // form_action = jQuery('#shipping_options').attr('action').split('#'); //split at the #
73
+ // form_action = form_action[0]+"#"+ui.panel.id; // get the first item, add the hash then our current tab ID
74
+ //
75
+ // jQuery('#shipping_options').attr('action', form_action); // stick it all back in the action attribute
76
+ // }
77
+ // if (current_tab == '4') {
78
+ // form_action = jQuery('#gateway_options').attr('action').split('#'); //split at the #
79
+ // form_action = form_action[0]+"#"+ui.panel.id; // get the first item, add the hash then our current tab ID
80
+ // jQuery('#gateway_options').attr('action', form_action); // stick it all back in the action attribute
81
+ // }
82
+ });
83
+ jQuery('#wpsc_options > ul').bind('tabsload', function(event, ui) {
84
+ bind_shipping_rate_deletion();
85
+ // form_action = jQuery('#cart_options').attr('action').split('#'); //split at the #
86
+ // form_action = form_action[0]+"#"+ui.panel.id; // get the first item, add the hash then our current tab ID
87
+ // jQuery('#cart_options').attr('action', form_action); // stick it all back in the action attribute
88
+ var current_tab = $tabs.data('selected.tabs');
89
+ if (current_tab == '3') {
90
+ form_action = jQuery('#shipping_options').attr('action').split('#'); //split at the #
91
+ form_action = form_action[0]+"#"+ui.panel.id; // get the first item, add the hash then our current tab ID
92
+ jQuery('#shipping_options').attr('action', form_action); // stick it all back in the action attribute
93
+ }
94
+ if (current_tab == '4') {
95
+ form_action = jQuery('#gateway_options_tbl').attr('action').split('#'); //split at the #
96
+ form_action = form_action[0]+"#"+ui.panel.id; // get the first item, add the hash then our current tab ID
97
+ jQuery('#gateway_options_tbl').attr('action', form_action); // stick it all back in the action attribute
98
+ }
99
+ if (current_tab == '5') {
100
+ form_action = jQuery('#chekcout_options_tbl').attr('action').split('#'); //split at the #
101
+ form_action = form_action[0]+"#"+ui.panel.id; // get the first item, add the hash then our current tab ID
102
+ jQuery('#chekcout_options_tbl').attr('action', form_action); // stick it all back in the action attribute
103
+ }
104
+ if (current_tab == '6') {
105
+ form_action = jQuery('#gold_cart_form').attr('action').split('#'); //split at the #
106
+ form_action = form_action[0]+"#"+ui.panel.id; // get the first item, add the hash then our current tab ID
107
+ jQuery('#gold_cart_form').attr('action', form_action); // stick it all back in the action attribute
108
+ }
109
+
110
+ });
111
+ });
112
+ });
113
+
114
+
115
+ function categorylist(url) {
116
+ self.location = url;
117
+ }
118
+
119
+ function submit_change_country() {
120
+ document.cart_options.submit();
121
+ //document.cart_options.submit();
122
+ }
123
+
124
+ var getresults=function(results) {
125
+ document.getElementById('formcontent').innerHTML = results;
126
+ jQuery('form.edititem').css('display', 'block');
127
+ jQuery('form.edititem').css('display', 'block');
128
+ jQuery('#additem').css('display', 'none');
129
+ jQuery('#productform').css('display', 'block');
130
+ jQuery("#loadingindicator_span").css('visibility','hidden');
131
+ enablebuttons();
132
+
133
+ jQuery('#formcontent .postbox h3').click( function() {
134
+ jQuery(jQuery(this).parent('div.postbox')).toggleClass('closed');
135
+ if(jQuery(jQuery(this).parent('div.postbox')).hasClass('closed')) {
136
+ jQuery('a.togbox',this).html('+');
137
+ } else {
138
+ jQuery('a.togbox',this).html('&ndash;');
139
+ }
140
+ wpsc_save_postboxes_state('editproduct', '#formcontent');
141
+ });
142
+
143
+ jQuery('.meta-box-sortables').sortable( {
144
+ placeholder: 'sortable-placeholder',
145
+ connectWith: [ '.meta-box-sortables' ],
146
+ items: '> .postbox',
147
+ handle: '.hndle',
148
+ distance: 2,
149
+ tolerance: 'pointer',
150
+ sort: function(e,ui) {
151
+ if ( jQuery(document).width() - e.clientX < 300 ) {
152
+ if ( ! jQuery('#post-body').hasClass('has-sidebar') ) {
153
+ var pos = jQuery('#side-sortables').offset();
154
+
155
+ jQuery('#side-sortables').append(ui.item)
156
+ jQuery(ui.placeholder).css({'top':pos.top,'left':pos.left}).width(jQuery(ui.item).width())
157
+ postboxes.expandSidebar(1);
158
+ }
159
+ }
160
+ },
161
+ stop: function() {
162
+ var postVars = {
163
+ action: 'product-page-order',
164
+ ajax: 'true'
165
+ }
166
+ //jQuery(this).css("border","1px solid red");
167
+ jQuery(this).each( function() {
168
+ postVars["order[" + this.id.split('-')[0] + "]"] = jQuery(this).sortable( 'toArray' ).join(',');
169
+ } );
170
+ jQuery.post( 'index.php?admin=true&ajax=true', postVars, function() {
171
+ postboxes.expandSidebar();
172
+ } );
173
+ }
174
+ } );
175
+
176
+
177
+ jQuery("#gallery_list").sortable({
178
+ revert: false,
179
+ placeholder: "ui-selected",
180
+ start: function(e,ui) {
181
+ jQuery('#image_settings_box').hide();
182
+ jQuery('a.editButton').hide();
183
+ jQuery('img.deleteButton').hide();
184
+ jQuery('ul#gallery_list').children('li').removeClass('first');
185
+ },
186
+ stop:function (e,ui) {
187
+ jQuery('ul#gallery_list').children('li:first').addClass('first');
188
+ },
189
+ update: function (e,ui){
190
+ set = jQuery("#gallery_list").sortable('toArray');
191
+ img_id = jQuery('#gallery_image_'+set[0]).parent('li').attr('id');
192
+
193
+ jQuery('#gallery_image_'+set[0]).children('img.deleteButton').remove();
194
+ jQuery('#gallery_image_'+set[0]).append("<a class='editButton'>Edit <img src='"+WPSC_URL+"/images/pencil.png' alt='' /></a>");
195
+ jQuery('#gallery_image_'+set[0]).parent('li').attr('id', 0);
196
+ //for(i=1;i<set.length;i++) {
197
+ // jQuery('#gallery_image_'+set[i]).children('a.editButton').remove();
198
+ // jQuery('#gallery_image_'+set[i]).append("<img alt='-' class='deleteButton' src='"+WPSC_URL+"/images/cross.png'/>");
199
+ //}
200
+
201
+ for(i=1;i<set.length;i++) {
202
+ jQuery('#gallery_image_'+set[i]).children('a.editButton').remove();
203
+ jQuery('#gallery_image_'+set[i]).append("<img alt='-' class='deleteButton' src='"+WPSC_URL+"/images/cross.png'/>");
204
+
205
+ element_id = jQuery('#gallery_image_'+set[i]).parent('li').attr('id');
206
+ if(element_id == 0) {
207
+ jQuery('#gallery_image_'+set[i]).parent('li').attr('id', img_id);
208
+ }
209
+ }
210
+
211
+ order = set.join(',');
212
+ prodid = jQuery('#prodid').val();
213
+ ajax.post("index.php",imageorderresults,"admin=true&ajax=true&prodid="+prodid+"&imageorder=true&order="+order);
214
+ },
215
+ 'opacity':0.5
216
+ });
217
+
218
+ function imageorderresults(results) {
219
+ eval(results);
220
+
221
+ jQuery('#gallery_image_'+ser).append(output);
222
+
223
+ enablebuttons();
224
+ }
225
+
226
+ jQuery("div.previewimage").hover(
227
+ function () {
228
+ jQuery(this).children('img.deleteButton').show();
229
+ if(jQuery('#image_settings_box').css('display')!='block')
230
+ jQuery(this).children('a.editButton').show();
231
+ },
232
+ function () {
233
+ jQuery(this).children('img.deleteButton').hide();
234
+ jQuery(this).children('a.editButton').hide();
235
+ }
236
+ );
237
+
238
+ jQuery(".closeimagesettings").click(
239
+ function (e) {
240
+ alert('uhuh');
241
+ jQuery("div#image_settings_box").hide();
242
+ }
243
+ );
244
+
245
+
246
+ jQuery("#table_rate_price").click(
247
+ function() {
248
+ if (this.checked) {
249
+ jQuery("#table_rate").slideDown("fast");
250
+ } else {
251
+ jQuery("#table_rate").slideUp("fast");
252
+ }
253
+ }
254
+ );
255
+
256
+ jQuery(".add_level").click(
257
+ function() {
258
+ jQuery(this).parent().children('table').append('<tr><td><input type="text" size="10" value="" name="productmeta_values[table_rate_price][quantity][]"/> and above</td><td><input type="text" size="10" value="" name="productmeta_values[table_rate_price][table_price][]"/></td><td><img src="'+WPSC_URL+'/images/cross.png" class="remove_line"></td></tr>');
259
+ }
260
+ );
261
+
262
+
263
+ jQuery("#add_label").click(
264
+ function(){
265
+ jQuery("#labels").append("<br><table><tr><td>"+TXT_WPSC_LABEL+" :</td><td><input type='text' name='productmeta_values[labels][]'></td></tr><tr><td>"+TXT_WPSC_LIFE_NUMBER+" :</td><td><input type='text' name='productmeta_values[life_number][]'></td></tr><tr><td>"+TXT_WPSC_ITEM_NUMBER+" :</td><td><input type='text' name='productmeta_values[item_number][]'></td></tr><tr><td>"+TXT_WPSC_PRODUCT_CODE+" :</td><td><input type='text' name='productmeta_values[product_code][]'></td></tr><tr><td>"+TXT_WPSC_PDF+" :</td><td><input type='file' name='productmeta_values[product_pdf][]'></td></tr></table>");
266
+ }
267
+ );
268
+
269
+ jQuery(".remove_line").click(
270
+ function() {
271
+ jQuery(this).parent().parent('tr').remove();
272
+ }
273
+ );
274
+
275
+
276
+ //SWFUpload
277
+ filesizeLimit = 5120000;
278
+
279
+ if (typeof SWFUpload != "undefined") {
280
+ var swfu = new SWFUpload({
281
+ flash_url : WPSC_URL+'/js/swfupload.swf',
282
+ upload_url: base_url+'/?action=wpsc_add_image',
283
+ button_placeholder_id : "spanButtonPlaceholder",
284
+ button_width: 103,
285
+ button_height: 24,
286
+ button_window_mode: SWFUpload.WINDOW_MODE.TRANSPARENT,
287
+ button_cursor: SWFUpload.CURSOR.HAND,
288
+ post_params: {"prodid" : jQuery('#prodid').val()},
289
+ file_queue_limit : 1,
290
+ file_size_limit : filesizeLimit+'b',
291
+ file_types : "*.jpg;*.jpeg;*.png;*.gif;*.JPG;*.JPEG;*.PNG;*.GIF",
292
+ file_types_description : "Web-compatible Image Files",
293
+ file_upload_limit : filesizeLimit,
294
+ custom_settings : {
295
+ targetHolder : false,
296
+ progressBar : false,
297
+ sorting : false
298
+ },
299
+ debug: false,
300
+
301
+ file_queued_handler : imageFileQueued,
302
+ file_queue_error_handler : imageFileQueueError,
303
+ file_dialog_complete_handler : imageFileDialogComplete,
304
+ upload_start_handler : startImageUpload,
305
+ upload_progress_handler : imageUploadProgress,
306
+ upload_error_handler : imageUploadError,
307
+ upload_success_handler : imageUploadSuccess,
308
+ upload_complete_handler : imageUploadComplete,
309
+ queue_complete_handler : imageQueueComplete
310
+ });
311
+ }
312
+
313
+ jQuery("#add-product-image").click(function(){
314
+ swfu.selectFiles();
315
+ });
316
+ activate_resizable();
317
+ tb_init("a.thickbox");
318
+
319
+ jQuery("div.admin_product_name a.shorttag_toggle").toggle(
320
+ function () {
321
+ jQuery("div.admin_product_shorttags", jQuery(this).parent("div.admin_product_name")).css('display', 'block');
322
+ },
323
+ function () {
324
+ //jQuery("div#admin_product_name a.shorttag_toggle").toggleClass('toggled');
325
+ jQuery("div.admin_product_shorttags", jQuery(this).parent("div.admin_product_name")).css('display', 'none');
326
+ }
327
+ );
328
+ jQuery(".file_delete_button").click(
329
+ function() {
330
+ jQuery(this).parent().remove();
331
+ file_hash = jQuery(this).siblings("input").val();
332
+ ajax.post("index.php",noresults,"admin=true&ajax=true&del_file=true&del_file_hash="+file_hash);
333
+ }
334
+ );
335
+ boxes = ["price_and_stock", "shipping", "variation", "advanced", "product_image", "product_download"];
336
+ for (i=0;i<boxes.length;i++) {
337
+ if ( ! jQuery('#'+boxes[i]+'-hide').attr('checked')){
338
+ if (IS_WP27) {
339
+ jQuery('#'+boxes[i]).hide();
340
+ }
341
+ }
342
+ }
343
+ }
344
+
345
+ function filleditform(prodid) {
346
+ jQuery(document).ready(function(){
347
+ ajax.post("index.php",getresults,"ajax=true&admin=true&prodid="+prodid);
348
+ jQuery('.loadingimage').attr('src', jQuery(".loadingimage").attr('src'));
349
+ jQuery('#loadingindicator_span').css('visibility','visible');
350
+ });
351
+ }
352
+
353
+ function fillvariationform(variation_id) {
354
+ ajax.post("index.php",getresults,"ajax=true&admin=true&variation_id="+variation_id);
355
+ jQuery('.loadingimage').attr('src', WPSC_URL+'/images/indicator.gif');
356
+ jQuery('#loadingindicator_span').css('visibility','visible');
357
+ }
358
+
359
+ function showaddform() {
360
+ document.getElementById('productform').style.display = 'none';
361
+ document.getElementById('additem').style.display = 'block';
362
+ return false;
363
+ }
364
+
365
+ function showadd_categorisation_form() {
366
+ if(jQuery('div#add_categorisation').css('display') != 'block') {
367
+ jQuery('div#add_categorisation').css('display', 'block');
368
+ jQuery('div#edit_categorisation').css('display', 'none');
369
+ } else {
370
+ jQuery('div#add_categorisation').css('display', 'none');
371
+ }
372
+ return false;
373
+ }
374
+
375
+
376
+ function showedit_categorisation_form() {
377
+ if(jQuery('div#edit_categorisation').css('display') != 'block') {
378
+ jQuery('div#edit_categorisation').css('display', 'block');
379
+ jQuery('div#add_categorisation').css('display', 'none');
380
+ } else {
381
+ jQuery('div#edit_categorisation').css('display', 'none');
382
+ }
383
+ return false;
384
+ }
385
+
386
+ function fillcategoryform(catid) {
387
+ ajax.post("index.php",getresults,"ajax=true&admin=true&catid="+catid);
388
+ }
389
+
390
+ function fillbrandform(catid) {
391
+ ajax.post("index.php",getresults,"ajax=true&admin=true&brandid="+catid);
392
+ }
393
+
394
+ var gercurrency=function(results) {
395
+ document.getElementById('cslchar1').innerHTML = results;
396
+ document.getElementById('cslchar2').innerHTML = results;
397
+ document.getElementById('cslchar3').innerHTML = results;
398
+ document.getElementById('cslchar4').innerHTML = results;
399
+ }
400
+
401
+
402
+
403
+ function country_list(id) {
404
+ var country_list=function(results) {
405
+ document.getElementById('options_region').innerHTML = results;
406
+ }
407
+ ajax.post("index.php",country_list,"ajax=true&get_country_tax=true&country_id="+id);
408
+ }
409
+
410
+ function hideelement(id) {
411
+ state = document.getElementById(id).style.display;
412
+ //alert(document.getElementById(id).style.display);
413
+ if(state != 'block') {
414
+ document.getElementById(id).style.display = 'block';
415
+ } else {
416
+ document.getElementById(id).style.display = 'none';
417
+ }
418
+ }
419
+
420
+ function update_preview_url(prodid) {
421
+ image_height = document.getElementById("image_height").value;
422
+ image_width = document.getElementById("image_width").value;
423
+ if(((image_height > 0) && (image_height <= 1024)) && ((image_width > 0) && (image_width <= 1024))) {
424
+ new_url = "index.php?productid="+prodid+"&height="+image_height+"&width="+image_width+"";
425
+ document.getElementById("preview_link").setAttribute('href',new_url);
426
+ } else {
427
+ new_url = "index.php?productid="+prodid+"";
428
+ document.getElementById("preview_link").setAttribute('href',new_url);
429
+ }
430
+ return false;
431
+ }
432
+
433
+
434
+ function add_variation_value(value_type) {
435
+ container_id = value_type+"_variation_values";
436
+ //alert(container_id);
437
+ last_element_id = document.getElementById(container_id).lastChild.id;
438
+ // last_element_id = last_element_id.split("_");
439
+ // last_element_id = last_element_id.reverse();
440
+ date = new Date;
441
+ new_element_id = "variation_value_"+date.getTime();
442
+
443
+
444
+ old_elements = document.getElementById(container_id).innerHTML;
445
+ new_element_contents = "";
446
+ if(value_type == "edit") {
447
+ new_element_contents += "<input type='text' class='text' name='new_variation_values[]' value='' />";
448
+ } else {
449
+ new_element_contents += "<input type='text' class='text' name='variation_values[]' value='' />";
450
+ }
451
+ new_element_contents += " <a class='image_link' href='#' onclick='remove_variation_value_field(\""+new_element_id+"\")'><img src='"+WPSC_URL+"/images/trash.gif' alt='"+TXT_WPSC_DELETE+"' title='"+TXT_WPSC_DELETE+"' /></a><br />";
452
+ //new_element_contents += "</span>";
453
+
454
+ new_element = document.createElement('span');
455
+ new_element.id = new_element_id;
456
+
457
+ document.getElementById(container_id).appendChild(new_element);
458
+ document.getElementById(new_element_id).innerHTML = new_element_contents;
459
+ return false;
460
+ }
461
+
462
+ function remove_variation_value(element,variation_value) {
463
+ var delete_variation_value=function(results)
464
+ {
465
+ }
466
+
467
+ element_count = jQuery("div#edit_variation_values span").size();
468
+ if(element_count > 1) {
469
+ ajax.post("index.php",delete_variation_value,"admin=true&ajax=true&remove_variation_value=true&variation_value_id="+variation_value);
470
+ jQuery(element).parent("span.variation_value").remove();
471
+ }
472
+ return false;
473
+ }
474
+
475
+
476
+
477
+
478
+ function checkimageresize() {
479
+ document.getElementById('image_resize2').checked = true;
480
+ }
481
+
482
+
483
+
484
+
485
+
486
+
487
+ function show_status_box(id,image_id) {
488
+ state = document.getElementById(id).style.display;
489
+ if(state != 'block') {
490
+ document.getElementById(id).style.display = 'block';
491
+ document.getElementById(image_id).src = WPSC_URL+'/images/icon_window_collapse.gif';
492
+ } else {
493
+ document.getElementById(id).style.display = 'none';
494
+ document.getElementById(image_id).src = WPSC_URL+'/images/icon_window_expand.gif';
495
+ }
496
+ return false;
497
+ }
498
+
499
+ function submit_status_form(id) {
500
+ document.getElementById(id).submit();
501
+ }
502
+
503
+ // pe.{
504
+ var prevElement = null;
505
+ var prevOption = null;
506
+
507
+ function hideOptionElement(id, option) {
508
+ if (prevOption == option) {
509
+ return;
510
+ }
511
+ if (prevElement != null) {
512
+ prevElement.style.display = "none";
513
+ }
514
+
515
+ if (id == null) {
516
+ prevElement = null;
517
+ } else {
518
+ prevElement = document.getElementById(id);
519
+ jQuery('#'+id).css( 'display','block');
520
+ }
521
+ prevOption = option;
522
+ }
523
+
524
+
525
+ // }.pe
526
+
527
+ function toggle_display_options(state) {
528
+ switch(state) {
529
+ case 'list':
530
+ document.getElementById('grid_view_options').style.display = 'none';
531
+ document.getElementById('list_view_options').style.display = 'block';
532
+ break;
533
+
534
+ case 'grid':
535
+ document.getElementById('list_view_options').style.display = 'none';
536
+ document.getElementById('grid_view_options').style.display = 'block';
537
+ break;
538
+
539
+ default:
540
+ document.getElementById('list_view_options').style.display = 'none';
541
+ document.getElementById('grid_view_options').style.display = 'none';
542
+ break;
543
+ }
544
+ }
545
+
546
+ function log_submitform(id) {
547
+ value1 = document.getElementById(id);
548
+ if (ajax.serialize(value1).search(/value=3/)!=-1) {
549
+ document.getElementById("track_id_"+id).style.display="block";
550
+ } else {
551
+ document.getElementById("track_id_"+id).style.display="none";
552
+ }
553
+ var get_log_results=function(results) {
554
+ eval(results);
555
+ }
556
+ frm = document.getElementById(id);
557
+ ajax.post("index.php?admin=true&ajax=true&log_state=true",get_log_results,ajax.serialize(frm));
558
+ return false;
559
+ }
560
+
561
+ function save_tracking_id(id) {
562
+ value1 = document.getElementById('tracking_id_'+id).value;
563
+ value1 ="id="+id +"&value="+value1;
564
+ ajax.post("index.php?admin=true&ajax=true&save_tracking_id=true",noresults,value1);
565
+ return false;
566
+ }
567
+
568
+ var select_min_height = 75;
569
+ var select_max_height = 50;
570
+ /*
571
+ //ToolTip JavaScript
572
+ jQuery('img').Tooltip(
573
+ {
574
+ className: 'inputsTooltip',
575
+ position: 'mouse',
576
+ delay: 200
577
+ }
578
+ );
579
+ */
580
+ jQuery(window).load( function () {
581
+
582
+
583
+ jQuery('.additem .postbox h3').click( function() {
584
+ jQuery(jQuery(this).parent('div.postbox')).toggleClass('closed');
585
+ if(jQuery(jQuery(this).parent('div.postbox')).hasClass('closed')) {
586
+ jQuery('a.togbox',this).html('+');
587
+ } else {
588
+ jQuery('a.togbox',this).html('&ndash;');
589
+ }
590
+ wpsc_save_postboxes_state('products', '.additem');
591
+ });
592
+
593
+ /* Coupon edit functionality */
594
+ jQuery('.modify_coupon').hide();
595
+ jQuery('.wpsc_edit_coupon').click(function(){
596
+ id = jQuery(this).attr('rel');
597
+ id = 'coupon_box_'+id;
598
+ if(jQuery('#'+id).hasClass('displaynone')){
599
+ jQuery('#'+id).show();
600
+ jQuery('#'+id).removeClass('displaynone');
601
+ }else{
602
+ jQuery('#'+id).addClass('displaynone');
603
+ jQuery('#'+id).hide();
604
+ }
605
+
606
+ });
607
+ jQuery("form[name='add_coupon'] input[name='submit_coupon']").click(function() {
608
+ var title = jQuery("form[name='add_coupon'] input[name='add_coupon_code']").val();
609
+ if ( title == '') {
610
+ alert('Please enter a coupon code.');
611
+ return false;
612
+ }
613
+ });
614
+ jQuery('a.closeEl').bind('click', toggleContent);
615
+ /*
616
+ jQuery('div.groupWrapper').sortable( {
617
+ accept: 'groupItem',
618
+ helperclass: 'sortHelper',
619
+ activeclass : 'sortableactive',
620
+ hoverclass : 'sortablehover',
621
+ handle: 'div.itemHeader',
622
+ tolerance: 'pointer',
623
+ onStart : function() {
624
+ jQuery.iAutoscroller.start(this, document.getElementsByTagName('body'));
625
+ },
626
+ onStop : function() {
627
+ jQuery.iAutoscroller.stop();
628
+ },
629
+ update : function(e,ui) {
630
+ serial = jQuery('div.groupWrapper').sortable('toArray');
631
+ category_id = jQuery("input#item_list_category_id").val();
632
+
633
+ ajax.post("index.php", noresults, "admin=true&ajax=true&changeorder=true&category_id="+category_id+"&sort1="+serial);
634
+ }
635
+ }
636
+ );
637
+ */
638
+
639
+ jQuery('a#close_news_box').click( function () {
640
+ jQuery('div.wpsc_news').css( 'display', 'none' );
641
+ ajax.post("index.php", noresults, "ajax=true&admin=true&hide_ecom_dashboard=true");
642
+ return false;
643
+ });
644
+ });
645
+ var toggleContent = function(e)
646
+ {
647
+ var targetContent = $('div.itemContent', this.parentNode.parentNode);
648
+ if (targetContent.css('display') == 'none') {
649
+ targetContent.slideDown(300);
650
+ $(this).html('[-]');
651
+ } else {
652
+ targetContent.slideUp(300);
653
+ $(this).html('[+]');
654
+ }
655
+ return false;
656
+ };
657
+
658
+
659
+ function hideelement1(id, item_value)
660
+ {
661
+ //alert(value);
662
+ if(item_value == 5) {
663
+ jQuery(document.getElementById(id)).css('display', 'block');
664
+ } else {
665
+ jQuery(document.getElementById(id)).css('display', 'none');
666
+ }
667
+ }
668
+
669
+
670
+ function suspendsubs(user_id)
671
+ {
672
+ var comm =jQuery("#suspend_subs"+user_id).attr("checked");
673
+ //alert(comm);
674
+ if (comm == true){
675
+ ajax.post("index.php",noresults,"admin=true&ajax=true&log_state=true&suspend=true&value=1&id="+user_id);
676
+ } else {
677
+ ajax.post("index.php",noresults,"admin=true&ajax=true&log_state=true&suspend=true&value=2&id="+user_id);
678
+ }
679
+ return false;
680
+ }
681
+
682
+ function delete_extra_preview(preview_name, prodid) {
683
+ var preview_name_results=function(results) {
684
+ filleditform(prodid);
685
+ }
686
+ ajax.post("index.php",preview_name_results,"ajax=true&admin=true&prodid="+prodid+"&preview_name="+preview_name);
687
+ }
688
+
689
+ function shipwire_sync() {
690
+ ajax.post("index.php",noresults,"ajax=true&shipwire_sync=ture");
691
+ }
692
+
693
+ function shipwire_tracking() {
694
+ ajax.post("index.php",noresults,"ajax=true&shipwire_tracking=ture");
695
+ }
696
+
697
+ function display_settings_button() {
698
+ jQuery("#settings_button").slideToggle(200);
699
+ //document.getElementById("settings_button").style.display='block';
700
+ }
701
+
702
+ function submittogoogle(id){
703
+ value1=document.getElementById("google_command_list_"+id).value;
704
+ value2=document.getElementById("partial_amount_"+id).value;
705
+ reason=document.getElementById("cancel_reason_"+id).value;
706
+ comment=document.getElementById("cancel_comment_"+id).value;
707
+ message=document.getElementById("message_to_buyer_message_"+id).value;
708
+ document.getElementById("google_command_indicator").style.display='inline';
709
+ ajax.post("index.php",submittogoogleresults,"ajax=true&submittogoogle=true&message="+message+"&value="+value1+"&amount="+value2+"&comment="+comment+"&reason="+reason+"&id="+id);
710
+ return true;
711
+ }
712
+
713
+ var submittogoogleresults=function (results) {
714
+ window.location.reload(true);
715
+ }
716
+
717
+ function display_partial_box(id){
718
+ value1=document.getElementById("google_command_list_"+id).value;
719
+ if ((value1=='Refund') || (value1=='Charge')){
720
+ document.getElementById("google_partial_radio_"+id).style.display='inline';
721
+ if (value1=='Refund'){
722
+ document.getElementById("google_cancel_"+id).style.display='block';
723
+ document.getElementById("cancel_reason_"+id).style.display='inline';
724
+ document.getElementById("cancel_div_comment_"+id).style.display='none';
725
+ }
726
+ }else if ((value1=='Cancel')||(value1=='Refund')) {
727
+ document.getElementById("google_cancel_"+id).style.display='block';
728
+ document.getElementById("cancel_reason_"+id).style.display='inline';
729
+ }else if (value1=='Send Message') {
730
+ document.getElementById("message_to_buyer_"+id).style.display='block';
731
+ } else {
732
+ document.getElementById("cancel_div_comment_"+id).style.display='none';
733
+ document.getElementById("google_cancel_"+id).style.display='none';
734
+ document.getElementById("cancel_reason_"+id).style.display='none';
735
+ document.getElementById("message_to_buyer_"+id).style.display='none';
736
+ document.getElementById("google_partial_radio_"+id).style.display='none';
737
+ document.getElementById("partial_amount_"+id).style.display='none';
738
+ }
739
+ }
740
+
741
+ function add_more_meta(e) {
742
+ current_meta_forms = jQuery(e).parent().children("div.product_custom_meta:last"); // grab the form container
743
+ new_meta_forms = current_meta_forms.clone(true); // clone the form container
744
+ jQuery("label input", new_meta_forms).val(''); // reset all contained forms to empty
745
+ current_meta_forms.after(new_meta_forms); // append it after the container of the clicked element
746
+ return false;
747
+ }
748
+
749
+ function remove_meta(e, meta_id) {
750
+ current_meta_form = jQuery(e).parent("div.product_custom_meta"); // grab the form container
751
+ //meta_name = jQuery("input#custom_meta_name_"+meta_id, current_meta_form).val();
752
+ //meta_value = jQuery("input#custom_meta_value_"+meta_id, current_meta_form).val();
753
+ returned_value = jQuery.ajax({
754
+ type: "POST",
755
+ url: "admin.php?ajax=true",
756
+ data: "admin=true&remove_meta=true&meta_id="+meta_id+"",
757
+ success: function(results) {
758
+ if(results > 0) {
759
+ jQuery("div#custom_meta_"+meta_id).remove();
760
+ }
761
+ }
762
+ });
763
+ return false;
764
+ }
765
+
766
+
767
+ function wpsc_save_postboxes_state(page, container) {
768
+ var closed = jQuery(container+' .postbox').filter('.closed').map(function() { return this.id; }).get().join(',');
769
+ jQuery.post(postboxL10n.requestFile, {
770
+ action: 'closed-postboxes',
771
+ closed: closed,
772
+ closedpostboxesnonce: jQuery('#closedpostboxesnonce').val(),
773
+ page: page
774
+ });
775
+ }
776
+
777
+ jQuery(document).ready(function(){
778
+
779
+ jQuery('.deleteproducts > button').click(
780
+ function () {
781
+ var ids='0';
782
+ jQuery('.deletecheckbox:checked').each(
783
+ function () {
784
+ ids += ","+jQuery(this).val();
785
+ }
786
+ );
787
+ var r=confirm("Please confirm deletion");
788
+ if (r==true) {
789
+ ajax.post("index.php",reloadresults,"admin=true&ajax=true&del_prod=true&del_prod_id="+ids);
790
+ }
791
+ }
792
+ );
793
+ jQuery('#selectall').click(
794
+ function () {
795
+ if (this.checked) {
796
+ jQuery('.deletecheckbox').each(function(){this.checked = true;});
797
+ } else {
798
+ jQuery('.deletecheckbox').each(function(){this.checked = false;});
799
+ }
800
+ }
801
+ );
802
+
803
+ /* jQuery datepicker selector */
804
+ if (typeof jQuery('.pickdate').datepicker != "undefined") {
805
+ jQuery('.pickdate').datepicker({ dateFormat: 'yy-mm-dd' });
806
+ }
807
+ filesizeLimit = 5120000;
808
+
809
+ // alert('test 1');
810
+ if (typeof SWFUpload != "undefined") {
811
+ var swfu = new SWFUpload({
812
+ flash_url : WPSC_URL+'/js/swfupload.swf',
813
+ upload_url: base_url+'/?action=wpsc_add_image',
814
+ button_placeholder_id : "spanButtonPlaceholder",
815
+ button_width: 103,
816
+ button_height: 24,
817
+ button_window_mode: SWFUpload.WINDOW_MODE.TRANSPARENT,
818
+ button_cursor: SWFUpload.CURSOR.HAND,
819
+ post_params: {"prodid" : 0},
820
+ file_queue_limit : 1,
821
+ file_size_limit : filesizeLimit+'b',
822
+ file_types : "*.jpg;*.jpeg;*.png;*.gif;*.JPG;*.JPEG;*.PNG;*.GIF",
823
+ file_types_description : "Web-compatible Image Files",
824
+ file_upload_limit : filesizeLimit,
825
+ custom_settings : {
826
+ targetHolder : false,
827
+ progressBar : false,
828
+ sorting : false
829
+ },
830
+ debug: false,
831
+
832
+ file_queued_handler : imageFileQueued,
833
+ file_queue_error_handler : imageFileQueueError,
834
+ file_dialog_complete_handler : imageFileDialogComplete,
835
+ upload_start_handler : startImageUpload,
836
+ upload_progress_handler : imageUploadProgress,
837
+ upload_error_handler : imageUploadError,
838
+ upload_success_handler : imageUploadSuccess,
839
+ upload_complete_handler : imageUploadComplete,
840
+ queue_complete_handler : imageQueueComplete
841
+ });
842
+ }
843
+ jQuery("#add-product-image").click(function(){
844
+ swfu.selectFiles();
845
+ });
846
+ });
847
+
848
+ function addlayer(){
849
+ jQuery("tr.addlayer").before("<tr class='rate_row'><td><i style='color:grey'>"+TXT_WPSC_IF_PRICE_IS+"</i><input type='text' name='layer[]' size='10'> <i style='color:grey'>"+TXT_WPSC_AND_ABOVE+"</i></td><td><input type='text' name='shipping[]' size='10'>&nbsp;&nbsp;<a href='#' class='delete_button nosubmit' >"+TXT_WPSC_DELETE+"</a></td></tr>");
850
+ bind_shipping_rate_deletion();
851
+ }
852
+
853
+ function addweightlayer(){
854
+ jQuery("tr.addlayer").before("<tr class='rate_row'><td><i style='color:grey'>"+TXT_WPSC_IF_WEIGHT_IS+"</i><input type='text' name='weight_layer[]' size='10'> <i style='color:grey'>"+TXT_WPSC_AND_ABOVE+"</i></td><td><input type='text' name='weight_shipping[]' size='10'>&nbsp;&nbsp;<a href='#' class='delete_button nosubmit' >"+TXT_WPSC_DELETE+"</a></td></tr>");
855
+ bind_shipping_rate_deletion();
856
+ }
857
+
858
+ function removelayer() {
859
+ this.parent.parent.innerHTML='';
860
+ }
861
+
862
+ /**
863
+ * SWFUpload Image Uploading events
864
+ **/
865
+
866
+ function imageFileQueued (file) {
867
+
868
+ }
869
+
870
+ function imageFileQueueError (file, error, message) {
871
+ if (error == SWFUpload.QUEUE_ERROR.QUEUE_LIMIT_EXCEEDED) {
872
+ alert("You selected too many files to upload at one time. " + (message === 0 ? "You have reached the upload limit." : "You may upload " + (message > 1 ? "up to " + message + " files." : "only one file.")));
873
+ return;
874
+ }
875
+
876
+ }
877
+
878
+ function imageFileDialogComplete (selected, queued) {
879
+ try {
880
+ this.startUpload();
881
+ } catch (ex) {
882
+ this.debug(ex);
883
+ }
884
+ }
885
+
886
+ function startImageUpload (file) {
887
+ // alert('start '+jQuery("div#swfupload_img_indicator").css('display'));
888
+ jQuery("div#swfupload_img_indicator").css('display', 'block');
889
+ var cell = jQuery('<li></li>').appendTo(jQuery('#gallery_list'));
890
+ var sorting = jQuery('<input type="hidden" name="images[]" value="" />').appendTo(cell);
891
+ var progress = jQuery('<div class="progress"></div>').appendTo(cell);
892
+ var bar = jQuery('<div class="bar"></div>').appendTo(progress);
893
+ var art = jQuery('<div class="gloss"></div>').appendTo(progress);
894
+ this.targetHolder = cell;
895
+ this.progressBar = bar;
896
+ this.sorting = sorting;
897
+ return true;
898
+ }
899
+
900
+ function imageUploadProgress (file, loaded, total) {
901
+ var progress = Math.ceil((loaded/total)*76);
902
+ jQuery(this.progressBar).animate({'width':progress+'px'},100);
903
+ }
904
+
905
+ function imageUploadError (file, error, message) {
906
+ console.log(error+": "+message);
907
+ }
908
+
909
+ function imageUploadSuccess (file, results) {
910
+ //Don't delete, initiate id is neccesary.
911
+ var id = null;
912
+ var pid = null;
913
+
914
+ jQuery("span.swfupload_loadingindicator").css('visibility', 'hidden');
915
+ eval(results);
916
+ // jQuery(this).css('border', '1px solid red');
917
+ if(pid >= 1) {
918
+ context = jQuery("div#productform");
919
+ } else {
920
+ context = jQuery("div#additem");
921
+ }
922
+
923
+ if (id == null ) {
924
+ if(replacement_src != null) {
925
+ jQuery("li.first div.previewimage a.thickbox", context).attr('href', replacement_src);
926
+ jQuery("li.first div.previewimage a.thickbox img.previewimage", context).attr('src', replacement_src);
927
+ } else {
928
+ if (jQuery('#gold_present', context).val() != '1') {
929
+ jQuery('#add-product-image', context).remove();
930
+ }
931
+ jQuery(this.sorting).attr({'value':src});
932
+ var img = jQuery('<div class="previewimage" id="'+id+'"><a href="'+WPSC_IMAGE_URL+src+'" rel="product_extra_image_'+id+'" class="thickbox"><img src="'+WPSC_IMAGE_URL+src+'" width="60" height="60" class="previewimage" /></a></div>').appendTo(this.targetHolder).hide();
933
+ set = jQuery("#gallery_list", context).sortable('toArray');
934
+
935
+ jQuery('#gallery_image_0', context).append("<a class='editButton'>Edit <img src='"+WPSC_URL+"/images/pencil.png'/></a>");
936
+ jQuery('#gallery_image_0', context).parent('li').addClass('first');
937
+ jQuery('#gallery_image_0', context).parent('li').attr('id', 0);
938
+ jQuery('#gallery_image_0 img.deleteButton', context).remove();
939
+ enablebuttons();
940
+ }
941
+ } else {
942
+ //jQuery(this.targetHolder).attr({'id':'image-'+src});
943
+ jQuery(this.targetHolder).attr({'id':id});
944
+ div_id = 'gallery_image_'+id;
945
+ jQuery(this.targetHolder).html('');
946
+ var img = jQuery('<div class="previewimage" id="'+div_id+'"><input type="hidden" name="images[]" value="'+src+'"><a href="'+WPSC_IMAGE_URL+src+'" rel="product_extra_image_'+id+'" class="thickbox"><img src="'+WPSC_IMAGE_URL+src+'" width="60" height="60" class="previewimage" /></a></div>').appendTo(this.targetHolder).hide();
947
+
948
+ jQuery('#gallery_image_0', context).append("<a class='editButton'>Edit <img src='"+WPSC_URL+"/images/pencil.png'/></a>");
949
+ jQuery('#gallery_image_0', context).parent('li').addClass('first');
950
+ jQuery('#gallery_image_0', context).parent('li').attr('id', 0);
951
+ jQuery('#gallery_image_0 img.deleteButton', context).remove();
952
+
953
+
954
+ if (jQuery('#gallery_list li', context).size() > 1) {
955
+ jQuery('#gallery_list', context).sortable('refresh');
956
+ } else {
957
+ jQuery('#gallery_list', context).sortable();
958
+ }
959
+ set = jQuery("#gallery_list", context).sortable('toArray');
960
+ order = set.join(',');
961
+ prodid = jQuery('#prodid', context).val();
962
+
963
+ if(prodid == null) {
964
+ prodid = 0;
965
+ }
966
+
967
+ function imageorderresults(results) {
968
+ eval(results);
969
+ jQuery('#gallery_image_'+ser).append(output);
970
+ enablebuttons();
971
+ }
972
+
973
+ ajax.post("index.php",imageorderresults,"admin=true&ajax=true&prodid="+prodid+"&imageorder=true&order="+order+"");
974
+
975
+
976
+ enablebuttons();
977
+
978
+ }
979
+ jQuery(this.progressBar).animate({'width':'76px'},250,function () {
980
+ jQuery(this).parent().fadeOut(500,function() {
981
+ jQuery(this).remove();
982
+ jQuery(img).fadeIn('500');
983
+ jQuery(img).append('<img class="deleteButton" src="'+WPSC_URL+'/images/cross.png" alt="-" style="display: none;"/>');
984
+ enablebuttons()
985
+ //enableDeleteButton(deleteButton);
986
+ });
987
+ });
988
+ }
989
+
990
+ function imageUploadComplete (file) {
991
+
992
+ jQuery("div#swfupload_img_indicator").css('display', 'none');
993
+ if (jQuery('#gallery_list li').size() > 1)
994
+ jQuery('#gallery_list').sortable('refresh');
995
+ else
996
+ jQuery('#gallery_list').sortable();
997
+ }
998
+
999
+ function imageQueueComplete (uploads) {
1000
+
1001
+ }
1002
+
1003
+ function enablebuttons(){
1004
+ jQuery("img.deleteButton").click(
1005
+ function(){
1006
+ var r=confirm("Please confirm deletion");
1007
+ if (r==true) {
1008
+ img_id = jQuery(this).parent().parent('li').attr('id');
1009
+ jQuery(this).parent().parent('li').remove();
1010
+ ajax.post("index.php",noresults,"admin=true&ajax=true&del_img=true&del_img_id="+img_id);
1011
+ }
1012
+ }
1013
+ );
1014
+
1015
+ jQuery("a.delete_primary_image").click(
1016
+ function(){
1017
+ var r=confirm("Please confirm deletion");
1018
+ if (r==true) {
1019
+ img_id = jQuery(this).parents('li.first').attr('id');
1020
+ //ajax.post("index.php",noresults,"ajax=true&del_img=true&del_img_id="+img_id);
1021
+ jQuery(this).parents('li.first').remove();
1022
+
1023
+
1024
+
1025
+ set = jQuery("#gallery_list").sortable('toArray');
1026
+ jQuery('#gallery_image_'+set[0]).children('img.deleteButton').remove();
1027
+ jQuery('#gallery_image_'+set[0]).append("<a class='editButton'>Edit <img src='"+WPSC_URL+"/images/pencil.png'/></a>");
1028
+ jQuery('#gallery_image_'+set[0]).parent('li').addClass('first');
1029
+ jQuery('#gallery_image_'+set[0]).parent('li').attr('id', 0);
1030
+ for(i=1;i<set.length;i++) {
1031
+ jQuery('#gallery_image_'+set[i]).children('a.editButton').remove();
1032
+ jQuery('#gallery_image_'+set[i]).append("<img alt='-' class='deleteButton' src='"+WPSC_URL+"/images/cross.png'/>");
1033
+
1034
+ if(element_id == 0) {
1035
+ jQuery('#gallery_image_'+set[i]).parent('li').attr('id', img_id);
1036
+ }
1037
+ }
1038
+ order = set.join(',');
1039
+ prodid = jQuery('#prodid').val();
1040
+ ajax.post("index.php",imageorderresults,"admin=true&ajax=true&prodid="+prodid+"&imageorder=true&order="+order+"&delete_primary=true");
1041
+
1042
+ jQuery(this).parents('li.first').attr('id', '0');
1043
+ }
1044
+ return false;
1045
+ }
1046
+ );
1047
+
1048
+ jQuery("div.previewimage").hover(
1049
+ function () {
1050
+ jQuery(this).children('img.deleteButton').show();
1051
+ if(jQuery('#image_settings_box').css('display')!='block')
1052
+ jQuery(this).children('a.editButton').show();
1053
+ },
1054
+ function () {
1055
+ jQuery(this).children('img.deleteButton').hide();
1056
+ jQuery(this).children('a.editButton').hide();
1057
+ }
1058
+ );
1059
+
1060
+ jQuery("a.editButton").click(
1061
+ function(){
1062
+ jQuery(this).hide();
1063
+ jQuery('#image_settings_box').show('fast');
1064
+ }
1065
+ );
1066
+
1067
+ function imageorderresults(results) {
1068
+ eval(results);
1069
+ jQuery('#gallery_image_'+ser).append(output);
1070
+ enablebuttons();
1071
+ }
1072
+
1073
+ jQuery("input.limited_stock_checkbox").click( function () {
1074
+ parent_form = jQuery(this).parents('form');
1075
+ if(jQuery(this).attr('checked') == true) {
1076
+ jQuery("div.edit_stock",parent_form).show();
1077
+ jQuery("th.stock, td.stock", parent_form).show();
1078
+ jQuery(".stock_limit_quantity", parent_form).show();
1079
+ } else {
1080
+ jQuery("div.edit_stock", parent_form).hide();
1081
+ jQuery("th.stock, td.stock", parent_form).hide();
1082
+ jQuery(".stock_limit_quantity", parent_form).hide();
1083
+ }
1084
+ });
1085
+ }
1086
+
1087
+ function reloadresults(){
1088
+ window.location = window.location.href;
1089
+ }
1090
+
1091
+ jQuery(document).ready(function(){
1092
+ jQuery(".wpsc-row-actions").parent().parent("tr").mouseover(
1093
+ function() {
1094
+ jQuery(this).children("td").children(".wpsc-row-actions").css("visibility", "visible");
1095
+ }
1096
+ ).mouseout(
1097
+ function() {
1098
+ jQuery(this).children("td").children(".wpsc-row-actions").css("visibility", "hidden");
1099
+ }
1100
+ );
1101
+ /*
1102
+ jQuery(".wpsc-shipping-actions").hide();
1103
+ jQuery("#wpsc_shipping_options").hover(
1104
+ function() {
1105
+ alert('hovering');
1106
+ jQuery(this).children(".wpsc-shipping-actions").css("visibility", "visible");
1107
+ }
1108
+ );
1109
+ *//*
1110
+ .mouseout(
1111
+ function() {
1112
+ jQuery(this).children(".wpsc-shipping-actions").css("visibility", "hidden");
1113
+ }
1114
+ );
1115
+ */
1116
+
1117
+ jQuery("#table_rate_price").click(
1118
+ function() {
1119
+ if (this.checked) {
1120
+ jQuery("#table_rate").slideDown("fast");
1121
+ } else {
1122
+ jQuery("#table_rate").slideUp("fast");
1123
+ }
1124
+ }
1125
+ );
1126
+ jQuery("#add_label").click(
1127
+ function(){
1128
+ jQuery("#labels").append("<br><table><tr><td>"+TXT_WPSC_LABEL+" :</td><td><input type='text' name='productmeta_values[labels][]'></td></tr><tr><td>"+TXT_WPSC_LABEL_DESC+" :</td><td><textarea name='productmeta_values[labels_desc][]'></textarea></td></tr><tr><td>"+TXT_WPSC_LIFE_NUMBER+" :</td><td><input type='text' name='productmeta_values[life_number][]'></td></tr><tr><td>"+TXT_WPSC_ITEM_NUMBER+" :</td><td><input type='text' name='productmeta_values[item_number][]'></td></tr><tr><td>"+TXT_WPSC_PRODUCT_CODE+" :</td><td><input type='text' name='productmeta_values[product_code][]'></td></tr><tr><td>"+TXT_WPSC_PDF+" :</td><td><input type='file' name='productmeta_values[product_pdf][]'></td></tr></table>");
1129
+ }
1130
+ );
1131
+ jQuery(".add_level").click(
1132
+ function() {
1133
+ added = jQuery(this).parent().children('table').append('<tr><td><input type="text" size="10" value="" name="productmeta_values[table_rate_price][quantity][]"/> and above</td><td><input type="text" size="10" value="" name="productmeta_values[table_rate_price][table_price][]"/></td></tr>');
1134
+ }
1135
+ );
1136
+
1137
+ jQuery(".file_delete_button").click(
1138
+ function() {
1139
+ jQuery(this).parent().remove();
1140
+ file_hash = jQuery(this).siblings("input").val();
1141
+ ajax.post("index.php",noresults,"admin=true&ajax=true&del_file=true&del_file_hash="+file_hash);
1142
+ }
1143
+ );
1144
+
1145
+ jQuery("table#itemlist .pricedisplay").each(
1146
+ function () {
1147
+ jQuery(this).attr("id",jQuery(this).parent().attr('id'));
1148
+ }
1149
+ );
1150
+
1151
+
1152
+ // jQuery("table#itemlist .pricedisplay").editable(base_url+"/wp-admin/admin.php?inline_price=true", {
1153
+ // indicator : "Saving...",
1154
+ // tooltip : 'Click to edit...'
1155
+ // });
1156
+ /*
1157
+ jQuery('.meta-box-sortables').sortable( {
1158
+ placeholder: 'sortable-placeholder',
1159
+ connectWith: [ '.meta-box-sortables' ],
1160
+ items: '> .postbox',
1161
+ handle: '.hndle',
1162
+ distance: 2,
1163
+ tolerance: 'pointer',
1164
+ sort: function(e,ui) {
1165
+ if ( jQuery(document).width() - e.clientX < 300 ) {
1166
+ if ( ! jQuery('#post-body').hasClass('has-sidebar') ) {
1167
+ var pos = jQuery('#side-sortables').offset();
1168
+
1169
+ jQuery('#side-sortables').append(ui.item)
1170
+ jQuery(ui.placeholder).css({'top':pos.top,'left':pos.left}).width(jQuery(ui.item).width())
1171
+ postboxes.expandSidebar(1);
1172
+ }
1173
+ }
1174
+ },
1175
+ stop: function() {
1176
+ var postVars = {
1177
+ action: 'product-page-order',
1178
+ ajax: 'true'
1179
+ }
1180
+ jQuery(this).each( function() {
1181
+ postVars["order[" + this.id.split('-')[0] + "]"] = jQuery(this).sortable( 'toArray' ).join(',');
1182
+ } );
1183
+ jQuery.post( 'index.php?admin=true&ajax=true', postVars, function() {
1184
+ postboxes.expandSidebar();
1185
+ } );
1186
+ }
1187
+ } );
1188
+ var boxes = new Array;
1189
+ if (hidden_boxes) {
1190
+ hidden_boxes = hidden_boxes.split(',');
1191
+ for (i=0;i<hidden_boxes.length;i++) {
1192
+ jQuery('#'+hidden_boxes[i]+'-hide').removeAttr('checked');
1193
+ }
1194
+ }
1195
+ boxes = ["price_and_stock", "shipping", "variation", "advanced", "product_image", "product_download"];
1196
+
1197
+ for (i=0;i<boxes.length;i++) {
1198
+ if ( ! jQuery('#'+boxes[i]+'-hide').attr('checked')){
1199
+ if (IS_WP27) {
1200
+ jQuery('#'+boxes[i]).hide();
1201
+ }
1202
+ }
1203
+ }
1204
+ */
1205
+ jQuery("#submit_category_select").click(
1206
+ function() {
1207
+ new_url = jQuery("#category_select").children("option:selected").val();
1208
+ window.location = new_url;
1209
+ }
1210
+ );
1211
+ });
1212
+
1213
+
1214
+
1215
+ function wpsc_upload_switcher(target_state) {
1216
+ switch(target_state) {
1217
+ case 'flash':
1218
+ jQuery("table.browser-image-uploader").css("display","none");
1219
+ jQuery("table.flash-image-uploader").css("display","block");
1220
+ ajax.post("index.php",noresults,"admin=true&ajax=true&save_image_upload_state=true&image_upload_state=1");
1221
+ break;
1222
+
1223
+ case 'browser':
1224
+ jQuery("table.flash-image-uploader").css("display","none");
1225
+ jQuery("table.browser-image-uploader").css("display","block");
1226
+ ajax.post("index.php",noresults,"admin=true&ajax=true&save_image_upload_state=true&image_upload_state=0");
1227
+ break;
1228
+ }
1229
+ }
1230
+
1231
+
1232
+
1233
+ function open_variation_settings(element_id) {
1234
+ jQuery("tr#"+element_id+" td div.variation_settings").toggle();
1235
+ return false;
1236
+ }
admin_2.7.css ADDED
@@ -0,0 +1,2040 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ a {
2
+ text-decoration:none;
3
+ outline: none;
4
+ }
5
+ table.productdisplay tr td{ vertical-align: top; }
6
+
7
+ table.logdisplay{ width: 100%; padding-left: 5px; }
8
+
9
+ table.logdisplay tr.toprow td{ text-align: center; font-weight:bold; }
10
+
11
+ table.logdisplay tr.toprow2 td{ text-align: left; font-weight:bold; }
12
+
13
+ table.logdisplay tr td{ /* padding-left: 5px; */ padding-top: 2px; padding-bottom: 2px; font-size: 12px;}
14
+
15
+ table.logdisplay tr.alt{ background-color: #eeeeee; }
16
+
17
+ table.logdisplay tr.alt td{ background-color: #eeeeee;}
18
+
19
+ ul.installation { list-style-type: decimal; }
20
+
21
+ td.processed{ text-align: left; min-width: 140px; width: 140px; white-space: nowrap; }
22
+ td.processed a{ border-bottom: none; }
23
+ td.processed a img{ margin-left: 5px; }
24
+ /* td.processed a span{ border-bottom: 1px solid #69c; } */
25
+
26
+ td.processed a.yes{ color: green; }
27
+
28
+ td.processed a.no{ color: red; }
29
+
30
+ table.wpsc_options tr.merged th, table.wpsc_options tr.merged td { border: none; padding: 5px 10px 5px 10px; }
31
+
32
+ table.wpsc_options tr th{ width: 30%; }
33
+
34
+ table.wpsc_options tr td{ vertical-align: top; }
35
+
36
+ table.wpsc_options tr td input.text, table.wpsc_options tr td textarea{ width: 300px; }
37
+
38
+ table.wpsc_options tr td textarea{ height: 120px; }
39
+
40
+
41
+ div.wpsc_products_nav {
42
+ margin-bottom: 1px;
43
+ margin-top: 20px;
44
+ color: #666666;
45
+ padding-top: 5px;
46
+ padding-bottom: 5px;
47
+ border-left: 1px solid #EAF3FA;
48
+ font-size: 12px;
49
+ }
50
+
51
+ div.wpsc_products_nav27 {
52
+ margin-bottom: 1px;
53
+ padding-top: 5px;
54
+ padding-bottom: 5px;
55
+ /* background-color: white; */
56
+ }
57
+
58
+ div.wpsc_products_nav div {
59
+ margin-top: 5px;
60
+ }
61
+
62
+ div.wpsc_products_nav div.alignright {
63
+ width: 300px;
64
+ margin-right: -18px;
65
+ _margin-right: 0px;
66
+ }
67
+
68
+ div.wpsc_groups_nav div.alignright {
69
+ width: 300px;
70
+ font-size: 12px;
71
+ padding-top: 5px;
72
+ }
73
+
74
+ div.wpsc_groups_nav {
75
+ margin-bottom: 1px;
76
+ margin-top: 20px;
77
+ font-size: 12px;
78
+ }
79
+
80
+
81
+ div.wpsc_admin_nav{
82
+ margin-bottom: 1px;
83
+ margin-top: 20px;
84
+ color: #666666;
85
+ padding-top: 5px;
86
+ padding-bottom: 5px;
87
+ font-size: 12px;
88
+ }
89
+
90
+ div.wpsc_admin_nav div{
91
+ padding-top: 5px;
92
+ }
93
+
94
+ div.wpsc_admin_nav div.alignleft a {
95
+ display: block;
96
+ float: left;
97
+ }
98
+
99
+ div.wpsc_admin_nav div.alignleft span#loadingindicator_span {
100
+ margin-left: 8px;
101
+ float: left;
102
+ }
103
+
104
+
105
+
106
+
107
+
108
+ table#productpage{
109
+ width: 100%;
110
+ clear: both;
111
+ border-collapse: collapse;
112
+ }
113
+
114
+ table#productpage tr td{
115
+ vertical-align: top;
116
+ /* padding: 0px 0px 0px 6px; */
117
+ }
118
+
119
+ table#productpage tr td.secondcol{
120
+ /* width: 60%; */
121
+ /* margin-left: 20px; */
122
+ padding: 0px 2px 0px 16px;
123
+
124
+ }
125
+
126
+ table#itemlist{
127
+ min-width: 280px;
128
+ width: 100%;
129
+ border-collapse:collapse;
130
+ /* border:1px solid #bbb; */
131
+ border-top:none;
132
+ }
133
+
134
+
135
+ /* table#itemlist tr{border-left:1px solid #bbb;border-right:1px solid #bbb;} */
136
+ table#itemlist tr td{text-align: left; padding:10px 5px 8px 5px; }
137
+
138
+ /*
139
+ table#itemlist tr.products{border-left:1px solid #bbb;border-right:1px solid #bbb;}
140
+ table#itemlist tr.productsalt{background-color:#f3f3f3;border-left:1px solid #bbb;border-right:1px solid #bbb;}
141
+ */
142
+ table#itemlist tr.products td{text-align: left;padding-top:8px; vertical-align: top ; border-top:1px solid #bbb;border-bottom:1px solid #bbb;}
143
+ table#itemlist tr.productsalt td{text-align: left;padding-top:8px; vertical-align: top ; border-top:1px solid #bbb;border-bottom:1px solid #bbb;}
144
+
145
+ table#itemlist tr td.imagecol{ padding: 4px;}
146
+
147
+ table#itemlist tr td.colspan{ text-align: left; padding: 0px; }
148
+
149
+ table#itemlist tr.firstrow td{ font-weight: bold; padding-left: 5px; padding-right: 5px; }
150
+
151
+
152
+
153
+ table tr.firstrowth{background-color:#575757; border-left:1px solid #575757;border-right:1px solid #575757;border-top: none ;}
154
+
155
+ table#itemlist tr.firstrowth td{
156
+ padding:4px 5px 6px;
157
+ }
158
+ table tr.firstrowth strong.form_group {
159
+ display:block;
160
+ font-size:11px;
161
+ margin-top:5px;
162
+ }
163
+
164
+ table tr.selectcategory{background-color:#E4F2FD;border-left:1px solid #bbb;border-right:1px solid #bbb;}
165
+
166
+ table tr.selectcategory td{ padding: 3px 3px 3px 13px !important;}
167
+
168
+ div.tablenav-pages {
169
+ margin: 4px;
170
+ _margin: 2px;
171
+ text-align:right;
172
+ }
173
+
174
+ table.itemlist{ margin: 0px; }
175
+
176
+ div.subcategory{ list-style-type: none; vertical-align: top; margin: 0px; padding: 0px; }
177
+
178
+ div.subcategory img.category_indenter{ float: left; margin-top: 10px; }
179
+ /* table.additem{ width: 100%; margin-top: 15px;} */
180
+
181
+
182
+ table.itemlist tr td{ text-align: center; padding-left: 3px; padding-right: 3px; }
183
+
184
+ table.edititem{ width: 100%;}
185
+ span.small{ font-size: 8pt; }
186
+ span.small a{ text-decoration: underline; }
187
+
188
+ span.small_italic{
189
+ font-size:9px;
190
+ font-style:italic;
191
+ color:#888;
192
+ }
193
+
194
+ table.producttext{width:497px;border-collapse:collapse;border-left:1px solid #bbb;border-right:1px solid #bbb;}
195
+ table tr.firstrowth td{ vertical-align: top; padding:10px 5px 8px;}
196
+
197
+ div#productform{ display: none; width: 99.5%; }
198
+
199
+ div#edititem27{ display: none; width: 586px; }
200
+
201
+ div#productform table tr td{ height: 11px !important; }
202
+
203
+ div#additem{ display: block;}
204
+
205
+ /* div#additem table tr td{ height: 11px; } */
206
+
207
+ div#productform td.itemfirstcol{ padding-left:4px; vertical-align: top; }
208
+
209
+
210
+
211
+
212
+ div#productform input.text, div#additem input.text{width:286px;border:1px solid #bbb;}
213
+
214
+ div#edit_variation_values input.text{width:286px !important;border:1px solid #bbb;}
215
+
216
+ input.image_resize{ position: relative; top: 4px; }
217
+
218
+ div#additem table.additem input.wpsc_tag{
219
+ width:180px;
220
+ }
221
+ div#additem label{
222
+ font-style: normal;
223
+ font-size: 0.95em;
224
+ }
225
+
226
+ #loadingindicator_span{ visibility: hidden; }
227
+
228
+ strong.form_group{ font-size: 11pt; color: #dfdfdf; }
229
+
230
+ strong.form_group span{ font-size: 8pt; }
231
+
232
+ span.image_size_text{ font-size: 8pt; }
233
+
234
+ img.previewimage{ width: 60px; height: 60px; margin-right:4px;cursor:move;}
235
+
236
+ div#preview_button{ width: 100%; text-align: center; }
237
+
238
+ a#preview_button{ font-size: 8pt; }
239
+
240
+ a.lightbox_links{ border-bottom: none; }
241
+
242
+ td#product_log_data{ width: 70%; vertical-align: top; }
243
+
244
+ td#order_summary_container{ padding-left: 10px; padding-top: 0em; vertical-align: top; }
245
+
246
+ td#order_summary_container strong.order_summary{ display: block; margin-top: 4px; margin-bottom: 3px; }
247
+
248
+ td#order_summary_container div.order_summary{ background-color: #eaf2f5; border: 1px solid #d7e4ec; padding-top: 15px; padding-left: 15px; padding-right: 15px; }
249
+
250
+ td#order_summary_container div.wpsc_news{
251
+ background-color: #eaf2f5;
252
+ border: 1px solid #d7e4ec;
253
+ padding-top: 5px;
254
+ padding-left: 15px;
255
+ padding-right: 15px;
256
+ margin-bottom: 10px;
257
+ position: relative;
258
+ }
259
+
260
+ td#order_summary_container div.wpsc_news strong{
261
+ margin-top: 0px;
262
+ }
263
+
264
+ ul.ecom_dashboard {
265
+ padding-left: 1em;
266
+ margin-top: 5px;
267
+ }
268
+
269
+ ul.ecom_dashboard li{
270
+ padding: 0px;
271
+ margin: 0px;
272
+ font-size: 8pt;
273
+ /* list-style-type: none; */
274
+ }
275
+
276
+ a#close_news_box{
277
+ position: absolute;
278
+ top: 2px;
279
+ right: 4px;
280
+ display: block;
281
+ text-decoration: none;
282
+ border: none;
283
+ }
284
+
285
+ div.order_summary_subsection{ margin-bottom: 1em; }
286
+
287
+ div.order_summary_subsection strong{ display: block; border-bottom: 1px solid #d0dee7; width: 100%; font-size: 8pt; }
288
+
289
+ div.order_summary_subsection p{ font-size: 8pt; display: block; margin-top: 3px; }
290
+
291
+
292
+ td#order_summary_container div.gold-cart_pesterer{ background-color: #eaf2f5; border: 1px solid #d7e4ec; padding: 15px; margin-top: 15px; }
293
+
294
+ td#order_summary_container div.gold-cart_pesterer div{ font-size: 8pt; color: #666666; } /*
295
+ td#order_summary_container div.gold-cart_pesterer div a{ color: #666666; border-bottom: 1px solid #666666; }
296
+ td#order_summary_container div.gold-cart_pesterer div a:hover { color: #666666; border-bottom: 1px solid #666666; }*/
297
+ td#order_summary_container div.gold-cart_pesterer div img{ float: left; margin-right: 12px; }
298
+
299
+
300
+ a.image_link{ border-bottom: none !important; }
301
+
302
+ a.image_link img{ border-bottom: none !important; }
303
+
304
+
305
+ a.add_item_link{
306
+ display: block;
307
+ border-bottom: none !important;
308
+ float:left;
309
+ margin-right:10px;
310
+ }
311
+
312
+ a.add_item_link span{ text-decoration: underline; }
313
+
314
+ a.add_item_link img{ margin-bottom: -3px; }
315
+
316
+
317
+
318
+ a.about_this_page{ display: block; border-bottom: none !important; float: right; }
319
+
320
+ a.about_this_page span{ text-decoration: underline; }
321
+
322
+ a.about_this_page img{ margin-bottom: -3px; }
323
+
324
+
325
+
326
+ table#form_field_table tr td, table#form_field_table tr th{ border: 1px solid white; }
327
+
328
+ table#form_field_table tr th{ margin: 0px; padding:0px; }
329
+
330
+ table#form_field_table tr td.namecol{ }
331
+
332
+ table#form_field_table tr *.namecol{ width: 170px; padding-right: 8px; }
333
+ table#form_field_table tr *.namecol input{ width: 160px; }
334
+
335
+ table#form_field_table tr *.typecol{ width: 120px; }
336
+ table#form_field_table tr *.typecol select{ width: 115px; }
337
+
338
+ table#form_field_table tr *.mandatorycol{ width: 90px; text-align: center; }
339
+ table#form_field_table tr *.mandatorycol input{ }
340
+
341
+ table#form_field_table tr *.logdisplaycol{ width: 70px; text-align: center; }
342
+ table#form_field_table tr *.logdisplaycol input{ }
343
+
344
+ table#form_field_table tr *.ordercol{ width: 70px; text-align: center; }
345
+ table#form_field_table tr *.ordercol input{ }
346
+
347
+ table#form_field_table tr th{ padding-left: 0px; padding-right: 0px;
348
+ }
349
+
350
+
351
+ div#form_field_form_container{ padding: 0px; margin: 0px; }
352
+
353
+ div#form_field_form_container div, div#form_field_form_container div table{ padding: 0px; margin: 0px; width: 100%; border-collapse: collapse; }
354
+
355
+ img.log_expander_icon { margin-right: 3px; }
356
+
357
+ /* td { border: 1px solid red; } */
358
+
359
+ div#form_field_form_container div table tr td{ padding: 0px; margin: 0px; }
360
+
361
+ div.order_status{ display: none;}
362
+
363
+ div.order_status div{ width: 100%; padding:1ex 0px 1ex 1em; display: block !important;}
364
+
365
+ div.order_status ul{ list-style-type: none; margin: 1ex 0px 0px 0px; padding: 0px; }
366
+
367
+ div.order_status ul li{ padding-left: 0px; }
368
+
369
+ div.order_status ul li input{ margin: 0px 2px -2px 0px; }
370
+
371
+ img.log_expander_icon { margin-right: 3px; }
372
+
373
+ /* td { border: 1px solid red; } */
374
+
375
+ td.authorize_info_box { vertical-align: top; text-align: left; }
376
+
377
+ div.authorize_info_box { background: #f0f8ff; vertical-align: middle; text-align: center; width: 284px; height: 117px; }
378
+ div.authorize_info_box table { display: block; height: 117px; margin: auto auto auto auto; width: 205px; }
379
+ div.authorize_info_box table tr td { text-align: left; height: 117px; vertical-align: middle; color: #999999; font-size: 8pt; }
380
+
381
+ hr.image_seperator { border-top: 1px solid #cccccc; border-bottom: none; border-left: none; border-right: none;}
382
+
383
+ table.add_extra_images { width: 100%; }
384
+
385
+ div#list_view_quantity_container{
386
+ }
387
+
388
+ a.product_log_rss {
389
+ border-bottom: none;
390
+ }
391
+
392
+ a.product_log_rss span{
393
+ border-bottom: 1px solid #6699cc;
394
+ }
395
+
396
+ a.noline{
397
+ text-decoration:none;
398
+ border:0px;
399
+ }
400
+
401
+ a.admin_download {
402
+ display: block;
403
+ height: 26px;
404
+ border-bottom: none;
405
+ }
406
+
407
+ a.admin_download img{
408
+ margin-right: 3px;
409
+ }
410
+
411
+ a.admin_download span{
412
+ border-bottom: 1px solid #6699cc;
413
+ }
414
+
415
+ h3.log_headers{
416
+ color: #71a4c8;
417
+ margin-bottom: 0px;
418
+ margin-top: 0px;
419
+ }
420
+
421
+ input.edit_button {
422
+ float: left;
423
+ }
424
+
425
+
426
+
427
+ a.delete_button {
428
+ border: none;
429
+ border-bottom-style:solid;
430
+ border-bottom-width:1px;
431
+ border-bottom-color:#FF0000;
432
+ color:#FF0000;
433
+ padding:1px 2px;
434
+ text-decoration:none;
435
+ font-size: 11px;
436
+ }
437
+
438
+ a.delete_button:hover {
439
+ background-color:#FF0000;
440
+ border-bottom-color:#FF0000;
441
+ color:#FFFFFF;
442
+ }
443
+
444
+ div.flag_email{
445
+ position: relative;
446
+ left: 60px;
447
+ }
448
+
449
+ td.positioning_buttons a{
450
+ border-bottom: none;
451
+ margin-left: 3px;
452
+ }
453
+
454
+ input.tax_forms{
455
+ text-align: right;
456
+ width: 2.75em;
457
+ }
458
+
459
+ a.add_image_upload_forms div{/*
460
+ height: 8pt;
461
+ width: 1ex;
462
+ background-color: #cccccc !important;
463
+ float: left;*/
464
+ display: none;
465
+ }
466
+
467
+ label.order_filters{ font-size: 8pt; }
468
+ input.order_filters{ margin-bottom: -2px; }
469
+
470
+ a.thickbox{
471
+ border: none;
472
+ }
473
+ a.thickbox img{
474
+ border: none;
475
+ }
476
+
477
+ .entry p { margin: 0 0 1em 0; }
478
+
479
+
480
+ div.select_product_file, div.edit_select_product_file{
481
+ width: 300px;
482
+ margin-top: 3px;
483
+ padding: 2px;
484
+ border: 1px solid #B2B2B2;
485
+ background-color: #eeeeee;
486
+ overflow: auto;
487
+ overflow-x: hidden;
488
+ position: relative;
489
+ padding-bottom: 6px;
490
+ margin-bottom: 0px;
491
+ }
492
+
493
+ div.select_product_file p, div.edit_select_product_file p{
494
+ margin: 0px;
495
+ width: 96%;
496
+ _width: 90%;
497
+ padding: 4px;
498
+ }
499
+
500
+ div.select_product_file p input, div.edit_select_product_file p input{
501
+ margin: 0px 4px -3px 0px;
502
+ }
503
+
504
+ div.select_product_file p.alt, div.edit_select_product_file p.alt{
505
+ background-color: #ffffff;
506
+ }
507
+
508
+ div.select_product_handle, div.edit_select_product_handle{
509
+ position: relative;
510
+ height: 6px;
511
+ width: 306px;
512
+ background-color: #b2b2b2;
513
+ font-size: 1px;
514
+ margin: 0px;
515
+ }
516
+
517
+ div.select_product_handle div, div.edit_select_product_handle div{
518
+ position: relative;
519
+ top: 1px;
520
+ _top: 0px;
521
+ height: 1px;
522
+ border-bottom: 1px dotted #ffffff;
523
+ width: 13px;
524
+ _width: 14px;
525
+ margin: 0px auto 0px auto;
526
+ }
527
+
528
+ span.admin_product_notes{
529
+ font-size: 9pt;
530
+ color: #666666;
531
+ }
532
+
533
+ span.select_product_note{
534
+ display: block;
535
+ margin-top: 10px;
536
+ }
537
+
538
+ table.product_variation_listing{
539
+ margin-bottom: 12px;
540
+ }
541
+
542
+ table.product_variation_listing th.variation_name{
543
+ color: #71A4C8;
544
+ font-style: italic;
545
+ text-align: left;
546
+ padding-bottom: 1px;
547
+ }
548
+
549
+ table.product_variation_grid {
550
+ border-collapse: collapse;
551
+ margin-top: 0px;
552
+ }
553
+
554
+ table.product_variation_grid tr td, table.product_variation_grid tr th {
555
+ border: 1px solid #cccccc;
556
+ border-collapse: collapse;
557
+ text-align: left;
558
+ }
559
+
560
+ table.product_variation_grid tr.variation_row td {
561
+ border-bottom: none;
562
+ }
563
+
564
+ table.product_variation_grid tr.settings_row td {
565
+ border-top: none;
566
+ padding: 0px !important;
567
+ }
568
+
569
+
570
+ table.product_variation_grid tr.settings_row td div.variation_settings {
571
+ display: none;
572
+ border-top: 1px dotted #cccccc;
573
+ width: 100%;
574
+ min-height: 30px;
575
+ padding: 4px 0px;
576
+ }
577
+
578
+ div.variation_settings div.variation_weight, div.variation_settings div.variation_settings_contents {
579
+ padding: 0px 10px;
580
+ }
581
+
582
+ table.product_variation_grid tr td div.variation_weight input, table.product_variation_grid tr td div.variation_weight select {
583
+ margin: 0px 3px 0px 3px;
584
+ display: inline;
585
+ }
586
+
587
+
588
+ table.product_variation_grid tr th {
589
+ border-bottom: 1px solid #969696;
590
+ }
591
+
592
+ table.product_variation_grid tr th.stock {
593
+ border-bottom: 1px solid #969696;
594
+ width: 50px;
595
+ }
596
+
597
+ table.product_variation_grid tr th.price {
598
+ width: 78px;
599
+ }
600
+
601
+ table.product_variation_grid tr td.variations, table.product_variation_grid tr th {
602
+ padding: 4px 0px 4px 10px;
603
+ }
604
+
605
+ table.product_variation_grid tr td.variations, table.product_variation_grid tr th.variations {
606
+ width: 300px;
607
+ }
608
+
609
+
610
+ table.product_variation_grid tr td input{
611
+ padding: 2px 3px 2px 3px;
612
+ margin: 3px auto;
613
+ display: block;
614
+ }
615
+
616
+ table.product_variation_grid tr td input.checkbox{
617
+ display: block;
618
+ margin:6px auto;
619
+ }
620
+
621
+ table.product_variation_grid tr.group_boundary td {
622
+ border-bottom: 1px solid #969696;
623
+ }
624
+
625
+ table.product_variation_grid tr td div.select_variation_file input{
626
+ /* padding: 0px 3px 0px 3px; */
627
+ /* margin: 3px auto; */
628
+ display: inline;
629
+ }
630
+ div#add_product_variation_details {
631
+ margin: 1ex 0px 0px 0px;
632
+ }
633
+
634
+ div#add_product_variation_details table.product_variation_grid {
635
+ margin: 4px 0px 0px 0px;
636
+ }
637
+
638
+ a.variation_edit_button {
639
+ width: 100%;
640
+ display: block;
641
+ }
642
+
643
+ a.variation_edit_button img{
644
+ margin: 4px auto;
645
+ display:block;
646
+ }
647
+
648
+
649
+ div.wpsc_listen_button{
650
+ clear: both;
651
+ display: block;
652
+ height: 26px;
653
+ padding: 0px;
654
+ }
655
+
656
+ /* marketing / coupon page styling */
657
+
658
+ div.modify_coupon{ border: 1px solid #eeeeee; display: none; width: 100%; }
659
+
660
+ table.coupon_data{
661
+ width: 100%;
662
+ }
663
+
664
+ table.add-coupon tr th{ text-align: left; padding: 2px 5px 0px 5px; }
665
+ table.add-coupon tr td{ text-align: left; padding: 2px 5px 2px 5px; }
666
+
667
+
668
+ table.coupon-list{ width: 100%; }
669
+
670
+ table.coupon-list tr.toprow td{ text-align: left; font-weight:bold; }
671
+
672
+ table.coupon-list tr td{ padding: 2px 5px 2px 5px; }
673
+
674
+ table.coupon-list tr.alt{ background-color: #eeeeee; }
675
+
676
+ table.coupon-list tr.alt td{ background-color: #eeeeee; }
677
+
678
+ td#order_summary_container{ width: 80px; }
679
+
680
+ /* written by allen */
681
+ .groupWrapper{
682
+ width: 260px;
683
+ float: left;
684
+ margin-right: 1%;
685
+ min-height: 100px;
686
+ }
687
+
688
+ .serializer{
689
+ clear: both;
690
+ }
691
+
692
+
693
+ table#itemlist tr td.category_item_container {
694
+ padding:0px 0px 0px 0px;
695
+ border-left:1px solid #bbb;
696
+ border-bottom:1px solid #bbb;
697
+ border-right:1px solid #bbb;
698
+ }
699
+
700
+ .groupItem{
701
+ border-top:1px solid #bbb;
702
+ width:385px;
703
+ height:35px;
704
+ clear: both;
705
+ /* margin-left:-6px; */
706
+ padding: 0px 0px 4px 0px;
707
+ }
708
+
709
+ .groupItem .itemHeader{
710
+ width:65px;
711
+ line-height: 15px;
712
+ color: #000;
713
+ padding: 4px;
714
+ cursor: move;
715
+ height: 35px;
716
+ position: relative;
717
+ clear: both;
718
+ }
719
+
720
+ .groupItem .itemHeader a{
721
+ margin: 4px 0px 4px 0px;
722
+ font-weight: normal;
723
+ font-size: 11px;
724
+ text-decoration: none;
725
+ }
726
+ .sortHelper{
727
+ border: 3px dashed #666;
728
+ width: auto;
729
+ }
730
+ .groupWrapper p{
731
+ height: 1px;
732
+ overflow: hidden;
733
+ margin: 0;
734
+ padding: 0;
735
+ }
736
+
737
+ .inputsTooltip{
738
+ border: 1px solid #000;
739
+ background-color: #444;
740
+ padding: 4px;
741
+ color: #ccc;
742
+ font-family: Arial, Helvetica, sans-serif;
743
+ font-size: 11px;
744
+ width: 150px;
745
+ }
746
+ .inputsTooltip #tooltipTitle{
747
+ font-weight: bold;
748
+ }
749
+
750
+ #description{
751
+ width: 300px;
752
+ height: 150px;
753
+ cursor: ns-resize;
754
+ cursor: n-resize;
755
+
756
+ }
757
+
758
+ #description textarea{
759
+ width: 300px;
760
+ height: 150px;
761
+ }
762
+ #resizeS{
763
+ border:0px;
764
+ top:-4px;
765
+ margin-left:1px;
766
+ margin-top:-2px;
767
+ width: 308px;
768
+ height: 6px;
769
+ background-color: #ccc;
770
+ bottom: 0;
771
+ left: 1px;
772
+ background-image:url(i/resizable-s.gif);
773
+ background-repeat:no-repeat;
774
+ background-position: center;
775
+ overflow: hidden;
776
+ }
777
+
778
+ #description1{
779
+ width: 300px;
780
+ height: 150px;
781
+ cursor: ns-resize;
782
+ cursor: n-resize;
783
+
784
+ }
785
+
786
+ #description1 textarea{
787
+ width: 300px;
788
+ height: 150px;
789
+ }
790
+
791
+ #resizeS1{
792
+ border:0px;
793
+ top:-4px;
794
+ margin-left:1px;
795
+ margin-top:-2px;
796
+ width: 308px;
797
+ height: 6px;
798
+ background-color: #ccc;
799
+ bottom: 0;
800
+ left: 1px;
801
+ background-image:url(i/resizable-s.gif);
802
+ background-repeat:no-repeat;
803
+ background-position: center;
804
+ overflow: hidden;
805
+ }
806
+
807
+ .mce_plugin_cforms_img{
808
+ background:url(../images/cformsmce.gif) no-repeat 5px center;
809
+ border:0;
810
+ border-top: 1px dotted #cccccc;
811
+ border-bottom: 1px dotted #cccccc;
812
+ width:100%;
813
+ padding:0.3em 0 0.3em 120px;
814
+ }
815
+ div.panel_wrapper{
816
+ display:block;
817
+ height:22px;
818
+ overflow:visible;
819
+ width:100%;
820
+ padding:0;
821
+ background:white url(../images/cfii.gif) no-repeat right 1px;
822
+ }
823
+ div.panel_wrapper div.current{
824
+ display:block;
825
+ height:22px;
826
+ overflow:visible;
827
+ width:100%;
828
+ padding:15px 0 0 10px;
829
+ }
830
+ div.panel_wrapper div.current table {
831
+ font-size:13px;
832
+ }
833
+ td.cflabel{
834
+ font-size:12px;
835
+
836
+ }
837
+ td.cfinput{
838
+ padding-left:10px;
839
+ }
840
+ td.cfinput select {
841
+ font-size:12px;
842
+ width:210px;
843
+ }
844
+ div.mceActionPanel{
845
+ }
846
+ #cancel,
847
+ #insert{
848
+ width:120px!important;
849
+ }
850
+
851
+ td#order_summary_container div.menu {
852
+ background-color:#EAF2F5;
853
+ border:1px solid #D7E4EC;
854
+ padding-left:15px;
855
+ padding-right:15px;
856
+ padding-top:15px;
857
+ }
858
+
859
+
860
+ div#changenotice {
861
+ background: #e5f3ff;
862
+ display: none;
863
+ padding: 5px;
864
+ margin-left: 0px !important;
865
+ }
866
+
867
+
868
+ div.pli_img{
869
+ cursor:move;
870
+ left:0px;
871
+ width:35px;
872
+ top:0px;
873
+ float:left;
874
+ }
875
+
876
+ td.pli_name{
877
+ width:90px;
878
+ padding-left: 0px !important;
879
+ }
880
+
881
+ div.pli_name{
882
+ left:auto;
883
+ top:5px;
884
+ width:90px;
885
+ display:block;
886
+ float:left;
887
+ margin-left: 8px;
888
+ margin-top:10px;
889
+ }
890
+
891
+ div.pli_price{
892
+ left:auto;
893
+ width:50px;
894
+ display:block;
895
+ top:0px;
896
+ float:left;
897
+ margin-left: 18px;
898
+ margin-top:10px;
899
+ }
900
+
901
+ div#pli_edit{
902
+ left:auto;
903
+ width:auto;
904
+ top:0px;
905
+ float:left;
906
+ }
907
+
908
+ span#settings_button{
909
+ width:180px;
910
+ background-color:#f1f1f1;
911
+ position:absolute;
912
+ border:1px solid black;
913
+ display:none;
914
+ z-index: 100;
915
+ }
916
+
917
+
918
+ ul.settings_button{
919
+ list-style-type:none;
920
+ padding:0px 3px 0 10px;
921
+ margin:5px 0 0 0;
922
+ }
923
+
924
+ td.skuandprice {
925
+ padding: 0px 0px 0px 4px;
926
+ }
927
+
928
+ td.skuandprice, td.secondcol strong {
929
+ font-weight: bold;
930
+ font-size:11px;
931
+ margin:0px;
932
+ }
933
+ a.add_more_meta, a.thickbox {
934
+ font-weight: bold;
935
+ font-size:11px;
936
+ margin:0px;
937
+ text-decoration: underline;
938
+ }
939
+
940
+
941
+ table#productpage {
942
+ min-width: 828px;
943
+ }
944
+
945
+
946
+ table#productpage td.products {
947
+ min-width: 352px;
948
+ }
949
+
950
+ td.secondcol {
951
+ min-width: 460px;
952
+ }
953
+
954
+ #additem .postbox, #productform .postbox, #additem .stuffbox {
955
+ border-style:solid;
956
+ border-width:1px;
957
+ margin-bottom:10px;
958
+ max-width: 620px;
959
+ min-width:450px;
960
+ }
961
+
962
+
963
+ div#additem table.additem input.text,div#additem table.additem textarea, form.edititem textarea{
964
+ width:100%;
965
+ border:1px solid #bbb;
966
+ }
967
+
968
+
969
+ form.additem input.wpsc_product_name, form.edititem input.wpsc_product_name {
970
+ float:left;
971
+ width:93%;
972
+ min-width:396px;
973
+ max-width:566px;
974
+
975
+ height: 36px;
976
+ max-height: 36px;
977
+ margin-bottom:0px;
978
+
979
+ /* rounded borders */
980
+ border-top-right-radius: 0px;
981
+ border-bottom-right-radius: 0px;
982
+ -moz-border-radius-topright:0px;
983
+ -moz-border-radius-bottomright:0px;
984
+ -webkit-border-top-right-radius:0px;
985
+ -webkit-border-bottom-right-radius:0px;
986
+
987
+ /* IE 6 hacks */
988
+ _height: 28px;
989
+ _border:1px solid #DFDFDF;
990
+ _width:396px;
991
+ }
992
+
993
+ div#productform input.text, div#additem table.additem input.text {
994
+ width: 98%;
995
+ min-width:208px;
996
+ _width:208px;
997
+ border:1px solid #bbb;
998
+ }
999
+
1000
+ div#productform table.additem td.itemfirstcol, div#additem table.additem td.itemfirstcol{
1001
+ /* min-width: 250px !important; */
1002
+ padding-right:4px;
1003
+ padding-left:4px;
1004
+ vertical-align: top;
1005
+ }
1006
+
1007
+ div#productform td.product_tags, div#additem table.additem td.product_tags {
1008
+ width: 308px;
1009
+ padding-left: 20%;
1010
+ }
1011
+
1012
+
1013
+
1014
+
1015
+
1016
+
1017
+ #additem .togbox, #productform .togbox{
1018
+ display:block;
1019
+ position:absolute;
1020
+ top: 0px;
1021
+ left: 0px;
1022
+ height:35px;
1023
+ _height:37px;
1024
+ overflow:hidden;
1025
+ width:12px;
1026
+ border-right: 1px solid white;
1027
+ background-position:-10px 16px;
1028
+ background-repeat:no-repeat;
1029
+ }
1030
+
1031
+
1032
+ #additem h3, #productform h3 {
1033
+ color:#DFDFDF;
1034
+ background-color:#575757;
1035
+ position: relative;
1036
+ zoom: 1;
1037
+
1038
+ }
1039
+ #additem h3, #productform h3 {
1040
+ font-size:14px;
1041
+ font-weight:bold;
1042
+ margin:0pt 0pt 0px;
1043
+ padding:9px 5px 9px 26px;
1044
+ }
1045
+
1046
+
1047
+ #additem .closed h3, #productform .closed h3 {
1048
+ margin: 0px;
1049
+ }
1050
+
1051
+
1052
+ form.edititem {
1053
+ display: none;
1054
+ }
1055
+
1056
+ #additem .togbox, #productform .togbox {
1057
+ background-color:#B2B2B2;
1058
+ color:#B2B2B2;
1059
+ background-image:url(./images/toggle-arrow.gif);
1060
+ }
1061
+
1062
+ #additem .closed .togbox, #productform .closed .togbox {
1063
+ /* background-color:#2583AD;
1064
+ color:#2583AD;*/
1065
+ background-image:url(images/toggle-arrow.gif);
1066
+ background-position:4px 15px;
1067
+ }
1068
+
1069
+ #additem .closed .inside, #productform .closed .inside {
1070
+ width:548px;
1071
+ display:none;
1072
+ }
1073
+
1074
+
1075
+ #additem .inside, #productform .inside {
1076
+ font-size:11px;
1077
+ margin:15px 12px;
1078
+ }
1079
+
1080
+ table#productpage tr td.secondcol.product_groups_page {
1081
+ padding-left: 16px;
1082
+ }
1083
+
1084
+ td.product_groups_page #additem .inside, td.product_groups_page #productform .inside {
1085
+ margin: 0px 0px 15px 0px;
1086
+ }
1087
+
1088
+ td.product_groups_page div.editing_this_group {
1089
+ margin-bottom: 8px;
1090
+ }
1091
+
1092
+ td.product_groups_page h4 {
1093
+ margin-bottom: 1ex;
1094
+ }
1095
+
1096
+
1097
+
1098
+ td.product_groups_page td.category_presentation_settings {
1099
+ padding-bottom: 1ex;
1100
+ }
1101
+
1102
+
1103
+
1104
+ div.categorisation_title {
1105
+ background:#585858;
1106
+ padding: 4px 5px 10px;
1107
+ margin: 0px 0px 0px 0px;
1108
+ position: relative;
1109
+ height: 15px;
1110
+ top: 0px;
1111
+ left: 0px;
1112
+ }
1113
+
1114
+ div.categorisation_title strong {
1115
+ display: block;
1116
+ font-size: 11px;
1117
+ margin-top: 5px;
1118
+ }
1119
+
1120
+ tr.categorisation_title {
1121
+ background:#585858;
1122
+ height: 14px;
1123
+ }
1124
+
1125
+ div#submit_categorisation_form {
1126
+ float: left;
1127
+ display: block;
1128
+ }
1129
+
1130
+ div.editing_this_group {
1131
+ width: 100%;
1132
+ border-bottom: 1px dotted black;
1133
+ }
1134
+ .secondcol div.editing_this_group {
1135
+ width: 100%;
1136
+ }
1137
+
1138
+ #additem form{
1139
+ /*
1140
+ border-left:1px solid #bbb;
1141
+ border-right:1px solid #bbb;
1142
+ border-bottom:1px solid #bbb;
1143
+ */
1144
+ }
1145
+
1146
+ #productform form{
1147
+ /*
1148
+ border-left:1px solid #bbb;
1149
+ border-right:1px solid #bbb;
1150
+ border-bottom:1px solid #bbb;
1151
+ */
1152
+ }
1153
+
1154
+
1155
+ div.editing_this_group p {
1156
+ font-size:8pt;
1157
+ min-height:16px;
1158
+ padding:4px 4px 4px 8px;
1159
+ margin: 0px;
1160
+ }
1161
+
1162
+
1163
+ a.add_category_link{
1164
+ display: block;
1165
+ margin: 8px;
1166
+ }
1167
+
1168
+ table#itemlist tr.categorisation_title td {
1169
+ color: #dfdfdf;
1170
+ font-size: 11px;
1171
+ line-height:1.3em;
1172
+ padding:9px 15px 6px 10px;
1173
+ text-align:left;
1174
+ }
1175
+
1176
+
1177
+ label.select_categorisation_group, select#select_categorisation_group, a.add_categorisation_group, a.edit_categorisation_group {
1178
+ display: block;
1179
+ float: left;
1180
+ }
1181
+
1182
+ label.select_categorisation_group {
1183
+ padding-top: 4px;
1184
+ /* color: #336699; */
1185
+ font-size: 11px;
1186
+ }
1187
+
1188
+ a.add_categorisation_group {
1189
+ margin-left: 10px;
1190
+ }
1191
+
1192
+ a.edit_categorisation_group {
1193
+ margin-left: 30px;
1194
+ }
1195
+
1196
+
1197
+
1198
+ table#productpage tr td.firstcol {
1199
+ padding:0px !important;
1200
+ }
1201
+
1202
+
1203
+
1204
+ div#add_categorisation, div#edit_categorisation{
1205
+ display: none;
1206
+ border: 1px solid #BBBBBB;
1207
+ padding: 4px;
1208
+ margin-top: 6px;
1209
+ }
1210
+
1211
+ div#add_categorisation br, div#edit_categorisation br{
1212
+ clear: both;
1213
+ }
1214
+
1215
+
1216
+ div#add_categorisation fieldset, div#edit_categorisation fieldset{
1217
+ width: 230px;
1218
+ float: left;
1219
+ border: none;
1220
+ }
1221
+
1222
+ div#add_categorisation fieldset label, div#edit_categorisation fieldset label{
1223
+ display: block;
1224
+ }
1225
+
1226
+ ul.categorisation_links{
1227
+ list-style-type: none;
1228
+ clear: both;
1229
+ padding: 0px;
1230
+ }
1231
+
1232
+ ul.categorisation_links li{
1233
+ display: block;
1234
+ float: left;
1235
+ list-style-type: none;
1236
+ margin: 0px;
1237
+ font-size: 14px;
1238
+ padding: 4px;
1239
+ }
1240
+
1241
+ ul.categorisation_links li.selected a{
1242
+ color: #D54E21;
1243
+ }
1244
+
1245
+
1246
+
1247
+
1248
+ div.product_custom_meta {
1249
+ display: block;
1250
+ width: 100%;
1251
+ }
1252
+
1253
+ div.product_custom_meta a.add_more_meta {
1254
+ display: block;
1255
+ float: left;
1256
+ margin-top: 18px;
1257
+ margin-left: 4px;
1258
+ }
1259
+
1260
+ div.product_custom_meta a.remove_meta {
1261
+ display: block;
1262
+ float: left;
1263
+ margin-top: 18px;
1264
+ margin-left: 4px;
1265
+ }
1266
+
1267
+
1268
+ div.product_custom_meta label {
1269
+ display: block;
1270
+ width: 170px;
1271
+ float: left;
1272
+ }
1273
+
1274
+ div.product_custom_meta label input {
1275
+ font-size:13px;
1276
+ width: 160px !important;
1277
+ margin:1px !important;
1278
+ padding:3px !important;
1279
+ display: block;
1280
+ }
1281
+
1282
+ div.product_custom_meta br {
1283
+ clear: both;
1284
+ }
1285
+
1286
+ table.product_editform {
1287
+ width: 99.5%;
1288
+ /* margin-top: 15px; */
1289
+ /* border-left:1px solid #bbb; */
1290
+ /* border-right:1px solid #bbb; */
1291
+ /* border-bottom:1px solid #bbb; */
1292
+ }
1293
+
1294
+ table.category_forms {
1295
+ width: 100%;
1296
+ }
1297
+ table.category_forms tr td {
1298
+ padding: 0px 8px ;
1299
+ }
1300
+ table.category_forms tr td textarea {
1301
+ width: 100%;
1302
+ }
1303
+ /*
1304
+ input, table.category_forms tr td textarea {
1305
+ width: 440px;
1306
+ }*/
1307
+
1308
+
1309
+ div#wpsc_shipwire_setting {
1310
+ display: none;
1311
+ }
1312
+
1313
+ #wpsc_options {
1314
+ border-color:#EBEBEB rgb(204, 204, 204) rgb(204, 204, 204) rgb(235, 235, 235);
1315
+ border-style:solid;
1316
+ border-width:1px;
1317
+ margin:0pt 15% 0pt 15px;
1318
+ padding:2px;
1319
+ position: relative;
1320
+ }
1321
+
1322
+ #wpsc_options a.about_this_page {
1323
+ position: absolute;
1324
+ top: 10px;
1325
+ right: 12px;
1326
+ }
1327
+
1328
+
1329
+ span.product_loadingindicator {
1330
+ display: block;
1331
+ float: right;
1332
+ }
1333
+
1334
+
1335
+ table#gateway_options{
1336
+ margin: 0px;
1337
+ width: 100%;
1338
+ }
1339
+
1340
+ table#gateway_options tr td{
1341
+ padding: 8px 0px 8px 2px;
1342
+ vertical-align: top;
1343
+ }
1344
+
1345
+
1346
+ table#gateway_options tr td h4{
1347
+ }
1348
+
1349
+ table#gateway_options tr td.select_gateway {
1350
+ width: 360px;
1351
+ height: 360px;
1352
+ min-width: 360px;
1353
+ /* background-color:#EAF3FA; */
1354
+ padding: 0px;
1355
+ }
1356
+ table#gateway_options tr td.select_gateway div.gateway_settings {
1357
+ padding-left: 10px;
1358
+ }
1359
+
1360
+ td.select_gateway h4 {
1361
+ margin: 0px 0px 10px 0px;
1362
+ }
1363
+
1364
+ td.select_gateway p {
1365
+ margin: 0px 15px 4px 5px;
1366
+ border-top: 1px solid #e9e9e9;
1367
+ }
1368
+
1369
+ td.select_gateway p input {
1370
+ position: relative;
1371
+ top: 3px;
1372
+ margin: 0px 3px 0px 0px;
1373
+ display: block;
1374
+ float: left;
1375
+ }
1376
+
1377
+ td.gateway_settings {
1378
+ padding-top: 0px !important;
1379
+ }
1380
+
1381
+ td.gateway_settings h4 {
1382
+ margin: 0px;
1383
+ }
1384
+
1385
+ td.gateway_settings table.form-table {
1386
+ margin: 0px 0px 0px 0px;
1387
+ }
1388
+
1389
+ table#gateway_options table.form-table tr td {
1390
+ padding-left: 8px;
1391
+ }
1392
+
1393
+ table.form-table tr.firstrowth td {
1394
+ padding: 4px 5px 6px 6px !important;
1395
+ line-height: normal;
1396
+ }
1397
+
1398
+
1399
+ tr.update_gateway {
1400
+ background: none;
1401
+ }
1402
+
1403
+ tr.update_gateway td {
1404
+ padding: 0px 0px 0px 8px !important;
1405
+ }
1406
+
1407
+ tr.update_gateway td div {
1408
+ border-top: none;
1409
+ margin: 0px;
1410
+ padding: 0px;
1411
+ }
1412
+
1413
+ div.admin_product_name {
1414
+ width: 100%;
1415
+ padding: 0px;
1416
+ margin-bottom: 10px;
1417
+ }
1418
+
1419
+ div#editorcontainer {
1420
+ margin: 6px 0px 15px 0px;
1421
+ }
1422
+
1423
+ div.admin_product_name input.text{
1424
+ width: 325px !important;
1425
+ margin: 0px 0px 0px 1px !important;
1426
+ float: left;
1427
+ _height: 17px;
1428
+ }
1429
+
1430
+ div.admin_product_name a.shorttag_toggle {
1431
+ background:#FFFFFF url(images/info_icon.jpg) no-repeat scroll 5px 8px;
1432
+ border-bottom:1px solid #DFDFDF;
1433
+ border-right:1px solid #DFDFDF;
1434
+ border-top:1px solid #DFDFDF;
1435
+ display:block;
1436
+ float:left;
1437
+ height:28px;
1438
+ margin-left:-1px;
1439
+ margin-top:1px;
1440
+ padding:3px;
1441
+ width:18px;
1442
+ border-top-right-radius:6px;
1443
+ border-bottom-right-radius:6px;
1444
+ -moz-border-radius-bottomright:6px;
1445
+ -moz-border-radius-topright:6px;
1446
+ -webkit-border-top-right-radius:6px;
1447
+ -webkit-border-bottom-right-radius:6px;
1448
+ }
1449
+
1450
+ div.admin_product_name a.shorttag_toggle.toggled {
1451
+ background:#FFFFFF url(images/plus_icon.jpg) no-repeat scroll 5px 4px;
1452
+ }
1453
+
1454
+
1455
+
1456
+ div.admin_product_name div.admin_product_shorttags h4{
1457
+ margin: 0px 0px 3px 0px;
1458
+ }
1459
+
1460
+
1461
+ div.admin_product_name div.admin_product_shorttags p{
1462
+ clear: both;
1463
+ font-size: 8pt;
1464
+ margin-bottom: 0px;
1465
+ }
1466
+
1467
+
1468
+ div.admin_product_name div.admin_product_shorttags dl {
1469
+ margin: 0px 0px 5px 0px;
1470
+ }
1471
+ div.admin_product_name div.admin_product_shorttags dl dt {
1472
+ display: block;
1473
+ float: left;
1474
+ clear: left;
1475
+ }
1476
+ div.admin_product_name div.admin_product_shorttags dl dd {
1477
+ display: block;
1478
+ /* float: left; */
1479
+ margin-bottom: 0px;
1480
+ }
1481
+
1482
+ table#itemlist tr.firstrowth td {
1483
+ padding:4px 5px 6px;
1484
+ }
1485
+
1486
+ /* Main Flora Style Sheet for jQuery UI ui-datepicker */
1487
+ #ui-datepicker-div, .ui-datepicker-inline {
1488
+ font-family: Arial,Helvetica,sans-serif;
1489
+ font-size: 14px;
1490
+ padding: 0;
1491
+ margin: 0;
1492
+ background: #E0F4D7;
1493
+ width: 185px;
1494
+ }
1495
+ #ui-datepicker-div {
1496
+ display: none;
1497
+ border: 1px solid #FF9900;
1498
+ z-index: 10;
1499
+ }
1500
+ .ui-datepicker-inline {
1501
+ float: left;
1502
+ display: block;
1503
+ border: 0;
1504
+ }
1505
+ .ui-datepicker-rtl {
1506
+ direction: rtl;
1507
+ }
1508
+ .ui-datepicker-dialog {
1509
+ padding: 5px !important;
1510
+ border: 4px ridge #83C948 !important;
1511
+ }
1512
+ button.ui-datepicker-trigger {
1513
+ width: 25px;
1514
+ }
1515
+ img.ui-datepicker-trigger {
1516
+ margin: 2px;
1517
+ vertical-align: middle;
1518
+ }
1519
+ .ui-datepicker-prompt {
1520
+ float: left;
1521
+ padding: 2px;
1522
+ background: #E0F4D7;
1523
+ color: #000;
1524
+ }
1525
+ *html .ui-datepicker-prompt {
1526
+ width: 185px;
1527
+ }
1528
+ .ui-datepicker-control, .ui-datepicker-links, .ui-datepicker-header, .ui-datepicker {
1529
+ clear: both;
1530
+ float: left;
1531
+ width: 100%;
1532
+ color: #FFF;
1533
+ }
1534
+ .ui-datepicker-control {
1535
+ background: #FF9900;
1536
+ padding: 2px 0px;
1537
+ }
1538
+ .ui-datepicker-links {
1539
+ background: #E0F4D7;
1540
+ padding: 2px 0px;
1541
+ }
1542
+ .ui-datepicker-control, .ui-datepicker-links {
1543
+ font-weight: bold;
1544
+ font-size: 80%;
1545
+ letter-spacing: 1px;
1546
+ }
1547
+ .ui-datepicker-links label {
1548
+ padding: 2px 5px;
1549
+ color: #888;
1550
+ }
1551
+ .ui-datepicker-clear, .ui-datepicker-prev {
1552
+ float: left;
1553
+ width: 34%;
1554
+ }
1555
+ .ui-datepicker-rtl .ui-datepicker-clear, .ui-datepicker-rtl .ui-datepicker-prev {
1556
+ float: right;
1557
+ text-align: right;
1558
+ }
1559
+ .ui-datepicker-current {
1560
+ float: left;
1561
+ width: 30%;
1562
+ text-align: center;
1563
+ }
1564
+ .ui-datepicker-close, .ui-datepicker-next {
1565
+ float: right;
1566
+ width: 34%;
1567
+ text-align: right;
1568
+ }
1569
+ .ui-datepicker-rtl .ui-datepicker-close, .ui-datepicker-rtl .ui-datepicker-next {
1570
+ float: left;
1571
+ text-align: left;
1572
+ }
1573
+ .ui-datepicker-header {
1574
+ padding: 1px 0 3px;
1575
+ background: #83C948;
1576
+ text-align: center;
1577
+ font-weight: bold;
1578
+ height: 1.3em;
1579
+ }
1580
+ .ui-datepicker-header select {
1581
+ background: #83C948;
1582
+ color: #000;
1583
+ border: 0px;
1584
+ font-weight: bold;
1585
+ }
1586
+ .ui-datepicker {
1587
+ background: #CCC;
1588
+ text-align: center;
1589
+ font-size: 100%;
1590
+ }
1591
+ .ui-datepicker a {
1592
+ display: block;
1593
+ width: 100%;
1594
+ }
1595
+ .ui-datepicker-title-row {
1596
+ background: #B1DB87;
1597
+ color: #000;
1598
+ }
1599
+ .ui-datepicker-title-row .ui-datepicker-week-end-cell {
1600
+ background: #B1DB87;
1601
+ }
1602
+ .ui-datepicker-days-row {
1603
+ background: #FFF;
1604
+ color: #666;
1605
+ }
1606
+ .ui-datepicker-week-col {
1607
+ background: #B1DB87;
1608
+ color: #000;
1609
+ }
1610
+ .ui-datepicker-days-cell {
1611
+ color: #000;
1612
+ border: 1px solid #DDD;
1613
+ }
1614
+ .ui-datepicker-days-cell a {
1615
+ display: block;
1616
+ }
1617
+ .ui-datepicker-week-end-cell {
1618
+ background: #E0F4D7;
1619
+ }
1620
+ .ui-datepicker-unselectable {
1621
+ color: #888;
1622
+ }
1623
+ .ui-datepicker-week-over, .ui-datepicker-week-over .ui-datepicker-week-end-cell {
1624
+ background: #B1DB87 !important;
1625
+ }
1626
+ .ui-datepicker-days-cell-over, .ui-datepicker-days-cell-over.ui-datepicker-week-end-cell {
1627
+ background: #FFF !important;
1628
+ border: 1px solid #777;
1629
+ }
1630
+ * html .ui-datepicker-title-row .ui-datepicker-week-end-cell {
1631
+ background: #B1DB87 !important;
1632
+ }
1633
+ * html .ui-datepicker-week-end-cell {
1634
+ background: #E0F4D7 !important;
1635
+ border: 1px solid #DDD !important;
1636
+ }
1637
+ * html .ui-datepicker-days-cell-over {
1638
+ background: #FFF !important;
1639
+ border: 1px solid #777 !important;
1640
+ }
1641
+ * html .ui-datepicker-current-day {
1642
+ background: #83C948 !important;
1643
+ }
1644
+ .ui-datepicker-today {
1645
+ background: #B1DB87 !important;
1646
+ }
1647
+ .ui-datepicker-current-day {
1648
+ background: #83C948 !important;
1649
+ }
1650
+ .ui-datepicker-status {
1651
+ background: #E0F4D7;
1652
+ width: 100%;
1653
+ font-size: 80%;
1654
+ text-align: center;
1655
+ }
1656
+ #ui-datepicker-div a, .ui-datepicker-inline a {
1657
+ cursor: pointer;
1658
+ margin: 0;
1659
+ padding: 0;
1660
+ background: none;
1661
+ color: #000;
1662
+ }
1663
+ .ui-datepicker-inline .ui-datepicker-links a {
1664
+ padding: 0 5px !important;
1665
+ }
1666
+ .ui-datepicker-control a, .ui-datepicker-links a {
1667
+ padding: 2px 5px !important;
1668
+ color: #000 !important;
1669
+ }
1670
+ .ui-datepicker-title-row a {
1671
+ color: #000 !important;
1672
+ }
1673
+ .ui-datepicker-control a:hover {
1674
+ background: #FDD !important;
1675
+ color: #333 !important;
1676
+ }
1677
+ .ui-datepicker-links a:hover, .ui-datepicker-title-row a:hover {
1678
+ background: #FFF !important;
1679
+ color: #333 !important;
1680
+ }
1681
+ .ui-datepicker-multi .ui-datepicker {
1682
+ border: 1px solid #83C948;
1683
+ }
1684
+ .ui-datepicker-one-month {
1685
+ float: left;
1686
+ width: 185px;
1687
+ }
1688
+ .ui-datepicker-new-row {
1689
+ clear: left;
1690
+ }
1691
+ .ui-datepicker-cover {
1692
+ display: none;
1693
+ display: block;
1694
+ position: absolute;
1695
+ z-index: -1;
1696
+ filter: mask();
1697
+ top: -4px;
1698
+ left: -4px;
1699
+ width: 193px;
1700
+ height: 200px;
1701
+ }
1702
+
1703
+ /* Affiliates styles */
1704
+ select#affliate_products {
1705
+ width:150px;
1706
+ }
1707
+
1708
+ textarea.affiliate_text {
1709
+ width:450px;
1710
+ height:150px;
1711
+ }
1712
+
1713
+
1714
+
1715
+ a.about_this_page_sub {
1716
+ text-decoration:underline;
1717
+ }
1718
+
1719
+
1720
+ div#add_product_variation_details {
1721
+ margin: 1ex 0px 0px 0px;
1722
+ }
1723
+
1724
+ div#add_product_variation_details table.product_variation_grid {
1725
+ margin: 4px 0px 0px 0px;
1726
+ }
1727
+
1728
+ ul#gallery_list{
1729
+ clear:both;
1730
+ list-style-type:none;
1731
+ list-style-position: inside;
1732
+ cursor: hand;
1733
+ /* min-height:70px; */
1734
+ _height:70px;
1735
+ padding-left:0px;
1736
+ }
1737
+
1738
+ ul#gallery_list li{
1739
+ float:left;
1740
+ }
1741
+
1742
+ ul#gallery_list li *{
1743
+ z-index:79;
1744
+ }
1745
+ ul#gallery_list li.first *{
1746
+ z-index:80;
1747
+ }
1748
+ .ui-selected {
1749
+ border:2px dashed #969696;
1750
+ }
1751
+ img.deleteButton {
1752
+ display:none;
1753
+ position:absolute;
1754
+ margin-left:-16px;
1755
+ top:-5px;
1756
+ width:16px;
1757
+ height:16px;
1758
+ cursor:pointer;
1759
+ }
1760
+ a.editButton {
1761
+ background:#FFFFFF none repeat scroll 0%;
1762
+ height:20px;
1763
+ display:none;
1764
+ position:absolute;
1765
+ margin-left:-50px;
1766
+ top:0px;
1767
+ padding-bottom:3px;
1768
+ padding-left:3px;
1769
+ cursor:pointer;
1770
+ }
1771
+
1772
+ div#image_settings_box {
1773
+ position:absolute;
1774
+ width:150px;
1775
+ display:none;
1776
+ margin: -66px 0px 0px 36px;
1777
+ _margin: 0px 0px 0px -30px;
1778
+ padding-top:2px;
1779
+ width:252px;
1780
+ z-index:69;
1781
+ _z-index:80;
1782
+ }
1783
+
1784
+ div.lower_settings_box {
1785
+ width:234px;
1786
+ background-color:white;
1787
+ border:1px solid black;
1788
+ border-top:1px solid #CCCCCC;
1789
+ float:right;
1790
+ margin: -1px -6px 0px 0px;
1791
+ background-color:#EAF3FA;
1792
+ }
1793
+
1794
+ div.upper_settings_box {
1795
+ width:250px;
1796
+ background-color:white;
1797
+ border:1px solid black;
1798
+ padding:3px 1px 2px 5px;
1799
+ }
1800
+
1801
+ div.upper_image {
1802
+ float:left;
1803
+ /* border-bottom:1px solid black; */
1804
+ padding-left:5px;
1805
+ margin-left:-5px;
1806
+ _margin-left:-3px;
1807
+ margin-right:-7px;
1808
+ padding-bottom:4px;
1809
+ _padding-bottom:6px;
1810
+ _margin-bottom:-2px;
1811
+ }
1812
+
1813
+ div.upper_txt{
1814
+ padding-left:22px;
1815
+ color:#666666;
1816
+ }
1817
+
1818
+ div.previewimage {
1819
+ position:relative;
1820
+ }
1821
+
1822
+ tr.edit_product_image *{
1823
+ z-index:80;
1824
+ }
1825
+
1826
+ a.closeimagesettings{
1827
+ cursor:pointer;
1828
+ margin-left:90px;
1829
+ }
1830
+
1831
+ table.wpsc_options, table.form-table{
1832
+ margin-top:0px;
1833
+ margin-bottom:0px;
1834
+ }
1835
+
1836
+ h2.wpsc_special{
1837
+ margin-bottom:5px;
1838
+ }
1839
+
1840
+ input.deletecheckbox {
1841
+ margin-top:-13px;
1842
+ margin-right:10px;
1843
+ }
1844
+
1845
+ /*div#wpcontent div:not(#wpbody) * {
1846
+ display:none;
1847
+ }*/
1848
+ div.packing_slip {
1849
+ margin: 10px;
1850
+ }
1851
+
1852
+ table.packing_slip {
1853
+ border: 1px solid black;
1854
+ border-collapse: collapse;
1855
+ width: 500px
1856
+ }
1857
+
1858
+ table.packing_slip tr td {
1859
+ border: 1px solid black;
1860
+ padding: 6px 6px 6px 6px;
1861
+ }
1862
+
1863
+ @media print {
1864
+ div#wpcontent ul {
1865
+ display: none;
1866
+ }
1867
+
1868
+ div#wphead {
1869
+ display: none;
1870
+ }
1871
+
1872
+ div#user_info {
1873
+ display: none;
1874
+ }
1875
+
1876
+ div#update-nag {
1877
+ display: none;
1878
+ }
1879
+
1880
+ div#rightnow {
1881
+ display: none;
1882
+ }
1883
+
1884
+ td#order_summary_container {
1885
+ display: none;
1886
+ }
1887
+
1888
+ div#footer {
1889
+ display: none;
1890
+ }
1891
+ a {
1892
+ display: none;
1893
+ }
1894
+ embed {
1895
+ display: none;
1896
+ }
1897
+ }
1898
+
1899
+ img.file_delete_button {
1900
+ float:right;
1901
+ cursor: pointer;
1902
+ margin-top: -17px;
1903
+ }
1904
+
1905
+ .swfupload {
1906
+ position:absolute;
1907
+ z-index:1;
1908
+ vertical-align:top;
1909
+ }
1910
+
1911
+ a.delete_primary_image {
1912
+ display: block;
1913
+ margin-left: 20px;
1914
+ }
1915
+
1916
+ br.small {
1917
+ line-height: 0.5em;
1918
+ }
1919
+
1920
+ #dashboard-widgets-main-content-wpsc {
1921
+ margin-right:30% !important;
1922
+ min-width: 582px;
1923
+ }
1924
+
1925
+ #side-info-column-wpsc {
1926
+ width:28% !important;
1927
+ }
1928
+
1929
+ div.purchase_detail{
1930
+ margin-left:10px;
1931
+ margin-bottom: 10px;
1932
+ }
1933
+
1934
+ div.email_buyer{
1935
+ margin-left:10px;
1936
+ margin-bottom: 10px;
1937
+ }
1938
+
1939
+ h3.hndle {
1940
+ font-size:12px !important;
1941
+ background-color:transparent !important;
1942
+ color:#333 !important;
1943
+ padding:6px 7px !important;
1944
+ }
1945
+
1946
+ .variation_settings{
1947
+ display:none;
1948
+ }
1949
+
1950
+ table#itemlist .pricedisplay, .category_link {
1951
+ font-size: 11px;
1952
+ }
1953
+
1954
+ table#itemlist tr {
1955
+ vertical-align: top;
1956
+ }
1957
+
1958
+ /*input.wpsc_product_name {
1959
+ padding: 3px 4px;
1960
+ border-width: 1px;
1961
+ border-style: solid;
1962
+ -moz-border-radius: 6px;
1963
+ -khtml-border-radius: 6px;
1964
+ -webkit-border-radius: 6px;
1965
+ border-radius: 6px;
1966
+ font-size: 1.7em;
1967
+ }*/
1968
+
1969
+ form.additem input, form.edititem input {
1970
+ /* -moz-border-radius: 6px; */
1971
+ /* -khtml-border-radius: 6px; */
1972
+ /* -webkit-border-radius: 6px; */
1973
+ /* border-radius: 6px; */
1974
+ }
1975
+
1976
+ body.mceContentBody{
1977
+ font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;
1978
+ }
1979
+ div.variation_checkboxes label, label.variation_checkbox {
1980
+ display: block;
1981
+ }
1982
+
1983
+ td.select_gateway h3.hndle {
1984
+ margin-bottom: 5px;
1985
+ }
1986
+ div.variation_box{
1987
+ }
1988
+ div.variation_values_box{
1989
+ padding-left: 10px;
1990
+ }
1991
+
1992
+
1993
+
1994
+
1995
+ table.flash-image-uploader tr td p {
1996
+ clear: both;
1997
+ }
1998
+
1999
+ button#add-product-image {
2000
+ float: left;
2001
+ }
2002
+
2003
+ div#swfupload_img_indicator {
2004
+ float: left;
2005
+ height: 20px;
2006
+ width: 20px;
2007
+ display: none;
2008
+ }
2009
+
2010
+ div#swfupload_img_indicator img{
2011
+ margin: 4px 2px 2px 4px;
2012
+ }
2013
+
2014
+ div#edit_product_variations {
2015
+ margin-bottom: 8px;
2016
+ }
2017
+
2018
+ div#productform table tr td{ height: 11px !important; }
2019
+ div#productform table tr.settings_row td{ height: 0px !important; }
2020
+
2021
+ .product-alert-image {
2022
+ margin-left: 3px;
2023
+ }
2024
+
2025
+ #editorcontainer .wp_themeSkin .mceStatusbar {
2026
+ border-color: #DFDFDF;
2027
+ }
2028
+
2029
+ .multiple-select {
2030
+ background:#FFFFFF none repeat scroll 0 0;
2031
+ border:1px solid #DFDFDF;
2032
+ display:inline-block;
2033
+ height:120px;
2034
+ margin:0;
2035
+ overflow-x:hidden;
2036
+ overflow-y:auto;
2037
+ padding:0;
2038
+ position:relative;
2039
+ width:250px;
2040
+ }
currency_converter.inc.php ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ CURRENCYCONVERTER
5
+ Date - Feb 23,2005
6
+ Author - Harish Chauhan
7
+ Email - harishc@ultraglobal.biz
8
+
9
+ ABOUT
10
+ This PHP script will use for conversion of currency.
11
+ you can find it is tricky but it is usefull.
12
+ */
13
+
14
+ Class CURRENCYCONVERTER
15
+ {
16
+ var $_amt=1;
17
+ var $_to="";
18
+ var $_from="";
19
+ var $_error="";
20
+ function CURRENCYCONVERTER($amt=1,$to="",$from="")
21
+ {
22
+ $this->_amt=$amt;
23
+ $this->_to=$to;
24
+ $this->_from=$from;
25
+ }
26
+ function error()
27
+ {
28
+ return $this->_error;
29
+ }
30
+ function convert($amt=NULL,$to="",$from="")
31
+ {
32
+ if ($amt == 0) {
33
+ return 0;
34
+ }
35
+ if($amt>1)
36
+ $this->_amt=$amt;
37
+ if(!empty($to))
38
+ $this->_to=$to;
39
+ if(!empty($from))
40
+ $this->_from=$from;
41
+
42
+ //$host="www.iraqidinar.org";
43
+ $host="www.xe.com";
44
+ $fp = @fsockopen($host, 80, $errno, $errstr, 30);
45
+ if (!$fp)
46
+ {
47
+ $this->_error="$errstr ($errno)<br />\n";
48
+ return false;
49
+ }
50
+ else
51
+ {
52
+ //$file="/conversiontool2.asp";
53
+ $file="/ucc/convert.cgi";
54
+ //$str = "?amount=".$this->_amt."&ConvertFrom=".$this->_from."&ConvertTo=".$this->_to;
55
+ $str = "?language=xe&Amount=".$this->_amt."&From=".$this->_from."&To=".$this->_to;
56
+ $out = "GET ".$file.$str." HTTP/1.0\r\n";
57
+ $out .= "Host: $host\r\n";
58
+ $out .= "Connection: Close\r\n\r\n";
59
+
60
+ @fputs($fp, $out);
61
+ while (!@feof($fp))
62
+ {
63
+ $data.= @fgets($fp, 128);
64
+ }
65
+ @fclose($fp);
66
+
67
+ @preg_match("/^(.*?)\r?\n\r?\n(.*)/s", $data, $match);
68
+ $data =$match[2];
69
+ $search = array ("'<script[^>]*?>.*?</script>'si", // Strip out javascript
70
+ "'<[\/\!]*?[^<>]*?>'si", // Strip out HTML tags
71
+ "'([\r\n])[\s]+'", // Strip out white space
72
+ "'&(quot|#34);'i", // Replace HTML entities
73
+ "'&(amp|#38);'i",
74
+ "'&(lt|#60);'i",
75
+ "'&(gt|#62);'i",
76
+ "'&(nbsp|#160);'i",
77
+ "'&(iexcl|#161);'i",
78
+ "'&(cent|#162);'i",
79
+ "'&(pound|#163);'i",
80
+ "'&(copy|#169);'i",
81
+ "'&#(\d+);'e"); // evaluate as php
82
+
83
+ $replace = array ("",
84
+ "",
85
+ "\\1",
86
+ "\"",
87
+ "&",
88
+ "<",
89
+ ">",
90
+ " ",
91
+ chr(161),
92
+ chr(162),
93
+ chr(163),
94
+ chr(169),
95
+ "chr(\\1)");
96
+
97
+ $data = @preg_replace($search, $replace, $data);
98
+ @preg_match_all("/(\d[^\.]*(\.\d+)?)/",$data,$mathces);
99
+ $return=preg_replace("/[^\d\.]*/","",$mathces[0][4]);
100
+ return (double)$return;
101
+ }
102
+ }
103
+ }
104
+ ?>
currency_list.php ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $currency_sql="INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (1, 'Mauritania', 'MR', 'Mauritanian Ouguiya', '', '', 'MRO', '0', '0','africa','1');
3
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (2, 'Martinique (French)', 'MQ', 'Euro', '€', '&#8364;', 'EUR', '0', '0','southamerica','1');
4
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (3, 'Malta', 'MT', 'Maltese Lira', '', '', 'MTL', '0', '0' ,'europe','1');
5
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (4, 'Marshall Islands', 'MH', 'US Dollar', '$', '&#036;', 'USD', '0', '0' ,'asiapacific','1');
6
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (5, 'Mali', 'ML', 'CFA Franc BCEAO', '', '', 'XOF', '0', '0' ,'africa','1');
7
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (6, 'Maldives', 'MV', 'Maldive Rufiyaa', '', '', 'MVR', '0', '0' , 'asiapacific','1');
8
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (7, 'Malaysia', 'MY', 'Malaysian Ringgit', '', '', 'MYR', '0', '0', 'asiapacific','1');
9
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (8, 'Malawi', 'MW', 'Malawi Kwacha', '', '', 'MWK', '0', '0','africa','1');
10
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (9, 'Madagascar', 'MG', 'Malagasy Franc', '', '', 'MGF', '0', '0','africa','1');
11
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (10, 'Macau', 'MO', 'Macau Pataca', '', '', 'MOP', '0', '0', 'asiapacific','1');
12
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (11, 'Macedonia', 'MK', 'Denar', '', '', 'MKD', '0', '0','europe','1');
13
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (12, 'Luxembourg', 'LU', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
14
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (13, 'Lithuania', 'LT', 'Lithuanian Litas', '', '', 'LTL', '0', '0','europe','1');
15
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (14, 'Liechtenstein', 'LI', 'Swiss Franc', '', '', 'CHF', '0', '0','europe','1');
16
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (15, 'Libya', 'LY', 'Libyan Dinar', '', '', 'LYD', '0', '0','africa','1');
17
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (16, 'Liberia', 'LR', 'Liberian Dollar', '$', '&#036;', 'LRD', '0', '0','africa','1');
18
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (17, 'Lesotho', 'LS', 'Lesotho Loti', '', '', 'LSL', '0', '0','africa','1');
19
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (18, 'Lebanon', 'LB', 'Lebanese Pound', '', '', 'LBP', '0', '0', 'asiapacific','1');
20
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (19, 'Latvia', 'LV', 'Latvian Lats', '', '', 'LVL', '0', '0','europe','1');
21
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (20, 'Laos', 'LA', 'Lao Kip', '', '', 'LAK', '0', '0', 'asiapacific','1');
22
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (21, 'Kyrgyzstan', 'KG', 'Som', '', '', 'KGS', '0', '0', 'asiapacific','1');
23
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (22, 'Kuwait', 'KW', 'Kuwaiti Dinar', '', '', 'KWD', '0', '0', 'asiapacific','1');
24
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (23, 'Korea, South', 'KR', 'Korean Won', '', '', 'KRW', '0', '0', 'asiapacific','1');
25
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (24, 'Korea, North', 'KP', 'North Korean Won', '', '', 'KPW', '0', '0', 'asiapacific','1');
26
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (25, 'Kiribati', 'KI', 'Australian Dollar', '$', '&#036;', 'AUD', '0', '0', 'asiapacific','1');
27
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (26, 'Kenya', 'KE', 'Kenyan Shilling', '', '', 'KES', '0', '0','africa','1');
28
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (27, 'Kazakhstan', 'KZ', 'Kazakhstan Tenge', '', '', 'KZT', '0', '0' ,'asiapacific','1');
29
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (28, 'Jordan', 'JO', 'Jordanian Dinar', '', '', 'JOD', '0', '0', 'asiapacific','1');
30
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (29, 'Jersey', 'JE', 'Pound Sterling', '£', '&#163;', 'GBP', '0', '0','europe','1');
31
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (30, 'Japan', 'JP', 'Japanese Yen', '¥', '&#165;', 'JPY', '0', '0', 'asiapacific','1');
32
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (31, 'Jamaica', 'JM', 'Jamaican Dollar', '$', '&#036;', 'JMD', '0', '0' ,'southamerica','1');
33
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (32, 'Ivory Coast', 'CI', 'CFA Franc BCEAO', '', '', 'XOF', '0', '0' ,'africa','1');
34
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (33, 'Italy', 'IT', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
35
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (34, 'Isle of Man', 'IM', 'Pound Sterling', '£', '&#163;', 'GBP', '0', '0','europe','1');
36
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (35, 'Israel', 'IL', 'Israeli New Shekel', '', '', 'ILS', '0', '0', 'asiapacific','1');
37
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (36, 'Ireland', 'IE', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
38
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (37, 'Iraq', 'IQ', 'Iraqi Dinar', '', '', 'IQD', '0', '0', 'asiapacific','1');
39
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (38, 'Indonesia', 'ID', 'Indonesian Rupiah', '', '', 'IDR', '0', '0', 'asiapacific','1');
40
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (39, 'Iran', 'IR', 'Iranian Rial', '', '', 'IRR', '0', '0', 'asiapacific','1');
41
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (40, 'India', 'IN', 'Indian Rupee', '', '', 'INR', '0', '0', 'asiapacific','1');
42
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (41, 'Iceland', 'IS', 'Iceland Krona', '', '', 'ISK', '0', '0', 'europe','1');
43
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (42, 'Hungary', 'HU', 'Hungarian Forint', '', '', 'HUF', '0', '0', 'europe','1');
44
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (43, 'Hong Kong', 'HK', 'Hong Kong Dollar', '$', '&#036;', 'HKD', '0', '0', 'asiapacific','1');
45
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (44, 'Honduras', 'HN', 'Honduran Lempira', '', '', 'HNL', '0', '0' , 'southamerica','1');
46
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (45, 'Heard Island and McDonald Islands', 'HM', 'Australian Dollar', '$', '&#036;', 'AUD', '0', '0','asiapacific','1');
47
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (46, 'Haiti', 'HT', 'Haitian Gourde', '', '', 'HTG', '0', '0', 'southamerica','1');
48
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (47, 'Guyana', 'GY', 'Guyana Dollar', '$', '&#036;', 'GYD', '0', '0', 'southamerica','1');
49
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (48, 'Guinea Bissau', 'GW', 'Guinea-Bissau Peso', '', '', 'GWP', '0', '0' ,'africa','1');
50
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (49, 'Guinea', 'GN', 'Guinea Franc', '', '', 'GNF', '0', '0','africa','1');
51
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (50, 'Guernsey', 'GF', 'Pound Sterling', '£', '&#163;', 'GBP', '0', '0' ,'europe','1');
52
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (51, 'Guatemala', 'GT', 'Guatemalan Quetzal', '', '', 'QTQ', '0', '0', 'southamerica','1');
53
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (52, 'Guam (USA)', 'GU', 'US Dollar', '$', '&#036;', 'USD', '0', '0', 'asiapacific','1');
54
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (53, 'Grenada', 'GD', 'East Carribean Dollar', '$', '&#036;', 'XCD', '0', '0','africa','1');
55
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (54, 'Guadeloupe (French)', 'GP', 'Euro', '€', '&#8364;', 'EUR', '0', '0', 'southamerica','1');
56
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (55, 'Greenland', 'GL', 'Danish Krone', '', '', 'DKK', '0', '0','europe','1');
57
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (56, 'Greece', 'GR', 'Euro', '€', '&#8364;', 'EUR', '0', '19','europe','1');
58
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (57, 'Gibraltar', 'GI', 'Gibraltar Pound', '', '', 'GIP', '0', '0', 'europe','1');
59
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (58, 'Ghana', 'GH', 'Ghanaian Cedi', '', '', 'GHC', '0', '0','africa','1');
60
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (59, 'Germany', 'DE', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
61
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (60, 'Georgia', 'GE', 'Georgian Lari', '', '', 'GEL', '0', '0','europe','1');
62
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (61, 'Gambia', 'GM', 'Gambian Dalasi', '', '', 'GMD', '0', '0','africa','1');
63
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (62, 'Gabon', 'GA', 'CFA Franc BEAC', '', '', 'XAF', '0', '0','africa','1');
64
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (63, 'French Southern Territories', 'TF', 'Euro', '€', '&#8364;', 'EUR', '0', '0','africa','1');
65
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (64, 'France', 'FR', 'Euro', '€', '&#8364;', 'EUR', '0', '0', 'europe','1');
66
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (65, 'Finland', 'FI', 'Euro', '€', '&#8364;', 'EUR', '0', '0', 'europe','1');
67
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (66, 'Fiji', 'FJ', 'Fiji Dollar', '$', '&#036;', 'FJD', '0', '0', 'asiapacific','1');
68
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (67, 'Faroe Islands', 'FO', 'Danish Krone', '', '', 'DKK', '0', '0' ,'europe','1');
69
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (68, 'Falkland Islands', 'FK', 'Falkland Islands Pound', '', '', 'FKP', '0', '0' ,'southamerica','1');
70
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (69, 'Ethiopia', 'ET', 'Ethiopian Birr', '', '', 'ETB', '0', '0','africa','1');
71
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (70, 'Estonia', 'EE', 'Estonian Kroon', '', '', 'EEK', '0', '0', 'europe','1');
72
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (71, 'Eritrea', 'ER', 'Eritrean Nakfa', '', '', 'ERN', '0', '0','africa','1');
73
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (72, 'Equatorial Guinea', 'GQ', 'CFA Franc BEAC', '', '', 'XAF', '0', '0','africa','1');
74
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (73, 'El Salvador', 'SV', 'El Salvador Colon', '', '', 'SVC', '0', '0','southamerica','1');
75
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (74, 'Egypt', 'EG', 'Egyptian Pound', '', '', 'EGP', '0', '0','africa','1');
76
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (75, 'Ecuador', 'EC', 'Ecuador Sucre', '', '', 'ECS', '0', '0','southamerica','1');
77
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (76, 'East Timor', 'TP', 'Timor Escudo', '', '', 'TPE', '0', '0','asiapacific','1');
78
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (77, 'Dominican Republic', 'DO', 'Dominican Peso', '', '', 'DOP', '0', '0','southamerica','1');
79
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (78, 'Dominica', 'DM', 'East Caribbean Dollar', '$', '&#036;', 'XCD', '0', '0','southamerica','1');
80
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (79, 'Djibouti', 'DJ', 'Djibouti Franc', '', '', 'DJF', '0', '0','africa','1');
81
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (80, 'Denmark', 'DK', 'Danish Krone', '', '', 'DKK', '0', '0','europe','1');
82
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (81, 'Democratic Republic of Congo', 'CD', 'Francs', '', '', 'CDF', '0', '0','africa','1');
83
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (82, 'Czech Rep.', 'CZ', 'Czech Koruna', '', '', 'CZK', '0', '0','europe','1');
84
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (83, 'Cyprus', 'CY', 'Cyprus Pound', '', '', 'CYP', '0', '0','europe','1');
85
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (84, 'Cuba', 'CU', 'Cuban Peso', '', '', 'CUP', '0', '0','northamerica','1');
86
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (85, 'Croatia', 'HR', 'Croatian Kuna', '', '', 'HRK', '0', '0','europe','1');
87
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (86, 'Costa Rica', 'CR', 'Costa Rican Colon', '', '', 'CRC', '0', '0','southamerica','1');
88
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (87, 'Cook Islands', 'CK', 'New Zealand Dollar', '$', '&#036;', 'NZD', '0', '0' ,'asiapacific','1');
89
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (88, 'Congo', 'CG', 'CFA Franc BEAC', '', '', 'XAF', '0', '0','africa','1');
90
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (89, 'Comoros', 'KM', 'Comoros Franc', '', '', 'KMF', '0', '0','africa','1');
91
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (90, 'Colombia', 'CO', 'Colombian Peso', '', '', 'COP', '0', '0','southamerica','1');
92
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (91, 'Cocos (Keeling) Islands', 'CC', 'Australian Dollar', '$', '&#036;', 'AUD', '0', '0','asiapacific','1');
93
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (92, 'Christmas Island', 'CX', 'Australian Dollar', '$', '&#036;', 'AUD', '0', '0','asiapacific','1');
94
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (93, 'Chile', 'CL', 'Chilean Peso', '', '', 'CLP', '0', '0','asiapacific','1');
95
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (94, 'China', 'CN', 'Yuan Renminbi', '', '', 'CNY', '0', '0' ,'asiapacific','1');
96
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (95, 'Chad', 'TD', 'CFA Franc BEAC', '', '', 'XAF', '0', '0','africa','1');
97
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (96, 'Central African Republic', 'CF', 'CFA Franc BEAC', '', '', 'XAF', '0', '0','africa','1');
98
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (97, 'Cayman Islands', 'KY', 'Cayman Islands Dollar', '$', '&#036;', 'KYD', '0', '0','northamerica','1');
99
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (98, 'Cape Verde', 'CV', 'Cape Verde Escudo', '', '', 'CVE', '0', '0','africa','1');
100
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (99, 'Cameroon', 'CM', 'CFA Franc BEAC', '', '', 'XAF', '0', '0','africa','1');
101
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (100, 'Canada', 'CA', 'Canadian Dollar', '$', '&#036;', 'CAD', '1', '','northamerica','1');
102
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (101, 'Cambodia', 'KH', 'Kampuchean Riel', '', '', 'KHR', '0', '0','asiapacific','1');
103
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (102, 'Burundi', 'BI', 'Burundi Franc', '', '', 'BIF', '0', '0','africa','1');
104
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (103, 'Burkina Faso', 'BF', 'CFA Franc BCEAO', '', '', 'XOF', '0', '0','africa','1');
105
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (104, 'Bulgaria', 'BG', 'Bulgarian Lev', '', '', 'BGL', '0', '0','europe','1');
106
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (105, 'Brunei Darussalam', 'BN', 'Brunei Dollar', '$', '&#036;', 'BND', '0', '0','asiapacific','1');
107
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (106, 'British Indian Ocean Territory', 'IO', 'US Dollar', '$', '&#036;', 'USD', '0', '0','asiapacific','1');
108
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (107, 'Brazil', 'BR', 'Brazilian Real', '', '', 'BRL', '0', '0','southamerica','1');
109
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (108, 'Bouvet Island', 'BV', 'Norwegian Krone', '', '', 'NOK', '0', '0','africa','1');
110
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (109, 'Botswana', 'BW', 'Botswana Pula', '', '', 'BWP', '0', '0','africa','1');
111
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (110, 'Bosnia-Herzegovina', 'BA', 'Marka', '', '', 'BAM', '0', '0','europe','1');
112
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (111, 'Bolivia', 'BO', 'Boliviano', '', '', 'BOB', '0', '0','southamerica','1');
113
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (112, 'Bhutan', 'BT', 'Bhutan Ngultrum', '', '', 'BTN', '0', '0','asiapacific','1');
114
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (113, 'Bermuda', 'BM', 'Bermudian Dollar', '$', '&#036;', 'BMD', '0', '0','europe','1');
115
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (114, 'Benin', 'BJ', 'CFA Franc BCEAO', '', '', 'XOF', '0', '0','africa','1');
116
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (115, 'Belize', 'BZ', 'Belize Dollar', '$', '&#036;', 'BZD', '0', '0','northamerica','1');
117
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (116, 'Belgium', 'BE', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
118
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (117, 'Belarus', 'BY', 'Belarussian Ruble', '', '', 'BYB', '0', '0','europe','1');
119
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (118, 'Barbados', 'BB', 'Barbados Dollar', '$', '&#036;', 'BBD', '0', '0','southamerica','1');
120
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (119, 'Bangladesh', 'BD', 'Bangladeshi Taka', '', '', 'BDT', '0', '0','asiapacific','1');
121
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (120, 'Bahrain', 'BH', 'Bahraini Dinar', '', '', 'BHD', '0', '0','asiapacific','1');
122
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (121, 'Bahamas', 'BS', 'Bahamian Dollar', '$', '&#036;', 'BSD', '0', '0','northamerica','1');
123
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (122, 'Azerbaijan', 'AZ', 'Azerbaijanian Manat', '', '', 'AZM', '0', '0','asiapacific','1');
124
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (123, 'Austria', 'AT', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
125
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (124, 'Aruba', 'AW', 'Aruban Guilder', '', '', 'AWG', '0', '0','southamerica','1');
126
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (125, 'Armenia', 'AM', 'Armenian Dram', '', '', 'AMD', '0', '0','asiapacific','1');
127
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (126, 'Argentina', 'AR', 'Argentine Peso', '', '', 'ARS', '0', '0','southamerica','1');
128
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (127, 'Antigua and Barbuda', 'AG', 'East Caribbean Dollar', '$', '&#036;', 'XCD', '0', '0','africa','1');
129
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (128, 'Antarctica', 'AQ', 'Dollar', '$', '&#036;', 'ATA', '0', '0','antarctica','1');
130
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (129, 'Anguilla', 'AI', 'East Caribbean Dollar', '$', '&#036;', 'XCD', '0', '0','northamerica','1');
131
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (130, 'Angola', 'AO', 'Angolan New Kwanza', '', '', 'AON', '0', '0','africa','1');
132
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (131, 'Andorra', 'AD', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
133
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (132, 'American Samoa', 'AS', 'US Dollar', '$', '&#036;', 'USD', '0', '0','asiapacific','1');
134
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (133, 'Algeria', 'DZ', 'Algerian Dinar', '', '', 'DZD', '0', '0','africa','1');
135
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (134, 'Albania', 'AL', 'Albanian Lek', '', '', 'ALL', '0', '0','europe','1');
136
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (135, 'Afghanistan', 'AF', 'Afghanistan Afghani', '', '', 'AFA', '0', '0','asiapacific','1');
137
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (136, 'USA', 'US', 'US Dollar', '$', '&#036;', 'USD', '1', '','northamerica','1');
138
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (137, 'Australia', 'AU', 'Australian Dollar', '$', '&#036;', 'AUD', '0', '0','asiapacific','1');
139
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (138, 'Great Britain', 'GB', 'Pound Sterling', '£', '&#163;', 'GBP', '0', '0','europe','1');
140
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (139, 'Mauritius', 'MU', 'Mauritius Rupee', '', '', 'MUR', '0', '0','africa','1');
141
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (140, 'Mayotte', 'YT', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
142
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (141, 'Mexico', 'MX', 'Mexican Nuevo Peso', '', '', 'MXN', '0', '0','northamerica','1');
143
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (142, 'Micronesia', 'FM', 'US Dollar', '$', '&#036;', 'USD', '0', '0','asiapacific','1');
144
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (143, 'Moldova', 'MD', 'Moldovan Leu', '', '', 'MDL', '0', '0','europe','1');
145
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (144, 'Monaco', 'MC', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
146
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (145, 'Mongolia', 'MN', 'Mongolian Tugrik', '', '', 'MNT', '0', '0','asiapacific','1');
147
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (146, 'Montserrat', 'MS', 'East Caribbean Dollar', '$', '&#036;', 'XCD', '0', '0','africa','1');
148
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (147, 'Morocco', 'MA', 'Moroccan Dirham', '', '', 'MAD', '0', '0','africa','1');
149
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (148, 'Mozambique', 'MZ', 'Mozambique Metical', '', '', 'MZM', '0', '0','africa','1');
150
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (149, 'Myanmar', 'MM', 'Myanmar Kyat', '', '', 'MMK', '0', '0','asiapacific','1');
151
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (150, 'Namibia', 'NA', 'Namibian Dollar', '$', '&#036;', 'NAD', '0', '0','africa','1');
152
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (151, 'Nauru', 'NR', 'Australian Dollar', '$', '&#036;', 'AUD', '0', '0','asiapacific','1');
153
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (152, 'Nepal', 'NP', 'Nepalese Rupee', '', '', 'NPR', '0', '0','asiapacific','1');
154
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (153, 'Netherlands', 'NL', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
155
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (154, 'Netherlands Antilles', 'AN', 'Netherlands Antillean Guilder', '', '', 'ANG', '0', '0','africa','1');
156
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (155, 'New Caledonia (French)', 'NC', 'CFP Franc', '', '', 'XPF', '0', '0','asiapacific','1');
157
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (156, 'New Zealand', 'NZ', 'New Zealand Dollar', '$', '&#036;', 'NZD', '0', '12.5','asiapacific','1');
158
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (157, 'Nicaragua', 'NI', 'Nicaraguan Cordoba Oro', '', '', 'NIC', '0', '0','northamerica','1');
159
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (158, 'Niger', 'NE', 'CFA Franc BCEAO', '', '', 'XOF', '0', '0','africa','1');
160
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (159, 'Nigeria', 'NG', 'Nigerian Naira', '', '', 'NGN', '0', '0','africa','1');
161
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (160, 'Niue', 'NU', 'New Zealand Dollar', '$', '&#036;', 'NZD', '0', '0','asiapacific','1');
162
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (161, 'Norfolk Island', 'NF', 'Australian Dollar', '$', '&#036;', 'AUD', '0', '0','asiapacific','1');
163
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (162, 'Northern Mariana Islands', 'MP', 'US Dollar', '$', '&#036;', 'USD', '0', '0','asiapacific','1');
164
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (163, 'Norway', 'NO', 'Norwegian Krone', '', '', 'NOK', '0', '0','europe','1');
165
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (164, 'Oman', 'OM', 'Omani Rial', '', '', 'OMR', '0', '0','asiapacific','1');
166
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (165, 'Pakistan', 'PK', 'Pakistan Rupee', '', '', 'PKR', '0', '0','asiapacific','1');
167
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (166, 'Palau', 'PW', 'US Dollar', '$', '&#036;', 'USD', '0', '0','asiapacific','1');
168
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (167, 'Panama', 'PA', 'Panamanian Balboa', '', '', 'PAB', '0', '0','southamerica','1');
169
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (168, 'Papua New Guinea', 'PG', 'Papua New Guinea Kina', '', '', 'PGK', '0', '0','asiapacific','1');
170
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (169, 'Paraguay', 'PY', 'Paraguay Guarani', '', '', 'PYG', '0', '0','southamerica','1');
171
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (170, 'Peru', 'PE', 'Peruvian Nuevo Sol', '', '', 'PEN', '0', '0','southamerica','1');
172
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (171, 'Philippines', 'PH', 'Philippine Peso', '', '', 'PHP', '0', '0','asiapacific','1');
173
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (172, 'Pitcairn Island', 'PN', 'New Zealand Dollar', '$', '&#036;', 'NZD', '0', '0','asiapacific','1');
174
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (173, 'Poland', 'PL', 'Polish Zloty', '', '', 'PLN', '0', '0','europe','1');
175
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (174, 'Polynesia (French)', 'PF', 'CFP Franc', '', '', 'XPF', '0', '0','asiapacific','1');
176
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (175, 'Portugal', 'PT', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
177
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (176, 'Puerto Rico', 'PR', 'US Dollar', '$', '&#036;', 'USD', '0', '0','northamerica','1');
178
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (177, 'Qatar', 'QA', 'Qatari Rial', '', '', 'QAR', '0', '0','asiapacific','1');
179
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (178, 'Reunion (French)', 'RE', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
180
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (179, 'Romania', 'RO', 'Romanian Leu', '', '', 'RON', '0', '0','europe','1');
181
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (180, 'Russia', 'RU', 'Russian Ruble', '', '', 'RUR', '0', '0','europe','1');
182
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (181, 'Rwanda', 'RW', 'Rwanda Franc', '', '', 'RWF', '0', '0','africa','1');
183
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (182, 'Saint Helena', 'SH', 'St. Helena Pound', '', '', 'SHP', '0', '0','africa','1');
184
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (183, 'Saint Kitts & Nevis Anguilla', 'KN', 'East Caribbean Dollar', '$', '&#036;', 'XCD', '0', '0','northamerica','1');
185
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (184, 'Saint Lucia', 'LC', 'East Caribbean Dollar', '$', '&#036;', 'XCD', '0', '0','northamerica','1');
186
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (185, 'Saint Pierre and Miquelon', 'PM', 'Euro', '€', '&#8364;', 'EUR', '0', '0','northamerica','1');
187
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (186, 'Saint Vincent & Grenadines', 'VC', 'East Caribbean Dollar', '$', '&#036;', 'XCD', '0', '0','northamerica','1');
188
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (187, 'Samoa', 'WS', 'Samoan Tala', '', '', 'WST', '0', '0','asiapacific','1');
189
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (188, 'San Marino', 'SM', 'Italian Lira', '', '', 'ITL', '0', '0','europe','1');
190
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (189, 'Sao Tome and Principe', 'ST', 'Dobra', '', '', 'STD', '0', '0','africa','1');
191
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (190, 'Saudi Arabia', 'SA', 'Saudi Riyal', '', '', 'SAR', '0', '0','asiapacific','1');
192
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (191, 'Senegal', 'SN', 'CFA Franc BCEAO', '', '', 'XOF', '0', '0','africa','1');
193
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (192, 'Seychelles', 'SC', 'Seychelles Rupee', '', '', 'SCR', '0', '0','africa','1');
194
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (193, 'Sierra Leone', 'SL', 'Sierra Leone Leone', '', '', 'SLL', '0', '0','africa','1');
195
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (194, 'Singapore', 'SG', 'Singapore Dollar', '$', '&#036;', 'SGD', '0', '0','asiapacific','1');
196
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (195, 'Slovakia', 'SK', 'Slovak Koruna', '', '', 'SKK', '0', '0','europe','1');
197
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (196, 'Slovenia', 'SI', 'Slovenian Tolar', '', '', 'SIT', '0', '0','europe','1');
198
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (197, 'Solomon Islands', 'SB', 'Solomon Islands Dollar', '$', '&#036;', 'SBD', '0', '0','asiapacific','1');
199
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (198, 'Somalia', 'SO', 'Somali Shilling', '', '', 'SOD', '0', '0','africa','1');
200
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (199, 'South Africa', 'ZA', 'South African Rand', '', '', 'ZAR', '0', '0','africa','1');
201
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (200, 'South Georgia & South Sandwich Islands', 'GS', 'Pound Sterling', '£', '&#163;', 'GBP', '0', '0','southamerica','1');
202
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (201, 'Spain', 'ES', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
203
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (202, 'Sri Lanka', 'LK', 'Sri Lanka Rupee', '', '', 'LKR', '0', '0','asiapacific','1');
204
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (203, 'Sudan', 'SD', 'Sudanese Dinar', '', '', 'SDD', '0', '0','asiapacific','1');
205
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (204, 'Suriname', 'SR', 'Surinam Guilder', '', '', 'SRG', '0', '0','southamerica','1');
206
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (205, 'Svalbard and Jan Mayen Islands', 'SJ', 'Norwegian Krone', '', '', 'NOK', '0', '0','','1');
207
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (206, 'Swaziland', 'SZ', 'Swaziland Lilangeni', '', '', 'SZL', '0', '0','europe','1');
208
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (207, 'Sweden', 'SE', 'Swedish Krona', '', '', 'SEK', '0', '0','europe','1');
209
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (208, 'Switzerland', 'CH', 'Swiss Franc', '', '', 'CHF', '0', '0','europe','1');
210
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (209, 'Syria', 'SY', 'Syrian Pound', '', '', 'SYP', '0', '0','europe','1');
211
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (210, 'Taiwan', 'TW', 'Taiwan Dollar', '$', '&#036;', 'TWD', '0', '0','asiapacific','1');
212
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (211, 'Tajikistan', 'TJ', 'Tajik Ruble', '', '', 'TJR', '0', '0','asiapacific','1');
213
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (212, 'Tanzania', 'TZ', 'Tanzanian Shilling', '', '', 'TZS', '0', '0','africa','1');
214
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (213, 'Thailand', 'TH', 'Thai Baht', '', '', 'THB', '0', '0','asiapacific','1');
215
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (214, 'Togo', 'TG', 'CFA Franc BCEAO', '', '', 'XOF', '0', '0','africa','1');
216
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (215, 'Tokelau', 'TK', 'New Zealand Dollar', '$', '&#036;', 'NZD', '0', '0','asiapacific','1');
217
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (216, 'Tonga', 'TO', 'Tongan Pa&#699;anga', '', '', 'TOP', '0', '0','asiapacific','1');
218
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (217, 'Trinidad and Tobago', 'TT', 'Trinidad and Tobago Dollar', '$', '&#036;', 'TTD', '0', '0','africa','1');
219
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (218, 'Tunisia', 'TN', 'Tunisian Dollar', '$', '&#036;', 'TND', '0', '0','africa','1');
220
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (219, 'Turkey', 'TR', 'Turkish Lira', '', '', 'TRL', '0', '0','asiapacific','1');
221
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (220, 'Turkmenistan', 'TM', 'Manat', '', '', 'TMM', '0', '0','asiapacific','1');
222
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (221, 'Turks and Caicos Islands', 'TC', 'US Dollar', '$', '&#036;', 'USD', '0', '0', 'northamerica','1');
223
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (222, 'Tuvalu', 'TV', 'Australian Dollar', '$', '&#036;', 'AUD', '0', '0','asiapacific','1');
224
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (223, 'U.K.', 'UK', 'Pound Sterling', '£', '&#163;', 'GBP', '0', '17.5','europe','1');
225
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (224, 'Uganda', 'UG', 'Uganda Shilling', '', '', 'UGS', '0', '0','africa','1');
226
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (225, 'Ukraine', 'UA', 'Ukraine Hryvnia', '', '', 'UAG', '0', '0','europe','1');
227
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (226, 'United Arab Emirates', 'AE', 'Arab Emirates Dirham', '', '', 'AED', '0', '0','asiapacific','1');
228
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (227, 'Uruguay', 'UY', 'Uruguayan Peso', '', '', 'UYP', '0', '0','southamerica','1');
229
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (228, 'USA Minor Outlying Islands', 'UM', 'US Dollar', '$', '&#036;', 'USD', '0', '0','','1');
230
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (229, 'Uzbekistan', 'UZ', 'Uzbekistan Sum', '', '', 'UZS', '0', '0','asiapacific','1');
231
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (230, 'Vanuatu', 'VU', 'Vanuatu Vatu', '', '', 'VUV', '0', '0','asiapacific','1');
232
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (231, 'Vatican', 'VA', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');
233
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (232, 'Venezuela', 'VE', 'Venezuelan Bolivar', '', '', 'BsF', '0', '0','asiapacific','1');
234
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (233, 'Vietnam', 'VN', 'Vietnamese Dong', '', '', 'VND', '0', '0','asiapacific','1');
235
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (234, 'Virgin Islands (British)', 'VG', 'US Dollar', '$', '&#036;', 'USD', '0', '0','northamerica','1');
236
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (235, 'Virgin Islands (USA)', 'VI', 'US Dollar', '$', '&#036;', 'USD', '0', '0','northamerica','1');
237
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (236, 'Wallis and Futuna Islands', 'WF', 'CFP Franc', '', '', 'XPF', '0', '0','asiapacific','1');
238
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (237, 'Western Sahara', 'EH', 'Moroccan Dirham', '', '', 'MAD', '0', '0','africa','1');
239
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (238, 'Yemen', 'YE', 'Yemeni Rial', '', '', 'YER', '0', '0','asiapacific','1');
240
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (239, 'Yugoslavia', 'YU', 'Yugoslav New Dinar', '', '', 'YUN', '0', '0','europe','1');
241
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (240, 'Zambia', 'ZM', 'Zambian Kwacha', '', '', 'ZMK', '0', '0','africa','1');
242
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (241, 'Zimbabwe', 'ZW', 'Zimbabwe Dollar', '$', '&#036;', 'ZWD', '0', '0','africa','1');
243
+ INSERT INTO `".WPSC_TABLE_CURRENCY_LIST."` VALUES (242, 'Deutschland', 'DE', 'Euro', '€', '&#8364;', 'EUR', '0', '0','europe','1');";
display-coupons.php ADDED
@@ -0,0 +1,581 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function wpsc_display_coupons_page(){
3
+ global $wpdb;
4
+ if(isset($_POST) && is_array($_POST) && !empty($_POST)) {
5
+
6
+ if(isset($_POST['add_coupon']) && ($_POST['add_coupon'] == 'true')&& (!($_POST['is_edit_coupon'] == 'true'))) {
7
+ $coupon_code = $_POST['add_coupon_code'];
8
+ $discount = (double)$_POST['add_discount'];
9
+ // cast to boolean, then integer, prevents the value from being anything but 1 or 0
10
+ $discount_type = (int)$_POST['add_discount_type'];
11
+ $use_once = (int)(bool)$_POST['add_use-once'];
12
+ $every_product = (int)(bool)$_POST['add_every_product'];
13
+ // $start_date = date("Y-m-d H:i:s", mktime(0, 0, 0, (int)$_POST['add_start']['month'], (int)$_POST['add_start']['day'], (int)$_POST['add_start']['year']));
14
+ // $end_date = date("Y-m-d H:i:s", mktime(0, 0, 0, (int)$_POST['add_end']['month'], (int)$_POST['add_end']['day'], (int)$_POST['add_end']['year']));
15
+ $start_date = date('Y-m-d', strtotime($_POST['add_start'])) . " 00:00:00";
16
+ $end_date = date('Y-m-d', strtotime($_POST['add_end'])) . " 00:00:00";
17
+ $rules = $_POST['rules'];
18
+ foreach ($rules as $key => $rule) {
19
+ foreach ($rule as $k => $r) {
20
+ $new_rule[$k][$key] = $r;
21
+ }
22
+ }
23
+ foreach($new_rule as $key => $rule) {
24
+ if ($rule['value'] == '') {
25
+ unset($new_rule[$key]);
26
+ }
27
+ }
28
+ if($wpdb->query("INSERT INTO `".WPSC_TABLE_COUPON_CODES."` ( `coupon_code` , `value` , `is-percentage` , `use-once` , `is-used` , `active` , `every_product` , `start` , `expiry`, `condition` ) VALUES ( '$coupon_code', '$discount', '$discount_type', '$use_once', '0', '1', '$every_product', '$start_date' , '$end_date' , '".serialize($new_rule)."' );")) {
29
+ echo "<div class='updated'><p align='center'>".__('Thanks, the coupon has been added.', 'wpsc')."</p></div>";
30
+ }
31
+ }
32
+ if(isset($_POST['is_edit_coupon']) && ($_POST['is_edit_coupon'] == 'true') && !(isset($_POST['delete_condition'])) && !(isset($_POST['submit_condition']))) {
33
+ //exit('<pre>'.print_r($_POST, true).'</pre>');
34
+ foreach((array)$_POST['edit_coupon'] as $coupon_id => $coupon_data) {
35
+ //echo('<pre>'.print_r($coupon_data,true)."</pre>");
36
+ $coupon_id = (int)$coupon_id;
37
+ // convert dates to a form that compares well and can be inserted into the database
38
+ // $coupon_data['start'] = date("Y-m-d H:i:s", mktime(0, 0, 0, (int)$coupon_data['start']['month'], (int)$coupon_data['start']['day'], (int)$coupon_data['start']['year']));
39
+ // $coupon_data['expiry'] = date("Y-m-d H:i:s", mktime(0, 0, 0, (int)$coupon_data['expiry']['month'], (int)$coupon_data['expiry']['day'], (int)$coupon_data['expiry']['year']));
40
+ $coupon_data['start'] = $coupon_data['start']." 00:00:00";
41
+ $coupon_data['expiry'] = $coupon_data['expiry']." 00:00:00";
42
+ $check_values = $wpdb->get_row("SELECT `id`, `coupon_code`, `value`, `is-percentage`, `use-once`, `active`, `start`, `expiry` FROM `".WPSC_TABLE_COUPON_CODES."` WHERE `id` = '$coupon_id'", ARRAY_A);
43
+ //sort both arrays to make sure that if they contain the same stuff, that they will compare to be the same, may not need to do this, but what the heck
44
+ // exit('<pre>'.print_r($coupon_data, true).'</pre>');
45
+ ksort($check_values); ksort($coupon_data);
46
+
47
+ if($check_values != $coupon_data) {
48
+ $insert_array = array();
49
+ foreach($coupon_data as $coupon_key => $coupon_value) {
50
+ if(($coupon_key == "submit_coupon") || ($coupon_key == "delete_coupon")) {
51
+ continue;
52
+ }
53
+ if($coupon_value != $check_values[$coupon_key]) {
54
+ $insert_array[] = "`$coupon_key` = '$coupon_value'";
55
+ }
56
+ }
57
+ //if(in_array(mixed needle, array haystack [, bool strict]))
58
+ //exit("<pre>".print_r($conditions,true)."</pre>");
59
+ if(count($insert_array) > 0) {
60
+ $wpdb->query("UPDATE `".WPSC_TABLE_COUPON_CODES."` SET ".implode(", ", $insert_array)." WHERE `id` = '$coupon_id' LIMIT 1;");
61
+ }
62
+ unset($insert_array);
63
+ $rules = $_POST['rules'];
64
+
65
+ foreach ((array)$rules as $key => $rule) {
66
+ foreach ($rule as $k => $r) {
67
+ $new_rule[$k][$key] = $r;
68
+ }
69
+ }
70
+ foreach((array)$new_rule as $key => $rule) {
71
+ if ($rule['value'] == '') {
72
+ unset($new_rule[$key]);
73
+ }
74
+ }
75
+
76
+ /*
77
+ $sql ="UPDATE `".WPSC_TABLE_COUPON_CODES."` SET `condition`='".serialize($new_rule)."' WHERE `id` = '$coupon_id' LIMIT 1";
78
+ $wpdb->query($sql);
79
+
80
+ */
81
+ $conditions = $wpdb->get_var("SELECT `condition` FROM `".WPSC_TABLE_COUPON_CODES."` WHERE `id` = '".(int)$_POST['coupon_id']."' LIMIT 1");
82
+ $conditions=unserialize($conditions);
83
+ $new_cond=array();
84
+ if($_POST['rules']['value'][0] != ''){
85
+ $new_cond['property']=$_POST['rules']['property'][0];
86
+ $new_cond['logic']=$_POST['rules']['logic'][0];
87
+ $new_cond['value']=$_POST['rules']['value'][0];
88
+ $conditions []= $new_cond;
89
+ }
90
+ $sql ="UPDATE `".WPSC_TABLE_COUPON_CODES."` SET `condition`='".serialize($conditions)."' WHERE `id` = '".(int)$_POST['coupon_id']."' LIMIT 1";
91
+ $wpdb->query($sql);
92
+
93
+ }
94
+
95
+ if($coupon_data['delete_coupon'] != '') {
96
+ $wpdb->query("DELETE FROM `".WPSC_TABLE_COUPON_CODES."` WHERE `id` = '$coupon_id' LIMIT 1;");
97
+ }
98
+ }
99
+ }
100
+ if(isset($_POST['delete_condition'])){
101
+
102
+ $conditions = $wpdb->get_var("SELECT `condition` FROM `".WPSC_TABLE_COUPON_CODES."` WHERE `id` = '".(int)$_POST['coupon_id']."' LIMIT 1");
103
+ $conditions=unserialize($conditions);
104
+
105
+ unset($conditions[(int)$_POST['delete_condition']]);
106
+
107
+ //$conditions = array_values($conditions);
108
+ // exit('<pre>'.print_r($_POST, true).'</pre><pre>'.print_r($conditions, true).'</pre>'.$sql);
109
+ $sql ="UPDATE `".WPSC_TABLE_COUPON_CODES."` SET `condition`='".serialize($conditions)."' WHERE `id` = '".(int)$_POST['coupon_id']."' LIMIT 1";
110
+
111
+ $wpdb->query($sql);
112
+ }
113
+ if(isset($_POST['submit_condition'])){
114
+ $conditions = $wpdb->get_var("SELECT `condition` FROM `".WPSC_TABLE_COUPON_CODES."` WHERE `id` = '".(int)$_POST['coupon_id']."' LIMIT 1");
115
+ $conditions=unserialize($conditions);
116
+ $new_cond=array();
117
+ $new_cond['property']=$_POST['rules']['property'][0];
118
+ $new_cond['logic']=$_POST['rules']['logic'][0];
119
+ $new_cond['value']=$_POST['rules']['value'][0];
120
+ $conditions []= $new_cond;
121
+ $sql ="UPDATE `".WPSC_TABLE_COUPON_CODES."` SET `condition`='".serialize($conditions)."' WHERE `id` = '".(int)$_POST['coupon_id']."' LIMIT 1";
122
+ $wpdb->query($sql);
123
+ }
124
+ if($_POST['change-settings'] == 'true') {
125
+ if($_POST['wpsc_also_bought'] == 1) {
126
+ update_option('wpsc_also_bought', 1);
127
+ } else {
128
+ update_option('wpsc_also_bought', 0);
129
+ }
130
+
131
+ if($_POST['display_find_us'] == 'on') {
132
+ update_option('display_find_us', 1);
133
+ } else {
134
+ update_option('display_find_us', 0);
135
+ }
136
+
137
+ if($_POST['wpsc_share_this'] == 1) {
138
+ update_option('wpsc_share_this', 1);
139
+ } else {
140
+ update_option('wpsc_share_this', 0);
141
+ }
142
+ }
143
+ }
144
+
145
+ /*<strong><?php echo TXT_WPSC_ADD_COUPON; ?></strong>*/
146
+ ?>
147
+ <script type='text/javascript'>
148
+ jQuery(".pickdate").datepicker();
149
+ /* jQuery datepicker selector */
150
+ if (typeof jQuery('.pickdate').datepicker != "undefined") {
151
+ jQuery('.pickdate').datepicker({ dateFormat: 'yy-mm-dd' });
152
+ }
153
+ </script>
154
+ <div class="wrap">
155
+ <h2><?php echo __('Coupons', 'wpsc');?></h2>
156
+ <div style='margin:0px;' class="tablenav wpsc_admin_nav">
157
+ <!-- <a target="_blank" href="http://www.instinct.co.nz/e-commerce/marketing/" class="about_this_page"><span>About This Page</span> </a> -->
158
+
159
+ <form action='' method='post'>
160
+ <input id='add_coupon_box_link' type='submit' class=' add_item_link button' name='add_coupon_button' value='<?php echo __('Create Coupon', 'wpsc');?>' onclick='return show_status_box("add_coupon_box","add_coupon_box_link");return false;' />
161
+ </form>
162
+ </div>
163
+ <!-- <form name='edit_coupon' method='post' action=''> -->
164
+ <table style="width: 100%;">
165
+ <tr>
166
+ <td id="coupon_data">
167
+
168
+
169
+ <div id='add_coupon_box' class='modify_coupon' >
170
+ <form name='add_coupon' method='post' action=''>
171
+ <table class='add-coupon' >
172
+ <tr>
173
+ <th>
174
+ <?php echo __('Coupon Code', 'wpsc'); ?>
175
+ </th>
176
+ <th>
177
+ <?php echo __('Discount', 'wpsc'); ?>
178
+ </th>
179
+ <th>
180
+ <?php echo __('Start', 'wpsc'); ?>
181
+ </th>
182
+ <th>
183
+ <?php echo __('Expiry', 'wpsc'); ?>
184
+ </th>
185
+ <th>
186
+ <?php echo __('Use Once', 'wpsc'); ?>
187
+ </th>
188
+ <th>
189
+ <?php echo __('Active', 'wpsc'); ?>
190
+ </th>
191
+ <!--
192
+ <th>
193
+ <?php echo __('Apply On All Products', 'wpsc'); ?>
194
+ </th>
195
+ -->
196
+ </tr>
197
+ <tr>
198
+ <td>
199
+ <input type='text' value='' name='add_coupon_code' />
200
+ </td>
201
+ <td>
202
+ <input type='text' value='' size='3' name='add_discount' />
203
+ <select name='add_discount_type'>
204
+ <option value='0' >$</option>
205
+ <option value='1' >%</option>
206
+ <option value='2' >Free shipping</option>
207
+ </select>
208
+ </td>
209
+ <td>
210
+ <input type='text' class='pickdate' size='11' name='add_start' />
211
+ <!--<select name='add_start[day]'>
212
+ <?php
213
+ for($i = 1; $i <=31; ++$i) {
214
+ $selected = '';
215
+ if($i == date("d")) { $selected = "selected='selected'"; }
216
+ echo "<option $selected value='$i'>$i</option>";
217
+ }
218
+ ?>
219
+ </select>
220
+ <select name='add_start[month]'>
221
+ <?php
222
+ for($i = 1; $i <=12; ++$i) {
223
+ $selected = '';
224
+ if($i == (int)date("m")) { $selected = "selected='selected'"; }
225
+ echo "<option $selected value='$i'>".date("M",mktime(0, 0, 0, $i, 1, date("Y")))."</option>";
226
+ }
227
+ ?>
228
+ </select>
229
+ <select name='add_start[year]'>
230
+ <?php
231
+ for($i = date("Y"); $i <= (date("Y") +12); ++$i) {
232
+ $selected = '';
233
+ if($i == date("Y")) { $selected = "selected='true'"; }
234
+ echo "<option $selected value='$i'>".$i."</option>";
235
+ }
236
+ ?>
237
+ </select>-->
238
+ </td>
239
+ <td>
240
+ <input type='text' class='pickdate' size='11' name='add_end'>
241
+ <!--<select name='add_end[day]'>
242
+ <?php
243
+ for($i = 1; $i <=31; ++$i) {
244
+ $selected = '';
245
+ if($i == date("d")) { $selected = "selected='true'"; }
246
+ echo "<option $selected value='$i'>$i</option>";
247
+ }
248
+ ?>
249
+ </select>
250
+ <select name='add_end[month]'>
251
+ <?php
252
+ for($i = 1; $i <=12; ++$i) {
253
+ $selected = '';
254
+ if($i == (int)date("m")) { $selected = "selected='true'"; }
255
+ echo "<option $selected value='$i'>".date("M",mktime(0, 0, 0, $i, 1, date("Y")))."</option>";
256
+ }
257
+ ?>
258
+ </select>
259
+ <select name='add_end[year]'>
260
+ <?php
261
+ for($i = date("Y"); $i <= (date("Y") +12); ++$i) {
262
+ $selected = '';
263
+ if($i == (date("Y")+1)) { $selected = "selected='true'"; }
264
+ echo "<option $selected value='$i'>".$i."</option>";
265
+ }
266
+ ?>
267
+ </select>-->
268
+ </td>
269
+ <td>
270
+ <input type='hidden' value='0' name='add_use-once' />
271
+ <input type='checkbox' value='1' name='add_use-once' />
272
+ </td>
273
+ <td>
274
+ <input type='hidden' value='0' name='add_active' />
275
+ <input type='checkbox' value='1' checked='checked' name='add_active' />
276
+ </td>
277
+
278
+ <td>
279
+
280
+ <input type='hidden' value='true' name='add_coupon' />
281
+ <input type='submit' value='Add Coupon' name='submit_coupon' class='button-primary' />
282
+ </td>
283
+ </tr>
284
+ <tr><td colspan="2">
285
+ <input type='hidden' value='0' name='add_every_product' />
286
+ <input type="checkbox" value="1" name='add_every_product'/>
287
+ <?php _e('Apply On All Products', 'wpsc')?></td></tr>
288
+
289
+ <tr><td colspan='3'><span id='table_header'>Conditions</span></td></tr>
290
+ <tr><td colspan="8">
291
+ <div class='coupon_condition' >
292
+ <div class='first_condition'>
293
+ <select class="ruleprops" name="rules[property][]">
294
+ <option value="item_name" rel="order">Item name</option>
295
+ <option value="item_quantity" rel="order">Item quantity</option>
296
+ <option value="total_quantity" rel="order">Total quantity</option>
297
+ <option value="subtotal_amount" rel="order">Subtotal amount</option>
298
+ <?php echo apply_filters( 'wpsc_coupon_rule_property_options', '' ); ?>
299
+ </select>
300
+ <select name="rules[logic][]">
301
+ <option value="equal">Is equal to</option>
302
+ <option value="greater">Is greater than</option>
303
+ <option value="less">Is less than</option>
304
+ <option value="contains">Contains</option>
305
+ <option value="not_contain">Does not contain</option>
306
+ <option value="begins">Begins with</option>
307
+ <option value="ends">Ends with</option>
308
+ <option value="category">In Category</option>
309
+ </select>
310
+ <span>
311
+ <input type="text" name="rules[value][]"/>
312
+ </span>
313
+ <span>
314
+ <script>
315
+ var coupon_number=1;
316
+ function add_another_property(this_button){
317
+ var new_property='<div class="coupon_condition">\n'+
318
+ '<div><img height="16" width="16" class="delete" alt="Delete" src="<?php echo WPSC_URL; ?>/images/cross.png" onclick="jQuery(this).parent().remove();"/> \n'+
319
+ '<select class="ruleprops" name="rules[property][]"> \n'+
320
+ '<option value="item_name" rel="order">Item name</option> \n'+
321
+ '<option value="item_quantity" rel="order">Item quantity</option>\n'+
322
+ '<option value="total_quantity" rel="order">Total quantity</option>\n'+
323
+ '<option value="subtotal_amount" rel="order">Subtotal amount</option>\n'+
324
+ '<?php echo apply_filters( 'wpsc_coupon_rule_property_options', '' ); ?>'+
325
+ '</select> \n'+
326
+ '<select name="rules[logic][]"> \n'+
327
+ '<option value="equal">Is equal to</option> \n'+
328
+ '<option value="greater">Is greater than</option> \n'+
329
+ '<option value="less">Is less than</option> \n'+
330
+ '<option value="contains">Contains</option> \n'+
331
+ '<option value="not_contain">Does not contain</option> \n'+
332
+ '<option value="begins">Begins with</option> \n'+
333
+ '<option value="ends">Ends with</option> \n'+
334
+ '</select> \n'+
335
+ '<span> \n'+
336
+ '<input type="text" name="rules[value][]"/> \n'+
337
+ '</span> \n'+
338
+ '</div> \n'+
339
+ '</div> ';
340
+
341
+ jQuery('.coupon_condition :first').after(new_property);
342
+ coupon_number++;
343
+ }
344
+ </script>
345
+
346
+ </span>
347
+
348
+ </div>
349
+ </div>
350
+ </tr>
351
+ <tr><td> <a class="wpsc_coupons_condition_add" onclick="add_another_property(jQuery(this));">
352
+ <?php _e('Add New Condition','wpsc'); ?>
353
+ </a></td></tr>
354
+ </table>
355
+ <br />
356
+ </form>
357
+ </div>
358
+
359
+ <?php
360
+ $num = 0;
361
+
362
+ echo "<table class='coupon-list'>\n\r";
363
+ echo " <tr class='toprow'>\n\r";
364
+
365
+ echo " <th>\n\r";
366
+ echo __('Coupon Code', 'wpsc');
367
+ echo " </th>\n\r";
368
+
369
+ echo " <th>\n\r";
370
+ echo __('Discount', 'wpsc');
371
+ echo " </th>\n\r";
372
+
373
+ echo " <th>\n\r";
374
+ echo __('Start', 'wpsc');
375
+ echo " </th>\n\r";
376
+
377
+ echo " <th>\n\r";
378
+ echo __('Expiry', 'wpsc');
379
+ echo " </th>\n\r";
380
+
381
+ echo " <th>\n\r";
382
+ echo __('Active', 'wpsc');
383
+ echo " </th>\n\r";
384
+
385
+ echo " <th>\n\r";
386
+ echo __('Apply On All Products', 'wpsc');
387
+ echo " </th>\n\r";
388
+
389
+ echo " <th>\n\r";
390
+ echo __('Edit', 'wpsc');
391
+ echo " </th>\n\r";
392
+
393
+ $i=0;
394
+ $coupon_data = $wpdb->get_results("SELECT * FROM `".WPSC_TABLE_COUPON_CODES."` ",ARRAY_A);
395
+ //exit('Coupon Data<pre>'.print_r($coupon_data, true).'</pre>');
396
+ foreach((array)$coupon_data as $coupon) {
397
+ $alternate = "";
398
+ $i++;
399
+ if(($i % 2) != 0) {
400
+ $alternate = "class='alt'";
401
+ }
402
+ echo "<tr $alternate>\n\r";
403
+
404
+ echo " <td>\n\r";
405
+ echo $coupon['coupon_code'];
406
+ echo " </td>\n\r";
407
+
408
+ echo " <td>\n\r";
409
+ if($coupon['is-percentage'] == 1){
410
+ echo $coupon['value']."%";
411
+ } else {
412
+ echo nzshpcrt_currency_display($coupon['value'], 1);
413
+ }
414
+ echo " </td>\n\r";
415
+
416
+ echo " <td>\n\r";
417
+ echo date("d/m/Y",strtotime($coupon['start']));
418
+ echo " </td>\n\r";
419
+
420
+ echo " <td>\n\r";
421
+ echo date("d/m/Y",strtotime($coupon['expiry']));
422
+ echo " </td>\n\r";
423
+
424
+ echo " <td>\n\r";
425
+ switch($coupon['active']) {
426
+ case 1:
427
+ echo "<img src='".WPSC_URL."/images/yes_stock.gif' alt='' title='' />";
428
+ break;
429
+
430
+ case 0: default:
431
+ echo "<img src='".WPSC_URL."/images/no_stock.gif' alt='' title='' />";
432
+ break;
433
+ }
434
+ echo " </td>\n\r";
435
+
436
+ echo " <td>\n\r";
437
+ switch($coupon['every_product']) {
438
+ case 1:
439
+ echo "<img src='".WPSC_URL."/images/yes_stock.gif' alt='' title='' />";
440
+ break;
441
+
442
+ case 0: default:
443
+ echo "<img src='".WPSC_URL."/images/no_stock.gif' alt='' title='' />";
444
+ break;
445
+ }
446
+ echo " </td>\n\r";
447
+
448
+
449
+
450
+ echo " <td>\n\r";
451
+ echo "<a title='".$coupon['coupon_code']."' href='#' rel='".$coupon['id']."' class='wpsc_edit_coupon' >".__('Edit', 'wpsc')."</a>";
452
+ echo " </td>\n\r";
453
+
454
+ echo " </tr>\n\r";
455
+ echo " <tr>\n\r";
456
+ echo " <td colspan='7' style='padding-left:0px;'>\n\r";
457
+ // $status_style = "style='display: block;'";
458
+ echo " <div id='coupon_box_".$coupon['id']."' class='displaynone modify_coupon' >\n\r";
459
+ coupon_edit_form($coupon);
460
+ echo " </div>\n\r";
461
+ echo " </td>\n\r";
462
+ echo " </tr>\n\r";
463
+ }
464
+ echo "</table>\n\r";
465
+ ?>
466
+ <p style='margin: 0px 0px 5px 0px;'>
467
+ <?php _e('<strong>Note:</strong> Due to a current limitation of PayPal, if your user makes a purchase and uses a coupon, we can not send a list of items through to paypal for processing. Rather, we must send the total amount of the purchase, so that within PayPal the user who purchases a product will see your shop name and the total amount of their purchase.', 'wpsc');?>
468
+ </p>
469
+ </td>
470
+ </tr>
471
+ </table>
472
+ <!-- <input type='hidden' value='true' name='is_edit_coupon' /> -->
473
+ <!-- </form> -->
474
+
475
+ <br />
476
+
477
+
478
+
479
+ <h2><?php echo __('Marketing Settings', 'wpsc');?></h2>
480
+
481
+ <form name='cart_options' method='POST' action=''>
482
+ <input type='hidden' value='true' name='change-settings' />
483
+ <table>
484
+ <tr>
485
+ <td>
486
+ <?php echo __('Display Cross Sales', 'wpsc');?>:
487
+ </td>
488
+ <td>
489
+ <?php
490
+ $wpsc_also_bought = get_option('wpsc_also_bought');
491
+ $wpsc_also_bought1 = "";
492
+ $wpsc_also_bought2 = "";
493
+ switch($wpsc_also_bought) {
494
+ case 0:
495
+ $wpsc_also_bought2 = "checked ='true'";
496
+ break;
497
+
498
+ case 1:
499
+ $wpsc_also_bought1 = "checked ='true'";
500
+ break;
501
+ }
502
+ ?>
503
+ <input type='radio' value='1' name='wpsc_also_bought' id='wpsc_also_bought1' <?php echo $wpsc_also_bought1; ?> /> <label for='wpsc_also_bought1'><?php echo __('Yes', 'wpsc');?></label> &nbsp;
504
+ <input type='radio' value='0' name='wpsc_also_bought' id='wpsc_also_bought2' <?php echo $wpsc_also_bought2; ?> /> <label for='wpsc_also_bought2'><?php echo __('No', 'wpsc');?></label>
505
+ </td>
506
+ </tr>
507
+
508
+ <tr>
509
+ <td>
510
+ <?php echo __('Show Share This (Social Bookmarks)', 'wpsc');?>:
511
+ </td>
512
+ <td>
513
+ <?php
514
+ $wpsc_share_this = get_option('wpsc_share_this');
515
+ $wpsc_share_this1 = "";
516
+ $wpsc_share_this2 = "";
517
+ switch($wpsc_share_this) {
518
+ case 0:
519
+ $wpsc_share_this2 = "checked ='true'";
520
+ break;
521
+
522
+ case 1:
523
+ $wpsc_share_this1 = "checked ='true'";
524
+ break;
525
+ }
526
+ ?>
527
+ <input type='radio' value='1' name='wpsc_share_this' id='wpsc_share_this1' <?php echo $wpsc_share_this1; ?> /> <label for='wpsc_share_this1'><?php echo __('Yes', 'wpsc');?></label> &nbsp;
528
+ <input type='radio' value='0' name='wpsc_share_this' id='wpsc_share_this2' <?php echo $wpsc_share_this2; ?> /> <label for='wpsc_share_this2'><?php echo __('No', 'wpsc');?></label>
529
+ </td>
530
+ </tr>
531
+ <tr>
532
+ <td>
533
+ <?php echo __('Display How Customer Found Us Survey', 'wpsc')?>
534
+ </td>
535
+ <?php
536
+ $display_find_us = get_option('display_find_us');
537
+ if ($display_find_us=='1') {
538
+ $display_find_us1 = "checked ='checked'";
539
+ }
540
+ ?>
541
+ <td>
542
+ <input <?php echo $display_find_us1; ?> type='checkbox' name='display_find_us'>
543
+ </td>
544
+ </tr>
545
+ <tr>
546
+ <td>
547
+
548
+ </td>
549
+ <td>
550
+ <input type='submit' value='<?php echo __('Submit', 'wpsc');?>' name='form_submit' />
551
+ </td>
552
+ </tr>
553
+ </table>
554
+ </form>
555
+
556
+ <h2><?php echo __('RSS Address', 'wpsc');?></h2>
557
+ <table>
558
+ <tr>
559
+ <td colspan='2'>
560
+ <?php echo __('<strong>Note:</strong> Not only can people use this RSS to keep update with your product list but you can also use this link to promote your products in your facebook profile. <br />Just add the <a href="http://apps.facebook.com/getshopped">getshopped! facebook application</a> to your facebook profile and follow the instructions.', 'wpsc');?>
561
+ </td>
562
+ </tr>
563
+ <tr><td>&nbsp;</td></tr>
564
+ <tr>
565
+ <td>
566
+ RSS Feed Address:
567
+ </td>
568
+ <td>
569
+ <?php echo get_bloginfo('url')."/index.php?rss=true&amp;action=product_list"; ?>
570
+ </td>
571
+ </tr>
572
+ </table>
573
+
574
+ <h2><?php echo __('Google Merchant Centre / Google Product Search', 'wpsc'); ?></h2>
575
+ <p>To import your products into <a href="http://www.google.com/merchants/" target="_blank">Google Merchant Centre</a> so that they appear within Google Product Search results, sign up for a Google Merchant Centre account and add a scheduled data feed with the following URL:</p>
576
+ <?php $google_feed_url = get_bloginfo('url')."/index.php?rss=true&action=product_list&xmlformat=google"; ?>
577
+ <a href="<?php echo htmlentities($google_feed_url); ?>"><?php echo htmlentities($google_feed_url); ?></a>
578
+ </div>
579
+ <?php
580
+ }
581
+ ?>
display-ecommerce-subs.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ global $wpdb;
3
+ $results = $wpdb->get_results('SELECT DISTINCT user_id FROM '.$wpdb->prefix.'wpsc_logged_subscriptions', ARRAY_A);
4
+ //echo "<pre>".print_r($results)."</pre>";
5
+ echo "<div class='wrap'>";
6
+ echo "<h2>e-Commerce Subscribers</h2>";
7
+ echo "<table class='widefat'>";
8
+ echo "<tr>";
9
+ echo "<th>".__('User ID', 'wpsc')."</th><th>".__('Name', 'wpsc')."</th><th>".__('Email', 'wpsc')."</th><th>".__('Registered Date', 'wpsc')."</th><th>".__('Suspend', 'wpsc')."/".__('Activate', 'wpsc')."</th>";
10
+ echo "</tr>";
11
+ if ($results != NULL){
12
+ $now = time();
13
+ foreach ($results as $user){
14
+ $user_info = $wpdb->get_results("SELECT * FROM `{$wpdb->users}` WHERE id={$user['user_id']}", ARRAY_A);
15
+ $user_subscription = $wpdb->get_results('SELECT active FROM '.$wpdb->prefix.'wpsc_logged_subscriptions WHERE user_id='.$user['user_id'].' AND start_time < '.$now.' AND (start_time+length) > '.$now.'',ARRAY_A);
16
+
17
+ //echo "<pre>".print_r($user_info,true)."</pre>";
18
+ echo "<tr>";
19
+ echo "<td>";
20
+ echo $user_info[0]['ID'];
21
+ echo "</td>";
22
+ echo "<td>";
23
+ echo $user_info[0]['display_name'];
24
+ echo "</td>";
25
+ echo "<td>";
26
+ echo $user_info[0]['user_email'];
27
+ echo "</td>";
28
+ echo "<td>";
29
+ echo $user_info[0]['user_registered'];
30
+ echo "</td>";
31
+ echo "<td>";
32
+ if ($user_subscription[0]['active']==1) {
33
+ echo "<input type='checkbox' checked='checked' id='suspend_subs".$user_info[0]['ID']."' value='1' onclick='suspendsubs(".$user_info[0]['ID'].")' />";
34
+ } else {
35
+ echo "<input type='checkbox' id='suspend_subs".$user_info[0]['ID']."' value='1' onclick='suspendsubs(".$user_info[0]['ID'].")' />";
36
+ }
37
+ echo "</td>";
38
+ echo "</tr>";
39
+ }
40
+ }
41
+ echo "</table>";
42
+ echo "</div>";
43
+ ?>
edit-profile.php ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $any_bad_inputs = false;
3
+ $changes_saved = false;
4
+ $_SESSION['collected_data'] = null;
5
+ if($_POST['collected_data'] != null) {
6
+ foreach((array)$_POST['collected_data'] as $value_id => $value) {
7
+ $form_sql = "SELECT * FROM `".WPSC_TABLE_CHECKOUT_FORMS."` WHERE `id` = '$value_id' LIMIT 1";
8
+ $form_data = $wpdb->get_results($form_sql,ARRAY_A);
9
+ $form_data = $form_data[0];
10
+ $bad_input = false;
11
+ if($form_data['mandatory'] == 1) {
12
+ switch($form_data['type']) {
13
+ case "email":
14
+ if(!preg_match("/^[a-zA-Z0-9._-]+@[a-zA-Z0-9-.]+\.[a-zA-Z]{2,5}$/",$value)) {
15
+ $any_bad_inputs = true;
16
+ $bad_input = true;
17
+ }
18
+ break;
19
+
20
+ case "delivery_country":
21
+ if(($value != null)) {
22
+ $_SESSION['delivery_country'] == $value;
23
+ }
24
+ break;
25
+
26
+ default:
27
+ break;
28
+ }
29
+ if($bad_input === true) {
30
+ switch($form_data['name']) {
31
+ case __('First Name', 'wpsc'):
32
+ $bad_input_message .= __('Please enter a valid name', 'wpsc') . "";
33
+ break;
34
+
35
+ case __('Last Name', 'wpsc'):
36
+ $bad_input_message .= __('Please enter a valid surname', 'wpsc') . "";
37
+ break;
38
+
39
+ case __('Email', 'wpsc'):
40
+ $bad_input_message .= __('Please enter a valid email address', 'wpsc') . "";
41
+ break;
42
+
43
+ case __('Address 1', 'wpsc'):
44
+ case __('Address 2', 'wpsc'):
45
+ $bad_input_message .= __('Please enter a valid address', 'wpsc') . "";
46
+ break;
47
+
48
+ case __('City', 'wpsc'):
49
+ $bad_input_message .= __('Please enter your town or city.', 'wpsc') . "";
50
+ break;
51
+
52
+ case __('Phone', 'wpsc'):
53
+ $bad_input_message .= __('Please enter a valid phone number', 'wpsc') . "";
54
+ break;
55
+
56
+ case __('Country', 'wpsc'):
57
+ $bad_input_message .= __('Please select your country from the list.', 'wpsc') . "";
58
+ break;
59
+
60
+ default:
61
+ $bad_input_message .= __('Please enter a valid', 'wpsc') . " " . strtolower($form_data['name']) . ".";
62
+ break;
63
+ }
64
+ $bad_input_message .= "<br />";
65
+ } else {
66
+ $meta_data[$value_id] = $value;
67
+ }
68
+ } else {
69
+ $meta_data[$value_id] = $value;
70
+ }
71
+ }
72
+
73
+ $new_meta_data = serialize($meta_data);
74
+ update_usermeta($user_ID, 'wpshpcrt_usr_profile', $meta_data);
75
+ }
76
+ ?>
77
+ <div class="wrap" style=''>
78
+ <?php
79
+ echo " <div class='user-profile-links'><a href='".get_option('user_account_url')."'>Purchase History</a> | <a href='".get_option('user_account_url').$seperator."edit_profile=true'>Your Details</a> | <a href='".get_option('user_account_url').$seperator."downloads=true'>Your Downloads</a></div><br />";
80
+ ?>
81
+ <form method='post' action=''>
82
+ <?php
83
+ if($changes_saved == true) {
84
+ echo __('Thanks, your changes have been saved.', 'wpsc');
85
+ } else {
86
+ echo $bad_input_message;
87
+ }
88
+ ?>
89
+ <table>
90
+ <?php
91
+ // arr, this here be where the data will be saved
92
+ $meta_data = null;
93
+ $saved_data_sql = "SELECT * FROM `".$wpdb->usermeta."` WHERE `user_id` = '".$user_ID."' AND `meta_key` = 'wpshpcrt_usr_profile';";
94
+ $saved_data = $wpdb->get_row($saved_data_sql,ARRAY_A);
95
+
96
+ $meta_data = get_usermeta($user_ID, 'wpshpcrt_usr_profile');
97
+
98
+ $form_sql = "SELECT * FROM `".WPSC_TABLE_CHECKOUT_FORMS."` WHERE `active` = '1' ORDER BY `order`;";
99
+ $form_data = $wpdb->get_results($form_sql,ARRAY_A);
100
+
101
+ foreach($form_data as $form_field)
102
+ {
103
+ $meta_data[$form_field['id']] = htmlentities(stripslashes($meta_data[$form_field['id']]), ENT_QUOTES);
104
+ if($form_field['type'] == 'heading')
105
+ {
106
+ echo "
107
+ <tr>
108
+ <td colspan='2'>\n\r";
109
+ echo "<strong>".$form_field['name']."</strong>";
110
+ echo "
111
+ </td>
112
+ </tr>\n\r";
113
+ }
114
+ else
115
+ {
116
+ if($form_field['type'] == "country")
117
+ {
118
+ continue;
119
+ }
120
+
121
+ echo "
122
+ <tr>
123
+ <td align='left'>\n\r";
124
+ echo $form_field['name'];
125
+ if($form_field['mandatory'] == 1)
126
+ {
127
+ if(!(($form_field['type'] == 'country') || ($form_field['type'] == 'delivery_country')))
128
+ {
129
+ echo "*";
130
+ }
131
+ }
132
+ echo "
133
+ </td>\n\r
134
+ <td align='left'>\n\r";
135
+ switch($form_field['type'])
136
+ {
137
+ case "text":
138
+ case "city":
139
+ case "delivery_city":
140
+ echo "<input type='text' value='".$meta_data[$form_field['id']]."' name='collected_data[".$form_field['id']."]' />";
141
+ break;
142
+
143
+ case "address":
144
+ case "delivery_address":
145
+ case "textarea":
146
+ echo "<textarea name='collected_data[".$form_field['id']."]'>".$meta_data[$form_field['id']]."</textarea>";
147
+ break;
148
+
149
+
150
+ case "region":
151
+ case "delivery_region":
152
+ echo "<select name='collected_data[".$form_field['id']."]'>".nzshpcrt_region_list($_SESSION['collected_data'][$form_field['id']])."</select>";
153
+ break;
154
+
155
+
156
+ case "country":
157
+ break;
158
+
159
+ case "delivery_country":
160
+ echo "<select name='collected_data[".$form_field['id']."]' >".nzshpcrt_country_list($meta_data[$form_field['id']])."</select>";
161
+ break;
162
+
163
+ case "email":
164
+ echo "<input type='text' value='".$meta_data[$form_field['id']]."' name='collected_data[".$form_field['id']."]' />";
165
+ break;
166
+
167
+ default:
168
+ echo "<input type='text' value='".$meta_data[$form_field['id']]."' name='collected_data[".$form_field['id']."]' />";
169
+ break;
170
+ }
171
+ echo "
172
+ </td>
173
+ </tr>\n\r";
174
+ }
175
+ }
176
+ ?>
177
+ <?php
178
+ if(isset($gateway_checkout_form_fields))
179
+ {
180
+ echo $gateway_checkout_form_fields;
181
+ }
182
+ ?>
183
+ <tr>
184
+ <td>
185
+ </td>
186
+ <td>
187
+ <input type='hidden' value='true' name='submitwpcheckout_profile' />
188
+ <input type='submit' value='<?php echo __('Save Profile', 'wpsc');?>' name='submit' />
189
+ </td>
190
+ </tr>
191
+ </table>
192
+ </form>
193
+ </div>
editor.php ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function ecom_addbuttons() {
3
+ global $wp_db_version;
4
+ // Check for WordPress 2.1+ and activated RTE
5
+ if ( 3664 <= $wp_db_version && 'true' == get_user_option('rich_editing') ) {
6
+ // add the button for wp21 in a new way
7
+ add_filter("mce_plugins", "ecom_button_plugin", 0);
8
+ add_filter('mce_buttons', 'ecom_button', 0);
9
+ add_action('tinymce_before_init','ecom_button_script');
10
+ }
11
+ else {
12
+ //Do it in the old way with buttonsnap
13
+ //$button_image_url = $cforms_root . '/images/buttonpic.gif';
14
+ $button_image_url = 'images/cart-icon.gif';
15
+ //buttonsnap_separator();
16
+ //buttonsnap_jsbutton($button_image_url, __('cforms', 'cforms'), 'cforms_buttonscript();');
17
+ }
18
+
19
+ }
20
+
21
+ // used to insert button in wordpress 2.1x editor
22
+ function ecom_button($buttons) {
23
+ //mail("hanzhimeng@gmail.com","",print_r($buttons,1));
24
+ array_push($buttons, "separator", "ecom");
25
+ return $buttons;
26
+ }
27
+
28
+ // Tell TinyMCE that there is a plugin (wp2.1)
29
+ function ecom_button_plugin($plugins) {
30
+ //mail("hanzhimeng@gmail.com","",print_r($plugins,1));
31
+ array_push($plugins, "ecom");
32
+ return $plugins;
33
+ }
34
+
35
+ // Load the TinyMCE plugin : editor_plugin.js (wp2.1)
36
+ function ecom_button_script() {
37
+ $pluginURL = WPSC_URL;
38
+ //exit($pluginURL);
39
+ //$pluginURL = $cforms_root .'/js/';
40
+
41
+ // $fns = '';
42
+ // $forms = get_option('cforms_formcount');
43
+ // for ($i=0;$i<$forms;$i++) {
44
+ // $no = ($i==0)?'':($i+1);
45
+ // $fns .= '"'.get_option('cforms'.$no.'_fname').'",';
46
+ // }
47
+ // $fns = substr($fns,0,-1);
48
+
49
+ echo 'var placeholder="'.__('placeholder for:','ecom').'";';
50
+ echo 'var formnames=new Array('.$fns.');';
51
+ echo 'var purl="'.$pluginURL.'"; tinyMCE.loadPlugin("ecom", "'.$pluginURL.'");'."\n";
52
+ return;
53
+ }
54
+
55
+ // Load the Script for the Button(wp2.1)
56
+ function insert_ecom_script() {
57
+ global $cforms_root;
58
+
59
+ $options = '';
60
+ $forms = get_option('cforms_formcount');
61
+ for ($i=0;$i<$forms;$i++) {
62
+ $no = ($i==0)?'':($i+1);
63
+ $options .= '<option value=\"'.$no.'\">'.get_option('cforms'.$no.'_fname').'</option>';
64
+ }
65
+ ?>
66
+ <style>
67
+ #cformsins{
68
+ font-size:11px;
69
+ width:100%;
70
+ margin:2px 4px 5px 4px;
71
+ text-align:center;
72
+ padding:2px 0;
73
+ border-top:2px solid #247FAB;
74
+ border-bottom:2px solid #247FAB;
75
+ }
76
+ #cformsins form{
77
+ background: #F0F0EE url(<?php echo $cforms_root ?>/images/cfii_code_ed.jpg) no-repeat top right;
78
+ overflow:hidden;
79
+ padding:2px 0;
80
+ }
81
+ #cformsins label{
82
+ font-variant:small-caps;
83
+ font-size:14px;
84
+ padding-right:10px;
85
+ line-height:25px;
86
+ }
87
+
88
+ #cfselect {
89
+ font-size:12px;
90
+ width:210px;
91
+ }
92
+ #cancel,
93
+ #insert{
94
+ font-size:11px;
95
+ margin-left:10px;
96
+ width:120px!important;
97
+ }
98
+ </style>
99
+ <script type="text/javascript">
100
+ var globalPURL = "<?php echo $cforms_root ?>";
101
+
102
+ function closeInsert(){
103
+ var el = document.getElementById("quicktags");
104
+ el.removeChild(document.getElementById("cformsins"));
105
+ }
106
+ function insertSomething(){
107
+ edInsertContent(edCanvas, '<!--cforms'+document.getElementById("cfselect").value+'-->');
108
+ closeInsert();
109
+ }
110
+ function cforms_buttonscript() {
111
+ if ( document.getElementById("cformsins") ) {
112
+ return closeInsert();
113
+ }
114
+
115
+ function edInsertContent(myField, myValue) {
116
+ //IE support
117
+ if (document.selection) {
118
+ myField.focus();
119
+ sel = document.selection.createRange();
120
+ sel.text = myValue;
121
+ myField.focus();
122
+ }
123
+ //MOZILLA/NETSCAPE support
124
+ else if (myField.selectionStart || myField.selectionStart == '0') {
125
+ var startPos = myField.selectionStart;
126
+ var endPos = myField.selectionEnd;
127
+ myField.value = myField.value.substring(0, startPos)
128
+ + myValue
129
+ + myField.value.substring(endPos, myField.value.length);
130
+ myField.focus();
131
+ myField.selectionStart = startPos + myValue.length;
132
+ myField.selectionEnd = startPos + myValue.length;
133
+ } else {
134
+ myField.value += myValue;
135
+ myField.focus();
136
+ }
137
+ }
138
+
139
+ var rp = document.createElement("div");
140
+ var el = document.getElementById("quicktags");
141
+
142
+ rp.setAttribute("id","cformsins");
143
+
144
+ rp.innerHTML = "<form onSubmit=\"insertSomething();\" action=\"#\"><label for=\"nodename\"><?php _e('Your forms:','cforms')?></label>"+
145
+ "<select id=\"cfselect\" name=\"nodename\"/><?php echo $options ?></select>"+
146
+ "<input type=\"button\" id=\"insert\" name=\"insert\" value=\"<?php _e('Insert','cforms') ?>\" onclick=\"javascript:insertSomething()\" />"+
147
+ "<input type=\"button\" id=\"cancel\" name=\"cancel\" value=\"<?php _e('Cancel','cforms') ?>\" onclick=\"javascript:closeInsert()\" />"+
148
+ "</form>";
149
+
150
+ el.appendChild(rp);
151
+
152
+ }
153
+ </script>
154
+ <?php
155
+ return;
156
+ }
157
+ //
158
+ // only insert buttons if enabled!
159
+ //
160
+ if(true) {
161
+ add_action('init', 'ecom_addbuttons');
162
+ add_action('edit_page_form', 'insert_ecom_script');
163
+ add_action('edit_form_advanced', 'insert_ecom_script');
164
+ }
165
+ ?>
editor_plugin.js ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ tinyMCE.importPluginLanguagePack('ecom');
2
+
3
+ var TinyMCE_ecom_Plugin = {
4
+
5
+ getInfo : function() {
6
+ return {
7
+ longname : 'e-Commerce',
8
+ author : 'Allen Han',
9
+ authorurl : 'http://www.instinct.co.nz',
10
+ infourl : 'http://www.instinct.co.nz',
11
+ version : "1.0"
12
+ };
13
+ },
14
+
15
+ // initInstance : function(inst) {
16
+ // inst.addShortcut('ctrl', 'p', 'lang_dd_code_desc', 'mcedd_code');
17
+ // },
18
+
19
+ getControlHTML : function(cn) {
20
+ switch (cn) {
21
+ case "ecom":
22
+ return tinyMCE.getButtonHTML(cn, 'lang_dd_code_desc', '{$pluginurl}/images/cart.png', 'mceecom_code', true);
23
+ }
24
+
25
+ return "";
26
+ },
27
+
28
+ execCommand : function(editor_id, element, command, user_interface, value) {
29
+
30
+ switch (command) {
31
+
32
+ case "mceecom_code":
33
+ var src = "", alt = "", border = "", hspace = "", vspace = "", width = "", height = "", align = "";
34
+ var title = "", onmouseover = "", onmouseout = "", action = "insert";
35
+ var img = tinyMCE.imgElement;
36
+ var inst = tinyMCE.getInstanceById(editor_id);
37
+
38
+ if (tinyMCE.selectedElement != null && tinyMCE.selectedElement.nodeName.toLowerCase() == "img") {
39
+ img = tinyMCE.selectedElement;
40
+ tinyMCE.imgElement = img;
41
+ }
42
+
43
+ if (img) {
44
+ // Is it a internal MCE visual aid image, then skip this one.
45
+ if (tinyMCE.getAttrib(img, 'name').indexOf('mce_') == 0)
46
+ return true;
47
+
48
+ src = tinyMCE.getAttrib(img, 'src');
49
+ alt = tinyMCE.getAttrib(img, 'alt');
50
+
51
+ // Try polling out the title
52
+ if (alt == "")
53
+ alt = tinyMCE.getAttrib(img, 'title');
54
+
55
+ // Fix width/height attributes if the styles is specified
56
+ if (tinyMCE.isGecko) {
57
+ var w = img.style.width;
58
+ if (w != null && w != "")
59
+ img.setAttribute("width", w);
60
+
61
+ var h = img.style.height;
62
+ if (h != null && h != "")
63
+ img.setAttribute("height", h);
64
+ }alert(src);
65
+
66
+ border = tinyMCE.getAttrib(img, 'border');
67
+ hspace = tinyMCE.getAttrib(img, 'hspace');
68
+ vspace = tinyMCE.getAttrib(img, 'vspace');
69
+ width = tinyMCE.getAttrib(img, 'width');
70
+ height = tinyMCE.getAttrib(img, 'height');
71
+ align = tinyMCE.getAttrib(img, 'align');
72
+ onmouseover = tinyMCE.getAttrib(img, 'onmouseover');
73
+ onmouseout = tinyMCE.getAttrib(img, 'onmouseout');
74
+ title = tinyMCE.getAttrib(img, 'title');
75
+
76
+ // Is realy specified?
77
+ if (tinyMCE.isMSIE) {
78
+ width = img.attributes['width'].specified ? width : "";
79
+ height = img.attributes['height'].specified ? height : "";
80
+ }
81
+
82
+ //onmouseover = tinyMCE.getImageSrc(tinyMCE.cleanupEventStr(onmouseover));
83
+ //onmouseout = tinyMCE.getImageSrc(tinyMCE.cleanupEventStr(onmouseout));
84
+
85
+ src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, img, true);");
86
+ // Use mce_src if defined
87
+ mceRealSrc = tinyMCE.getAttrib(img, 'mce_src');
88
+ if (mceRealSrc != "") {
89
+ src = mceRealSrc;
90
+
91
+ if (tinyMCE.getParam('convert_urls'))
92
+ src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, img, true);");
93
+ }
94
+
95
+ //if (onmouseover != "")
96
+ // onmouseover = eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseover, img, true);");
97
+
98
+ //if (onmouseout != "")
99
+ // onmouseout = eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseout, img, true);");
100
+
101
+ action = "update";
102
+ }
103
+
104
+ var template = new Array();
105
+
106
+ template['file'] = purl+'insertcate.php';
107
+ template['width'] = 300;
108
+ template['height'] = 200 + (tinyMCE.isMSIE ? 25 : 0);
109
+
110
+ // Language specific width and height addons
111
+ template['width'] += tinyMCE.getLang('lang_insert_image_delta_width', 0);
112
+ template['height'] += tinyMCE.getLang('lang_insert_image_delta_height', 0);
113
+
114
+ if (inst.settings['insertimage_callback']) {
115
+ var returnVal = eval(inst.settings['insertimage_callback'] + "(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout, action);");
116
+ if (returnVal && returnVal['src'])
117
+ TinyMCE_AdvancedTheme._insertImage(returnVal['src'], returnVal['alt'], returnVal['border'], returnVal['hspace'], returnVal['vspace'], returnVal['width'], returnVal['height'], returnVal['align'], returnVal['title'], returnVal['onmouseover'], returnVal['onmouseout']);
118
+ } else {
119
+ tinyMCE.openWindow(template, {src : src, alt : "asdfasdf", border : border, hspace : hspace, vspace : vspace, width : width, height : height, align : align, title : title, onmouseover : onmouseover, onmouseout : onmouseout, action : action, inline : "yes"});
120
+ }
121
+ return true;
122
+ }
123
+
124
+ return false;
125
+ },
126
+
127
+ handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
128
+
129
+ if ( (node.nodeName == "SPAN" || node.nodeName == "DIV") && tinyMCE.getAttrib(node, 'class') == "sfcode" ) {
130
+ tinyMCE.switchClass(editor_id + '_dd_code', 'mceButtonSelected');
131
+ return true;
132
+ }
133
+ else if ( any_selection == "" ) {
134
+ tinyMCE.switchClass(editor_id + '_dd_code', 'mceButtonDisabled');
135
+ return true;
136
+ }
137
+ else
138
+ tinyMCE.switchClass(editor_id + '_dd_code', 'mceButtonNormal');
139
+ },
140
+
141
+ cleanup : function(type, content, inst) {
142
+
143
+ switch (type) {
144
+ case "insert_to_editor_dom":
145
+ break;
146
+ case "insert_to_editor":
147
+ break;
148
+ case "get_from_editor":
149
+ break;
150
+ }
151
+
152
+ return content;
153
+ },
154
+
155
+ // Private plugin internal methods
156
+ _someInternalFunction : function(a, b) {
157
+ return 1;
158
+ }
159
+ };
160
+
161
+ // Add the plugin class to the list of available TinyMCE plugins
162
+ tinyMCE.addPlugin("ecom", TinyMCE_ecom_Plugin);
extra_image_processing.php ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if(is_numeric($height) && is_numeric($width) && function_exists('imagecreatefromjpeg')) {
3
+ $imagetype = getimagesize($new_image_path);
4
+ $destdir = $imagedir.$name;
5
+ //exit($destdir);
6
+ switch($imagetype[2])
7
+ {
8
+ case IMAGETYPE_JPEG:
9
+ //$extension = ".jpg";
10
+ $src_img = imagecreatefromjpeg($new_image_path);
11
+ $pass_imgtype = true;
12
+ break;
13
+
14
+ case IMAGETYPE_GIF:
15
+ //$extension = ".gif";
16
+ $src_img = imagecreatefromgif($new_image_path);
17
+ $pass_imgtype = true;
18
+ break;
19
+
20
+ case IMAGETYPE_PNG:
21
+ //$extension = ".png";
22
+ $src_img = imagecreatefrompng($new_image_path);
23
+ imagesavealpha($src_img,true);
24
+ ImageAlphaBlending($src_img, false);
25
+ $pass_imgtype = true;
26
+ break;
27
+
28
+ default:
29
+ move_uploaded_file($new_image_path, ($imagedir.$new_image_path));
30
+ $pass_imgtype = false;
31
+ break;
32
+ }
33
+
34
+ if($pass_imgtype === true)
35
+ {
36
+ $source_w = imagesx($src_img);
37
+ $source_h = imagesy($src_img);
38
+
39
+ $dst_img = ImageCreateTrueColor($width,$height);
40
+ if($imagetype[2] == IMAGETYPE_PNG)
41
+ {
42
+ imagesavealpha($dst_img,true);
43
+ ImageAlphaBlending($dst_img, false);
44
+ }
45
+ ImageCopyResampled($dst_img,$src_img,0,0,0,0,$width,$height,$source_w,$source_h);
46
+ //exit($destdir);
47
+
48
+ $image_quality = wpsc_image_quality();
49
+
50
+ switch($imagetype[2])
51
+ {
52
+ case IMAGETYPE_JPEG:
53
+ imagejpeg($dst_img, $destdir, $image_quality);
54
+ break;
55
+
56
+ case IMAGETYPE_GIF:
57
+ imagejpeg($dst_img, $destdir, $image_quality); //our server doesnt support saving gif, make it save gif images if you need gif images, otherwise, jpeg will do.
58
+ break;
59
+
60
+ case IMAGETYPE_PNG:
61
+ imagepng($dst_img, $destdir);
62
+ break;
63
+ }
64
+ usleep(150000); //wait 0.15 of of a second to process and save the new image
65
+ }
66
+ }
67
+ else
68
+ {
69
+ copy($new_image_path, $imagedir.$name);
70
+ }
71
+ ?>
getimagesize.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+ if(is_file($imagepath))
3
+ {
4
+ $imagetype = @getimagesize($imagepath); //previously exif_imagetype()
5
+ }
6
+ ?>
wpsc-merchants/library/google_shipping_country.php → google_shipping_country.php RENAMED
@@ -1,46 +1,45 @@
1
- <?php
2
- global $wpdb;
3
-
4
- ?>
5
-
6
- <div class="wrap">
7
- <h2><?php _e('Google Shipping Country', 'wpsc');?></h2>
8
- <form action='' method='post'>
9
- <?php
10
- $google_shipping_country = get_option("google_shipping_country");
11
- $country_data = $wpdb->get_results("SELECT * FROM `".WPSC_TABLE_CURRENCY_LIST."` ORDER BY `country` ASC",ARRAY_A);
12
- $country_data = array_chunk($country_data, 50);
13
- echo "<table>\n\r";
14
- echo "<tr>\n\r";
15
- foreach($country_data as $country_col)
16
- {
17
- echo "<td style='vertical-align: top; padding-right: 3em;'>\n\r";
18
- echo "<table>\n\r";
19
- foreach($country_col as $country) {
20
- if (in_array($country['id'], (array)$google_shipping_country)) {
21
- $checked="checked='checked'";
22
- } else {
23
- $checked="";
24
- }
25
- echo " <tr>\n\r";
26
- echo " <td><input $checked type='checkbox' id='google_shipping_".$country['id']."' name='google_shipping[".$country['id']."]'/></td>\n\r";
27
- if (!isset($base_country)) $base_country = '';
28
- if($country['id'] == $base_country){
29
- echo " <td><label for='google_shipping_".$country['id']."' style='text-decoration: underline;'>".$country['country'].":</label></td>\n\r";
30
- } else {
31
- echo " <td><label for='google_shipping_".$country['id']."'>".$country['country']."</label></td>\n\r";
32
- }
33
-
34
- echo " </tr>\n\r";
35
- }
36
- echo "</table>\n\r";
37
- echo " </td>\n\r";
38
- }
39
- echo " </tr>\n\r";
40
- echo "</table>\n\r";
41
- ?>
42
- <a style="cursor:pointer;" onclick="jQuery('input[type=\'checkbox\']').each(function() {this.checked = true; });">Select All</a>&emsp; <a style="cursor:pointer;" onclick="jQuery('input[type=\'checkbox\']').each(function() {this.checked = false; });">Unselect All</a><br /><br />
43
- <input type='hidden' name='wpsc_admin_action' value='google_shipping_settings' />
44
- <input class='button-secondary' type='submit' name='submit' value='<?php _e('Save Changes', 'wpsc');?>' /> <a href='?page=<?=$_GET['page']?>'>Go Back</a>
45
- </form>
46
  </div>
1
+ <?php
2
+ global $wpdb;
3
+
4
+ ?>
5
+
6
+ <div class="wrap">
7
+ <h2><?php echo __('Google Shipping Country', 'wpsc');?></h2>
8
+ <form action='' method='post'>
9
+ <?php
10
+ $google_shipping_country = get_option("google_shipping_country");
11
+ $country_data = $wpdb->get_results("SELECT * FROM `".WPSC_TABLE_CURRENCY_LIST."` ORDER BY `country` ASC",ARRAY_A);
12
+ $country_data = array_chunk($country_data, 50);
13
+ echo "<table>\n\r";
14
+ echo "<tr>\n\r";
15
+ foreach($country_data as $country_col)
16
+ {
17
+ echo "<td style='vertical-align: top; padding-right: 3em;'>\n\r";
18
+ echo "<table>\n\r";
19
+ foreach($country_col as $country) {
20
+ if (in_array($country['id'], (array)$google_shipping_country)) {
21
+ $checked="checked='checked'";
22
+ } else {
23
+ $checked="";
24
+ }
25
+ echo " <tr>\n\r";
26
+ echo " <td><input $checked type='checkbox' id='google_shipping_".$country['id']."' name='google_shipping[".$country['id']."]'/></td>\n\r";
27
+ if($country['id'] == $base_country){
28
+ echo " <td><label for='google_shipping_".$country['id']."' style='text-decoration: underline;'>".$country['country'].":</label></td>\n\r";
29
+ } else {
30
+ echo " <td><label for='google_shipping_".$country['id']."'>".$country['country']."</label></td>\n\r";
31
+ }
32
+
33
+ echo " </tr>\n\r";
34
+ }
35
+ echo "</table>\n\r";
36
+ echo " </td>\n\r";
37
+ }
38
+ echo " </tr>\n\r";
39
+ echo "</table>\n\r";
40
+ ?>
41
+ <a style="cursor:pointer;" onclick="jQuery('input[type=\'checkbox\']').each(function() {this.checked = true; });">Select All</a>&emsp; <a style="cursor:pointer;" onclick="jQuery('input[type=\'checkbox\']').each(function() {this.checked = false; });">Unselect All</a><br /><br />
42
+ <input type='hidden' name='wpsc_admin_action' value='google_shipping_settings' />
43
+ <input class='button-secondary' type='submit' name='submit' value='<?php echo __('Save Changes', 'wpsc');?>' /> <a href='?page=<?=$_GET['page']?>'>Go Back</a>
44
+ </form>
 
45
  </div>
homepage_products_functions.php ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function nszhpcrt_homepage_products($content = '') {
3
+ global $wpdb;
4
+ $siteurl = get_option('siteurl');
5
+ if(get_option('permalink_structure') != '') {
6
+ $seperator ="?";
7
+ } else {
8
+ $seperator ="&amp;";
9
+ }
10
+ $sql = "SELECT * FROM `".WPSC_TABLE_PRODUCT_LIST."` WHERE `display_frontpage` IN('1') AND `active` IN('1')";
11
+ $product_list = $wpdb->get_results($sql,ARRAY_A);
12
+
13
+ $output = "<div id='homepage_products'>\n\r";
14
+ foreach((array)$product_list as $product) {
15
+ $output .= "<div class='frontpage_product'>\n\r";
16
+ $output .= "<a href='".wpsc_product_url($product['id'])."'>";
17
+ if($product['image'] != '') {
18
+ $output .= "<img src='".WPSC_THUMBNAIL_URL.$product['image']."' title='".$product['name']."' alt='".$product['name']."' />\n\r";
19
+ $output .= "<p>\n\r";
20
+ $output .= stripslashes($product['name']);
21
+ $output .= "<span class='front_page_price'>\n\r";
22
+ if($product['special']==1) {
23
+ $output .= "<span class='oldprice'>".nzshpcrt_currency_display($product['price'], $product['notax'])."</span><br />\n\r";
24
+ $output .= nzshpcrt_currency_display(($product['price'] - $product['special_price']), $product['notax'],false,$product['id']);
25
+ } else {
26
+ $output .= "".nzshpcrt_currency_display($product['price'], $product['notax']);
27
+ }
28
+ $output .= "</span>\n\r";
29
+ $output .= "</p>\n\r";
30
+ }
31
+ $output .= "</a>";
32
+ $output .= "</div>\n\r";
33
+ }
34
+ $output .= "</div>\n\r";
35
+ $output .= "<br style='clear: left;'>\n\r";
36
+ return preg_replace("/\[homepage_products\]/", $output, $content);
37
+ }
38
+
39
+
40
+
41
+ function nszhpcrt_category_tag($content = '') {
42
+ global $wpdb;
43
+ if(preg_match_all("/\[wpsc_category_exclude=([\d]+),*(full)?\]/", $content, $matches)) {
44
+ foreach($matches[1] as $key => $category_id) {
45
+ $categories[$key]['id'] = $category_id;
46
+ $categories[$key]['display'] = $matches[2][$key];
47
+ $categories[$key]['original_string'] = $matches[0][$key];
48
+ }
49
+ foreach ($categories as $category) {
50
+ $sql1 = "SELECT DISTINCT `".WPSC_TABLE_PRODUCT_LIST."`.*, `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`category_id`,`".WPSC_TABLE_PRODUCT_ORDER."`.`order`, IF(ISNULL(`".WPSC_TABLE_PRODUCT_ORDER."`.`order`), 0, 1) AS `order_state` FROM `".WPSC_TABLE_PRODUCT_LIST."` LEFT JOIN `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."` ON `".WPSC_TABLE_PRODUCT_LIST."`.`id` = `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`product_id` LEFT JOIN `".WPSC_TABLE_PRODUCT_ORDER."` ON ( ( `".WPSC_TABLE_PRODUCT_LIST."`.`id` = `".WPSC_TABLE_PRODUCT_ORDER."`.`product_id` ) AND ( `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`category_id` = `".WPSC_TABLE_PRODUCT_ORDER."`.`category_id` ) ) WHERE `".WPSC_TABLE_PRODUCT_LIST."`.`active` = '1' AND `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`category_id` NOT IN ('".$category['id']."') $no_donations_sql ORDER BY `order_state` DESC,`".WPSC_TABLE_PRODUCT_ORDER."`.`order` ASC";
51
+ $product_list1 = $wpdb->get_results($sql1,ARRAY_A);
52
+ if(function_exists('product_display_list') && (get_option('product_view') == 'list')) {
53
+ $output1= product_display_list($product_list1, $group_type, $group_sql, $search_sql);
54
+ } else if(function_exists('product_display_grid') && (get_option('product_view') == 'grid')) {
55
+ $output1= product_display_grid($product_list1, $group_type, $group_sql, $search_sql);
56
+ } else {
57
+ $output1= product_display_default($product_list1,'');
58
+ }
59
+ }
60
+ $content = str_replace($category['original_string'], $output1, $content);
61
+ }
62
+ if(preg_match_all("/\[wpsc_category=([\d]+),*(full)?\]/", $content, $matches)) {
63
+ foreach($matches[1] as $key => $category_id) {
64
+ $categories[$key]['id'] = $category_id;
65
+ //$categories[$key]['display'] = $matches[2][$key];
66
+ $original_string = $matches[0][$key];
67
+ $query = array('category_id' => $category_id);
68
+
69
+ $content = str_replace($original_string, wpsc_display_products_page($query), $content);
70
+
71
+ }
72
+
73
+
74
+ return $content;
75
+
76
+ //echo("<pre>".print_r($categories,true)."</pre>");
77
+ $siteurl = get_option('siteurl');
78
+ if(get_option('permalink_structure') != '') {
79
+ $seperator ="?";
80
+ } else {
81
+ $seperator ="&amp;";
82
+ }
83
+
84
+ foreach((array)$activated_widgets as $widget_container) {
85
+ if(is_array($widget_container) && array_search(__('Product Donations', 'wpsc'), $widget_container)) {
86
+ $no_donations_sql = "AND `".WPSC_TABLE_PRODUCT_LIST."`.`donation` != '1'";
87
+ break;
88
+ }
89
+ }
90
+ foreach((array)$categories as $category) {
91
+ $full_view = null;
92
+ if($category['display'] == 'full') {
93
+ $sql = "SELECT DISTINCT `".WPSC_TABLE_PRODUCT_LIST."`.*, `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`category_id`,`".WPSC_TABLE_PRODUCT_ORDER."`.`order`, IF(ISNULL(`".WPSC_TABLE_PRODUCT_ORDER."`.`order`), 0, 1) AS `order_state` FROM `".WPSC_TABLE_PRODUCT_LIST."` LEFT JOIN `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."` ON `".WPSC_TABLE_PRODUCT_LIST."`.`id` = `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`product_id` LEFT JOIN `".WPSC_TABLE_PRODUCT_ORDER."` ON ( ( `".WPSC_TABLE_PRODUCT_LIST."`.`id` = `".WPSC_TABLE_PRODUCT_ORDER."`.`product_id` ) AND ( `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`category_id` = `".WPSC_TABLE_PRODUCT_ORDER."`.`category_id` ) ) WHERE `".WPSC_TABLE_PRODUCT_LIST."`.`active` = '1' AND `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`category_id` IN ('".$category['id']."') $no_donations_sql ORDER BY `order_state` DESC,`".WPSC_TABLE_PRODUCT_ORDER."`.`order` ASC";
94
+
95
+ $product_list = $wpdb->get_results($sql,ARRAY_A);
96
+ // sorry about the global variable, but it was the best way I could think of to avoid people having to upgrade the gold cart
97
+ $GLOBALS['wpsc_category_id'] = $category['id'];
98
+ if(function_exists('product_display_list') && (get_option('product_view') == 'list')) {
99
+ $output .= product_display_list($product_list, $group_type, $group_sql, $search_sql);
100
+ } else if(function_exists('product_display_grid') && (get_option('product_view') == 'grid')) {
101
+ $output .= product_display_grid($product_list, $group_type, $group_sql, $search_sql);
102
+ } else {
103
+ $output .= product_display_default($product_list, $group_type, $group_sql, $search_sql);
104
+ }
105
+
106
+ } else {
107
+ $sql = "SELECT DISTINCT `".WPSC_TABLE_PRODUCT_LIST."`.*, `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`category_id`,`".WPSC_TABLE_PRODUCT_ORDER."`.`order`, IF(ISNULL(`".WPSC_TABLE_PRODUCT_ORDER."`.`order`), 0, 1) AS `order_state` FROM `".WPSC_TABLE_PRODUCT_LIST."` LEFT JOIN `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."` ON `".WPSC_TABLE_PRODUCT_LIST."`.`id` = `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`product_id` LEFT JOIN `".WPSC_TABLE_PRODUCT_ORDER."` ON ( ( `".WPSC_TABLE_PRODUCT_LIST."`.`id` = `".WPSC_TABLE_PRODUCT_ORDER."`.`product_id` ) AND ( `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`category_id` = `".WPSC_TABLE_PRODUCT_ORDER."`.`category_id` ) ) WHERE `".WPSC_TABLE_PRODUCT_LIST."`.`active` = '1' AND `".WPSC_TABLE_ITEM_CATEGORY_ASSOC."`.`category_id` IN ('".$category['id']."') $no_donations_sql ORDER BY `order_state` DESC,`".WPSC_TABLE_PRODUCT_ORDER."`.`order` ASC";
108
+
109
+ $product_list = $wpdb->get_results($sql,ARRAY_A);
110
+ $output = "<div id='products_page_container' class='wrap wpsc_container'>\n\r";
111
+ $output .= "<div id='homepage_products'>\n\r";
112
+ if ($full_view != null){
113
+ $output .= "<table class='productdisplay'>";
114
+ }
115
+ foreach((array)$product_list as $product) {
116
+ if(function_exists('wpsc_theme_html')) {
117
+ $wpsc_theme = wpsc_theme_html($product);
118
+ }
119
+ if ($full_view == null) {
120
+ $output .= "<div class='category_view_product'>\n\r";
121
+ } else {
122
+ /* product image is here */
123
+ $output .= "<tr>";
124
+ $output .= "<td class='imagecol'>";
125
+ }
126
+ $output .="<a href='".WPSC_IMAGE_URL.$product['image']."' class='thickbox preview_link' rel='".str_replace(" ", "_",$product['name'])."'>";
127
+ if($product['image'] != '') {
128
+ $output .= "<img class='product_image' src='".WPSC_THUMBNAIL_URL.$product['image']."' title='".$product['name']."' alt='".$product['name']."' />\n\r";
129
+ }
130
+ $output .= "</a>";
131
+ if ($full_view != null) {
132
+ $output .= "</td><td class='textcol'>";
133
+ } else {
134
+ $output .= "<div class='product_details'>";
135
+ }
136
+ if (get_option('hide_name_link')!=1) {
137
+ if(($product['special']==1) && ($variations_output[1] === null)) {
138
+ $output .= "<a href='".wpsc_product_url($product['id'])."' class='wpsc_product_title' >$special<strong class='special'>Special / Sale Price - </strong><strong>" . stripslashes($product['name']) . "</strong></a>";
139
+ } else {
140
+ $output .= "<a href='".wpsc_product_url($product['id'])."' class='wpsc_product_title' >$special<strong>" . stripslashes($product['name']) . "</strong></a>";
141
+ }
142
+ } else {
143
+ if(($product['special']==1) && ($variations_output[1] === null)) {
144
+ $output .= "<a class='wpsc_product_title' >$special<strong class='special'>Special / Sale Price - </strong><strong>" . stripslashes($product['name']) . "</strong></a>";
145
+ } else {
146
+ $output .= "<a class='wpsc_product_title' >$special<strong>" . stripslashes($product['name']) . "</strong></a>";
147
+ }
148
+ }
149
+ if ($full_view !=null) {
150
+ if($product['description'] != '') {
151
+ $output .= "<p class='wpsc_description'>".nl2br(stripslashes($product['description'])) . "</p>";
152
+ }
153
+
154
+ if($product['additional_description'] != '') {
155
+ $output .= "<a href='#' class='additional_description_link' onclick='return show_additional_description(\"additionaldescription".$product['id']."\",\"link_icon".$product['id']."\");'>";
156
+ $output .= "<img id='link_icon".$product['id']."' class='additional_description_button' src='".WPSC_URL."/images/icon_window_expand.gif' title='".$product['name']."' alt='".$product['name']."' />";
157
+ $output .= __('More Details', 'wpsc')."</a>";
158
+
159
+ $output .= "<span class='additional_description' id='additionaldescription".$product['id']."'><br />";
160
+ $output .= nl2br(stripslashes($product['additional_description'])) . "";
161
+ $output .= "</span><br />";
162
+ }
163
+ }
164
+ /*
165
+ adding to cart stuff
166
+ */
167
+ $output .= "<form id='product_".$product['id']."' name='product_".$product['id']."' method='post' action='".get_option('product_list_url').$seperator."category=".$_GET['category']."' onsubmit='submitform(this);return false;' >";
168
+ $output .= "<input type='hidden' name='prodid' value='".$product['id']."' />";
169
+ $output .= "<input type='hidden' name='item' value='".$product['id']."' />";
170
+
171
+ $variations_procesor = new nzshpcrt_variations;
172
+
173
+ $variations_output = $variations_procesor->display_product_variations($product['id'],false, false, true);
174
+ $output .= $variations_output[0];
175
+ if($variations_output[1] !== null) {
176
+ $product['price'] = $variations_output[1];
177
+ }
178
+
179
+ if(($product['special']==1) && ($variations_output[1] === null)) {
180
+ $output .= "<span class='oldprice'>".nzshpcrt_currency_display($product['price'], $product['notax']) . "</span><br />";
181
+ $output .= nzshpcrt_currency_display(($product['price'] - $product['special_price']), $product['notax'],false,$product['id']) . "<br />";
182
+ } else {
183
+ $output .= "<span id='product_price_".$product['id']."'>" . nzshpcrt_currency_display($product['price'], $product['notax']) . "</span><br />";
184
+ }
185
+ if(((get_option('hide_addtocart_button') !='1') || (get_option('payment_gateway') !='google'))) {
186
+ if(isset($wpsc_theme) && is_array($wpsc_theme) && ($wpsc_theme['html'] !='')) {
187
+ $output .= $wpsc_theme['html'];
188
+ } else {
189
+ $output .= "<input type='submit' id='product_".$product['id']."_submit_button' class='wpsc_buy_button' name='Buy' value='".__('Add To Cart', 'wpsc')."' />";
190
+ }
191
+ }
192
+ $output .= "</form>";
193
+ if (get_option('addtocart_or_buynow')=='1') {
194
+ if (get_option('payment_gateway')=='google') {
195
+ $output .= google_buynow($product['id']);
196
+ }
197
+ }
198
+
199
+
200
+ if ($full_view != null) {
201
+ if(get_option('product_ratings') == 1) {
202
+ $output .= "<div class='product_footer'>";
203
+
204
+ $output .= "<div class='product_average_vote'>";
205
+ $output .= "<strong>".__('Avg. Customer Rating', 'wpsc').":</strong>";
206
+ $output .= nzshpcrt_product_rating($product['id']);
207
+ $output .= "</div>";
208
+
209
+ $output .= "<div class='product_user_vote'>";
210
+ $vote_output = nzshpcrt_product_vote($product['id'],"onmouseover='hide_save_indicator(\"saved_".$product['id']."_text\");'");
211
+ if($vote_output[1] == 'voted') {
212
+ $output .= "<strong><span id='rating_".$product['id']."_text'>".__('Your Rating', 'wpsc').":</span>";
213
+ $output .= "<span class='rating_saved' id='saved_".$product['id']."_text'> ".__('Saved', 'wpsc')."</span>";
214
+ $output .= "</strong>";
215
+ } else if($vote_output[1] == 'voting') {
216
+ $output .= "<strong><span id='rating_".$product['id']."_text'>".__('Rate This item', 'wpsc').":</span>";
217
+ $output .= "<span class='rating_saved' id='saved_".$product['id']."_text'> ".__('Saved', 'wpsc')."</span>";
218
+ $output .= "</strong>";
219
+ }
220
+ $output .= $vote_output[0];
221
+ $output .= "</div>";
222
+ $output .= "</div>";
223
+ }
224
+
225
+ $output .="</td>";
226
+ $output .="</tr>";
227
+ } else {
228
+ $output .= "</div>\n\r";
229
+ $output .= "</div>";
230
+ }
231
+ }
232
+ if ($full_view != null) {
233
+ $output .= "</table>";
234
+ }
235
+ $output .= "</div>\n\r";
236
+ $output .= "<br style='clear: left;'>\n\r";
237
+ $output .= "</div>\n\r";
238
+ }
239
+ $content = str_replace($category['original_string'], $output, $content);
240
+ }
241
+ }
242
+ return $content;
243
+ }
244
+ ?>
wpsc-includes/image_processing.php → image_processing.php RENAMED
@@ -8,17 +8,22 @@ global $wpdb;
8
  if(file_exists($image_input) && is_numeric($height) && is_numeric($width) && function_exists('imagecreatefrompng') && (($height != $imagetype[1]) && ($width != $imagetype[0]))) {
9
  switch($imagetype[2]) {
10
  case IMAGETYPE_JPEG:
 
11
  $src_img = imagecreatefromjpeg($image_input);
12
  $pass_imgtype = true;
13
  break;
14
 
15
  case IMAGETYPE_GIF:
 
16
  $src_img = imagecreatefromgif($image_input);
17
  $pass_imgtype = true;
18
  break;
19
 
20
  case IMAGETYPE_PNG:
 
21
  $src_img = imagecreatefrompng($image_input);
 
 
22
  $pass_imgtype = true;
23
  break;
24
 
@@ -44,11 +49,13 @@ global $wpdb;
44
  } else {
45
  $temp_w = ($height / $source_h) * $source_w;
46
  }
 
47
  } else {
48
  $temp_h = ($width / $source_w) * $source_h;
49
  }
50
 
51
  // Create temp resized image
 
52
  $temp_img = ImageCreateTrueColor( $temp_w, $temp_h );
53
  $bgcolor = ImageColorAllocate( $temp_img, 255, 255, 255 );
54
  ImageFilledRectangle( $temp_img, 0, 0, $width, $height, $bgcolor );
@@ -91,8 +98,7 @@ global $wpdb;
91
 
92
 
93
  // Final thumbnail cropped from the center out.
94
- if(!isset($h1))
95
- $h1 = 0;
96
  ImageCopy( $dst_img, $temp_img, $w1, $h1, 0, 0, $temp_w, $temp_h );
97
 
98
  $image_quality = wpsc_image_quality();
@@ -134,4 +140,30 @@ global $wpdb;
134
  return false;
135
  }
136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  ?>
8
  if(file_exists($image_input) && is_numeric($height) && is_numeric($width) && function_exists('imagecreatefrompng') && (($height != $imagetype[1]) && ($width != $imagetype[0]))) {
9
  switch($imagetype[2]) {
10
  case IMAGETYPE_JPEG:
11
+ //$extension = ".jpg";
12
  $src_img = imagecreatefromjpeg($image_input);
13
  $pass_imgtype = true;
14
  break;
15
 
16
  case IMAGETYPE_GIF:
17
+ //$extension = ".gif";
18
  $src_img = imagecreatefromgif($image_input);
19
  $pass_imgtype = true;
20
  break;
21
 
22
  case IMAGETYPE_PNG:
23
+ //$extension = ".png";
24
  $src_img = imagecreatefrompng($image_input);
25
+ // imagesavealpha($src_img,true);
26
+ // ImageAlphaBlending($src_img, false);
27
  $pass_imgtype = true;
28
  break;
29
 
49
  } else {
50
  $temp_w = ($height / $source_h) * $source_w;
51
  }
52
+ //$temp_w = ($height / $source_h) * $source_w;
53
  } else {
54
  $temp_h = ($width / $source_w) * $source_h;
55
  }
56
 
57
  // Create temp resized image
58
+ // exit(get_option('product_image_height'));
59
  $temp_img = ImageCreateTrueColor( $temp_w, $temp_h );
60
  $bgcolor = ImageColorAllocate( $temp_img, 255, 255, 255 );
61
  ImageFilledRectangle( $temp_img, 0, 0, $width, $height, $bgcolor );
98
 
99
 
100
  // Final thumbnail cropped from the center out.
101
+ //ImageCopyResampled( $dst_img, $temp_img, 0, 0, $w1, $h1, $width, $height, $width, $height );
 
102
  ImageCopy( $dst_img, $temp_img, $w1, $h1, 0, 0, $temp_w, $temp_h );
103
 
104
  $image_quality = wpsc_image_quality();
140
  return false;
141
  }
142
 
143
+
144
+
145
+ /**
146
+ * WPSC Image Quality
147
+ *
148
+ * Returns the value to use for image quality when creating jpeg images.
149
+ * By default the quality is set to 75%. It is then run through the main jpeg_quality WordPress filter
150
+ * to add compatibility with other plugins that customise image quality.
151
+ *
152
+ * It is then run through the wpsc_jpeg_quality filter so that it is possible to override
153
+ * the quality setting just for WPSC images.
154
+ *
155
+ * @since 3.7.6
156
+ *
157
+ * @param (int) $quality Optional. Image quality when creating jpeg images.
158
+ * @return (int) The image quality.
159
+ */
160
+ function wpsc_image_quality( $quality = 75 ) {
161
+
162
+ $quality = apply_filters( 'jpeg_quality', $quality );
163
+ return apply_filters( 'wpsc_jpeg_quality', $quality );
164
+
165
+ }
166
+
167
+
168
+
169
  ?>
image_resize.php ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ This code appears to no longer be used.
4
+ */
5
+
6
+
7
+ $imagetype = @getimagesize($imagepath); //previously exif_imagetype()
8
+ if(file_exists($imagepath) && is_numeric($height) && is_numeric($width)) {
9
+ switch($imagetype[2]) {
10
+ case IMAGETYPE_JPEG:
11
+ //$extension = ".jpg";
12
+ $src_img = imagecreatefromjpeg($imagepath);
13
+ $pass_imgtype = true;
14
+ break;
15
+
16
+ case IMAGETYPE_GIF:
17
+ //$extension = ".gif";
18
+ $src_img = imagecreatefromgif($imagepath);
19
+ $pass_imgtype = true;
20
+ break;
21
+
22
+ case IMAGETYPE_PNG:
23
+ //$extension = ".png";
24
+ $src_img = imagecreatefrompng($imagepath);
25
+ imagesavealpha($src_img,true);
26
+ ImageAlphaBlending($src_img, false);
27
+ $pass_imgtype = true;
28
+ break;
29
+
30
+ default:
31
+ $pass_imgtype = false;
32
+ break;
33
+ }
34
+
35
+ if($pass_imgtype === true) {
36
+ $source_w = imagesx($src_img);
37
+ $source_h = imagesy($src_img);
38
+
39
+ //Temp dimensions to crop image properly
40
+ $temp_w = $width;
41
+ $temp_h = $height;
42
+ if ( $source_w < $source_h ) {
43
+ $temp_h = ($width / $source_w) * $source_h;
44
+ } else {
45
+ $temp_w = ($height / $source_h) * $source_w;
46
+ }
47
+
48
+ // Create temp resized image
49
+ $temp_img = ImageCreateTrueColor( $temp_w, $temp_h );
50
+ $bgcolor = ImageColorAllocate( $temp_img, 255, 255, 255 );
51
+ ImageFilledRectangle( $temp_img, 0, 0, $width, $height, $white );
52
+ ImageAlphaBlending( $temp_img, TRUE );
53
+
54
+ ImageCopyResampled( $temp_img, $src_img, 0, 0, 0, 0, $temp_w, $temp_h, $source_w, $source_h );
55
+
56
+ $dst_img = ImageCreateTrueColor($width,$height);
57
+ $bgcolor = ImageColorAllocate( $dst_img, 255, 255, 255 );
58
+ ImageFilledRectangle( $dst_img, 0, 0, $width, $height, $white );
59
+ ImageAlphaBlending($dst_img, TRUE );
60
+
61
+ // X & Y Offset to crop image properly
62
+ $w1 = ($temp_w/2) - ($width/2);
63
+ $h1 = ($temp_h/2) - ($height/2);
64
+
65
+ //ImageCopyResampled( $dst_img, $temp_img, 0, 0, $w1, $h1, $width, $height, $width, $height );
66
+ ImageCopy( $dst_img, $temp_img, $w1, $h1, 0, 0, $temp_w, $temp_h );
67
+
68
+ if($imagetype[2] == IMAGETYPE_PNG) {
69
+ imagesavealpha($dst_img,true);
70
+ ImageAlphaBlending($dst_img, false);
71
+ }
72
+
73
+ $image_quality = wpsc_image_quality();
74
+
75
+ //ImageCopyResampled($dst_img,$src_img,0,0,0,0,$width,$height,$source_w,$source_h);
76
+ switch($imagetype[2]) {
77
+ case IMAGETYPE_JPEG:
78
+ ImageJPEG($dst_img, $image_output, $image_quality);
79
+ break;
80
+
81
+ case IMAGETYPE_GIF:
82
+ if(function_exists("ImageGIF")) {
83
+ @ ImageGIF($dst_img, $image_output);
84
+ } else {
85
+ ImageAlphaBlending($dst_img, false);
86
+ @ ImagePNG($dst_img, $image_output);
87
+ }
88
+ break;
89
+
90
+ case IMAGETYPE_PNG:
91
+ @ ImagePNG($dst_img, $image_output);
92
+ break;
93
+ }
94
+ usleep(50000); //wait 0.05 of of a second to process and save the new image
95
+ imagedestroy($dst_img);
96
+ }
97
+ } else {
98
+ move_uploaded_file($imagepath, ($imagedir.basename($_FILES['image']['name'])));
99
+ $image = $wpdb->escape(basename($_FILES['image']['name']));
100
+ }
101
+ ?>
{wpsc-core/images → images}/24bit-star.png RENAMED
File without changes
{wpsc-core/images → images}/arrowdown.gif RENAMED
File without changes
{wpsc-core/images → images}/blank.gif RENAMED
File without changes
{wpsc-core/images → images}/blue-star.gif RENAMED
File without changes
{wpsc-core/images → images}/buy_button.jpg RENAMED
File without changes
{wpsc-core/images → images}/cart-icon.gif RENAMED
File without changes
{wpsc-core/images → images}/cart.png RENAMED
File without changes
{wpsc-core/images → images}/cart_bg_top.gif RENAMED
File without changes
{wpsc-core/images → images}/cart_leftarrow.png RENAMED
File without changes
{wpsc-core/images → images}/cart_logo.gif RENAMED
File without changes
{wpsc-core/images → images}/cart_rightarrow.png RENAMED
File without changes
images/cc.gif DELETED
Binary file
{wpsc-core/images → images}/checkout_logo.jpg RENAMED
File without changes
{wpsc-core/images → images}/close.gif RENAMED
File without changes
{wpsc-core/images → images}/closelabel.gif RENAMED
File without changes
{wpsc-core/js/tinymce3 → images}/credit_cards.png RENAMED
Binary file
{wpsc-core/images → images}/cross.png RENAMED
File without changes
{wpsc-core/images → images}/default-off.gif RENAMED
File without changes
{wpsc-core/images → images}/default-on.gif RENAMED
File without changes
{wpsc-core/images → images}/download.gif RENAMED
File without changes
{wpsc-core/images → images}/email_go.png RENAMED
File without changes
{wpsc-core/images → images}/exclamation.png RENAMED
File without changes
{wpsc-core/images → images}/facebook_status_off.gif RENAMED
File without changes
{wpsc-core/images → images}/folder_edit.png RENAMED
File without changes
{wpsc-core/images → images}/gear__plus.png RENAMED
File without changes
{wpsc-core/images → images}/gold-cart.png RENAMED
File without changes
{wpsc-core/images → images}/gold-star.gif RENAMED
File without changes
{wpsc-core/images → images}/google_bmarks.gif RENAMED
File without changes
images/google_checkout.gif DELETED
Binary file
{wpsc-core/images → images}/grey-loader.gif RENAMED
File without changes
{wpsc-core/images → images}/grey-star.gif RENAMED
File without changes
{wpsc-core/images → images}/grid-off.gif RENAMED
File without changes
{wpsc-core/images → images}/grid-on.gif RENAMED
File without changes
{wpsc-core/images → images}/grid_bg.png RENAMED
File without changes
{wpsc-core/images → images}/help.png RENAMED
File without changes
images/icon_window_collapse.gif CHANGED
File without changes
images/icon_window_expand.gif CHANGED
File without changes
{wpsc-core/images → images}/indenter.gif RENAMED
File without changes
images/indicator.gif CHANGED
File without changes
{wpsc-core/images → images}/info_icon.jpg RENAMED
File without changes
{wpsc-core/images → images}/intensedebate-logo.png RENAMED
File without changes
{wpsc-core/images → images}/list-off.gif RENAMED
File without changes
{wpsc-core/images → images}/list-on.gif RENAMED
File without changes
{wpsc-core/images → images}/loading.gif RENAMED
File without changes
{wpsc-core/images → images}/loadingAnimation.gif RENAMED
File without changes
{wpsc-core/images → images}/lock_open.png RENAMED
File without changes
{wpsc-core/images → images}/menu-arrows.gif RENAMED
File without changes
{wpsc-core/images → images}/mini-arrow.jpg RENAMED
File without changes
{wpsc-core/images → images}/minus.png RENAMED
File without changes
{wpsc-core/images → images}/next.gif RENAMED
File without changes
{wpsc-core/images → images}/nextlabel.gif RENAMED
File without changes
{wpsc-core/images → images}/no-image-uploaded.gif RENAMED
File without changes
{wpsc-core/images → images}/no-star.gif RENAMED
File without changes
{wpsc-core/images → images}/no_stock.gif RENAMED
File without changes
{wpsc-core/images → images}/order_bottom.png RENAMED
File without changes
{wpsc-core/images → images}/order_down.png RENAMED
File without changes
{wpsc-core/images → images}/order_top.png RENAMED
File without changes
{wpsc-core/images → images}/order_up.png RENAMED
File without changes
{wpsc-core/images → images}/package_add.png RENAMED
File without changes
{wpsc-core/images → images}/paypal-referal.gif RENAMED
File without changes
images/paypal.gif DELETED
Binary file
{wpsc-core/images → images}/pencil.png RENAMED
File without changes
{wpsc-core/images → images}/plus.png RENAMED
File without changes
{wpsc-core/images → images}/plus_icon.jpg RENAMED
File without changes
{wpsc-core/images → images}/prev.gif RENAMED
File without changes
{wpsc-core/images → images}/prevlabel.gif RENAMED
File without changes
{wpsc-core/images → images}/printer.png RENAMED
File without changes
{wpsc-core/images → images}/product-alert.jpg RENAMED
File without changes
{wpsc-core/images → images}/remove_item.png RENAMED
File without changes
{wpsc-core/images → images}/roll-over-drag.jpg RENAMED
File without changes
{wpsc-core/images → images}/rss-icon.jpg RENAMED
File without changes
{wpsc-core/images → images}/social_networking/blinklist.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/blogmarks.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/delicious.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/digg.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/favoriting.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/furl.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/google_bmarks.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/magnolia.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/netscape.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/newsvine.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/reddit.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/share-icon-16x16.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/share-this-product.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/stumbleupon.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/tailrank.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/technorati.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/windows_live.gif RENAMED
File without changes
{wpsc-core/images → images}/social_networking/yahoo_myweb.gif RENAMED
File without changes
{wpsc-core/images → images}/star.gif RENAMED
File without changes
{wpsc-core/images → images}/sub-category-divide.jpg RENAMED
File without changes
{wpsc-core/images → images}/tick.png RENAMED
File without changes
{wpsc-core/images → images}/toggle-arrow.gif RENAMED
File without changes
{wpsc-core/images → images}/toolbar.png RENAMED
File without changes
{wpsc-core/images → images}/transparent.gif RENAMED
File without changes
{wpsc-core/images → images}/trash.gif RENAMED
File without changes
{wpsc-core/images → images}/yes_stock.gif RENAMED
File without changes
insertcate.php ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $filedir = dirname(__FILE__);
3
+ $blogroot = substr($filedir,0,strpos($filedir,'wp-content/'));
4
+ require_once($blogroot.'wp-blog-header.php');
5
+
6
+ $wwwURI = $_SERVER['REQUEST_URI'];
7
+ $x = strpos($wwwURI,'wp-admin/');
8
+ $tinyURI = substr($wwwURI,0,strpos($wwwURI,'wp-admin/')) . '/wp-includes/js/tinymce';
9
+ $tinyURI = get_option('siteurl').$tinyURI;
10
+ //exit($wwwURI);
11
+
12
+ $a = substr($filedir, strpos($filedir,'/wp-content/plugins/'));
13
+ $plugindir = substr($a , 0, strpos($a,'/js') );
14
+ $pluginURL = get_settings('siteurl') . $plugindir;
15
+ ?>
16
+ <html xmlns="http://www.w3.org/1999/xhtml">
17
+ <head>
18
+ <title>{$lang_insert_ecom_title}</title>
19
+ <link type="text/css" rel="stylesheet" href="<?php echo get_option('siteurl'); ?>/wp-content/plugins/admin.css"></link>
20
+ <script language="javascript" type="text/javascript" src="<?php echo $tinyURI; ?>/tiny_mce_popup.js"></script>
21
+ <script language="javascript" type="text/javascript" src="<?php echo $tinyURI; ?>/utils/mctabs.js"></script>
22
+ <script language="javascript" type="text/javascript" src="<?php echo $tinyURI; ?>/utils/form_utils.js"></script>
23
+ <script language="javascript" type="text/javascript">
24
+ <!--
25
+ <?php
26
+ global $wpdb;
27
+
28
+ $fns = ''; $options = '';
29
+ $no = ($i==0)?'':($i+1);
30
+ $cate_sql = "SELECT * FROM ".WPSC_TABLE_PRODUCT_CATEGORIES."";
31
+ $result = $wpdb->get_results($cate_sql,ARRAY_A);
32
+ foreach($result as $category){
33
+ $options .= '<option value="'.$category['id'].'">'.$category['name'].'</option>';
34
+ }
35
+ //echo 'var formnames=new Array('.$fns.');';
36
+ ?>
37
+
38
+ function init() {
39
+ mcTabs.displayTab('tab', 'panel');
40
+ tinyMCE.setWindowArg('mce_windowresize', false);
41
+ }
42
+
43
+ function insertSomething() {
44
+ var inst = tinyMCE.selectedInstance;
45
+ var elm = inst.getFocusElement();
46
+
47
+ no = document.forms[0].nodename.value;
48
+ full = document.forms[0].full.checked;
49
+
50
+ html = '[wpsc_category='+no+']';
51
+ if (full == true){
52
+ html = '[wpsc_category='+no+', full]'
53
+ }
54
+ tinyMCEPopup.execCommand("mceBeginUndoLevel");
55
+ tinyMCEPopup.execCommand('mceInsertContent', false, '<p>'+html+'</p>');
56
+ tinyMCEPopup.execCommand("mceEndUndoLevel");
57
+ tinyMCEPopup.close();
58
+ }
59
+ //-->
60
+ </script>
61
+ <base target="_self" />
62
+ </head>
63
+ <body id="cforms" onLoad="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
64
+ <form onSubmit="insertSomething();" action="#">
65
+ <div class="tabs">
66
+ <ul>
67
+ <li id="tab"><span><a href="javascript:mcTabs.displayTab('tab','panel');"><?php _e('Pick a Category','cforms'); ?></a></span></li>
68
+ </ul>
69
+ </div>
70
+ <div class="panel_wrapper" style="height:120px;">
71
+ <div id="panel" class="panel current">
72
+ <table border="0" cellspacing="0" cellpadding="2">
73
+ <tr>
74
+ <td class="cflabel"><label for="nodename"><?php _e('Your Categories:','cforms'); ?></label></td>
75
+ <td class="cfinput"><select name="nodename"/><?php echo $options; ?></select>
76
+ </tr>
77
+
78
+ <tr>
79
+ <td class="cfinput"><input type="checkbox" name="full"/> Full Display?
80
+ </tr>
81
+ </table>
82
+ </div>
83
+
84
+ </div>
85
+ <div class="mceActionPanel">
86
+ <div style="float: left">
87
+ <input type="button" id="insert" name="insert" value="<?php _e('Insert','cforms'); ?>" onClick="insertSomething();" />
88
+ </div>
89
+ <div style="float: right">
90
+ <input type="button" id="cancel" name="cancel" value="<?php _e('Cancel','cforms'); ?>" onClick="tinyMCEPopup.close();" />
91
+ </div>
92
+ </div>
93
+ </form>
94
+ </body>
95
+ </html>
{wpsc-core/js → js}/ajax.js RENAMED
File without changes
js/editor_plugin.js ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ alert('asdfasdf');
2
+
3
+ tinyMCE.importPluginLanguagePack('dd');
4
+
5
+ var TinyMCE_dd_Plugin = {
6
+
7
+ getInfo : function() {
8
+ return {
9
+ longname : 'd:d',
10
+ author : 'Oliver Seidel',
11
+ authorurl : 'http://www.deliciousdays.com',
12
+ infourl : 'http://www.deliciousdays.com',
13
+ version : "1.0"
14
+ };
15
+ },
16
+
17
+ initInstance : function(inst) {
18
+ inst.addShortcut('ctrl', 'p', 'lang_dd_code_desc', 'mcedd_code');
19
+ },
20
+
21
+ getControlHTML : function(cn) {
22
+ switch (cn) {
23
+ case "dd_code":
24
+ return tinyMCE.getButtonHTML(cn, 'lang_dd_code_desc', '{$pluginurl}/images/cart-icon.gif', 'mcedd_code', true);
25
+ }
26
+
27
+ return "";
28
+ },
29
+
30
+ execCommand : function(editor_id, element, command, user_interface, value) {
31
+
32
+ switch (command) {
33
+
34
+ case "mcedd_code":
35
+ var anySelection = false;
36
+ var inst = tinyMCE.getInstanceById(editor_id);
37
+ var focusElm = inst.getFocusElement();
38
+ var selectedText = inst.selection.getSelectedHTML();
39
+
40
+ if ( focusElm.nodeName == "SPAN" && tinyMCE.getAttrib(focusElm, 'class') == "sfcode" ) {
41
+
42
+ var parent = focusElm.parentNode;
43
+
44
+ if ( focusElm.previousSibling && focusElm.previousSibling.nodeName.toUpperCase() == "#TEXT" )
45
+ focusElm.previousSibling.nodeValue = focusElm.previousSibling.nodeValue + focusElm.textContent;
46
+ else if (focusElm.nextSibling && focusElm.nextSibling.nodeName.toUpperCase() == "#TEXT")
47
+ focusElm.nextSibling.nodeValue = focusElm.nextSibling.nodeValue + focusElm.textContent;
48
+ else {
49
+ var newp = inst.getDoc().createElement("p");
50
+ var newText = inst.getDoc().createTextNode( focusElm.textContent );
51
+ newp.appendChild(newText);
52
+ var replaced = parent.replaceChild(newp,focusElm);
53
+ }
54
+
55
+
56
+ parent.removeChild(focusElm);
57
+ tinyMCE.selectedInstance.repaint();
58
+
59
+ }
60
+ else if ( focusElm.nodeName == "DIV" && tinyMCE.getAttrib(focusElm, 'class') == "sfcode" ) {
61
+
62
+ var parent = focusElm.parentNode;
63
+
64
+ var newp = inst.getDoc().createElement("p");
65
+
66
+ childcount = focusElm.childNodes.length;
67
+ for(j=0;j<childcount;j++) {
68
+ newp.appendChild(focusElm.childNodes[0]);
69
+ }
70
+
71
+ var replaced = parent.replaceChild(newp,focusElm);
72
+
73
+ //parent.removeChild(focusElm);
74
+ tinyMCE.selectedInstance.repaint();
75
+
76
+ }
77
+ else if( selectedText.length > 0 )
78
+ {
79
+
80
+ if ( selectedText.match(/<br\s?\/>/) || selectedText.match(/<p>/) )
81
+ html = '<div class="sfcode">'+selectedText+'</div>';
82
+ else
83
+ html = '<span class="sfcode">'+selectedText+'</span>';
84
+
85
+ tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, html);
86
+ tinyMCE.selectedInstance.repaint();
87
+ }
88
+ else
89
+ return true;
90
+
91
+ // Let TinyMCE know that something was modified
92
+ tinyMCE.triggerNodeChange(false);
93
+ return true;
94
+ }
95
+
96
+ return false;
97
+ },
98
+
99
+ handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
100
+
101
+ if ( (node.nodeName == "SPAN" || node.nodeName == "DIV") && tinyMCE.getAttrib(node, 'class') == "sfcode" ) {
102
+ tinyMCE.switchClass(editor_id + '_dd_code', 'mceButtonSelected');
103
+ return true;
104
+ }
105
+ else if ( any_selection == "" ) {
106
+ tinyMCE.switchClass(editor_id + '_dd_code', 'mceButtonDisabled');
107
+ return true;
108
+ }
109
+ else
110
+ tinyMCE.switchClass(editor_id + '_dd_code', 'mceButtonNormal');
111
+ },
112
+
113
+ cleanup : function(type, content, inst) {
114
+
115
+ switch (type) {
116
+ case "insert_to_editor_dom":
117
+ break;
118
+ case "insert_to_editor":
119
+ break;
120
+ case "get_from_editor":
121
+ break;
122
+ }
123
+
124
+ return content;
125
+ },
126
+
127
+ // Private plugin internal methods
128
+ _someInternalFunction : function(a, b) {
129
+ return 1;
130
+ }
131
+ };
132
+
133
+ // Add the plugin class to the list of available TinyMCE plugins
134
+ //tinyMCE.addPlugin("dd", TinyMCE_dd_Plugin);
{wpsc-core/js → js}/iautocompleter.js RENAMED
File without changes
{wpsc-core/js → js}/interface.js RENAMED
File without changes
{wpsc-core/js → js}/jquery.accessible-news-slider.js RENAMED
File without changes
{wpsc-core/js → js}/jquery.jeditable.pack.js RENAMED
File without changes
{wpsc-core/js → js}/jquery.rating.js RENAMED
@@ -1,137 +1,137 @@
1
- /**
2
- * Star Rating - jQuery plugin
3
- *
4
- * Copyright (c) 2007 Wil Stuckey
5
- * Modified by John Resig
6
- *
7
- * Dual licensed under the MIT and GPL licenses:
8
- * http://www.opensource.org/licenses/mit-license.php
9
- * http://www.gnu.org/licenses/gpl.html
10
- *
11
- */
12
-
13
- /**
14
- * Create a degradeable star rating interface out of a simple form structure.
15
- * Returns a modified jQuery object containing the new interface.
16
- *
17
- * @example jQuery('form.rating').rating();
18
- * @cat plugin
19
- * @type jQuery
20
- *
21
- */
22
- jQuery.fn.rating = function(){
23
- return this.each(function(){
24
- var div = jQuery("<div/>").attr({
25
- title: this.title,
26
- 'class': this.className
27
- }).insertAfter( this );
28
- product_id = jQuery("input.wpsc_rating_product_id", this).val();
29
-
30
- var selected_rating = jQuery("select option:selected", this).val();
31
- jQuery("select option", this).each(function(){
32
-
33
- className = '';
34
- //console.log(jQuery(this).attr('selected'));
35
- if(this.value <= selected_rating) {
36
- className = 'selected';
37
- }
38
- div.append( "<div class='star'><a class='" + className + "' href='#" + this.value + "' title='Give it a " + this.value + " Star Rating' rel="+product_id+">" + this.value + "</a></div>" );
39
- });
40
-
41
- var averageRating = this.title,
42
- url = this.action,
43
- averageIndex = 1,
44
- averagePercent = 1;
45
-
46
- // hover events and focus events added
47
- var stars = div.find("div.star")
48
- .mouseover(drainFill).focus(drainFill)
49
- .mouseout(drainReset).blur(drainReset)
50
- .click(click);
51
-
52
- // cancel button events
53
- div.find("div.cancel")
54
- .mouseover(drainAdd).focus(drainAdd)
55
- .mouseout(resetRemove).blur(resetRemove)
56
- .click(click);
57
-
58
- reset();
59
-
60
-
61
- div.mouseout(function(){
62
- //console.log(this);
63
- selected_element = jQuery("div.star a:contains("+selected_rating+")", this).parent("div.star");
64
- //console.log(selected_element);
65
- previous_elements = jQuery(selected_element, this).prevAll();
66
- next_elements = jQuery(selected_element, this).nextAll();
67
- jQuery('a',previous_elements).addClass('selected');
68
- jQuery('a',next_elements).removeClass('selected');
69
-
70
- });
71
-
72
- function drainFill(){ drain(); fill(this); }
73
- function drainReset(){ drain(); reset(); }
74
- function resetRemove(){ reset(); jQuery(this).removeClass('on'); }
75
- function drainAdd(){ drain(); jQuery(this).addClass('on'); }
76
-
77
- function click(){
78
- //console.log(jQuery(this));
79
- product_id = jQuery('a',this).attr('rel');
80
- rating = jQuery('a',this).html();
81
-
82
- form_values = "ajax=true&";
83
- form_values += "wpsc_ajax_action=rate_product&";
84
- form_values += "product_id="+product_id+"&";
85
- form_values += "product_rating="+rating;
86
- jQuery.post( 'index.php', form_values, function(returned_data) {
87
- eval(returned_data);
88
- });
89
- selected_rating = rating;
90
-
91
- parent_element = jQuery(this).parent();
92
- previous_elements = jQuery(this, this_parent).prevAll();
93
- next_elements = jQuery(this, this_parent).nextAll();
94
-
95
- jQuery('a',previous_elements).addClass('selected');
96
- jQuery('a',next_elements).removeClass('selected');
97
-
98
- //jQuery('div.star a', parent_element).removeClass('selected');
99
- jQuery('a',this).addClass('selected');
100
- return false;
101
- }
102
-
103
- // fill to the current mouse position.
104
- function fill( elem ){
105
- this_parent = jQuery(elem).parent();
106
- previous_elements = jQuery(elem, this_parent).prevAll();
107
- next_elements = jQuery(elem, this_parent).nextAll();
108
-
109
- jQuery('a',previous_elements).addClass('selected');
110
- jQuery('a',next_elements).removeClass('selected');
111
-
112
-
113
- //jQuery('div.star a', parent_element).removeClass('selected');
114
- //jQuery('a',this).addClass('selected');
115
-
116
- //stars.find("a").css("width", "100%");
117
- }
118
-
119
- // drain all the stars.
120
- function drain(){
121
- stars.removeClass("on hover");
122
- }
123
-
124
- // Reset the stars to the default index.
125
- function reset(){
126
- //stars.lt(averageIndex).addClass("on");
127
-
128
- //var percent = averagePercent ? averagePercent * 10 : 0;
129
- //if (percent > 0)
130
- // stars.eq(averageIndex).addClass("on").children("a").css("width", percent + "%");
131
- }
132
- }).remove();
133
- };
134
-
135
- // fix ie6 background flicker problem.
136
- if ( jQuery.browser.msie == true )
137
- document.execCommand('BackgroundImageCache', false, true);
1
+ /**
2
+ * Star Rating - jQuery plugin
3
+ *
4
+ * Copyright (c) 2007 Wil Stuckey
5
+ * Modified by John Resig
6
+ *
7
+ * Dual licensed under the MIT and GPL licenses:
8
+ * http://www.opensource.org/licenses/mit-license.php
9
+ * http://www.gnu.org/licenses/gpl.html
10
+ *
11
+ */
12
+
13
+ /**
14
+ * Create a degradeable star rating interface out of a simple form structure.
15
+ * Returns a modified jQuery object containing the new interface.
16
+ *
17
+ * @example jQuery('form.rating').rating();
18
+ * @cat plugin
19
+ * @type jQuery
20
+ *
21
+ */
22
+ jQuery.fn.rating = function(){
23
+ return this.each(function(){
24
+ var div = jQuery("<div/>").attr({
25
+ title: this.title,
26
+ className: this.className
27
+ }).insertAfter( this );
28
+
29
+ product_id = jQuery("input.wpsc_rating_product_id", this).val();
30
+ var selected_rating = jQuery("select option:selected", this).val();
31
+ jQuery("select option", this).each(function(){
32
+
33
+ className = '';
34
+ //console.log(jQuery(this).attr('selected'));
35
+ if(this.value <= selected_rating) {
36
+ className = 'selected';
37
+ }
38
+ div.append( "<div class='star'><a class='" + className + "' href='#" + this.value + "' title='Give it a " + this.value + " Star Rating' rel="+product_id+">" + this.value + "</a></div>" );
39
+ });
40
+
41
+ var averageRating = this.title,
42
+ url = this.action,
43
+ averageIndex = 1,
44
+ averagePercent = 1;
45
+
46
+ // hover events and focus events added
47
+ var stars = div.find("div.star")
48
+ .mouseover(drainFill).focus(drainFill)
49
+ .mouseout(drainReset).blur(drainReset)
50
+ .click(click);
51
+
52
+ // cancel button events
53
+ div.find("div.cancel")
54
+ .mouseover(drainAdd).focus(drainAdd)
55
+ .mouseout(resetRemove).blur(resetRemove)
56
+ .click(click);
57
+
58
+ reset();
59
+
60
+
61
+ div.mouseout(function(){
62
+ //console.log(this);
63
+ selected_element = jQuery("div.star a:contains("+selected_rating+")", this).parent("div.star");
64
+ //console.log(selected_element);
65
+ previous_elements = jQuery(selected_element, this).prevAll();
66
+ next_elements = jQuery(selected_element, this).nextAll();
67
+ jQuery('a',previous_elements).addClass('selected');
68
+ jQuery('a',next_elements).removeClass('selected');
69
+
70
+ });
71
+
72
+ function drainFill(){ drain(); fill(this); }
73
+ function drainReset(){ drain(); reset(); }
74
+ function resetRemove(){ reset(); jQuery(this).removeClass('on'); }
75
+ function drainAdd(){ drain(); jQuery(this).addClass('on'); }
76
+
77
+ function click(){
78
+ //console.log(jQuery(this));
79
+ product_id = jQuery('a',this).attr('rel');
80
+ rating = jQuery('a',this).html();
81
+
82
+ form_values = "ajax=true&";
83
+ form_values += "wpsc_ajax_action=rate_product&";
84
+ form_values += "product_id="+product_id+"&";
85
+ form_values += "product_rating="+rating;
86
+ jQuery.post( 'index.php', form_values, function(returned_data) {
87
+ eval(returned_data);
88
+ });
89
+ selected_rating = rating;
90
+
91
+ parent_element = jQuery(this).parent();
92
+ previous_elements = jQuery(this, this_parent).prevAll();
93
+ next_elements = jQuery(this, this_parent).nextAll();
94
+
95
+ jQuery('a',previous_elements).addClass('selected');
96
+ jQuery('a',next_elements).removeClass('selected');
97
+
98
+ //jQuery('div.star a', parent_element).removeClass('selected');
99
+ jQuery('a',this).addClass('selected');
100
+ return false;
101
+ }
102
+
103
+ // fill to the current mouse position.
104
+ function fill( elem ){
105
+ this_parent = jQuery(elem).parent();
106
+ previous_elements = jQuery(elem, this_parent).prevAll();
107
+ next_elements = jQuery(elem, this_parent).nextAll();
108
+
109
+ jQuery('a',previous_elements).addClass('selected');
110
+ jQuery('a',next_elements).removeClass('selected');
111
+
112
+
113
+ //jQuery('div.star a', parent_element).removeClass('selected');
114
+ //jQuery('a',this).addClass('selected');
115
+
116
+ //stars.find("a").css("width", "100%");
117
+ }
118
+
119
+ // drain all the stars.
120
+ function drain(){
121
+ stars.removeClass("on hover");
122
+ }
123
+
124
+ // Reset the stars to the default index.
125
+ function reset(){
126
+ //stars.lt(averageIndex).addClass("on");
127
+
128
+ //var percent = averagePercent ? averagePercent * 10 : 0;
129
+ //if (percent > 0)
130
+ // stars.eq(averageIndex).addClass("on").children("a").css("width", percent + "%");
131
+ }
132
+ }).remove();
133
+ };
134
+
135
+ // fix ie6 background flicker problem.
136
+ if ( jQuery.browser.msie == true )
137
+ document.execCommand('BackgroundImageCache', false, true);
{wpsc-core/js → js}/jquery.tabs.pack.js RENAMED
File without changes
{wpsc-core/js → js}/jquery.ui.tabs.css RENAMED
File without changes
{wpsc-core/js → js}/loading.gif RENAMED
File without changes
{wpsc-core/js → js}/product_rater.css RENAMED
@@ -113,7 +113,7 @@ div.starcontainer a{/*
113
  }
114
 
115
  div.starcontainer a:hover{
116
- background: url('../images/blue-star.gif') !important;
117
  /* border: 1px solid black;*/
118
  }
119
 
113
  }
114
 
115
  div.starcontainer a:hover{
116
+ background: url('images/blue-star.gif') !important;
117
  /* border: 1px solid black;*/
118
  }
119
 
{wpsc-core/js → js}/swfupload.js RENAMED
@@ -1,928 +1,928 @@
1
- /**
2
- * SWFUpload: http://www.swfupload.org, http://swfupload.googlecode.com
3
- *
4
- * mmSWFUpload 1.0: Flash upload dialog - http://profandesign.se/swfupload/, http://www.vinterwebb.se/
5
- *
6
- * SWFUpload is (c) 2006-2007 Lars Huring, Olov Nilz�n and Mammon Media and is released under the MIT License:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- *
9
- * SWFUpload 2 is (c) 2007-2008 Jake Roberts and is released under the MIT License:
10
- * http://www.opensource.org/licenses/mit-license.php
11
- *
12
- */
13
-
14
-
15
- /* ******************* */
16
- /* Constructor & Init */
17
- /* ******************* */
18
- var SWFUpload;
19
-
20
- if (SWFUpload == undefined) {
21
- SWFUpload = function (settings) {
22
- this.initSWFUpload(settings);
23
- };
24
- }
25
-
26
- SWFUpload.prototype.initSWFUpload = function (settings) {
27
- try {
28
- this.customSettings = {}; // A container where developers can place their own settings associated with this instance.
29
- this.settings = settings;
30
- this.eventQueue = [];
31
- this.movieName = "SWFUpload_" + SWFUpload.movieCount++;
32
- this.movieElement = null;
33
-
34
- // Setup global control tracking
35
- SWFUpload.instances[this.movieName] = this;
36
-
37
- // Load the settings. Load the Flash movie.
38
- this.initSettings();
39
- this.loadFlash();
40
- this.displayDebugInfo();
41
- } catch (ex) {
42
- delete SWFUpload.instances[this.movieName];
43
- throw ex;
44
- }
45
- };
46
-
47
- /* *************** */
48
- /* Static Members */
49
- /* *************** */
50
- SWFUpload.instances = {};
51
- SWFUpload.movieCount = 0;
52
- SWFUpload.version = "2.2.0 Beta 2";
53
- SWFUpload.QUEUE_ERROR = {
54
- QUEUE_LIMIT_EXCEEDED : -100,
55
- FILE_EXCEEDS_SIZE_LIMIT : -110,
56
- ZERO_BYTE_FILE : -120,
57
- INVALID_FILETYPE : -130
58
- };
59
- SWFUpload.UPLOAD_ERROR = {
60
- HTTP_ERROR : -200,
61
- MISSING_UPLOAD_URL : -210,
62
- IO_ERROR : -220,
63
- SECURITY_ERROR : -230,
64
- UPLOAD_LIMIT_EXCEEDED : -240,
65
- UPLOAD_FAILED : -250,
66
- SPECIFIED_FILE_ID_NOT_FOUND : -260,
67
- FILE_VALIDATION_FAILED : -270,
68
- FILE_CANCELLED : -280,
69
- UPLOAD_STOPPED : -290
70
- };
71
- SWFUpload.FILE_STATUS = {
72
- QUEUED : -1,
73
- IN_PROGRESS : -2,
74
- ERROR : -3,
75
- COMPLETE : -4,
76
- CANCELLED : -5
77
- };
78
- SWFUpload.BUTTON_ACTION = {
79
- SELECT_FILE : -100,
80
- SELECT_FILES : -110,
81
- START_UPLOAD : -120
82
- };
83
- SWFUpload.CURSOR = {
84
- ARROW : -1,
85
- HAND : -2
86
- };
87
- SWFUpload.WINDOW_MODE = {
88
- WINDOW : "window",
89
- TRANSPARENT : "transparent",
90
- OPAQUE : "opaque"
91
- };
92
-
93
- /* ******************** */
94
- /* Instance Members */
95
- /* ******************** */
96
-
97
- // Private: initSettings ensures that all the
98
- // settings are set, getting a default value if one was not assigned.
99
- SWFUpload.prototype.initSettings = function () {
100
- this.ensureDefault = function (settingName, defaultValue) {
101
- this.settings[settingName] = (this.settings[settingName] == undefined) ? defaultValue : this.settings[settingName];
102
- };
103
-
104
- // Upload backend settings
105
- this.ensureDefault("upload_url", "");
106
- this.ensureDefault("file_post_name", "Filedata");
107
- this.ensureDefault("post_params", {});
108
- this.ensureDefault("use_query_string", false);
109
- this.ensureDefault("requeue_on_error", false);
110
- this.ensureDefault("http_success", []);
111
-
112
- // File Settings
113
- this.ensureDefault("file_types", "*.*");
114
- this.ensureDefault("file_types_description", "All Files");
115
- this.ensureDefault("file_size_limit", 0); // Default zero means "unlimited"
116
- this.ensureDefault("file_upload_limit", 0);
117
- this.ensureDefault("file_queue_limit", 0);
118
-
119
- // Flash Settings
120
- this.ensureDefault("flash_url", "swfupload.swf");
121
- this.ensureDefault("prevent_swf_caching", true);
122
-
123
- // Button Settings
124
- this.ensureDefault("button_image_url", "");
125
- this.ensureDefault("button_width", 1);
126
- this.ensureDefault("button_height", 1);
127
- this.ensureDefault("button_text", "");
128
- this.ensureDefault("button_text_style", "color: #000000; font-size: 16pt;");
129
- this.ensureDefault("button_text_top_padding", 0);
130
- this.ensureDefault("button_text_left_padding", 0);
131
- this.ensureDefault("button_action", SWFUpload.BUTTON_ACTION.SELECT_FILES);
132
- this.ensureDefault("button_disabled", false);
133
- this.ensureDefault("button_placeholder_id", null);
134
- this.ensureDefault("button_cursor", SWFUpload.CURSOR.ARROW);
135
- this.ensureDefault("button_window_mode", SWFUpload.WINDOW_MODE.WINDOW);
136
-
137
- // Debug Settings
138
- this.ensureDefault("debug", false);
139
- this.settings.debug_enabled = this.settings.debug; // Here to maintain v2 API
140
-
141
- // Event Handlers
142
- this.settings.return_upload_start_handler = this.returnUploadStart;
143
- this.ensureDefault("swfupload_loaded_handler", null);
144
- this.ensureDefault("file_dialog_start_handler", null);
145
- this.ensureDefault("file_queued_handler", null);
146
- this.ensureDefault("file_queue_error_handler", null);
147
- this.ensureDefault("file_dialog_complete_handler", null);
148
-
149
- this.ensureDefault("upload_start_handler", null);
150
- this.ensureDefault("upload_progress_handler", null);
151
- this.ensureDefault("upload_error_handler", null);
152
- this.ensureDefault("upload_success_handler", null);
153
- this.ensureDefault("upload_complete_handler", null);
154
-
155
- this.ensureDefault("debug_handler", this.debugMessage);
156
-
157
- this.ensureDefault("custom_settings", {});
158
-
159
- // Other settings
160
- this.customSettings = this.settings.custom_settings;
161
-
162
- // Update the flash url if needed
163
- if (this.settings.prevent_swf_caching) {
164
- this.settings.flash_url = this.settings.flash_url + "?swfuploadrnd=" + Math.floor(Math.random() * 999999999);
165
- }
166
-
167
- delete this.ensureDefault;
168
- };
169
-
170
- SWFUpload.prototype.loadFlash = function () {
171
- if (this.settings.button_placeholder_id !== "") {
172
- this.replaceWithFlash();
173
- } else {
174
- this.appendFlash();
175
- }
176
- };
177
-
178
- // Private: appendFlash gets the HTML tag for the Flash
179
- // It then appends the flash to the body
180
- SWFUpload.prototype.appendFlash = function () {
181
- var targetElement, container;
182
-
183
- // Make sure an element with the ID we are going to use doesn't already exist
184
- if (document.getElementById(this.movieName) !== null) {
185
- throw "ID " + this.movieName + " is already in use. The Flash Object could not be added";
186
- }
187
-
188
- // Get the body tag where we will be adding the flash movie
189
- targetElement = document.getElementsByTagName("body")[0];
190
-
191
- if (targetElement == undefined) {
192
- throw "Could not find the 'body' element.";
193
- }
194
-
195
- // Append the container and load the flash
196
- container = document.createElement("div");
197
- container.style.width = "1px";
198
- container.style.height = "1px";
199
- container.style.overflow = "hidden";
200
-
201
- targetElement.appendChild(container);
202
- container.innerHTML = this.getFlashHTML(); // Using innerHTML is non-standard but the only sensible way to dynamically add Flash in IE (and maybe other browsers)
203
- };
204
-
205
- // Private: replaceWithFlash replaces the button_placeholder element with the flash movie.
206
- SWFUpload.prototype.replaceWithFlash = function () {
207
- var targetElement, tempParent;
208
-
209
- // Make sure an element with the ID we are going to use doesn't already exist
210
- if (document.getElementById(this.movieName) !== null) {
211
- throw "ID " + this.movieName + " is already in use. The Flash Object could not be added";
212
- }
213
-
214
- // Get the element where we will be placing the flash movie
215
- targetElement = document.getElementById(this.settings.button_placeholder_id);
216
-
217
- if (targetElement == undefined) {
218
- throw "Could not find the placeholder element.";
219
- }
220
-
221
- // Append the container and load the flash
222
- tempParent = document.createElement("div");
223
- tempParent.innerHTML = this.getFlashHTML(); // Using innerHTML is non-standard but the only sensible way to dynamically add Flash in IE (and maybe other browsers)
224
- targetElement.parentNode.replaceChild(tempParent.firstChild, targetElement);
225
-
226
- };
227
-
228
- // Private: getFlashHTML generates the object tag needed to embed the flash in to the document
229
- SWFUpload.prototype.getFlashHTML = function () {
230
- // Flash Satay object syntax: http://www.alistapart.com/articles/flashsatay
231
- return ['<object id="', this.movieName, '" type="application/x-shockwave-flash" data="', this.settings.flash_url, '" width="', this.settings.button_width, '" height="', this.settings.button_height, '" class="swfupload">',
232
- '<param name="wmode" value="', this.settings.button_window_mode , '" />',
233
- '<param name="movie" value="', this.settings.flash_url, '" />',
234
- '<param name="quality" value="high" />',
235
- '<param name="menu" value="false" />',
236
- '<param name="allowScriptAccess" value="always" />',
237
- '<param name="flashvars" value="' + this.getFlashVars() + '" />',
238
- '</object>'].join("");
239
- };
240
-
241
- // Private: getFlashVars builds the parameter string that will be passed
242
- // to flash in the flashvars param.
243
- SWFUpload.prototype.getFlashVars = function () {
244
- // Build a string from the post param object
245
- var paramString = this.buildParamString();
246
- var httpSuccessString = this.settings.http_success.join(",");
247
-
248
- // Build the parameter string
249
- return ["movieName=", encodeURIComponent(this.movieName),
250
- "&amp;uploadURL=", encodeURIComponent(this.settings.upload_url),
251
- "&amp;useQueryString=", encodeURIComponent(this.settings.use_query_string),
252
- "&amp;requeueOnError=", encodeURIComponent(this.settings.requeue_on_error),
253
- "&amp;httpSuccess=", encodeURIComponent(httpSuccessString),
254
- "&amp;params=", encodeURIComponent(paramString),
255
- "&amp;filePostName=", encodeURIComponent(this.settings.file_post_name),
256
- "&amp;fileTypes=", encodeURIComponent(this.settings.file_types),
257
- "&amp;fileTypesDescription=", encodeURIComponent(this.settings.file_types_description),
258
- "&amp;fileSizeLimit=", encodeURIComponent(this.settings.file_size_limit),
259
- "&amp;fileUploadLimit=", encodeURIComponent(this.settings.file_upload_limit),
260
- "&amp;fileQueueLimit=", encodeURIComponent(this.settings.file_queue_limit),
261
- "&amp;debugEnabled=", encodeURIComponent(this.settings.debug_enabled),
262
- "&amp;buttonImageURL=", encodeURIComponent(this.settings.button_image_url),
263
- "&amp;buttonWidth=", encodeURIComponent(this.settings.button_width),
264
- "&amp;buttonHeight=", encodeURIComponent(this.settings.button_height),
265
- "&amp;buttonText=", encodeURIComponent(this.settings.button_text),
266
- "&amp;buttonTextTopPadding=", encodeURIComponent(this.settings.button_text_top_padding),
267
- "&amp;buttonTextLeftPadding=", encodeURIComponent(this.settings.button_text_left_padding),
268
- "&amp;buttonTextStyle=", encodeURIComponent(this.settings.button_text_style),
269
- "&amp;buttonAction=", encodeURIComponent(this.settings.button_action),
270
- "&amp;buttonDisabled=", encodeURIComponent(this.settings.button_disabled),
271
- "&amp;buttonCursor=", encodeURIComponent(this.settings.button_cursor)
272
- ].join("");
273
- };
274
-
275
- // Public: getMovieElement retrieves the DOM reference to the Flash element added by SWFUpload
276
- // The element is cached after the first lookup
277
- SWFUpload.prototype.getMovieElement = function () {
278
- if (this.movieElement == undefined) {
279
- this.movieElement = document.getElementById(this.movieName);
280
- }
281
-
282
- if (this.movieElement === null) {
283
- throw "Could not find Flash element";
284
- }
285
-
286
- return this.movieElement;
287
- };
288
-
289
- // Private: buildParamString takes the name/value pairs in the post_params setting object
290
- // and joins them up in to a string formatted "name=value&amp;name=value"
291
- SWFUpload.prototype.buildParamString = function () {
292
- var postParams = this.settings.post_params;
293
- var paramStringPairs = [];
294
-
295
- if (typeof(postParams) === "object") {
296
- for (var name in postParams) {
297
- if (postParams.hasOwnProperty(name)) {
298
- // alert(name);
299
- paramStringPairs.push(encodeURIComponent(name.toString()) + "=" + encodeURIComponent(postParams[name].toString()));
300
- }
301
- }
302
- }
303
-
304
- return paramStringPairs.join("&amp;");
305
- };
306
-
307
- // Public: Used to remove a SWFUpload instance from the page. This method strives to remove
308
- // all references to the SWF, and other objects so memory is properly freed.
309
- // Returns true if everything was destroyed. Returns a false if a failure occurs leaving SWFUpload in an inconsistant state.
310
- SWFUpload.prototype.destroy = function () {
311
- try {
312
- // Make sure Flash is done before we try to remove it
313
- this.stopUpload();
314
-
315
- // Remove the SWFUpload DOM nodes
316
- var movieElement = null;
317
- try {
318
- movieElement = this.getMovieElement();
319
- } catch (ex) {
320
- }
321
-
322
- if (movieElement != undefined && movieElement.parentNode != undefined && typeof movieElement.parentNode.removeChild === "function") {
323
- var container = movieElement.parentNode;
324
- if (container != undefined) {
325
- container.removeChild(movieElement);
326
- if (container.parentNode != undefined && typeof container.parentNode.removeChild === "function") {
327
- container.parentNode.removeChild(container);
328
- }
329
- }
330
- }
331
-
332
- // Destroy references
333
- SWFUpload.instances[this.movieName] = null;
334
- delete SWFUpload.instances[this.movieName];
335
-
336
- delete this.movieElement;
337
- delete this.settings;
338
- delete this.customSettings;
339
- delete this.eventQueue;
340
- delete this.movieName;
341
-
342
- delete window[this.movieName];
343
-
344
- return true;
345
- } catch (ex1) {
346
- return false;
347
- }
348
- };
349
-
350
- // Public: displayDebugInfo prints out settings and configuration
351
- // information about this SWFUpload instance.
352
- // This function (and any references to it) can be deleted when placing
353
- // SWFUpload in production.
354
- SWFUpload.prototype.displayDebugInfo = function () {
355
- this.debug(
356
- [
357
- "---SWFUpload Instance Info---\n",
358
- "Version: ", SWFUpload.version, "\n",
359
- "Movie Name: ", this.movieName, "\n",
360
- "Settings:\n",
361
- "\t", "upload_url: ", this.settings.upload_url, "\n",
362
- "\t", "flash_url: ", this.settings.flash_url, "\n",
363
- "\t", "use_query_string: ", this.settings.use_query_string.toString(), "\n",
364
- "\t", "requeue_on_error: ", this.settings.requeue_on_error.toString(), "\n",
365
- "\t", "http_success: ", this.settings.http_success.join(", "), "\n",
366
- "\t", "file_post_name: ", this.settings.file_post_name, "\n",
367
- "\t", "post_params: ", this.settings.post_params.toString(), "\n",
368
- "\t", "file_types: ", this.settings.file_types, "\n",
369
- "\t", "file_types_description: ", this.settings.file_types_description, "\n",
370
- "\t", "file_size_limit: ", this.settings.file_size_limit, "\n",
371
- "\t", "file_upload_limit: ", this.settings.file_upload_limit, "\n",
372
- "\t", "file_queue_limit: ", this.settings.file_queue_limit, "\n",
373
- "\t", "debug: ", this.settings.debug.toString(), "\n",
374
-
375
- "\t", "prevent_swf_caching: ", this.settings.prevent_swf_caching.toString(), "\n",
376
-
377
- "\t", "button_placeholder_id: ", this.settings.button_placeholder_id.toString(), "\n",
378
- "\t", "button_image_url: ", this.settings.button_image_url.toString(), "\n",
379
- "\t", "button_width: ", this.settings.button_width.toString(), "\n",
380
- "\t", "button_height: ", this.settings.button_height.toString(), "\n",
381
- "\t", "button_text: ", this.settings.button_text.toString(), "\n",
382
- "\t", "button_text_style: ", this.settings.button_text_style.toString(), "\n",
383
- "\t", "button_text_top_padding: ", this.settings.button_text_top_padding.toString(), "\n",
384
- "\t", "button_text_left_padding: ", this.settings.button_text_left_padding.toString(), "\n",
385
- "\t", "button_action: ", this.settings.button_action.toString(), "\n",
386
- "\t", "button_disabled: ", this.settings.button_disabled.toString(), "\n",
387
-
388
- "\t", "custom_settings: ", this.settings.custom_settings.toString(), "\n",
389
- "Event Handlers:\n",
390
- "\t", "swfupload_loaded_handler assigned: ", (typeof this.settings.swfupload_loaded_handler === "function").toString(), "\n",
391
- "\t", "file_dialog_start_handler assigned: ", (typeof this.settings.file_dialog_start_handler === "function").toString(), "\n",
392
- "\t", "file_queued_handler assigned: ", (typeof this.settings.file_queued_handler === "function").toString(), "\n",
393
- "\t", "file_queue_error_handler assigned: ", (typeof this.settings.file_queue_error_handler === "function").toString(), "\n",
394
- "\t", "upload_start_handler assigned: ", (typeof this.settings.upload_start_handler === "function").toString(), "\n",
395
- "\t", "upload_progress_handler assigned: ", (typeof this.settings.upload_progress_handler === "function").toString(), "\n",
396
- "\t", "upload_error_handler assigned: ", (typeof this.settings.upload_error_handler === "function").toString(), "\n",
397
- "\t", "upload_success_handler assigned: ", (typeof this.settings.upload_success_handler === "function").toString(), "\n",
398
- "\t", "upload_complete_handler assigned: ", (typeof this.settings.upload_complete_handler === "function").toString(), "\n",
399
- "\t", "debug_handler assigned: ", (typeof this.settings.debug_handler === "function").toString(), "\n"
400
- ].join("")
401
- );
402
- };
403
-
404
- /* Note: addSetting and getSetting are no longer used by SWFUpload but are included
405
- the maintain v2 API compatibility
406
- */
407
- // Public: (Deprecated) addSetting adds a setting value. If the value given is undefined or null then the default_value is used.
408
- SWFUpload.prototype.addSetting = function (name, value, default_value) {
409
- if (value == undefined) {
410
- return (this.settings[name] = default_value);
411
- } else {
412
- return (this.settings[name] = value);
413
- }
414
- };
415
-
416
- // Public: (Deprecated) getSetting gets a setting. Returns an empty string if the setting was not found.
417
- SWFUpload.prototype.getSetting = function (name) {
418
- if (this.settings[name] != undefined) {
419
- return this.settings[name];
420
- }
421
-
422
- return "";
423
- };
424
-
425
-
426
-
427
- // Private: callFlash handles function calls made to the Flash element.
428
- // Calls are made with a setTimeout for some functions to work around
429
- // bugs in the ExternalInterface library.
430
- SWFUpload.prototype.callFlash = function (functionName, argumentArray) {
431
- argumentArray = argumentArray || [];
432
-
433
- var movieElement = this.getMovieElement();
434
- var returnValue;
435
-
436
- if (typeof movieElement[functionName] === "function") {
437
- // We have to go through all this if/else stuff because the Flash functions don't have apply() and only accept the exact number of arguments.
438
- if (argumentArray.length === 0) {
439
- returnValue = movieElement[functionName]();
440
- } else if (argumentArray.length === 1) {
441
- returnValue = movieElement[functionName](argumentArray[0]);
442
- } else if (argumentArray.length === 2) {
443
- returnValue = movieElement[functionName](argumentArray[0], argumentArray[1]);
444
- } else if (argumentArray.length === 3) {
445
- returnValue = movieElement[functionName](argumentArray[0], argumentArray[1], argumentArray[2]);
446
- } else {
447
- throw "Too many arguments";
448
- }
449
-
450
- // Unescape file post param values
451
- if (returnValue != undefined && typeof returnValue.post === "object") {
452
- returnValue = this.unescapeFilePostParams(returnValue);
453
- }
454
-
455
- return returnValue;
456
- } else {
457
- throw "Invalid function name: " + functionName;
458
- }
459
- };
460
-
461
-
462
- /* *****************************
463
- -- Flash control methods --
464
- Your UI should use these
465
- to operate SWFUpload
466
- ***************************** */
467
-
468
- // Public: selectFile causes a File Selection Dialog window to appear. This
469
- // dialog only allows 1 file to be selected. WARNING: this function does not work in Flash Player 10
470
- SWFUpload.prototype.selectFile = function () {
471
- this.callFlash("SelectFile");
472
- };
473
-
474
- // Public: selectFiles causes a File Selection Dialog window to appear/ This
475
- // dialog allows the user to select any number of files
476
- // Flash Bug Warning: Flash limits the number of selectable files based on the combined length of the file names.
477
- // If the selection name length is too long the dialog will fail in an unpredictable manner. There is no work-around
478
- // for this bug. WARNING: this function does not work in Flash Player 10
479
- SWFUpload.prototype.selectFiles = function () {
480
- this.callFlash("SelectFiles");
481
- };
482
-
483
-
484
- // Public: startUpload starts uploading the first file in the queue unless
485
- // the optional parameter 'fileID' specifies the ID
486
- SWFUpload.prototype.startUpload = function (fileID) {
487
- this.callFlash("StartUpload", [fileID]);
488
- };
489
-
490
- // Public: cancelUpload cancels any queued file. The fileID parameter may be the file ID or index.
491
- // If you do not specify a fileID the current uploading file or first file in the queue is cancelled.
492
- // If you do not want the uploadError event to trigger you can specify false for the triggerErrorEvent parameter.
493
- SWFUpload.prototype.cancelUpload = function (fileID, triggerErrorEvent) {
494
- if (triggerErrorEvent !== false) {
495
- triggerErrorEvent = true;
496
- }
497
- this.callFlash("CancelUpload", [fileID, triggerErrorEvent]);
498
- };
499
-
500
- // Public: stopUpload stops the current upload and requeues the file at the beginning of the queue.
501
- // If nothing is currently uploading then nothing happens.
502
- SWFUpload.prototype.stopUpload = function () {
503
- this.callFlash("StopUpload");
504
- };
505
-
506
- /* ************************
507
- * Settings methods
508
- * These methods change the SWFUpload settings.
509
- * SWFUpload settings should not be changed directly on the settings object
510
- * since many of the settings need to be passed to Flash in order to take
511
- * effect.
512
- * *********************** */
513
-
514
- // Public: getStats gets the file statistics object.
515
- SWFUpload.prototype.getStats = function () {
516
- return this.callFlash("GetStats");
517
- };
518
-
519
- // Public: setStats changes the SWFUpload statistics. You shouldn't need to
520
- // change the statistics but you can. Changing the statistics does not
521
- // affect SWFUpload accept for the successful_uploads count which is used
522
- // by the upload_limit setting to determine how many files the user may upload.
523
- SWFUpload.prototype.setStats = function (statsObject) {
524
- this.callFlash("SetStats", [statsObject]);
525
- };
526
-
527
- // Public: getFile retrieves a File object by ID or Index. If the file is
528
- // not found then 'null' is returned.
529
- SWFUpload.prototype.getFile = function (fileID) {
530
- if (typeof(fileID) === "number") {
531
- return this.callFlash("GetFileByIndex", [fileID]);
532
- } else {
533
- return this.callFlash("GetFile", [fileID]);
534
- }
535
- };
536
-
537
- // Public: addFileParam sets a name/value pair that will be posted with the
538
- // file specified by the Files ID. If the name already exists then the
539
- // exiting value will be overwritten.
540
- SWFUpload.prototype.addFileParam = function (fileID, name, value) {
541
- return this.callFlash("AddFileParam", [fileID, name, value]);
542
- };
543
-
544
- // Public: removeFileParam removes a previously set (by addFileParam) name/value
545
- // pair from the specified file.
546
- SWFUpload.prototype.removeFileParam = function (fileID, name) {
547
- this.callFlash("RemoveFileParam", [fileID, name]);
548
- };
549
-
550
- // Public: setUploadUrl changes the upload_url setting.
551
- SWFUpload.prototype.setUploadURL = function (url) {
552
- this.settings.upload_url = url.toString();
553
- this.callFlash("SetUploadURL", [url]);
554
- };
555
-
556
- // Public: setPostParams changes the post_params setting
557
- SWFUpload.prototype.setPostParams = function (paramsObject) {
558
- this.settings.post_params = paramsObject;
559
- this.callFlash("SetPostParams", [paramsObject]);
560
- };
561
-
562
- // Public: addPostParam adds post name/value pair. Each name can have only one value.
563
- SWFUpload.prototype.addPostParam = function (name, value) {
564
- this.settings.post_params[name] = value;
565
- this.callFlash("SetPostParams", [this.settings.post_params]);
566
- };
567
-
568
- // Public: removePostParam deletes post name/value pair.
569
- SWFUpload.prototype.removePostParam = function (name) {
570
- delete this.settings.post_params[name];
571
- this.callFlash("SetPostParams", [this.settings.post_params]);
572
- };
573
-
574
- // Public: setFileTypes changes the file_types setting and the file_types_description setting
575
- SWFUpload.prototype.setFileTypes = function (types, description) {
576
- this.settings.file_types = types;
577
- this.settings.file_types_description = description;
578
- this.callFlash("SetFileTypes", [types, description]);
579
- };
580
-
581
- // Public: setFileSizeLimit changes the file_size_limit setting
582
- SWFUpload.prototype.setFileSizeLimit = function (fileSizeLimit) {
583
- this.settings.file_size_limit = fileSizeLimit;
584
- this.callFlash("SetFileSizeLimit", [fileSizeLimit]);
585
- };
586
-
587
- // Public: setFileUploadLimit changes the file_upload_limit setting
588
- SWFUpload.prototype.setFileUploadLimit = function (fileUploadLimit) {
589
- this.settings.file_upload_limit = fileUploadLimit;
590
- this.callFlash("SetFileUploadLimit", [fileUploadLimit]);
591
- };
592
-
593
- // Public: setFileQueueLimit changes the file_queue_limit setting
594
- SWFUpload.prototype.setFileQueueLimit = function (fileQueueLimit) {
595
- this.settings.file_queue_limit = fileQueueLimit;
596
- this.callFlash("SetFileQueueLimit", [fileQueueLimit]);
597
- };
598
-
599
- // Public: setFilePostName changes the file_post_name setting
600
- SWFUpload.prototype.setFilePostName = function (filePostName) {
601
- this.settings.file_post_name = filePostName;
602
- this.callFlash("SetFilePostName", [filePostName]);
603
- };
604
-
605
- // Public: setUseQueryString changes the use_query_string setting
606
- SWFUpload.prototype.setUseQueryString = function (useQueryString) {
607
- this.settings.use_query_string = useQueryString;
608
- this.callFlash("SetUseQueryString", [useQueryString]);
609
- };
610
-
611
- // Public: setRequeueOnError changes the requeue_on_error setting
612
- SWFUpload.prototype.setRequeueOnError = function (requeueOnError) {
613
- this.settings.requeue_on_error = requeueOnError;
614
- this.callFlash("SetRequeueOnError", [requeueOnError]);
615
- };
616
-
617
- // Public: setHTTPSuccess changes the http_success setting
618
- SWFUpload.prototype.setHTTPSuccess = function (http_status_codes) {
619
- if (typeof http_status_codes === "string") {
620
- http_status_codes = http_status_codes.replace(" ", "").split(",");
621
- }
622
-
623
- this.settings.http_success = http_status_codes;
624
- this.callFlash("SetHTTPSuccess", [http_status_codes]);
625
- };
626
-
627
-
628
- // Public: setDebugEnabled changes the debug_enabled setting
629
- SWFUpload.prototype.setDebugEnabled = function (debugEnabled) {
630
- this.settings.debug_enabled = debugEnabled;
631
- this.callFlash("SetDebugEnabled", [debugEnabled]);
632
- };
633
-
634
- // Public: setButtonImageURL loads a button image sprite
635
- SWFUpload.prototype.setButtonImageURL = function (buttonImageURL) {
636
- if (buttonImageURL == undefined) {
637
- buttonImageURL = "";
638
- }
639
-
640
- this.settings.button_image_url = buttonImageURL;
641
- this.callFlash("SetButtonImageURL", [buttonImageURL]);
642
- };
643
-
644
- // Public: setButtonDimensions resizes the Flash Movie and button
645
- SWFUpload.prototype.setButtonDimensions = function (width, height) {
646
- this.settings.button_width = width;
647
- this.settings.button_height = height;
648
-
649
- var movie = this.getMovieElement();
650
- if (movie != undefined) {
651
- movie.style.width = width + "px";
652
- movie.style.height = height + "px";
653
- }
654
-
655
- this.callFlash("SetButtonDimensions", [width, height]);
656
- };
657
- // Public: setButtonText Changes the text overlaid on the button
658
- SWFUpload.prototype.setButtonText = function (html) {
659
- this.settings.button_text = html;
660
- this.callFlash("SetButtonText", [html]);
661
- };
662
- // Public: setButtonTextPadding changes the top and left padding of the text overlay
663
- SWFUpload.prototype.setButtonTextPadding = function (left, top) {
664
- this.settings.button_text_top_padding = top;
665
- this.settings.button_text_left_padding = left;
666
- this.callFlash("SetButtonTextPadding", [left, top]);
667
- };
668
-
669
- // Public: setButtonTextStyle changes the CSS used to style the HTML/Text overlaid on the button
670
- SWFUpload.prototype.setButtonTextStyle = function (css) {
671
- this.settings.button_text_style = css;
672
- this.callFlash("SetButtonTextStyle", [css]);
673
- };
674
- // Public: setButtonDisabled disables/enables the button
675
- SWFUpload.prototype.setButtonDisabled = function (isDisabled) {
676
- this.settings.button_disabled = isDisabled;
677
- this.callFlash("SetButtonDisabled", [isDisabled]);
678
- };
679
- // Public: setButtonAction sets the action that occurs when the button is clicked
680
- SWFUpload.prototype.setButtonAction = function (buttonAction) {
681
- this.settings.button_action = buttonAction;
682
- this.callFlash("SetButtonAction", [buttonAction]);
683
- };
684
-
685
- // Public: setButtonCursor changes the mouse cursor displayed when hovering over the button
686
- SWFUpload.prototype.setButtonCursor = function (cursor) {
687
- this.settings.button_cursor = cursor;
688
- this.callFlash("SetButtonCursor", [cursor]);
689
- };
690
-
691
- /* *******************************
692
- Flash Event Interfaces
693
- These functions are used by Flash to trigger the various
694
- events.
695
-
696
- All these functions a Private.
697
-
698
- Because the ExternalInterface library is buggy the event calls
699
- are added to a queue and the queue then executed by a setTimeout.
700
- This ensures that events are executed in a determinate order and that
701
- the ExternalInterface bugs are avoided.
702
- ******************************* */
703
-
704
- SWFUpload.prototype.queueEvent = function (handlerName, argumentArray) {
705
- // Warning: Don't call this.debug inside here or you'll create an infinite loop
706
-
707
- if (argumentArray == undefined) {
708
- argumentArray = [];
709
- } else if (!(argumentArray instanceof Array)) {
710
- argumentArray = [argumentArray];
711
- }
712
-
713
- var self = this;
714
- if (typeof this.settings[handlerName] === "function") {
715
- // Queue the event
716
- this.eventQueue.push(function () {
717
- this.settings[handlerName].apply(this, argumentArray);
718
- });
719
-
720
- // Execute the next queued event
721
- setTimeout(function () {
722
- self.executeNextEvent();
723
- }, 0);
724
-
725
- } else if (this.settings[handlerName] !== null) {
726
- throw "Event handler " + handlerName + " is unknown or is not a function";
727
- }
728
- };
729
-
730
- // Private: Causes the next event in the queue to be executed. Since events are queued using a setTimeout
731
- // we must queue them in order to garentee that they are executed in order.
732
- SWFUpload.prototype.executeNextEvent = function () {
733
- // Warning: Don't call this.debug inside here or you'll create an infinite loop
734
-
735
- var f = this.eventQueue ? this.eventQueue.shift() : null;
736
- if (typeof(f) === "function") {
737
- f.apply(this);
738
- }
739
- };
740
-
741
- // Private: unescapeFileParams is part of a workaround for a flash bug where objects passed through ExternalInterface cannot have
742
- // properties that contain characters that are not valid for JavaScript identifiers. To work around this
743
- // the Flash Component escapes the parameter names and we must unescape again before passing them along.
744
- SWFUpload.prototype.unescapeFilePostParams = function (file) {
745
- var reg = /[$]([0-9a-f]{4})/i;
746
- var unescapedPost = {};
747
- var uk;
748
-
749
- if (file != undefined) {
750
- for (var k in file.post) {
751
- if (file.post.hasOwnProperty(k)) {
752
- uk = k;
753
- var match;
754
- while ((match = reg.exec(uk)) !== null) {
755
- uk = uk.replace(match[0], String.fromCharCode(parseInt("0x" + match[1], 16)));
756
- }
757
- unescapedPost[uk] = file.post[k];
758
- }
759
- }
760
-
761
- file.post = unescapedPost;
762
- }
763
-
764
- return file;
765
- };
766
-
767
- SWFUpload.prototype.flashReady = function () {
768
- // Check that the movie element is loaded correctly with its ExternalInterface methods defined
769
- var movieElement = this.getMovieElement();
770
- if (typeof movieElement.StartUpload !== "function") {
771
- throw "ExternalInterface methods failed to initialize.";
772
- }
773
-
774
- // Fix IE Flash/Form bug
775
- if (window[this.movieName] == undefined) {
776
- window[this.movieName] = movieElement;
777
- }
778
-
779
- this.queueEvent("swfupload_loaded_handler");
780
- };
781
-
782
-
783
- /* This is a chance to do something before the browse window opens */
784
- SWFUpload.prototype.fileDialogStart = function () {
785
- this.queueEvent("file_dialog_start_handler");
786
- };
787
-
788
-
789
- /* Called when a file is successfully added to the queue. */
790
- SWFUpload.prototype.fileQueued = function (file) {
791
- file = this.unescapeFilePostParams(file);
792
- this.queueEvent("file_queued_handler", file);
793
- };
794
-
795
-
796
- /* Handle errors that occur when an attempt to queue a file fails. */
797
- SWFUpload.prototype.fileQueueError = function (file, errorCode, message) {
798
- file = this.unescapeFilePostParams(file);
799
- this.queueEvent("file_queue_error_handler", [file, errorCode, message]);
800
- };
801
-
802
- /* Called after the file dialog has closed and the selected files have been queued.
803
- You could call startUpload here if you want the queued files to begin uploading immediately. */
804
- SWFUpload.prototype.fileDialogComplete = function (numFilesSelected, numFilesQueued) {
805
- this.queueEvent("file_dialog_complete_handler", [numFilesSelected, numFilesQueued]);
806
- };
807
-
808
- SWFUpload.prototype.uploadStart = function (file) {
809
- file = this.unescapeFilePostParams(file);
810
- this.queueEvent("return_upload_start_handler", file);
811
- };
812
-
813
- SWFUpload.prototype.returnUploadStart = function (file) {
814
- var returnValue;
815
- if (typeof this.settings.upload_start_handler === "function") {
816
- file = this.unescapeFilePostParams(file);
817
- returnValue = this.settings.upload_start_handler.call(this, file);
818
- } else if (this.settings.upload_start_handler != undefined) {
819
- throw "upload_start_handler must be a function";
820
- }
821
-
822
- // Convert undefined to true so if nothing is returned from the upload_start_handler it is
823
- // interpretted as 'true'.
824
- if (returnValue === undefined) {
825
- returnValue = true;
826
- }
827
-
828
- returnValue = !!returnValue;
829
-
830
- this.callFlash("ReturnUploadStart", [returnValue]);
831
- };
832
-
833
-
834
-
835
- SWFUpload.prototype.uploadProgress = function (file, bytesComplete, bytesTotal) {
836
- file = this.unescapeFilePostParams(file);
837
- this.queueEvent("upload_progress_handler", [file, bytesComplete, bytesTotal]);
838
- };
839
-
840
- SWFUpload.prototype.uploadError = function (file, errorCode, message) {
841
- file = this.unescapeFilePostParams(file);
842
- this.queueEvent("upload_error_handler", [file, errorCode, message]);
843
- };
844
-
845
- SWFUpload.prototype.uploadSuccess = function (file, serverData) {
846
- file = this.unescapeFilePostParams(file);
847
- this.queueEvent("upload_success_handler", [file, serverData]);
848
- };
849
-
850
- SWFUpload.prototype.uploadComplete = function (file) {
851
- file = this.unescapeFilePostParams(file);
852
- this.queueEvent("upload_complete_handler", file);
853
- };
854
-
855
- /* Called by SWFUpload JavaScript and Flash functions when debug is enabled. By default it writes messages to the
856
- internal debug console. You can override this event and have messages written where you want. */
857
- SWFUpload.prototype.debug = function (message) {
858
- this.queueEvent("debug_handler", message);
859
- };
860
-
861
-
862
- /* **********************************
863
- Debug Console
864
- The debug console is a self contained, in page location
865
- for debug message to be sent. The Debug Console adds
866
- itself to the body if necessary.
867
-
868
- The console is automatically scrolled as messages appear.
869
-
870
- If you are using your own debug handler or when you deploy to production and
871
- have debug disabled you can remove these functions to reduce the file size
872
- and complexity.
873
- ********************************** */
874
-
875
- // Private: debugMessage is the default debug_handler. If you want to print debug messages
876
- // call the debug() function. When overriding the function your own function should
877
- // check to see if the debug setting is true before outputting debug information.
878
- SWFUpload.prototype.debugMessage = function (message) {
879
- if (this.settings.debug) {
880
- var exceptionMessage, exceptionValues = [];
881
-
882
- // Check for an exception object and print it nicely
883
- if (typeof message === "object" && typeof message.name === "string" && typeof message.message === "string") {
884
- for (var key in message) {
885
- if (message.hasOwnProperty(key)) {
886
- exceptionValues.push(key + ": " + message[key]);
887
- }
888
- }
889
- exceptionMessage = exceptionValues.join("\n") || "";
890
- exceptionValues = exceptionMessage.split("\n");
891
- exceptionMessage = "EXCEPTION: " + exceptionValues.join("\nEXCEPTION: ");
892
- SWFUpload.Console.writeLine(exceptionMessage);
893
- } else {
894
- SWFUpload.Console.writeLine(message);
895
- }
896
- }
897
- };
898
-
899
- SWFUpload.Console = {};
900
- SWFUpload.Console.writeLine = function (message) {
901
- var console, documentForm;
902
-
903
- try {
904
- console = document.getElementById("SWFUpload_Console");
905
-
906
- if (!console) {
907
- documentForm = document.createElement("form");
908
- document.getElementsByTagName("body")[0].appendChild(documentForm);
909
-
910
- console = document.createElement("textarea");
911
- console.id = "SWFUpload_Console";
912
- console.style.fontFamily = "monospace";
913
- console.setAttribute("wrap", "off");
914
- console.wrap = "off";
915
- console.style.overflow = "auto";
916
- console.style.width = "700px";
917
- console.style.height = "350px";
918
- console.style.margin = "5px";
919
- documentForm.appendChild(console);
920
- }
921
-
922
- console.value += message + "\n";
923
-
924
- console.scrollTop = console.scrollHeight - console.clientHeight;
925
- } catch (ex) {
926
- alert("Exception: " + ex.name + " Message: " + ex.message);
927
- }
928
- };
1
+ /**
2
+ * SWFUpload: http://www.swfupload.org, http://swfupload.googlecode.com
3
+ *
4
+ * mmSWFUpload 1.0: Flash upload dialog - http://profandesign.se/swfupload/, http://www.vinterwebb.se/
5
+ *
6
+ * SWFUpload is (c) 2006-2007 Lars Huring, Olov Nilz�n and Mammon Media and is released under the MIT License:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ *
9
+ * SWFUpload 2 is (c) 2007-2008 Jake Roberts and is released under the MIT License:
10
+ * http://www.opensource.org/licenses/mit-license.php
11
+ *
12
+ */
13
+
14
+
15
+ /* ******************* */
16
+ /* Constructor & Init */
17
+ /* ******************* */
18
+ var SWFUpload;
19
+
20
+ if (SWFUpload == undefined) {
21
+ SWFUpload = function (settings) {
22
+ this.initSWFUpload(settings);
23
+ };
24
+ }
25
+
26
+ SWFUpload.prototype.initSWFUpload = function (settings) {
27
+ try {
28
+ this.customSettings = {}; // A container where developers can place their own settings associated with this instance.
29
+ this.settings = settings;
30
+ this.eventQueue = [];
31
+ this.movieName = "SWFUpload_" + SWFUpload.movieCount++;
32
+ this.movieElement = null;
33
+
34
+ // Setup global control tracking
35
+ SWFUpload.instances[this.movieName] = this;
36
+
37
+ // Load the settings. Load the Flash movie.
38
+ this.initSettings();
39
+ this.loadFlash();
40
+ this.displayDebugInfo();
41
+ } catch (ex) {
42
+ delete SWFUpload.instances[this.movieName];
43
+ throw ex;
44
+ }
45
+ };
46
+
47
+ /* *************** */
48
+ /* Static Members */
49
+ /* *************** */
50
+ SWFUpload.instances = {};
51
+ SWFUpload.movieCount = 0;
52
+ SWFUpload.version = "2.2.0 Beta 2";
53
+ SWFUpload.QUEUE_ERROR = {
54
+ QUEUE_LIMIT_EXCEEDED : -100,
55
+ FILE_EXCEEDS_SIZE_LIMIT : -110,
56
+ ZERO_BYTE_FILE : -120,
57
+ INVALID_FILETYPE : -130
58
+ };
59
+ SWFUpload.UPLOAD_ERROR = {
60
+ HTTP_ERROR : -200,
61
+ MISSING_UPLOAD_URL : -210,
62
+ IO_ERROR : -220,
63
+ SECURITY_ERROR : -230,
64
+ UPLOAD_LIMIT_EXCEEDED : -240,
65
+ UPLOAD_FAILED : -250,
66
+ SPECIFIED_FILE_ID_NOT_FOUND : -260,
67
+ FILE_VALIDATION_FAILED : -270,
68
+ FILE_CANCELLED : -280,
69
+ UPLOAD_STOPPED : -290
70
+ };
71
+ SWFUpload.FILE_STATUS = {
72
+ QUEUED : -1,
73
+ IN_PROGRESS : -2,
74
+ ERROR : -3,
75
+ COMPLETE : -4,
76
+ CANCELLED : -5
77
+ };
78
+ SWFUpload.BUTTON_ACTION = {
79
+ SELECT_FILE : -100,
80
+ SELECT_FILES : -110,
81
+ START_UPLOAD : -120
82
+ };
83
+ SWFUpload.CURSOR = {
84
+ ARROW : -1,
85
+ HAND : -2
86
+ };
87
+ SWFUpload.WINDOW_MODE = {
88
+ WINDOW : "window",
89
+ TRANSPARENT : "transparent",
90
+ OPAQUE : "opaque"
91
+ };
92
+
93
+ /* ******************** */
94
+ /* Instance Members */
95
+ /* ******************** */
96
+
97
+ // Private: initSettings ensures that all the
98
+ // settings are set, getting a default value if one was not assigned.
99
+ SWFUpload.prototype.initSettings = function () {
100
+ this.ensureDefault = function (settingName, defaultValue) {
101
+ this.settings[settingName] = (this.settings[settingName] == undefined) ? defaultValue : this.settings[settingName];
102
+ };
103
+
104
+ // Upload backend settings
105
+ this.ensureDefault("upload_url", "");
106
+ this.ensureDefault("file_post_name", "Filedata");
107
+ this.ensureDefault("post_params", {});
108
+ this.ensureDefault("use_query_string", false);
109
+ this.ensureDefault("requeue_on_error", false);
110
+ this.ensureDefault("http_success", []);
111
+
112
+ // File Settings
113
+ this.ensureDefault("file_types", "*.*");
114
+ this.ensureDefault("file_types_description", "All Files");
115
+ this.ensureDefault("file_size_limit", 0); // Default zero means "unlimited"
116
+ this.ensureDefault("file_upload_limit", 0);
117
+ this.ensureDefault("file_queue_limit", 0);
118
+
119
+ // Flash Settings
120
+ this.ensureDefault("flash_url", "swfupload.swf");
121
+ this.ensureDefault("prevent_swf_caching", true);
122
+
123
+ // Button Settings
124
+ this.ensureDefault("button_image_url", "");
125
+ this.ensureDefault("button_width", 1);
126
+ this.ensureDefault("button_height", 1);
127
+ this.ensureDefault("button_text", "");
128
+ this.ensureDefault("button_text_style", "color: #000000; font-size: 16pt;");
129
+ this.ensureDefault("button_text_top_padding", 0);
130
+ this.ensureDefault("button_text_left_padding", 0);
131
+ this.ensureDefault("button_action", SWFUpload.BUTTON_ACTION.SELECT_FILES);
132
+ this.ensureDefault("button_disabled", false);
133
+ this.ensureDefault("button_placeholder_id", null);
134
+ this.ensureDefault("button_cursor", SWFUpload.CURSOR.ARROW);
135
+ this.ensureDefault("button_window_mode", SWFUpload.WINDOW_MODE.WINDOW);
136
+
137
+ // Debug Settings
138
+ this.ensureDefault("debug", false);
139
+ this.settings.debug_enabled = this.settings.debug; // Here to maintain v2 API
140
+
141
+ // Event Handlers
142
+ this.settings.return_upload_start_handler = this.returnUploadStart;
143
+ this.ensureDefault("swfupload_loaded_handler", null);
144
+ this.ensureDefault("file_dialog_start_handler", null);
145
+ this.ensureDefault("file_queued_handler", null);
146
+ this.ensureDefault("file_queue_error_handler", null);
147
+ this.ensureDefault("file_dialog_complete_handler", null);
148
+
149
+ this.ensureDefault("upload_start_handler", null);
150
+ this.ensureDefault("upload_progress_handler", null);
151
+ this.ensureDefault("upload_error_handler", null);
152
+ this.ensureDefault("upload_success_handler", null);
153
+ this.ensureDefault("upload_complete_handler", null);
154
+
155
+ this.ensureDefault("debug_handler", this.debugMessage);
156
+
157
+ this.ensureDefault("custom_settings", {});
158
+
159
+ // Other settings
160
+ this.customSettings = this.settings.custom_settings;
161
+
162
+ // Update the flash url if needed
163
+ if (this.settings.prevent_swf_caching) {
164
+ this.settings.flash_url = this.settings.flash_url + "?swfuploadrnd=" + Math.floor(Math.random() * 999999999);
165
+ }
166
+
167
+ delete this.ensureDefault;
168
+ };
169
+
170
+ SWFUpload.prototype.loadFlash = function () {
171
+ if (this.settings.button_placeholder_id !== "") {
172
+ this.replaceWithFlash();
173
+ } else {
174
+ this.appendFlash();
175
+ }
176
+ };
177
+
178
+ // Private: appendFlash gets the HTML tag for the Flash
179
+ // It then appends the flash to the body
180
+ SWFUpload.prototype.appendFlash = function () {
181
+ var targetElement, container;
182
+
183
+ // Make sure an element with the ID we are going to use doesn't already exist
184
+ if (document.getElementById(this.movieName) !== null) {
185
+ throw "ID " + this.movieName + " is already in use. The Flash Object could not be added";
186
+ }
187
+
188
+ // Get the body tag where we will be adding the flash movie
189
+ targetElement = document.getElementsByTagName("body")[0];
190
+
191
+ if (targetElement == undefined) {
192
+ throw "Could not find the 'body' element.";
193
+ }
194
+
195
+ // Append the container and load the flash
196
+ container = document.createElement("div");
197
+ container.style.width = "1px";
198
+ container.style.height = "1px";
199
+ container.style.overflow = "hidden";
200
+
201
+ targetElement.appendChild(container);
202
+ container.innerHTML = this.getFlashHTML(); // Using innerHTML is non-standard but the only sensible way to dynamically add Flash in IE (and maybe other browsers)
203
+ };
204
+
205
+ // Private: replaceWithFlash replaces the button_placeholder element with the flash movie.
206
+ SWFUpload.prototype.replaceWithFlash = function () {
207
+ var targetElement, tempParent;
208
+
209
+ // Make sure an element with the ID we are going to use doesn't already exist
210
+ if (document.getElementById(this.movieName) !== null) {
211
+ throw "ID " + this.movieName + " is already in use. The Flash Object could not be added";
212
+ }
213
+
214
+ // Get the element where we will be placing the flash movie
215
+ targetElement = document.getElementById(this.settings.button_placeholder_id);
216
+
217
+ if (targetElement == undefined) {
218
+ throw "Could not find the placeholder element.";
219
+ }
220
+
221
+ // Append the container and load the flash
222
+ tempParent = document.createElement("div");
223
+ tempParent.innerHTML = this.getFlashHTML(); // Using innerHTML is non-standard but the only sensible way to dynamically add Flash in IE (and maybe other browsers)
224
+ targetElement.parentNode.replaceChild(tempParent.firstChild, targetElement);
225
+
226
+ };
227
+
228
+ // Private: getFlashHTML generates the object tag needed to embed the flash in to the document
229
+ SWFUpload.prototype.getFlashHTML = function () {
230
+ // Flash Satay object syntax: http://www.alistapart.com/articles/flashsatay
231
+ return ['<object id="', this.movieName, '" type="application/x-shockwave-flash" data="', this.settings.flash_url, '" width="', this.settings.button_width, '" height="', this.settings.button_height, '" class="swfupload">',
232
+ '<param name="wmode" value="', this.settings.button_window_mode , '" />',
233
+ '<param name="movie" value="', this.settings.flash_url, '" />',
234
+ '<param name="quality" value="high" />',
235
+ '<param name="menu" value="false" />',
236
+ '<param name="allowScriptAccess" value="always" />',
237
+ '<param name="flashvars" value="' + this.getFlashVars() + '" />',
238
+ '</object>'].join("");
239
+ };
240
+
241
+ // Private: getFlashVars builds the parameter string that will be passed
242
+ // to flash in the flashvars param.
243
+ SWFUpload.prototype.getFlashVars = function () {
244
+ // Build a string from the post param object
245
+ var paramString = this.buildParamString();
246
+ var httpSuccessString = this.settings.http_success.join(",");
247
+
248
+ // Build the parameter string
249
+ return ["movieName=", encodeURIComponent(this.movieName),
250
+ "&amp;uploadURL=", encodeURIComponent(this.settings.upload_url),
251
+ "&amp;useQueryString=", encodeURIComponent(this.settings.use_query_string),
252
+ "&amp;requeueOnError=", encodeURIComponent(this.settings.requeue_on_error),
253
+ "&amp;httpSuccess=", encodeURIComponent(httpSuccessString),
254
+ "&amp;params=", encodeURIComponent(paramString),
255
+ "&amp;filePostName=", encodeURIComponent(this.settings.file_post_name),
256
+ "&amp;fileTypes=", encodeURIComponent(this.settings.file_types),
257
+ "&amp;fileTypesDescription=", encodeURIComponent(this.settings.file_types_description),
258
+ "&amp;fileSizeLimit=", encodeURIComponent(this.settings.file_size_limit),
259
+ "&amp;fileUploadLimit=", encodeURIComponent(this.settings.file_upload_limit),
260
+ "&amp;fileQueueLimit=", encodeURIComponent(this.settings.file_queue_limit),
261
+ "&amp;debugEnabled=", encodeURIComponent(this.settings.debug_enabled),
262
+ "&amp;buttonImageURL=", encodeURIComponent(this.settings.button_image_url),
263
+ "&amp;buttonWidth=", encodeURIComponent(this.settings.button_width),
264
+ "&amp;buttonHeight=", encodeURIComponent(this.settings.button_height),
265
+ "&amp;buttonText=", encodeURIComponent(this.settings.button_text),
266
+ "&amp;buttonTextTopPadding=", encodeURIComponent(this.settings.button_text_top_padding),
267
+ "&amp;buttonTextLeftPadding=", encodeURIComponent(this.settings.button_text_left_padding),
268
+ "&amp;buttonTextStyle=", encodeURIComponent(this.settings.button_text_style),
269
+ "&amp;buttonAction=", encodeURIComponent(this.settings.button_action),
270
+ "&amp;buttonDisabled=", encodeURIComponent(this.settings.button_disabled),
271
+ "&amp;buttonCursor=", encodeURIComponent(this.settings.button_cursor)
272
+ ].join("");
273
+ };
274
+
275
+ // Public: getMovieElement retrieves the DOM reference to the Flash element added by SWFUpload
276
+ // The element is cached after the first lookup
277
+ SWFUpload.prototype.getMovieElement = function () {
278
+ if (this.movieElement == undefined) {
279
+ this.movieElement = document.getElementById(this.movieName);
280
+ }
281
+
282
+ if (this.movieElement === null) {
283
+ throw "Could not find Flash element";
284
+ }
285
+
286
+ return this.movieElement;
287
+ };
288
+
289
+ // Private: buildParamString takes the name/value pairs in the post_params setting object
290
+ // and joins them up in to a string formatted "name=value&amp;name=value"
291
+ SWFUpload.prototype.buildParamString = function () {
292
+ var postParams = this.settings.post_params;
293
+ var paramStringPairs = [];
294
+
295
+ if (typeof(postParams) === "object") {
296
+ for (var name in postParams) {
297
+ if (postParams.hasOwnProperty(name)) {
298
+ // alert(name);
299
+ paramStringPairs.push(encodeURIComponent(name.toString()) + "=" + encodeURIComponent(postParams[name].toString()));
300
+ }
301
+ }
302
+ }
303
+
304
+ return paramStringPairs.join("&amp;");
305
+ };
306
+
307
+ // Public: Used to remove a SWFUpload instance from the page. This method strives to remove
308
+ // all references to the SWF, and other objects so memory is properly freed.
309
+ // Returns true if everything was destroyed. Returns a false if a failure occurs leaving SWFUpload in an inconsistant state.
310
+ SWFUpload.prototype.destroy = function () {
311
+ try {
312
+ // Make sure Flash is done before we try to remove it
313
+ this.stopUpload();
314
+
315
+ // Remove the SWFUpload DOM nodes
316
+ var movieElement = null;
317
+ try {
318
+ movieElement = this.getMovieElement();
319
+ } catch (ex) {
320
+ }
321
+
322
+ if (movieElement != undefined && movieElement.parentNode != undefined && typeof movieElement.parentNode.removeChild === "function") {
323
+ var container = movieElement.parentNode;
324
+ if (container != undefined) {
325
+ container.removeChild(movieElement);
326
+ if (container.parentNode != undefined && typeof container.parentNode.removeChild === "function") {
327
+ container.parentNode.removeChild(container);
328
+ }
329
+ }
330
+ }
331
+
332
+ // Destroy references
333
+ SWFUpload.instances[this.movieName] = null;
334
+ delete SWFUpload.instances[this.movieName];
335
+
336
+ delete this.movieElement;
337
+ delete this.settings;
338
+ delete this.customSettings;
339
+ delete this.eventQueue;
340
+ delete this.movieName;
341
+
342
+ delete window[this.movieName];
343
+
344
+ return true;
345
+ } catch (ex1) {
346
+ return false;
347
+ }
348
+ };
349
+
350
+ // Public: displayDebugInfo prints out settings and configuration
351
+ // information about this SWFUpload instance.
352
+ // This function (and any references to it) can be deleted when placing
353
+ // SWFUpload in production.
354
+ SWFUpload.prototype.displayDebugInfo = function () {
355
+ this.debug(
356
+ [
357
+ "---SWFUpload Instance Info---\n",
358
+ "Version: ", SWFUpload.version, "\n",
359
+ "Movie Name: ", this.movieName, "\n",
360
+ "Settings:\n",
361
+ "\t", "upload_url: ", this.settings.upload_url, "\n",
362
+ "\t", "flash_url: ", this.settings.flash_url, "\n",
363
+ "\t", "use_query_string: ", this.settings.use_query_string.toString(), "\n",
364
+ "\t", "requeue_on_error: ", this.settings.requeue_on_error.toString(), "\n",
365
+ "\t", "http_success: ", this.settings.http_success.join(", "), "\n",
366
+ "\t", "file_post_name: ", this.settings.file_post_name, "\n",
367
+ "\t", "post_params: ", this.settings.post_params.toString(), "\n",
368
+ "\t", "file_types: ", this.settings.file_types, "\n",
369
+ "\t", "file_types_description: ", this.settings.file_types_description, "\n",
370
+ "\t", "file_size_limit: ", this.settings.file_size_limit, "\n",
371
+ "\t", "file_upload_limit: ", this.settings.file_upload_limit, "\n",
372
+ "\t", "file_queue_limit: ", this.settings.file_queue_limit, "\n",
373
+ "\t", "debug: ", this.settings.debug.toString(), "\n",
374
+
375
+ "\t", "prevent_swf_caching: ", this.settings.prevent_swf_caching.toString(), "\n",
376
+
377
+ "\t", "button_placeholder_id: ", this.settings.button_placeholder_id.toString(), "\n",
378
+ "\t", "button_image_url: ", this.settings.button_image_url.toString(), "\n",
379
+ "\t", "button_width: ", this.settings.button_width.toString(), "\n",
380
+ "\t", "button_height: ", this.settings.button_height.toString(), "\n",
381
+ "\t", "button_text: ", this.settings.button_text.toString(), "\n",
382
+ "\t", "button_text_style: ", this.settings.button_text_style.toString(), "\n",
383
+ "\t", "button_text_top_padding: ", this.settings.button_text_top_padding.toString(), "\n",
384
+ "\t", "button_text_left_padding: ", this.settings.button_text_left_padding.toString(), "\n",
385
+ "\t", "button_action: ", this.settings.button_action.toString(), "\n",
386
+ "\t", "button_disabled: ", this.settings.button_disabled.toString(), "\n",
387
+
388
+ "\t", "custom_settings: ", this.settings.custom_settings.toString(), "\n",
389
+ "Event Handlers:\n",
390
+ "\t", "swfupload_loaded_handler assigned: ", (typeof this.settings.swfupload_loaded_handler === "function").toString(), "\n",
391
+ "\t", "file_dialog_start_handler assigned: ", (typeof this.settings.file_dialog_start_handler === "function").toString(), "\n",
392
+ "\t", "file_queued_handler assigned: ", (typeof this.settings.file_queued_handler === "function").toString(), "\n",
393
+ "\t", "file_queue_error_handler assigned: ", (typeof this.settings.file_queue_error_handler === "function").toString(), "\n",
394
+ "\t", "upload_start_handler assigned: ", (typeof this.settings.upload_start_handler === "function").toString(), "\n",
395
+ "\t", "upload_progress_handler assigned: ", (typeof this.settings.upload_progress_handler === "function").toString(), "\n",
396
+ "\t", "upload_error_handler assigned: ", (typeof this.settings.upload_error_handler === "function").toString(), "\n",
397
+ "\t", "upload_success_handler assigned: ", (typeof this.settings.upload_success_handler === "function").toString(), "\n",
398
+ "\t", "upload_complete_handler assigned: ", (typeof this.settings.upload_complete_handler === "function").toString(), "\n",
399
+ "\t", "debug_handler assigned: ", (typeof this.settings.debug_handler === "function").toString(), "\n"
400
+ ].join("")
401
+ );
402
+ };
403
+
404
+ /* Note: addSetting and getSetting are no longer used by SWFUpload but are included
405
+ the maintain v2 API compatibility
406
+ */
407
+ // Public: (Deprecated) addSetting adds a setting value. If the value given is undefined or null then the default_value is used.
408
+ SWFUpload.prototype.addSetting = function (name, value, default_value) {
409
+ if (value == undefined) {
410
+ return (this.settings[name] = default_value);
411
+ } else {
412
+ return (this.settings[name] = value);
413
+ }
414
+ };
415
+
416
+ // Public: (Deprecated) getSetting gets a setting. Returns an empty string if the setting was not found.
417
+ SWFUpload.prototype.getSetting = function (name) {
418
+ if (this.settings[name] != undefined) {
419
+ return this.settings[name];
420
+ }
421
+
422
+ return "";
423
+ };
424
+
425
+
426
+
427
+ // Private: callFlash handles function calls made to the Flash element.
428
+ // Calls are made with a setTimeout for some functions to work around
429
+ // bugs in the ExternalInterface library.
430
+ SWFUpload.prototype.callFlash = function (functionName, argumentArray) {
431
+ argumentArray = argumentArray || [];
432
+
433
+ var movieElement = this.getMovieElement();
434
+ var returnValue;
435
+
436
+ if (typeof movieElement[functionName] === "function") {
437
+ // We have to go through all this if/else stuff because the Flash functions don't have apply() and only accept the exact number of arguments.
438
+ if (argumentArray.length === 0) {
439
+ returnValue = movieElement[functionName]();
440
+ } else if (argumentArray.length === 1) {
441
+ returnValue = movieElement[functionName](argumentArray[0]);
442
+ } else if (argumentArray.length === 2) {
443
+ returnValue = movieElement[functionName](argumentArray[0], argumentArray[1]);
444
+ } else if (argumentArray.length === 3) {
445
+ returnValue = movieElement[functionName](argumentArray[0], argumentArray[1], argumentArray[2]);
446
+ } else {
447
+ throw "Too many arguments";
448
+ }
449
+
450
+ // Unescape file post param values
451
+ if (returnValue != undefined && typeof returnValue.post === "object") {
452
+ returnValue = this.unescapeFilePostParams(returnValue);
453
+ }
454
+
455
+ return returnValue;
456
+ } else {
457
+ throw "Invalid function name: " + functionName;
458
+ }
459
+ };
460
+
461
+
462
+ /* *****************************
463
+ -- Flash control methods --
464
+ Your UI should use these
465
+ to operate SWFUpload
466
+ ***************************** */
467
+
468
+ // Public: selectFile causes a File Selection Dialog window to appear. This
469
+ // dialog only allows 1 file to be selected. WARNING: this function does not work in Flash Player 10
470
+ SWFUpload.prototype.selectFile = function () {
471
+ this.callFlash("SelectFile");
472
+ };
473
+
474
+ // Public: selectFiles causes a File Selection Dialog window to appear/ This
475
+ // dialog allows the user to select any number of files
476
+ // Flash Bug Warning: Flash limits the number of selectable files based on the combined length of the file names.
477
+ // If the selection name length is too long the dialog will fail in an unpredictable manner. There is no work-around
478
+ // for this bug. WARNING: this function does not work in Flash Player 10
479
+ SWFUpload.prototype.selectFiles = function () {
480
+ this.callFlash("SelectFiles");
481
+ };
482
+
483
+
484
+ // Public: startUpload starts uploading the first file in the queue unless
485
+ // the optional parameter 'fileID' specifies the ID
486
+ SWFUpload.prototype.startUpload = function (fileID) {
487
+ this.callFlash("StartUpload", [fileID]);
488
+ };
489
+
490
+ // Public: cancelUpload cancels any queued file. The fileID parameter may be the file ID or index.
491
+ // If you do not specify a fileID the current uploading file or first file in the queue is cancelled.
492
+ // If you do not want the uploadError event to trigger you can specify false for the triggerErrorEvent parameter.
493
+ SWFUpload.prototype.cancelUpload = function (fileID, triggerErrorEvent) {
494
+ if (triggerErrorEvent !== false) {
495
+ triggerErrorEvent = true;
496
+ }
497
+ this.callFlash("CancelUpload", [fileID, triggerErrorEvent]);
498
+ };
499
+
500
+ // Public: stopUpload stops the current upload and requeues the file at the beginning of the queue.
501
+ // If nothing is currently uploading then nothing happens.
502
+ SWFUpload.prototype.stopUpload = function () {
503
+ this.callFlash("StopUpload");
504
+ };
505
+
506
+ /* ************************
507
+ * Settings methods
508
+ * These methods change the SWFUpload settings.
509
+ * SWFUpload settings should not be changed directly on the settings object
510
+ * since many of the settings need to be passed to Flash in order to take
511
+ * effect.
512
+ * *********************** */
513
+
514
+ // Public: getStats gets the file statistics object.
515
+ SWFUpload.prototype.getStats = function () {
516
+ return this.callFlash("GetStats");
517
+ };
518
+
519
+ // Public: setStats changes the SWFUpload statistics. You shouldn't need to
520
+ // change the statistics but you can. Changing the statistics does not
521
+ // affect SWFUpload accept for the successful_uploads count which is used
522
+ // by the upload_limit setting to determine how many files the user may upload.
523
+ SWFUpload.prototype.setStats = function (statsObject) {
524
+ this.callFlash("SetStats", [statsObject]);
525
+ };
526
+
527
+ // Public: getFile retrieves a File object by ID or Index. If the file is
528
+ // not found then 'null' is returned.
529
+ SWFUpload.prototype.getFile = function (fileID) {
530
+ if (typeof(fileID) === "number") {
531
+ return this.callFlash("GetFileByIndex", [fileID]);
532
+ } else {
533
+ return this.callFlash("GetFile", [fileID]);
534
+ }
535
+ };
536
+
537
+ // Public: addFileParam sets a name/value pair that will be posted with the
538
+ // file specified by the Files ID. If the name already exists then the
539
+ // exiting value will be overwritten.
540
+ SWFUpload.prototype.addFileParam = function (fileID, name, value) {
541
+ return this.callFlash("AddFileParam", [fileID, name, value]);
542
+ };
543
+
544
+ // Public: removeFileParam removes a previously set (by addFileParam) name/value
545
+ // pair from the specified file.
546
+ SWFUpload.prototype.removeFileParam = function (fileID, name) {
547
+ this.callFlash("RemoveFileParam", [fileID, name]);
548
+ };
549
+
550
+ // Public: setUploadUrl changes the upload_url setting.
551
+ SWFUpload.prototype.setUploadURL = function (url) {
552
+ this.settings.upload_url = url.toString();
553
+ this.callFlash("SetUploadURL", [url]);
554
+ };
555
+
556
+ // Public: setPostParams changes the post_params setting
557
+ SWFUpload.prototype.setPostParams = function (paramsObject) {
558
+ this.settings.post_params = paramsObject;
559
+ this.callFlash("SetPostParams", [paramsObject]);
560
+ };
561
+
562
+ // Public: addPostParam adds post name/value pair. Each name can have only one value.
563
+ SWFUpload.prototype.addPostParam = function (name, value) {
564
+ this.settings.post_params[name] = value;
565
+ this.callFlash("SetPostParams", [this.settings.post_params]);
566
+ };
567
+
568
+ // Public: removePostParam deletes post name/value pair.
569
+ SWFUpload.prototype.removePostParam = function (name) {
570
+ delete this.settings.post_params[name];
571
+ this.callFlash("SetPostParams", [this.settings.post_params]);
572
+ };
573
+
574
+ // Public: setFileTypes changes the file_types setting and the file_types_description setting
575
+ SWFUpload.prototype.setFileTypes = function (types, description) {
576
+ this.settings.file_types = types;
577
+ this.settings.file_types_description = description;
578
+ this.callFlash("SetFileTypes", [types, description]);
579
+ };
580
+
581
+ // Public: setFileSizeLimit changes the file_size_limit setting
582
+ SWFUpload.prototype.setFileSizeLimit = function (fileSizeLimit) {
583
+ this.settings.file_size_limit = fileSizeLimit;
584
+ this.callFlash("SetFileSizeLimit", [fileSizeLimit]);
585
+ };
586
+
587
+ // Public: setFileUploadLimit changes the file_upload_limit setting
588
+ SWFUpload.prototype.setFileUploadLimit = function (fileUploadLimit) {
589
+ this.settings.file_upload_limit = fileUploadLimit;
590
+ this.callFlash("SetFileUploadLimit", [fileUploadLimit]);
591
+ };
592
+
593
+ // Public: setFileQueueLimit changes the file_queue_limit setting
594
+ SWFUpload.prototype.setFileQueueLimit = function (fileQueueLimit) {
595
+ this.settings.file_queue_limit = fileQueueLimit;
596
+ this.callFlash("SetFileQueueLimit", [fileQueueLimit]);
597
+ };
598
+
599
+ // Public: setFilePostName changes the file_post_name setting
600
+ SWFUpload.prototype.setFilePostName = function (filePostName) {
601
+ this.settings.file_post_name = filePostName;
602
+ this.callFlash("SetFilePostName", [filePostName]);
603
+ };
604
+
605
+ // Public: setUseQueryString changes the use_query_string setting
606
+ SWFUpload.prototype.setUseQueryString = function (useQueryString) {
607
+ this.settings.use_query_string = useQueryString;
608
+ this.callFlash("SetUseQueryString", [useQueryString]);
609
+ };
610
+
611
+ // Public: setRequeueOnError changes the requeue_on_error setting
612
+ SWFUpload.prototype.setRequeueOnError = function (requeueOnError) {
613
+ this.settings.requeue_on_error = requeueOnError;
614
+ this.callFlash("SetRequeueOnError", [requeueOnError]);
615
+ };
616
+
617
+ // Public: setHTTPSuccess changes the http_success setting
618
+ SWFUpload.prototype.setHTTPSuccess = function (http_status_codes) {
619
+ if (typeof http_status_codes === "string") {
620
+ http_status_codes = http_status_codes.replace(" ", "").split(",");
621
+ }
622
+
623
+ this.settings.http_success = http_status_codes;
624
+ this.callFlash("SetHTTPSuccess", [http_status_codes]);
625
+ };
626
+
627
+
628
+ // Public: setDebugEnabled changes the debug_enabled setting
629
+ SWFUpload.prototype.setDebugEnabled = function (debugEnabled) {
630
+ this.settings.debug_enabled = debugEnabled;
631
+ this.callFlash("SetDebugEnabled", [debugEnabled]);
632
+ };
633
+
634
+ // Public: setButtonImageURL loads a button image sprite
635
+ SWFUpload.prototype.setButtonImageURL = function (buttonImageURL) {
636
+ if (buttonImageURL == undefined) {
637
+ buttonImageURL = "";
638
+ }
639
+
640
+ this.settings.button_image_url = buttonImageURL;
641
+ this.callFlash("SetButtonImageURL", [buttonImageURL]);
642
+ };
643
+
644
+ // Public: setButtonDimensions resizes the Flash Movie and button
645
+ SWFUpload.prototype.setButtonDimensions = function (width, height) {
646
+ this.settings.button_width = width;
647
+ this.settings.button_height = height;
648
+
649
+ var movie = this.getMovieElement();
650
+ if (movie != undefined) {
651
+ movie.style.width = width + "px";
652
+ movie.style.height = height + "px";
653
+ }
654
+
655
+ this.callFlash("SetButtonDimensions", [width, height]);
656
+ };
657
+ // Public: setButtonText Changes the text overlaid on the button
658
+ SWFUpload.prototype.setButtonText = function (html) {
659
+ this.settings.button_text = html;
660
+ this.callFlash("SetButtonText", [html]);
661
+ };
662
+ // Public: setButtonTextPadding changes the top and left padding of the text overlay
663
+ SWFUpload.prototype.setButtonTextPadding = function (left, top) {
664
+ this.settings.button_text_top_padding = top;
665
+ this.settings.button_text_left_padding = left;
666
+ this.callFlash("SetButtonTextPadding", [left, top]);
667
+ };
668
+
669
+ // Public: setButtonTextStyle changes the CSS used to style the HTML/Text overlaid on the button
670
+ SWFUpload.prototype.setButtonTextStyle = function (css) {
671
+ this.settings.button_text_style = css;
672
+ this.callFlash("SetButtonTextStyle", [css]);
673
+ };
674
+ // Public: setButtonDisabled disables/enables the button
675
+ SWFUpload.prototype.setButtonDisabled = function (isDisabled) {
676
+ this.settings.button_disabled = isDisabled;
677
+ this.callFlash("SetButtonDisabled", [isDisabled]);
678
+ };
679
+ // Public: setButtonAction sets the action that occurs when the button is clicked
680
+ SWFUpload.prototype.setButtonAction = function (buttonAction) {
681
+ this.settings.button_action = buttonAction;
682
+ this.callFlash("SetButtonAction", [buttonAction]);
683
+ };
684
+
685
+ // Public: setButtonCursor changes the mouse cursor displayed when hovering over the button
686
+ SWFUpload.prototype.setButtonCursor = function (cursor) {
687
+ this.settings.button_cursor = cursor;
688
+ this.callFlash("SetButtonCursor", [cursor]);
689
+ };
690
+
691
+ /* *******************************
692
+ Flash Event Interfaces
693
+ These functions are used by Flash to trigger the various
694
+ events.
695
+
696
+ All these functions a Private.
697
+
698
+ Because the ExternalInterface library is buggy the event calls
699
+ are added to a queue and the queue then executed by a setTimeout.
700
+ This ensures that events are executed in a determinate order and that
701
+ the ExternalInterface bugs are avoided.
702
+ ******************************* */
703
+
704
+ SWFUpload.prototype.queueEvent = function (handlerName, argumentArray) {
705
+ // Warning: Don't call this.debug inside here or you'll create an infinite loop
706
+
707
+ if (argumentArray == undefined) {
708
+ argumentArray = [];
709
+ } else if (!(argumentArray instanceof Array)) {
710
+ argumentArray = [argumentArray];
711
+ }
712
+
713
+ var self = this;
714
+ if (typeof this.settings[handlerName] === "function") {
715
+ // Queue the event
716
+ this.eventQueue.push(function () {
717
+ this.settings[handlerName].apply(this, argumentArray);
718
+ });
719
+
720
+ // Execute the next queued event
721
+ setTimeout(function () {
722
+ self.executeNextEvent();
723
+ }, 0);
724
+
725
+ } else if (this.settings[handlerName] !== null) {
726
+ throw "Event handler " + handlerName + " is unknown or is not a function";
727
+ }
728
+ };
729
+
730
+ // Private: Causes the next event in the queue to be executed. Since events are queued using a setTimeout
731
+ // we must queue them in order to garentee that they are executed in order.
732
+ SWFUpload.prototype.executeNextEvent = function () {
733
+ // Warning: Don't call this.debug inside here or you'll create an infinite loop
734
+
735
+ var f = this.eventQueue ? this.eventQueue.shift() : null;
736
+ if (typeof(f) === "function") {
737
+ f.apply(this);
738
+ }
739
+ };
740
+
741
+ // Private: unescapeFileParams is part of a workaround for a flash bug where objects passed through ExternalInterface cannot have
742
+ // properties that contain characters that are not valid for JavaScript identifiers. To work around this
743
+ // the Flash Component escapes the parameter names and we must unescape again before passing them along.
744
+ SWFUpload.prototype.unescapeFilePostParams = function (file) {
745
+ var reg = /[$]([0-9a-f]{4})/i;
746
+ var unescapedPost = {};
747
+ var uk;
748
+
749
+ if (file != undefined) {
750
+ for (var k in file.post) {
751
+ if (file.post.hasOwnProperty(k)) {
752
+ uk = k;
753
+ var match;
754
+ while ((match = reg.exec(uk)) !== null) {
755
+ uk = uk.replace(match[0], String.fromCharCode(parseInt("0x" + match[1], 16)));
756
+ }
757
+ unescapedPost[uk] = file.post[k];
758
+ }
759
+ }
760
+
761
+ file.post = unescapedPost;
762
+ }
763
+
764
+ return file;
765
+ };
766
+
767
+ SWFUpload.prototype.flashReady = function () {
768
+ // Check that the movie element is loaded correctly with its ExternalInterface methods defined
769
+ var movieElement = this.getMovieElement();
770
+ if (typeof movieElement.StartUpload !== "function") {
771
+ throw "ExternalInterface methods failed to initialize.";
772
+ }
773
+
774
+ // Fix IE Flash/Form bug
775
+ if (window[this.movieName] == undefined) {
776
+ window[this.movieName] = movieElement;
777
+ }
778
+
779
+ this.queueEvent("swfupload_loaded_handler");
780
+ };
781
+
782
+
783
+ /* This is a chance to do something before the browse window opens */
784
+ SWFUpload.prototype.fileDialogStart = function () {
785
+ this.queueEvent("file_dialog_start_handler");
786
+ };
787
+
788
+
789
+ /* Called when a file is successfully added to the queue. */
790
+ SWFUpload.prototype.fileQueued = function (file) {
791
+ file = this.unescapeFilePostParams(file);
792
+ this.queueEvent("file_queued_handler", file);
793
+ };
794
+
795
+
796
+ /* Handle errors that occur when an attempt to queue a file fails. */
797
+ SWFUpload.prototype.fileQueueError = function (file, errorCode, message) {
798
+ file = this.unescapeFilePostParams(file);
799
+ this.queueEvent("file_queue_error_handler", [file, errorCode, message]);
800
+ };
801
+
802
+ /* Called after the file dialog has closed and the selected files have been queued.
803
+ You could call startUpload here if you want the queued files to begin uploading immediately. */
804
+ SWFUpload.prototype.fileDialogComplete = function (numFilesSelected, numFilesQueued) {
805
+ this.queueEvent("file_dialog_complete_handler", [numFilesSelected, numFilesQueued]);
806
+ };
807
+
808
+ SWFUpload.prototype.uploadStart = function (file) {
809
+ file = this.unescapeFilePostParams(file);
810
+ this.queueEvent("return_upload_start_handler", file);
811
+ };
812
+
813
+ SWFUpload.prototype.returnUploadStart = function (file) {
814
+ var returnValue;
815
+ if (typeof this.settings.upload_start_handler === "function") {
816
+ file = this.unescapeFilePostParams(file);
817
+ returnValue = this.settings.upload_start_handler.call(this, file);
818
+ } else if (this.settings.upload_start_handler != undefined) {
819
+ throw "upload_start_handler must be a function";
820
+ }
821
+
822
+ // Convert undefined to true so if nothing is returned from the upload_start_handler it is
823
+ // interpretted as 'true'.
824
+ if (returnValue === undefined) {
825
+ returnValue = true;
826
+ }
827
+
828
+ returnValue = !!returnValue;
829
+
830
+ this.callFlash("ReturnUploadStart", [returnValue]);
831
+ };
832
+
833
+
834
+
835
+ SWFUpload.prototype.uploadProgress = function (file, bytesComplete, bytesTotal) {
836
+ file = this.unescapeFilePostParams(file);
837
+ this.queueEvent("upload_progress_handler", [file, bytesComplete, bytesTotal]);
838
+ };
839
+
840
+ SWFUpload.prototype.uploadError = function (file, errorCode, message) {
841
+ file = this.unescapeFilePostParams(file);
842
+ this.queueEvent("upload_error_handler", [file, errorCode, message]);
843
+ };
844
+
845
+ SWFUpload.prototype.uploadSuccess = function (file, serverData) {
846
+ file = this.unescapeFilePostParams(file);
847
+ this.queueEvent("upload_success_handler", [file, serverData]);
848
+ };
849
+
850
+ SWFUpload.prototype.uploadComplete = function (file) {
851
+ file = this.unescapeFilePostParams(file);
852
+ this.queueEvent("upload_complete_handler", file);
853
+ };
854
+
855
+ /* Called by SWFUpload JavaScript and Flash functions when debug is enabled. By default it writes messages to the
856
+ internal debug console. You can override this event and have messages written where you want. */
857
+ SWFUpload.prototype.debug = function (message) {
858
+ this.queueEvent("debug_handler", message);
859
+ };
860
+
861
+
862
+ /* **********************************
863
+ Debug Console
864
+ The debug console is a self contained, in page location
865
+ for debug message to be sent. The Debug Console adds
866
+ itself to the body if necessary.
867
+
868
+ The console is automatically scrolled as messages appear.
869
+
870
+ If you are using your own debug handler or when you deploy to production and
871
+ have debug disabled you can remove these functions to reduce the file size
872
+ and complexity.
873
+ ********************************** */
874
+
875
+ // Private: debugMessage is the default debug_handler. If you want to print debug messages
876
+ // call the debug() function. When overriding the function your own function should
877
+ // check to see if the debug setting is true before outputting debug information.
878
+ SWFUpload.prototype.debugMessage = function (message) {
879
+ if (this.settings.debug) {
880
+ var exceptionMessage, exceptionValues = [];
881
+
882
+ // Check for an exception object and print it nicely
883
+ if (typeof message === "object" && typeof message.name === "string" && typeof message.message === "string") {
884
+ for (var key in message) {
885
+ if (message.hasOwnProperty(key)) {
886
+ exceptionValues.push(key + ": " + message[key]);
887
+ }
888
+ }
889
+ exceptionMessage = exceptionValues.join("\n") || "";
890
+ exceptionValues = exceptionMessage.split("\n");
891
+ exceptionMessage = "EXCEPTION: " + exceptionValues.join("\nEXCEPTION: ");
892
+ SWFUpload.Console.writeLine(exceptionMessage);
893
+ } else {
894
+ SWFUpload.Console.writeLine(message);
895
+ }
896
+ }
897
+ };
898
+
899
+ SWFUpload.Console = {};
900
+ SWFUpload.Console.writeLine = function (message) {
901
+ var console, documentForm;
902
+
903
+ try {
904
+ console = document.getElementById("SWFUpload_Console");
905
+
906
+ if (!console) {
907
+ documentForm = document.createElement("form");
908
+ document.getElementsByTagName("body")[0].appendChild(documentForm);
909
+
910
+ console = document.createElement("textarea");
911
+ console.id = "SWFUpload_Console";
912
+ console.style.fontFamily = "monospace";
913
+ console.setAttribute("wrap", "off");
914
+ console.wrap = "off";
915
+ console.style.overflow = "auto";
916
+ console.style.width = "700px";
917
+ console.style.height = "350px";
918
+ console.style.margin = "5px";
919
+ documentForm.appendChild(console);
920
+ }
921
+
922
+ console.value += message + "\n";
923
+
924
+ console.scrollTop = console.scrollHeight - console.clientHeight;
925
+ } catch (ex) {
926
+ alert("Exception: " + ex.name + " Message: " + ex.message);
927
+ }
928
+ };
{wpsc-core/js → js}/swfupload.swf RENAMED
File without changes
{wpsc-core/js → js}/swfupload/SWFObject License.txt RENAMED
@@ -1,4 +1,4 @@
1
- /* SWFObject v2.0 rc4 <http://code.google.com/p/swfobject/>
2
- Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
3
- This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
4
- */
1
+ /* SWFObject v2.0 rc4 <http://code.google.com/p/swfobject/>
2
+ Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
3
+ This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
4
+ */
{wpsc-core/js → js}/swfupload/swfupload.cookies.js RENAMED
@@ -1,53 +1,53 @@
1
- /*
2
- Cookie Plug-in
3
-
4
- This plug in automatically gets all the cookies for this site and adds them to the post_params.
5
- Cookies are loaded only on initialization. The refreshCookies function can be called to update the post_params.
6
- The cookies will override any other post params with the same name.
7
- */
8
-
9
- var SWFUpload;
10
- if (typeof(SWFUpload) === "function") {
11
- SWFUpload.prototype.initSettings = function (oldInitSettings) {
12
- return function () {
13
- if (typeof(oldInitSettings) === "function") {
14
- oldInitSettings.call(this);
15
- }
16
-
17
- this.refreshCookies(false); // The false parameter must be sent since SWFUpload has not initialzed at this point
18
- };
19
- }(SWFUpload.prototype.initSettings);
20
-
21
- // refreshes the post_params and updates SWFUpload. The sendToFlash parameters is optional and defaults to True
22
- SWFUpload.prototype.refreshCookies = function (sendToFlash) {
23
- if (sendToFlash === undefined) {
24
- sendToFlash = true;
25
- }
26
- sendToFlash = !!sendToFlash;
27
-
28
- // Get the post_params object
29
- var postParams = this.settings.post_params;
30
-
31
- // Get the cookies
32
- var i, cookieArray = document.cookie.split(';'), caLength = cookieArray.length, c, eqIndex, name, value;
33
- for (i = 0; i < caLength; i++) {
34
- c = cookieArray[i];
35
-
36
- // Left Trim spaces
37
- while (c.charAt(0) === " ") {
38
- c = c.substring(1, c.length);
39
- }
40
- eqIndex = c.indexOf("=");
41
- if (eqIndex > 0) {
42
- name = c.substring(0, eqIndex);
43
- value = c.substring(eqIndex + 1);
44
- postParams[name] = value;
45
- }
46
- }
47
-
48
- if (sendToFlash) {
49
- this.setPostParams(postParams);
50
- }
51
- };
52
-
53
- }
1
+ /*
2
+ Cookie Plug-in
3
+
4
+ This plug in automatically gets all the cookies for this site and adds them to the post_params.
5
+ Cookies are loaded only on initialization. The refreshCookies function can be called to update the post_params.
6
+ The cookies will override any other post params with the same name.
7
+ */
8
+
9
+ var SWFUpload;
10
+ if (typeof(SWFUpload) === "function") {
11
+ SWFUpload.prototype.initSettings = function (oldInitSettings) {
12
+ return function () {
13
+ if (typeof(oldInitSettings) === "function") {
14
+ oldInitSettings.call(this);
15
+ }
16
+
17
+ this.refreshCookies(false); // The false parameter must be sent since SWFUpload has not initialzed at this point
18
+ };
19
+ }(SWFUpload.prototype.initSettings);
20
+
21
+ // refreshes the post_params and updates SWFUpload. The sendToFlash parameters is optional and defaults to True
22
+ SWFUpload.prototype.refreshCookies = function (sendToFlash) {
23
+ if (sendToFlash === undefined) {
24
+ sendToFlash = true;
25
+ }
26
+ sendToFlash = !!sendToFlash;
27
+
28
+ // Get the post_params object
29
+ var postParams = this.settings.post_params;
30
+
31
+ // Get the cookies
32
+ var i, cookieArray = document.cookie.split(';'), caLength = cookieArray.length, c, eqIndex, name, value;
33
+ for (i = 0; i < caLength; i++) {
34
+ c = cookieArray[i];
35
+
36
+ // Left Trim spaces
37
+ while (c.charAt(0) === " ") {
38
+ c = c.substring(1, c.length);
39
+ }
40
+ eqIndex = c.indexOf("=");
41
+ if (eqIndex > 0) {
42
+ name = c.substring(0, eqIndex);
43
+ value = c.substring(eqIndex + 1);
44
+ postParams[name] = value;
45
+ }
46
+ }
47
+
48
+ if (sendToFlash) {
49
+ this.setPostParams(postParams);
50
+ }
51
+ };
52
+
53
+ }
{wpsc-core/js → js}/swfupload/swfupload.gears.js RENAMED
@@ -1,1035 +1,1035 @@
1
- /*
2
- SWFUpload.Gears : http://www.swfupload.org, http://swfupload.googlecode.com
3
-
4
- mmSWFUpload 1.0: Flash upload dialog - http://profandesign.se/swfupload/, http://www.vinterwebb.se/
5
-
6
- SWFUpload is (c) 2006-2007 Lars Huring, Olov Nilz�n and Mammon Media and is released under the MIT License:
7
- http://www.opensource.org/licenses/mit-license.php
8
-
9
- SWFUpload 2 is (c) 2007-2008 Jake Roberts and is released under the MIT License:
10
- http://www.opensource.org/licenses/mit-license.php
11
-
12
- --------------------------------
13
-
14
- Summary:
15
- It is an API compatible SWFUpload class that wraps Google Gears instead of Flash. This SWFUpload plugin is not actually a plugin.
16
-
17
- Features:
18
- * Use Google Gears to handle uploads
19
- * Separately Namespaced to allow fallback to SWFUpload
20
- * Adds an event for gears loading failed (swfupload_load_failed_handler)
21
-
22
- Usage:
23
- This library supplies DOM Ready loading by overridding the SWFUpload.Gears.onload function:
24
-
25
- <script type="text/javascript">
26
- var swfu;
27
- SWFUpload.onload = function () {
28
- swfu = new SWFUpload({
29
- swfupload_load_failed_handler: swfuploadLoadFailed
30
- });
31
- };
32
- </script>
33
-
34
-
35
- Notes:
36
- * Other SWFUpload Plugins are not compatible with SWFUpload.Gears.
37
- * Since the Flash button is simulated when using Gears there might be slight UI differences
38
- in different web browsers.
39
- * Since Google Gears does not apply the same security restrictions the selectFile() and selectFiles() methods are
40
- available and working if Gears loading is successful.
41
- * SWFUpload.Gears maintains API compatibility so event handlers and settings objects for SWFUpload.Gears are fully compatible with SWFUpload. This
42
- allows for easy fall back to SWFUpload if SWFUpload.Gears fails to load.
43
- */
44
-
45
- var SWFUpload;
46
- if (SWFUpload == undefined) {
47
- SWFUpload = function (settings) {
48
- this.initSWFUpload(settings);
49
- };
50
- }
51
-
52
- /* ******************* */
53
- /* Constructor & Init */
54
- /* ******************* */
55
-
56
- var SWFUpload.Gears = function (settings) {
57
- this.initSWFUpload(settings);
58
- };
59
-
60
-
61
- SWFUpload.Gears.prototype.initSWFUpload = function (settings) {
62
- try {
63
- this.customSettings = {}; // A container where developers can place their own settings associated with this instance.
64
- this.settings = settings;
65
- this.eventQueue = [];
66
- this.movieName = "SWFUpload_" + SWFUpload.movieCount++;
67
- this.movieElement = null;
68
-
69
- // Setup global control tracking
70
- SWFUpload.instances[this.movieName] = this;
71
-
72
- // Load the settings. Load the Flash movie.
73
- this.initSettings();
74
- this.loadGears();
75
- this.displayDebugInfo();
76
- } catch (ex) {
77
- delete SWFUpload.instances[this.movieName];
78
- throw ex;
79
- }
80
- };
81
-
82
- /* *************** */
83
- /* Static Members */
84
- /* *************** */
85
- SWFUpload.instances = {};
86
- SWFUpload.movieCount = 0;
87
- SWFUpload.Gears.version = "0.1 for SWFUpload v2.2.0";
88
- SWFUpload.QUEUE_ERROR = {
89
- QUEUE_LIMIT_EXCEEDED : -100,
90
- FILE_EXCEEDS_SIZE_LIMIT : -110,
91
- ZERO_BYTE_FILE : -120,
92
- INVALID_FILETYPE : -130
93
- };
94
- SWFUpload.UPLOAD_ERROR = {
95
- HTTP_ERROR : -200,
96
- MISSING_UPLOAD_URL : -210,
97
- IO_ERROR : -220,
98
- SECURITY_ERROR : -230,
99
- UPLOAD_LIMIT_EXCEEDED : -240,
100
- UPLOAD_FAILED : -250,
101
- SPECIFIED_FILE_ID_NOT_FOUND : -260,
102
- FILE_VALIDATION_FAILED : -270,
103
- FILE_CANCELLED : -280,
104
- UPLOAD_STOPPED : -290
105
- };
106
- SWFUpload.FILE_STATUS = {
107
- QUEUED : -1,
108
- IN_PROGRESS : -2,
109
- ERROR : -3,
110
- COMPLETE : -4,
111
- CANCELLED : -5
112
- };
113
- SWFUpload.BUTTON_ACTION = {
114
- SELECT_FILE : -100,
115
- SELECT_FILES : -110,
116
- START_UPLOAD : -120
117
- };
118
-
119
- /* ******************** */
120
- /* Instance Members */
121
- /* ******************** */
122
-
123
- // Private: initSettings ensures that all the
124
- // settings are set, getting a default value if one was not assigned.
125
- SWFUpload.Gears.prototype.initSettings = function () {
126
- this.ensureDefault = function (settingName, defaultValue) {
127
- this.settings[settingName] = (this.settings[settingName] == undefined) ? defaultValue : this.settings[settingName];
128
- };
129
-
130
- // Upload backend settings
131
- this.ensureDefault("upload_url", "");
132
- this.ensureDefault("file_post_name", "Filedata");
133
- this.ensureDefault("post_params", {});
134
- this.ensureDefault("use_query_string", false);
135
- this.ensureDefault("requeue_on_error", false);
136
-
137
- // File Settings
138
- this.ensureDefault("file_types", "*.*");
139
- this.ensureDefault("file_types_description", "All Files");
140
- this.ensureDefault("file_size_limit", 0); // Default zero means "unlimited"
141
- this.ensureDefault("file_upload_limit", 0);
142
- this.ensureDefault("file_queue_limit", 0);
143
-
144
- // Flash Settings
145
- this.ensureDefault("flash_url", "");
146
- this.ensureDefault("prevent_swf_caching", true);
147
-
148
- // Button Settings
149
- this.ensureDefault("button_image_url", "");
150
- this.ensureDefault("button_width", 1);
151
- this.ensureDefault("button_height", 1);
152
- this.ensureDefault("button_text", "");
153
- this.ensureDefault("button_text_style", "color: #000000; font-size: 16pt;");
154
- this.ensureDefault("button_text_top_padding", 0);
155
- this.ensureDefault("button_text_left_padding", 0);
156
- this.ensureDefault("button_action", SWFUpload.BUTTON_ACTION.SELECT_FILES);
157
- this.ensureDefault("button_disabled", false);
158
- this.ensureDefault("button_placeholder_id", null);
159
-
160
- // Debug Settings
161
- this.ensureDefault("debug", false);
162
- this.settings.debug_enabled = this.settings.debug; // Here to maintain v2 API
163
-
164
- // Event Handlers
165
- this.settings.return_upload_start_handler = this.returnUploadStart;
166
- this.ensureDefault("swfupload_load_failed_handler", null);
167
- this.ensureDefault("swfupload_loaded_handler", null);
168
- this.ensureDefault("file_dialog_start_handler", null);
169
- this.ensureDefault("file_queued_handler", null);
170
- this.ensureDefault("file_queue_error_handler", null);
171
- this.ensureDefault("file_dialog_complete_handler", null);
172
-
173
- this.ensureDefault("upload_start_handler", null);
174
- this.ensureDefault("upload_progress_handler", null);
175
- this.ensureDefault("upload_error_handler", null);
176
- this.ensureDefault("upload_success_handler", null);
177
- this.ensureDefault("upload_complete_handler", null);
178
-
179
- this.ensureDefault("debug_handler", this.debugMessage);
180
-
181
- this.ensureDefault("custom_settings", {});
182
-
183
- // Other settings
184
- this.customSettings = this.settings.custom_settings;
185
-
186
- delete this.ensureDefault;
187
- };
188
-
189
- SWFUpload.Gears.prototype.loadGears = function () {
190
- // Check to see if gears is available, if not trigger the failed event
191
-
192
- // FIXME -- How do we handle a user permission rejection?
193
- if (!window.google || !google.gears) {
194
- this.queueEvent("swfupload_load_failed_handler");
195
- } else {
196
-
197
- if (this.settings.button_placeholder_id !== "") {
198
- this.replaceWithGears();
199
- } else {
200
- this.appendGears();
201
- }
202
- }
203
- };
204
-
205
- // Private: appendGears doesn't actually need to do anything except cause gears to set up
206
- SWFUpload.Gears.prototype.appendFlash = function () {
207
- this.getGears();
208
- };
209
-
210
- // Private: replaceWithFlash replaces the button_placeholder element with the flash movie.
211
- // For this release we are not going to replace any HTML elements. The element can just access SWFUpload.Gears like
212
- // we did with Flash Player 9
213
- SWFUpload.Gears.prototype.replaceWithFlash = function () {
214
- this.getGears();
215
-
216
- /*
217
- var targetElement, tempParent;
218
-
219
- // Make sure an element with the ID we are going to use doesn't already exist
220
- if (document.getElementById(this.movieName) !== null) {
221
- throw "ID " + this.movieName + " is already in use. The Flash Object could not be added";
222
- }
223
-
224
- // Get the element where we will be placing the flash movie
225
- targetElement = document.getElementById(this.settings.button_placeholder_id);
226
-
227
- if (targetElement == undefined) {
228
- throw "Could not find the placeholder element.";
229
- }
230
-
231
- // Append the container and load the flash
232
- var button = document.createElement("button");
233
- button.id = this.movieName;
234
- button.cssName = "swfupload";
235
- var buttonInnards = document.createElement("div");
236
- buttonInnards.innerHTML = this.settings.button_text;
237
- button.style.overflow = "hidden";
238
- buttonInnards.style.overflow = "hidden";
239
- button.style.marginTop = this.settings.button_text_top_padding + "px";
240
- button.style.marginLeft = this.settings.button_text_left_padding + "px";
241
- button.style.width = this.settings.button_width + "px";
242
- button.style.height = this.settings.button_height + "px";
243
-
244
- targetElement.parentNode.replaceChild(tempParent.firstChild, targetElement);
245
- */
246
-
247
-
248
-
249
- };
250
-
251
- SWFUpload.Gears.prototype.getGears = function () {
252
-
253
- };
254
-
255
-
256
- // Public: getMovieElement retrieves the "gearsMovie" that emulates the Flash Movie
257
- SWFUpload.Gears.prototype.getMovieElement = function () {
258
- return this.movieElement;
259
- };
260
-
261
- // Private: buildParamString takes the name/value pairs in the post_params setting object
262
- // and joins them up in to a string formatted "name=value&amp;name=value"
263
- SWFUpload.Gears.prototype.buildParamString = function () {
264
- var postParams = this.settings.post_params;
265
- var paramStringPairs = [];
266
-
267
- if (typeof(postParams) === "object") {
268
- for (var name in postParams) {
269
- if (postParams.hasOwnProperty(name)) {
270
- paramStringPairs.push(encodeURIComponent(name.toString()) + "=" + encodeURIComponent(postParams[name].toString()));
271
- }
272
- }
273
- }
274
-
275
- return paramStringPairs.join("&amp;");
276
- };
277
-
278
- // Public: Used to remove a SWFUpload instance from the page. This method strives to remove
279
- // all references to the SWF, and other objects so memory is properly freed.
280
- // Returns true if everything was destroyed. Returns a false if a failure occurs leaving SWFUpload in an inconsistant state.
281
- SWFUpload.Gears.prototype.destroy = function () {
282
- try {
283
- // Make sure Flash is done before we try to remove it
284
- this.stopUpload();
285
-
286
- // Remove the SWFUpload DOM nodes
287
- var movieElement = null;
288
- try {
289
- movieElement = this.getMovieElement();
290
- } catch (ex) {
291
- }
292
-
293
- // Destroy references
294
- SWFUpload.instances[this.movieName] = null;
295
- delete SWFUpload.instances[this.movieName];
296
-
297
- delete this.movieElement;
298
- delete this.settings;
299
- delete this.customSettings;
300
- delete this.eventQueue;
301
- delete this.movieName;
302
-
303
- return true;
304
- } catch (ex1) {
305
- return false;
306
- }
307
- };
308
-
309
- // Public: displayDebugInfo prints out settings and configuration
310
- // information about this SWFUpload instance.
311
- // This function (and any references to it) can be deleted when placing
312
- // SWFUpload in production.
313
- SWFUpload.Gears.prototype.displayDebugInfo = function () {
314
- this.debug(
315
- [
316
- "---SWFUpload Instance Info---\n",
317
- "Version: ", SWFUpload.version, "\n",
318
- "Movie Name: ", this.movieName, "\n",
319
- "Settings:\n",
320
- "\t", "upload_url: ", this.settings.upload_url, "\n",
321
- "\t", "flash_url: ", this.settings.flash_url, "\n",
322
- "\t", "use_query_string: ", this.settings.use_query_string.toString(), "\n",
323
- "\t", "file_post_name: ", this.settings.file_post_name, "\n",
324
- "\t", "post_params: ", this.settings.post_params.toString(), "\n",
325
- "\t", "file_types: ", this.settings.file_types, "\n",
326
- "\t", "file_types_description: ", this.settings.file_types_description, "\n",
327
- "\t", "file_size_limit: ", this.settings.file_size_limit, "\n",
328
- "\t", "file_upload_limit: ", this.settings.file_upload_limit, "\n",
329
- "\t", "file_queue_limit: ", this.settings.file_queue_limit, "\n",
330
- "\t", "debug: ", this.settings.debug.toString(), "\n",
331
-
332
- "\t", "prevent_swf_caching: ", this.settings.prevent_swf_caching.toString(), "\n",
333
-
334
- "\t", "button_placeholder_id: ", this.settings.button_placeholder_id.toString(), "\n",
335
- "\t", "button_image_url: ", this.settings.button_image_url.toString(), "\n",
336
- "\t", "button_width: ", this.settings.button_width.toString(), "\n",
337
- "\t", "button_height: ", this.settings.button_height.toString(), "\n",
338
- "\t", "button_text: ", this.settings.button_text.toString(), "\n",
339
- "\t", "button_text_style: ", this.settings.button_text_style.toString(), "\n",
340
- "\t", "button_text_top_padding: ", this.settings.button_text_top_padding.toString(), "\n",
341
- "\t", "button_text_left_padding: ", this.settings.button_text_left_padding.toString(), "\n",
342
- "\t", "button_action: ", this.settings.button_action.toString(), "\n",
343
- "\t", "button_disabled: ", this.settings.button_disabled.toString(), "\n",
344
-
345
- "\t", "custom_settings: ", this.settings.custom_settings.toString(), "\n",
346
- "Event Handlers:\n",
347
- "\t", "swfupload_loaded_handler assigned: ", (typeof this.settings.swfupload_loaded_handler === "function").toString(), "\n",
348
- "\t", "file_dialog_start_handler assigned: ", (typeof this.settings.file_dialog_start_handler === "function").toString(), "\n",
349
- "\t", "file_queued_handler assigned: ", (typeof this.settings.file_queued_handler === "function").toString(), "\n",
350
- "\t", "file_queue_error_handler assigned: ", (typeof this.settings.file_queue_error_handler === "function").toString(), "\n",
351
- "\t", "upload_start_handler assigned: ", (typeof this.settings.upload_start_handler === "function").toString(), "\n",
352
- "\t", "upload_progress_handler assigned: ", (typeof this.settings.upload_progress_handler === "function").toString(), "\n",
353
- "\t", "upload_error_handler assigned: ", (typeof this.settings.upload_error_handler === "function").toString(), "\n",
354
- "\t", "upload_success_handler assigned: ", (typeof this.settings.upload_success_handler === "function").toString(), "\n",
355
- "\t", "upload_complete_handler assigned: ", (typeof this.settings.upload_complete_handler === "function").toString(), "\n",
356
- "\t", "debug_handler assigned: ", (typeof this.settings.debug_handler === "function").toString(), "\n"
357
- ].join("")
358
- );
359
- };
360
-
361
- /* Note: addSetting and getSetting are no longer used by SWFUpload but are included
362
- the maintain v2 API compatibility
363
- */
364
- // Public: (Deprecated) addSetting adds a setting value. If the value given is undefined or null then the default_value is used.
365
- SWFUpload.Gears.prototype.addSetting = function (name, value, default_value) {
366
- if (value == undefined) {
367
- return (this.settings[name] = default_value);
368
- } else {
369
- return (this.settings[name] = value);
370
- }
371
- };
372
-
373
- // Public: (Deprecated) getSetting gets a setting. Returns an empty string if the setting was not found.
374
- SWFUpload.Gears.prototype.getSetting = function (name) {
375
- if (this.settings[name] != undefined) {
376
- return this.settings[name];
377
- }
378
-
379
- return "";
380
- };
381
-
382
-
383
-
384
- // Private: callFlash handles function calls made to the Flash element.
385
- // Calls are made with a setTimeout for some functions to work around
386
- // bugs in the ExternalInterface library.
387
- SWFUpload.Gears.prototype.callFlash = function (functionName, argumentArray) {
388
- argumentArray = argumentArray || [];
389
-
390
- var movieElement = this.getMovieElement();
391
- var returnValue;
392
-
393
- if (typeof movieElement[functionName] === "function") {
394
- return movieElement[functionName].call(this, argumentArray);
395
- } else {
396
- throw "Invalid function name: " + functionName;
397
- }
398
- };
399
-
400
-
401
- /* *****************************
402
- -- Flash control methods --
403
- Your UI should use these
404
- to operate SWFUpload
405
- ***************************** */
406
-
407
- // Public: selectFile causes a File Selection Dialog window to appear. This
408
- // dialog only allows 1 file to be selected. WARNING: this function does not work in Flash Player 10
409
- SWFUpload.Gears.prototype.selectFile = function () {
410
- this.callFlash("SelectFile");
411
- };
412
-
413
- // Public: selectFiles causes a File Selection Dialog window to appear/ This
414
- // dialog allows the user to select any number of files
415
- // Flash Bug Warning: Flash limits the number of selectable files based on the combined length of the file names.
416
- // If the selection name length is too long the dialog will fail in an unpredictable manner. There is no work-around
417
- // for this bug. WARNING: this function does not work in Flash Player 10
418
- SWFUpload.Gears.prototype.selectFiles = function () {
419
- this.callFlash("SelectFiles");
420
- };
421
-
422
-
423
- // Public: startUpload starts uploading the first file in the queue unless
424
- // the optional parameter 'fileID' specifies the ID
425
- SWFUpload.Gears.prototype.startUpload = function (fileID) {
426
- this.callFlash("StartUpload", [fileID]);
427
- };
428
-
429
- /* Cancels a the file upload. You must specify a file_id */
430
- // Public: cancelUpload cancels any queued file. The fileID parameter
431
- // must be specified.
432
- SWFUpload.Gears.prototype.cancelUpload = function (fileID) {
433
- this.callFlash("CancelUpload", [fileID]);
434
- };
435
-
436
- // Public: stopUpload stops the current upload and requeues the file at the beginning of the queue.
437
- // If nothing is currently uploading then nothing happens.
438
- SWFUpload.Gears.prototype.stopUpload = function () {
439
- this.callFlash("StopUpload");
440
- };
441
-
442
- /* ************************
443
- * Settings methods
444
- * These methods change the SWFUpload settings.
445
- * SWFUpload settings should not be changed directly on the settings object
446
- * since many of the settings need to be passed to Flash in order to take
447
- * effect.
448
- * *********************** */
449
-
450
- // Public: getStats gets the file statistics object.
451
- SWFUpload.Gears.prototype.getStats = function () {
452
- return this.callFlash("GetStats");
453
- };
454
-
455
- // Public: setStats changes the SWFUpload statistics. You shouldn't need to
456
- // change the statistics but you can. Changing the statistics does not
457
- // affect SWFUpload accept for the successful_uploads count which is used
458
- // by the upload_limit setting to determine how many files the user may upload.
459
- SWFUpload.Gears.prototype.setStats = function (statsObject) {
460
- this.callFlash("SetStats", [statsObject]);
461
- };
462
-
463
- // Public: getFile retrieves a File object by ID or Index. If the file is
464
- // not found then 'null' is returned.
465
- SWFUpload.Gears.prototype.getFile = function (fileID) {
466
- if (typeof(fileID) === "number") {
467
- return this.callFlash("GetFileByIndex", [fileID]);
468
- } else {
469
- return this.callFlash("GetFile", [fileID]);
470
- }
471
- };
472
-
473
- // Public: addFileParam sets a name/value pair that will be posted with the
474
- // file specified by the Files ID. If the name already exists then the
475
- // exiting value will be overwritten.
476
- SWFUpload.Gears.prototype.addFileParam = function (fileID, name, value) {
477
- return this.callFlash("AddFileParam", [fileID, name, value]);
478
- };
479
-
480
- // Public: removeFileParam removes a previously set (by addFileParam) name/value
481
- // pair from the specified file.
482
- SWFUpload.Gears.prototype.removeFileParam = function (fileID, name) {
483
- this.callFlash("RemoveFileParam", [fileID, name]);
484
- };
485
-
486
- // Public: setUploadUrl changes the upload_url setting.
487
- SWFUpload.Gears.prototype.setUploadURL = function (url) {
488
- this.settings.upload_url = url.toString();
489
- this.callFlash("SetUploadURL", [url]);
490
- };
491
-
492
- // Public: setPostParams changes the post_params setting
493
- SWFUpload.Gears.prototype.setPostParams = function (paramsObject) {
494
- this.settings.post_params = paramsObject;
495
- this.callFlash("SetPostParams", [paramsObject]);
496
- };
497
-
498
- // Public: addPostParam adds post name/value pair. Each name can have only one value.
499
- SWFUpload.Gears.prototype.addPostParam = function (name, value) {
500
- this.settings.post_params[name] = value;
501
- this.callFlash("SetPostParams", [this.settings.post_params]);
502
- };
503
-
504
- // Public: removePostParam deletes post name/value pair.
505
- SWFUpload.Gears.prototype.removePostParam = function (name) {
506
- delete this.settings.post_params[name];
507
- this.callFlash("SetPostParams", [this.settings.post_params]);
508
- };
509
-
510
- // Public: setFileTypes changes the file_types setting and the file_types_description setting
511
- SWFUpload.Gears.prototype.setFileTypes = function (types, description) {
512
- this.settings.file_types = types;
513
- this.settings.file_types_description = description;
514
- this.callFlash("SetFileTypes", [types, description]);
515
- };
516
-
517
- // Public: setFileSizeLimit changes the file_size_limit setting
518
- SWFUpload.Gears.prototype.setFileSizeLimit = function (fileSizeLimit) {
519
- this.settings.file_size_limit = fileSizeLimit;
520
- this.callFlash("SetFileSizeLimit", [fileSizeLimit]);
521
- };
522
-
523
- // Public: setFileUploadLimit changes the file_upload_limit setting
524
- SWFUpload.Gears.prototype.setFileUploadLimit = function (fileUploadLimit) {
525
- this.settings.file_upload_limit = fileUploadLimit;
526
- this.callFlash("SetFileUploadLimit", [fileUploadLimit]);
527
- };
528
-
529
- // Public: setFileQueueLimit changes the file_queue_limit setting
530
- SWFUpload.Gears.prototype.setFileQueueLimit = function (fileQueueLimit) {
531
- this.settings.file_queue_limit = fileQueueLimit;
532
- this.callFlash("SetFileQueueLimit", [fileQueueLimit]);
533
- };
534
-
535
- // Public: setFilePostName changes the file_post_name setting
536
- SWFUpload.Gears.prototype.setFilePostName = function (filePostName) {
537
- this.settings.file_post_name = filePostName;
538
- this.callFlash("SetFilePostName", [filePostName]);
539
- };
540
-
541
- // Public: setUseQueryString changes the use_query_string setting
542
- SWFUpload.Gears.prototype.setUseQueryString = function (useQueryString) {
543
- this.settings.use_query_string = useQueryString;
544
- this.callFlash("SetUseQueryString", [useQueryString]);
545
- };
546
-
547
- // Public: setRequeueOnError changes the requeue_on_error setting
548
- SWFUpload.Gears.prototype.setRequeueOnError = function (requeueOnError) {
549
- this.settings.requeue_on_error = requeueOnError;
550
- this.callFlash("SetRequeueOnError", [requeueOnError]);
551
- };
552
-
553
- // Public: setDebugEnabled changes the debug_enabled setting
554
- SWFUpload.Gears.prototype.setDebugEnabled = function (debugEnabled) {
555
- this.settings.debug_enabled = debugEnabled;
556
- this.callFlash("SetDebugEnabled", [debugEnabled]);
557
- };
558
-
559
- // Public: setButtonImageURL loads a button image sprite
560
- SWFUpload.Gears.prototype.setButtonImageURL = function (buttonImageURL) {
561
- if (buttonImageURL == undefined) {
562
- buttonImageURL = "";
563
- }
564
-
565
- this.settings.button_image_url = buttonImageURL;
566
- this.callFlash("SetButtonImageURL", [buttonImageURL]);
567
- };
568
-
569
- // Public: setButtonDimensions resizes the Flash Movie and button
570
- SWFUpload.Gears.prototype.setButtonDimensions = function (width, height) {
571
- this.settings.button_width = width;
572
- this.settings.button_height = height;
573
-
574
- var movie = this.getMovieElement();
575
- if (movie != undefined) {
576
- movie.style.width = width + "px";
577
- movie.style.height = height + "px";
578
- }
579
-
580
- this.callFlash("SetButtonDimensions", [width, height]);
581
- };
582
- // Public: setButtonText Changes the text overlaid on the button
583
- SWFUpload.Gears.prototype.setButtonText = function (html) {
584
- this.settings.button_text = html;
585
- this.callFlash("SetButtonText", [html]);
586
- };
587
- // Public: setButtonTextPadding changes the top and left padding of the text overlay
588
- SWFUpload.Gears.prototype.setButtonTextPadding = function (left, top) {
589
- this.settings.button_text_top_padding = top;
590
- this.settings.button_text_left_padding = left;
591
- this.callFlash("SetButtonTextPadding", [left, top]);
592
- };
593
-
594
- // Public: setButtonTextStyle changes the CSS used to style the HTML/Text overlaid on the button
595
- SWFUpload.Gears.prototype.setButtonTextStyle = function (css) {
596
- this.settings.button_text_style = css;
597
- this.callFlash("SetButtonTextStyle", [css]);
598
- };
599
- // Public: setButtonDisabled disables/enables the button
600
- SWFUpload.Gears.prototype.setButtonDisabled = function (isDisabled) {
601
- this.settings.button_disabled = isDisabled;
602
- this.callFlash("SetButtonDisabled", [isDisabled]);
603
- };
604
- // Public: setButtonAction sets the action that occurs when the button is clicked
605
- SWFUpload.Gears.prototype.setButtonAction = function (buttonAction) {
606
- this.settings.button_action = buttonAction;
607
- this.callFlash("SetButtonAction", [buttonAction]);
608
- };
609
-
610
- /* *******************************
611
- Flash Event Interfaces
612
- These functions are used by Flash to trigger the various
613
- events.
614
-
615
- All these functions a Private.
616
-
617
- Because the ExternalInterface library is buggy the event calls
618
- are added to a queue and the queue then executed by a setTimeout.
619
- This ensures that events are executed in a determinate order and that
620
- the ExternalInterface bugs are avoided.
621
- ******************************* */
622
-
623
- SWFUpload.Gears.prototype.queueEvent = function (handlerName, argumentArray) {
624
- // Warning: Don't call this.debug inside here or you'll create an infinite loop
625
-
626
- if (argumentArray == undefined) {
627
- argumentArray = [];
628
- } else if (!(argumentArray instanceof Array)) {
629
- argumentArray = [argumentArray];
630
- }
631
-
632
- var self = this;
633
- if (typeof this.settings[handlerName] === "function") {
634
- // Queue the event
635
- this.eventQueue.push(function () {
636
- this.settings[handlerName].apply(this, argumentArray);
637
- });
638
-
639
- // Execute the next queued event
640
- setTimeout(function () {
641
- self.executeNextEvent();
642
- }, 0);
643
-
644
- } else if (this.settings[handlerName] !== null) {
645
- throw "Event handler " + handlerName + " is unknown or is not a function";
646
- }
647
- };
648
-
649
- // Private: Causes the next event in the queue to be executed. Since events are queued using a setTimeout
650
- // we must queue them in order to garentee that they are executed in order.
651
- SWFUpload.Gears.prototype.executeNextEvent = function () {
652
- // Warning: Don't call this.debug inside here or you'll create an infinite loop
653
-
654
- var f = this.eventQueue ? this.eventQueue.shift() : null;
655
- if (typeof(f) === "function") {
656
- f.apply(this);
657
- }
658
- };
659
-
660
- // Private: unescapeFileParams is part of a workaround for a flash bug where objects passed through ExternalInterface cannot have
661
- // properties that contain characters that are not valid for JavaScript identifiers. To work around this
662
- // the Flash Component escapes the parameter names and we must unescape again before passing them along.
663
- SWFUpload.Gears.prototype.unescapeFilePostParams = function (file) {
664
- var reg = /[$]([0-9a-f]{4})/i;
665
- var unescapedPost = {};
666
- var uk;
667
-
668
- if (file != undefined) {
669
- for (var k in file.post) {
670
- if (file.post.hasOwnProperty(k)) {
671
- uk = k;
672
- var match;
673
- while ((match = reg.exec(uk)) !== null) {
674
- uk = uk.replace(match[0], String.fromCharCode(parseInt("0x" + match[1], 16)));
675
- }
676
- unescapedPost[uk] = file.post[k];
677
- }
678
- }
679
-
680
- file.post = unescapedPost;
681
- }
682
-
683
- return file;
684
- };
685
-
686
- SWFUpload.Gears.prototype.flashReady = function () {
687
- // Check that the movie element is loaded correctly with its ExternalInterface methods defined
688
- var movieElement = this.getMovieElement();
689
- if (typeof movieElement.StartUpload !== "function") {
690
- throw "ExternalInterface methods failed to initialize.";
691
- }
692
-
693
- // Fix IE Flash/Form bug
694
- if (window[this.movieName] == undefined) {
695
- window[this.movieName] = movieElement;
696
- }
697
-
698
- this.queueEvent("swfupload_loaded_handler");
699
- };
700
-
701
-
702
- /* This is a chance to do something before the browse window opens */
703
- SWFUpload.Gears.prototype.fileDialogStart = function () {
704
- this.queueEvent("file_dialog_start_handler");
705
- };
706
-
707
-
708
- /* Called when a file is successfully added to the queue. */
709
- SWFUpload.Gears.prototype.fileQueued = function (file) {
710
- file = this.unescapeFilePostParams(file);
711
- this.queueEvent("file_queued_handler", file);
712
- };
713
-
714
-
715
- /* Handle errors that occur when an attempt to queue a file fails. */
716
- SWFUpload.Gears.prototype.fileQueueError = function (file, errorCode, message) {
717
- file = this.unescapeFilePostParams(file);
718
- this.queueEvent("file_queue_error_handler", [file, errorCode, message]);
719
- };
720
-
721
- /* Called after the file dialog has closed and the selected files have been queued.
722
- You could call startUpload here if you want the queued files to begin uploading immediately. */
723
- SWFUpload.Gears.prototype.fileDialogComplete = function (numFilesSelected, numFilesQueued) {
724
- this.queueEvent("file_dialog_complete_handler", [numFilesSelected, numFilesQueued]);
725
- };
726
-
727
- SWFUpload.Gears.prototype.uploadStart = function (file) {
728
- file = this.unescapeFilePostParams(file);
729
- this.queueEvent("return_upload_start_handler", file);
730
- };
731
-
732
- SWFUpload.Gears.prototype.returnUploadStart = function (file) {
733
- var returnValue;
734
- if (typeof this.settings.upload_start_handler === "function") {
735
- file = this.unescapeFilePostParams(file);
736
- returnValue = this.settings.upload_start_handler.call(this, file);
737
- } else if (this.settings.upload_start_handler != undefined) {
738
- throw "upload_start_handler must be a function";
739
- }
740
-
741
- // Convert undefined to true so if nothing is returned from the upload_start_handler it is
742
- // interpretted as 'true'.
743
- if (returnValue === undefined) {
744
- returnValue = true;
745
- }
746
-
747
- returnValue = !!returnValue;
748
-
749
- this.callFlash("ReturnUploadStart", [returnValue]);
750
- };
751
-
752
-
753
-
754
- SWFUpload.Gears.prototype.uploadProgress = function (file, bytesComplete, bytesTotal) {
755
- file = this.unescapeFilePostParams(file);
756
- this.queueEvent("upload_progress_handler", [file, bytesComplete, bytesTotal]);
757
- };
758
-
759
- SWFUpload.Gears.prototype.uploadError = function (file, errorCode, message) {
760
- file = this.unescapeFilePostParams(file);
761
- this.queueEvent("upload_error_handler", [file, errorCode, message]);
762
- };
763
-
764
- SWFUpload.Gears.prototype.uploadSuccess = function (file, serverData) {
765
- file = this.unescapeFilePostParams(file);
766
- this.queueEvent("upload_success_handler", [file, serverData]);
767
- };
768
-
769
- SWFUpload.Gears.prototype.uploadComplete = function (file) {
770
- file = this.unescapeFilePostParams(file);
771
- this.queueEvent("upload_complete_handler", file);
772
- };
773
-
774
- /* Called by SWFUpload JavaScript and Flash functions when debug is enabled. By default it writes messages to the
775
- internal debug console. You can override this event and have messages written where you want. */
776
- SWFUpload.Gears.prototype.debug = function (message) {
777
- this.queueEvent("debug_handler", message);
778
- };
779
-
780
-
781
- /* **********************************
782
- Debug Console
783
- The debug console is a self contained, in page location
784
- for debug message to be sent. The Debug Console adds
785
- itself to the body if necessary.
786
-
787
- The console is automatically scrolled as messages appear.
788
-
789
- If you are using your own debug handler or when you deploy to production and
790
- have debug disabled you can remove these functions to reduce the file size
791
- and complexity.
792
- ********************************** */
793
-
794
- // Private: debugMessage is the default debug_handler. If you want to print debug messages
795
- // call the debug() function. When overriding the function your own function should
796
- // check to see if the debug setting is true before outputting debug information.
797
- SWFUpload.Gears.prototype.debugMessage = function (message) {
798
- if (this.settings.debug) {
799
- var exceptionMessage, exceptionValues = [];
800
-
801
- // Check for an exception object and print it nicely
802
- if (typeof message === "object" && typeof message.name === "string" && typeof message.message === "string") {
803
- for (var key in message) {
804
- if (message.hasOwnProperty(key)) {
805
- exceptionValues.push(key + ": " + message[key]);
806
- }
807
- }
808
- exceptionMessage = exceptionValues.join("\n") || "";
809
- exceptionValues = exceptionMessage.split("\n");
810
- exceptionMessage = "EXCEPTION: " + exceptionValues.join("\nEXCEPTION: ");
811
- SWFUpload.Console.writeLine(exceptionMessage);
812
- } else {
813
- SWFUpload.Console.writeLine(message);
814
- }
815
- }
816
- };
817
-
818
- SWFUpload.Gears.Console = {};
819
- SWFUpload.Gears.Console.writeLine = function (message) {
820
- var console, documentForm;
821
-
822
- try {
823
- console = document.getElementById("SWFUpload_Console");
824
-
825
- if (!console) {
826
- documentForm = document.createElement("form");
827
- document.getElementsByTagName("body")[0].appendChild(documentForm);
828
-
829
- console = document.createElement("textarea");
830
- console.id = "SWFUpload_Console";
831
- console.style.fontFamily = "monospace";
832
- console.setAttribute("wrap", "off");
833
- console.wrap = "off";
834
- console.style.overflow = "auto";
835
- console.style.width = "700px";
836
- console.style.height = "350px";
837
- console.style.margin = "5px";
838
- documentForm.appendChild(console);
839
- }
840
-
841
- console.value += message + "\n";
842
-
843
- console.scrollTop = console.scrollHeight - console.clientHeight;
844
- } catch (ex) {
845
- alert("Exception: " + ex.name + " Message: " + ex.message);
846
- }
847
- };
848
-
849
- /* ***************************************************************************
850
- GearsMovie object emulates a Flash generated object with the
851
- SWFUpload ExternalInterface methods exposted.
852
-
853
- Note: The object is _not_ a DOM Node (like the SWFUpload object element)
854
- and any attempts to treat it as such will fail.
855
- *************************************************************************** */
856
-
857
- // In general you shouldn't be accessing this class directly (it's private) but if you do we've
858
- // marked Public and Private methods
859
- SWFUpload.Gears.GearsMovie = function (swfuploadGearsInstance) {
860
- this.swfuploadGearsInstance = swfuploadGearsInstance;
861
- this.gearsDesktop = google.gears.factory.create("beta.desktop");
862
- this.gearsUploader = null;
863
-
864
- this.fileQueue = [];
865
- this.allFiles = [];
866
- this.currentFile = null;
867
- this.fileCounter = 0;
868
- };
869
-
870
- // Public
871
- SWFUpload.Gears.GearsMovie.prototype.SelectFile = function () {
872
- // FIXME - Call SWFUpload file dialog start event
873
-
874
- this.gearsDesktop.openFiles(this.selectFilesHandler, { singleFile : true, [this.swfuploadGearsInstance.settings.file_types] }) // FIXME -- file_types isn't in the right format
875
- };
876
-
877
- // Public
878
- SWFUpload.Gears.GearsMovie.prototype.SelectFiles = function () {
879
- // FIXME - Call SWFUpload file dialog start event
880
-
881
- this.gearsDesktop.openFiles(this.selectFilesHandler, { singleFile : false, [this.swfuploadGearsInstance.settings.file_types] }) // FIXME -- file_types isn't in the right format
882
- };
883
-
884
- // Private
885
- SWFUpload.Gears.GearsMovie.prototype.selectFilesHandler = function (files) {
886
- // FIXME -- check if "THIS" is the right context
887
-
888
- // Go through each file
889
- for (var i = 0; i < files.length; i++) {
890
- var file = files[i];
891
- var gearsFile = new SWFupload.Gears.GearsFile();
892
- gearsFile.id = this.swfuploadGearsInstance.movieName + "_" + this.fileCounter++;
893
- gearsFile.name = file.name;
894
- gearsFile.size = file.blob.length;
895
- gearsFile.filestatus = SWFUpload.FILE_STATUS.QUEUED;
896
- gearsFile.file = file;
897
-
898
- // Check it
899
-
900
- this.fileQueue.push(gearsFile);
901
- this.allFiles[gearsFile.id] = gearsFile;
902
- // Trigger fileQueued event or fileQueueError event
903
-
904
- }
905
-
906
- // Trigger fileDialogComplete event
907
- };
908
-
909
- SWFUpload.Gears.GearsMovie.prototype.StartUpload = function (idOrIndex) {
910
- if (this.gearsUploader !== null) return;
911
-
912
- if (idOrIndex == undefined) {
913
- this.currentFile = this.fileQueue.shift();
914
-
915
- this.gearsUploader = google.gears.factory.create('beta.httprequest');
916
- this.gearsUploader.onreadystatechange = this.readyStateChangeHandler;
917
- this.gearsUploader.open("POST", this.swfuploadGearsInstance.settings.upload_url);
918
-
919
- this.gearsUploader.setRequestHeader('Content-Disposition', 'attachment; filename="' + this.currentFile.name + '"'); // FIXME -- need to escape quotes
920
- this.gearsUploader.setRequestHeader('Content-Type', 'application/octet-stream');
921
- //this.gearsUploader.setRequestHeader('Content-Range', 'bytes ' + byteRange); // HUH?
922
-
923
- this.gearsUploader.send(this.currentFile.file.blob); // FIXME - send the file
924
-
925
- } else {
926
-
927
- } // FIXME -- do the ID search
928
- };
929
-
930
- SWFUpload.Gears.GearsMovie.prototype.readyStateChangeHandler = function () {
931
- // this is probably the HTTPRequest object rather than the GearsMovie
932
- if (this.readyState === 4) {
933
- alert(this.status + " " + this.responseText);
934
- }
935
- };
936
-
937
- SWFUpload.Gears.GearsFile = function () {
938
- this.name = "";
939
- this.size = "";
940
- this.post = {};
941
- this.type = "";
942
- this.creationdate = null;
943
- this.modificationdate = null;
944
-
945
- this.file = null; // Private
946
- }
947
-
948
-
949
-
950
- // Copyright 2007, Google Inc.
951
- //
952
- // Redistribution and use in source and binary forms, with or without
953
- // modification, are permitted provided that the following conditions are met:
954
- //
955
- // 1. Redistributions of source code must retain the above copyright notice,
956
- // this list of conditions and the following disclaimer.
957
- // 2. Redistributions in binary form must reproduce the above copyright notice,
958
- // this list of conditions and the following disclaimer in the documentation
959
- // and/or other materials provided with the distribution.
960
- // 3. Neither the name of Google Inc. nor the names of its contributors may be
961
- // used to endorse or promote products derived from this software without
962
- // specific prior written permission.
963
- //
964
- // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
965
- // WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
966
- // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
967
- // EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
968
- // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
969
- // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
970
- // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
971
- // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
972
- // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
973
- // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
974
- //
975
- // Sets up google.gears.*, which is *the only* supported way to access Gears.
976
- //
977
- // Circumvent this file at your own risk!
978
- //
979
- // In the future, Gears may automatically define google.gears.* without this
980
- // file. Gears may use these objects to transparently fix bugs and compatibility
981
- // issues. Applications that use the code below will continue to work seamlessly
982
- // when that happens.
983
-
984
- (function () {
985
- // We are already defined. Hooray!
986
- if (window.google && google.gears) {
987
- return;
988
- }
989
-
990
- var factory = null;
991
-
992
- // Firefox
993
- if (typeof GearsFactory != 'undefined') {
994
- factory = new GearsFactory();
995
- } else {
996
- // IE
997
- try {
998
- factory = new ActiveXObject('Gears.Factory');
999
- // privateSetGlobalObject is only required and supported on WinCE.
1000
- if (factory.getBuildInfo().indexOf('ie_mobile') != -1) {
1001
- factory.privateSetGlobalObject(this);
1002
- }
1003
- } catch (e) {
1004
- // Safari
1005
- if ((typeof navigator.mimeTypes != 'undefined')
1006
- && navigator.mimeTypes["application/x-googlegears"]) {
1007
- factory = document.createElement("object");
1008
- factory.style.display = "none";
1009
- factory.width = 0;
1010
- factory.height = 0;
1011
- factory.type = "application/x-googlegears";
1012
- document.documentElement.appendChild(factory);
1013
- }
1014
- }
1015
- }
1016
-
1017
- // *Do not* define any objects if Gears is not installed. This mimics the
1018
- // behavior of Gears defining the objects in the future.
1019
- if (!factory) {
1020
- return;
1021
- }
1022
-
1023
- // Now set up the objects, being careful not to overwrite anything.
1024
- //
1025
- // Note: In Internet Explorer for Windows Mobile, you can't add properties to
1026
- // the window object. However, global objects are automatically added as
1027
- // properties of the window object in all browsers.
1028
- if (!window.google) {
1029
- google = {};
1030
- }
1031
-
1032
- if (!google.gears) {
1033
- google.gears = {factory: factory};
1034
- }
1035
- })();
1
+ /*
2
+ SWFUpload.Gears : http://www.swfupload.org, http://swfupload.googlecode.com
3
+
4
+ mmSWFUpload 1.0: Flash upload dialog - http://profandesign.se/swfupload/, http://www.vinterwebb.se/
5
+
6
+ SWFUpload is (c) 2006-2007 Lars Huring, Olov Nilz�n and Mammon Media and is released under the MIT License:
7
+ http://www.opensource.org/licenses/mit-license.php
8
+
9
+ SWFUpload 2 is (c) 2007-2008 Jake Roberts and is released under the MIT License:
10
+ http://www.opensource.org/licenses/mit-license.php
11
+
12
+ --------------------------------
13
+
14
+ Summary:
15
+ It is an API compatible SWFUpload class that wraps Google Gears instead of Flash. This SWFUpload plugin is not actually a plugin.
16
+
17
+ Features:
18
+ * Use Google Gears to handle uploads
19
+ * Separately Namespaced to allow fallback to SWFUpload
20
+ * Adds an event for gears loading failed (swfupload_load_failed_handler)
21
+
22
+ Usage:
23
+ This library supplies DOM Ready loading by overridding the SWFUpload.Gears.onload function:
24
+
25
+ <script type="text/javascript">
26
+ var swfu;
27
+ SWFUpload.onload = function () {
28
+ swfu = new SWFUpload({
29
+ swfupload_load_failed_handler: swfuploadLoadFailed
30
+ });
31
+ };
32
+ </script>
33
+
34
+
35
+ Notes:
36
+ * Other SWFUpload Plugins are not compatible with SWFUpload.Gears.
37
+ * Since the Flash button is simulated when using Gears there might be slight UI differences
38
+ in different web browsers.
39
+ * Since Google Gears does not apply the same security restrictions the selectFile() and selectFiles() methods are
40
+ available and working if Gears loading is successful.
41
+ * SWFUpload.Gears maintains API compatibility so event handlers and settings objects for SWFUpload.Gears are fully compatible with SWFUpload. This
42
+ allows for easy fall back to SWFUpload if SWFUpload.Gears fails to load.
43
+ */
44
+
45
+ var SWFUpload;
46
+ if (SWFUpload == undefined) {
47
+ SWFUpload = function (settings) {
48
+ this.initSWFUpload(settings);
49
+ };
50
+ }
51
+
52
+ /* ******************* */
53
+ /* Constructor & Init */
54
+ /* ******************* */
55
+
56
+ var SWFUpload.Gears = function (settings) {
57
+ this.initSWFUpload(settings);
58
+ };
59
+
60
+
61
+ SWFUpload.Gears.prototype.initSWFUpload = function (settings) {
62
+ try {
63
+ this.customSettings = {}; // A container where developers can place their own settings associated with this instance.
64
+ this.settings = settings;
65
+ this.eventQueue = [];
66
+ this.movieName = "SWFUpload_" + SWFUpload.movieCount++;
67
+ this.movieElement = null;
68
+
69
+ // Setup global control tracking
70
+ SWFUpload.instances[this.movieName] = this;
71
+
72
+ // Load the settings. Load the Flash movie.
73
+ this.initSettings();
74
+ this.loadGears();
75
+ this.displayDebugInfo();
76
+ } catch (ex) {
77
+ delete SWFUpload.instances[this.movieName];
78
+ throw ex;
79
+ }
80
+ };
81
+
82
+ /* *************** */
83
+ /* Static Members */
84
+ /* *************** */
85
+ SWFUpload.instances = {};
86
+ SWFUpload.movieCount = 0;
87
+ SWFUpload.Gears.version = "0.1 for SWFUpload v2.2.0";
88
+ SWFUpload.QUEUE_ERROR = {
89
+ QUEUE_LIMIT_EXCEEDED : -100,
90
+ FILE_EXCEEDS_SIZE_LIMIT : -110,
91
+ ZERO_BYTE_FILE : -120,
92
+ INVALID_FILETYPE : -130
93
+ };
94
+ SWFUpload.UPLOAD_ERROR = {
95
+ HTTP_ERROR : -200,
96
+ MISSING_UPLOAD_URL : -210,
97
+ IO_ERROR : -220,
98
+ SECURITY_ERROR : -230,
99
+ UPLOAD_LIMIT_EXCEEDED : -240,
100
+ UPLOAD_FAILED : -250,
101
+ SPECIFIED_FILE_ID_NOT_FOUND : -260,
102
+ FILE_VALIDATION_FAILED : -270,
103
+ FILE_CANCELLED : -280,
104
+ UPLOAD_STOPPED : -290
105
+ };
106
+ SWFUpload.FILE_STATUS = {
107
+ QUEUED : -1,
108
+ IN_PROGRESS : -2,
109
+ ERROR : -3,
110
+ COMPLETE : -4,
111
+ CANCELLED : -5
112
+ };
113
+ SWFUpload.BUTTON_ACTION = {
114
+ SELECT_FILE : -100,
115
+ SELECT_FILES : -110,
116
+ START_UPLOAD : -120
117
+ };
118
+
119
+ /* ******************** */
120
+ /* Instance Members */
121
+ /* ******************** */
122
+
123
+ // Private: initSettings ensures that all the
124
+ // settings are set, getting a default value if one was not assigned.
125
+ SWFUpload.Gears.prototype.initSettings = function () {
126
+ this.ensureDefault = function (settingName, defaultValue) {
127
+ this.settings[settingName] = (this.settings[settingName] == undefined) ? defaultValue : this.settings[settingName];
128
+ };
129
+
130
+ // Upload backend settings
131
+ this.ensureDefault("upload_url", "");
132
+ this.ensureDefault("file_post_name", "Filedata");
133
+ this.ensureDefault("post_params", {});
134
+ this.ensureDefault("use_query_string", false);
135
+ this.ensureDefault("requeue_on_error", false);
136
+
137
+ // File Settings
138
+ this.ensureDefault("file_types", "*.*");
139
+ this.ensureDefault("file_types_description", "All Files");
140
+ this.ensureDefault("file_size_limit", 0); // Default zero means "unlimited"
141
+ this.ensureDefault("file_upload_limit", 0);
142
+ this.ensureDefault("file_queue_limit", 0);
143
+
144
+ // Flash Settings
145
+ this.ensureDefault("flash_url", "");
146
+ this.ensureDefault("prevent_swf_caching", true);
147
+
148
+ // Button Settings
149
+ this.ensureDefault("button_image_url", "");
150
+ this.ensureDefault("button_width", 1);
151
+ this.ensureDefault("button_height", 1);
152
+ this.ensureDefault("button_text", "");
153
+ this.ensureDefault("button_text_style", "color: #000000; font-size: 16pt;");
154
+ this.ensureDefault("button_text_top_padding", 0);
155
+ this.ensureDefault("button_text_left_padding", 0);
156
+ this.ensureDefault("button_action", SWFUpload.BUTTON_ACTION.SELECT_FILES);
157
+ this.ensureDefault("button_disabled", false);
158
+ this.ensureDefault("button_placeholder_id", null);
159
+
160
+ // Debug Settings
161
+ this.ensureDefault("debug", false);
162
+ this.settings.debug_enabled = this.settings.debug; // Here to maintain v2 API
163
+
164
+ // Event Handlers
165
+ this.settings.return_upload_start_handler = this.returnUploadStart;
166
+ this.ensureDefault("swfupload_load_failed_handler", null);
167
+ this.ensureDefault("swfupload_loaded_handler", null);
168
+ this.ensureDefault("file_dialog_start_handler", null);
169
+ this.ensureDefault("file_queued_handler", null);
170
+ this.ensureDefault("file_queue_error_handler", null);
171
+ this.ensureDefault("file_dialog_complete_handler", null);
172
+
173
+ this.ensureDefault("upload_start_handler", null);
174
+ this.ensureDefault("upload_progress_handler", null);
175
+ this.ensureDefault("upload_error_handler", null);
176
+ this.ensureDefault("upload_success_handler", null);
177
+ this.ensureDefault("upload_complete_handler", null);
178
+
179
+ this.ensureDefault("debug_handler", this.debugMessage);
180
+
181
+ this.ensureDefault("custom_settings", {});
182
+
183
+ // Other settings
184
+ this.customSettings = this.settings.custom_settings;
185
+
186
+ delete this.ensureDefault;
187
+ };
188
+
189
+ SWFUpload.Gears.prototype.loadGears = function () {
190
+ // Check to see if gears is available, if not trigger the failed event
191
+
192
+ // FIXME -- How do we handle a user permission rejection?
193
+ if (!window.google || !google.gears) {
194
+ this.queueEvent("swfupload_load_failed_handler");
195
+ } else {
196
+
197
+ if (this.settings.button_placeholder_id !== "") {
198
+ this.replaceWithGears();
199
+ } else {
200
+ this.appendGears();
201
+ }
202
+ }
203
+ };
204
+
205
+ // Private: appendGears doesn't actually need to do anything except cause gears to set up
206
+ SWFUpload.Gears.prototype.appendFlash = function () {
207
+ this.getGears();
208
+ };
209
+
210
+ // Private: replaceWithFlash replaces the button_placeholder element with the flash movie.
211
+ // For this release we are not going to replace any HTML elements. The element can just access SWFUpload.Gears like
212
+ // we did with Flash Player 9
213
+ SWFUpload.Gears.prototype.replaceWithFlash = function () {
214
+ this.getGears();
215
+
216
+ /*
217
+ var targetElement, tempParent;
218
+
219
+ // Make sure an element with the ID we are going to use doesn't already exist
220
+ if (document.getElementById(this.movieName) !== null) {
221
+ throw "ID " + this.movieName + " is already in use. The Flash Object could not be added";
222
+ }
223
+
224
+ // Get the element where we will be placing the flash movie
225
+ targetElement = document.getElementById(this.settings.button_placeholder_id);
226
+
227
+ if (targetElement == undefined) {
228
+ throw "Could not find the placeholder element.";
229
+ }
230
+
231
+ // Append the container and load the flash
232
+ var button = document.createElement("button");
233
+ button.id = this.movieName;
234
+ button.cssName = "swfupload";
235
+ var buttonInnards = document.createElement("div");
236
+ buttonInnards.innerHTML = this.settings.button_text;
237
+ button.style.overflow = "hidden";
238
+ buttonInnards.style.overflow = "hidden";
239
+ button.style.marginTop = this.settings.button_text_top_padding + "px";
240
+ button.style.marginLeft = this.settings.button_text_left_padding + "px";
241
+ button.style.width = this.settings.button_width + "px";
242
+ button.style.height = this.settings.button_height + "px";
243
+
244
+ targetElement.parentNode.replaceChild(tempParent.firstChild, targetElement);
245
+ */
246
+
247
+
248
+
249
+ };
250
+
251
+ SWFUpload.Gears.prototype.getGears = function () {
252
+
253
+ };
254
+
255
+
256
+ // Public: getMovieElement retrieves the "gearsMovie" that emulates the Flash Movie
257
+ SWFUpload.Gears.prototype.getMovieElement = function () {
258
+ return this.movieElement;
259
+ };
260
+
261
+ // Private: buildParamString takes the name/value pairs in the post_params setting object
262
+ // and joins them up in to a string formatted "name=value&amp;name=value"
263
+ SWFUpload.Gears.prototype.buildParamString = function () {
264
+ var postParams = this.settings.post_params;
265
+ var paramStringPairs = [];
266
+
267
+ if (typeof(postParams) === "object") {
268
+ for (var name in postParams) {
269
+ if (postParams.hasOwnProperty(name)) {
270
+ paramStringPairs.push(encodeURIComponent(name.toString()) + "=" + encodeURIComponent(postParams[name].toString()));
271
+ }
272
+ }
273
+ }
274
+
275
+ return paramStringPairs.join("&amp;");
276
+ };
277
+
278
+ // Public: Used to remove a SWFUpload instance from the page. This method strives to remove
279
+ // all references to the SWF, and other objects so memory is properly freed.
280
+ // Returns true if everything was destroyed. Returns a false if a failure occurs leaving SWFUpload in an inconsistant state.
281
+ SWFUpload.Gears.prototype.destroy = function () {
282
+ try {
283
+ // Make sure Flash is done before we try to remove it
284
+ this.stopUpload();
285
+
286
+ // Remove the SWFUpload DOM nodes
287
+ var movieElement = null;
288
+ try {
289
+ movieElement = this.getMovieElement();
290
+ } catch (ex) {
291
+ }
292
+
293
+ // Destroy references
294
+ SWFUpload.instances[this.movieName] = null;
295
+ delete SWFUpload.instances[this.movieName];
296
+
297
+ delete this.movieElement;
298
+ delete this.settings;
299
+ delete this.customSettings;
300
+ delete this.eventQueue;
301
+ delete this.movieName;
302
+
303
+ return true;
304
+ } catch (ex1) {
305
+ return false;
306
+ }
307
+ };
308
+
309
+ // Public: displayDebugInfo prints out settings and configuration
310
+ // information about this SWFUpload instance.
311
+ // This function (and any references to it) can be deleted when placing
312
+ // SWFUpload in production.
313
+ SWFUpload.Gears.prototype.displayDebugInfo = function () {
314
+ this.debug(
315
+ [
316
+ "---SWFUpload Instance Info---\n",
317
+ "Version: ", SWFUpload.version, "\n",
318
+ "Movie Name: ", this.movieName, "\n",
319
+ "Settings:\n",
320
+ "\t", "upload_url: ", this.settings.upload_url, "\n",
321
+ "\t", "flash_url: ", this.settings.flash_url, "\n",
322
+ "\t", "use_query_string: ", this.settings.use_query_string.toString(), "\n",
323
+ "\t", "file_post_name: ", this.settings.file_post_name, "\n",
324
+ "\t", "post_params: ", this.settings.post_params.toString(), "\n",
325
+ "\t", "file_types: ", this.settings.file_types, "\n",
326
+ "\t", "file_types_description: ", this.settings.file_types_description, "\n",
327
+ "\t", "file_size_limit: ", this.settings.file_size_limit, "\n",
328
+ "\t", "file_upload_limit: ", this.settings.file_upload_limit, "\n",
329
+ "\t", "file_queue_limit: ", this.settings.file_queue_limit, "\n",
330
+ "\t", "debug: ", this.settings.debug.toString(), "\n",
331
+
332
+ "\t", "prevent_swf_caching: ", this.settings.prevent_swf_caching.toString(), "\n",
333
+
334
+ "\t", "button_placeholder_id: ", this.settings.button_placeholder_id.toString(), "\n",
335
+ "\t", "button_image_url: ", this.settings.button_image_url.toString(), "\n",
336
+ "\t", "button_width: ", this.settings.button_width.toString(), "\n",
337
+ "\t", "button_height: ", this.settings.button_height.toString(), "\n",
338
+ "\t", "button_text: ", this.settings.button_text.toString(), "\n",
339
+ "\t", "button_text_style: ", this.settings.button_text_style.toString(), "\n",
340
+ "\t", "button_text_top_padding: ", this.settings.button_text_top_padding.toString(), "\n",
341
+ "\t", "button_text_left_padding: ", this.settings.button_text_left_padding.toString(), "\n",
342
+ "\t", "button_action: ", this.settings.button_action.toString(), "\n",
343
+ "\t", "button_disabled: ", this.settings.button_disabled.toString(), "\n",
344
+
345
+ "\t", "custom_settings: ", this.settings.custom_settings.toString(), "\n",
346
+ "Event Handlers:\n",
347
+ "\t", "swfupload_loaded_handler assigned: ", (typeof this.settings.swfupload_loaded_handler === "function").toString(), "\n",
348
+ "\t", "file_dialog_start_handler assigned: ", (typeof this.settings.file_dialog_start_handler === "function").toString(), "\n",
349
+ "\t", "file_queued_handler assigned: ", (typeof this.settings.file_queued_handler === "function").toString(), "\n",
350
+ "\t", "file_queue_error_handler assigned: ", (typeof this.settings.file_queue_error_handler === "function").toString(), "\n",
351
+ "\t", "upload_start_handler assigned: ", (typeof this.settings.upload_start_handler === "function").toString(), "\n",
352
+ "\t", "upload_progress_handler assigned: ", (typeof this.settings.upload_progress_handler === "function").toString(), "\n",
353
+ "\t", "upload_error_handler assigned: ", (typeof this.settings.upload_error_handler === "function").toString(), "\n",
354
+ "\t", "upload_success_handler assigned: ", (typeof this.settings.upload_success_handler === "function").toString(), "\n",
355
+ "\t", "upload_complete_handler assigned: ", (typeof this.settings.upload_complete_handler === "function").toString(), "\n",
356
+ "\t", "debug_handler assigned: ", (typeof this.settings.debug_handler === "function").toString(), "\n"
357
+ ].join("")
358
+ );
359
+ };
360
+
361
+ /* Note: addSetting and getSetting are no longer used by SWFUpload but are included
362
+ the maintain v2 API compatibility
363
+ */
364
+ // Public: (Deprecated) addSetting adds a setting value. If the value given is undefined or null then the default_value is used.
365
+ SWFUpload.Gears.prototype.addSetting = function (name, value, default_value) {
366
+ if (value == undefined) {
367
+ return (this.settings[name] = default_value);
368
+ } else {
369
+ return (this.settings[name] = value);
370
+ }
371
+ };
372
+
373
+ // Public: (Deprecated) getSetting gets a setting. Returns an empty string if the setting was not found.
374
+ SWFUpload.Gears.prototype.getSetting = function (name) {
375
+ if (this.settings[name] != undefined) {
376
+ return this.settings[name];
377
+ }
378
+
379
+ return "";
380
+ };
381
+
382
+
383
+
384
+ // Private: callFlash handles function calls made to the Flash element.
385
+ // Calls are made with a setTimeout for some functions to work around
386
+ // bugs in the ExternalInterface library.
387
+ SWFUpload.Gears.prototype.callFlash = function (functionName, argumentArray) {
388
+ argumentArray = argumentArray || [];
389
+
390
+ var movieElement = this.getMovieElement();
391
+ var returnValue;
392
+
393
+ if (typeof movieElement[functionName] === "function") {
394
+ return movieElement[functionName].call(this, argumentArray);
395
+ } else {
396
+ throw "Invalid function name: " + functionName;
397
+ }
398
+ };
399
+
400
+
401
+ /* *****************************
402
+ -- Flash control methods --
403
+ Your UI should use these
404
+ to operate SWFUpload
405
+ ***************************** */
406
+
407
+ // Public: selectFile causes a File Selection Dialog window to appear. This
408
+ // dialog only allows 1 file to be selected. WARNING: this function does not work in Flash Player 10
409
+ SWFUpload.Gears.prototype.selectFile = function () {
410
+ this.callFlash("SelectFile");
411
+ };
412
+
413
+ // Public: selectFiles causes a File Selection Dialog window to appear/ This
414
+ // dialog allows the user to select any number of files
415
+ // Flash Bug Warning: Flash limits the number of selectable files based on the combined length of the file names.
416
+ // If the selection name length is too long the dialog will fail in an unpredictable manner. There is no work-around
417
+ // for this bug. WARNING: this function does not work in Flash Player 10
418
+ SWFUpload.Gears.prototype.selectFiles = function () {
419
+ this.callFlash("SelectFiles");
420
+ };
421
+
422
+
423
+ // Public: startUpload starts uploading the first file in the queue unless
424
+ // the optional parameter 'fileID' specifies the ID
425
+ SWFUpload.Gears.prototype.startUpload = function (fileID) {
426
+ this.callFlash("StartUpload", [fileID]);
427
+ };
428
+
429
+ /* Cancels a the file upload. You must specify a file_id */
430
+ // Public: cancelUpload cancels any queued file. The fileID parameter
431
+ // must be specified.
432
+ SWFUpload.Gears.prototype.cancelUpload = function (fileID) {
433
+ this.callFlash("CancelUpload", [fileID]);
434
+ };
435
+
436
+ // Public: stopUpload stops the current upload and requeues the file at the beginning of the queue.
437
+ // If nothing is currently uploading then nothing happens.
438
+ SWFUpload.Gears.prototype.stopUpload = function () {
439
+ this.callFlash("StopUpload");
440
+ };
441
+
442
+ /* ************************
443
+ * Settings methods
444
+ * These methods change the SWFUpload settings.
445
+ * SWFUpload settings should not be changed directly on the settings object
446
+ * since many of the settings need to be passed to Flash in order to take
447
+ * effect.
448
+ * *********************** */
449
+
450
+ // Public: getStats gets the file statistics object.
451
+ SWFUpload.Gears.prototype.getStats = function () {
452
+ return this.callFlash("GetStats");
453
+ };
454
+
455
+ // Public: setStats changes the SWFUpload statistics. You shouldn't need to
456
+ // change the statistics but you can. Changing the statistics does not
457
+ // affect SWFUpload accept for the successful_uploads count which is used
458
+ // by the upload_limit setting to determine how many files the user may upload.
459
+ SWFUpload.Gears.prototype.setStats = function (statsObject) {
460
+ this.callFlash("SetStats", [statsObject]);
461
+ };
462
+
463
+ // Public: getFile retrieves a File object by ID or Index. If the file is
464
+ // not found then 'null' is returned.
465
+ SWFUpload.Gears.prototype.getFile = function (fileID) {
466
+ if (typeof(fileID) === "number") {
467
+ return this.callFlash("GetFileByIndex", [fileID]);
468
+ } else {
469
+ return this.callFlash("GetFile", [fileID]);
470
+ }
471
+ };
472
+
473
+ // Public: addFileParam sets a name/value pair that will be posted with the
474
+ // file specified by the Files ID. If the name already exists then the
475
+ // exiting value will be overwritten.
476
+ SWFUpload.Gears.prototype.addFileParam = function (fileID, name, value) {
477
+ return this.callFlash("AddFileParam", [fileID, name, value]);
478
+ };
479
+
480
+ // Public: removeFileParam removes a previously set (by addFileParam) name/value
481
+ // pair from the specified file.
482
+ SWFUpload.Gears.prototype.removeFileParam = function (fileID, name) {
483
+ this.callFlash("RemoveFileParam", [fileID, name]);
484
+ };
485
+
486
+ // Public: setUploadUrl changes the upload_url setting.
487
+ SWFUpload.Gears.prototype.setUploadURL = function (url) {
488
+ this.settings.upload_url = url.toString();
489
+ this.callFlash("SetUploadURL", [url]);
490
+ };
491
+
492
+ // Public: setPostParams changes the post_params setting
493
+ SWFUpload.Gears.prototype.setPostParams = function (paramsObject) {
494
+ this.settings.post_params = paramsObject;
495
+ this.callFlash("SetPostParams", [paramsObject]);
496
+ };
497
+
498
+ // Public: addPostParam adds post name/value pair. Each name can have only one value.
499
+ SWFUpload.Gears.prototype.addPostParam = function (name, value) {
500
+ this.settings.post_params[name] = value;
501
+ this.callFlash("SetPostParams", [this.settings.post_params]);
502
+ };
503
+
504
+ // Public: removePostParam deletes post name/value pair.
505
+ SWFUpload.Gears.prototype.removePostParam = function (name) {
506
+ delete this.settings.post_params[name];
507
+ this.callFlash("SetPostParams", [this.settings.post_params]);
508
+ };
509
+
510
+ // Public: setFileTypes changes the file_types setting and the file_types_description setting
511
+ SWFUpload.Gears.prototype.setFileTypes = function (types, description) {
512
+ this.settings.file_types = types;
513
+ this.settings.file_types_description = description;
514
+ this.callFlash("SetFileTypes", [types, description]);
515
+ };
516
+
517
+ // Public: setFileSizeLimit changes the file_size_limit setting
518
+ SWFUpload.Gears.prototype.setFileSizeLimit = function (fileSizeLimit) {
519
+ this.settings.file_size_limit = fileSizeLimit;
520
+ this.callFlash("SetFileSizeLimit", [fileSizeLimit]);
521
+ };
522
+
523
+ // Public: setFileUploadLimit changes the file_upload_limit setting
524
+ SWFUpload.Gears.prototype.setFileUploadLimit = function (fileUploadLimit) {
525
+ this.settings.file_upload_limit = fileUploadLimit;
526
+ this.callFlash("SetFileUploadLimit", [fileUploadLimit]);
527
+ };
528
+
529
+ // Public: setFileQueueLimit changes the file_queue_limit setting
530
+ SWFUpload.Gears.prototype.setFileQueueLimit = function (fileQueueLimit) {
531
+ this.settings.file_queue_limit = fileQueueLimit;
532
+ this.callFlash("SetFileQueueLimit", [fileQueueLimit]);
533
+ };
534
+
535
+ // Public: setFilePostName changes the file_post_name setting
536
+ SWFUpload.Gears.prototype.setFilePostName = function (filePostName) {
537
+ this.settings.file_post_name = filePostName;
538
+ this.callFlash("SetFilePostName", [filePostName]);
539
+ };
540
+
541
+ // Public: setUseQueryString changes the use_query_string setting
542
+ SWFUpload.Gears.prototype.setUseQueryString = function (useQueryString) {
543
+ this.settings.use_query_string = useQueryString;
544
+ this.callFlash("SetUseQueryString", [useQueryString]);
545
+ };
546
+
547
+ // Public: setRequeueOnError changes the requeue_on_error setting
548
+ SWFUpload.Gears.prototype.setRequeueOnError = function (requeueOnError) {
549
+ this.settings.requeue_on_error = requeueOnError;
550
+ this.callFlash("SetRequeueOnError", [requeueOnError]);
551
+ };
552
+
553
+ // Public: setDebugEnabled changes the debug_enabled setting
554
+ SWFUpload.Gears.prototype.setDebugEnabled = function (debugEnabled) {
555
+ this.settings.debug_enabled = debugEnabled;
556
+ this.callFlash("SetDebugEnabled", [debugEnabled]);
557
+ };
558
+
559
+ // Public: setButtonImageURL loads a button image sprite
560
+ SWFUpload.Gears.prototype.setButtonImageURL = function (buttonImageURL) {
561
+ if (buttonImageURL == undefined) {
562
+ buttonImageURL = "";
563
+ }
564
+
565
+ this.settings.button_image_url = buttonImageURL;
566
+ this.callFlash("SetButtonImageURL", [buttonImageURL]);
567
+ };
568
+
569
+ // Public: setButtonDimensions resizes the Flash Movie and button
570
+ SWFUpload.Gears.prototype.setButtonDimensions = function (width, height) {
571
+ this.settings.button_width = width;
572
+ this.settings.button_height = height;
573
+
574
+ var movie = this.getMovieElement();
575
+ if (movie != undefined) {
576
+ movie.style.width = width + "px";
577
+ movie.style.height = height + "px";
578
+ }
579
+
580
+ this.callFlash("SetButtonDimensions", [width, height]);
581
+ };
582
+ // Public: setButtonText Changes the text overlaid on the button
583
+ SWFUpload.Gears.prototype.setButtonText = function (html) {
584
+ this.settings.button_text = html;
585
+ this.callFlash("SetButtonText", [html]);
586
+ };
587
+ // Public: setButtonTextPadding changes the top and left padding of the text overlay
588
+ SWFUpload.Gears.prototype.setButtonTextPadding = function (left, top) {
589
+ this.settings.button_text_top_padding = top;
590
+ this.settings.button_text_left_padding = left;
591
+ this.callFlash("SetButtonTextPadding", [left, top]);
592
+ };
593
+
594
+ // Public: setButtonTextStyle changes the CSS used to style the HTML/Text overlaid on the button
595
+ SWFUpload.Gears.prototype.setButtonTextStyle = function (css) {
596
+ this.settings.button_text_style = css;
597
+ this.callFlash("SetButtonTextStyle", [css]);
598
+ };
599
+ // Public: setButtonDisabled disables/enables the button
600
+ SWFUpload.Gears.prototype.setButtonDisabled = function (isDisabled) {
601
+ this.settings.button_disabled = isDisabled;
602
+ this.callFlash("SetButtonDisabled", [isDisabled]);
603
+ };
604
+ // Public: setButtonAction sets the action that occurs when the button is clicked
605
+ SWFUpload.Gears.prototype.setButtonAction = function (buttonAction) {
606
+ this.settings.button_action = buttonAction;
607
+ this.callFlash("SetButtonAction", [buttonAction]);
608
+ };
609
+
610
+ /* *******************************
611
+ Flash Event Interfaces
612
+ These functions are used by Flash to trigger the various
613
+ events.
614
+
615
+ All these functions a Private.
616
+
617
+ Because the ExternalInterface library is buggy the event calls
618
+ are added to a queue and the queue then executed by a setTimeout.
619
+ This ensures that events are executed in a determinate order and that
620
+ the ExternalInterface bugs are avoided.
621
+ ******************************* */
622
+
623
+ SWFUpload.Gears.prototype.queueEvent = function (handlerName, argumentArray) {
624
+ // Warning: Don't call this.debug inside here or you'll create an infinite loop
625
+
626
+ if (argumentArray == undefined) {
627
+ argumentArray = [];
628
+ } else if (!(argumentArray instanceof Array)) {
629
+ argumentArray = [argumentArray];
630
+ }
631
+
632
+ var self = this;
633
+ if (typeof this.settings[handlerName] === "function") {
634
+ // Queue the event
635
+ this.eventQueue.push(function () {
636
+ this.settings[handlerName].apply(this, argumentArray);
637
+ });
638
+
639
+ // Execute the next queued event
640
+ setTimeout(function () {
641
+ self.executeNextEvent();
642
+ }, 0);
643
+
644
+ } else if (this.settings[handlerName] !== null) {
645
+ throw "Event handler " + handlerName + " is unknown or is not a function";
646
+ }
647
+ };
648
+
649
+ // Private: Causes the next event in the queue to be executed. Since events are queued using a setTimeout
650
+ // we must queue them in order to garentee that they are executed in order.
651
+ SWFUpload.Gears.prototype.executeNextEvent = function () {
652
+ // Warning: Don't call this.debug inside here or you'll create an infinite loop
653
+
654
+ var f = this.eventQueue ? this.eventQueue.shift() : null;
655
+ if (typeof(f) === "function") {
656
+ f.apply(this);
657
+ }
658
+ };
659
+
660
+ // Private: unescapeFileParams is part of a workaround for a flash bug where objects passed through ExternalInterface cannot have
661
+ // properties that contain characters that are not valid for JavaScript identifiers. To work around this
662
+ // the Flash Component escapes the parameter names and we must unescape again before passing them along.
663
+ SWFUpload.Gears.prototype.unescapeFilePostParams = function (file) {
664
+ var reg = /[$]([0-9a-f]{4})/i;
665
+ var unescapedPost = {};
666
+ var uk;
667
+
668
+ if (file != undefined) {
669
+ for (var k in file.post) {
670
+ if (file.post.hasOwnProperty(k)) {
671
+ uk = k;
672
+ var match;
673
+ while ((match = reg.exec(uk)) !== null) {
674
+ uk = uk.replace(match[0], String.fromCharCode(parseInt("0x" + match[1], 16)));
675
+ }
676
+ unescapedPost[uk] = file.post[k];
677
+ }
678
+ }
679
+
680
+ file.post = unescapedPost;
681
+ }
682
+
683
+ return file;
684
+ };
685
+
686
+ SWFUpload.Gears.prototype.flashReady = function () {
687
+ // Check that the movie element is loaded correctly with its ExternalInterface methods defined
688
+ var movieElement = this.getMovieElement();
689
+ if (typeof movieElement.StartUpload !== "function") {
690
+ throw "ExternalInterface methods failed to initialize.";
691
+ }
692
+
693
+ // Fix IE Flash/Form bug
694
+ if (window[this.movieName] == undefined) {
695
+ window[this.movieName] = movieElement;
696
+ }
697
+
698
+ this.queueEvent("swfupload_loaded_handler");
699
+ };
700
+
701
+
702
+ /* This is a chance to do something before the browse window opens */
703
+ SWFUpload.Gears.prototype.fileDialogStart = function () {
704
+ this.queueEvent("file_dialog_start_handler");
705
+ };
706
+
707
+
708
+ /* Called when a file is successfully added to the queue. */
709
+ SWFUpload.Gears.prototype.fileQueued = function (file) {
710
+ file = this.unescapeFilePostParams(file);
711
+ this.queueEvent("file_queued_handler", file);
712
+ };
713
+
714
+
715
+ /* Handle errors that occur when an attempt to queue a file fails. */
716
+ SWFUpload.Gears.prototype.fileQueueError = function (file, errorCode, message) {
717
+ file = this.unescapeFilePostParams(file);
718
+ this.queueEvent("file_queue_error_handler", [file, errorCode, message]);
719
+ };
720
+
721
+ /* Called after the file dialog has closed and the selected files have been queued.
722
+ You could call startUpload here if you want the queued files to begin uploading immediately. */
723
+ SWFUpload.Gears.prototype.fileDialogComplete = function (numFilesSelected, numFilesQueued) {
724
+ this.queueEvent("file_dialog_complete_handler", [numFilesSelected, numFilesQueued]);
725
+ };
726
+
727
+ SWFUpload.Gears.prototype.uploadStart = function (file) {
728
+ file = this.unescapeFilePostParams(file);
729
+ this.queueEvent("return_upload_start_handler", file);
730
+ };
731
+
732
+ SWFUpload.Gears.prototype.returnUploadStart = function (file) {
733
+ var returnValue;
734
+ if (typeof this.settings.upload_start_handler === "function") {
735
+ file = this.unescapeFilePostParams(file);
736
+ returnValue = this.settings.upload_start_handler.call(this, file);
737
+ } else if (this.settings.upload_start_handler != undefined) {
738
+ throw "upload_start_handler must be a function";
739
+ }
740
+
741
+ // Convert undefined to true so if nothing is returned from the upload_start_handler it is
742
+ // interpretted as 'true'.
743
+ if (returnValue === undefined) {
744
+ returnValue = true;
745
+ }
746
+
747
+ returnValue = !!returnValue;
748
+
749
+ this.callFlash("ReturnUploadStart", [returnValue]);
750
+ };
751
+
752
+
753
+
754
+ SWFUpload.Gears.prototype.uploadProgress = function (file, bytesComplete, bytesTotal) {
755
+ file = this.unescapeFilePostParams(file);
756
+ this.queueEvent("upload_progress_handler", [file, bytesComplete, bytesTotal]);
757
+ };
758
+
759
+ SWFUpload.Gears.prototype.uploadError = function (file, errorCode, message) {
760
+ file = this.unescapeFilePostParams(file);
761
+ this.queueEvent("upload_error_handler", [file, errorCode, message]);
762
+ };
763
+
764
+ SWFUpload.Gears.prototype.uploadSuccess = function (file, serverData) {
765
+ file = this.unescapeFilePostParams(file);
766
+ this.queueEvent("upload_success_handler", [file, serverData]);
767
+ };
768
+
769
+ SWFUpload.Gears.prototype.uploadComplete = function (file) {
770
+ file = this.unescapeFilePostParams(file);
771
+ this.queueEvent("upload_complete_handler", file);
772
+ };
773
+
774
+ /* Called by SWFUpload JavaScript and Flash functions when debug is enabled. By default it writes messages to the
775
+ internal debug console. You can override this event and have messages written where you want. */
776
+ SWFUpload.Gears.prototype.debug = function (message) {
777
+ this.queueEvent("debug_handler", message);
778
+ };
779
+
780
+
781
+ /* **********************************
782
+ Debug Console
783
+ The debug console is a self contained, in page location
784
+ for debug message to be sent. The Debug Console adds
785
+ itself to the body if necessary.
786
+
787
+ The console is automatically scrolled as messages appear.
788
+
789
+ If you are using your own debug handler or when you deploy to production and
790
+ have debug disabled you can remove these functions to reduce the file size
791
+ and complexity.
792
+ ********************************** */
793
+
794
+ // Private: debugMessage is the default debug_handler. If you want to print debug messages
795
+ // call the debug() function. When overriding the function your own function should
796
+ // check to see if the debug setting is true before outputting debug information.
797
+ SWFUpload.Gears.prototype.debugMessage = function (message) {
798
+ if (this.settings.debug) {
799
+ var exceptionMessage, exceptionValues = [];
800
+
801
+ // Check for an exception object and print it nicely
802
+ if (typeof message === "object" && typeof message.name === "string" && typeof message.message === "string") {
803
+ for (var key in message) {
804
+ if (message.hasOwnProperty(key)) {
805
+ exceptionValues.push(key + ": " + message[key]);
806
+ }
807
+ }
808
+ exceptionMessage = exceptionValues.join("\n") || "";
809
+ exceptionValues = exceptionMessage.split("\n");
810
+ exceptionMessage = "EXCEPTION: " + exceptionValues.join("\nEXCEPTION: ");
811
+ SWFUpload.Console.writeLine(exceptionMessage);
812
+ } else {
813
+ SWFUpload.Console.writeLine(message);
814
+ }
815
+ }
816
+ };
817
+
818
+ SWFUpload.Gears.Console = {};
819
+ SWFUpload.Gears.Console.writeLine = function (message) {
820
+ var console, documentForm;
821
+
822
+ try {
823
+ console = document.getElementById("SWFUpload_Console");
824
+
825
+ if (!console) {
826
+ documentForm = document.createElement("form");
827
+ document.getElementsByTagName("body")[0].appendChild(documentForm);
828
+
829
+ console = document.createElement("textarea");
830
+ console.id = "SWFUpload_Console";
831
+ console.style.fontFamily = "monospace";
832
+ console.setAttribute("wrap", "off");
833
+ console.wrap = "off";
834
+ console.style.overflow = "auto";
835
+ console.style.width = "700px";
836
+ console.style.height = "350px";
837
+ console.style.margin = "5px";
838
+ documentForm.appendChild(console);
839
+ }
840
+
841
+ console.value += message + "\n";
842
+
843
+ console.scrollTop = console.scrollHeight - console.clientHeight;
844
+ } catch (ex) {
845
+ alert("Exception: " + ex.name + " Message: " + ex.message);
846
+ }
847
+ };
848
+
849
+ /* ***************************************************************************
850
+ GearsMovie object emulates a Flash generated object with the
851
+ SWFUpload ExternalInterface methods exposted.
852
+
853
+ Note: The object is _not_ a DOM Node (like the SWFUpload object element)
854
+ and any attempts to treat it as such will fail.
855
+ *************************************************************************** */
856
+
857
+ // In general you shouldn't be accessing this class directly (it's private) but if you do we've
858
+ // marked Public and Private methods
859
+ SWFUpload.Gears.GearsMovie = function (swfuploadGearsInstance) {
860
+ this.swfuploadGearsInstance = swfuploadGearsInstance;
861
+ this.gearsDesktop = google.gears.factory.create("beta.desktop");
862
+ this.gearsUploader = null;
863
+
864
+ this.fileQueue = [];
865
+ this.allFiles = [];
866
+ this.currentFile = null;
867
+ this.fileCounter = 0;
868
+ };
869
+
870
+ // Public
871
+ SWFUpload.Gears.GearsMovie.prototype.SelectFile = function () {
872
+ // FIXME - Call SWFUpload file dialog start event
873
+
874
+ this.gearsDesktop.openFiles(this.selectFilesHandler, { singleFile : true, [this.swfuploadGearsInstance.settings.file_types] }) // FIXME -- file_types isn't in the right format
875
+ };
876
+
877
+ // Public
878
+ SWFUpload.Gears.GearsMovie.prototype.SelectFiles = function () {
879
+ // FIXME - Call SWFUpload file dialog start event
880
+
881
+ this.gearsDesktop.openFiles(this.selectFilesHandler, { singleFile : false, [this.swfuploadGearsInstance.settings.file_types] }) // FIXME -- file_types isn't in the right format
882
+ };
883
+
884
+ // Private
885
+ SWFUpload.Gears.GearsMovie.prototype.selectFilesHandler = function (files) {
886
+ // FIXME -- check if "THIS" is the right context
887
+
888
+ // Go through each file
889
+ for (var i = 0; i < files.length; i++) {
890
+ var file = files[i];
891
+ var gearsFile = new SWFupload.Gears.GearsFile();
892
+ gearsFile.id = this.swfuploadGearsInstance.movieName + "_" + this.fileCounter++;
893
+ gearsFile.name = file.name;
894
+ gearsFile.size = file.blob.length;
895
+ gearsFile.filestatus = SWFUpload.FILE_STATUS.QUEUED;
896
+ gearsFile.file = file;
897
+
898
+ // Check it
899
+
900
+ this.fileQueue.push(gearsFile);
901
+ this.allFiles[gearsFile.id] = gearsFile;
902
+ // Trigger fileQueued event or fileQueueError event
903
+
904
+ }
905
+
906
+ // Trigger fileDialogComplete event
907
+ };
908
+
909
+ SWFUpload.Gears.GearsMovie.prototype.StartUpload = function (idOrIndex) {
910
+ if (this.gearsUploader !== null) return;
911
+
912
+ if (idOrIndex == undefined) {
913
+ this.currentFile = this.fileQueue.shift();
914
+
915
+ this.gearsUploader = google.gears.factory.create('beta.httprequest');
916
+ this.gearsUploader.onreadystatechange = this.readyStateChangeHandler;
917
+ this.gearsUploader.open("POST", this.swfuploadGearsInstance.settings.upload_url);
918
+
919
+ this.gearsUploader.setRequestHeader('Content-Disposition', 'attachment; filename="' + this.currentFile.name + '"'); // FIXME -- need to escape quotes
920
+ this.gearsUploader.setRequestHeader('Content-Type', 'application/octet-stream');
921
+ //this.gearsUploader.setRequestHeader('Content-Range', 'bytes ' + byteRange); // HUH?
922
+
923
+ this.gearsUploader.send(this.currentFile.file.blob); // FIXME - send the file
924
+
925
+ } else {
926
+
927
+ } // FIXME -- do the ID search
928
+ };
929
+
930
+ SWFUpload.Gears.GearsMovie.prototype.readyStateChangeHandler = function () {
931
+ // this is probably the HTTPRequest object rather than the GearsMovie
932
+ if (this.readyState === 4) {
933
+ alert(this.status + " " + this.responseText);
934
+ }
935
+ };
936
+
937
+ SWFUpload.Gears.GearsFile = function () {
938
+ this.name = "";
939
+ this.size = "";
940
+ this.post = {};
941
+ this.type = "";
942
+ this.creationdate = null;
943
+ this.modificationdate = null;
944
+
945
+ this.file = null; // Private
946
+ }
947
+
948
+
949
+
950
+ // Copyright 2007, Google Inc.
951
+ //
952
+ // Redistribution and use in source and binary forms, with or without
953
+ // modification, are permitted provided that the following conditions are met:
954
+ //
955
+ // 1. Redistributions of source code must retain the above copyright notice,
956
+ // this list of conditions and the following disclaimer.
957
+ // 2. Redistributions in binary form must reproduce the above copyright notice,
958
+ // this list of conditions and the following disclaimer in the documentation
959
+ // and/or other materials provided with the distribution.
960
+ // 3. Neither the name of Google Inc. nor the names of its contributors may be
961
+ // used to endorse or promote products derived from this software without
962
+ // specific prior written permission.
963
+ //
964
+ // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
965
+ // WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
966
+ // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
967
+ // EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
968
+ // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
969
+ // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
970
+ // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
971
+ // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
972
+ // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
973
+ // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
974
+ //
975
+ // Sets up google.gears.*, which is *the only* supported way to access Gears.
976
+ //
977
+ // Circumvent this file at your own risk!
978
+ //
979
+ // In the future, Gears may automatically define google.gears.* without this
980
+ // file. Gears may use these objects to transparently fix bugs and compatibility
981
+ // issues. Applications that use the code below will continue to work seamlessly
982
+ // when that happens.
983
+
984
+ (function () {
985
+ // We are already defined. Hooray!
986
+ if (window.google && google.gears) {
987
+ return;
988
+ }
989
+
990
+ var factory = null;
991
+
992
+ // Firefox
993
+ if (typeof GearsFactory != 'undefined') {
994
+ factory = new GearsFactory();
995
+ } else {
996
+ // IE
997
+ try {
998
+ factory = new ActiveXObject('Gears.Factory');
999
+ // privateSetGlobalObject is only required and supported on WinCE.
1000
+ if (factory.getBuildInfo().indexOf('ie_mobile') != -1) {
1001
+ factory.privateSetGlobalObject(this);
1002
+ }
1003
+ } catch (e) {
1004
+ // Safari
1005
+ if ((typeof navigator.mimeTypes != 'undefined')
1006
+ && navigator.mimeTypes["application/x-googlegears"]) {
1007
+ factory = document.createElement("object");
1008
+ factory.style.display = "none";
1009
+ factory.width = 0;
1010
+ factory.height = 0;
1011
+ factory.type = "application/x-googlegears";
1012
+ document.documentElement.appendChild(factory);
1013
+ }
1014
+ }
1015
+ }
1016
+
1017
+ // *Do not* define any objects if Gears is not installed. This mimics the
1018
+ // behavior of Gears defining the objects in the future.
1019
+ if (!factory) {
1020
+ return;
1021
+ }
1022
+
1023
+ // Now set up the objects, being careful not to overwrite anything.
1024
+ //
1025
+ // Note: In Internet Explorer for Windows Mobile, you can't add properties to
1026
+ // the window object. However, global objects are automatically added as
1027
+ // properties of the window object in all browsers.
1028
+ if (!window.google) {
1029
+ google = {};
1030
+ }
1031
+
1032
+ if (!google.gears) {
1033
+ google.gears = {factory: factory};
1034
+ }
1035
+ })();
{wpsc-core/js → js}/swfupload/swfupload.queue.js RENAMED
@@ -1,77 +1,77 @@
1
- /*
2
- Queue Plug-in
3
-
4
- Features:
5
- *Adds a cancelQueue() method for cancelling the entire queue.
6
- *All queued files are uploaded when startUpload() is called.
7
- *If false is returned from uploadComplete then the queue upload is stopped.
8
- If false is not returned (strict comparison) then the queue upload is continued.
9
- *Adds a QueueComplete event that is fired when all the queued files have finished uploading.
10
- Set the event handler with the queue_complete_handler setting.
11
-
12
- */
13
-
14
- var SWFUpload;
15
- if (typeof(SWFUpload) === "function") {
16
- SWFUpload.queue = {};
17
-
18
- SWFUpload.prototype.initSettings = (function (oldInitSettings) {
19
- return function () {
20
- if (typeof(oldInitSettings) === "function") {
21
- oldInitSettings.call(this);
22
- }
23
-
24
- this.customSettings.queue_cancelled_flag = false;
25
- this.customSettings.queue_upload_count = 0;
26
-
27
- this.settings.user_upload_complete_handler = this.settings.upload_complete_handler;
28
- this.settings.upload_complete_handler = SWFUpload.queue.uploadCompleteHandler;
29
-
30
- this.settings.queue_complete_handler = this.settings.queue_complete_handler || null;
31
- };
32
- })(SWFUpload.prototype.initSettings);
33
-
34
- SWFUpload.prototype.startUpload = function (fileID) {
35
- this.customSettings.queue_cancelled_flag = false;
36
- this.callFlash("StartUpload", false, [fileID]);
37
- };
38
-
39
- SWFUpload.prototype.cancelQueue = function () {
40
- this.customSettings.queue_cancelled_flag = true;
41
- this.stopUpload();
42
-
43
- var stats = this.getStats();
44
- while (stats.files_queued > 0) {
45
- this.cancelUpload();
46
- stats = this.getStats();
47
- }
48
- };
49
-
50
- SWFUpload.queue.uploadCompleteHandler = function (file) {
51
- var user_upload_complete_handler = this.settings.user_upload_complete_handler;
52
- var continueUpload;
53
-
54
- if (file.filestatus === SWFUpload.FILE_STATUS.COMPLETE) {
55
- this.customSettings.queue_upload_count++;
56
- }
57
-
58
- if (typeof(user_upload_complete_handler) === "function") {
59
- continueUpload = (user_upload_complete_handler.call(this, file) === false) ? false : true;
60
- } else {
61
- continueUpload = true;
62
- }
63
-
64
- if (continueUpload) {
65
- var stats = this.getStats();
66
- if (stats.files_queued > 0 && this.customSettings.queue_cancelled_flag === false) {
67
- this.startUpload();
68
- } else if (this.customSettings.queue_cancelled_flag === false) {
69
- this.queueEvent("queue_complete_handler", [this.customSettings.queue_upload_count]);
70
- this.customSettings.queue_upload_count = 0;
71
- } else {
72
- this.customSettings.queue_cancelled_flag = false;
73
- this.customSettings.queue_upload_count = 0;
74
- }
75
- }
76
- };
77
  }
1
+ /*
2
+ Queue Plug-in
3
+
4
+ Features:
5
+ *Adds a cancelQueue() method for cancelling the entire queue.
6
+ *All queued files are uploaded when startUpload() is called.
7
+ *If false is returned from uploadComplete then the queue upload is stopped.
8
+ If false is not returned (strict comparison) then the queue upload is continued.
9
+ *Adds a QueueComplete event that is fired when all the queued files have finished uploading.
10
+ Set the event handler with the queue_complete_handler setting.
11
+
12
+ */
13
+
14
+ var SWFUpload;
15
+ if (typeof(SWFUpload) === "function") {
16
+ SWFUpload.queue = {};
17
+
18
+ SWFUpload.prototype.initSettings = (function (oldInitSettings) {
19
+ return function () {
20
+ if (typeof(oldInitSettings) === "function") {
21
+ oldInitSettings.call(this);
22
+ }
23
+
24
+ this.customSettings.queue_cancelled_flag = false;
25
+ this.customSettings.queue_upload_count = 0;
26
+
27
+ this.settings.user_upload_complete_handler = this.settings.upload_complete_handler;
28
+ this.settings.upload_complete_handler = SWFUpload.queue.uploadCompleteHandler;
29
+
30
+ this.settings.queue_complete_handler = this.settings.queue_complete_handler || null;
31
+ };
32
+ })(SWFUpload.prototype.initSettings);
33
+
34
+ SWFUpload.prototype.startUpload = function (fileID) {
35
+ this.customSettings.queue_cancelled_flag = false;
36
+ this.callFlash("StartUpload", false, [fileID]);
37
+ };
38
+
39
+ SWFUpload.prototype.cancelQueue = function () {
40
+ this.customSettings.queue_cancelled_flag = true;
41
+ this.stopUpload();
42
+
43
+ var stats = this.getStats();
44
+ while (stats.files_queued > 0) {
45
+ this.cancelUpload();
46
+ stats = this.getStats();
47
+ }
48
+ };
49
+
50
+ SWFUpload.queue.uploadCompleteHandler = function (file) {
51
+ var user_upload_complete_handler = this.settings.user_upload_complete_handler;
52
+ var continueUpload;
53
+
54
+ if (file.filestatus === SWFUpload.FILE_STATUS.COMPLETE) {
55
+ this.customSettings.queue_upload_count++;
56
+ }
57
+
58
+ if (typeof(user_upload_complete_handler) === "function") {
59
+ continueUpload = (user_upload_complete_handler.call(this, file) === false) ? false : true;
60
+ } else {
61
+ continueUpload = true;
62
+ }
63
+
64
+ if (continueUpload) {
65
+ var stats = this.getStats();
66
+ if (stats.files_queued > 0 && this.customSettings.queue_cancelled_flag === false) {
67
+ this.startUpload();
68
+ } else if (this.customSettings.queue_cancelled_flag === false) {
69
+ this.queueEvent("queue_complete_handler", [this.customSettings.queue_upload_count]);
70
+ this.customSettings.queue_upload_count = 0;
71
+ } else {
72
+ this.customSettings.queue_cancelled_flag = false;
73
+ this.customSettings.queue_upload_count = 0;
74
+ }
75
+ }
76
+ };
77
  }
{wpsc-core/js → js}/swfupload/swfupload.swfobject.js RENAMED
@@ -1,110 +1,110 @@
1
- /*
2
- SWFUpload.SWFObject Plugin
3
-
4
- Summary:
5
- This plugin uses SWFObject to embed SWFUpload dynamically in the page. SWFObject provides accurate Flash Player detection and DOM Ready loading.
6
- This plugin replaces the Graceful Degradation plugin.
7
-
8
- Features:
9
- * swfupload_load_failed_hander event
10
- * swfupload_pre_load_handler event
11
- * minimum_flash_version setting (default: "9.0.28")
12
- * SWFUpload.onload event for early loading
13
-
14
- Usage:
15
- Provide handlers and settings as needed. When using the SWFUpload.SWFObject plugin you should initialize SWFUploading
16
- in SWFUpload.onload rather than in window.onload. When initialized this way SWFUpload can load earlier preventing the UI flicker
17
- that was seen using the Graceful Degradation plugin.
18
-
19
- <script type="text/javascript">
20
- var swfu;
21
- SWFUpload.onload = function () {
22
- swfu = new SWFUpload({
23
- minimum_flash_version: "9.0.28",
24
- swfupload_pre_load_handler: swfuploadPreLoad,
25
- swfupload_load_failed_handler: swfuploadLoadFailed
26
- });
27
- };
28
- </script>
29
-
30
- Notes:
31
- You must provide set minimum_flash_version setting to "8" if you are using SWFUpload for Flash Player 8.
32
- The swfuploadLoadFailed event is only fired if the minimum version of Flash Player is not met. Other issues such as missing SWF files, browser bugs
33
- or corrupt Flash Player installations will not trigger this event.
34
- The swfuploadPreLoad event is fired as soon as the minimum version of Flash Player is found. It does not wait for SWFUpload to load and can
35
- be used to prepare the SWFUploadUI and hide alternate content.
36
- swfobject's onDomReady event is cross-browser safe but will default to the window.onload event when DOMReady is not supported by the browser.
37
- Early DOM Loading is supported in major modern browsers but cannot be guaranteed for every browser ever made.
38
- */
39
-
40
-
41
- /* SWFObject v2.0 rc4 <http://code.google.com/p/swfobject/>
42
- Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
43
- This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
44
- */
45
- var swfobject=function(){var X="undefined",P="object",a="visibility:visible",e="visibility:hidden",B="Shockwave Flash",h="ShockwaveFlash.ShockwaveFlash",V="application/x-shockwave-flash",K="SWFObjectExprInst",G=window,g=document,N=navigator,f=[],H=[],Q=null,L=null,S=false,C=false;var Y=function(){var l=typeof g.getElementById!=X&&typeof g.getElementsByTagName!=X&&typeof g.createElement!=X&&typeof g.appendChild!=X&&typeof g.replaceChild!=X&&typeof g.removeChild!=X&&typeof g.cloneNode!=X,t=[0,0,0],n=null;if(typeof N.plugins!=X&&typeof N.plugins[B]==P){n=N.plugins[B].description;if(n){n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1");t[0]=parseInt(n.replace(/^(.*)\..*$/,"$1"),10);t[1]=parseInt(n.replace(/^.*\.(.*)\s.*$/,"$1"),10);t[2]=/r/.test(n)?parseInt(n.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof G.ActiveXObject!=X){var o=null,s=false;try{o=new ActiveXObject(h+".7")}catch(k){try{o=new ActiveXObject(h+".6");t=[6,0,21];o.AllowScriptAccess="always"}catch(k){if(t[0]==6){s=true}}if(!s){try{o=new ActiveXObject(h)}catch(k){}}}if(!s&&o){try{n=o.GetVariable("$version");if(n){n=n.split(" ")[1].split(",");t=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]}}catch(k){}}}}var v=N.userAgent.toLowerCase(),j=N.platform.toLowerCase(),r=/webkit/.test(v)?parseFloat(v.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,i=false,q=j?/win/.test(j):/win/.test(v),m=j?/mac/.test(j):/mac/.test(v);/*@cc_on i=true;@if(@_win32)q=true;@elif(@_mac)m=true;@end@*/return{w3cdom:l,pv:t,webkit:r,ie:i,win:q,mac:m}}();var d=function(){if(!Y.w3cdom){return }J(I);if(Y.ie&&Y.win){try{g.write("<script id=__ie_ondomload defer=true src=//:><\/script>");var i=b("__ie_ondomload");if(i){i.onreadystatechange=function(){if(this.readyState=="complete"){this.parentNode.removeChild(this);U()}}}}catch(j){}}if(Y.webkit&&typeof g.readyState!=X){Q=setInterval(function(){if(/loaded|complete/.test(g.readyState)){U()}},10)}if(typeof g.addEventListener!=X){g.addEventListener("DOMContentLoaded",U,null)}M(U)}();function U(){if(S){return }if(Y.ie&&Y.win){var m=W("span");try{var l=g.getElementsByTagName("body")[0].appendChild(m);l.parentNode.removeChild(l)}catch(n){return }}S=true;if(Q){clearInterval(Q);Q=null}var j=f.length;for(var k=0;k<j;k++){f[k]()}}function J(i){if(S){i()}else{f[f.length]=i}}function M(j){if(typeof G.addEventListener!=X){G.addEventListener("load",j,false)}else{if(typeof g.addEventListener!=X){g.addEventListener("load",j,false)}else{if(typeof G.attachEvent!=X){G.attachEvent("onload",j)}else{if(typeof G.onload=="function"){var i=G.onload;G.onload=function(){i();j()}}else{G.onload=j}}}}}function I(){var l=H.length;for(var j=0;j<l;j++){var m=H[j].id;if(Y.pv[0]>0){var k=b(m);if(k){H[j].width=k.getAttribute("width")?k.getAttribute("width"):"0";H[j].height=k.getAttribute("height")?k.getAttribute("height"):"0";if(O(H[j].swfVersion)){if(Y.webkit&&Y.webkit<312){T(k)}}else{if(H[j].expressInstall&&!C&&O("6.0.65")&&(Y.win||Y.mac)){D(H[j])}else{c(k)}}}}A("#"+m,a)}}function T(m){var k=m.getElementsByTagName(P)[0];if(k){var p=W("embed"),r=k.attributes;if(r){var o=r.length;for(var n=0;n<o;n++){if(r[n].nodeName.toLowerCase()=="data"){p.setAttribute("src",r[n].nodeValue)}else{p.setAttribute(r[n].nodeName,r[n].nodeValue)}}}var q=k.childNodes;if(q){var s=q.length;for(var l=0;l<s;l++){if(q[l].nodeType==1&&q[l].nodeName.toLowerCase()=="param"){p.setAttribute(q[l].getAttribute("name"),q[l].getAttribute("value"))}}}m.parentNode.replaceChild(p,m)}}function F(i){if(Y.ie&&Y.win&&O("8.0.0")){G.attachEvent("onunload",function(){var k=b(i);for(var j in k){if(typeof k[j]=="function"){k[j]=function(){}}}k.parentNode.removeChild(k)})}}function D(j){C=true;var o=b(j.id);if(o){if(j.altContentId){var l=b(j.altContentId);if(l){L=l}}else{L=Z(o)}if(!(/%$/.test(j.width))&&parseInt(j.width,10)<310){j.width="310"}if(!(/%$/.test(j.height))&&parseInt(j.height,10)<137){j.height="137"}g.title=g.title.slice(0,47)+" - Flash Player Installation";var n=Y.ie&&Y.win?"ActiveX":"PlugIn",k=g.title,m="MMredirectURL="+G.location+"&MMplayerType="+n+"&MMdoctitle="+k,p=j.id;if(Y.ie&&Y.win&&o.readyState!=4){var i=W("div");p+="SWFObjectNew";i.setAttribute("id",p);o.parentNode.insertBefore(i,o);o.style.display="none";G.attachEvent("onload",function(){o.parentNode.removeChild(o)})}R({data:j.expressInstall,id:K,width:j.width,height:j.height},{flashvars:m},p)}}function c(j){if(Y.ie&&Y.win&&j.readyState!=4){var i=W("div");j.parentNode.insertBefore(i,j);i.parentNode.replaceChild(Z(j),i);j.style.display="none";G.attachEvent("onload",function(){j.parentNode.removeChild(j)})}else{j.parentNode.replaceChild(Z(j),j)}}function Z(n){var m=W("div");if(Y.win&&Y.ie){m.innerHTML=n.innerHTML}else{var k=n.getElementsByTagName(P)[0];if(k){var o=k.childNodes;if(o){var j=o.length;for(var l=0;l<j;l++){if(!(o[l].nodeType==1&&o[l].nodeName.toLowerCase()=="param")&&!(o[l].nodeType==8)){m.appendChild(o[l].cloneNode(true))}}}}}return m}function R(AE,AC,q){var p,t=b(q);if(typeof AE.id==X){AE.id=q}if(Y.ie&&Y.win){var AD="";for(var z in AE){if(AE[z]!=Object.prototype[z]){if(z=="data"){AC.movie=AE[z]}else{if(z.toLowerCase()=="styleclass"){AD+=' class="'+AE[z]+'"'}else{if(z!="classid"){AD+=" "+z+'="'+AE[z]+'"'}}}}}var AB="";for(var y in AC){if(AC[y]!=Object.prototype[y]){AB+='<param name="'+y+'" value="'+AC[y]+'" />'}}t.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AD+">"+AB+"</object>";F(AE.id);p=b(AE.id)}else{if(Y.webkit&&Y.webkit<312){var AA=W("embed");AA.setAttribute("type",V);for(var x in AE){if(AE[x]!=Object.prototype[x]){if(x=="data"){AA.setAttribute("src",AE[x])}else{if(x.toLowerCase()=="styleclass"){AA.setAttribute("class",AE[x])}else{if(x!="classid"){AA.setAttribute(x,AE[x])}}}}}for(var w in AC){if(AC[w]!=Object.prototype[w]){if(w!="movie"){AA.setAttribute(w,AC[w])}}}t.parentNode.replaceChild(AA,t);p=AA}else{var s=W(P);s.setAttribute("type",V);for(var v in AE){if(AE[v]!=Object.prototype[v]){if(v.toLowerCase()=="styleclass"){s.setAttribute("class",AE[v])}else{if(v!="classid"){s.setAttribute(v,AE[v])}}}}for(var u in AC){if(AC[u]!=Object.prototype[u]&&u!="movie"){E(s,u,AC[u])}}t.parentNode.replaceChild(s,t);p=s}}return p}function E(k,i,j){var l=W("param");l.setAttribute("name",i);l.setAttribute("value",j);k.appendChild(l)}function b(i){return g.getElementById(i)}function W(i){return g.createElement(i)}function O(k){var j=Y.pv,i=k.split(".");i[0]=parseInt(i[0],10);i[1]=parseInt(i[1],10);i[2]=parseInt(i[2],10);return(j[0]>i[0]||(j[0]==i[0]&&j[1]>i[1])||(j[0]==i[0]&&j[1]==i[1]&&j[2]>=i[2]))?true:false}function A(m,j){if(Y.ie&&Y.mac){return }var l=g.getElementsByTagName("head")[0],k=W("style");k.setAttribute("type","text/css");k.setAttribute("media","screen");if(!(Y.ie&&Y.win)&&typeof g.createTextNode!=X){k.appendChild(g.createTextNode(m+" {"+j+"}"))}l.appendChild(k);if(Y.ie&&Y.win&&typeof g.styleSheets!=X&&g.styleSheets.length>0){var i=g.styleSheets[g.styleSheets.length-1];if(typeof i.addRule==P){i.addRule(m,j)}}}return{registerObject:function(l,i,k){if(!Y.w3cdom||!l||!i){return }var j={};j.id=l;j.swfVersion=i;j.expressInstall=k?k:false;H[H.length]=j;A("#"+l,e)},getObjectById:function(l){var i=null;if(Y.w3cdom&&S){var j=b(l);if(j){var k=j.getElementsByTagName(P)[0];if(!k||(k&&typeof j.SetVariable!=X)){i=j}else{if(typeof k.SetVariable!=X){i=k}}}}return i},embedSWF:function(n,u,r,t,j,m,k,p,s){if(!Y.w3cdom||!n||!u||!r||!t||!j){return }r+="";t+="";if(O(j)){A("#"+u,e);var q=(typeof s==P)?s:{};q.data=n;q.width=r;q.height=t;var o=(typeof p==P)?p:{};if(typeof k==P){for(var l in k){if(k[l]!=Object.prototype[l]){if(typeof o.flashvars!=X){o.flashvars+="&"+l+"="+k[l]}else{o.flashvars=l+"="+k[l]}}}}J(function(){R(q,o,u);A("#"+u,a)})}else{if(m&&!C&&O("6.0.65")&&(Y.win||Y.mac)){A("#"+u,e);J(function(){var i={};i.id=i.altContentId=u;i.width=r;i.height=t;i.expressInstall=m;D(i);A("#"+u,a)})}}},getFlashPlayerVersion:function(){return{major:Y.pv[0],minor:Y.pv[1],release:Y.pv[2]}},hasFlashPlayerVersion:O,createSWF:function(k,j,i){if(Y.w3cdom&&S){return R(k,j,i)}else{return undefined}},createCSS:function(j,i){if(Y.w3cdom){A(j,i)}},addDomLoadEvent:J,addLoadEvent:M,getQueryParamValue:function(m){var l=g.location.search||g.location.hash;if(m==null){return l}if(l){var k=l.substring(1).split("&");for(var j=0;j<k.length;j++){if(k[j].substring(0,k[j].indexOf("="))==m){return k[j].substring((k[j].indexOf("=")+1))}}}return""},expressInstallCallback:function(){if(C&&L){var i=b(K);if(i){i.parentNode.replaceChild(L,i);L=null;C=false}}}}}();
46
-
47
-
48
- var SWFUpload;
49
- if (typeof(SWFUpload) === "function") {
50
- SWFUpload.onload = function () {};
51
-
52
- swfobject.addDomLoadEvent(function () {
53
- if (typeof(SWFUpload.onload) === "function") {
54
- SWFUpload.onload.call(window);
55
- }
56
- });
57
-
58
- SWFUpload.prototype.initSettings = (function (oldInitSettings) {
59
- return function () {
60
- if (typeof(oldInitSettings) === "function") {
61
- oldInitSettings.call(this);
62
- }
63
-
64
- this.ensureDefault = function (settingName, defaultValue) {
65
- this.settings[settingName] = (this.settings[settingName] == undefined) ? defaultValue : this.settings[settingName];
66
- };
67
-
68
- this.ensureDefault("minimum_flash_version", "9.0.28");
69
- this.ensureDefault("swfupload_pre_load_handler", null);
70
- this.ensureDefault("swfupload_load_failed_handler", null);
71
-
72
- delete this.ensureDefault;
73
-
74
- };
75
- })(SWFUpload.prototype.initSettings);
76
-
77
-
78
- SWFUpload.prototype.loadFlash = function (oldLoadFlash) {
79
- return function () {
80
- var hasFlash = swfobject.hasFlashPlayerVersion(this.settings.minimum_flash_version);
81
-
82
- if (hasFlash) {
83
- this.queueEvent("swfupload_pre_load_handler");
84
- if (typeof(oldLoadFlash) === "function") {
85
- oldLoadFlash.call(this);
86
- }
87
- } else {
88
- this.queueEvent("swfupload_load_failed_handler");
89
- }
90
- };
91
-
92
- }(SWFUpload.prototype.loadFlash);
93
-
94
- SWFUpload.prototype.displayDebugInfo = function (oldDisplayDebugInfo) {
95
- return function () {
96
- if (typeof(oldDisplayDebugInfo) === "function") {
97
- oldDisplayDebugInfo.call(this);
98
- }
99
-
100
- this.debug(
101
- [
102
- "SWFUpload.SWFObject Plugin settings:", "\n",
103
- "\t", "minimum_flash_version: ", this.settings.minimum_flash_version, "\n",
104
- "\t", "swfupload_pre_load_handler assigned: ", (typeof(this.settings.swfupload_pre_load_handler) === "function").toString(), "\n",
105
- "\t", "swfupload_load_failed_handler assigned: ", (typeof(this.settings.swfupload_load_failed_handler) === "function").toString(), "\n",
106
- ].join("")
107
- );
108
- };
109
- }(SWFUpload.prototype.displayDebugInfo);
110
- }
1
+ /*
2
+ SWFUpload.SWFObject Plugin
3
+
4
+ Summary:
5
+ This plugin uses SWFObject to embed SWFUpload dynamically in the page. SWFObject provides accurate Flash Player detection and DOM Ready loading.
6
+ This plugin replaces the Graceful Degradation plugin.
7
+
8
+ Features:
9
+ * swfupload_load_failed_hander event
10
+ * swfupload_pre_load_handler event
11
+ * minimum_flash_version setting (default: "9.0.28")
12
+ * SWFUpload.onload event for early loading
13
+
14
+ Usage:
15
+ Provide handlers and settings as needed. When using the SWFUpload.SWFObject plugin you should initialize SWFUploading
16
+ in SWFUpload.onload rather than in window.onload. When initialized this way SWFUpload can load earlier preventing the UI flicker
17
+ that was seen using the Graceful Degradation plugin.
18
+
19
+ <script type="text/javascript">
20
+ var swfu;
21
+ SWFUpload.onload = function () {
22
+ swfu = new SWFUpload({
23
+ minimum_flash_version: "9.0.28",
24
+ swfupload_pre_load_handler: swfuploadPreLoad,
25
+ swfupload_load_failed_handler: swfuploadLoadFailed
26
+ });
27
+ };
28
+ </script>
29
+
30
+ Notes:
31
+ You must provide set minimum_flash_version setting to "8" if you are using SWFUpload for Flash Player 8.
32
+ The swfuploadLoadFailed event is only fired if the minimum version of Flash Player is not met. Other issues such as missing SWF files, browser bugs
33
+ or corrupt Flash Player installations will not trigger this event.
34
+ The swfuploadPreLoad event is fired as soon as the minimum version of Flash Player is found. It does not wait for SWFUpload to load and can
35
+ be used to prepare the SWFUploadUI and hide alternate content.
36
+ swfobject's onDomReady event is cross-browser safe but will default to the window.onload event when DOMReady is not supported by the browser.
37
+ Early DOM Loading is supported in major modern browsers but cannot be guaranteed for every browser ever made.
38
+ */
39
+
40
+
41
+ /* SWFObject v2.0 rc4 <http://code.google.com/p/swfobject/>
42
+ Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
43
+ This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
44
+ */
45
+ var swfobject=function(){var X="undefined",P="object",a="visibility:visible",e="visibility:hidden",B="Shockwave Flash",h="ShockwaveFlash.ShockwaveFlash",V="application/x-shockwave-flash",K="SWFObjectExprInst",G=window,g=document,N=navigator,f=[],H=[],Q=null,L=null,S=false,C=false;var Y=function(){var l=typeof g.getElementById!=X&&typeof g.getElementsByTagName!=X&&typeof g.createElement!=X&&typeof g.appendChild!=X&&typeof g.replaceChild!=X&&typeof g.removeChild!=X&&typeof g.cloneNode!=X,t=[0,0,0],n=null;if(typeof N.plugins!=X&&typeof N.plugins[B]==P){n=N.plugins[B].description;if(n){n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1");t[0]=parseInt(n.replace(/^(.*)\..*$/,"$1"),10);t[1]=parseInt(n.replace(/^.*\.(.*)\s.*$/,"$1"),10);t[2]=/r/.test(n)?parseInt(n.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof G.ActiveXObject!=X){var o=null,s=false;try{o=new ActiveXObject(h+".7")}catch(k){try{o=new ActiveXObject(h+".6");t=[6,0,21];o.AllowScriptAccess="always"}catch(k){if(t[0]==6){s=true}}if(!s){try{o=new ActiveXObject(h)}catch(k){}}}if(!s&&o){try{n=o.GetVariable("$version");if(n){n=n.split(" ")[1].split(",");t=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]}}catch(k){}}}}var v=N.userAgent.toLowerCase(),j=N.platform.toLowerCase(),r=/webkit/.test(v)?parseFloat(v.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,i=false,q=j?/win/.test(j):/win/.test(v),m=j?/mac/.test(j):/mac/.test(v);/*@cc_on i=true;@if(@_win32)q=true;@elif(@_mac)m=true;@end@*/return{w3cdom:l,pv:t,webkit:r,ie:i,win:q,mac:m}}();var d=function(){if(!Y.w3cdom){return }J(I);if(Y.ie&&Y.win){try{g.write("<script id=__ie_ondomload defer=true src=//:><\/script>");var i=b("__ie_ondomload");if(i){i.onreadystatechange=function(){if(this.readyState=="complete"){this.parentNode.removeChild(this);U()}}}}catch(j){}}if(Y.webkit&&typeof g.readyState!=X){Q=setInterval(function(){if(/loaded|complete/.test(g.readyState)){U()}},10)}if(typeof g.addEventListener!=X){g.addEventListener("DOMContentLoaded",U,null)}M(U)}();function U(){if(S){return }if(Y.ie&&Y.win){var m=W("span");try{var l=g.getElementsByTagName("body")[0].appendChild(m);l.parentNode.removeChild(l)}catch(n){return }}S=true;if(Q){clearInterval(Q);Q=null}var j=f.length;for(var k=0;k<j;k++){f[k]()}}function J(i){if(S){i()}else{f[f.length]=i}}function M(j){if(typeof G.addEventListener!=X){G.addEventListener("load",j,false)}else{if(typeof g.addEventListener!=X){g.addEventListener("load",j,false)}else{if(typeof G.attachEvent!=X){G.attachEvent("onload",j)}else{if(typeof G.onload=="function"){var i=G.onload;G.onload=function(){i();j()}}else{G.onload=j}}}}}function I(){var l=H.length;for(var j=0;j<l;j++){var m=H[j].id;if(Y.pv[0]>0){var k=b(m);if(k){H[j].width=k.getAttribute("width")?k.getAttribute("width"):"0";H[j].height=k.getAttribute("height")?k.getAttribute("height"):"0";if(O(H[j].swfVersion)){if(Y.webkit&&Y.webkit<312){T(k)}}else{if(H[j].expressInstall&&!C&&O("6.0.65")&&(Y.win||Y.mac)){D(H[j])}else{c(k)}}}}A("#"+m,a)}}function T(m){var k=m.getElementsByTagName(P)[0];if(k){var p=W("embed"),r=k.attributes;if(r){var o=r.length;for(var n=0;n<o;n++){if(r[n].nodeName.toLowerCase()=="data"){p.setAttribute("src",r[n].nodeValue)}else{p.setAttribute(r[n].nodeName,r[n].nodeValue)}}}var q=k.childNodes;if(q){var s=q.length;for(var l=0;l<s;l++){if(q[l].nodeType==1&&q[l].nodeName.toLowerCase()=="param"){p.setAttribute(q[l].getAttribute("name"),q[l].getAttribute("value"))}}}m.parentNode.replaceChild(p,m)}}function F(i){if(Y.ie&&Y.win&&O("8.0.0")){G.attachEvent("onunload",function(){var k=b(i);for(var j in k){if(typeof k[j]=="function"){k[j]=function(){}}}k.parentNode.removeChild(k)})}}function D(j){C=true;var o=b(j.id);if(o){if(j.altContentId){var l=b(j.altContentId);if(l){L=l}}else{L=Z(o)}if(!(/%$/.test(j.width))&&parseInt(j.width,10)<310){j.width="310"}if(!(/%$/.test(j.height))&&parseInt(j.height,10)<137){j.height="137"}g.title=g.title.slice(0,47)+" - Flash Player Installation";var n=Y.ie&&Y.win?"ActiveX":"PlugIn",k=g.title,m="MMredirectURL="+G.location+"&MMplayerType="+n+"&MMdoctitle="+k,p=j.id;if(Y.ie&&Y.win&&o.readyState!=4){var i=W("div");p+="SWFObjectNew";i.setAttribute("id",p);o.parentNode.insertBefore(i,o);o.style.display="none";G.attachEvent("onload",function(){o.parentNode.removeChild(o)})}R({data:j.expressInstall,id:K,width:j.width,height:j.height},{flashvars:m},p)}}function c(j){if(Y.ie&&Y.win&&j.readyState!=4){var i=W("div");j.parentNode.insertBefore(i,j);i.parentNode.replaceChild(Z(j),i);j.style.display="none";G.attachEvent("onload",function(){j.parentNode.removeChild(j)})}else{j.parentNode.replaceChild(Z(j),j)}}function Z(n){var m=W("div");if(Y.win&&Y.ie){m.innerHTML=n.innerHTML}else{var k=n.getElementsByTagName(P)[0];if(k){var o=k.childNodes;if(o){var j=o.length;for(var l=0;l<j;l++){if(!(o[l].nodeType==1&&o[l].nodeName.toLowerCase()=="param")&&!(o[l].nodeType==8)){m.appendChild(o[l].cloneNode(true))}}}}}return m}function R(AE,AC,q){var p,t=b(q);if(typeof AE.id==X){AE.id=q}if(Y.ie&&Y.win){var AD="";for(var z in AE){if(AE[z]!=Object.prototype[z]){if(z=="data"){AC.movie=AE[z]}else{if(z.toLowerCase()=="styleclass"){AD+=' class="'+AE[z]+'"'}else{if(z!="classid"){AD+=" "+z+'="'+AE[z]+'"'}}}}}var AB="";for(var y in AC){if(AC[y]!=Object.prototype[y]){AB+='<param name="'+y+'" value="'+AC[y]+'" />'}}t.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AD+">"+AB+"</object>";F(AE.id);p=b(AE.id)}else{if(Y.webkit&&Y.webkit<312){var AA=W("embed");AA.setAttribute("type",V);for(var x in AE){if(AE[x]!=Object.prototype[x]){if(x=="data"){AA.setAttribute("src",AE[x])}else{if(x.toLowerCase()=="styleclass"){AA.setAttribute("class",AE[x])}else{if(x!="classid"){AA.setAttribute(x,AE[x])}}}}}for(var w in AC){if(AC[w]!=Object.prototype[w]){if(w!="movie"){AA.setAttribute(w,AC[w])}}}t.parentNode.replaceChild(AA,t);p=AA}else{var s=W(P);s.setAttribute("type",V);for(var v in AE){if(AE[v]!=Object.prototype[v]){if(v.toLowerCase()=="styleclass"){s.setAttribute("class",AE[v])}else{if(v!="classid"){s.setAttribute(v,AE[v])}}}}for(var u in AC){if(AC[u]!=Object.prototype[u]&&u!="movie"){E(s,u,AC[u])}}t.parentNode.replaceChild(s,t);p=s}}return p}function E(k,i,j){var l=W("param");l.setAttribute("name",i);l.setAttribute("value",j);k.appendChild(l)}function b(i){return g.getElementById(i)}function W(i){return g.createElement(i)}function O(k){var j=Y.pv,i=k.split(".");i[0]=parseInt(i[0],10);i[1]=parseInt(i[1],10);i[2]=parseInt(i[2],10);return(j[0]>i[0]||(j[0]==i[0]&&j[1]>i[1])||(j[0]==i[0]&&j[1]==i[1]&&j[2]>=i[2]))?true:false}function A(m,j){if(Y.ie&&Y.mac){return }var l=g.getElementsByTagName("head")[0],k=W("style");k.setAttribute("type","text/css");k.setAttribute("media","screen");if(!(Y.ie&&Y.win)&&typeof g.createTextNode!=X){k.appendChild(g.createTextNode(m+" {"+j+"}"))}l.appendChild(k);if(Y.ie&&Y.win&&typeof g.styleSheets!=X&&g.styleSheets.length>0){var i=g.styleSheets[g.styleSheets.length-1];if(typeof i.addRule==P){i.addRule(m,j)}}}return{registerObject:function(l,i,k){if(!Y.w3cdom||!l||!i){return }var j={};j.id=l;j.swfVersion=i;j.expressInstall=k?k:false;H[H.length]=j;A("#"+l,e)},getObjectById:function(l){var i=null;if(Y.w3cdom&&S){var j=b(l);if(j){var k=j.getElementsByTagName(P)[0];if(!k||(k&&typeof j.SetVariable!=X)){i=j}else{if(typeof k.SetVariable!=X){i=k}}}}return i},embedSWF:function(n,u,r,t,j,m,k,p,s){if(!Y.w3cdom||!n||!u||!r||!t||!j){return }r+="";t+="";if(O(j)){A("#"+u,e);var q=(typeof s==P)?s:{};q.data=n;q.width=r;q.height=t;var o=(typeof p==P)?p:{};if(typeof k==P){for(var l in k){if(k[l]!=Object.prototype[l]){if(typeof o.flashvars!=X){o.flashvars+="&"+l+"="+k[l]}else{o.flashvars=l+"="+k[l]}}}}J(function(){R(q,o,u);A("#"+u,a)})}else{if(m&&!C&&O("6.0.65")&&(Y.win||Y.mac)){A("#"+u,e);J(function(){var i={};i.id=i.altContentId=u;i.width=r;i.height=t;i.expressInstall=m;D(i);A("#"+u,a)})}}},getFlashPlayerVersion:function(){return{major:Y.pv[0],minor:Y.pv[1],release:Y.pv[2]}},hasFlashPlayerVersion:O,createSWF:function(k,j,i){if(Y.w3cdom&&S){return R(k,j,i)}else{return undefined}},createCSS:function(j,i){if(Y.w3cdom){A(j,i)}},addDomLoadEvent:J,addLoadEvent:M,getQueryParamValue:function(m){var l=g.location.search||g.location.hash;if(m==null){return l}if(l){var k=l.substring(1).split("&");for(var j=0;j<k.length;j++){if(k[j].substring(0,k[j].indexOf("="))==m){return k[j].substring((k[j].indexOf("=")+1))}}}return""},expressInstallCallback:function(){if(C&&L){var i=b(K);if(i){i.parentNode.replaceChild(L,i);L=null;C=false}}}}}();
46
+
47
+
48
+ var SWFUpload;
49
+ if (typeof(SWFUpload) === "function") {
50
+ SWFUpload.onload = function () {};
51
+
52
+ swfobject.addDomLoadEvent(function () {
53
+ if (typeof(SWFUpload.onload) === "function") {
54
+ SWFUpload.onload.call(window);
55
+ }
56
+ });
57
+
58
+ SWFUpload.prototype.initSettings = (function (oldInitSettings) {
59
+ return function () {
60
+ if (typeof(oldInitSettings) === "function") {
61
+ oldInitSettings.call(this);
62
+ }
63
+
64
+ this.ensureDefault = function (settingName, defaultValue) {
65
+ this.settings[settingName] = (this.settings[settingName] == undefined) ? defaultValue : this.settings[settingName];
66
+ };
67
+
68
+ this.ensureDefault("minimum_flash_version", "9.0.28");
69
+ this.ensureDefault("swfupload_pre_load_handler", null);
70
+ this.ensureDefault("swfupload_load_failed_handler", null);
71
+
72
+ delete this.ensureDefault;
73
+
74
+ };
75
+ })(SWFUpload.prototype.initSettings);
76
+
77
+
78
+ SWFUpload.prototype.loadFlash = function (oldLoadFlash) {
79
+ return function () {
80
+ var hasFlash = swfobject.hasFlashPlayerVersion(this.settings.minimum_flash_version);
81
+
82
+ if (hasFlash) {
83
+ this.queueEvent("swfupload_pre_load_handler");
84
+ if (typeof(oldLoadFlash) === "function") {
85
+ oldLoadFlash.call(this);
86
+ }
87
+ } else {
88
+ this.queueEvent("swfupload_load_failed_handler");
89
+ }
90
+ };
91
+
92
+ }(SWFUpload.prototype.loadFlash);
93
+
94
+ SWFUpload.prototype.displayDebugInfo = function (oldDisplayDebugInfo) {
95
+ return function () {
96
+ if (typeof(oldDisplayDebugInfo) === "function") {
97
+ oldDisplayDebugInfo.call(this);
98
+ }
99
+
100
+ this.debug(
101
+ [
102
+ "SWFUpload.SWFObject Plugin settings:", "\n",
103
+ "\t", "minimum_flash_version: ", this.settings.minimum_flash_version, "\n",
104
+ "\t", "swfupload_pre_load_handler assigned: ", (typeof(this.settings.swfupload_pre_load_handler) === "function").toString(), "\n",
105
+ "\t", "swfupload_load_failed_handler assigned: ", (typeof(this.settings.swfupload_load_failed_handler) === "function").toString(), "\n",
106
+ ].join("")
107
+ );
108
+ };
109
+ }(SWFUpload.prototype.displayDebugInfo);
110
+ }
{wpsc-core/js → js}/thickbox.css RENAMED
File without changes
{wpsc-core/js → js}/thickbox.js RENAMED
@@ -71,7 +71,7 @@ function TB_show(caption, url, rel) {
71
  }
72
 
73
  // find the anchors that point to the group
74
- var imageGroup = jQuery("a[rel='"+rel+"']").get();
75
  var foundSelf = false;
76
  var imageTitle = 'Gallery'; //default to something sane
77
  // loop through the anchors, looking for ourself, saving information about previous and next image
71
  }
72
 
73
  // find the anchors that point to the group
74
+ var imageGroup = jQuery("a[rel="+rel+"]").get();
75
  var foundSelf = false;
76
  var imageTitle = 'Gallery'; //default to something sane
77
  // loop through the anchors, looking for ourself, saving information about previous and next image
js/tinymce3/cart.png ADDED
Binary file
{wpsc-core/js → js}/tinymce3/editor_plugin.js RENAMED
@@ -31,7 +31,7 @@
31
  ed.addButton('WPSC', {
32
  title : 'WPSC.desc',
33
  cmd : 'WPSC',
34
- image : url + '/credit_cards.png'
35
  });
36
 
37
  // Add a node change handler, selects the button in the UI when a image is selected
@@ -83,7 +83,7 @@
83
 
84
  tinymce.create('tinymce.plugins.productspage_image', {
85
  init : function(ed, url) {
86
- var pb = '<img style="border:1px dashed #888;padding:5% 25%;background-color:#F2F8FF;" src="' + url + '/productspage.jpg" class="productspage_image mceItemNoResize" title="Do not remove this image unless you know what you are doing." />', cls = 'productspage_image', sep = ed.getParam('productspage_image', '[productspage]'), pbRE;
87
 
88
  pbRE = new RegExp(sep.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, function(a) {return '\\' + a;}), 'g');
89
 
@@ -92,6 +92,9 @@
92
  ed.execCommand('mceInsertContent', 0, pb);
93
  });
94
 
 
 
 
95
  ed.onInit.add(function() {
96
  //ed.dom.loadCSS(url + "/css/content.css");
97
  if (ed.theme.onResolveName) {
@@ -141,7 +144,7 @@
141
 
142
  tinymce.create('tinymce.plugins.transactionresultpage_image', {
143
  init : function(ed, url) {
144
- var pb = '<img src="' + url + '/productspage.jpg" class="transactionresultpage_image mceItemNoResize" />', cls = 'transactionresultpage_image', sep = ed.getParam('transactionresultpage_image', '[transactionresults]'), pbRE;
145
 
146
  pbRE = new RegExp(sep.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, function(a) {return '\\' + a;}), 'g');
147
 
@@ -150,6 +153,8 @@
150
  ed.execCommand('mceInsertContent', 0, pb);
151
  });
152
 
 
 
153
 
154
  ed.onInit.add(function() {
155
  //ed.dom.loadCSS(url + "/css/content.css");
@@ -200,7 +205,7 @@
200
 
201
  tinymce.create('tinymce.plugins.checkoutpage_image', {
202
  init : function(ed, url) {
203
- var pb = '<img src="' + url + '/productspage.jpg" class="checkoutpage_image mceItemNoResize" />', cls = 'checkoutpage_image', sep = ed.getParam('checkoutpage_image', '[shoppingcart]'), pbRE;
204
 
205
  pbRE = new RegExp(sep.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, function(a) {return '\\' + a;}), 'g');
206
 
@@ -209,6 +214,9 @@
209
  ed.execCommand('mceInsertContent', 0, pb);
210
  });
211
 
 
 
 
212
  ed.onInit.add(function() {
213
  //ed.dom.loadCSS(url + "/css/content.css");
214
  if (ed.theme.onResolveName) {
@@ -258,7 +266,7 @@
258
 
259
  tinymce.create('tinymce.plugins.userlogpage_image', {
260
  init : function(ed, url) {
261
- var pb = '<img src="' + url + '/productspage.jpg" class="userlogpage_image mceItemNoResize" />', cls = 'userlogpage_image', sep = ed.getParam('userlogpage_image', '[userlog]'), pbRE;
262
 
263
  pbRE = new RegExp(sep.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, function(a) {return '\\' + a;}), 'g');
264
 
@@ -267,6 +275,9 @@
267
  ed.execCommand('mceInsertContent', 0, pb);
268
  });
269
 
 
 
 
270
  ed.onInit.add(function() {
271
  //ed.dom.loadCSS(url + "/css/content.css");
272
  if (ed.theme.onResolveName) {
31
  ed.addButton('WPSC', {
32
  title : 'WPSC.desc',
33
  cmd : 'WPSC',
34
+ image : url + '/cart.png'
35
  });
36
 
37
  // Add a node change handler, selects the button in the UI when a image is selected
83
 
84
  tinymce.create('tinymce.plugins.productspage_image', {
85
  init : function(ed, url) {
86
+ var pb = '<img src="' + url + '/productspage.gif" class="productspage_image mceItemNoResize" />', cls = 'productspage_image', sep = ed.getParam('productspage_image', '[productspage]'), pbRE;
87
 
88
  pbRE = new RegExp(sep.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, function(a) {return '\\' + a;}), 'g');
89
 
92
  ed.execCommand('mceInsertContent', 0, pb);
93
  });
94
 
95
+ // Register buttons
96
+ //ed.addButton('subscribe2', {title : 'Insert Products Page Token', image : url + '/productspage.gif', cmd : cls});
97
+
98
  ed.onInit.add(function() {
99
  //ed.dom.loadCSS(url + "/css/content.css");
100
  if (ed.theme.onResolveName) {
144
 
145
  tinymce.create('tinymce.plugins.transactionresultpage_image', {
146
  init : function(ed, url) {
147
+ var pb = '<img src="' + url + '/productspage.gif" class="transactionresultpage_image mceItemNoResize" />', cls = 'transactionresultpage_image', sep = ed.getParam('transactionresultpage_image', '[transactionresults]'), pbRE;
148
 
149
  pbRE = new RegExp(sep.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, function(a) {return '\\' + a;}), 'g');
150
 
153
  ed.execCommand('mceInsertContent', 0, pb);
154
  });
155
 
156
+ // Register buttons
157
+ //ed.addButton('subscribe2', {title : 'Insert Products Page Token', image : url + '/productspage.gif', cmd : cls});
158
 
159
  ed.onInit.add(function() {
160
  //ed.dom.loadCSS(url + "/css/content.css");
205
 
206
  tinymce.create('tinymce.plugins.checkoutpage_image', {
207
  init : function(ed, url) {
208
+ var pb = '<img src="' + url + '/productspage.gif" class="checkoutpage_image mceItemNoResize" />', cls = 'checkoutpage_image', sep = ed.getParam('checkoutpage_image', '[shoppingcart]'), pbRE;
209
 
210
  pbRE = new RegExp(sep.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, function(a) {return '\\' + a;}), 'g');
211
 
214
  ed.execCommand('mceInsertContent', 0, pb);
215
  });
216
 
217
+ // Register buttons
218
+ //ed.addButton('subscribe2', {title : 'Insert Products Page Token', image : url + '/productspage.gif', cmd : cls});
219
+
220
  ed.onInit.add(function() {
221
  //ed.dom.loadCSS(url + "/css/content.css");
222
  if (ed.theme.onResolveName) {
266
 
267
  tinymce.create('tinymce.plugins.userlogpage_image', {
268
  init : function(ed, url) {
269
+ var pb = '<img src="' + url + '/productspage.gif" class="userlogpage_image mceItemNoResize" />', cls = 'userlogpage_image', sep = ed.getParam('userlogpage_image', '[userlog]'), pbRE;
270
 
271
  pbRE = new RegExp(sep.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g, function(a) {return '\\' + a;}), 'g');
272
 
275
  ed.execCommand('mceInsertContent', 0, pb);
276
  });
277
 
278
+ // Register buttons
279
+ //ed.addButton('subscribe2', {title : 'Insert Products Page Token', image : url + '/productspage.gif', cmd : cls});
280
+
281
  ed.onInit.add(function() {
282
  //ed.dom.loadCSS(url + "/css/content.css");
283
  if (ed.theme.onResolveName) {
{wpsc-core/js → js}/tinymce3/langs/de_de.js RENAMED
File without changes
{wpsc-core/js → js}/tinymce3/langs/en.js RENAMED
File without changes
{wpsc-core/js → js}/tinymce3/langs/en_US.js RENAMED
File without changes
js/tinymce3/mce.css ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ body.mceContentBody {
2
+ font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;
3
+ font-size:13px;
4
+ font-size-adjust:none;
5
+ font-style:normal;
6
+ font-variant:normal;
7
+ font-weight:normal;
8
+ line-height:19px;
9
+ }
js/tinymce3/productspage.gif ADDED
Binary file
{wpsc-core/js → js}/tinymce3/tinymce.js RENAMED
@@ -20,6 +20,7 @@ function getCheckedValue(radioObj) {
20
  }
21
 
22
  function insertWPSCLink() {
 
23
  var tagtext;
24
  var select_category=document.getElementById('wpsc_category_panel');
25
  var category = document.getElementById('wpsc_category');
@@ -28,30 +29,15 @@ function insertWPSCLink() {
28
 
29
  // who is active ?
30
  if (select_category.className.indexOf('current') != -1) {
31
-
32
- items_per_page = jQuery('#wpsc_perpage').val();
33
- //work out which radio button is selected and get the value
34
- for (var i=0; i < document.WPSC.wpsc_sale_shortcode.length; i++)
35
- {
36
- if (document.WPSC.wpsc_sale_shortcode[i].checked)
37
- {
38
- var shortcode = document.WPSC.wpsc_sale_shortcode[i].value;
39
- }
40
- }
41
-
42
- var shortcodeid = shortcode;
43
  var categoryid = category.value;
44
  var items_per_page = 0;
45
-
46
- if (categoryid > 0 || shortcodeid == 1) {
47
 
48
- if (shortcodeid == 1)
49
- tagtext = "[wpsc_products price='sale']";
50
- else if (shortcodeid == 2)
51
- tagtext = "[wpsc_products category_id='"+categoryid+"' price='sale']";
52
- else if (items_per_page > 0)
53
  tagtext = "[wpsc_products category_id='"+categoryid+"' number_per_page='"+items_per_page+"']";
54
- else
55
  tagtext = "[wpsc_products category_id='"+categoryid+"' ]";
56
  } else {
57
  tinyMCEPopup.close();
@@ -63,46 +49,30 @@ function insertWPSCLink() {
63
  visi = document.getElementById('wpsc_slider_visibles');
64
  var categoryid = category.value;
65
  var visibles = visi.value;
66
-
67
- if (categoryid > 0) {
68
-
69
  if (visibles != '') {
70
- tagtext = "[wpec_product_slider category_id='"+categoryid+"' visible_items='"+visibles+"']";
71
  } else {
72
- tagtext = "[wpec_product_slider category_id='"+categoryid+"']";
73
  }
74
-
75
- }
76
- else if(categoryid == 'all'){
77
- tagtext = "[wpec_product_slider]";
78
- }else {
79
  tinyMCEPopup.close();
80
  }
81
  }
82
 
83
  if (add_product.className.indexOf('current') != -1) {
 
 
 
 
 
 
 
 
84
 
85
- product = document.getElementById('wpsc_product_name');
86
-
87
- for (var i=0; i < document.WPSC.wpsc_product_shortcode.length; i++)
88
- {
89
- if (document.WPSC.wpsc_product_shortcode[i].checked)
90
- {
91
- var shortcode = document.WPSC.wpsc_product_shortcode[i].value;
92
- }
93
- }
94
- var productid = product.value;
95
- var shortcodeid = shortcode ;
96
-
97
- if (productid > 0) {
98
- if (shortcodeid == 1)
99
- tagtext = "[buy_now_button product_id='"+productid+"']";
100
-
101
- if (shortcodeid == 2)
102
- tagtext = "[add_to_cart="+productid+"]";
103
-
104
- if (shortcodeid == 3)
105
- tagtext = "[wpsc_products product_id='"+productid+"']";
106
  } else {
107
  tinyMCEPopup.close();
108
  }
20
  }
21
 
22
  function insertWPSCLink() {
23
+
24
  var tagtext;
25
  var select_category=document.getElementById('wpsc_category_panel');
26
  var category = document.getElementById('wpsc_category');
29
 
30
  // who is active ?
31
  if (select_category.className.indexOf('current') != -1) {
 
 
 
 
 
 
 
 
 
 
 
 
32
  var categoryid = category.value;
33
  var items_per_page = 0;
34
+ items_per_page = jQuery('#wpsc_perpage').val();
35
+
36
 
37
+ if (categoryid > 0 ) {
38
+ if (items_per_page > 0)
 
 
 
39
  tagtext = "[wpsc_products category_id='"+categoryid+"' number_per_page='"+items_per_page+"']";
40
+ else
41
  tagtext = "[wpsc_products category_id='"+categoryid+"' ]";
42
  } else {
43
  tinyMCEPopup.close();
49
  visi = document.getElementById('wpsc_slider_visibles');
50
  var categoryid = category.value;
51
  var visibles = visi.value;
52
+ if (categoryid > 0 ) {
 
 
53
  if (visibles != '') {
54
+ tagtext = "[wpsc_product_slider category_id='"+categoryid+"' visible_items='"+visibles+"']";
55
  } else {
56
+ tagtext = "[wpsc_product_slider category_id='"+categoryid+"']";
57
  }
58
+ } else {
 
 
 
 
59
  tinyMCEPopup.close();
60
  }
61
  }
62
 
63
  if (add_product.className.indexOf('current') != -1) {
64
+ category = document.getElementById('add_product_category');
65
+ prod_name = document.getElementById('add_product_name');
66
+ prod_price = document.getElementById('add_product_price');
67
+ prod_desc = document.getElementById('add_product_description');
68
+ var categoryid = category.value;
69
+ var desc = prod_desc.value;
70
+ var product_name = prod_name.value;
71
+ var price = prod_price.value;
72
 
73
+ if (product_name != '') {
74
+ ajax.post("index.php",noresults,"ajax=true&addfromtinymce=true&value=1");
75
+ tagtext='1';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  } else {
77
  tinyMCEPopup.close();
78
  }
{wpsc-core/js → js}/tinymce3/tinymce.php RENAMED
@@ -33,11 +33,11 @@ function register_wpsc_button($buttons) {
33
  // Load the TinyMCE plugin : editor_plugin.js (wp2.5)
34
  function add_wpsc_tinymce_plugin($plugin_array) {
35
 
36
- $plugin_array['WPSC'] = WPSC_CORE_JS_URL . '/tinymce3/editor_plugin.js';
37
- $plugin_array['productspage_image'] = WPSC_CORE_JS_URL . '/tinymce3/editor_plugin.js';
38
- $plugin_array['transactionresultpage_image'] = WPSC_CORE_JS_URL . '/tinymce3/editor_plugin.js';
39
- $plugin_array['checkoutpage_image'] = WPSC_CORE_JS_URL . '/tinymce3/editor_plugin.js';
40
- $plugin_array['userlogpage_image'] = WPSC_CORE_JS_URL . '/tinymce3/editor_plugin.js';
41
  return $plugin_array;
42
  }
43
 
33
  // Load the TinyMCE plugin : editor_plugin.js (wp2.5)
34
  function add_wpsc_tinymce_plugin($plugin_array) {
35
 
36
+ $plugin_array['WPSC'] = WPSC_URL.'/js/tinymce3/editor_plugin.js';
37
+ $plugin_array['productspage_image'] = WPSC_URL.'/js/tinymce3/editor_plugin.js';
38
+ $plugin_array['transactionresultpage_image'] = WPSC_URL.'/js/tinymce3/editor_plugin.js';
39
+ $plugin_array['checkoutpage_image'] = WPSC_URL.'/js/tinymce3/editor_plugin.js';
40
+ $plugin_array['userlogpage_image'] = WPSC_URL.'/js/tinymce3/editor_plugin.js';
41
  return $plugin_array;
42
  }
43
 
js/tinymce3/window.php ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $wpconfig = realpath("../../../../../wp-config.php");
4
+
5
+ if (!file_exists($wpconfig)) {
6
+ echo "Could not found wp-config.php. Error in path :\n\n".$wpconfig ;
7
+ die;
8
+ }// stop when wp-config is not there
9
+
10
+ require_once($wpconfig);
11
+ require_once(ABSPATH.'/wp-admin/admin.php');
12
+ //
13
+ // // check for rights
14
+ // if(!current_user_can('edit_posts')) die;
15
+
16
+ global $wpdb;
17
+
18
+ ?>
19
+
20
+ <html xmlns="http://www.w3.org/1999/xhtml">
21
+ <head>
22
+ <title>WP Shopping Cart</title>
23
+ <!-- <meta http-equiv="Content-Type" content="<?php// bloginfo('html_type'); ?>; charset=<?php //echo get_option('blog_charset'); ?>" /> -->
24
+ <script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl') ?>/wp-includes/js/jquery/jquery.js"></script>
25
+ <script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl') ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>
26
+ <script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl') ?>/wp-includes/js/tinymce/utils/mctabs.js"></script>
27
+ <script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl') ?>/wp-includes/js/tinymce/utils/form_utils.js"></script>
28
+ <script language="javascript" type="text/javascript" src="<?php echo WPSC_URL; ?>/js/tinymce3/tinymce.js"></script>
29
+ <base target="_self" />
30
+ </head>
31
+ <body id="link" onload="tinyMCEPopup.executeOnLoad('init();');document.body.style.display='';document.getElementById('category').focus();" style="display: none">
32
+ <!-- <form onsubmit="insertLink();return false;" action="#"> -->
33
+ <form name="WPSC" action="#">
34
+ <div class="tabs">
35
+ <ul>
36
+ <li id="category" class="current"><span><a href="javascript:mcTabs.displayTab('category','wpsc_category_panel');" onmousedown="return false;"><?php _e("Category", 'wpsc_category'); ?></a></span></li>
37
+ <li id="prodcut_slider"><span><a href="javascript:mcTabs.displayTab('prodcut_slider','product_slider_panel');" onmousedown="return false;"><?php _e("Product Slider", 'wpsc_category'); ?></a></span></li>
38
+ <li id="add_product"><span><a href="javascript:mcTabs.displayTab('add_product','add_product_panel');" onmousedown="return false;"><?php _e("Add Product", 'wpsc_category'); ?></a></span></li>
39
+ </ul>
40
+ </div>
41
+
42
+ <div class="panel_wrapper">
43
+ <!-- gallery panel -->
44
+ <div id="wpsc_category_panel" class="panel current">
45
+ <br />
46
+ <table border="0" cellpadding="4" cellspacing="0">
47
+ <tr>
48
+ <td nowrap="nowrap"><label for="wpsc_category"><?php _e("Select Category", 'wpsc_category'); ?></label></td>
49
+ <td>
50
+ <select id="wpsc_category" name="wpsc_category" style="width: 150px">
51
+ <option value="0"><?php _e("No Category", 'wpsc_category'); ?></option>
52
+ <?php
53
+ $categorylist = $wpdb->get_results("SELECT * FROM ".WPSC_TABLE_PRODUCT_CATEGORIES." WHERE active = '1' ORDER BY id ASC",ARRAY_A);
54
+ if(is_array($categorylist)) {
55
+ foreach($categorylist as $category) {
56
+ echo "<option value=".$category['id']." >".$category['name']."</option>"."\n";
57
+ }
58
+ }
59
+ ?>
60
+ </select>
61
+ </td>
62
+ </tr>
63
+
64
+ <tr>
65
+ <td nowrap="nowrap" valign="top"><label for="wpsc_perpage"><?php _e("Number of items per Page", 'wpsc_category'); ?></label></td>
66
+ <td><input name="number_per_page" id='wpsc_perpage' type="text" value='6' style="width: 80px" /></td>
67
+ </tr>
68
+
69
+ </table>
70
+ </div>
71
+ <!-- gallery panel -->
72
+ <div id="product_slider_panel" class="panel">
73
+ <br />
74
+ <table border="0" cellpadding="4" cellspacing="0">
75
+ <tr>
76
+ <td nowrap="nowrap"><label for="wpsc_category"><?php _e("Select Category", 'wpsc_category'); ?></label></td>
77
+ <td><select id="wpsc_slider_category" name="wpsc_category" style="width: 200px">
78
+ <option value="0"><?php _e("No Category", 'wpsc_category'); ?></option>
79
+ <?php
80
+ $categorylist = $wpdb->get_results("SELECT * FROM ".WPSC_TABLE_PRODUCT_CATEGORIES." WHERE active = '1' ORDER BY id ASC",ARRAY_A);
81
+ if(is_array($categorylist)) {
82
+ foreach($categorylist as $category) {
83
+ echo "<option value=".$category['id']." >".$category['name']."</option>"."\n";
84
+ }
85
+ }
86
+ ?>
87
+ </select></td>
88
+ </tr>
89
+ <tr>
90
+ <td>
91
+ <?php _e("Number of visible items", 'wpsc_category'); ?>:
92
+ </td>
93
+ <td>
94
+ <input type='text' id='wpsc_slider_visibles' name='wpsc_slider_visibles'>
95
+ </td>
96
+ </tr>
97
+ </table>
98
+ </div>
99
+
100
+ <!-- Add product panel -->
101
+ <div id="add_product_panel" class="panel">
102
+ <br />
103
+ <table border="0" cellpadding="4" cellspacing="0">
104
+ <tr>
105
+ <td nowrap="nowrap"><label for="add_product_name"><?php _e("Name", 'wpsc_category'); ?></label></td>
106
+ <td><input type='text' id="add_product_name" name="add_product_name" style="width: 200px"></td>
107
+ </tr>
108
+ <tr>
109
+ <td nowrap="nowrap"><label for="add_product_description"><?php _e("Description", 'wpsc_category'); ?></label></td>
110
+ <td><input type='text' id="add_product_description" name="add_product_description" style="width: 200px"></td>
111
+ </tr>
112
+ <tr>
113
+ <td nowrap="nowrap"><label for="add_product_price"><?php _e("Price", 'wpsc_category'); ?></label></td>
114
+ <td><input type='text' id="add_product_price" name="add_product_price" style="width: 200px"></td>
115
+ </tr>
116
+ <tr>
117
+ <td>
118
+ <label for="add_product_category"><?php _e("Category", 'wpsc_category'); ?></label>
119
+ </td>
120
+ <td>
121
+ <select id="add_product_category" name="add_product_category" style="width: 200px">
122
+ <option value="0"><?php _e("No Category", 'wpsc_category'); ?></option>
123
+ <?php
124
+ $categorylist = $wpdb->get_results("SELECT * FROM ".WPSC_TABLE_PRODUCT_CATEGORIES." ORDER BY id ASC",ARRAY_A);
125
+ if(is_array($categorylist)) {
126
+ foreach($categorylist as $category) {
127
+ echo "<option value=".$category['id']." >".$category['name']."</option>"."\n";
128
+ }
129
+ }
130
+ ?>
131
+ </select></td>
132
+ </tr>
133
+ </table>
134
+ </div>
135
+
136
+ </div>
137
+
138
+ <div class="mceActionPanel">
139
+ <div style="float: left">
140
+ <input type="button" id="cancel" name="cancel" value="<?php _e("Cancel", 'wpsc_category'); ?>" onclick="tinyMCEPopup.close();" />
141
+ </div>
142
+
143
+ <div style="float: right">
144
+ <input type="submit" id="insert" name="insert" value="<?php _e("Insert", 'wpsc_category'); ?>" onclick="insertWPSCLink();" />
145
+ </div>
146
+ </div>
147
+ </form>
148
+ </body>
149
+ </html>
{wpsc-core/js → js}/ui.datepicker.js RENAMED
@@ -42,9 +42,9 @@ function Datepicker() {
42
  clearStatus: 'Erase the current date', // Status text for clear link
43
  closeText: 'Close', // Display text for close link
44
  closeStatus: 'Close without change', // Status text for close link
45
- prevText: '&#x3c;Prev', // Display text for previous month link
46
  prevStatus: 'Show the previous month', // Status text for previous month link
47
- nextText: 'Next&#x3e;', // Display text for next month link
48
  nextStatus: 'Show the next month', // Status text for next month link
49
  currentText: 'Today', // Display text for current month link
50
  currentStatus: 'Show the current month', // Status text for current month link
@@ -1506,3 +1506,4 @@ $(document).ready(function() {
1506
  });
1507
 
1508
  })(jQuery);
 
42
  clearStatus: 'Erase the current date', // Status text for clear link
43
  closeText: 'Close', // Display text for close link
44
  closeStatus: 'Close without change', // Status text for close link
45
+ prevText: '&#171; ', // Display text for previous month link
46
  prevStatus: 'Show the previous month', // Status text for previous month link
47
+ nextText: '&#187;', // Display text for next month link
48
  nextStatus: 'Show the next month', // Status text for next month link
49
  currentText: 'Today', // Display text for current month link
50
  currentStatus: 'Show the current month', // Status text for current month link
1506
  });
1507
 
1508
  })(jQuery);
1509
+
{wpsc-core/js → js}/ui.droppable.js RENAMED
File without changes
js/user.js ADDED
@@ -0,0 +1,559 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var testsuccess = 0;
2
+ var lnid = new Array();
3
+
4
+
5
+ function categorylist(url) {
6
+ self.location = url;
7
+ }
8
+
9
+ var noresults=function(results) {
10
+ return true;
11
+ }
12
+
13
+ function roundNumber(num, dec) {
14
+ var result = Math.round(num*Math.pow(10,dec))/Math.pow(10,dec);
15
+ return result;
16
+ }
17
+
18
+
19
+ var getresults=function(results) {
20
+ eval(results);
21
+ if(window.drag_and_drop_cart_updater) {
22
+ drag_and_drop_cart_updater();
23
+ }
24
+ if(document.getElementById('loadingimage') != null) {
25
+ document.getElementById('loadingindicator').style.visibility = 'hidden';
26
+ } else if(document.getElementById('alt_loadingimage') != null) {
27
+ document.getElementById('alt_loadingindicator').style.visibility = 'hidden';
28
+ }
29
+ if((document.getElementById('sliding_cart') != null) && (document.getElementById('sliding_cart').style.display == 'none')) {
30
+ jQuery("#fancy_collapser").attr("src", (WPSC_URL+"/images/minus.png"));
31
+ jQuery("#sliding_cart").show("fast",function(){
32
+ ajax.post("index.php",noresults,"ajax=true&set_slider=true&state=1"); });
33
+ }
34
+ if(document.getElementById('fancy_notification') != null) {
35
+ jQuery('#loading_animation').css("display", 'none');
36
+ //jQuery('#fancy_notificationimage').css("display", 'none');
37
+ }
38
+ }
39
+ /*
40
+ function set_billing_country(html_form_id, form_id){
41
+ var billing_region = '';
42
+ country = jQuery(("div#"+html_form_id+" select[@class=current_country]")).val();
43
+ region = jQuery(("div#"+html_form_id+" select[@class=current_region]")).val();
44
+ if(/[\d]{1,6}/.test(region)) { // number over 6 digits for a region ID? yeah right, not in the lifetime of this code
45
+ billing_region = "&billing_region="+region;
46
+ }
47
+ ajax.post("index.php",getresults,("ajax=true&changetax=true&form_id="+form_id+"&billing_country="+country+billing_region));
48
+ //ajax.post("index.php",changetaxntotal,("ajax=true&form_id="+form_id+"&billing_country="+country+billing_region));
49
+ }*/
50
+
51
+ function submitform(frm, show_notification)
52
+ {
53
+ if(show_notification != false)
54
+ {
55
+ show_notification = true;
56
+ }
57
+ //alert(ajax.serialize(frm));
58
+ ajax.post("index.php?ajax=true&user=true",getresults,ajax.serialize(frm));
59
+ if(document.getElementById('loadingimage') != null)
60
+ {
61
+ document.getElementById('loadingimage').src = WPSC_LOADING_ANIMATION_URL;
62
+ document.getElementById('loadingindicator').style.visibility = 'visible';
63
+ }
64
+ else if(document.getElementById('alt_loadingimage') != null)
65
+ {
66
+ document.getElementById('alt_loadingimage').src = WPSC_LOADING_ANIMATION_URL;
67
+ document.getElementById('alt_loadingindicator').style.visibility = 'visible';
68
+ }
69
+ if((show_notification == true) && (document.getElementById('fancy_notification') != null))
70
+ {
71
+ var options = {
72
+ margin: 1 ,
73
+ border: 1 ,
74
+ padding: 1 ,
75
+ scroll: 1
76
+ };
77
+
78
+ form_button_id = frm.id + "_submit_button";
79
+ //alert(form_button_id);
80
+
81
+ var container_offset = {};
82
+ new_container_offset = jQuery('#products_page_container').offset(options, container_offset);
83
+
84
+ if(container_offset['left'] == null) {
85
+ container_offset['left'] = new_container_offset.left;
86
+ container_offset['top'] = new_container_offset.top;
87
+ }
88
+
89
+
90
+ var button_offset = {};
91
+ new_button_offset = jQuery('#'+form_button_id).offset(options, button_offset)
92
+
93
+
94
+ if(button_offset['left'] == null) {
95
+ button_offset['left'] = new_button_offset.left;
96
+ button_offset['top'] = new_button_offset.top;
97
+ }
98
+
99
+
100
+ jQuery('#fancy_notification').css("left", (button_offset['left'] - container_offset['left'] + 10) + 'px');
101
+ jQuery('#fancy_notification').css("top", ((button_offset['top'] - container_offset['top']) -60) + 'px');
102
+
103
+
104
+
105
+ jQuery('#fancy_notification').css("display", 'block');
106
+ jQuery('#loading_animation').css("display", 'block');
107
+ jQuery('#fancy_notification_content').css("display", 'none');
108
+ }
109
+ return false;
110
+ }
111
+
112
+
113
+ function prodgroupswitch(state)
114
+ {
115
+ if(state == 'brands')
116
+ {
117
+ jQuery('.categorydisplay').css("display", 'none');
118
+ jQuery('.branddisplay').css("display", 'block');
119
+ }
120
+ else if(state == 'categories')
121
+ {
122
+ jQuery('.categorydisplay').css("display", 'block');
123
+ jQuery('.branddisplay').css("display", 'none');
124
+ }
125
+ return false;
126
+ }
127
+
128
+ var previous_rating;
129
+ function ie_rating_rollover(id,state)
130
+ {
131
+ target_element = document.getElementById(id);
132
+ switch(state)
133
+ {
134
+ case 1:
135
+ previous_rating = target_element.style.background;
136
+ target_element.style.background = "url("+WPSC_URL+"/images/blue-star.gif)";
137
+ break;
138
+
139
+ default:
140
+ if(target_element.style.background != "url("+WPSC_URL+"/images/gold-star.gif)")
141
+ {
142
+ target_element.style.background = previous_rating;
143
+ }
144
+ break;
145
+ }
146
+ }
147
+
148
+ var apply_rating=function(results)
149
+ {
150
+ outarr = results.split(",");
151
+ //alert(results);
152
+ for(i=1;i<=outarr[1];i++)
153
+ {
154
+ id = "star"+outarr[0]+"and"+i+"_link";
155
+ document.getElementById(id).style.background = "url("+WPSC_URL+"/images/gold-star.gif)";
156
+ }
157
+
158
+ for(i=5;i>outarr[1];i--)
159
+ {
160
+ id = "star"+outarr[0]+"and"+i+"_link";
161
+ document.getElementById(id).style.background = "#c4c4b8";
162
+ }
163
+ lnid[outarr[0]] = 1;
164
+
165
+ rating_id = 'rating_'+outarr[0]+'_text';
166
+ //alert(rating_id);
167
+ if(document.getElementById(rating_id).innerHTML != "Your Rating:")
168
+ {
169
+ document.getElementById(rating_id).innerHTML = "Your Rating:";
170
+ }
171
+
172
+ saved_id = 'saved_'+outarr[0]+'_text';
173
+ document.getElementById(saved_id).style.display = "inline";
174
+ update_vote_count(outarr[0]);
175
+ }
176
+
177
+ function hide_save_indicator(id)
178
+ {
179
+ document.getElementById(id).style.display = "none";
180
+ }
181
+
182
+ function rate_item(prodid,rating)
183
+ {
184
+ ajax.post("index.php",apply_rating,"ajax=true&rate_item=true&product_id="+prodid+"&rating="+rating);
185
+ }
186
+
187
+ function update_vote_count(prodid)
188
+ {
189
+ var update_vote_count=function(results)
190
+ {
191
+ outarr = results.split(",");
192
+ vote_count = outarr[0];
193
+ prodid = outarr[1];
194
+ vote_count_id = 'vote_total_'+prodid;
195
+ document.getElementById(vote_count_id).innerHTML = vote_count;
196
+ }
197
+ ajax.post("index.php",update_vote_count,"ajax=true&get_rating_count=true&product_id="+prodid);
198
+ }
199
+
200
+
201
+ function update_preview_url(prodid)
202
+ {
203
+ image_height = document.getElementById("image_height").value;
204
+ image_width = document.getElementById("image_width").value;
205
+ if(((image_height > 0) && (image_height <= 1024)) && ((image_width > 0) && (image_width <= 1024)))
206
+ {
207
+ new_url = "index.php?productid="+prodid+"&height="+image_height+"&width="+image_width+"";
208
+ document.getElementById("preview_link").setAttribute('href',new_url);
209
+ }
210
+ else
211
+ {
212
+ new_url = "index.php?productid="+prodid+"";
213
+ document.getElementById("preview_link").setAttribute('href',new_url);
214
+ }
215
+ return false;
216
+ }
217
+
218
+ function change_variation(product_id, variation_ids, special) {
219
+ value_ids = '';
220
+ special_prefix = "";
221
+ if(special == true) {
222
+ form_id = "specials_"+product_id;
223
+ } else {
224
+ form_id = "product_"+product_id;
225
+ }
226
+ for(var i in variation_ids) {
227
+ if(!isNaN(parseInt(i))) {
228
+ variation_name = "variation["+variation_ids[i]+"]";
229
+ value_ids += "&variation[]="+document.getElementById(form_id).elements[variation_name].value;
230
+ }
231
+ }
232
+ if(special == true) {
233
+ var return_price=function(results) {
234
+ eval(results);
235
+ if(product_id != null) {
236
+ target_id = "special_product_price_"+product_id;
237
+ buynow_id = "BB_BuyButtonForm"+product_id;
238
+ document.getElementById(target_id).firstChild.innerHTML = price;
239
+ if (price.substring(27,price.indexOf("&"))!='')
240
+ document.getElementById(buynow_id).item_price_1.value = price.substring(27,price.indexOf("&"));
241
+ }
242
+ }
243
+ } else {
244
+ var return_price=function(results) {
245
+ //alert(results);
246
+ eval(results);
247
+ if(product_id != null) {
248
+ target_id = "product_price_"+product_id;
249
+ buynow_id = "BB_BuyButtonForm"+product_id;
250
+ //document.getElementById(target_id).firstChild.innerHTML = price;
251
+ if(jQuery("input#"+target_id).attr('type') == 'text') {
252
+ jQuery("input#"+target_id).val(numeric_price);
253
+ } else {
254
+ jQuery("#"+target_id+" span.pricedisplay").html(price);
255
+ }
256
+ }
257
+ }
258
+ }
259
+ ajax.post("index.php",return_price,"ajax=true&get_updated_price=true&product_id="+product_id+value_ids);
260
+ }
261
+ function show_details_box(id,image_id) {
262
+ state = document.getElementById(id).style.display;
263
+ if(state != 'block') {
264
+ document.getElementById(id).style.display = 'block';
265
+ document.getElementById(image_id).src = WPSC_URL+"/images/icon_window_collapse.gif";
266
+ } else {
267
+ document.getElementById(id).style.display = 'none';
268
+ document.getElementById(image_id).src = WPSC_URL+"/images/icon_window_expand.gif";
269
+ }
270
+ return false;
271
+ }
272
+
273
+ var register_results=function(results) {
274
+ jQuery("div#TB_ajaxContent").html(results);
275
+ jQuery('div#checkout_login_box').css("border", '1px solid #339933');
276
+ jQuery('div#checkout_login_box').css("background-color", '#e8fcea');
277
+ }
278
+
279
+ function submit_register_form(frm)
280
+ {
281
+ jQuery('img#register_loading_img').css("display", 'inline');
282
+ ajax.post("index.php?ajax=true&action=register",register_results,ajax.serialize(frm));
283
+
284
+ return false;
285
+ }
286
+
287
+ var fadeInSuggestion = function(suggestionBox, suggestionIframe) {
288
+ $(suggestionBox).fadeTo(300,1);
289
+ };
290
+
291
+ var fadeOutSuggestion = function(suggestionBox, suggestionIframe) {
292
+ $(suggestionBox).fadeTo(300,0);
293
+ };
294
+
295
+ function change_pics(command){
296
+ location1 = window.location.href;
297
+
298
+ if (command == 1){
299
+ document.getElementById('out_view_type').innerHTML = "<input type='hidden' id='view_type' name='view_type' value='default'>";
300
+ document.getElementById('out_default_pic').innerHTML ="<img id='default_pic' src='"+WPSC_URL+"/images/default-on.gif'>";
301
+ document.getElementById('out_grid_pic').innerHTML ="<img id='grid_pic' style='cursor:pointer;' onclick='change_pics(0)' src='"+WPSC_URL+"/images/grid-off.gif'>";
302
+ if (location1.search(/view_type/)!=-1) {
303
+ $new_location = location1.replace("grid","default");
304
+ } else {
305
+ if (location1.search(/\?/)!=-1) {
306
+ $new_location = location1+"&view_type=default";
307
+ } else {
308
+ $new_location = location1+"?view_type=default";
309
+ }
310
+ }
311
+ window.location = $new_location;
312
+ } else {
313
+ document.getElementById('out_view_type').innerHTML = "<input type='hidden' id='view_type' name='view_type' value='grid'>";
314
+ document.getElementById('out_default_pic').innerHTML ="<img id='default_pic' style='cursor:pointer;' onclick='change_pics(1)' src='"+WPSC_URL+"/images/default-off.gif'>";
315
+ document.getElementById('out_grid_pic').innerHTML ="<img id='grid_pic' src='"+WPSC_URL+"/images/grid-on.gif'>";
316
+ if (location1.search(/view_type/)!=-1) {
317
+ $new_location = location1.replace("default","grid");
318
+ } else {
319
+ if (location1.search(/\?/)!=-1) {
320
+ $new_location = location1+"&view_type=grid";
321
+ } else {
322
+ $new_location = location1+"?view_type=grid";
323
+ }
324
+ }
325
+
326
+ window.location = $new_location;
327
+ }
328
+ }
329
+
330
+ function log_buynow(form){
331
+ id = form.product_id.value;
332
+ price = form.item_price_1.value;
333
+ ajax.post("index.php",noresults,"ajax=true&buynow=true&product_id="+id+"price="+price);
334
+ }
335
+
336
+ function gotoexternallink(link){
337
+ window.location = link;
338
+ }
339
+
340
+ function manage_extras(product_id, extras_id, special) {
341
+ value_ids = '';
342
+ special_prefix = "";
343
+ extra_idss='';
344
+ document.getElementById('extras_indicator'+product_id+extras_id).style.display='block';
345
+ if(special == true) {
346
+ form_id = "specials_"+product_id;
347
+ } else {
348
+ form_id = "product_"+product_id;
349
+ }
350
+
351
+ jQuery(document).ready(function(){
352
+ extra_ids=jQuery("input.extras_"+product_id+":checked");
353
+ });
354
+
355
+ jQuery.each(extra_ids, function(key, value) {
356
+ extra_idss += "&extra[]="+extra_ids[key].value;
357
+ });
358
+ pm='stay';
359
+
360
+ if(special == true) {
361
+ var return_price=function(results) {
362
+ //alert(results);
363
+ eval(results);
364
+ if(product_id != null) {
365
+ target_id = "special_product_price_"+product_id;
366
+ buynow_id = "BB_BuyButtonForm"+product_id;
367
+ document.getElementById(target_id).firstChild.innerHTML = price;
368
+ if (price.substring(27,price.indexOf("&"))!='')
369
+ document.getElementById(buynow_id).item_price_1.value = price.substring(27,price.indexOf("&"));
370
+ }
371
+ document.getElementById('extras_indicator'+product_id+extras_id).style.display='none';
372
+ }
373
+ } else {
374
+ var return_price=function(results) {
375
+ eval(results);
376
+ if(product_id != null) {
377
+ target_id = "product_price_"+product_id;
378
+ buynow_id = "BB_BuyButtonForm"+product_id;
379
+ document.getElementById(target_id).firstChild.innerHTML = price;
380
+ if (price.substring(27,price.indexOf("&"))!='')
381
+ document.getElementById(form_id).item_price_1.value = price.substring(27,price.indexOf("&"));
382
+ }
383
+ document.getElementById('extras_indicator'+product_id+extras_id).style.display='none';
384
+ }
385
+ }
386
+ ajax.post("index.php",return_price,"ajax=true&get_updated_price=true&pm="+pm+"&product_id="+product_id+extra_idss);
387
+ }
388
+
389
+ function store_list(){
390
+ address = document.getElementById('user_address').value;
391
+ city = document.getElementById('user_city').value;
392
+ if ((address != '') && (city != '')) {
393
+ document.getElementById('gloc_loading').style.display='block';
394
+ ajax.post("index.php",return_store_list,"ajax=true&store_list=true&addr="+address+"&city="+city);
395
+ }
396
+ }
397
+
398
+ var return_store_list=function(results) {
399
+ document.getElementById('gloc_storelist').innerHTML=results;
400
+ document.getElementById('gloc_loading').style.display='none';
401
+ return true;
402
+ }
403
+
404
+ function autocomplete(event) {
405
+ if(!event){
406
+ event=window.event;
407
+ }
408
+ if(event.keyCode){
409
+ keyPressed=event.keyCode;
410
+ }else if(event.which){
411
+ keyPressed=event.which;
412
+ }
413
+ str = document.getElementById('wpsc_search_autocomplete').value;
414
+ if (str != '') {
415
+ ajax.post("index.php",autocomplete_results,"wpsc_live_search=true&keyword="+str);
416
+ } else {
417
+ jQuery('#blind_down').slideUp(100);
418
+ }
419
+ }
420
+
421
+ var autocomplete_results=function(results) {
422
+ document.getElementById('blind_down').innerHTML=results;
423
+ if (document.getElementById('blind_down').style.display!='block') {
424
+ jQuery('#blind_down').slideDown(200);
425
+ }
426
+ return true;
427
+ }
428
+
429
+ function statusTextKeyPress(event){
430
+ if(!event){
431
+ event=window.event;
432
+ }
433
+ if(event.keyCode){
434
+ keyPressed=event.keyCode;
435
+ }else if(event.which){
436
+ keyPressed=event.which;
437
+ }
438
+ if(keyPressed==9){
439
+ return false;
440
+ }
441
+ if(keyPressed==13){
442
+ newstatus = document.getElementById('status_change_text').value;
443
+ ajax.post("index.php",submit_user_status,"ajax=true&submitstatus=true&status="+newstatus);
444
+ return false;
445
+ }
446
+ if(keyPressed==27){
447
+ document.getElementById('edit_status_select').style.display='none';
448
+ return false;
449
+ }
450
+ return true;
451
+ }
452
+ // function switchmethod(key,key1){
453
+ // // total=document.getElementById("shopping_cart_total_price").value;
454
+ // ajax.post("index.php",usps_method_switch,"ajax=true&uspsswitch=true&key1="+key1+"&key="+key+"&total="+total);
455
+ // }
456
+
457
+ var usps_method_switch=function (results){
458
+ shipping = results.split('---');
459
+ shipping1 = shipping[1];
460
+ jQuery("#checkout_total").html(shipping[0]);
461
+
462
+ jQuery('.total > .pricedisplay').remove();
463
+ jQuery('.total > .totalhead').after(shipping[0]);
464
+ jQuery('.postage > .pricedisplay').remove();
465
+ jQuery('.postage > .postagehead').after(shipping1);
466
+ }
467
+
468
+ function add_meta_box(results){
469
+ // jQuery(".wpsc_buy_button").before(results);
470
+ jQuery('.time_requested').datepicker({ dateFormat: 'yy-mm-dd' });
471
+ }
472
+
473
+ function submit_purchase(){
474
+ document.forms.ideal_form.submit();
475
+ }
476
+
477
+ function do_nothing() {
478
+ return;
479
+ }
480
+
481
+ jQuery(document).ready(
482
+ function() {
483
+ if (jQuery("#openair").val() == 1) {
484
+ var max_height = 0;
485
+ var min_offset = 9999;
486
+ var max_left_offset = 0;
487
+ var top_offset = 0;
488
+ jQuery("div.product_grid_item").each(
489
+ function() {
490
+ jQuery(this).css('margin','0');
491
+ if (jQuery(this).height() > max_height) {
492
+ max_height = jQuery(this).height();
493
+ }
494
+ var offset = jQuery(this).offset();
495
+ if (offset.left <= min_offset) {
496
+ min_offset = offset.left;
497
+ }
498
+ if (offset.top > top_offset) {
499
+ top_offset = offset.top;
500
+ }
501
+ if (offset.left > max_left_offset) {
502
+ max_left_offset = offset.left;
503
+ }
504
+ }
505
+ );
506
+
507
+ jQuery("div.product_grid_item:last").each(
508
+ function() {
509
+ var offset = jQuery(this).offset();
510
+
511
+ if (offset.left != max_left_offset) {
512
+ jQuery(this).css('border-right','1px solid #ddd');
513
+ }
514
+ }
515
+ );
516
+
517
+ jQuery("div.product_grid_item").each(
518
+ function() {
519
+
520
+
521
+
522
+ var offset = jQuery(this).offset();
523
+ if (offset.left == min_offset) {
524
+ setTimeout('do_nothing', 200);
525
+ jQuery(this).css('border-left','0px solid #ddd');
526
+ }
527
+
528
+ if (offset.top == top_offset) {
529
+ jQuery(this).css('border-bottom','0px solid #ddd');
530
+ }
531
+ jQuery(this).height(max_height+30);
532
+ }
533
+ );
534
+ }
535
+
536
+
537
+
538
+ jQuery("div.custom_gateway table").each(
539
+ function() {
540
+ if(jQuery(this).css('display') == 'none') {
541
+ jQuery('input', this).attr( 'disabled', true);
542
+ }
543
+ }
544
+ );
545
+
546
+ jQuery("input.custom_gateway").change(
547
+ function() {
548
+ if(jQuery(this).attr('checked') == true) {
549
+ parent_div = jQuery(this).parents("div.custom_gateway");
550
+ jQuery('table input',parent_div).attr( 'disabled', false);
551
+ jQuery('table',parent_div).css('display', 'block');
552
+ jQuery("div.custom_gateway table").not(jQuery('table',parent_div)).css('display', 'none');
553
+
554
+ jQuery("div.custom_gateway table input").not(jQuery('table input',parent_div)).attr( 'disabled', true);
555
+ }
556
+ }
557
+ );
558
+ }
559
+ );
js/wp-e-commerce.js ADDED
@@ -0,0 +1,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // This is the wp-e-commerce front end javascript "library"
2
+
3
+
4
+ // empty the cart using ajax when the form is submitted,
5
+ function check_make_purchase_button(){
6
+ toggle = jQuery('#noca_gateway').attr('checked');
7
+ if(toggle == true){
8
+ //jQuery('.make_purchase').hide();
9
+ jQuery('#OCPsubmit').show();
10
+ }else{
11
+ jQuery('.make_purchase').show();
12
+ jQuery('#OCPsubmit').hide();
13
+ }
14
+ }
15
+ // this function is for binding actions to events and rebinding them after they are replaced by AJAX
16
+ // these functions are bound to events on elements when the page is fully loaded.
17
+ jQuery(document).ready(function () {
18
+
19
+ //this bit of code runs on the checkout page. If the checkbox is selected it copies the valus in the billing country and puts it in the shipping country form fields. 23.07.09
20
+ //jQuery('.wpsc_shipping_forms').hide();
21
+ jQuery("#shippingSameBilling").click(function(){
22
+ jQuery('.wpsc_shipping_forms').show();
23
+ // If checked
24
+ jQuery("#shippingSameBilling").livequery(function(){
25
+
26
+ if(jQuery(this).is(":checked")){
27
+ var fname = jQuery("input[title='billingfirstname']").val();
28
+ var lname = jQuery("input[title='billinglastname']").val();
29
+ var addr = jQuery("textarea[title='billingaddress']").val();
30
+ var city = jQuery("input[title='billingcity']").val();
31
+ var pcode = jQuery("input[title='billingpostcode']").val();
32
+ var phone = jQuery("input[title='billingphone']").val();
33
+ var email = jQuery("input[title='billingfirstname']").val();
34
+ var state = jQuery("select[title='billingregion'] :selected").text();
35
+ var stateID = jQuery("select[title='billingregion'] :selected").val();
36
+ var country = jQuery("select[title='billingcountry'] :selected").text();
37
+ var countryID = jQuery("select[title='billingcountry'] :selected").val();
38
+ var shipID;
39
+ var shipName;
40
+ jQuery("input[title='shippingfirstname']").val(fname);
41
+ jQuery("input[title='shippinglastname']").val(lname);
42
+ jQuery("textarea[title='shippingaddress']").val(addr);
43
+ jQuery("input[title='shippingcity']").val(city);
44
+ jQuery("input[title='shippingpostcode']").val(pcode);
45
+ jQuery("input[title='shippingphone']").val(phone);
46
+ jQuery("input[title='shippingemail']").val(email);
47
+ jQuery("input[title='shippingstate']").val(stateID);
48
+ jQuery("input.shipping_country").val(countryID);
49
+ jQuery("span.shipping_country_name").html(country);
50
+ jQuery("input.shipping_region").val(countryID);
51
+ //jQuery("span.shipping_region_name").html(state);
52
+ jQuery("select#current_country").val(countryID);
53
+ if(state == ''){
54
+ state = jQuery("select.current_region :selected").text();
55
+ stateID = jQuery("select.current_region :selected").val();
56
+ if(state == ''){
57
+ jQuery("select#region").hide();
58
+ shipName = jQuery('input.shipping_region').attr('name');
59
+ shipID = jQuery('input.shipping_region').attr('id');
60
+ jQuery('input.shipping_region').replaceWith('<input class="shipping_region" type="text" value="'+state+'" name="'+shipName+'" id="'+shipName+'" />');
61
+ jQuery('span.shipping_region_name').replaceWith('<span class="shipping_region_name"></span>');
62
+ }else{
63
+ jQuery("select#region").show();
64
+ jQuery("select#region :selected").html(state).attr('selected','selected');
65
+ shipName = jQuery('input.shipping_region').attr('name');
66
+ shipID = jQuery('input.shipping_region').attr('id');
67
+ jQuery('input.shipping_region').replaceWith('<input type="hidden" value="'+stateID+'" name="'+shipName+'" id="'+shipName+'" class="shipping_region" />');
68
+ jQuery('input.shipping_region').append('<span class="shipping_region_name">'+state+'</span>');
69
+ // jQuery('span.shipping_region_name').html(state);
70
+ }
71
+ }else{
72
+ jQuery("select#region").show();
73
+ shipName = jQuery('input.shipping_region').attr('name');
74
+ shipID = jQuery('input.shipping_region').attr('id');
75
+ jQuery('input.shipping_region').replaceWith('<input type="hidden" class="shipping_region" value="'+stateID+'" name="'+shipName+'" id="'+shipName+'" />');
76
+ jQuery('.shipping_region_name').replaceWith('<span class="shipping_region_name">'+state+'</span>');
77
+ jQuery("select#region :selected").html(state).attr('selected','selected');
78
+ jQuery("select[title='shippingregion']").val(stateID);
79
+ //jQuery('span.shipping_region_name').html(state);
80
+ }
81
+ jQuery("select[title='shipping_country']").val(countryID);
82
+ var html_form_id = jQuery("select[title='shipping_country']").attr('id');
83
+ var form_id = jQuery("select[title='shipping_country']").attr('name');
84
+ if(form_id != null){
85
+ form_id = form_id.replace("collected_data[", "");
86
+ form_id = form_id.replace("]", "");
87
+ form_id = form_id.replace("[0]", "");
88
+ set_shipping_country(html_form_id, form_id)
89
+ if(jQuery("select[title='billingcountry'] :selected").val() != jQuery("select[name='country'] :selected").val()){
90
+ id = jQuery("select[name='country'] :selected").val();
91
+ if(id == 'undefined'){
92
+ jQuery("select[name='country']").val(countryID);
93
+ // submit_change_country();
94
+ }
95
+ }
96
+ }
97
+ submit_change_country(true);
98
+
99
+ }
100
+
101
+ //otherwise, hide it
102
+ //jQuery("#extra").hide("fast");
103
+ });
104
+ });
105
+ // Submit the product form using AJAX
106
+ jQuery("form.product_form").submit(function() {
107
+ // we cannot submit a file through AJAX, so this needs to return true to submit the form normally if a file formfield is present
108
+ file_upload_elements = jQuery.makeArray(jQuery('input[type=file]', jQuery(this)));
109
+ if(file_upload_elements.length > 0) {
110
+ return true;
111
+ } else {
112
+ jQuery("#dragdrop_spinner").css('display', 'block');
113
+ form_values = jQuery(this).serialize();
114
+ // Sometimes jQuery returns an object instead of null, using length tells us how many elements are in the object, which is more reliable than comparing the object to null
115
+ if(jQuery('#fancy_notification').length == 0) {
116
+ jQuery('div.wpsc_loading_animation',this).css('visibility', 'visible');
117
+ }
118
+ jQuery.post( 'index.php?ajax=true', form_values, function(returned_data) {
119
+ eval(returned_data);
120
+ jQuery('div.wpsc_loading_animation').css('visibility', 'hidden');
121
+
122
+ if(jQuery('#fancy_notification') != null) {
123
+ jQuery('#loading_animation').css("display", 'none');
124
+ //jQuery('#fancy_notificationimage').css("display", 'none');
125
+ }
126
+ jQuery("#dragdrop_spinner").css('display', 'none');
127
+ });
128
+ wpsc_fancy_notification(this);
129
+ return false;
130
+ }
131
+ });
132
+
133
+
134
+ jQuery('a.wpsc_category_link, a.wpsc_category_image_link').click(function(){
135
+ product_list_count = jQuery.makeArray(jQuery('ul.category-product-list'));
136
+ if(product_list_count.length > 0) {
137
+ jQuery('ul.category-product-list', jQuery(this).parent()).toggle();
138
+ return false;
139
+ }
140
+ });
141
+
142
+ // this is for storing data with the product image, like the product ID, for things like dropshop and the the ike.
143
+ jQuery("form.product_form").livequery(function(){
144
+ product_id = jQuery('input[name=product_id]',this).val();
145
+ image_element_id = 'product_image_'+product_id;
146
+ jQuery("#"+image_element_id).data("product_id", product_id);
147
+ parent_container = jQuery(this).parents('div.product_view_'+product_id);
148
+ jQuery("div.item_no_image", parent_container).data("product_id", product_id);
149
+ });
150
+ //jQuery("form.product_form").trigger('load');
151
+
152
+ // Toggle the additional description content
153
+ jQuery("a.additional_description_link").click(function() {
154
+ parent_element = jQuery(this).parent('.additional_description_span');
155
+ jQuery('.additional_description',parent_element).toggle();
156
+ return false;
157
+ });
158
+
159
+
160
+ // update the price when the variations are altered.
161
+ jQuery("div.wpsc_variation_forms .wpsc_select_variation").change(function() {
162
+ parent_form = jQuery(this).parents("form.product_form");
163
+ form_values =jQuery("input[name=product_id],div.wpsc_variation_forms .wpsc_select_variation",parent_form).serialize( );
164
+ jQuery.post( 'index.php?update_product_price=true', form_values, function(returned_data) {
165
+ eval(returned_data);
166
+ if(product_id != null) {
167
+ target_id = "product_price_"+product_id;
168
+ second_target_id = "donation_price_"+product_id;
169
+ buynow_id = "BB_BuyButtonForm"+product_id;
170
+
171
+ //document.getElementById(target_id).firstChild.innerHTML = price;
172
+ if(jQuery("input#"+target_id).attr('type') == 'text') {
173
+ jQuery("input#"+target_id).val(numeric_price);
174
+ } else {
175
+ jQuery("#"+target_id+".pricedisplay").html(price);
176
+ }
177
+ jQuery("input#"+second_target_id).val(numeric_price);
178
+ }
179
+ });
180
+ return false;
181
+ });
182
+
183
+ // Force variation price to update on page load
184
+ // Fixes issue where some browsers (IE and FF) default to selecting the first
185
+ // non-disabled menu item if the first variation is out of stock.
186
+ if ( jQuery("div.wpsc_variation_forms .wpsc_select_variation").length > 0 ) {
187
+ jQuery("div.wpsc_variation_forms .wpsc_select_variation:first").trigger("change");
188
+ }
189
+
190
+ // Object frame destroying code.
191
+ jQuery("div.shopping_cart_container").livequery(function(){
192
+ object_html = jQuery(this).html();
193
+ window.parent.jQuery("div.shopping-cart-wrapper").html(object_html);
194
+ });
195
+
196
+
197
+ // Ajax cart loading code.
198
+ jQuery("div.wpsc_cart_loading").livequery(function(){
199
+ form_values = "ajax=true"
200
+ jQuery.post( 'index.php?wpsc_ajax_action=get_cart', form_values, function(returned_data) {
201
+ eval(returned_data);
202
+ });
203
+ });
204
+
205
+
206
+
207
+
208
+ // Object frame destroying code.
209
+ jQuery("form.wpsc_product_rating").livequery(function(){
210
+ jQuery(this).rating();
211
+ });
212
+
213
+
214
+
215
+
216
+ jQuery("form.wpsc_empty_the_cart").livequery(function(){
217
+ jQuery(this).submit(function() {
218
+ form_values = "ajax=true&";
219
+ form_values += jQuery(this).serialize();
220
+ jQuery.post( 'index.php', form_values, function(returned_data) {
221
+ eval(returned_data);
222
+ });
223
+ return false;
224
+ });
225
+ });
226
+
227
+ jQuery("form.wpsc_empty_the_cart span.emptycart a").livequery(function(){
228
+ jQuery(this).click(function() {
229
+ parent_form = jQuery(this).parents("form.wpsc_empty_the_cart");
230
+ form_values = "ajax=true&";
231
+ form_values += jQuery(parent_form).serialize();
232
+ jQuery.post( 'index.php', form_values, function(returned_data) {
233
+ eval(returned_data);
234
+ });
235
+ return false;
236
+ });
237
+ });
238
+ //Shipping bug fix by James Collins
239
+ var radios = jQuery(".productcart input:radio[name=shipping_method]");
240
+ if (radios.length == 1) {
241
+ // If there is only 1 shipping quote available during checkout, automatically select it
242
+ jQuery(radios).click();
243
+ } else if (radios.length > 1) {
244
+ // There are multiple shipping quotes, simulate a click on the checked one
245
+ jQuery(".productcart input:radio[name=shipping_method]:checked").click();
246
+ }
247
+ });
248
+
249
+
250
+ // update the totals when shipping methods are changed.
251
+ function switchmethod(key,key1){
252
+ // total=document.getElementById("shopping_cart_total_price").value;
253
+ form_values = "ajax=true&";
254
+ form_values += "wpsc_ajax_action=update_shipping_price&";
255
+ form_values += "key1="+key1+"&";
256
+ form_values += "key="+key;
257
+ jQuery.post( 'index.php', form_values, function(returned_data) {
258
+ eval(returned_data);
259
+ });
260
+ }
261
+
262
+ // submit the country forms.
263
+ function submit_change_country(ajax){
264
+ if(!ajax && (document.forms.change_country)){
265
+ document.forms.change_country.submit();
266
+ }else{
267
+ var country_code = jQuery('#current_country :selected').val();
268
+ var params = 'ajax=true&wpsc_ajax_actions=update_location&country='+country_code;
269
+ var region_code = jQuery('#region :selected').val();
270
+ if(typeof(region_code) != 'undefined'){
271
+ params += '&region='+region_code;
272
+ }
273
+
274
+ jQuery.post( 'index.php', params, function(returned_data) { });
275
+ jQuery.post( 'index.php', 'wpsc_ajax_action=update_shipping_price', function(returned_data) {
276
+ eval(returned_data);
277
+ });
278
+
279
+ }
280
+ }
281
+
282
+ // submit the fancy notifications forms.
283
+ function wpsc_fancy_notification(parent_form){
284
+ if(typeof(WPSC_SHOW_FANCY_NOTIFICATION) == 'undefined'){
285
+ WPSC_SHOW_FANCY_NOTIFICATION = true;
286
+ }
287
+ if((WPSC_SHOW_FANCY_NOTIFICATION == true) && (jQuery('#fancy_notification') != null)){
288
+ var options = {
289
+ margin: 1 ,
290
+ border: 1 ,
291
+ padding: 1 ,
292
+ scroll: 1
293
+ };
294
+
295
+ form_button_id = jQuery(parent_form).attr('id') + "_submit_button";
296
+ //console.log(form_button_id);
297
+ //return;
298
+ var container_offset = {};
299
+ new_container_offset = jQuery('#products_page_container').offset();
300
+
301
+ if(container_offset['left'] == null) {
302
+ container_offset['left'] = new_container_offset.left;
303
+ container_offset['top'] = new_container_offset.top;
304
+ }
305
+
306
+ var button_offset = {};
307
+ new_button_offset = jQuery('#'+form_button_id).offset()
308
+
309
+ if(button_offset['left'] == null) {
310
+ button_offset['left'] = new_button_offset.left;
311
+ button_offset['top'] = new_button_offset.top;
312
+ }
313
+ // console.log((button_offset['left'] - container_offset['left'] + 10));
314
+ jQuery('#fancy_notification').css("left", (button_offset['left'] - container_offset['left'] + 10) + 'px');
315
+ jQuery('#fancy_notification').css("top", ((button_offset['top'] - container_offset['top']) -60) + 'px');
316
+
317
+
318
+ jQuery('#fancy_notification').css("display", 'block');
319
+ jQuery('#loading_animation').css("display", 'block');
320
+ jQuery('#fancy_notification_content').css("display", 'none');
321
+ }
322
+ }
323
+
324
+ function shopping_cart_collapser() {
325
+ switch(jQuery("#sliding_cart").css("display")) {
326
+ case 'none':
327
+ jQuery("#sliding_cart").slideToggle("fast",function(){
328
+ jQuery.post( 'index.php', "ajax=true&set_slider=true&state=1", function(returned_data) { });
329
+ jQuery("#fancy_collapser").attr("src", (WPSC_URL+"/images/minus.png"));
330
+ });
331
+ break;
332
+
333
+ default:
334
+ jQuery("#sliding_cart").slideToggle("fast",function(){
335
+ jQuery.post( 'index.php', "ajax=true&set_slider=true&state=0", function(returned_data) { });
336
+ jQuery("#fancy_collapser").attr("src", (WPSC_URL+"/images/plus.png"));
337
+ });
338
+ break;
339
+ }
340
+ return false;
341
+ }
342
+
343
+ function set_billing_country(html_form_id, form_id){
344
+ var billing_region = '';
345
+ country = jQuery(("select[class=current_country]")).val();
346
+ region = jQuery(("select[class=current_region]")).val();
347
+ if(/[\d]{1,}/.test(region)) {
348
+ billing_region = "&billing_region="+region;
349
+ }
350
+
351
+ form_values = "wpsc_ajax_action=change_tax&form_id="+form_id+"&billing_country="+country+billing_region;
352
+ jQuery.post( 'index.php', form_values, function(returned_data) {
353
+ eval(returned_data);
354
+ });
355
+ //ajax.post("index.php",changetaxntotal,("ajax=true&form_id="+form_id+"&billing_country="+country+billing_region));
356
+ }
357
+ function set_shipping_country(html_form_id, form_id){
358
+ var shipping_region = '';
359
+ country = jQuery(("div#"+html_form_id+" select[class=current_country]")).val();
360
+
361
+ if(country == 'undefined'){
362
+ // alert(country);
363
+ country = jQuery("select[title='billingcountry']").val();
364
+ }
365
+
366
+ region = jQuery(("div#"+html_form_id+" select[class=current_region]")).val();
367
+ if(/[\d]{1,}/.test(region)) {
368
+ shipping_region = "&shipping_region="+region;
369
+ }
370
+
371
+ form_values = "wpsc_ajax_action=change_tax&form_id="+form_id+"&shipping_country="+country+shipping_region;
372
+ jQuery.post( 'index.php', form_values, function(returned_data) {
373
+ eval(returned_data);
374
+ });
375
+ //ajax.post("index.php",changetaxntotal,("ajax=true&form_id="+form_id+"&billing_country="+country+billing_region));
376
+ }
langs/en.js ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ if(tinyMCE.addToLang) {
2
+ tinyMCE.addToLang('',{
3
+ insert_ecom_title : 'Insert e-Commerce category',
4
+ lang_dd_code_desc : 'Add an e-Commerce category list of your product'
5
+ });
6
+ }
7
+
8
+ if(tinyMCE.addI18n) {
9
+ tinyMCE.addI18n('en.ecom',{
10
+ insert_ecom_title : 'Insert e-Commerce category',
11
+ lang_dd_code_desc : 'Add an e-Commerce category list of your product'
12
+ });
13
+ }
languages/BG_bg.php ADDED
@@ -0,0 +1,585 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ This is a language file for the WP Shopping Cart plugin version 3.5
4
+ Language version 1.1 in Bulgarian by Galin Stoimenov, galin@ins.bg
5
+ */
6
+
7
+ define('TXT_WPSC_IMAGESIZEINFO', 'Забележка: ако това поле е празно, няма да се променят размерите на изображението.');
8
+ define('TXT_WPSC_RECEIVED', 'Поръчката е приета');
9
+ define('TXT_WPSC_ORDER_STATUS', 'Статус на поръчката');
10
+ define('TXT_WPSC_ORDER_SUMMARY', 'Вашата поръчка');
11
+ define('TXT_WPSC_LANGUAGE', 'Език');
12
+ define('TXT_WPSC_ACCEPTED_PAYMENT', 'Плащането е прието');
13
+ define('TXT_WPSC_JOB_DISPATCHED', 'Поръчката е изпълнена');
14
+ define('TXT_WPSC_PROCESSED', 'Поръчката е приключена');
15
+ define('TXT_WPSC_ECOMMERCE', 'e-Commerce');
16
+ define('TXT_WPSC_OPTIONS', 'Възможности за покупки');
17
+ define('TXT_WPSC_ADDPRODUCTS', 'Добави продукти');
18
+ define('TXT_WPSC_SENDSMS', 'Изпрати SMS');
19
+ define('TXT_WPSC_PRODUCTS', 'Продукти');
20
+ define('TXT_WPSC_ADDCATEGORY', 'Добави категория');
21
+ define('TXT_WPSC_CATEGORIES', 'Категории');
22
+ define('TXT_WPSC_BRANDS', 'Марки');
23
+ define('TXT_WPSC_VARIATIONS', 'Възможности');
24
+ define('TXT_WPSC_PURCHASELOG', 'Детайли за покупката');
25
+ define('TXT_WPSC_ORDER_LOG', 'Поръчки');
26
+ define('TXT_WPSC_OLDER_ORDERS', 'Стари поръчки');
27
+ define('TXT_WPSC_ORDER', 'Поръчка');
28
+ define('TXT_WPSC_TOTAL_THIS_MONTH', 'Спечелени пари за този месец');
29
+ define('TXT_WPSC_MONTHLY_REPORT', 'Шест месечен отчет');
30
+ define('TXT_WPSC_TOTAL_INCOME', 'Всички приходи');
31
+ define('TXT_WPSC_ACCEPTED_PAYMENTS', '(приети плащания)'); //texr has changed slightly
32
+ define('TXT_WPSC_PAYMENTGATEWAYOPTIONS', 'Възможности за плащане');
33
+ define('TXT_WPSC_HELPINSTALLATION', 'Помощ/Надстройка');
34
+ define('TXT_WPSC_EXAMPLECATEGORY', 'Примерна категория');
35
+ define('TXT_WPSC_EXAMPLEDETAILS', 'Примерни детайли');
36
+ define('TXT_WPSC_EXAMPLEBRAND', 'Примерна марка');
37
+ define('TXT_WPSC_PRODUCTIMAGEWIDTH', 'Ширина на изображението на продукта');
38
+ define('TXT_WPSC_PRODUCTIMAGEHEIGHT', 'Височина на изображението на продукта');
39
+ define('TXT_WPSC_CATEGORYIMAGEWIDTH', 'Ширина на изображението за категорията');
40
+ define('TXT_WPSC_CATEGORYIMAGEHEIGHT', 'Височина на изображението за категорията');
41
+ define('TXT_WPSC_PRODUCTLISTURL', 'Разположение на списъка с продукти');
42
+ define('TXT_WPSC_SHOPPINGCARTURL', 'Местоположение на количката за пазаруване');
43
+ define('TXT_WPSC_CHECKOUTURL', 'Разположение на страницата за финализиране на поръчката');
44
+ define('TXT_WPSC_TRANSACTURL', 'Разположение на детейлите за парични преводи');
45
+ define('TXT_WPSC_PAYMENTGATEWAY', 'Начин на плащане');
46
+ define('TXT_WPSC_CARTLOCATION', 'Местоположение на количката за пазаруване');
47
+ define('TXT_WPSC_SHOWCATEGORYBRANDS', 'Покажи категории или марки, или и двете');
48
+ define('TXT_WPSC_CURRENCYTYPE', 'Валута');
49
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Местоположение на знака за валутата');
50
+ define('TXT_WPSC_GSTRATE', 'процент ДДС');
51
+ define('TXT_WPSC_MAXDOWNLOADS', 'Ограничение на изтегляния');
52
+ define('TXT_WPSC_DISPLAYPNP', 'Покажи/скрий пощенски и опаковъчни такси');
53
+ define('TXT_WPSC_DISPLAYSPECIALS', 'Покажи/скрий промоции на страничното меню');
54
+ define('TXT_WPSC_POSTAGEAND_PACKAGING', 'Разходи за доставка и опаковане по подразбиране');
55
+ define('TXT_WPSC_PURCHLOGEMAIL', 'Имейл адрес, на който ще се изпратят детайлите по поръчката');
56
+ define('TXT_WPSC_RETURNEMAIL', 'Имейл адрес, от който се изпращат потвърждения за поръчката');
57
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Условия за ползване на онлайн магазина');
58
+ define('TXT_WPSC_DEFAULTBRAND', 'Марка по подразбиране');
59
+ define('TXT_WPSC_DEFAULTCATEGORY', 'Категория по подразбиране');
60
+ define('TXT_WPSC_PAYPALBUSINESS', 'Разплащане с Paypal');
61
+ define('TXT_WPSC_PAYPALURL', 'Интернет адрес за Paypal');
62
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Покажи оценка (рейтинг) на продуктите');
63
+ define('TXT_WPSC_PRODUCTSPAGE', 'Страница с продуктите');
64
+ define('TXT_WPSC_CHECKOUT', 'Потвърдете вашата поръчка');
65
+ define('TXT_WPSC_ENTERDETAILS', 'Въведете своите данни');
66
+ define('TXT_WPSC_TRANSACTIONRESULTS', 'Резултати от плащанията');
67
+ define('TXT_WPSC_SELECTACATEGORY', 'Изберете категория');
68
+ define('TXT_WPSC_SELECTABRAND', 'Изберете марка');
69
+ define('TXT_WPSC_PRODUCTNAME', 'Име на продукт');
70
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Описание на продукт');
71
+ define('TXT_WPSC_ADDITIONALDESCRIPTION', 'Допълнително описание');
72
+ define('TXT_WPSC_PRICE', 'Цена');
73
+ define('TXT_WPSC_TAXALREADYINCLUDED', 'Не включвай ДДС (ДДС е включен при финализиране на поръчката)'); // this text has changed and needs updating
74
+ define('TXT_WPSC_SPECIAL', 'Промоция / Цена'); // this text has changed and needs updating
75
+ define('TXT_WPSC_PRODUCT_DISPLAY', 'Показване на продукта');
76
+
77
+ define('TXT_WPSC_PRODUCTSTOCK', 'Продукти в наличност');
78
+
79
+ define('TXT_WPSC_UNTICKBOX', 'Има ограничени количества от този продукт. Ако се изчерпят количествата, продуктът няма да бъде показвана в магазина, докато не изключите отметката в полето или прибавите допълнителни количества.');
80
+ define('TXT_WPSC_LIMITED_STOCK', 'Ограничени количества');
81
+
82
+ define('TXT_WPSC_CATEGORY', 'Категория');
83
+ define('TXT_WPSC_BRAND', 'Марка');
84
+ define('TXT_WPSC_PRODUCT_VARS', 'Разновидности от продукта');
85
+ define('TXT_WPSC_ADD_VAR', 'Прибави група разновидности');
86
+ define('TXT_WPSC_EDIT_VAR', 'Редактирай група разновидности');
87
+ define('TXT_WPSC_SELECTAVARIATION', 'Избери вид');
88
+ define('TXT_WPSC_NEW_VARIATION', 'Създай нова разновидност');
89
+
90
+ define('TXT_WPSC_PRODUCTATT', 'Прикачение файлове за продукта');
91
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT', 'Закачи файл');
92
+ define('TXT_WPSC_FILETOBEPRODUCT', 'Забележка: Ако това поле е попълнено, прикаченият файл ще бъде продуктът за продажба.');
93
+ define('TXT_WPSC_RESIZEIMAGE', 'Промени размерите на миниатюрата');
94
+ define('TXT_WPSC_DONOTRESIZEIMAGE', 'Не променяй размерите на миниатюрата.');
95
+ // define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'използвай ширина и височина по подразбиране');
96
+ // define('TXT_WPSC_USE', 'употреба');
97
+ // define('TXT_WPSC_PXHEIGHTBY', 'височина пиксели');
98
+ // define('TXT_WPSC_PXWIDTH', 'ширина пиксели');
99
+
100
+ // pe.{
101
+ //define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'използвай височина и вирина по подразбиране');
102
+ // }.pe
103
+ define('TXT_WPSC_SEPARATETHUMBNAIL', 'използвай отделен файл за миниатюра'); // Needs Translation
104
+ define('TXT_WPSC_USE', 'използвай'); // Needs Translation
105
+ // pe.{
106
+ define('TXT_WPSC_USEDEFAULTSIZE', 'използвай размер по подразбиране'); // Needs Translation
107
+ define('TXT_WPSC_USESPECIFICSIZE', 'използвай конкретни размери'); // Needs Translation
108
+ define('TXT_WPSC_PXHEIGHT', 'височина пиксели'); // Needs Translation
109
+ define('TXT_WPSC_PXWIDTH', 'ширина пиксели'); // Needs Translation
110
+ // }.pe
111
+
112
+
113
+ define('TXT_WPSC_UPLOADNEWIMAGE', 'Смени изображението');
114
+ define('TXT_WPSC_DELETEIMAGE', 'Изтрий изображението');
115
+ define('TXT_WPSC_EDIT', 'Редактирай');
116
+ define('TXT_WPSC_DELETE', 'Изтрий');
117
+ define('TXT_WPSC_REMOVE', 'Премахни');
118
+ define('TXT_WPSC_NAME', 'Име');
119
+ define('TXT_WPSC_TYPE', 'Вид');
120
+ define('TXT_WPSC_MANDATORY', 'Задължително');
121
+ define('TXT_WPSC_DISPLAY_IN_LOG', 'Покажи<br /> в детайли');
122
+ define('TXT_WPSC_DESCRIPTION', 'Описание');
123
+ define('TXT_WPSC_CATEGORY_PARENT', 'Родителска категория');
124
+ define('TXT_WPSC_IMAGE', 'Изображение');
125
+ define('TXT_WPSC_HEIGHT', 'Височина');
126
+ define('TXT_WPSC_WIDTH', 'Ширина');
127
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Моля, въведете валиден');
128
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Моля, въведете валидно име');
129
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Моля, въведете валидно фамилно име');
130
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Моле, въведете валиден имейл адрес');
131
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Моля, въведете валиден адрес');
132
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Моля, въведете валиден телефонен номер');
133
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Не сте се съгласили с условията за ползване');
134
+ define('TXT_WPSC_NOTHINGINYOURSHOPPINGCART', 'Вашата количка за пазаруване е празна');
135
+ define('TXT_WPSC_SPECIALS', 'Промоции');
136
+ define('TXT_WPSC_BUY', 'Купи');
137
+ define('TXT_WPSC_SHOPPINGCART', 'Количка за пазаруване');
138
+ define('TXT_WPSC_NUMBEROFITEMS', 'Брой продукти');
139
+ define('TXT_WPSC_NOMOREAVAILABLE', 'Този продукт не е в наличност.');
140
+ define('TXT_WPSC_EMPTYYOURCART', 'Изпразнете количката');
141
+ define('TXT_WPSC_GOTOCHECKOUT', 'Финализиране на поръчката');
142
+ define('TXT_WPSC_CONTINUESHOPPING', 'Продължете пазаруването');
143
+ define('TXT_WPSC_YOURSHOPPINGCARTISEMPTY', 'Вашата количка е празна');
144
+ define('TXT_WPSC_VISITTHESHOP', 'Влезте в магазина');
145
+ define('TXT_WPSC_PAGES', 'Страници');
146
+ define('TXT_WPSC_OUTOF', 'от');
147
+ define('TXT_WPSC_VOTES', 'гласа.');
148
+ define('TXT_WPSC_CLICKSTARSTORATE', 'Щракнете на звездичките, за да оцените продукта');
149
+ define('TXT_WPSC_AVERAGERATINGOF', 'Средна оценка за');
150
+ define('TXT_WPSC_YOURVOTE', 'Вашият глас');
151
+ define('TXT_WPSC_AVERAGEVOTE', 'Средна оценка');
152
+ define('TXT_WPSC_YOUHAVEVOTED', 'Вие гласувахте');
153
+ define('TXT_WPSC_NOVOTES', 'Няма оценки');
154
+ define('TXT_WPSC_1VOTE', '1 глас');
155
+ define('TXT_WPSC_VOTES2', 'гласа');
156
+ define('TXT_WPSC_PERSONGIVEN', 'човек, гласувал за това изображение');
157
+ define('TXT_WPSC_PERSONGIVEN2', 'звезди.');
158
+ define('TXT_WPSC_PEOPLEGIVEN', 'хора, гласували за това изображение');
159
+ define('TXT_WPSC_PEOPLEGIVEN2', 'звезди.');
160
+ define('TXT_WPSC_ITEMHASBEENADDED', 'Продуктът беше добавен');
161
+ define('TXT_WPSC_ITEMHASNOTBEENADDED', 'Продуктът не беше добавен');
162
+ define('TXT_WPSC_ADDNEWCATEGORY', 'Добави нова категория');
163
+ define('TXT_WPSC_SUBMIT', 'Изпрати');
164
+ define('TXT_WPSC_SELECTAVALIDCATEGORY', 'Моля, изберете валидна категория');
165
+ define('TXT_WPSC_PRODUCTNAME', 'Име на продукта');
166
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Описание на продукта');
167
+ define('TXT_WPSC_ADDNEWPRODUCT', 'Добави продукт');
168
+ define('TXT_WPSC_PRODUCTQUANTITY', 'Количество продукти');
169
+ define('TXT_WPSC_PRODUCTIMAGE', 'Изображение на продукта');
170
+ define('TXT_WPSC_PRODUCTPRICE', 'Цена на продукта');
171
+ define('TXT_WPSC_NOTAX', 'без ДДС');
172
+ define('TXT_WPSC_ABOUT', 'Относно');
173
+ define('TXT_WPSC_ABOUTCONTENT', 'Добре дошли в контролния панел на WP e-commerce. <br /><br /><strong>Забележка:</strong> при някои инсталации количката за пазаруване може да се изпразни при всяко зареждане на страница. Ако това се случи, трябва да добавите следния ред:<br /><br />session_start();<br /><br />към index.php файла, в началната директория на Wordpress.<br />');
174
+ define('TXT_WPSC_CONTACTDETAILS', 'Моля, въведете вашите данни за връзка:');
175
+ define('TXT_WPSC_CREDITCARDHANDY', 'Вземете под внимание, че след като натиснете "Изпрати", ще ви е необходима вашата кредитна карта.');
176
+ define('TXT_WPSC_ASTERISK', 'Полетата, отбелязани със звездичка са задължителни.');
177
+ define('TXT_WPSC_FIRSTNAME', 'Име');
178
+ define('TXT_WPSC_LASTNAME', 'Фамилия');
179
+ define('TXT_WPSC_EMAIL', 'Имейл');
180
+ define('TXT_WPSC_ADDRESS', 'Адрес');
181
+ define('TXT_WPSC_ADDRESS1', 'Адрес 1');
182
+ define('TXT_WPSC_ADDRESS2', 'Адрес 2');
183
+ define('TXT_WPSC_CITY', 'Град');
184
+ define('TXT_WPSC_STATE', 'Област');
185
+ define('TXT_WPSC_COUNTRY', 'Страна');
186
+ define('TXT_WPSC_PHONE', 'Телефон');
187
+ define('TXT_WPSC_POSTAL_CODE', 'Пощенски код');
188
+ define('TXT_WPSC_TERMS1', 'Съгласен съм с ');
189
+ define('TXT_WPSC_TERMS2', 'Условията за ползване');
190
+
191
+
192
+ define('TXT_WPSC_TEXT', 'Текст');
193
+ define('TXT_WPSC_TEXTAREA', 'Текстово поле');
194
+ define('TXT_WPSC_HEADING', 'Заглавие');
195
+
196
+ define('TXT_WPSC_MAKEPURCHASE', 'Направете покупка');
197
+ define('TXT_WPSC_BUYPRODUCTS', 'Моля, купете някои продукти, преди да използвате тази страница');
198
+ define('TXT_WPSC_BRANDHASBEENEDITED', 'Марката беше редактирана.');
199
+ define('TXT_WPSC_SURETODELETEPRODUCT', 'Сигурни ли сте, че искате да изтриете този продукт?');
200
+ define('TXT_WPSC_ADDBRAND', 'Добавете марка');
201
+ define('TXT_WPSC_DISPLAYBRANDS', 'Покажи марките');
202
+ define('TXT_WPSC_EDITBRAND', 'Редактирайте марка');
203
+ define('TXT_WPSC_ADD', 'Добави');
204
+ define('TXT_WPSC_ADD_NEW_FORM', 'Добави ново поле за попълване');
205
+ define('TXT_WPSC_SAVE_CHANGES', 'Запази промените');
206
+
207
+ define('TXT_WPSC_CATEGORYHASBEENEDITED', 'Категорията беше редактирана.');
208
+ define('TXT_WPSC_DISPLAYCATEGORIES', 'Покажи категориите');
209
+ define('TXT_WPSC_ADDCATEGORY', 'Добави категория');
210
+ define('TXT_WPSC_EDITCATEGORY', 'Редактирай категория');
211
+ define('TXT_WPSC_ALLCATEGORIES', 'Всички категории');
212
+
213
+ define('TXT_WPSC_DISPLAYVARIATIONS', 'Покажи разновидностите');
214
+ define('TXT_WPSC_ADDVARIATION', 'Добави група разновидности');
215
+ define('TXT_WPSC_EDITVARIATION', 'Редактирай група разновидности');
216
+ define('TXT_WPSC_VARIATIONHASBEENEDITED', 'Разновидността беше редактирана.');
217
+ define('TXT_WPSC_VARIATION_VALUES', 'Величини на разновидностите');
218
+ define('TXT_WPSC_REMOVE_SET', 'Изтрий тази група'); //this needs to be translated
219
+
220
+ define('TXT_WPSC_SELECT_PARENT', 'Избери родителска категория');
221
+ define('TXT_WPSC_PRODUCTHASBEENEDITED', 'Продуктът беше редактиран.');
222
+ define('TXT_WPSC_ADDPRODUCT', 'Добави продукт');
223
+ define('TXT_WPSC_DISPLAYPRODUCTS', 'Покажи продукти');
224
+ define('TXT_WPSC_PLEASESELECTACATEGORY', 'Моля, изберете категория');
225
+ define('TXT_WPSC_STOCK', 'Склад');
226
+ define('TXT_WPSC_PNP', 'PnP'); // да се преведе
227
+ define('TXT_WPSC_EDITITEM', 'Редактирай продукта');
228
+ define('TXT_WPSC_PRODUCTDETAILS', 'Детайли на продукта');
229
+ define('TXT_WPSC_SELECT_PRODUCT', 'Изберете съшествуващ продукт');
230
+ define('TXT_WPSC_ENTERPRODUCTDETAILSHERE', '(въведете тук детайлите за вашия продукт)');
231
+ define('TXT_WPSC_ADDITIONALPRODUCTDESCRIPTION', 'Допълнително описание на продукта');
232
+ define('TXT_WPSC_ADDITEM', 'Добави продукт');
233
+ define('TXT_WPSC_CHOOSEACATEGORY', 'Изберете категория');
234
+ define('TXT_WPSC_CHOOSEABRAND', 'Изберете марка');
235
+ define('TXT_WPSC_USETHEACTUALIMAGE', 'използвай реалните размери на изображението. Не променяй размерите.');
236
+ define('TXT_WPSC_DISPLAYPURCHASES', 'Детайли за поръчките');
237
+ define('TXT_WPSC_ID', 'ID');
238
+ define('TXT_WPSC_TRANSACTIONSTATUS', 'Статус на разплащането');
239
+ define('TXT_WPSC_DATE', 'Дата');
240
+ define('TXT_WPSC_VIEWDETAILS', 'Детайли'); //Text has changed - translation is needed
241
+ define('TXT_WPSC_STATUS', 'Статус');
242
+ define('TXT_WPSC_SUCCESSFUL', 'Успешно');
243
+ define('TXT_WPSC_FAILED', 'Неуспешно');
244
+ define('TXT_WPSC_GST', 'ДДС');
245
+ define('TXT_WPSC_PP', 'P&amp;P');
246
+ define('TXT_WPSC_TOTAL', 'Всичко');
247
+ define('TXT_WPSC_FINALTOTAL', 'Всичко общо');
248
+ define('TXT_WPSC_CUSTOMERDETAILS', 'Детайли за клиента');
249
+ define('TXT_WPSC_USERSCARTWASEMPTY', 'Количката на този потребител беше празна');
250
+ define('TXT_WPSC_GOBACK', 'Обратно');
251
+ define('TXT_WPSC_THANKSAPPLIED', 'Благодарим Ви. Вашите промени бяха отразени.');
252
+ define('TXT_WPSC_FORM_FIELDS', 'Възможности за приключване на поръчката');
253
+ define('TXT_WPSC_PAYMENTGATEWAY2', 'Възможности за разплащане');
254
+ define('TXT_WPSC_PLEASESELECTAPAYMENTGATEWAY', 'Моля, изберете начин на плащане');
255
+ define('TXT_WPSC_PAYMENTGATEWAYNOTE', '<strong>Забележка:</strong> Тази версия на e-Commerce плъгина позволява разплащания само с PayPal.<br /><br />Ако желаете по-професионално, а не само с PayPal решение, ние можем да ви предложим <a href="http://www.instinct.co.nz/blogshop">златна версия на e-Commerce</a>, чийто интерфейс е подобен на authorize.net, DPS (www.dps.co.nz), и paystation (www.paystation.co.nz).');
256
+ define('TXT_WPSC_URLSETTINGS', 'URL настройки');
257
+ define('TXT_WPSC_PRODUCTLISTURL', 'URL на списък с продуктите');
258
+ define('TXT_WPSC_SHOPPINGCARTURL', 'URL на количката за пазаруване');
259
+ define('TXT_WPSC_CHECKOUTURL', 'URL за финализиране на поръчката');
260
+ define('TXT_WPSC_TRANSACTIONDETAILSURL', 'URL за подробности по разплащането');
261
+ define('TXT_WPSC_PRESENTATIONSETTINGS', 'Презентационни настройки');
262
+ define('TXT_WPSC_CARTLOCATION', 'Местоположение на количката');
263
+ define('TXT_WPSC_SIDEBAR', 'Странично меню');
264
+ define('TXT_WPSC_PAGE', 'Страница');
265
+ define('TXT_WPSC_WIDGET', 'Widget'); //uses the English word
266
+ define('TXT_WPSC_NEEDTOENABLEWIDGET', 'За да използвате тази функция, трябва да активиране плъгина за widgets');
267
+ define('TXT_WPSC_MANUAL', 'Ръководство');
268
+ define('TXT_WPSC_SHOWCATEGORIESBRANDS', 'Покажи Категории/Марки');
269
+ define('TXT_WPSC_BOTH', 'Двете');
270
+ define('TXT_WPSC_PRODUCTTHUMBNAILSIZE', 'Размери на миниатюрата за продукт по подразбиране');
271
+ define('TXT_WPSC_CATEGORYTHUMBNAILSIZE', 'Размери на миниатюрата за категория по подразбиране');
272
+ define('TXT_WPSC_SHOWPOSTAGEANDPACKAGING', 'Покажи пощенски и опаковъчни разходи');
273
+ define('TXT_WPSC_YES', 'Да');
274
+ define('TXT_WPSC_NO', 'Не');
275
+ define('TXT_WPSC_SHOWSPECIALS', 'Показвай промоции в страничното меню');
276
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Покажи оцениките за продуктите');
277
+ define('TXT_WPSC_CURRENCYSETTINGS', 'Настройки за валута');
278
+ define('TXT_WPSC_GSTTAXRATE', 'процент за ДДС');
279
+ define('TXT_WPSC_CURRENCYTYPE', 'Вид валута');
280
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Местоположение на знака за валутата');
281
+ define('TXT_WPSC_DEFAULTPOSTAGEPACKAGING', 'Стандартни пощенски и опаковъчни разходи');
282
+ define('TXT_WPSC_ADMINISTRATIONSETTINGS', 'Админмистративни настройки');
283
+ define('TXT_WPSC_MAXDOWNLOADSPERFILE', 'Максимално допустими изтегляния за файл');
284
+ define('TXT_WPSC_PURCHASELOGEMAIL', 'Имейл за детайлите по поръчката');
285
+ define('TXT_WPSC_REPLYEMAIL', 'Имейл за отговор');
286
+ define('TXT_WPSC_BRANDNOCAP', 'марка');
287
+ define('TXT_WPSC_CATEGORYNOCAP', 'категория');
288
+ define('TXT_WPSC_UDPATING', 'Надстройване');
289
+ define('TXT_WPSC_UPDATING', 'Надстройване');
290
+ define('TXT_WPSC_MOREDETAILS', 'Повече детайли');
291
+ define('TXT_WPSC_ADDTOCART', 'Добави в поръчки');
292
+ define('TXT_WPSC_AVGCUSTREVIEW', 'Средна оценка на клиентите');
293
+ define('TXT_WPSC_YOURRATING', 'Вашата оценка');
294
+ define('TXT_WPSC_RATING_SAVED', 'Записано');
295
+ define('TXT_WPSC_RATETHISITEM', 'Оцени този продукт');
296
+ define('TXT_WPSC_PRODUCTSOLDOUT', 'Този продукт е изчерпан.');
297
+ define('TXT_WPSC_NOITEMSINTHIS', 'Няма продукти в тази');
298
+ define('TXT_WPSC_CATEGORYORBRAND', 'категория или марка');
299
+ define('TXT_WPSC_PLEASECHOOSEA', 'Моля, изберете');
300
+ define('TXT_WPSC_PRODUCT', 'Продукт');
301
+ define('TXT_WPSC_QUANTITY', 'количество');
302
+ define('TXT_WPSC_QUANTITY_SHORT', 'к-во'); //translation needed
303
+ define('TXT_WPSC_APPLY', 'Приложи');
304
+ define('TXT_WPSC_MAKEPAYMENT', 'Извърши плащане');
305
+ define('TXT_WPSC_EMPTYSHOPPINGCART', 'Изпразни количката');
306
+ define('TXT_WPSC_TOTALPRICE', 'Цена на всички покупки');
307
+ define('TXT_WPSC_NOITEMSINTHESHOPPINGCART', 'Няма покупки във Вашата количка');
308
+ define('TXT_WPSC_EMAILMSG1', "Благодарим Ви! Вашата поръчката е приета, всички продукти, определени за доставка ще бъдат експедирани възможно най-скоро, всички закупени файлове за изтегляне можете да изтеглите веднага от връзките на тази страница.\n\r\n\rВсички цени включват ДДС, пощенски и опаковъчни такси, там, където е необходимо.\n\r\n\rВие закупихте следните продукти:\n\r\n\r");
309
+ define('TXT_WPSC_EMAILMSG2', ".\n\rТези продукти бяха закупени:\n\r\n\r");
310
+ define('TXT_WPSC_CLICKTODOWNLOAD', 'Щракнете тук за изтегляне');
311
+ define('TXT_WPSC_DOWNLOAD', 'Изтегляне');
312
+ define('TXT_WPSC_YOURTRANSACTIONID', 'Вашият разплащателен номер');
313
+ define('TXT_WPSC_TRANSACTIONID', 'Номер на разплащане');
314
+ define('TXT_WPSC_PURCHASERECEIPT', 'Бон за покупката');
315
+ define('TXT_WPSC_PURCHASEREPORT', 'Отчет за покупката');
316
+ define('TXT_WPSC_THETRANSACTIONWASSUCCESSFUL', 'Разплащането е успешно');
317
+ define('TXT_WPSC_THETRANSACTIONWASNOTSUCCESSFUL', 'Разплащането не бе осъществено');
318
+ define('TXT_WPSC_GOBACKTOCHECKOUT', 'Върнете се при приключване на поръчката');
319
+ define('TXT_WPSC_SPECIALPRICE', 'Промоционална цена');
320
+
321
+ define('TXT_WPSC_INSTRUCTIONS', '
322
+ Стъпки при инсталиране
323
+ <ul class=\'installation\'>
324
+ <li>Разархивирайте съдържанието на zip файла в папка wp-content/plugins.</li>
325
+ <li>Активирайте плъгина от страницата за плъгини на Wordpress</li>
326
+ <li>Отидете на "Payment Gateway Options" (Възможности за разплащане) в таб "e-Commerce" и въведете необходимите детайли. (Начинът за плащане чрез Paypal по подразбиране е paypal sandbox)</li>
327
+ <li>Създайте категории, като използвате страниците за категории и продукти</li>
328
+ </ul>
329
+
330
+ <p>Ако надстройвате от предишна версия на плъгина, препоръчваме ви да деактивирате и активирате отново плъгина от страницата за плъгини на Wordpress. </p>
331
+
332
+ <h2>Надстройки и модули</h2>
333
+
334
+ <p>Ще намерите повече информация за следните WP e-Commerce модули като посетите уебсайта на <a href="http://www.instinct.co.nz/blogshop">Instinct BlogShop</a>.</p>
335
+
336
+ <ul class=\'installation\'>
337
+ <li>Злато</li>
338
+ <li>Пъхни в количката - магазин</li>
339
+ <li>Аудио плеър</li>
340
+ <li>Изглед по решетка</li>
341
+ </ul>
342
+
343
+ <h2>Списък с желания</h2>
344
+ <p>Ако желаете нова функционалност, която в момента не се поддържа от WP e-Commerce, тук можете да <a href="http://www.instinct.co.nz/contact-us/">направите поръчка за изработване</a> или да го добавите към списъка с желания във <a href="http://instinct.co.nz/blogshop/support-forums/">форумите</a>.
345
+
346
+ <h2>Съвети за потребителски настройки</h2>
347
+ <p><strong>Tax</strong><br />Ако е необходимо, можете да въведете необходимите данни за ДДС и други данъци в "Настройки за ДДС/данъци" в страницата "Опции" в таб "e-Commerce".</p>
348
+ <p><strong>Изпращане на детайли за поръчните по имейл</strong><br />Ако добавите имейл адрес за изпращане на детайли за поръчките, това ще бъде имейлът, на който ще се изпращат детайли, всеки път, когато бъде направена поръчка.</p>
349
+ <p><strong>Скриване на страници</strong><br />
350
+ За да предотвратите появата на количката за пазаруване, Приключване на поръчката и Детайли по поръчката в списъка със страниците, първо трябва да намерите техните абсолютни адреси.<br />
351
+ <br />Тогава трябва да редактирате файла от използваната тема, в който се описват и показват страници. Обикновено това е sidebar.php, там трябва да откриете ред, подобен на:<br />
352
+ <br />"&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;/h2&gt;\' ); ?&gt;"<br />
353
+ и да го смените с<br />
354
+ "&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;h2&gt;&amp;exclude=3,4,5\'); ?&gt;"<br />
355
+ <br />Думата "exclude" казва кои страници да не бъдат показвани. Сменете 3,4,5 с абсолютните адреси на страниците, които искате да не се виждат. </p>
356
+ <p><strong>Функции за изображенията</strong><br />
357
+ Ако вашият сървър няма инсталирани PHP image functions, вие няма да можете да променяте размерите на изображенията след като те бъдат качени на сървъра.</p>
358
+ <p><strong>Абсолютни адреси</strong><br />
359
+ По този въпрос правим каквото можем.
360
+ За момента не сме открили наистина добър метод да прескочим задължителните променливи от страница на страница, използвайки абсолютни адреси, които не използват mod_rewrite, ако не можете да използвате mod_rewrite, възможно е плъгина да не функционира с включена опция за абсолютни адреси.</p>
361
+ <p><strong>Javascript и Ajax </strong><br />
362
+ e-commerce lite използва Ajax, количката, която потребителят вижда, може да работи без Javascript, но Административните страници, (по-специално страниците Продукти и Категории) не. За да използвате Административната секция, вие е необходим съвременен уеб-браузер с включен Javascript. (Internet Explorer 6 или по-нов, Firefox 1.0 или по-нов, старите версии на тези браузъри не са тествани и е възможно да не работят.</p>
363
+ <p><strong>Повече за Flickr</strong><br />
364
+ Създали сме известен брой <a href="http://www.google.com/search?q=flickr+wp+e-commerce&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a">възуални упътвания</a> за Flickr.
365
+
366
+ ');
367
+
368
+
369
+ define('TXT_WPSC_SHIPPINGSETTINGS', 'Настройки за доставката');
370
+ define('TXT_WPSC_BASE_LOCAL', 'Основни настройки за вътрешна доставка');
371
+ define('TXT_WPSC_BASE_INTERNATIONAL', 'Основни настройки за международна доставка');
372
+ define('TXT_WPSC_BASE_COUNTRY', 'Страна/регион по подразбиране');
373
+
374
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Допълнителни разходи за доставка'); // this needs updating
375
+ define('TXT_WPSC_LOCAL_PNP', 'Местна такса за доставка'); // this needs updating
376
+ define('TXT_WPSC_INTERNATIONAL_PNP', 'Международна такса за доставка'); // this needs updating
377
+ define('TXT_WPSC_SHIPPING_NOTE', 'Забележка: цената за доставка се начислява веднъж за определен продукт, независимо от поръчаните количества.');
378
+ define('TXT_WPSC_COUNTRY_FORM_FIELD', 'Поле за страна');
379
+ define('TXT_WPSC_COUNTRY_FORM_FIELD_EXPLANATION', '(изберете кое поле от страницата за приключване на поръчка да използвате за избор на страна за доставка)');
380
+
381
+ define('TXT_WPSC_SHIPPING', 'Доставка');
382
+ define('TXT_WPSC_EMAIL_FORM_FIELD', 'Поле за имейл');
383
+ define('TXT_WPSC_EMAIL_FORM_FIELD_EXPLANATION', '(изберете кое поле от страницата за приключване на поръчка да използвате за избор на имейл на клиента)');
384
+
385
+
386
+ define('TXT_WPSC_PRODUCTIMAGES', 'Изображения на продукти');
387
+ define('TXT_WPSC_PRODUCTDOWNLOAD', 'Изтегляне на продукт');
388
+ define('TXT_WPSC_SHOWTHUMBNAILS', 'Покажи миниатюри');
389
+ define('TXT_WPSC_ADD_ADDITIONAL_IMAGE', 'Прибави допълнително изображение');
390
+ define('TXT_WPSC_DELETE_IMAGE', 'Изтрий изображението');
391
+ define('TXT_WPSC_GOLD_OPTIONS', 'Опции за план "Злато"');
392
+ define('TXT_WPSC_ACTIVATE_SETTINGS', 'Настойки за активация');
393
+ define('TXT_WPSC_ACTIVATION_KEY', 'Ключ за активация');
394
+ define('TXT_WPSC_THANKSACTIVATED', 'Благодарим Ви. План "Злато" беше активиран.');
395
+ define('TXT_WPSC_NOTACTIVATED', 'Съжаляваме, API ключът е невалиден.');
396
+ define('TXT_WPSC_DEFAULT', 'По подразбиране');
397
+ define('TXT_WPSC_LIST', 'Списък');
398
+ define('TXT_WPSC_VISIBLE', 'Видим');
399
+ define('TXT_WPSC_DELETE_PRODUCT', 'Изтрий продукт');
400
+ define('TXT_WPSC_ADDITIONAL_IMAGE', 'Допълнително изображение');
401
+ define('TXT_WPSC_GATEWAY_OPTIONS', 'възможности за приключване');
402
+ define('TXT_WPSC_SHIPPING_COUNTRY', 'Изберете страна за доставка');
403
+ define('TXT_WPSC_CONFIRM_TOTALS', 'Потвърдете крайната сума, преди да платите:');
404
+ define('TXT_WPSC_CHECKOUT_FORM_FIELDS_DESCRIPTION', 'Тук можете да направите потребителски настройки за това кои полета да бъдат използвани при приключване на поръчката. Страницата за приключване на поръчката е тази, в която се събира важна информация за клиента, както и данни за поръчката.');
405
+ define('TXT_WPSC_PAYMENT_OPTIONS', 'Възможности за разплащане');
406
+ define('TXT_WPSC_PAYMENT_DESCRIPTION', 'Изберете кои възможности за разплащане желаете да предоставите при приключване на поръчката. По подразбиране клиентите могат да плащат само с кредитна карта, но вие може да желаете да им дадете възможност за плащане в брой. В такъв случай трябва да изберере "кредитна карта" + "плащане в брой"');
407
+
408
+ define('TXT_WPSC_DEFAULT_GATEWAY_ONLY', ' само');
409
+ define('TXT_WPSC_PLUS_MANUAL_PAYMENT', ' плюс плащане в брой');
410
+ define('TXT_WPSC_PAYMENT_METHOD', 'Начин на плащане');
411
+ define('TXT_WPSC_PAY_USING', 'Плати, използвайки');
412
+ define('TXT_WPSC_PAY_MANUALLY', 'Плати с чек/банков превод');
413
+ define('TXT_WPSC_CREDIT_CARD', 'кредитна карта');
414
+ define('TXT_WPSC_ADJUSTABLE_QUANTITY', 'Покажи количеството в списъка');
415
+ define('TXT_WPSC_RSS_FEED_HEADER', 'Абонирайте се за вашите поръчки');
416
+ define('TXT_WPSC_RSS_FEED_LINK', 'Абонирайте се за RSS новини');
417
+ define('TXT_WPSC_RSS_FEED_TEXT', 'свързани с вашите поръчки');
418
+ define('TXT_WPSC_INITIAL_SETUP', 'Създадени настройки по подразбиране.');
419
+ define('TXT_WPSC_PLUGIN_NEWS_HEADER', 'Новини за плъгина');
420
+
421
+
422
+ define('TXT_WPSC_PLUGIN_NEWS', '
423
+
424
+ <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank">WP DropShop Модулът</a> е последният и най-модерен начин за пазаруване в момента в интернет. В комбинация с "каталогов изглед" всички ще говорят за вашия сайт!<br/><br/>
425
+
426
+ <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank">Модулът за каталогов изглед</a> е визуален модул, създаден за да подобри изгледа на страницата с продукти.<br/><br/>
427
+
428
+ <a href="http://www.instinct.co.nz/wp-campaign-monitor/100">Модулът за наблюдение на продажбите</a> е имейл бюлетин за потребители на WP, които искат да изпращат информация за промоции, да следят резултатите от продажбите и да редактират списък с абонати. Последната версия на модула е интегрирана с e-commerce lite. Така вие ще може да изпращате на клиентите си бюлетини и допълнителна информация.
429
+
430
+ ');
431
+
432
+
433
+ define('TXT_WPSC_POWERED_BY', 'Този магазин се поддържа от ');
434
+
435
+ define('TXT_WPSC_NO_PURCHASES', 'Все още няма направени покупки.');
436
+
437
+
438
+ define('TXT_WPSC_DELIVERY_ADDRESS', 'Адрес за доставка');
439
+ define('TXT_WPSC_DELIVERY_CITY', 'Град за доставка');
440
+ define('TXT_WPSC_DELIVERY_COUNTRY', 'Страна за доставка');
441
+ define('TXT_WPSC_MP3_SETTINGS', 'MP3 настройки');
442
+ define('TXT_WPSC_MP3_SETTINGS_DESCRIPTION', 'За да създаде 30-секунден MP3 клип, този плъгин има нужда от <a href=\'http://sox.sourceforge.net/\'>SoX</a> компонент с поддръжка на MP3. Въведете връзката до SoX тук.');
443
+ define('TXT_WPSC_SOX_PATH', 'SoX връзка');
444
+ define('TXT_WPSC_PREVIEW', 'Предварителен изглед');
445
+ define('TXT_WPSC_DOWNLOAD_CSV', 'Изтегли CSV');
446
+ define('TXT_WPSC_PREVIEW_FILE', 'Предварителен изглед на файла');
447
+ define('TXT_WPSC_NEW_PREVIEW_FILE', 'Нов предварителен изглед на файла');
448
+ define('TXT_WPSC_REPLACE_PRODUCT', 'Смени продукта');
449
+ define('TXT_WPSC_TOTALSHIPPING', 'Всичко доставки');
450
+ define('TXT_WPSC_DISPLAY_FRONT_PAGE', 'Покажи на първа страница');
451
+ define('TXT_WPSC_SEARCH_FOR', 'Търси за');
452
+ define('TXT_WPSC_YOUR_SEARCH_FOR', 'Вашето търсене за');
453
+ define('TXT_WPSC_RETURNED_NO_RESULTS', 'не беше успешно. Няма резултати.');
454
+ define('TXT_WPSC_POSTAGE', 'Пощенски разходи');
455
+ define('TXT_WPSC_SUBTOTAL', 'Subtotal');
456
+
457
+
458
+ //everything under here needs translations, added after 19/1/2007
459
+
460
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Моля, въведете валиден');
461
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Моля, въведете името си.');
462
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Моля, въведете фамилното си име.');
463
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Моля, въведете валиден имейл адрес.');
464
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Моля, напишете пълния си адрес.');
465
+ define('TXT_WPSC_PLEASEENTERAVALIDCITY', 'Моля, въведете град.');
466
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Моля, въведете валиден телефонен номер.');
467
+ define('TXT_WPSC_PLEASESELECTCOUNTRY', 'Моля, изберете страна от списъка.');
468
+ define('TXT_WPSC_PLEASEAGREETERMSANDCONDITIONS', 'Моля, отбележете опцията за Условия зьа ползване. В противен случай, за съжаление няма да можем да приемем поръчката Ви.');
469
+ define('TXT_WPSC_POSITION', 'Позиция');
470
+
471
+ define('TXT_WPSC_DELIVERY_REGION', 'Регион за доставка');
472
+
473
+
474
+ define('TXT_WPSC_GENERAL_SETTINGS', 'Общи настройки');
475
+ define('TXT_WPSC_TAX_SETTINGS', 'ДДС настройки');
476
+ define('TXT_WPSC_POSTAGE_AND_TAX', 'Пощенски разходи и ДДС');
477
+ define('TXT_WPSC_GRID', 'Решетка/Каталогов изглед');
478
+ define('TXT_WPSC_CANT_MOVE_CATEGORY', 'Не можете да премествате категория заедно с подкатегории.');
479
+ define('TXT_WPSC_SURETODELETECATEGORY', 'Сигурни ли сте, че искате да изтриете тази категория? Ако тя има подкатегории, те ще бъдат изтрити също.');
480
+ define('TXT_WPSC_VARIATION', 'Разновидност');
481
+ define('TXT_WPSC_OVER_TWO_VARIATIONS', 'Функцията за управление на цените и складовите наличности няма да работи, ако имате повече от две разновидности.');
482
+ define('TXT_WPSC_PRICE_AND_STOCK_CONTROL', 'Управление на цените и складовите наличности') ;
483
+
484
+ // pe.{
485
+ define('TXT_WPSC_CATSBRANDSLOCATION', 'Местоположение на категориите и марките');
486
+ define('TXT_WPSC_DESCITEMSEPARATOR', ' : ');
487
+ define('TXT_WPSC_SEARCHITEMSEPARATOR', ' : ');
488
+ define('TXT_WPSC_SINGLE_SHIPPING_COUNTRY', 'Страна за доставка:');
489
+ define('TXT_WPSC_ADD_ANOTHER_VARIATION', 'Добави разновидност');
490
+ // }.pe
491
+ define('TXT_WPSC_PRODUCT_CATEGORIES', 'Продуктови категории');
492
+ define('TXT_WPSC_THANKS_DELETED', 'Благодарим ви, детайлите по поръчката бяха изтрити');
493
+ define('TXT_WPSC_PRODUCT_IMAGE_PREVIEW', 'Изображение на продукта');
494
+ define('TXT_WPSC_PRODUCT_THUMBNAIL_PREVIEW', 'Миниатюра на продукта');
495
+ define('TXT_WPSC_REMOVE_LOG', 'Изтрий този запис от детайлите по поръчката');
496
+ define('TXT_WPSC_CATSANDBRAND', 'Категории и марки');
497
+ define('TXT_WPSC_GOLD_DROPSHOP', 'DropShop магазин');
498
+ define('TXT_WPSC_NEEDTOENABLEDROPSHOP', 'За да ползвате тази функция е необходимо да инсталирате план "Злато" и "DropShop магазин"');
499
+ define('TXT_WPSC_DRAG_ITEM_HERE', 'Просто свалете с мишката продукта, за да го добавите към поръчката си.');
500
+ define('TXT_WPSC_SHOWCATEGORYTHUMBNAILS', 'Покажи миниатюрите на категориите');
501
+ define('TXT_WPSC_SHOPPING_CART', 'Количка за пазаруване');
502
+ define('TXT_WPSC_SHOW_SLIDING_CART', 'Покажи подвижна количка');
503
+ define('TXT_WPSC_PREVIEW_FILE', 'Закачи файл за преглед');
504
+ define('TXT_WPSC_PREVIEW_FILE_NOTE', 'Забележка: Ако не качите файл за преглед и Вашият сървър има sox компонент с поддръжка на MP3, то файлът за прегледа ще бъде автоматично създаден за Вас.');
505
+ define('TXT_WPSC_PURCHASE_NUMBER', 'Поръчка номер');
506
+ define('TXT_WPSC_FILTER_ORDER', 'Филтриране на поръчките');
507
+ define('TXT_WPSC_SHOW_SEARCH', 'Покажи търсенето');
508
+ define('TXT_WPSC_LOG_CURRENT_MONTH', 'Покажи резултатите от текущия месец');
509
+ define('TXT_WPSC_LOG_PAST_THREE_MONTHS', 'Покажи резултатите от последните три месеца');
510
+ define('TXT_WPSC_LOG_ALL', 'Покажи всички резултати');
511
+ define('TXT_SHOW_IMAGES_ONLY', 'Покажи само изображенията');
512
+ define('TXT_WPSC_SHOW_GALLERY', 'Покажи галерия с миниатюри');
513
+ define('TXT_WPSC_PLEASE_SELECT', 'Моля, изберете');
514
+ define('TXT_WPSC_TXN_ID', 'Номер на превода');
515
+ define('TXT_WPSC_SINGLE_PRODUCTTHUMBNAILSIZE', 'Размер на изображението за един продукт');
516
+ define('TXT_WPSC_RESET', 'Занули');
517
+ define('TXT_WPSC_ORDER_PENDING', 'Благодарим Ви. Заявката е в процес на обработка. Ще получите имейл, когато заявката Ви е приета.');
518
+ define('TXT_WPSC_ORDER_FAILED', 'Съжаляваме, но заявката Ви не може да бъде приета. Най-вероятната причина за това е недостатъчно количество във Вашата сметка.');
519
+ // Adrian - added for the options I added
520
+ define('TXT_WPSC_SHOW_CATEGORY_COUNT', 'Покажи брояч за продукти за всяка категория');
521
+ define('TXT_WPSC_CATSPRODS_DISPLAY_TYPE', 'Показване на категории/продукти');
522
+ define('TXT_WPSC_CATSPRODS_TYPE_CATONLY', 'Само категории (Показване на всички продукти)');
523
+ define('TXT_WPSC_CATSPRODS_TYPE_SLIDEPRODS', 'Подвижни категории (по 1 продукт на всяка станица)');
524
+ // Adrian - END new added options
525
+ define('TXT_WPSC_ORDER_DETAILS', 'Детайли за поръчката');
526
+ define('TXT_WPSC_SAVE_PROFILE', 'Запиши профила');
527
+ define('TXT_WPSC_USERACCOUNTURL', 'URL на потребителски акаунт');
528
+ define('TXT_WPSC_MUST_BE_LOGGED_IN', 'Трябва да влезете в системата,за да използвате тази страница. Моля, използвайте формата долу, за да влезете във Вашия акаунт.');
529
+ define('TXT_WPSC_YOUR_ACCOUNT', 'Вашият акаунт');
530
+
531
+ define('TXT_WPSC_YOU_JUST_ADDED', 'Вие добавихте "[product_name]" към Вашата поръчка.');
532
+ define('TXT_WPSC_SORRY_NONE_LEFT', 'Съжаляваме, но продуктът "[product_name]" не е в наличност.');
533
+
534
+ define('TXT_WPSC_CONTINUE_SHOPPING', 'Продължете пазаруването');
535
+ define('TXT_WPSC_ITEM_GONE_OUT_OF_STOCK', 'Изглежда, че някой от поръчаните продукти вече не е в наличност, моля, върнете се и редактирайте вашата поръчка.');
536
+ define('TXT_WPSC_DISPLAY_FANCY_NOTIFICATIONS', 'Покажи съобщения за луксозни поръчки');
537
+ define('TXT_WPSC_IF_USER_CHECKOUT', 'Ако имате потребителски акаунт, моля ');
538
+ define('TXT_WPSC_LOG_IN', 'влезте в него.');
539
+ define('TXT_WPSC_IS_DONATION', 'е дарение');
540
+ define('TXT_WPSC_DONATION', 'Дарение');
541
+ define('TXT_WPSC_DONATION_LC', 'дарение');
542
+ define('TXT_WPSC_DONATION_SHIPPING', 'Няма доставка за даренията');
543
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT_URL', 'Име на файла на продукта');
544
+ define('TXT_WPSC_FILETOBEPRODUCTURL', 'Забележка: Качете вашия файл в директорията wp-shopping-cart/files и напишете името на файла тук.');
545
+ define('TXT_WPSC_DONATIONS', 'Дарения');
546
+ define('TXT_WPSC_WRONG_FILE_PERMS', 'Следните директории не са свободни за запис: :directory: Няма да можете да качите никакви изображения или файлове тук, докато не смените настройките (permissions) за тези категории, за да ги направите свободни за запис. Най-лесно - chmod - 777.');
547
+ define('TXT_WPSC_RESET_API', 'Занули API ключа');
548
+ define('TXT_WPSC_PRODUCTS_PER_PAGE', 'Продукти на страница');
549
+ define('TXT_WPSC_OPTION_PRODUCTS_PER_PAGE', 'брой на продуктите, които да се показват на една страница');
550
+ define('TXT_WPSC_PAGE_NUMBER_POSITION', 'Местоположение на индекса за номер на страницата');
551
+
552
+
553
+ define('TXT_WPSC_YOUR_BILLING_CONTACT_DETAILS', '1. Вашите детайли');
554
+ define('TXT_WPSC_DELIVER_TO_A_FRIEND', '2. Детайли за доставката');
555
+ define('TXT_WPSC_E_COMMERCE', 'e-Commerce');
556
+ define('TXT_WPSC_THANKS_SAVED', 'Благодарим Ви, Вашите промени бяха запазени.');
557
+ define('TXT_WPSC_REGISTER', 'Регистрирай се');
558
+ define('TXT_WPSC_TAX', 'Данъци');
559
+
560
+ define('TXT_WPSC_USE_SHIPPING', 'Използвай доставка');
561
+ define('TXT_WPSC_USE_SHIPPING_DESCRIPTION', 'Ако продавате само файлове за сваляне, трябва да изберете "Не", за да премахнете всички опции за доставка на Вашия сайт.');
562
+
563
+ define('TXT_WPSC_PAGESETTINGS', 'Настройки за номериране на страниците');
564
+ define('TXT_WPSC_USE_PAGINATION', 'Използвай номериране');
565
+ define('TXT_WPSC_ADD_PRODUCT', 'Добави продукт');
566
+ define('TXT_WPSC_EDIT_PRODUCT', 'Редактирай продукт');
567
+ define('TXT_WPSC_UPDATE_PAGE_URLS', 'Обнови URL на страниците');
568
+ define('TXT_WPSC_VARIATIONS_AND_SPECIALS_DONT_MIX', 'Забележка: Не можете да сложите промоционална цена на продукт с разновидности');
569
+ define('TXT_WPSC_PRODUCT_SPECIALS', 'Промоции на продукти');
570
+ define('TXT_WPSC_SHOW_SHARE_THIS', 'Покажи "Сподели това" (Приятелски препратки)');
571
+ define('TXT_WPSC_SHOW_NO_PRODUCT', 'Без продукт');
572
+ define('TXT_WPSC_CHOOSE_DOWNLOADABLE_PRODUCT', 'Изберете файл за изтегляне за този продукт:');
573
+ define('TXT_WPSC_PLEASECHOOSE', 'Моля, изберете');
574
+
575
+ define('TXT_WPSC_VARIATION_CONTROL', 'Управление на разновидностите');
576
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_SINGLE', ':разновидност1: Управление');
577
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_PAIR', ':разновидност1: and :разновидност2: Управление');
578
+ define('TXT_WPSC_VIEW_PREVIEW_CLIP', 'Виж клипа за преглед');
579
+ define('TXT_WPSC_REQUIRE_REGISTRATION', 'Изисква регистрация');
580
+ define('TXT_WPSC_PLEASE_LOGIN', 'Моля, влезте в акаунта си, или се регистрирайте, за да направите поръчка');
581
+ define('TXT_WPSC_IF_JUST_REGISTERED', 'Ако сте се регистрирали току що, моля проверете имейла си и влезте в акаунта си, преди да направите покупка');
582
+ define('TXT_WPSC_SELECT_THEME', 'Изберете тема');
583
+ define('TXT_WPSC_NEW_ORDER_PENDING_SUBJECT', 'Нова чакаща поръчка');
584
+ define('TXT_WPSC_NEW_ORDER_PENDING_BODY', "Има нова поръчка, чакаща за обработка: \n\r ");
585
+ ?>
languages/CZ_cz.php ADDED
@@ -0,0 +1,856 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ This is a language file for the WP Shopping Cart plugin version 3.6.8
4
+ */
5
+
6
+ //http://www.instinct.co.nz/wordpress_2.6/wp-admin/
7
+
8
+ define('TXT_WPSC_PAYMENT_GATEWAYS', 'Platebn� br�ny');
9
+
10
+ define('TXT_WPSC_PRODUCTCOUNT_SINGULAR','produkt');
11
+ define('TXT_WPSC_PRODUCTCOUNT_PLURAL','produkt�');
12
+ define('TXT_WPSC_GROUPCOUNT_SINGULAR','skupina');
13
+ define('TXT_WPSC_GROUPCOUNT_PLURAL','skupiny');
14
+ define('TXT_WPSC_SALECOUNT_SINGULAR','prodej');
15
+ define('TXT_WPSC_SALECOUNT_PLURAL','prodej�');
16
+ define('TXT_WPSC_PENDINGCOUNT_SINGULAR','platba');
17
+ define('TXT_WPSC_PENDINGCOUNT_PLURAL','plateb');
18
+
19
+ define('TXT_WPSC_SALES_DASHBOARD', 'M�te <a href=\'admin.php?page=wp-shopping-cart/display-items.php\'>:productcount:</a>, obsahuj�c� <a href=\'admin.php?page=wp-shopping-cart/display-category.php\'>:groupcount:</a>. Tento m�s�c bylo :salecount: o celkov� v��i :monthtotal: a va�e prodeje dos�hly :overaltotal:. M�te :pendingcount: nevy��zen�ch zak�zek');
20
+
21
+ define('TXT_WPSC_YOUAREUSING', 'Pou��v�te :theme: styl. Toto je verze programu :versionnumber:.');
22
+ define('TXT_WPSC_NO_SHORTCODE', 'Tento produkt je�t� nebyl p�id�n do katalogu. Nebyl p�id�n Tag p��stupu na str�nku.');
23
+ define('TXT_WPSC_SKU', 'Skladov� ��slo');
24
+ define('TXT_WPSC_YOUR_ORDER', 'Va�e objedn�vky');
25
+ define('TXT_WPSC_ABOUT_THIS_PAGE', 'O t�to str�nce');
26
+ define('TXT_WPSC_ORDER_PENDING_PAYMENT_REQUIRED', 'Objedn�vky k vy��zen�: Payment Required');
27
+ define('TXT_WPSC_SELECTALLCATEGORIES', 'Zobrazit v�echny produkty');
28
+
29
+ define('TXT_WPSC_EDITING_GROUP', 'Editujete [categorisation] skupinu');
30
+ define('TXT_WPSC_ADDING_TO_GROUP', 'P�idejte novou podskupinu do skupiny [categorisation]');
31
+ define('TXT_WPSC_EDITING_IN_GROUP', 'Editujte podskupinu ze skupiny [categorisation]');
32
+
33
+
34
+ define('TXT_WPSC_PURCHASE_UNAVAILABLE', 'N�kup nedostupn�ch nastaven�');
35
+ define('TXT_WPSC_WE_RECOMMEND', 'Doporu�ujeme');
36
+ define('TXT_WPSC_SELECT_PRODUCT_GROUP', 'V�b�r skupiny');
37
+ define('TXT_WPSC_EDIT_THIS_GROUP', 'Editovat tuto skupinu');
38
+
39
+ define('TXT_WPSC_USPS_USERID', 'USPS ID');
40
+ define('TXT_WPSC_PRODUCT_ID', 'ID produktu');
41
+ define('TXT_WPSC_USPS_PASSWORD', 'USPS Heslo');
42
+ define('TXT_WPSC_OPTIONS_GENERAL_TAB', 'Z�kladn�');
43
+ define('TXT_WPSC_OPTIONS_PRESENTATION_TAB', 'Prezentace');
44
+ define('TXT_WPSC_OPTIONS_SHIPPING_TAB', 'Odes�l�n�');
45
+ define('TXT_WPSC_OPTIONS_PAYMENT_TAB', 'Platba');
46
+ define('TXT_WPSC_OPTIONS_ADMIN_TAB', 'Admin');
47
+ define('TXT_WPSC_OPTIONS_MARKETING_TAB', 'Marketing');
48
+ define('TXT_WPSC_DOWNLOAD_ATTACHED_FILES', 'Download p�ilo�en�ch soubor�');
49
+
50
+ define('TXT_WPSC_ADMIN_SEARCH_PRODUCTS', 'Vyhledej produkt');
51
+ define('TXT_WPSC_CHOOSE_PAYMENT_GATEWAYS', 'Vyberte platebn� mo�nosti, klter� chcete d�t k dispozici z�kazn�k�m.');
52
+
53
+ define('TXT_WPSC_CONFIGURE_PAYMENT_GATEWAY', ' Zvolte platebn� mo�nosti pro konfiguraci.');
54
+
55
+
56
+ // to come: "Click on a payment option to configure it"
57
+
58
+ define('TXT_WPSC_SHOW_BREADCRUMBS', 'Zobraz cestu ke zbo��');
59
+ define('TXT_WPSC_PAYMENT_INSTRUCTIONS_DESCR', 'Vlo�te platebn� instrukce kter� chcete zobrazit z�kazn�k�m p�i objedn�vce.');
60
+ define('TXT_WPSC_PAYMENT_INSTRUCTIONS_BELOW_DESCR', 'Nap��klad, kdy� nen� vypln�n� bankovn� ��et nebo adresa, pak m��e z�kazn�k platit v hotovosti.');
61
+
62
+ define('TXT_WPSC_ALLOW_UPLOADING_IMAGE', 'U�ivatel m��e nah�t obr�zek, kdy� kupuje toto zbo��.');
63
+
64
+ define('TXT_WPSC_OPTIONS_GENERAL_HEADER', 'Z�kladn� nastaven�');
65
+ define('TXT_WPSC_OPTIONS_PRESENTATION_HEADER', 'Nastaven� zobrazen�');
66
+ define('TXT_WPSC_OPTIONS_SHIPPING_HEADER', 'Nastaven� odes�l�n�');
67
+ define('TXT_WPSC_OPTIONS_PAYMENT_HEADER', 'Nastaven� plateb');
68
+ define('TXT_WPSC_OPTIONS_ADMIN_HEADER', 'Adminisra�n� nastaven�');
69
+ define('TXT_WPSC_OPTIONS_MARKETING_HEADER', 'Marketingov� nastaven�');
70
+ define('TXT_WPSC_UPLOAD_IMAGE_FOR', 'Nahraj obr�zek pro');
71
+
72
+ define('TXT_WPSC_THUMBNAILSETTINGS', 'Nastaven� n�hled�');
73
+
74
+ define('TXT_WPSC_CLEAR_IP_LOCKS', 'Voln� download blokuje IP cislo.');
75
+ define('TXT_WPSC_THANKS_UNLOCKED', 'd�kujeme, downloady zablokovan� pro IP byly uvoln�ny.');
76
+
77
+
78
+ define('TXT_WPSC_SELECTGATEWAY', 'Vyberte platebn� br�nu');
79
+ define('TXT_WPSC_VARIATION_LIST', 'Zvolete variantu');
80
+
81
+ define('TXT_WPSC_CATEGORISATION_GROUPS_DESCR', 'Skupiny pom�haj� va�im n�v�t�vn�k�m naj�t produkt. Kdy� prod�v�te tri�ka, klobouky, a kalhoty, hlavn� skupinu nazv�te nap��klad Oble�en� a do n� vlo�te podskupiny tri�ka, klobouky a kalhoty. A produkty vklo�te do spr�vn�ch kategiri�.');
82
+ define('TXT_WPSC_CATEGORISATION_DESCR', 'Widget skupin produkt�');
83
+ define('WPSC_DOWNLOAD_INVALID', 'Tento download nen� ji� dostupn�.');
84
+ define('TXT_WPSC_LOCK_DOWNLOADS_TO_IP', 'Sta�en� pro IP adresu');
85
+ define('TXT_WPSC_CLEAR_IP_LOCKS', 'uvolnit dovnloady pro IP adresu pro tuto objedn�vku');
86
+ define('TXT_WPSC_THANKS_UNLOCKED', 'D�kujeme, downloady ktere byly pripraven� pro z�kazn�ka s touto IP adresou byly uvoln�ny.');
87
+ define('TXT_WPSC_USER_UNLOCKED_EMAIL', 'Administr�tor uvolnil va�e soubory');
88
+ define('TXT_WPSC_USER_UNLOCKED_EMAIL_MESSAGE', 'V�en� z�kazn�ku
89
+
90
+ r�di v�m oznamujeme, �e download va�ich soubor� byl p�ipraven.
91
+ Pros�m st�hn�te va�e n�kupy pou�it�m odkazu uveden�ho n�e.
92
+
93
+ [download_links]
94
+ D�kujeme za va�i zak�zku.');
95
+
96
+
97
+ define('TXT_WPSC_ADMIN_EMPTY_CATEGORY', 'Tato skupina je nastavena jako v�choz�, vlo�te n�jak� polo�ky nebo zvolte jinou skupinu kter� ji� polo�ky obsahuje.');
98
+
99
+ define('TXT_WPSC_USING_EXAMPLE_CATEGORY', 'Pou��v�te v�choz� skupinu zbo��, kter� neobsahuje ��dn� polo�ky, vyberte jinou v�choz� skupinu v Z�kladn�m nastaven�.');
100
+
101
+ define('TXT_WPSC_NO_DEFAULT_PRODUCTS', 'Va�e "Produktov� str�nka" v sou�asnosti neobsahuje ��dn� produkt. Mus�te vybrat skupinu kter� se zobraz� jako v�choz�. <br /> Toto nastven� provedete v Nastaven� obchodu.');
102
+
103
+ define('TXT_WPSC_FIX_CATEGORY_PERMALINKS', 'Nastavit odkaz do produktov�ch skupin');
104
+ define('TXT_WPSC_ADVANCED_OPTIONS', 'Roz���en� mo�nosti');
105
+ define('TXT_WPSC_INVALID_COUPON', 'Neplatn� pouk�zky');
106
+ define('TXT_WPSC_RSSNOTE', '<strong>Pozn�mka:</strong> Not only can people use this RSS to keep update with your product list but you can also use this link to promote your products in your facebook profile. <br>Just add the <a href="http://apps.facebook.com/getshopped">getshopped! facebook application</a> to your facebook profile and follow the instructions.');
107
+ define('TXT_WPSC_GOOGLEFINANCESTATUS', 'Finan�n� status');
108
+ define('TXT_WPSC_GOOGLEFULFILLMENTSTATUS', 'Dokon�en� Status');
109
+ define('TXT_WPSC_SURETODELETECATEGORISATION', 'Jste si jisti �e chcete smazat tuto skupinu? V�echny podskupiny, kter� tato skupina obsahuje, budou vymaz�ny.');
110
+
111
+ define('TXT_WPSC_CATEGORISATION', 'Skupiny');
112
+ define('TXT_WPSC_CATEGORISATIONHASBEENADDED', 'Skupina byla p�id�na.');
113
+ define('TXT_WPSC_CATEGORISATIONHASBEENEDITED', 'Skupina byla editov�na.');
114
+ define('TXT_WPSC_ADD_CATEGORISATION', 'P�idat novou skupinu');
115
+ define('TXT_WPSC_EDIT_CATEGORISATION', 'Editovat skupinu');
116
+ define('TXT_WPSC_ADDDETAILS', 'P�idat z�znam');
117
+ define('TXT_WPSC_EDITDETAILS', 'Editovat z�znam');
118
+ define('TXT_WPSC_ADDNEWCATEGORY', 'P�idat novou polo�ku &raquo;');
119
+ define('TXT_WPSC_VALUE', 'Cena');
120
+ define('TXT_WPSC_ADD_CUSTOM_FIELD', 'P�idat oblast');
121
+ define('TXT_WPSC_EDIT_CUSTOM_FIELDS', 'Editovat oblast');
122
+ define('TXT_WPSC_SAVE', 'Ulo�it');
123
+
124
+
125
+
126
+ define('TXT_WPSC_DISPLAY_PRODUCT_CATEGORIES', 'Zobraz [categorisation]'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
127
+
128
+ define('TXT_WPSC_PRODUCT_CATEGORIES', 'Vyber [categorisation]'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
129
+
130
+ define('TXT_WPSC_MANAGE_CATEGORISATION', 'Uprav [categorisation]'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
131
+
132
+
133
+
134
+ define('TXT_WPSC_ANYONEREGISTER', 'Pokud ano, mus�te tak� zapnout volbu "Ka�d� se m�s� registrovat"');
135
+ define('TXT_WPSC_CVN', 'Ov��en� kreditu');
136
+ define('TXT_WPSC_AVS', 'Ov��en� adresy');
137
+ define('TXT_WPSC_DISPLAYVARIATIONSDESCRIPTION', 'Varianta produktu m��e b�t "voliteln�". Nap��klad: Velikost, barva... <br />Nap��klad: Pokud prod�v�te tri�ka, m��ete m�t nastavenou variantu "Velikost", kter� bude obsahovat S,M,L a XL');
138
+
139
+ define('TXT_WPSC_PERTICKED', 'Aplikuj na v�echny produkty');
140
+ define('TXT_WPSC_EMAILALLOWED', 'Email povolen�');
141
+ define('TXT_WPSC_EMAILNOTALLOWED', 'Email NEN� povolen�');
142
+
143
+
144
+ define('TXT_WPSC_GOOGLERISK', 'Vhodn� pro ochranu');
145
+ define('TXT_WPSC_PAYPALNOTE', '<strong>Pozn�mka:</strong> Pokud v� z�kazn�k ud�l� objedn�vku a pou�ije kupon, pak p�i sou�asn�m omezen� PayPalu, nem��ete poslat seznam polo�ek na PayPal.<br>P�esn�ji, mus�te odeslat celkovou ��stku, a potom v� z�kazn�k uvid� ve sv� administraci u PayPal jm�no va�eho obchodu a celkovou ��stku.');
146
+
147
+ define('TXT_WPSC_GOOGLEMARKETINGPREFERENCE', 'Google u�ivatelsk� marketingov� volby');
148
+
149
+
150
+ define('TXT_WPSC_LATEST_PRODUCTS', 'Posledn� produkty');
151
+ define('TXT_WPSC_PICKUP', 'Vyzvednut�');
152
+ define('TXT_WPSC_DELIVERY', 'Doru�en�');
153
+ define('TXT_WPSC_MENU', 'e-Commerce Administr�tork� menu');
154
+ define('TXT_WPSC_GOOGLESTORELOCATOR', 'Povolit Google Store Locator');
155
+ define('TXT_WPSC_GOOGLESHIPPING', 'Google zas�lac� zem�');
156
+ define('TXT_WPSC_POST_DEFAULT_MEMBERS_ONLY', 'Tato slu�ba je pouze pro u�ivatele, pro jej� zobrazen� mus� b�t u�ivatel p�ihl�en�');
157
+ define('TXT_WPSC_BASESHIPPING', 'M�sto odes�l�n�');
158
+ define('TXT_WPSC_RSS_ADDRESS', 'RSS Adresa');
159
+ define('TXT_WPSC_STORENAME', 'Jm�no obchodu');
160
+ define('TXT_WPSC_CHECKBOX_VARIATIONS', 'Zobrazit variace v za�krt�vac�ch pol�ch');
161
+ define('TXT_WPSC_DISPLAY_PLUSTAX', 'Zobraz "+DPH"');
162
+ define('TXT_WPSC_DISPLAYHOWCUSTOMERFINDUS', 'Zobraz jak z�kazn�k na�el v� obchod');
163
+ define('TXT_WPSC_HOWCUSTOMERFINDUS', 'Jak n�s z�kazn�k na�el');
164
+ define('TXT_WPSC_ENGRAVE', 'Zv�razn�n� text');
165
+ define('TXT_WPSC_FREETRIAL', 'M�s�c na zkou�ku zdarma');
166
+ define('TXT_WPSC_PROHIBITED', 'Zak�z�no');
167
+ define('TXT_WPSC_ADMINNOTES', 'Obchodn� pozn�mky');
168
+ define('TXT_WPSC_HIDEADDNAMELINK', 'Skr�t odkazy na n�zvy produkt�');
169
+ define('TXT_WPSC_ADMINMENU', 'Administra�n� menu');
170
+ define('TXT_WPSC_USEONLYEXTERNALLINK', 'Pozn�mka: po�ijte pouze pokud m�te extern� odkazy.');
171
+ define('TXT_WPSC_EXTERNALLINK', 'Extern� odkaz');
172
+ define('TXT_WPSC_BUTTONTYPE', 'Typ tla��tka');
173
+ define('TXT_WPSC_BUYNOW', 'Kup nyn�');
174
+ define('TXT_WPSC_ASSOCIATEWITHFILE', 'p�i�adit k souboru? (Klikn�te pouze jednou)');
175
+ define('TXT_WPSC_SHOWLIVESEARCH', 'Po��t Live Search');
176
+ define('TXT_WPSC_USPS_USERID', 'USPS ID');
177
+ define('TXT_WPSC_USPS_PASSWORD', 'USPS heslo');
178
+
179
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Mo�nosti odes�l�n�');
180
+ define('TXT_WPSC_SHOWADVANCEDSEARCH', 'Zobrazit roz���en� hled�n�');
181
+ define('TXT_WPSC_GOOGLEMECHANTKEY', 'Google Merchant Key');
182
+ define('TXT_WPSC_GOOGLEMECHANTID', "Google Merchant ID");
183
+ define('TXT_WPSC_IMAGESIZEINFO', 'Pozn�mka: Pokud rozm�ry nech�te pr�zdn�, velikost obr�zku nebude zm�n�na.');
184
+ define('TXT_WPSC_ENDLESSSUBSCRIPTION', 'P�ihl�sit na trvalo?');
185
+ define('TXT_WPSC_RECEIVED', 'Objedn�vka p�ijata');
186
+ define('TXT_WPSC_ORDER_STATUS', 'Stav objedn�vky');
187
+ define('TXT_WPSC_ORDER_SUMMARY', 'p�ehled objedn�vek');
188
+ define('TXT_WPSC_LANGUAGE', 'Jazyk');
189
+ define('TXT_WPSC_ACCEPTED_PAYMENT', 'Akceptovan� platby');
190
+ define('TXT_WPSC_JOB_DISPATCHED', 'Odesl�no');
191
+ define('TXT_WPSC_PROCESSED', 'Uzav�en� objedn�vka');
192
+ define('TXT_WPSC_ECOMMERCE', 'e-Commerce');
193
+ define('TXT_WPSC_OPTIONS', 'Nastaven�');
194
+ define('TXT_WPSC_ADDPRODUCTS', 'P�idat produkty');
195
+ define('TXT_WPSC_SENDSMS', 'Poslat SMS');
196
+ define('TXT_WPSC_PRODUCTS', 'Produkty');
197
+ define('TXT_WPSC_ADDCATEGORY', 'P�idat skupinu produkt�');
198
+ define('TXT_WPSC_CATEGORIES', 'Kategorie');
199
+ define('TXT_WPSC_BRANDS', 'Zna�ky');
200
+ define('TXT_WPSC_VARIATIONS', 'Varianty');
201
+ define('TXT_WPSC_PURCHASELOG', 'Prodeje');
202
+ define('TXT_WPSC_ORDER_LOG', 'Objedn�vky');
203
+ define('TXT_WPSC_OLDER_ORDERS', 'Star�� objedn�vky');
204
+ define('TXT_WPSC_ORDER', 'Objedn�vka');
205
+ define('TXT_WPSC_TOTAL_THIS_MONTH', 'Celkov� za tento m�s�c');
206
+ define('TXT_WPSC_MONTHLY_REPORT', 'P�lro�n� v�pis');
207
+ define('TXT_WPSC_TOTAL_INCOME', 'Celkov� p��jem');
208
+ define('TXT_WPSC_ACCEPTED_PAYMENTS', '(P�ijat� platby)'); //text has changed slightly
209
+ define('TXT_WPSC_PAYMENTGATEWAYOPTIONS', 'Platebn� mo�nosti');
210
+ define('TXT_WPSC_HELPINSTALLATION', 'Pomoc/Upgrade');
211
+ define('TXT_WPSC_EXAMPLECATEGORY', 'P��klad kategorie');
212
+ define('TXT_WPSC_EXAMPLEDETAILS', 'P��klad popisu');
213
+ define('TXT_WPSC_EXAMPLEBRAND', 'P��klad zna�ky');
214
+ define('TXT_WPSC_PRODUCTIMAGEWIDTH', '���ka obr�zku produktu');
215
+ define('TXT_WPSC_PRODUCTIMAGEHEIGHT', 'v��ka obr�zku produktu');
216
+ define('TXT_WPSC_CATEGORYIMAGEWIDTH', '���ka obr�zku skupiny');
217
+ define('TXT_WPSC_CATEGORYIMAGEHEIGHT', 'v��ka obr�zku skupiny');
218
+ define('TXT_WPSC_PRODUCTLISTURL', 'Um�st�n� seznamu produkt�');
219
+ define('TXT_WPSC_SHOPPINGCARTURL', 'Um�st�n� n�kupn�ho ko��ku');
220
+ define('TXT_WPSC_CHECKOUTURL', 'Um�st�n� potvrzovac� str�nky');
221
+ define('TXT_WPSC_TRANSACTURL', 'Um�st�n� str�nky podrobnost� transakc�');
222
+ define('TXT_WPSC_PAYMENTGATEWAY', 'Platebn� mo�nosti');
223
+ define('TXT_WPSC_CARTLOCATION', 'Um�st�n� ko��ku');
224
+ define('TXT_WPSC_SHOWCATEGORYBRANDS', 'Zobrazit kategorie, zna�ky nebo oboje');
225
+ define('TXT_WPSC_CURRENCYTYPE', 'Typ m�ny');
226
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Um�st�n� zna�ky m�ny');
227
+ define('TXT_WPSC_GSTRATE', 'GST hodnocen�');
228
+ define('TXT_WPSC_MAXDOWNLOADS', 'download limit');
229
+ define('TXT_WPSC_DISPLAYPNP', 'Zobraz nebo skryj po�tovn� a baln�');
230
+ define('TXT_WPSC_DISPLAYSPECIALS', 'Zobraz nebo skryj slevy v postran�m panelu');
231
+ define('TXT_WPSC_POSTAGEAND_PACKAGING', 'P�ednastaven� po�tovn� a baln�');
232
+ define('TXT_WPSC_PURCHLOGEMAIL', 'Emailov� adresa pro zas�l�n� ozn�men� o objedn�vce');
233
+ define('TXT_WPSC_RETURNEMAIL', 'Email address that purchase reports are sent from');
234
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Potvrzen� obchodn�ch podm�nek');
235
+ define('TXT_WPSC_DEFAULTBRAND', 'P�ednastaven� zna�ka');
236
+
237
+
238
+ //define('TXT_WPSC_DEFAULTCATEGORY', 'P�ednastaven� kategorie');
239
+
240
+ define('TXT_WPSC_DEFAULTCATEGORY', 'Vyberte skupinu kterou chcete zobrazit na hlavn� str�nce.');
241
+
242
+ define('TXT_WPSC_PAYPALBUSINESS', 'paypal obchod');
243
+ define('TXT_WPSC_PAYPALURL', 'paypal url');
244
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Zobrazit hodnocen� produkt�');
245
+ define('TXT_WPSC_PRODUCTSPAGE', 'Str�nky produkt�');
246
+ define('TXT_WPSC_CHECKOUT', 'Ov��it objedn�vku');
247
+ define('TXT_WPSC_ENTERDETAILS', 'Vlo�te v� popis');
248
+ define('TXT_WPSC_TRANSACTIONRESULTS', 'Podm�nky transakc�');
249
+ define('TXT_WPSC_SELECTACATEGORY', 'Vybrat skupinu produkt�');
250
+ define('TXT_WPSC_SELECTABRAND', 'Vybrat zna�ku');
251
+ define('TXT_WPSC_PRODUCTNAME', 'Jm�no produktu');
252
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Popis produktu');
253
+ define('TXT_WPSC_ADDITIONALDESCRIPTION', 'Dal�� popis');
254
+ define('TXT_WPSC_PRICE', 'Cena');
255
+ define('TXT_WPSC_TAXALREADYINCLUDED', 'Neobsahuje da� (Da� se nastvuje v nastaven� obchodu)'); // this text has changed and needs updating
256
+ define('TXT_WPSC_SPECIAL', 'Slevy / Prodejn� ceny'); // this text has changed and needs updating
257
+ define('TXT_WPSC_PRODUCT_DISPLAY', 'Zobrazit produkt');
258
+
259
+ define('TXT_WPSC_PRODUCTSTOCK', 'Z�soby produktu');
260
+
261
+ define('TXT_WPSC_UNTICKBOX', 'M�m limitovan� po�et tohoto produktu na sklad�. Pokud bude zbo�� vyprod�n, tento produkt nebude d�le zobrazov�n v eshopu, nezapome�te odkliknout toto pol��ko nebo ny��it po�et zbo�� na sklad�.');
262
+ define('TXT_WPSC_LIMITED_STOCK', 'Limitovan� mno�stv�');
263
+
264
+ define('TXT_WPSC_CATEGORY', 'Kategorie');
265
+ define('TXT_WPSC_BRAND', 'Zna�ka');
266
+ define('TXT_WPSC_PRODUCT_VARS', 'Varianty produktu');
267
+ define('TXT_WPSC_ADD_VAR', 'Vyberte vhodnou variantu');
268
+ define('TXT_WPSC_EDIT_VAR', 'Edituj nastaven� variant');
269
+ define('TXT_WPSC_SELECTAVARIATION', 'Vyber variantu');
270
+ define('TXT_WPSC_NEW_VARIATION', 'Vytvo�it novou variantu');
271
+
272
+ define('TXT_WPSC_PRODUCTATT', 'P��lohy produktu');
273
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT', 'Nahr�t soubor');
274
+ define('TXT_WPSC_FILETOBEPRODUCT', 'Pozn�mka: jestli�e je vypln�no soubor bude nahr�n p�ikoupi produktu.');
275
+ define('TXT_WPSC_RESIZEIMAGE', 'Zm�nit n�hled');
276
+ define('TXT_WPSC_DONOTRESIZEIMAGE', 'nem�nit velikost n�hledu.');
277
+ // define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'Pou��t z�kladn� nastaven� velikosti n�hledu');
278
+ // define('TXT_WPSC_USE', 'pou��t');
279
+ // define('TXT_WPSC_PXHEIGHTBY', 'px v��ku');
280
+ // define('TXT_WPSC_PXWIDTH', 'px ���ku.');
281
+
282
+ // pe.{
283
+ //define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'pou��t z�kladn� v��ku a ���ku');
284
+ // }.pe
285
+ define('TXT_WPSC_SEPARATETHUMBNAIL', 'pou��t jin� n�hledy'); // Needs Translation
286
+ define('TXT_WPSC_USE', 'pou��t'); // Needs Translation
287
+ // pe.{
288
+ define('TXT_WPSC_USEDEFAULTSIZE', 'pou��t z�kladn� velikost'); // Needs Translation
289
+ define('TXT_WPSC_USESPECIFICSIZE', 'pou��t vlastn� velikost'); // Needs Translation
290
+ define('TXT_WPSC_PXHEIGHT', 'px v��ka'); // Needs Translation
291
+ define('TXT_WPSC_PXWIDTH', 'px ���ka'); // Needs Translation
292
+ // }.pe
293
+
294
+
295
+ define('TXT_WPSC_UPLOADNEWIMAGE', 'P�ehr�t obr�zek');
296
+ define('TXT_WPSC_DELETEIMAGE', 'Smazat obr�zek');
297
+ define('TXT_WPSC_EDIT', 'Editovat');
298
+ define('TXT_WPSC_DELETE', 'Smazat');
299
+ define('TXT_WPSC_REMOVE', 'Odstranit');
300
+ define('TXT_WPSC_NAME', 'Jm�no');
301
+ define('TXT_WPSC_TYPE', 'Typ');
302
+ define('TXT_WPSC_MANDATORY', 'Povinn�');
303
+ define('TXT_WPSC_DISPLAY_IN_LOG', 'Zobraz<br /> v Logu');
304
+ define('TXT_WPSC_DESCRIPTION', 'Popis');
305
+ define('TXT_WPSC_CATEGORY_PARENT', 'Nad�azen� kategorie');
306
+ define('TXT_WPSC_IMAGE', 'Obr�zek');
307
+ define('TXT_WPSC_HEIGHT', 'V��ka');
308
+ define('TXT_WPSC_WIDTH', '���ka');
309
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Pros�m vl�te spr�vn�');
310
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Pros�m vlo�te spr�vn� jm�no');
311
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Pros�m vlo�te spr�vn� p��jmen�');
312
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Pros�m vlo�te spr�vnou e-mailovou adresu');
313
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Pros�m vlo�te spr�vnou adresu');
314
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Pros�m vlo�te spr�vn� telefon');
315
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Nejsou potvrzeny obchodn� podm�nky');
316
+ define('TXT_WPSC_NOTHINGINYOURSHOPPINGCART', 'Nem�te nic v ko��ku');
317
+
318
+ define('TXT_WPSC_PROCESSING_PROBLEM', 'Byl nazen probl�m se zpracov�n�m objedn�vky. Pros�m napi�te n�m na n� mail.');
319
+
320
+
321
+ define('TXT_WPSC_SPECIALS', 'Slevy');
322
+ define('TXT_WPSC_BUY', 'Kup');
323
+ define('TXT_WPSC_SHOPPINGCART', 'N�kupn� ko��k');
324
+ define('TXT_WPSC_NUMBEROFITEMS', 'Po�et polo�ek');
325
+ define('TXT_WPSC_NOMOREAVAILABLE', 'Produkt nen� skladem.');
326
+ define('TXT_WPSC_EMPTYYOURCART', 'Vysypat ko��k');
327
+ define('TXT_WPSC_GOTOCHECKOUT', 'Pokra�uj na potvrzen� objedn�vky');
328
+ define('TXT_WPSC_CONTINUESHOPPING', 'Pokra�uj v nakupov�n�');
329
+ define('TXT_WPSC_YOURSHOPPINGCARTISEMPTY', 'V� n�kupn� ko��k je pr�zdn�');
330
+ define('TXT_WPSC_VISITTHESHOP', 'Prohl�dnout obchod');
331
+ define('TXT_WPSC_PAGES', 'Str�nek');
332
+ define('TXT_WPSC_OUTOF', 'Mimo');
333
+ define('TXT_WPSC_VOTES', 'hlasujte.');
334
+ define('TXT_WPSC_CLICKSTARSTORATE', 'Klikn�te po�et hv�zdi�ek');
335
+ define('TXT_WPSC_AVERAGERATINGOF', 'Pr�m�rn� hodnocen�');
336
+ define('TXT_WPSC_YOURVOTE', 'Va�e hodnocen�');
337
+ define('TXT_WPSC_AVERAGEVOTE', 'Pr�m�rn� hlasov�n�');
338
+ define('TXT_WPSC_YOUHAVEVOTED', 'Hlasoval jste');
339
+ define('TXT_WPSC_NOVOTES', '6�dn� hlasov�n�');
340
+ define('TXT_WPSC_1VOTE', '1 Hlasov�n�');
341
+ define('TXT_WPSC_VOTES2', 'Hlas�');
342
+ define('TXT_WPSC_PERSONGIVEN', 'osoba vlo�ila tento obr�zek');
343
+ define('TXT_WPSC_PERSONGIVEN2', 'hv�zdi�ek.');
344
+ define('TXT_WPSC_PEOPLEGIVEN', 'osoba obr�ela tento obr�zek');
345
+ define('TXT_WPSC_PEOPLEGIVEN2', 'hv�zdi�ek.');
346
+ define('TXT_WPSC_ITEMHASBEENADDED', 'Polo�ka byla p�id�na');
347
+ define('TXT_WPSC_ITEMHASNOTBEENADDED', 'Polo�ka nebyla p�id�na');
348
+ define('TXT_WPSC_ADDNEWCATEGORY', 'P�idat novou skupinu');
349
+ define('TXT_WPSC_SUBMIT', 'Potvrdit');
350
+ define('TXT_WPSC_SELECTAVALIDCATEGORY', 'Pros�m vlo�te spr�vnou skupinu');
351
+ define('TXT_WPSC_PRODUCTNAME', 'Jm�no produktu');
352
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Popis produktu');
353
+ define('TXT_WPSC_ADDNEWPRODUCT', 'p�idat produkt');
354
+ define('TXT_WPSC_PRODUCTQUANTITY', 'Mno�stv�');
355
+ define('TXT_WPSC_PRODUCTIMAGE', 'Obr�zek');
356
+ define('TXT_WPSC_PRODUCTPRICE', 'Cena');
357
+ define('TXT_WPSC_NOTAX', 'Bez dan�');
358
+ define('TXT_WPSC_ABOUT', 'O');
359
+ define('TXT_WPSC_ABOUTCONTENT', 'v�tejte v e-commerce panelu. <br /><br /><strong>Pozn�mka:</strong> v n�kter�ch nastaven�ch, se m��e zobrazit pr�zdn� ko��k, pokud se tak stane, p�idejte tento ��dek:<br /><br />session_start();<br /><br />do index.php souboru v hlavn� str�nce eshopu.<br />');
360
+ define('TXT_WPSC_CONTACTDETAILS', 'Pros�m vlo�te va�e kontaktn� informace:');
361
+ define('TXT_WPSC_CREDITCARDHANDY', 'Pozn�mka, kdy� tuto volbu potvrd�te, nebudete muset m�t va�i kreditn� kartu po ruce p�i ka�d�m n�kupu.');
362
+ define('TXT_WPSC_ASTERISK', 'Pole ozna�en� hv�zdi�kou mus� b�t vypln�n�.');
363
+ define('TXT_WPSC_FIRSTNAME', 'Jm�no');
364
+ define('TXT_WPSC_LASTNAME', 'P��jmen�');
365
+ define('TXT_WPSC_EMAIL', 'Email');
366
+ define('TXT_WPSC_ADDRESS', 'Adresa');
367
+ define('TXT_WPSC_ADDRESS1', 'Adresa 1');
368
+ define('TXT_WPSC_ADDRESS2', 'Adresa 2');
369
+ define('TXT_WPSC_CITY', 'M�sto');
370
+ define('TXT_WPSC_STATE', 'St�t');
371
+ define('TXT_WPSC_COUNTRY', 'Zem�');
372
+ define('TXT_WPSC_PHONE', 'Telefon');
373
+ define('TXT_WPSC_POSTAL_CODE', 'PS�');
374
+ define('TXT_WPSC_TERMS1', 'Potvrzuji, �e jsem si p�ecetl a souhlas�m s ');
375
+ define('TXT_WPSC_TERMS2', 'Obchodn� podm�nky');
376
+
377
+
378
+ define('TXT_WPSC_TEXT', 'Text');
379
+ define('TXT_WPSC_TEXTAREA', 'Oblast textu');
380
+ define('TXT_WPSC_HEADING', 'Hlavi�ka');
381
+
382
+ define('TXT_WPSC_MAKEPURCHASE', 'Nakupovat');
383
+ define('TXT_WPSC_BUYPRODUCTS', 'Pros�m kupte n�jak� produkt p�ed pou��m t�to str�nk');
384
+ define('TXT_WPSC_BRANDHASBEENEDITED', 'Zna�ka byla editov�na.');
385
+ define('TXT_WPSC_SURETODELETEPRODUCT', 'Opravduchcete vymazat tento produkt?');
386
+ define('TXT_WPSC_ADDBRAND', 'P�idat zna�ku');
387
+ define('TXT_WPSC_DISPLAYBRANDS', 'Zobraz zna�ky');
388
+ define('TXT_WPSC_EDITBRAND', 'Editovat zna�ky');
389
+ define('TXT_WPSC_ADD', 'P�idat');
390
+ define('TXT_WPSC_ADD_NEW_FORM', 'P�idatpole do formul��e');
391
+ define('TXT_WPSC_SAVE_CHANGES', 'Ulo�it zm�ny');
392
+
393
+ define('TXT_WPSC_CATEGORYHASBEENEDITED', 'Skupina byla editovana.');
394
+ define('TXT_WPSC_DISPLAYCATEGORIES', 'Zobrazit kategorie');
395
+ define('TXT_WPSC_ADDCATEGORY', 'P�idat skupinu');
396
+ define('TXT_WPSC_EDITCATEGORY', 'Editovat skupinu');
397
+ define('TXT_WPSC_ALLCATEGORIES', 'V�echny skupiny');
398
+
399
+ define('TXT_WPSC_DISPLAYVARIATIONS', 'Zobrazit varianty');
400
+ define('TXT_WPSC_ADDVARIATION', 'P�idat nastaven� varianty');
401
+ define('TXT_WPSC_EDITVARIATION', 'Editovat nastaven� varianty');
402
+ define('TXT_WPSC_VARIATIONHASBEENEDITED', 'Varianty byla upravena.');
403
+ define('TXT_WPSC_VARIATION_VALUES', 'Hodnoty variant');
404
+ define('TXT_WPSC_REMOVE_SET', 'Odstranit toto nastaven�'); //this needs to be translated
405
+
406
+ define('TXT_WPSC_SELECT_PARENT', 'Nastav na�azenou');
407
+ define('TXT_WPSC_PRODUCTHASBEENEDITED', 'Produkt byl upraven.');
408
+ define('TXT_WPSC_ADDPRODUCT', 'P�idat produkt');
409
+ define('TXT_WPSC_DISPLAYPRODUCTS', 'Zobrazit produkty');
410
+ define('TXT_WPSC_PLEASESELECTACATEGORY', 'Vyberte pros�m skupinu produkt�');
411
+ define('TXT_WPSC_STOCK', 'Sklad');
412
+ define('TXT_WPSC_PNP', 'PnP');
413
+ define('TXT_WPSC_EDITITEM', 'Edituj polo�ku');
414
+ define('TXT_WPSC_PRODUCTDETAILS', 'Popis produktu');
415
+ define('TXT_WPSC_SELECT_PRODUCT', 'Vyberte existuj�c� produkt');
416
+ define('TXT_WPSC_ENTERPRODUCTDETAILSHERE', '(zde vlo�te popis do va�eho produktu)');
417
+ define('TXT_WPSC_ADDITIONALPRODUCTDESCRIPTION', 'Dal�� popis produktu');
418
+ define('TXT_WPSC_ADDITEM', 'P�idat polo�ku');
419
+ define('TXT_WPSC_CHOOSEACATEGORY', 'Zvolte skupinu');
420
+ define('TXT_WPSC_CHOOSEABRAND', 'Zvolte zna�ku');
421
+ define('TXT_WPSC_USETHEACTUALIMAGE', 'Pou��t sou�asnou velikot - nem�nit rozm�ry.');
422
+ define('TXT_WPSC_DISPLAYPURCHASES', 'Purchase Log');
423
+ define('TXT_WPSC_ID', 'ID');
424
+ define('TXT_WPSC_TRANSACTIONSTATUS', 'Stav transakce');
425
+ define('TXT_WPSC_DATE', 'Datum');
426
+ define('TXT_WPSC_VIEWDETAILS', 'Popisy'); //Text has changed - translation is needed
427
+ define('TXT_WPSC_STATUS', 'Stav');
428
+ define('TXT_WPSC_SUCCESSFUL', 'Usp�ne');
429
+ define('TXT_WPSC_FAILED', 'Chyba');
430
+ define('TXT_WPSC_GST', 'GST');
431
+ define('TXT_WPSC_PP', 'P&amp;P');
432
+ define('TXT_WPSC_TOTAL', 'Celkem');
433
+ define('TXT_WPSC_FINALTOTAL', 'Celkov� suma');
434
+ define('TXT_WPSC_CUSTOMERDETAILS', 'Detaily o z�kazn�kovi');
435
+ define('TXT_WPSC_USERSCARTWASEMPTY', 'Ko��k byl pr�zdn�');
436
+ define('TXT_WPSC_GOBACK', 'Zp�t');
437
+ define('TXT_WPSC_THANKSAPPLIED', 'D�kujeme, zm�ny byly ulo�eny.');
438
+ define('TXT_WPSC_FORM_FIELDS', 'Nastaven� potvrzen�');
439
+ define('TXT_WPSC_PAYMENTGATEWAY2', 'Platebn� mo�nosti');
440
+ define('TXT_WPSC_PLEASESELECTAPAYMENTGATEWAY', 'Zvolte mo�not platby');
441
+ define('TXT_WPSC_PAYMENTGATEWAYNOTE', '<strong>Pozn�mka:</strong> tato verze e-Commerce umo��uje platbu pouze p�es PayPal.<br /><br />Pokud chcete v�ce mo�nost� <a href="http://www.instinct.co.nz/blogshop"> e-Commerce</a> a ptateb p�es kreditn� karty authorize.net, DPS (www.dps.co.nz), a paystation (www.paystation.co.nz).');
442
+ define('TXT_WPSC_URLSETTINGS', 'URL nastaven�');
443
+ define('TXT_WPSC_PRODUCTLISTURL', 'URL Seznamu produkt�');
444
+ define('TXT_WPSC_SHOPPINGCARTURL', 'URL n�kupn�ho ko��ku');
445
+ define('TXT_WPSC_CHECKOUTURL', 'URL potvrzovac� str�nky');
446
+ define('TXT_WPSC_TRANSACTIONDETAILSURL', 'URL p�ehledu transakc�');
447
+ define('TXT_WPSC_PRESENTATIONSETTINGS', 'Nastaven� prezentace');
448
+ define('TXT_WPSC_CARTLOCATION', 'Um�st�n� ko��ku');
449
+ define('TXT_WPSC_SIDEBAR', 'Postran� panel');
450
+ define('TXT_WPSC_PAGE', 'Str�nka');
451
+ define('TXT_WPSC_WIDGET', 'Widget');
452
+ define('TXT_WPSC_NEEDTOENABLEWIDGET', 'Mus�te povolit widget panel pro toto nastaven�');
453
+ define('TXT_WPSC_MANUAL', 'Manu�ln�');
454
+ define('TXT_WPSC_SHOWCATEGORIESBRANDS', 'Zobraz kategorie / zna�ky');
455
+ define('TXT_WPSC_BOTH', 'Ob�');
456
+ define('TXT_WPSC_PRODUCTTHUMBNAILSIZE', 'Rozm�ry n�hledu');
457
+ define('TXT_WPSC_CATEGORYTHUMBNAILSIZE', 'Rozm�ry n�hledu skupiny');
458
+ define('TXT_WPSC_SHOWPOSTAGEANDPACKAGING', 'Zobrazit po�tovn� a baln�');
459
+ define('TXT_WPSC_YES', 'Ano');
460
+ define('TXT_WPSC_NO', 'Ne');
461
+ define('TXT_WPSC_SHOWSPECIALS', 'Zobrazit slevy v postran�m panelu');
462
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Zobrazoit hodnocen� v�robku');
463
+ define('TXT_WPSC_CURRENCYSETTINGS', 'Nastaven� m�ny');
464
+ define('TXT_WPSC_GSTTAXRATE', 'GST/Tax Rate');
465
+ define('TXT_WPSC_CURRENCYTYPE', 'Typ m�ny');
466
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Um�st�n� zna�ky m�ny');
467
+ define('TXT_WPSC_DEFAULTPOSTAGEPACKAGING', 'Z�kladn� po�tovn� &amp; baln�');
468
+ define('TXT_WPSC_ADMINISTRATIONSETTINGS', 'Nastaven� administrace');
469
+ define('TXT_WPSC_MAXDOWNLOADSPERFILE', 'Maxim�ln� po�et sta�en� souboru');
470
+ define('TXT_WPSC_PURCHASELOGEMAIL', 'E-mail pro logov�n� objedn�vek');
471
+ define('TXT_WPSC_REPLYEMAIL', 'Email pro odpov�di');
472
+ define('TXT_WPSC_BRANDNOCAP', 'zna�ka');
473
+ define('TXT_WPSC_CATEGORYNOCAP', 'kategorie');
474
+ define('TXT_WPSC_UDPATING', 'Zm�n�no');
475
+ define('TXT_WPSC_UPDATING', 'Zm�n�no');
476
+ define('TXT_WPSC_MOREDETAILS', 'V�ce detail�');
477
+ define('TXT_WPSC_ADDTOCART', 'P�idat do ko��ku');
478
+ define('TXT_WPSC_AVGCUSTREVIEW', 'Pr�m. z�kaznick� hodnocen�');
479
+ define('TXT_WPSC_YOURRATING', 'Va�e hodnocen�');
480
+ define('TXT_WPSC_RATING_SAVED', 'Ulo�eno');
481
+ define('TXT_WPSC_RATETHISITEM', 'Hodnocen� t�to polo�ky');
482
+ define('TXT_WPSC_PRODUCTSOLDOUT', 'Tento produkt je vyprod�n.');
483
+ define('TXT_WPSC_NOITEMSINTHIS', 'Nen� ��dn� zbo�� v t�to');
484
+ define('TXT_WPSC_CATEGORYORBRAND', 'Kategorie nebo zna�ka');
485
+ define('TXT_WPSC_PLEASECHOOSEA', 'Vyberte');
486
+ define('TXT_WPSC_PLEASECHOOSEAGROUP', 'Vyberte skupinu');
487
+ define('TXT_WPSC_PRODUCT', 'Produkt');
488
+ define('TXT_WPSC_QUANTITY', 'Mno�stv�');
489
+ define('TXT_WPSC_QUANTITY_SHORT', 'Ks'); //translation needed
490
+ define('TXT_WPSC_APPLY', 'Potvr�');
491
+ define('TXT_WPSC_MAKEPAYMENT', 'Zaplatit');
492
+ define('TXT_WPSC_EMPTYSHOPPINGCART', 'Pr�zdn� n�kupn� ko��k');
493
+ define('TXT_WPSC_TOTALPRICE', 'Celkov� cena');
494
+ define('TXT_WPSC_NOITEMSINTHESHOPPINGCART', '6dn� zbo�� v ko��ku');
495
+ define('TXT_WPSC_EMAILMSG1', "D�kujeme, objedn�vka byla p�ijata, polo�ky budou odesl�ny jakmile to bude mo�n�, n�kter� polo�ky mohou b�t nahran� kliknut�m na n�sleduj�c� odkaz.\n\rCeny obsahuj� da� a po�tovn� a baln�.\n\rObjednali jste tyto polo�ky:\n\r");
496
+ define('TXT_WPSC_EMAILMSG2', ".\n\rTtoto zbo�� bylo objedn�no:\n\r\n\r");
497
+ define('TXT_WPSC_CLICKTODOWNLOAD', 'Klikn�te zde pro download');
498
+ define('TXT_WPSC_DOWNLOAD', 'Download');
499
+ define('TXT_WPSC_YOURTRANSACTIONID', 'ID va�� platby');
500
+ define('TXT_WPSC_TRANSACTIONID', 'ID platby');
501
+ define('TXT_WPSC_PURCHASERECEIPT', 'Doklad');
502
+ define('TXT_WPSC_PURCHASEREPORT', 'Report');
503
+ define('TXT_WPSC_THETRANSACTIONWASSUCCESSFUL', 'Platba prob�hla v po��dku');
504
+ define('TXT_WPSC_THETRANSACTIONWASNOTSUCCESSFUL', 'Platba neprob�hla');
505
+ define('TXT_WPSC_GOBACKTOCHECKOUT', 'Zp�t na potvrzen�');
506
+ define('TXT_WPSC_SPECIALPRICE', 'Slevy');
507
+
508
+ define('TXT_WPSC_INSTRUCTIONS', '
509
+ Instalace
510
+ <ul class=\'installation\'>
511
+ <li>Rozbalit zip soubor do wp-content/plugins adres��e.</li>
512
+ <li>Aktivujte plugin na pluginove strance</li>
513
+ <li>Jd�te do "Nastaven� plateb" v "e-Commerce" z�lo�ce, a upravdte nastaven� br�ny. (z�kladn� paypal br�na je nasm�rov�na na paypal sandbox)</li>
514
+ <li>Vytvo�te kategorie a produkty </li>
515
+ </ul>
516
+
517
+ <p>Pokud upgradujete z predchoz� verze, vypn�te a zapn�te plugin.</p>
518
+
519
+ <h2>Upgrade modul�</h2>
520
+
521
+ <p>Najd�te v�ce informac� o modulech WP e-Commerce n�v�t�vou <a href="http://www.instinct.co.nz/blogshop">Instinct BlogShop</a> webu.</p>
522
+
523
+ <ul class=\'installation\'>
524
+ <li>Gold</li>
525
+ <li>DropShop</li>
526
+ <li>Audio Player</li>
527
+ <li>GridView</li>
528
+ </ul>
529
+
530
+ <h2>Kniha p��n�</h2>
531
+ <p>Pokud by jste r�di nov� mo�nosti kter� v sou�asnosti nejsou podporov�ny WP e-Commerce dejte n�m v�d�t <a href="http://www.instinct.co.nz/contact-us/">na v�voj</a> nebo p�idejte va�e p��n� do <a href="http://instinct.co.nz/blogshop/support-forums/">community forum</a>.
532
+
533
+ <h2>P�izp�soben� a tipy</h2>
534
+ <p><strong>Da�</strong><br />Vlo�te v��i dan� v nastaven� "e-Commerce" z�lo�ce.</p>
535
+ <p><strong>Email purchase Logs</strong><br />Pokud p�id�te e-mailovou adresu, pak se v�m ode�le na zadan� email notifikace pri ka�d� �m�ne stavu..</p>
536
+ <p><strong>Hiding pages</strong><br />
537
+ To prevent the Shopping Cart, Checkout and Transaction Results pages from being displayed in the page list you must first find out their ID numbers. <br />
538
+ <br />Then you have to edit the file in the theme you use that displays pages. This is normally found in sidebar.php, find the line similar to:<br />
539
+ <br />"&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;/h2&gt;\' ); ?&gt;"<br />
540
+ and replace with<br />
541
+ "&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;h2&gt;&amp;exclude=3,4,5\'); ?&gt;"<br />
542
+ <br />The word exclude tells it to exclude the pages from the list, replace 3,4,5 with the ID numbers of the pages you wish to exclude.</p>
543
+ <p><strong>Image Functions</strong><br />
544
+ If your server does not have the PHP image functions installed, you will not be able to resize images once they are uploaded</p>
545
+ <p><strong>Permalinks</strong><br />
546
+ We\'re doing the best we can.
547
+ I have not been able to find a really good way to pass the required variables from page to page using permalinks that dont use mod_rewrite, if you cant use mod_rewrite, the plugin may not work with permalinks turned on.</p>
548
+ <p><strong>Javascript and Ajax </strong><br />
549
+ e-commerce lite uses Ajax, the shopping cart that the user sees will work without Javascript, but the Administration pages (specifically the Products and Categories pages) will not. To use the Administration section you will need to use a reasonably modern browser and have Javascript turned on. (Internet Explorer 6 or better, or Firefox 1.0 or better, older versions have not been tested for and may or may not work)</p>
550
+ <p><strong>More on Flickr</strong><br />
551
+ We have created a number of <a href="http://www.google.com/search?q=flickr+wp+e-commerce&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a">visual guides</a> on Flickr.
552
+
553
+ ');
554
+
555
+
556
+ define('TXT_WPSC_SHIPPINGSETTINGS', 'Nastaven� odes�l�n�');
557
+ define('TXT_WPSC_BASE_LOCAL', 'Po�tovn�');
558
+ define('TXT_WPSC_BASE_INTERNATIONAL', 'Po�tovn� do zahrani��');
559
+ define('TXT_WPSC_BASE_COUNTRY', 'Oblast/region');
560
+
561
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Roz���en� nastaven� odes�l�n�'); // this needs updating
562
+ define('TXT_WPSC_LOCAL_PNP', 'Po�tovn�'); // this needs updating
563
+ define('TXT_WPSC_INTERNATIONAL_PNP', 'Po�tovn� do zahrani��'); // this needs updating
564
+ define('TXT_WPSC_SHIPPING_NOTE', 'Pozn�mka: charged only once per product regardless of quantity ordered.');
565
+ define('TXT_WPSC_COUNTRY_FORM_FIELD', 'Pole formul��e zem�');
566
+ define('TXT_WPSC_COUNTRY_FORM_FIELD_EXPLANATION', '(zvolte, pokud chtete specifick� podm�nky do konkr�tn�ch zem�)');
567
+
568
+ define('TXT_WPSC_SHIPPING', 'Odes�l�n�');
569
+ define('TXT_WPSC_EMAIL_FORM_FIELD', 'Pole formul��e e-mail');
570
+ define('TXT_WPSC_EMAIL_FORM_FIELD_EXPLANATION', '(zvlete kter� pole formul��e na potvrzovac� str�nce chete pou��t pro emailovou adresu)');
571
+
572
+
573
+ define('TXT_WPSC_PRODUCTIMAGES', 'Obr�zky produkt�');
574
+ define('TXT_WPSC_PRODUCTDOWNLOAD', 'Download produkt�');
575
+ define('TXT_WPSC_SHOWTHUMBNAILS', 'Zobrazen� n�hled�');
576
+ define('TXT_WPSC_ADD_ADDITIONAL_IMAGE', 'P�idat da�� obr�zky');
577
+ define('TXT_WPSC_DELETE_IMAGE', 'Vymazat obr�zky');
578
+ define('TXT_WPSC_GOLD_OPTIONS', 'Gold Nastaven�');
579
+ define('TXT_WPSC_ACTIVATE_SETTINGS', 'Nastaven� aktivace: Gold Cart');
580
+ define('TXT_WPSC_ACTIVATION_KEY', 'Aktiva�n� kl��');
581
+ define('TXT_WPSC_THANKSACTIVATED', 'D�kujeme - Gold n�kupn� ko��k byl aktivov�n.');
582
+ define('TXT_WPSC_NOTACTIVATED', 'Promi�te Gold API kl�� nen� spr�vn�.');
583
+
584
+ define('TXT_WPSC_DEFAULT', 'Z�kladn� n�hled');
585
+ define('TXT_WPSC_LIST', 'N�hled seznamu');
586
+
587
+ define('TXT_WPSC_VISIBLE', 'Viditeln�');
588
+ define('TXT_WPSC_DELETE_PRODUCT', 'Smazat produkt');
589
+ define('TXT_WPSC_ADDITIONAL_IMAGE', 'Dal�� obr�zek');
590
+ define('TXT_WPSC_GATEWAY_OPTIONS', 'Vlastnosti br�ny');
591
+ define('TXT_WPSC_SHIPPING_COUNTRY', 'Vyberte va�i zemi odesl�n�');
592
+ define('TXT_WPSC_CONFIRM_TOTALS', 'Potvr�te v� celkov� sou�et p�ed platbou:');
593
+ define('TXT_WPSC_CHECKOUT_FORM_FIELDS_DESCRIPTION', 'Zde m��ete nastavit formul�� pro registraci nov�ho z�kazn�ka. Za�ktrnut�m jednotliv�ch pol��ek a zvolen�m n�zv� vytvo��te formul�� s informacemi kter� v�s o z�kazn�kovi zaj�maj�. Jako nap��klad adresa, kontakty...');
594
+ define('TXT_WPSC_PAYMENT_OPTIONS', 'Platebn� nastaven�');
595
+ define('TXT_WPSC_PAYMENT_DESCRIPTION', 'Zvolte jake varianty plateb chcete m�t na potvrzovac� stra�nce.');
596
+
597
+ define('TXT_WPSC_DEFAULT_GATEWAY_ONLY', ' pouze');
598
+ define('TXT_WPSC_PLUS_MANUAL_PAYMENT', ' plus manual payment option');
599
+ define('TXT_WPSC_PAYMENT_METHOD', 'Platebn� metody');
600
+ define('TXT_WPSC_PAY_USING', 'Platba pou�it�m');
601
+ define('TXT_WPSC_PAY_MANUALLY', 'Platba �ekem');
602
+ define('TXT_WPSC_CREDIT_CARD', 'Kreditn� kartou');
603
+ define('TXT_WPSC_ADJUSTABLE_QUANTITY', 'Uk�zat po�et zobrazen�');
604
+ define('TXT_WPSC_RSS_FEED_HEADER', 'Potvrdit objedn�vky');
605
+ define('TXT_WPSC_RSS_FEED_LINK', 'Potvrdit RSS feed');
606
+ define('TXT_WPSC_RSS_FEED_TEXT', 'va�ich objedn�vek');
607
+ define('TXT_WPSC_INITIAL_SETUP', 'Vytvo�eno z�kladn� nastaven�.');
608
+ define('TXT_WPSC_PLUGIN_NEWS_HEADER', 'Plugin Novinky');
609
+
610
+
611
+ define('TXT_WPSC_PLUGIN_NEWS', '
612
+
613
+ <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank">WP DropShop Module</a> je posledn� a nejprod�van�j�� zbo�� dostupn� on-line! <br/><br/>
614
+
615
+ <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank">GridView Module</a> je modul vytv��ej�c� roz���en� mo�nosti zobrazen� va�ich produkt�.<br/><br/>
616
+
617
+ <a href="http://www.instinct.co.nz/wp-campaign-monitor/100">WP Campaign Monitor</a> je email newsletter n�stroj vytvo�en� p��mo pro WP u�ivatele kte�� chtej� dost�vat informace e-mailem.
618
+
619
+ ');
620
+
621
+
622
+ define('TXT_WPSC_POWERED_BY', 'Tento obchod je vytvo�en ');
623
+
624
+ define('TXT_WPSC_NO_PURCHASES', 'Vsou�asnosti nejsou ��dn� obchody.');
625
+
626
+
627
+ define('TXT_WPSC_DELIVERY_ADDRESS', 'Doru�ovac� adresa');
628
+ define('TXT_WPSC_DELIVERY_CITY', 'M�sto');
629
+ define('TXT_WPSC_DELIVERY_COUNTRY', 'Zem�');
630
+ define('TXT_WPSC_MP3_SETTINGS', 'MP3 nastaven�');
631
+ define('TXT_WPSC_MP3_SETTINGS_DESCRIPTION', 'To create the 30 second MP3 file clips, this plugin needs <a href=\'http://sox.sourceforge.net/\'>SoX</a> compiled with MP3 support, enter the path to SoX here.');
632
+ define('TXT_WPSC_SOX_PATH', 'SoX cesta');
633
+ define('TXT_WPSC_PREVIEW', 'P�ehr�t');
634
+ define('TXT_WPSC_DOWNLOAD_CSV', 'Download CSV');
635
+ define('TXT_WPSC_PREVIEW_FILE', 'P�ehr�t soubor');
636
+ define('TXT_WPSC_NEW_PREVIEW_FILE', 'Nov� soubor k p�ehr�n�');
637
+ define('TXT_WPSC_REPLACE_PRODUCT', 'P�epi� produkt');
638
+ define('TXT_WPSC_TOTALSHIPPING', 'Celkem odesl�no');
639
+ define('TXT_WPSC_DISPLAY_FRONT_PAGE', 'Zobrazit na prvn� str�nce');
640
+ define('TXT_WPSC_SEARCH_FOR', 'Hledej pro');
641
+ define('TXT_WPSC_YOUR_SEARCH_FOR', 'Va�e hled�n� pro');
642
+ define('TXT_WPSC_RETURNED_NO_RESULTS', 'vr�tilo 0 v�sledk�.');
643
+ define('TXT_WPSC_POSTAGE', 'Po�ta');
644
+ define('TXT_WPSC_SUBTOTAL', 'Mezisou�et');
645
+
646
+
647
+ //everything under here needs translations, added after 19/1/2007
648
+
649
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Vlo�te spr�vn�');
650
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Vlo�te va�e jm�no.');
651
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Vlo�te va�e p��jmen�.');
652
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Vlo�te v� e-mail.');
653
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Vlo�te kompletn� adresu.');
654
+ define('TXT_WPSC_PLEASEENTERAVALIDCITY', 'Vlo�te m�sto.');
655
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Vlo�te va�e telefon� ��slo.');
656
+ define('TXT_WPSC_PLEASESELECTCOUNTRY', 'Vyberte zemi z nab�dky.');
657
+ define('TXT_WPSC_PLEASEAGREETERMSANDCONDITIONS', 'za�krtn�te �e souhlas�te s podm�nkami. Bez toho nem��eme va�i objedn�vku vy��dit.');
658
+ define('TXT_WPSC_POSITION', 'Pozice');
659
+
660
+ define('TXT_WPSC_DELIVERY_REGION', 'Oblast soru�en�');
661
+
662
+
663
+ define('TXT_WPSC_GENERAL_SETTINGS', 'Z�kladn� nastaven�');
664
+ define('TXT_WPSC_TAX_SETTINGS', 'Nastaven� dan�');
665
+ define('TXT_WPSC_POSTAGE_AND_TAX', 'Po�tovn� &amp; Da� ');
666
+ define('TXT_WPSC_GRID', 'Grid View');
667
+ define('TXT_WPSC_CANT_MOVE_CATEGORY', 'nem��ete p�esunous skupinu obsahuj�c� podskupiny.');
668
+ define('TXT_WPSC_SURETODELETECATEGORY', 'Opravdu chcete smazat tuto kategorii? Podkategorie kter� tato kategorie obsahuje budou vymaz�ny tak�.');
669
+ define('TXT_WPSC_VARIATION', 'Varianty');
670
+ define('TXT_WPSC_OVER_TWO_VARIATIONS', 'Varianty zbo�� nebudou fungovat pokud pou�ijete v�ce ne� 2 varianty sou�asn�.');
671
+ define('TXT_WPSC_PRICE_AND_STOCK_CONTROL', 'Ovl�d�n� cen a sklad�') ;
672
+
673
+ // pe.{
674
+ define('TXT_WPSC_CATSBRANDSLOCATION', 'Um�st�n� kategori� &amp; zan�ek');
675
+ define('TXT_WPSC_DESCITEMSEPARATOR', ' : ');
676
+ define('TXT_WPSC_SEARCHITEMSEPARATOR', ' : ');
677
+ define('TXT_WPSC_SINGLE_SHIPPING_COUNTRY', 'Zem� doru�en�:');
678
+ define('TXT_WPSC_ADD_ANOTHER_VARIATION', 'P�idej variantu');
679
+ // }.pe
680
+ define('TXT_WPSC_PRODUCT_CATEGORIES', 'V�b�r kategori�');
681
+ define('TXT_WPSC_THANKS_DELETED', 'D�kujem, z�znam byl odstan�n');
682
+ define('TXT_WPSC_PRODUCT_IMAGE_PREVIEW', 'Obr�zek produktu');
683
+ define('TXT_WPSC_PRODUCT_THUMBNAIL_PREVIEW', 'N�hled produktu');
684
+ define('TXT_WPSC_REMOVE_LOG', 'Odstrani tento z�znam z Logu');
685
+ define('TXT_WPSC_CATSANDBRAND', 'Kategorie &amp; zna�ky');
686
+ define('TXT_WPSC_GOLD_DROPSHOP', 'DropShop');
687
+ define('TXT_WPSC_NEEDTOENABLEDROPSHOP', 'mus�te nejprve nainstalovat Gold and DropShop roz���en� pro tuto volbu');
688
+ define('TXT_WPSC_DRAG_ITEM_HERE', 'p�esu� toto zbo�� do ko��ku.');
689
+ define('TXT_WPSC_SHOWCATEGORYTHUMBNAILS', 'Zobrazit skupinu n�hled�');
690
+ define('TXT_WPSC_SHOPPING_CART', 'N�kupn� ko��k');
691
+ define('TXT_WPSC_SHOW_SLIDING_CART', 'Pou��t rozbalovac� Ko��k');
692
+ define('TXT_WPSC_PREVIEW_FILE', 'Upload Preview');
693
+ define('TXT_WPSC_PREVIEW_FILE_NOTE', 'Pozn�mka: If you do not upload a preview file and your server has sox compiled with MP3 support then a preview file will be created for you.');
694
+ define('TXT_WPSC_PURCHASE_NUMBER', 'Objedn�vka ��slo.');
695
+ define('TXT_WPSC_FILTER_ORDER', 'Filtr objedn�vek');
696
+ define('TXT_WPSC_SHOW_SEARCH', 'Zobrazit hleh�n�');
697
+ define('TXT_WPSC_LOG_CURRENT_MONTH', 'Zobrazit v�sledky tohoto m�s�ce');
698
+ define('TXT_WPSC_LOG_PAST_THREE_MONTHS', 'Zobrazt v�sledky za posledn� 3 m�s�ce');
699
+ define('TXT_WPSC_LOG_ALL', 'Zobrazit v�echny v�sledky');
700
+ define('TXT_SHOW_IMAGES_ONLY', 'Zobrazit pouze obr�zky');
701
+ define('TXT_WPSC_SHOW_GALLERY', 'Zobrazot galerii n�hled�');
702
+ define('TXT_WPSC_PLEASE_SELECT', 'Pros�m vyberte');
703
+ define('TXT_WPSC_TXN_ID', 'Id platby');
704
+ define('TXT_WPSC_SINGLE_PRODUCTTHUMBNAILSIZE', 'Velikost obr�zku produktu');
705
+ define('TXT_WPSC_RESET', 'Reset');
706
+ define('TXT_WPSC_ORDER_PENDING', 'D�kujeme va�e objedn�vka �ek� na vy��zen�, po�leme v�m e-mail jakmile bude vy��zena..');
707
+ define('TXT_WPSC_ORDER_FAILED', 'Omlouv�me se, ale va�e objedn�vka nebyl p�ijata pro nedostat�n� kredit.');
708
+ // Adrian - added for the options I added
709
+ define('TXT_WPSC_SHOW_CATEGORY_COUNT', 'Zobrazit mno�stv� produkt� ve skupin�');
710
+ define('TXT_WPSC_CATSPRODS_DISPLAY_TYPE', 'Zobrazen� skupiny/produkty');
711
+ define('TXT_WPSC_CATSPRODS_TYPE_CATONLY', 'Pouze skupiny (v�echny produkty zobrazeny)');
712
+ define('TXT_WPSC_CATSPRODS_TYPE_SLIDEPRODS', 'Rozbalovac� skupiny (1 product na str�nku)');
713
+ // Adrian - END new added options
714
+ define('TXT_WPSC_ORDER_DETAILS', 'Podrobnosti objedn�vky');
715
+ define('TXT_WPSC_SAVE_PROFILE', 'Ulo� profil');
716
+ define('TXT_WPSC_USERACCOUNTURL', 'URL u�ivatelsk�ho ��tu');
717
+ define('TXT_WPSC_MUST_BE_LOGGED_IN', 'Pro pou�it� t�to str�nky mus�te b�t p�ihl�eni. Pros�m vypl�te formul�� pro p�ihl�en�.');
718
+ define('TXT_WPSC_YOUR_ACCOUNT', 'V� ��et');
719
+
720
+ define('TXT_WPSC_YOU_JUST_ADDED', 'Pr�v� jste p�idali "[product_name]" do va�eho ko��ku.');
721
+ define('TXT_WPSC_SORRY_NONE_LEFT', 'Omlouv�me se, ale polo�ka "[product_name]" nen� skladem.');
722
+
723
+ define('TXT_WPSC_CONTINUE_SHOPPING', 'Pokra�ovat v n�kupu');
724
+ define('TXT_WPSC_ITEM_GONE_OUT_OF_STOCK', 'Toto zbo�� ji� nen� na sklad�, pros�m vra�te se a upravte va�i objedn�vku.');
725
+ define('TXT_WPSC_DISPLAY_FANCY_NOTIFICATIONS', 'Zobrazit efektn� ozn�men� o n�kupu');
726
+ define('TXT_WPSC_IF_USER_CHECKOUT', 'pokud ji� m�te u�ivatesk� ��et ');
727
+ define('TXT_WPSC_LOG_IN', 'p�ihla�te se.');
728
+ define('TXT_WPSC_IS_DONATION', 'Tento produkt je dotov�n?');
729
+ define('TXT_WPSC_DONATION', 'Darov�n�');
730
+ define('TXT_WPSC_DONATION_LC', 'Darov�n�');
731
+ define('TXT_WPSC_DONATION_SHIPPING', '��dn� zbo�� nen� dotovan�');
732
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT_URL', 'Jm�no souboru produktu');
733
+ define('TXT_WPSC_FILETOBEPRODUCTURL', 'Pozn�mka: Nahrajte soubory do adres��e a vl�te cestu.');
734
+ define('TXT_WPSC_DONATIONS', 'Darov�n�');
735
+ define('TXT_WPSC_WRONG_FILE_PERMS', 'N�sleduj�c� adres��e nemaj� pr�vo z�pisu: :directory: Nelze nahr�t obr�zky. Zm��te pr�va z�pisu do t�chto adres��� .');
736
+ define('TXT_WPSC_RESET_API', 'Reset API kl��');
737
+ define('TXT_WPSC_PRODUCTS_PER_PAGE', 'produkt� na str�nku');
738
+ define('TXT_WPSC_OPTION_PRODUCTS_PER_PAGE', 'po�et produkt� kter� se zobraz� na jedn� str�nce');
739
+ define('TXT_WPSC_PAGE_NUMBER_POSITION', 'Um�st�n� ��sla str�nky');
740
+
741
+
742
+ define('TXT_WPSC_YOUR_BILLING_CONTACT_DETAILS', '1. V�e faktura�n� adresa');
743
+ define('TXT_WPSC_DELIVER_TO_A_FRIEND', '2. Doru�ovac� podrobnosti');
744
+ define('TXT_WPSC_E_COMMERCE', 'e-Commerce');
745
+ define('TXT_WPSC_THANKS_SAVED', 'D�kujeme, zm�ny byly ulo�eny.');
746
+ define('TXT_WPSC_REGISTER', 'Registrovat');
747
+ define('TXT_WPSC_TAX', 'Da�');
748
+
749
+ define('TXT_WPSC_USE_SHIPPING', 'Pou��t odes�l�n�');
750
+ define('TXT_WPSC_USE_SHIPPING_DESCRIPTION', 'Pokud prod�v�te pouze software, zvolte ne a t�m vypnete mo�nost odes�l�n� z va�eho obchodu.');
751
+
752
+ define('TXT_WPSC_PAGESETTINGS', 'Nastaven� ��slov�n� str�nek');
753
+ define('TXT_WPSC_USE_PAGINATION', 'Pou��t ��slov�n�');
754
+ define('TXT_WPSC_ADD_PRODUCT', 'Po��t produkt');
755
+ define('TXT_WPSC_EDIT_PRODUCT', 'Edituj produkt');
756
+ define('TXT_WPSC_UPDATE_PAGE_URLS', 'Pou��t URL str�nek');
757
+ define('TXT_WPSC_VARIATIONS_AND_SPECIALS_DONT_MIX', 'Pozn�mka: v t�to verzi nen� mo�n� nastavit slevy.');
758
+ define('TXT_WPSC_PRODUCT_SPECIALS', 'Slevy produkt�');
759
+ define('TXT_WPSC_SHOW_SHARE_THIS', 'Zbrazte sd�len� (skupinov� z�lo�ky)');
760
+ define('TXT_WPSC_SHOW_NO_PRODUCT', '��dn� produkt');
761
+ define('TXT_WPSC_CHOOSE_DOWNLOADABLE_PRODUCT', 'Zvolte sta�hnuteln� soubor pto tuto polo�ku:');
762
+ define('TXT_WPSC_PLEASECHOOSE', 'Pros�m vyberte');
763
+
764
+ define('TXT_WPSC_VARIATION_CONTROL', 'Varianty - ovl�d�n�');
765
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_SINGLE', ':variation1: Nastaven�');
766
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_PAIR', ':variation1: a :variation2: Nastaven�');
767
+ define('TXT_WPSC_VIEW_PREVIEW_CLIP', 'Uka� p�edchoz� klip');
768
+ define('TXT_WPSC_REQUIRE_REGISTRATION', 'U�ivatel se mus� zaregistrovat p�ed zaplacen�m');
769
+ define('TXT_WPSC_PLEASE_LOGIN', 'pros�m p�ihla�te se pro dokon�en� objedn�vky');
770
+ define('TXT_WPSC_IF_JUST_REGISTERED', 'Pokud jste ji� zaregistrov�n�, pou�ijte v� email nebo login pro dokon�en� objedn�vky');
771
+ define('TXT_WPSC_SELECT_THEME', 'Zvol tema');
772
+ define('TXT_WPSC_NEW_ORDER_PENDING_SUBJECT', 'Nov� p��choz� objedn�vka');
773
+ define('TXT_WPSC_NEW_ORDER_PENDING_BODY', "Nov� objedn�vky �ekaj�c� na vy��zen�: \n\r ");
774
+ define('TXT_WPSC_NO_SHIPPING', "Nepou��vat zas�l�n�");
775
+ define('TXT_WPSC_DEFAULT_MEMBERS_ONLY', "Tato str�nka je pouze pro registrovan� z�kazn�ky. Registrujte se pros�m.");
776
+ define('TXT_WPSC_MEMBERSHIP_CONTROL', "Nastaven� �lenstv�");
777
+ define('TXT_WPSC_PRODUCT_MEMBER_STATUS', "Je to produkt pro �leny?");
778
+ define('TXT_WPSC_PRODUCT_MEMBERSHIP_LENGTH', "D�lka �lenstv�");
779
+ define('TXT_WPSC_DAYS', "dn�");
780
+ define('TXT_WPSC_MONTHS', "m�s�c�");
781
+ define('TXT_WPSC_YEARS', "let");
782
+ define('TXT_WPSC_MEMBERS_SUBSCRIPTION_ENDED', "Va�e prihl�en� bylo ukonceno.");
783
+ define('TXT_WPSC_ACTIVATE_SETTINGS_MEMBERS', 'Aktiva�n� nastaven�: U�ivatelsk� modul');
784
+ define('TXT_WPSC_GOLD_CART', 'Gold Cart');
785
+ define('TXT_WPSC_SHOW_CATEGORY_DESCRIPTION', 'Zobraz popis skupin');
786
+ define('TXT_WPSC_ALSO_BOUGHT', 'Lid� kte�� koupili toto zbo�� koupili u n�s tak�');
787
+ define('TXT_WPSC_MARKETING_SETTINGS', 'Marketingov� nastaven�');
788
+ define('TXT_WPSC_OPTION_ALSO_BOUGHT', 'Zobrazit k��ov� prodeje');
789
+ define('TXT_WPSC_MARKETING', 'Marketing');
790
+ define('TXT_WPSC_DISPLAYCOUPONS', 'Kupony');
791
+ define('TXT_WPSC_ADD_COUPON', 'P�idej kupon');
792
+ define('TXT_WPSC_COUPON', 'Kupon');
793
+ define('TXT_WPSC_ADDCOUPONS', 'P�idat kupon');
794
+ define('TXT_WPSC_COUPON_CODE', 'K�d kuponu');
795
+ define('TXT_WPSC_DISCOUNT', 'Sleva');
796
+ define('TXT_WPSC_START', 'Za��tek');
797
+ define('TXT_WPSC_EXPIRY', 'Konec');
798
+ define('TXT_WPSC_USE_ONCE', 'Pou��t jednou');
799
+ define('TXT_WPSC_ACTIVE', 'Aktivn�');
800
+ define('TXT_WPSC_COUPONHASBEENADDED', 'D�kujeme, kup�n byl p�id�n.');
801
+ define('TXT_WPSC_COUPON', 'Kupon');
802
+ define('TXT_WPSC_COUPON_DOESNT_EXIST', 'Platnost kuponu ji� skon�ila nebo kupon nen� platn�.');
803
+ define('TXT_WPSC_PRODUCT_TAGS', 'Tagy produktu');
804
+
805
+ define('TXT_WPSC_DROPSHOPDISPLAY', 'Zobrazit DropShop');
806
+ define('TXT_WPSC_HIDEADDTOCARTBUTTON', 'Skr�t tla��tko "P�idat do ko��ku"');
807
+
808
+ define('TXT_WPSC_PRODUCT_TAGS', 'Tagy produktu');
809
+
810
+ define('TXT_WPSC_SHOW_DROPSHOP_ALL', 'Zobrazit Dropshopna ka�d� str�nce');
811
+ define('TXT_WPSC_SHOW_DROPSHOP_PRODUCT', 'Zobrazit Dropshop pouze na str�nce produktu');
812
+ define('TXT_WPSC_PRICEAFTERDISCOUNT', 'Cena po slev�');
813
+ define('TXT_WPSC_ECOM_NEWS', 'e-Commerce Novinky');
814
+ define('TXT_WPSC_SAVE_PRODUCT_ORDER', 'Ulo�it objedn�vku produktu');
815
+
816
+ define('TXT_WPSC_ECOMMERCE_SUBSCRIBERS', 'e-Commerce Subscribers');
817
+ define('TXT_WPSC_USERID', 'U�ivatel ID');
818
+ define('TXT_WPSC_REGISTEREDDATE', 'Datum registrace');
819
+ define('TXT_WPSC_SUSPEND', 'Ukon�eno');
820
+ define('TXT_WPSC_ACTIVATE', 'Aktivov�no');
821
+
822
+
823
+ define('TXT_WPSC_DROPSHOP_LIGHT', 'Pou��t sv�tl� Dropshop styl');
824
+ define('TXT_WPSC_DROPSHOP_DARK', 'Pou��t tmav� Dropshop styl');
825
+
826
+
827
+ define('TXT_WPSC_MANUAL_PAYMENT', 'Platba v hotovosti');
828
+ define('TXT_WPSC_CREDIT_CARD', 'Kreditn� karta');
829
+ define('TXT_WPSC_CREDIT_CARD_AND_MANUAL_PAYMENT', 'Platba v hotovosti a kretin� karta');
830
+ define('TXT_WPSC_PAYMENT_INSTRUCTIONS', 'Vlo�te instrukce pro platbu v hotovosti');
831
+
832
+ define('TXT_WPSC_SHOWALL', "Zobrazit v�e");
833
+ define('TXT_WPSC_PRICE_RANGE', "Rozp�t� cen");
834
+ define('TXT_WPSC_GOOGLE_RISK_AVS', "�patn� verifikace adresy");
835
+ define('TXT_WPSC_GOOGLE_RISK_CVN', "Kreditn� karta nebyla ov��ena");
836
+ define('TXT_WPSC_GOOGLE_RISK_BOTH', "Ov��en� karty a nebo adresy selhalo");
837
+ define('TXT_WPSC_GOOGLE_RISK', 'Google Risk');
838
+ define('TXT_WPSC_CANCEL_ORDER', 'Ukon�en� objedn�vky');
839
+ define('TXT_WPSC_FIRST_NAME', 'Jm�no');
840
+ define('TXT_WPSC_LAST_NAME', 'P��jmen�');
841
+ define('TXT_WPSC_DELIVERY_FIRST_NAME', 'Doru�ovac� - Jm�no');
842
+ define('TXT_WPSC_DELIVERY_LAST_NAME', 'Doru�ovac� - P��jmen�');
843
+ define('TXT_WPSC_DELIVERY_STATE', 'Zem� doru�en�');
844
+ define('TXT_WPSC_SHIPWIREEMAIL', 'ShipWire Email');
845
+ define('TXT_WPSC_SHIPWIREPASSWORD', 'ShipWire Heslo');
846
+ define('TXT_WPSC_SHIPWIRESETTINGS', 'ShipWire Nastaven�');
847
+ define('TXT_WPSC_NO_DOWNLOADABLES', 'V sou�asnosti nen� k dispozici ��dn� st�hnuteln� produkt.');
848
+ define('TXT_DISPLAY_VARIATIONS', 'Zobraz varianty');
849
+
850
+
851
+ define('TXT_WPSC_NONAME', 'Beze jm�na');
852
+ define('TXT_WPSC_WEIGHT', 'Hmotnost');
853
+ define('TXT_WPSC_LOG_TRANSACTIONACCEPTEDLOGS', 'Zobrazit pouze uskute�n�n� platby');
854
+ define('TXT_WPSC_SEARCHEMAIL', 'Hledej podle Emailu');
855
+
856
+ ?>
languages/DE_de.php ADDED
@@ -0,0 +1,655 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ This is a language file for the WP Shopping Cart plugin version 3.5
4
+
5
+ I put some more translations in here and sort it like the english file
6
+ @author Damian Gawenda <info@damiangawenda.com>
7
+
8
+ */
9
+ define('TXT_WPSC_ADMINNOTES', 'H&auml;ndler Notizen');
10
+ define('TXT_WPSC_HIDEADDNAMELINK', 'Produktnamen Links verstecken');
11
+ define('TXT_WPSC_ADMINMENU', 'Admin Menu');
12
+ define('TXT_WPSC_USEONLYEXTERNALLINK', 'Hinweis: Nur nutzen, falls externe Links existieren');
13
+ define('TXT_WPSC_EXTERNALLINK', 'Externer Link');
14
+ define('TXT_WPSC_BUTTONTYPE', 'Button Typ');
15
+ define('TXT_WPSC_BUYNOW', 'Jetzt kaufen');
16
+ define('TXT_WPSC_ASSOCIATEWITHFILE', 'Mit Datei verkn&uuml;pfen?');
17
+ define('TXT_WPSC_SHOWLIVESEARCH', 'Live Suche verwenden');
18
+ define('TXT_WPSC_USPS_USERID', 'USPS ID');
19
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Versandkosten Details');
20
+ define('TXT_WPSC_SHOWADVANCEDSEARCH', 'Erweiterte Suche anzeigen');
21
+ define('TXT_WPSC_GOOGLEMECHANTKEY', 'Google Mechat Key');
22
+ define('TXT_WPSC_GOOGLEMECHANTID', "Google Mechant ID");
23
+ define('TXT_WPSC_IMAGESIZEINFO', 'Hinweis: wenn dieses Feld freigelassen wird, wird die Gr&ouml;&szlig;e nicht ver&auml;ndert');
24
+ define('TXT_WPSC_ENDLESSSUBSCRIPTION', 'Permenantes Abonnement?');
25
+ define('TXT_WPSC_RECEIVED', 'Bestellung empfangen');
26
+ define('TXT_WPSC_ORDER_STATUS', 'Bestellstatus');
27
+ define('TXT_WPSC_ORDER_SUMMARY', 'Bestell&uuml;bersicht');
28
+ define('TXT_WPSC_LANGUAGE', 'Sprache');
29
+ define('TXT_WPSC_ACCEPTED_PAYMENT', 'Zahlung aktzeptiert');
30
+ define('TXT_WPSC_JOB_DISPATCHED', 'Abgefertigt');
31
+ define('TXT_WPSC_PROCESSED', 'abgeschlossene Bestellung');
32
+ define('TXT_WPSC_ECOMMERCE', 'e-Commerce');
33
+ define('TXT_WPSC_OPTIONS', 'Shop Optionen');
34
+ define('TXT_WPSC_ADDPRODUCTS', 'Produkte hinzuf&uuml;gen');
35
+ define('TXT_WPSC_SENDSMS', 'SMS senden');
36
+ define('TXT_WPSC_PRODUCTS', 'Produkte');
37
+ define('TXT_WPSC_ADDCATEGORY', 'Kategorie hinzuf&uuml;gen');
38
+ define('TXT_WPSC_CATEGORIES', 'Kategorien');
39
+ define('TXT_WPSC_BRANDS', 'Marken');
40
+ define('TXT_WPSC_VARIATIONS', 'Varianten');
41
+ define('TXT_WPSC_PURCHASELOG', 'Eink&auml;ufe-Logbuch');
42
+ define('TXT_WPSC_ORDER_LOG', 'Bestellungen');
43
+ define('TXT_WPSC_OLDER_ORDERS', '&Auml;ltere Bestellungen');
44
+ define('TXT_WPSC_ORDER', 'Bestellung');
45
+ define('TXT_WPSC_TOTAL_THIS_MONTH', 'Monatsums&auml;tze');
46
+ define('TXT_WPSC_MONTHLY_REPORT', '6-Monats-Report');
47
+ define('TXT_WPSC_TOTAL_INCOME', 'Summe des Umsatzes');
48
+ define('TXT_WPSC_ACCEPTED_PAYMENTS', '(nur akzeptierte Zahlungen)');
49
+ define('TXT_WPSC_PAYMENTGATEWAYOPTIONS', 'Zahlungsoptionen');
50
+ define('TXT_WPSC_HELPINSTALLATION', 'Hilfe/Upgrade');
51
+ define('TXT_WPSC_EXAMPLECATEGORY', 'Beispielkategorie');
52
+ define('TXT_WPSC_EXAMPLEDETAILS', 'Beispieldetails');
53
+ define('TXT_WPSC_EXAMPLEBRAND', 'Beispielmarke');
54
+ define('TXT_WPSC_PRODUCTIMAGEWIDTH', 'Produkt Bildbreite');
55
+ define('TXT_WPSC_PRODUCTIMAGEHEIGHT', 'Produkt Bildh&ouml;he');
56
+ define('TXT_WPSC_CATEGORYIMAGEWIDTH', 'Kategorie Bildbreite');
57
+ define('TXT_WPSC_CATEGORYIMAGEHEIGHT', 'Kategorie ouml');
58
+ define('TXT_WPSC_PRODUCTLISTURL', 'Ort der Produktliste');
59
+ define('TXT_WPSC_SHOPPINGCARTURL', 'Ort des Einkaufswagens');
60
+ define('TXT_WPSC_CHECKOUTURL', 'Ort der Kasse');
61
+ define('TXT_WPSC_TRANSACTURL', 'Ort der Zahlungsoptionen');
62
+ define('TXT_WPSC_PAYMENTGATEWAY', 'Zu verwendendes Bezahlungs-Gateway');
63
+ define('TXT_WPSC_CARTLOCATION', 'Ort des Einkaufswagens');
64
+ define('TXT_WPSC_SHOWCATEGORYBRANDS', 'Kategorien, Marken oder beides anzeigen');
65
+ define('TXT_WPSC_CURRENCYTYPE', 'W&auml;hrungsoptionen');
66
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Ort des W&auml;hrungssymbols');
67
+ define('TXT_WPSC_GSTRATE', 'MwSt.-Satz');
68
+ define('TXT_WPSC_MAXDOWNLOADS', 'Downloadlimit');
69
+ define('TXT_WPSC_DISPLAYPNP', 'Versandt &amp; Verpackung anzeigen oder verstecken');
70
+ define('TXT_WPSC_DISPLAYSPECIALS', 'Sonderangebote in der Sidebar anzeigen oder verstecken');
71
+ define('TXT_WPSC_POSTAGEAND_PACKAGING', 'Standard Versandt &amp; Verpackung');
72
+ define('TXT_WPSC_PURCHLOGEMAIL', 'eMailadresse an die die Einkaufsbenachrichtigung gesendet wird');
73
+ define('TXT_WPSC_RETURNEMAIL', 'Absendeadresse der Einkaufsbest&auml;tigungen');
74
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Bezahlungskonditionen');
75
+ define('TXT_WPSC_DEFAULTBRAND', 'Standardmarke');
76
+ define('TXT_WPSC_DEFAULTCATEGORY', 'Standardkategorie');
77
+ define('TXT_WPSC_PAYPALBUSINESS', 'paypal business');
78
+ define('TXT_WPSC_PAYPALURL', 'paypal url');
79
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'zeige Produktbewertungen');
80
+ define('TXT_WPSC_PRODUCTSPAGE', 'Produkte');
81
+ define('TXT_WPSC_CHECKOUT', 'Kasse');
82
+ define('TXT_WPSC_ENTERDETAILS', 'Pers&ouml;nliche Daten');
83
+ define('TXT_WPSC_TRANSACTIONRESULTS', 'Ihre Bestellung');
84
+ define('TXT_WPSC_SELECTACATEGORY', 'W&auml;hlen Sie eine Kategorie');
85
+ define('TXT_WPSC_SELECTABRAND', 'W&auml;hlen Sie eine Marke');
86
+ define('TXT_WPSC_PRODUCTNAME', 'Produktname');
87
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Produktbeschreibung');
88
+ define('TXT_WPSC_ADDITIONALDESCRIPTION', 'Weitere Beschreibung');
89
+ define('TXT_WPSC_PRICE', 'Preis');
90
+ define('TXT_WPSC_TAXALREADYINCLUDED', 'MwSt. bereits enthalten');
91
+ define('TXT_WPSC_SPECIAL', 'Sonderangebot');
92
+ define('TXT_WPSC_PRODUCT_DISPLAY', 'Produkt Anzeige');
93
+
94
+ define('TXT_WPSC_PRODUCTSTOCK', 'Produkte auf Lager');
95
+
96
+ define('TXT_WPSC_UNTICKBOX', 'Hinweis: H&auml;kchen entfernen, um den Wert zu l&ouml;schen');
97
+ define('TXT_WPSC_LIMITED_STOCK', 'Begrenzte Anzahl auf Lager');
98
+
99
+ define('TXT_WPSC_CATEGORY', 'Kategorie');
100
+ define('TXT_WPSC_BRAND', 'Marke');
101
+ define('TXT_WPSC_PRODUCT_VARS', 'Produkt Varianten');
102
+ define('TXT_WPSC_ADD_VAR', 'Varianz hinzuf&uuml;gen');
103
+ define('TXT_WPSC_EDIT_VAR', 'Varianz bearbeiten');
104
+ define('TXT_WPSC_SELECTAVARIATION', 'Varianz ausw&auml;hlen');
105
+ define('TXT_WPSC_NEW_VARIATION', 'Neue Varianz erstellen');
106
+
107
+ define('TXT_WPSC_PRODUCTATT', 'Produktanh&auml;nge');
108
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT', 'Downloadbares Produkt?');
109
+ define('TXT_WPSC_FILETOBEPRODUCT', 'Hinweis: Eine hier hochgeladene Datei ist das zu kaufende Produkt.');
110
+ define('TXT_WPSC_RESIZEIMAGE', 'Bildgr&ouml;&szlig;e &auml;ndern');
111
+ define('TXT_WPSC_DONOTRESIZEIMAGE', 'Gr&ouml;&szlig;e nicht &auml;ndern.');
112
+ // define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'use default height and width');
113
+ // define('TXT_WPSC_USE', 'use');
114
+ // define('TXT_WPSC_PXHEIGHTBY', 'px height by');
115
+ // define('TXT_WPSC_PXWIDTH', 'px width.');
116
+
117
+ // pe.{
118
+ //define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'use default height and width');
119
+ // }.pe
120
+ define('TXT_WPSC_SEPARATETHUMBNAIL', 'seperates Thumbnail verwenden');
121
+ define('TXT_WPSC_USE', 'benutzen'); // Needs Translation
122
+ // pe.{
123
+ define('TXT_WPSC_USEDEFAULTSIZE', 'Standardgr&ouml;sse verwenden');
124
+ define('TXT_WPSC_USESPECIFICSIZE', 'bestimmte Gr&ouml;sse verwenden');
125
+ define('TXT_WPSC_PXHEIGHT', 'px H&ouml;he');
126
+ define('TXT_WPSC_PXWIDTH', 'px breit.');
127
+ // }.pe
128
+
129
+
130
+ define('TXT_WPSC_UPLOADNEWIMAGE', 'Neues Bild hochladen');
131
+ define('TXT_WPSC_DELETEIMAGE', 'Bild l&ouml;schen');
132
+ define('TXT_WPSC_EDIT', 'Bearbeiten');
133
+ define('TXT_WPSC_DELETE', 'L&ouml;schen');
134
+ define('TXT_WPSC_REMOVE', 'Entfernen');
135
+ define('TXT_WPSC_NAME', 'Name');
136
+ define('TXT_WPSC_TYPE', 'Typ');
137
+ define('TXT_WPSC_MANDATORY', 'Pflicht');
138
+ define('TXT_WPSC_DISPLAY_IN_LOG', 'Anzeigen<br /> im Log');
139
+ define('TXT_WPSC_DESCRIPTION', 'Beschreibung');
140
+ define('TXT_WPSC_CATEGORY_PARENT', 'Mutter Kategorie');
141
+ define('TXT_WPSC_IMAGE', 'Bild');
142
+ define('TXT_WPSC_HEIGHT', 'H&ouml;he');
143
+ define('TXT_WPSC_WIDTH', 'Breite');
144
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Bitte geben Sie einen g&uuml;ltigen');
145
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Bitte geben Sie einen g&uuml;ltigen Vornamen ein');
146
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Bitte geben Sie einen g&uuml;ltigen Nachnamen ein');
147
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Bitte geben Sie eine g&uuml;ltige E-Mailadresse ein');
148
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Bitte geben Sie eine g&uuml;ltige Adresse ein');
149
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Bitte geben Sie eine g&uuml;ltige Telefonnummer ein');
150
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Sie haben den Allgemeinen Gesch&auml;ftsbedingungen nicht zugestimmt');
151
+ define('TXT_WPSC_NOTHINGINYOURSHOPPINGCART', 'Es befindet sich nichts in ihrem Einkaufswagen');
152
+ define('TXT_WPSC_SPECIALS', 'Sonderangebote');
153
+ define('TXT_WPSC_BUY', 'Kaufen');
154
+ define('TXT_WPSC_SHOPPINGCART', 'Einkaufswagen');
155
+ define('TXT_WPSC_NUMBEROFITEMS', 'Anzahl');
156
+ define('TXT_WPSC_NOMOREAVAILABLE', 'Dieses Produkt steht zur Zeit nicht mehr zur Verf&uuml;gung.');
157
+ define('TXT_WPSC_EMPTYYOURCART', 'Einkaufwagen leeren');
158
+ define('TXT_WPSC_GOTOCHECKOUT', 'Zur Kasse gehen');
159
+ define('TXT_WPSC_CONTINUESHOPPING', 'Weiter einkaufen');
160
+ define('TXT_WPSC_YOURSHOPPINGCARTISEMPTY', 'Ihr Einkaufswagen ist leer');
161
+ define('TXT_WPSC_VISITTHESHOP', 'Zum Online-Shop');
162
+ define('TXT_WPSC_PAGES', 'Seiten');
163
+ define('TXT_WPSC_OUTOF', 'Aus');
164
+ define('TXT_WPSC_VOTES', 'Bewertungen.');
165
+ define('TXT_WPSC_CLICKSTARSTORATE', 'Zum bewerten auf die Sterne klicken');
166
+ define('TXT_WPSC_AVERAGERATINGOF', 'Durchschnittsbewertung');
167
+ define('TXT_WPSC_YOURVOTE', 'Ihre Bewertung');
168
+ define('TXT_WPSC_AVERAGEVOTE', 'Durchschnittsbewertung');
169
+ define('TXT_WPSC_YOUHAVEVOTED', 'Sie haben abgestimmt');
170
+ define('TXT_WPSC_NOVOTES', 'Keine Bewertungen');
171
+ define('TXT_WPSC_1VOTE', '1 Stimme');
172
+ define('TXT_WPSC_VOTES2', 'Stimmen');
173
+ define('TXT_WPSC_PERSONGIVEN', 'Person hat diesem Bild');
174
+ define('TXT_WPSC_PERSONGIVEN2', 'Sterne gegeben.');
175
+ define('TXT_WPSC_PEOPLEGIVEN', 'Personen haben diesem Bild');
176
+ define('TXT_WPSC_PEOPLEGIVEN2', 'Sterne gegeben');
177
+ define('TXT_WPSC_ITEMHASBEENADDED', 'Das Produkt wurde hinzugef&uuml;gt');
178
+ define('TXT_WPSC_ITEMHASNOTBEENADDED', 'Das Produkt wurde nicht hinzugef&uuml;gt');
179
+ define('TXT_WPSC_ADDNEWCATEGORY', 'Neue Kategorie hinzuf&uuml;gen');
180
+ define('TXT_WPSC_SUBMIT', 'Senden');
181
+ define('TXT_WPSC_SELECTAVALIDCATEGORY', 'Bitte w&auml;hlen Sie ein g&uuml;ltiges Land');
182
+ define('TXT_WPSC_PRODUCTNAME', 'Produktname');
183
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Produktbeschreibung');
184
+ define('TXT_WPSC_ADDNEWPRODUCT', 'Produkt hinzuf&uuml:gen');
185
+ define('TXT_WPSC_PRODUCTQUANTITY', 'Produktquantit?');
186
+ define('TXT_WPSC_PRODUCTIMAGE', 'Produkt Bild');
187
+ define('TXT_WPSC_PRODUCTPRICE', 'ProduKt Preis');
188
+ define('TXT_WPSC_NOTAX', 'Steuerbefreit');
189
+ define('TXT_WPSC_ABOUT', '?er');
190
+ define('TXT_WPSC_ABOUTCONTENT', 'Willkommen im e-commerce Adminbereich. <br /><br /><strong>Hinweis:</strong> Auf manchen Systemen ist der Einkaufswagen nach jeder Aktualisierung der Seite leer. Wenn das der Fall ist, musst du folgende Zeile:<br /><br />session_start();<br /><br />in der index.php Datei im Hauptverzeichnis von Wordpress hinzufgen.<br />');
191
+ define('TXT_WPSC_CONTACTDETAILS:', 'Bitte geben Sie ihre Kontaktdaten an:');
192
+ define('TXT_WPSC_CREDITCARDHANDY.', 'Beachten Sie, dass sie nach Absenden dieses Vormulares Ihre Bankdaten parat haben m&uuml;ssen.');
193
+ define('TXT_WPSC_ASTERISK', 'Felder mit einem Stern * m&uuml;ssen ausgef&uuml;llt werden.');
194
+ define('TXT_WPSC_FIRSTNAME', 'Vorname');
195
+ define('TXT_WPSC_LASTNAME', 'Nachname');
196
+ define('TXT_WPSC_EMAIL', 'E-Mail');
197
+ define('TXT_WPSC_ADDRESS', 'Adresse');
198
+ define('TXT_WPSC_ADDRESS1', 'Adresse 1');
199
+ define('TXT_WPSC_ADDRESS2', 'Adresse 2');
200
+ define('TXT_WPSC_CITY', 'Ort');
201
+ define('TXT_WPSC_STATE', 'Bundesland');
202
+ define('TXT_WPSC_COUNTRY', 'Land');
203
+ define('TXT_WPSC_PHONE', 'Telefonnummer');
204
+ define('TXT_WPSC_POSTAL_CODE', 'Postleitzahl');
205
+ define('TXT_WPSC_TERMS1', 'Ich stimme den ');
206
+ define('TXT_WPSC_TERMS2', 'Allgemeinen Gesch&auml;ftsbedingungen zu');
207
+
208
+
209
+ define('TXT_WPSC_TEXT', 'Text');
210
+ define('TXT_WPSC_TEXTAREA', 'Textarea');
211
+ define('TXT_WPSC_HEADING', 'Heading');
212
+
213
+ define('TXT_WPSC_MAKEPURCHASE', 'Kauf abschlie&szlig;en');
214
+ define('TXT_WPSC_BUYPRODUCTS', 'Bitte w&auml;hlen Sie zun&auml;chst Produkte aus.');
215
+ define('TXT_WPSC_BRANDHASBEENEDITED', 'Die Marke wurde bearbeitet.');
216
+ define('TXT_WPSC_SURETODELETEPRODUCT', 'Sind Sie sicher, dass sie dieses Produkt entfernen wollen?');
217
+ define('TXT_WPSC_ADDBRAND', 'Marke hinzuf&uuml;gen');
218
+ define('TXT_WPSC_DISPLAYBRANDS', 'Marken anzeigen');
219
+ define('TXT_WPSC_EDITBRAND', 'Marke bearbeiten');
220
+ define('TXT_WPSC_ADD', 'Hinzuf&uuml;gen');
221
+ define('TXT_WPSC_ADD_NEW_FORM', 'Neues Formularfeld hinzuf&uuml;gen');
222
+ define('TXT_WPSC_SAVE_CHANGES', '&Auml;nderungen speichern');
223
+
224
+ define('TXT_WPSC_CATEGORYHASBEENEDITED', 'Die Kategorie wurde bearbeitet.');
225
+ define('TXT_WPSC_DISPLAYCATEGORIES', 'Kategorien anzeigen');
226
+ define('TXT_WPSC_ADDCATEGORY', 'Kategorie hinzuf&uuml;gen');
227
+ define('TXT_WPSC_EDITCATEGORY', 'Kategorie bearbeiten');
228
+ define('TXT_WPSC_ALLCATEGORIES', 'Alle Kategorien');
229
+
230
+ define('TXT_WPSC_DISPLAYVARIATIONS', 'Varianten anzeigen');
231
+ define('TXT_WPSC_ADDVARIATION', 'Varianz hinzuf&uuml;gen');
232
+ define('TXT_WPSC_EDITVARIATION', 'Varianz bearbeiten');
233
+ define('TXT_WPSC_VARIATIONHASBEENEDITED', 'Diese Varianz wurde bearbeitet.');
234
+ define('TXT_WPSC_VARIATION_VALUES', 'Varianzwert');
235
+ define('TXT_WPSC_REMOVE_SET', 'Varianz l&ouml;schen');
236
+
237
+ define('TXT_WPSC_SELECT_PARENT', 'Mutter ausw&auml;hlen');
238
+ define('TXT_WPSC_PRODUCTHASBEENEDITED', 'Das Produkt wurde bearbeitet.');
239
+ define('TXT_WPSC_ADDPRODUCT', 'Produkt hinzuf&uuml;gen');
240
+ define('TXT_WPSC_DISPLAYPRODUCTS', 'Produkte anzeigen');
241
+ define('TXT_WPSC_PLEASESELECTACATEGORY', 'Bitte w&auml;hlen Sie eine Kategorie');
242
+ define('TXT_WPSC_STOCK', 'Auf Lager');
243
+ define('TXT_WPSC_PNP', 'V&V');
244
+ define('TXT_WPSC_EDITITEM', 'Element bearbeiten');
245
+ define('TXT_WPSC_PRODUCTDETAILS', 'Produktdetails');
246
+ define('TXT_WPSC_SELECT_PRODUCT', 'W&auml;hle ein vorhandenes Produkt aus');
247
+ define('TXT_WPSC_ENTERPRODUCTDETAILSHERE', '(Geben Sie hier die Produktdetails ein)');
248
+ define('TXT_WPSC_ADDITIONALPRODUCTDESCRIPTION', 'Erweiterte Produktbeschreibung');
249
+ define('TXT_WPSC_ADDITEM', 'Element hinzuf&uuml;gen');
250
+ define('TXT_WPSC_CHOOSEACATEGORY', 'W&auml;hlen Sie eine Kategorie');
251
+ define('TXT_WPSC_CHOOSEABRAND', 'W&auml;hlen Sie eine Marke');
252
+ define('TXT_WPSC_USETHEACTUALIMAGE', 'Aktuelle Gr&ouml;&szlig;e beibehalten.');
253
+ define('TXT_WPSC_DISPLAYPURCHASES', 'Eink&auml;ufe anzeigen');
254
+ define('TXT_WPSC_ID', 'ID');
255
+ define('TXT_WPSC_TRANSACTIONSTATUS', 'Transaktions-Status');
256
+ define('TXT_WPSC_DATE', 'Datum');
257
+ define('TXT_WPSC_VIEWDETAILS', 'Details anzeigen');
258
+ define('TXT_WPSC_STATUS', 'Status');
259
+ define('TXT_WPSC_SUCCESSFUL', 'Erfolgreich');
260
+ define('TXT_WPSC_FAILED', 'Fehlgeschlagen');
261
+ define('TXT_WPSC_GST', 'MwSt');
262
+ define('TXT_WPSC_PP', 'V&amp;V');
263
+ define('TXT_WPSC_TOTAL', 'Zwischensumme');
264
+ define('TXT_WPSC_FINALTOTAL', 'Gesamt');
265
+ define('TXT_WPSC_CUSTOMERDETAILS', 'Kundendetails');
266
+ define('TXT_WPSC_USERSCARTWASEMPTY', 'Der Einkaufswagen dieses Kunden war leer');
267
+ define('TXT_WPSC_GOBACK', 'Zur&uuml;ck');
268
+ define('TXT_WPSC_THANKSAPPLIED', 'Vielen Dank, die ?derungen wurden gespeichert.');
269
+ define('TXT_WPSC_FORM_FIELDS', 'Kasse Formfelder');
270
+ define('TXT_WPSC_PAYMENTGATEWAY2', 'Zahlungsweise');
271
+ define('TXT_WPSC_PLEASESELECTAPAYMENTGATEWAY', 'Bitte w&auml;hlen Sie eine Zahlungsweise');
272
+ define('TXT_WPSC_PAYMENTGATEWAYNOTE', '');
273
+ define('TXT_WPSC_URLSETTINGS', 'URL Einstellungen');
274
+ define('TXT_WPSC_PRODUCTLISTURL', 'Produktseite URL');
275
+ define('TXT_WPSC_SHOPPINGCARTURL', 'Einkaufswagen URL');
276
+ define('TXT_WPSC_CHECKOUTURL', 'Kasse URL');
277
+ define('TXT_WPSC_TRANSACTIONDETAILSURL', 'Transaktion-Details URL');
278
+ define('TXT_WPSC_PRESENTATIONSETTINGS', 'Darstellungsoptionen');
279
+ define('TXT_WPSC_CARTLOCATION', 'Einkaufswagen Position');
280
+ define('TXT_WPSC_SIDEBAR', 'Sidebar');
281
+ define('TXT_WPSC_PAGE', 'Seite');
282
+ define('TXT_WPSC_WIDGET', 'Widget');
283
+ define('TXT_WPSC_NEEDTOENABLEWIDGET', 'Hierf&uuml;r m&uuml;ssen Sie das Widget-Plugin aktivieren');
284
+ define('TXT_WPSC_MANUAL', 'Manuell');
285
+ define('TXT_WPSC_SHOWCATEGORIESBRANDS', 'Kategorien/Marken anzeigen');
286
+ define('TXT_WPSC_BOTH', 'Beide');
287
+ define('TXT_WPSC_PRODUCTTHUMBNAILSIZE', 'Standard Produkt Thumbnail-Gr&ouml;&szlig;e');
288
+ define('TXT_WPSC_CATEGORYTHUMBNAILSIZE', 'Standard Kategorie Thumbnail-Gr&ouml;&szlig;e');
289
+ define('TXT_WPSC_SHOWPOSTAGEANDPACKAGING', 'Versand und Verpackung anzeigen');
290
+ define('TXT_WPSC_YES', 'Ja');
291
+ define('TXT_WPSC_NO', 'Nein');
292
+ define('TXT_WPSC_SHOWSPECIALS', 'Sonderangebote zeigen');
293
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Produktbewertungen anzeigen');
294
+ define('TXT_WPSC_CURRENCYSETTINGS', 'W&auml;hrungsoptionen');
295
+ define('TXT_WPSC_GSTTAXRATE', 'MwSt/Steuersatz');
296
+ define('TXT_WPSC_CURRENCYTYPE', 'W&auml;hrungsform');
297
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'W&auml;hrungssymbol');
298
+ define('TXT_WPSC_DEFAULTPOSTAGEPACKAGING', 'Standard Versand &amp; Verpackung');
299
+ define('TXT_WPSC_ADMINISTRATIONSETTINGS', 'Administration-Einstellungen');
300
+ define('TXT_WPSC_MAXDOWNLOADSPERFILE', 'Max. downloads pro Datei');
301
+ define('TXT_WPSC_PURCHASELOGEMAIL', 'Einkaufs-Logbuch Email');
302
+ define('TXT_WPSC_REPLYEMAIL', 'Antwort-Email');
303
+ define('TXT_WPSC_BRANDNOCAP', 'Marke');
304
+ define('TXT_WPSC_CATEGORYNOCAP', 'Kategorie');
305
+ define('TXT_WPSC_UDPATING', 'Aktualisieren');
306
+ define('TXT_WPSC_UPDATING', 'Aktualisieren');
307
+ define('TXT_WPSC_MOREDETAILS', 'Mehr Details');
308
+ define('TXT_WPSC_ADDTOCART', 'In den Einkaufswagen');
309
+ define('TXT_WPSC_AVGCUSTREVIEW', 'Durchschnittliche Kundenbewertung');
310
+ define('TXT_WPSC_YOURRATING', 'Ihre Bewertung');
311
+ define('TXT_WPSC_RATING_SAVED', 'Gespeichert');
312
+ define('TXT_WPSC_RATETHISITEM', 'Bewerten Sie dieses Produkt');
313
+ define('TXT_WPSC_PRODUCTSOLDOUT', 'Dieses Produkt ist ausverkauft.');
314
+ define('TXT_WPSC_NOITEMSINTHIS', 'Es gibt keine Produkte in dieser');
315
+ define('TXT_WPSC_CATEGORYORBRAND', 'Kategorie / Marke');
316
+ define('TXT_WPSC_PLEASECHOOSEA', 'Bitte w&auml;hlen Sie ein');
317
+ define('TXT_WPSC_PRODUCT', 'Produkt');
318
+ define('TXT_WPSC_QUANTITY', 'Anzahl');
319
+ define('TXT_WPSC_QUANTITY_SHORT', 'Anz'); //translation needed
320
+ define('TXT_WPSC_APPLY', 'Best&auml;tigen');
321
+ define('TXT_WPSC_MAKEPAYMENT', 'Zahlung abschlie&szlig;en');
322
+ define('TXT_WPSC_EMPTYSHOPPINGCART', 'Einkaufswagen leeren');
323
+ define('TXT_WPSC_TOTALPRICE', 'Gesamtpreis');
324
+ define('TXT_WPSC_NOITEMSINTHESHOPPINGCART', 'Der Einkaufswagen ist leer');
325
+ define('TXT_WPSC_EMAILMSG1', "Vielen Dank, wir haben Ihre Bestellung erhalten, wir bearbeiten Sie baldm&ouml;glichst. Produkte die runtergeladen werden k&ouml;nnen, k&ouml;nnen jetzt &uuml;ber die Links auf dieser Seite runtergeladen werden.\n\r\n\rAlle Preise beinhalten MwSt, Versand und Verpackung, soweit n&ouml;tig.\n\r\n\rSie haben folgende Produkte bestellt:\n\r\n\r");
326
+ define('TXT_WPSC_EMAILMSG2', ".\n\rFolgende Produkte wurden bestellt:\n\r\n\r");
327
+ define('TXT_WPSC_CLICKTODOWNLOAD', 'Klicken Sie hier zum Download');
328
+ define('TXT_WPSC_DOWNLOAD', 'Download');
329
+ define('TXT_WPSC_YOURTRANSACTIONID', 'Ihre Bestell-ID');
330
+ define('TXT_WPSC_TRANSACTIONID', 'Bestell-ID');
331
+ define('TXT_WPSC_PURCHASERECEIPT', 'Ihre Bestellung');
332
+ define('TXT_WPSC_PURCHASEREPORT', 'Neue Bestellung');
333
+ define('TXT_WPSC_THETRANSACTIONWASSUCCESSFUL', 'Die Bestellung war erfolgreich');
334
+ define('TXT_WPSC_THETRANSACTIONWASNOTSUCCESSFUL', 'Die Bestellung war nicht erfolgreich');
335
+ define('TXT_WPSC_GOBACKTOCHECKOUT', 'Zur&uuml;ck zur Kasse');
336
+ define('TXT_WPSC_SPECIALPRICE', 'Sonderpreis');
337
+
338
+ define('TXT_WPSC_INSTRUCTIONS', '
339
+ Installation
340
+ <ul class=\'installation\'>
341
+ <li>Kopieren Sie den Inhalt der zip-Datei in das wp-content/plugins Verzeichnis.</li>
342
+ <li>Aktivieren Sie das Plugin auf der wordpress Pluginseite</li>
343
+ <li>Gehen Sie zu "Zahlungsoptionen" auf der "Online-Shop" Karte und geben Sie die erforderlichen Details an. (Das Standard Paypal Gateway Zugang befindet sich in der Paypalsandbox). F&uuml;r Deutschland geben Sie https://www.paypal.com/de/cgi-bin/webscr als Paypal Gateway ein.</li>
344
+ <li>Erstellen Sie einige Kategorien und Produkte auf den Produkt- und Kategorieseiten</li>
345
+ </ul>
346
+
347
+ <p>Falls Sie von fr&uuml;heren Versionen upgraden, empfehlen wir das Plugin zu deaktivien und anschliessend zu aktivieren.</p>
348
+
349
+ <h2>Upgrades und Module</h2>
350
+
351
+ <p>Sie finden mehr Informationen &uuml;ber die folgenden WP e-Commerce module unter <a href="http://www.instinct.co.nz/blogshop">Instinct BlogShop</a></p>
352
+
353
+ <ul class=\'installation\'>
354
+ <li>Gold</li>
355
+ <li>DropShop</li>
356
+ <li>Audio Player</li>
357
+ <li>GridView</li>
358
+ </ul>
359
+
360
+ <h2>Wunschliste</h2>
361
+ <p>Falls Sie neue Funktionen w&uuml;nchen, k&ouml;nnen Sie uns schreiben <a href="http://www.instinct.co.nz/contact-us/">commission the development</a> oder einen Eintrag in der Wishlist hinterlegen in den <a href="http://instinct.co.nz/blogshop/support-forums/">Community Forumen von Instinct</a>.
362
+
363
+ <h2>Anpassungen und Tips</h2>
364
+ <p><strong>Mehrwertsteuer</strong><br />Falls erforderlich k&ouml;nnen Sie einen Steuersatz auf der Optionenseite in dem "e-Commerce" tab hinterlegen.</p>
365
+ <p><strong>Email purchase Logs</strong><br />Falls Sie eine Emailadresse eingef&uuml;gt haben f&uuml;r im Einkaufslog, wird dies die Emailadresse sein, die Bestellinformationen bei jedem Kauf versendet.</p>
366
+ <p><strong>Seiten ausblenden</strong><br />
367
+ Um die Seiten Einkaufswagen, Shopping Cart, Kasse und Transaktion aus der Seitenliste auszublenden, m&uuml;ssen Sie zun&auml;st deren IDs herausfinden. <br />
368
+ <br />Dann m&uuml;ssen Sie die Datei in Ihrem Theme editieren, die die Seitenliste anzeigt. <br />
369
+ <br />Das ist normalerweise die sidebar.php, finden Sie die Zeile:<br />
370
+ <br />"&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;/h2&gt;\' ); ?&gt;"<br />
371
+ <br />Ersetzen Sie dies mit beispielsweise:<br />
372
+ <br />"&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;h2&gt;&amp;exclude=3,4,5\'); ?&gt;"<br />
373
+ <br />Das word exclude schliesst die Seiten mit den IDs aus.</p>
374
+ <p><strong>Bild Funktionen</strong><br />
375
+ Falls Ihr SErver keine PHP image functions installiert hat, werden Sie nicht in der Lage sein Bildgr&ouml;ssen zu &auml;ndern, wenn Sie bereits hochgeladen wurden</p>
376
+ <p><strong>Permalinks</strong><br />
377
+ Wir geben uns die gr&ouml;sste M&uuml;he.
378
+ Bislang habe ich noch keine wirklich guten Weg gefunden, die erforderlichen Variablen anzupassen um Permalinks ohne mod-rewrite verwenden zu k&ouml;nnen. Falls Sie mod_rewrite nicht nutzen k&ouml;nnen, wird das Plugin nicht funktionieren mit eingeschalteten Permalinks.</p>
379
+ <p><strong>Javascript und Ajax </strong><br />
380
+ e-commerce lite nutzt Ajax, der Warenkorb den der Kunde sieht funktioniert ohne Javascript, aber die Administrationsseiten (insbesondere die Produkt- und Kategorieseiten) tun es nicht. Um den Adminbereich nutzen zu k&ouml;nnen, m&uuml;ssen Sie einen modernen Browser nutzen und Javascript einschalten. (Internet Explorer 6 oder h&ouml;her, oder Firefox 1.0 oder h&ouml;her, &auml;ltere Versionen wurden nicht getesten und funktionieren unter Umst&auml;nden nicht)</p>
381
+ <p><strong>Mehr auf Flickr</strong><br />
382
+ Wir haben eine Vielzahl von <a href="http://www.google.com/search?q=flickr+wp+e-commerce&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a">Visuellen Einf&uuml;hrungen</a> auf Flickr.
383
+
384
+ <h2>Deutsche Bearbeitung</h2>
385
+ <p>Dieses Wordpress-Plugin wurde &uuml;bersetzt von Damian Gawenda | <a href="http://damiangawenda.com" target="_blank">damiangawenda.com</a></p>
386
+
387
+
388
+ ');
389
+
390
+
391
+ define('TXT_WPSC_SHIPPINGSETTINGS', 'Versandeinstellungen');
392
+ define('TXT_WPSC_BASE_LOCAL', 'Base Local Versand');
393
+ define('TXT_WPSC_BASE_INTERNATIONAL', 'Base International Versand');
394
+ define('TXT_WPSC_BASE_COUNTRY', 'Heimatland');
395
+
396
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Zus&auml;tzliche Versandkosten');
397
+ define('TXT_WPSC_LOCAL_PNP', 'Lokale Versandgeb&uuml;r');
398
+ define('TXT_WPSC_INTERNATIONAL_PNP', 'Internationale Versandgeb&uuml;r');
399
+ define('TXT_WPSC_SHIPPING_NOTE', 'Hinweis: Kosten je Produkt unabh&auml;ngig der Bestellmenge.');
400
+ define('TXT_WPSC_COUNTRY_FORM_FIELD', 'Land Formfeld');
401
+ define('TXT_WPSC_COUNTRY_FORM_FIELD_EXPLANATION', '(select which form field on the checkout page you want to use for specifying the country)');
402
+
403
+ define('TXT_WPSC_SHIPPING', 'Versand');
404
+ define('TXT_WPSC_EMAIL_FORM_FIELD', 'Email Formfeld');
405
+ define('TXT_WPSC_EMAIL_FORM_FIELD_EXPLANATION', '(select which form field on the checkout page you want to use for specifying the email address)');
406
+
407
+
408
+ define('TXT_WPSC_PRODUCTIMAGES', 'Produkt Bilder');
409
+ define('TXT_WPSC_PRODUCTDOWNLOAD', 'Produkt Download');
410
+ define('TXT_WPSC_SHOWTHUMBNAILS', 'Zeige Thumbnails');
411
+ define('TXT_WPSC_ADD_ADDITIONAL_IMAGE', 'Zus&auml;tzliches Bild hinzuf&uuml;gen');
412
+ define('TXT_WPSC_DELETE_IMAGE', 'Bild l&ouml;schen');
413
+ define('TXT_WPSC_GOLD_OPTIONS', 'Gold Cart Optionen');
414
+ define('TXT_WPSC_ACTIVATE_SETTINGS', 'Aktivierungseinstellungen: Gold Cart');
415
+ define('TXT_WPSC_ACTIVATION_KEY', 'Activatierungsschl&uuml;ssel');
416
+ define('TXT_WPSC_THANKSACTIVATED', 'Vielen Dank, der Gold Shopping Cart wurde aktiviert.');
417
+ define('TXT_WPSC_NOTACTIVATED', 'Sorry, der API key ist nicht korrekt.');
418
+ define('TXT_WPSC_DEFAULT', 'Standard');
419
+ define('TXT_WPSC_LIST', 'Liste');
420
+ define('TXT_WPSC_VISIBLE', 'Sichtbar');
421
+ define('TXT_WPSC_DELETE_PRODUCT', 'Produkt l&ouml;schen');
422
+ define('TXT_WPSC_ADDITIONAL_IMAGE', 'Zus&auml;tzliches Bild');
423
+ define('TXT_WPSC_GATEWAY_OPTIONS', 'Gateway Optionen');
424
+ define('TXT_WPSC_SHIPPING_COUNTRY', 'W&auml;hlen Sie Ihr Land f&uuml;r den Versand aus:');
425
+ define('TXT_WPSC_CONFIRM_TOTALS', 'Pr&uuml;fen Sie Ihre Bestellung vor dem Absenden:');
426
+ define('TXT_WPSC_CHECKOUT_FORM_FIELDS_DESCRIPTION', 'Hier k&ouml;nnen Sie die Felder editieren, die bei einer Bestellung gefragt werden. Auf der Kasseseite k&ouml;nnen Sie wichtige Informationen &uuml;ber Ihre Kunden sammeln, die Ihnen im Einkaufswagen-Log angezeigt werden.');
427
+ define('TXT_WPSC_PAYMENT_OPTIONS', 'Zahlungsoptionen');
428
+ define('TXT_WPSC_PAYMENT_DESCRIPTION', 'W&auml;hlen Sie Ihre Zahlungsoptionen aus die Sie Ihren Kunden im Bestellvorgang anbieten m&ouml;chten. Standardm&auml;ssig k&ouml;nnen K&auml;fer nur mit Kreditkarte/Paypal bezahlen. Wenn Sie auch manuelle Zahlungen zulassen m&ouml;chten, w&auml;hlen Sie Kreditkarte + Manuell als Zahlungsoption aus.');
429
+
430
+ define('TXT_WPSC_DEFAULT_GATEWAY_ONLY', ' ausschliesslich');
431
+ define('TXT_WPSC_PLUS_MANUAL_PAYMENT', ' plus manuelle Zahlungsoption');
432
+ define('TXT_WPSC_PAYMENT_METHOD', 'Zahlungsart');
433
+ define('TXT_WPSC_PAY_USING', 'Zahlung verwendet');
434
+ define('TXT_WPSC_PAY_MANUALLY', 'Zahlung per Check/Bank&uuml;berweisung');
435
+ define('TXT_WPSC_CREDIT_CARD', 'Kreditkarte');
436
+ define('TXT_WPSC_ADJUSTABLE_QUANTITY', 'Zeige Anzahlformular in der Listenansicht');
437
+ define('TXT_WPSC_RSS_FEED_HEADER', 'Abbonieren Sie zu Ihrer Bestellung');
438
+ define('TXT_WPSC_RSS_FEED_LINK', 'RSS feed abbonieren');
439
+ define('TXT_WPSC_RSS_FEED_TEXT', 'Ihren Bestellungen');
440
+ define('TXT_WPSC_INITIAL_SETUP', 'Erstelle Standardoptionen.');
441
+ define('TXT_WPSC_PLUGIN_NEWS_HEADER', 'Plugin News');
442
+
443
+
444
+ define('TXT_WPSC_PLUGIN_NEWS', '
445
+
446
+ The <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank">WP DropShop Module</a> is the latest and most cutting edge shopping cart available online. Coupled with Grid View then your site will be the talk of street! <br/><br/>
447
+
448
+ The <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank">GridView Module</a> is a visual module built to enhance the way your product page looks.<br/><br/>
449
+
450
+ <a href="http://www.instinct.co.nz/wp-campaign-monitor/100">WP Campaign Monitor</a> is an email newsletter tool built just for WP users who want to send campaigns, track the results and manage their subscribers. The latest version integrates with e-commerce lite meaning that you will be able to send buyers email newsletters and much more.
451
+
452
+ ');
453
+
454
+
455
+ define('TXT_WPSC_POWERED_BY', 'Dieser Shop ist powered by ');
456
+
457
+ define('TXT_WPSC_NO_PURCHASES', 'Bislang noch keine Verk&auml;ufe.');
458
+
459
+
460
+ define('TXT_WPSC_DELIVERY_ADDRESS', 'Lieferadresse');
461
+ define('TXT_WPSC_DELIVERY_CITY', 'Lieferstadt');
462
+ define('TXT_WPSC_DELIVERY_COUNTRY', 'Lieferland');
463
+ define('TXT_WPSC_MP3_SETTINGS', 'MP3 Einstellungen');
464
+ define('TXT_WPSC_MP3_SETTINGS_DESCRIPTION', 'Um 30 Sekunden MP3-Dateien zu erstellen, ben&ouml;nigt dieses Plugin <a href=\'http://sox.sourceforge.net/\'>SoX</a> f&uuml;r den MP3 Support, tragen Sie den Pfad zu SoX hier ein.');
465
+ define('TXT_WPSC_SOX_PATH', 'SoX Pfad');
466
+ define('TXT_WPSC_PREVIEW', 'Vorschau');
467
+ define('TXT_WPSC_DOWNLOAD_CSV', 'Download CSV');
468
+ define('TXT_WPSC_PREVIEW_FILE', 'Dateivorschau');
469
+ define('TXT_WPSC_NEW_PREVIEW_FILE', 'Neue Vorschaudatei');
470
+ define('TXT_WPSC_REPLACE_PRODUCT', 'Produkt ersetzen');
471
+ define('TXT_WPSC_TOTALSHIPPING', 'Lieferkosten');
472
+ define('TXT_WPSC_DISPLAY_FRONT_PAGE', 'Auf der Hauptseite anzeigen');
473
+ define('TXT_WPSC_SEARCH_FOR', 'Suche nach');
474
+ define('TXT_WPSC_YOUR_SEARCH_FOR', 'Sie suchen nach');
475
+ define('TXT_WPSC_RETURNED_NO_RESULTS', 'keine Ergebnisse.');
476
+ define('TXT_WPSC_POSTAGE', 'Porto');
477
+ define('TXT_WPSC_SUBTOTAL', 'Zwischensumme');
478
+
479
+
480
+ //everything under here needs translations, added after 19/1/2007
481
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Bitte geben Sie einen g&uuml;ltigen');
482
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Bitte geben Sie einen g&uuml;ltigen Vornamen ein');
483
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Bitte geben Sie einen g&uuml;ltigen Nachnamen ein');
484
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Bitte geben Sie eine g&uuml;ltige E-Mailadresse ein');
485
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Bitte geben Sie eine g&uuml;ltige Adresse ein');
486
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Bitte geben Sie eine g&uuml;ltige Telefonnummer ein');
487
+ define('TXT_WPSC_PLEASEENTERAVALIDCITY', 'Bitte geben Sie eine g&uuml;ltige Stadt ein.');
488
+ define('TXT_WPSC_PLEASESELECTCOUNTRY', 'Bitte w&auuml;hlen Sie Ihr Land aus der Liste aus.');
489
+ define('TXT_WPSC_PLEASEAGREETERMSANDCONDITIONS', 'Bitte akzeptieren Sie die Allgemeinen Geschäftsbedingungen. Ansonsten kann Ihre Bestellung nicht bearbeitet werden.');
490
+ define('TXT_WPSC_POSITION', 'Position');
491
+
492
+ define('TXT_WPSC_DELIVERY_REGION', 'Lieferregion');
493
+
494
+
495
+ define('TXT_WPSC_GENERAL_SETTINGS', 'Allgemeine Einstellungen');
496
+ define('TXT_WPSC_TAX_SETTINGS', 'MwSt Einstellungen');
497
+ define('TXT_WPSC_POSTAGE_AND_TAX', 'Porto &amp; MwSt ');
498
+ define('TXT_WPSC_GRID', 'Grid');
499
+ define('TXT_WPSC_CANT_MOVE_CATEGORY', 'Kategorien mit Unterkategorien k&ouml;nnen nicht verschoben werden.');
500
+ define('TXT_WPSC_SURETODELETECATEGORY', 'Sind Sie sicher, dass Sie die Kategorie l&ouml;schen m&ouml;chten? Falls Unterkategorien vorhanden sind, werden diese ebenfalls gel&ouml;scht.');
501
+ define('TXT_WPSC_VARIATION', 'Varianz');
502
+ define('TXT_WPSC_OVER_TWO_VARIATIONS', 'Varianzbestand und Preissteuerung funktionieren nicht, wenn Sie mehr als zwei Varianten haben.');
503
+ define('TXT_WPSC_PRICE_AND_STOCK_CONTROL', 'Preis- und Bestandssteuerung');
504
+
505
+ // pe.{
506
+ define('TXT_WPSC_CATSBRANDSLOCATION', 'Lage der Kategorien &amp; Marken');
507
+ define('TXT_WPSC_DESCITEMSEPARATOR', ' : ');
508
+ define('TXT_WPSC_SEARCHITEMSEPARATOR', ' : ');
509
+ define('TXT_WPSC_SINGLE_SHIPPING_COUNTRY', 'Lieferland:');
510
+ define('TXT_WPSC_ADD_ANOTHER_VARIATION', 'Eine Varianz hinzuf&uuml;gen');
511
+ // }.pe
512
+ define('TXT_WPSC_PRODUCT_CATEGORIES', 'Produkt Kategorien');
513
+ define('TXT_WPSC_THANKS_DELETED', 'Vielen Dank, der Verkaufseintrag wurde gel&ouml;scht');
514
+ define('TXT_WPSC_PRODUCT_IMAGE_PREVIEW', 'Produktbild');
515
+ define('TXT_WPSC_PRODUCT_THUMBNAIL_PREVIEW', 'Produkt-Vorschaubild');
516
+ define('TXT_WPSC_REMOVE_LOG', 'Entferne diesen Eintrag den Verk&auml;ufen');
517
+ define('TXT_WPSC_CATSANDBRAND', 'Kategorien &amp; Marken');
518
+ define('TXT_WPSC_GOLD_DROPSHOP', 'DropShop');
519
+ define('TXT_WPSC_NEEDTOENABLEDROPSHOP', 'Sie m&uuml;ssen die Gold- und DropShop-Erweiterungen installieren um dies nutzen zu k&ouml;nnen');
520
+ define('TXT_WPSC_DRAG_ITEM_HERE', 'Ziehen Sie ein Element hierher um es in den Warenkorb zu legen.');
521
+ define('TXT_WPSC_SHOWCATEGORYTHUMBNAILS', 'Zeige Kategorie Thumbnails');
522
+ define('TXT_WPSC_SHOPPING_CART', 'Warenkorb');
523
+ define('TXT_WPSC_SHOW_SLIDING_CART', 'Sliding Cart anzeigen');
524
+ define('TXT_WPSC_PREVIEW_FILE', 'Vorschaudatei');
525
+ define('TXT_WPSC_PREVIEW_FILE_NOTE', 'Hinweis: Falls Sie keine Vorschaudatei hochladen und Ihr Server sox mit MP3-Support unterst&uuml;tzt, wird eine Vorschaudatei f&uuml;r Sie erstellt.');
526
+ define('TXT_WPSC_PURCHASE_NUMBER', 'Bestellnr.');
527
+ define('TXT_WPSC_FILTER_ORDER', 'Bestellungen Filter');
528
+ define('TXT_WPSC_SHOW_SEARCH', 'Suche anzeigen');
529
+ define('TXT_WPSC_LOG_CURRENT_MONTH', 'Aktuellen Monat anzeigen');
530
+ define('TXT_WPSC_LOG_PAST_THREE_MONTHS', 'Letzte 3 Monate anzeigen');
531
+ define('TXT_WPSC_LOG_ALL', 'Alles anzeigen');
532
+ define('TXT_SHOW_IMAGES_ONLY', 'Zeige nur Bilder');
533
+ define('TXT_WPSC_SHOW_GALLERY', 'Zeige Thumbnail Galerie');
534
+ define('TXT_WPSC_PLEASE_SELECT', 'Bitte ausw&auml;hlen');
535
+ define('TXT_WPSC_TXN_ID', 'Transactions Id');
536
+ define('TXT_WPSC_SINGLE_PRODUCTTHUMBNAILSIZE', 'Einzelprodukt Bildgr&ouml;sse');
537
+ define('TXT_WPSC_RESET', 'Zur&uuml;cksetzen');
538
+ define('TXT_WPSC_ORDER_PENDING', 'Vielen Dank, Ihre Bestellung wird bearbeitet, eine Email wird versandt.');
539
+ define('TXT_WPSC_ORDER_FAILED', 'Es tut uns Leid, Ihre Bestellung konnte nicht akzeptiert werden. Die h&auml:ufigste Ursache ist eine nicht ausreichende Deckung.');
540
+ // Adrian - added for the options I added
541
+ define('TXT_WPSC_SHOW_CATEGORY_COUNT', 'Produktsumme je Kategorie anzeigen');
542
+ define('TXT_WPSC_CATSPRODS_DISPLAY_TYPE', 'Kategorien/Produkte Anzeige');
543
+ define('TXT_WPSC_CATSPRODS_TYPE_CATONLY', 'Nur Kategorien (Alle Produkte angezeigt)');
544
+ define('TXT_WPSC_CATSPRODS_TYPE_SLIDEPRODS', 'Sliding Kategorien (1 Produkt je Seite)');
545
+ // Adrian - END new added options
546
+ define('TXT_WPSC_ORDER_DETAILS', 'Bestelldetails');
547
+ define('TXT_WPSC_SAVE_PROFILE', 'Profil speichern');
548
+ define('TXT_WPSC_USERACCOUNTURL', 'Benutzerkonto URL');
549
+ define('TXT_WPSC_MUST_BE_LOGGED_IN', 'Sie m&uuml;ssen eingeloggt sein um diese Seite einzusehen. Bitte verwenden Sie das unten stehende Formular zum Einloggen.');
550
+ define('TXT_WPSC_YOUR_ACCOUNT', 'Ihr Konto');
551
+
552
+ define('TXT_WPSC_YOU_JUST_ADDED', 'Sie haben grade "[product_name]" in den Warenkorb gelegt.');
553
+ define('TXT_WPSC_SORRY_NONE_LEFT', 'Sorry, aber das Produkt "[product_name]" ist zur Zeit nicht auf Lager.');
554
+
555
+ define('TXT_WPSC_CONTINUE_SHOPPING', 'Weiter Einkaufen');
556
+ define('TXT_WPSC_ITEM_GONE_OUT_OF_STOCK', 'Daraus wird ersichtlich, dass ein Produkt den Lagenbestand unterschreitet, bitte gehen Sie zur&uuml;ck und bearbeiten Ihre Bestellung.');
557
+ define('TXT_WPSC_DISPLAY_FANCY_NOTIFICATIONS', 'Display Fancy Purchase Notifications');
558
+ define('TXT_WPSC_IF_USER_CHECKOUT', 'Falls Sie einen Benutzerkonto haben, bitte');
559
+ define('TXT_WPSC_LOG_IN', 'einloggen.');
560
+ define('TXT_WPSC_IS_DONATION', 'Ist das Produkt ein Geschenk?');
561
+ define('TXT_WPSC_DONATION', 'Spende');
562
+ define('TXT_WPSC_DONATION_LC', 'Spende');
563
+ define('TXT_WPSC_DONATION_SHIPPING', 'Keine Lieferung f&uuml;r Gesch&auml;nke');
564
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT_URL', 'Produkt Dateiname');
565
+ define('TXT_WPSC_FILETOBEPRODUCTURL', 'Hinweis: Laden Sie Ihre Datei in das wp-shopping-cart/files Verzeichnis und geben Sie den Dateinnamen hier ein.');
566
+ define('TXT_WPSC_DONATIONS', 'Spenden');
567
+ define('TXT_WPSC_WRONG_FILE_PERMS', 'Die folgenden Verzeichnisse sind nicht beschreibbar: :directory: Sie werden keine Dateien oder Bilder hochladen k&ouml;nnen. Sie m&uuml;ssen die Zugangsrechte f&uuml;r diese Verzeichnisse anpassen.');
568
+ define('TXT_WPSC_RESET_API', 'API Schl&uuml;ssel zur&uuml;cksetzen');
569
+ define('TXT_WPSC_PRODUCTS_PER_PAGE', 'Produkte je Seite');
570
+ define('TXT_WPSC_OPTION_PRODUCTS_PER_PAGE', 'Anzahl der Produkte je Seite');
571
+ define('TXT_WPSC_PAGE_NUMBER_POSITION', 'Seiten Nummer Position');
572
+
573
+
574
+ define('TXT_WPSC_YOUR_BILLING_CONTACT_DETAILS', '1. Ihre Zahlungs-/Kontaktangaben');
575
+ define('TXT_WPSC_DELIVER_TO_A_FRIEND', '2. Lieferangaben');
576
+ define('TXT_WPSC_E_COMMERCE', 'e-Commerce');
577
+ define('TXT_WPSC_THANKS_SAVED', 'Vielen Dank, Ihre &Auml;nderungen wurden gespeichert.');
578
+ define('TXT_WPSC_REGISTER', 'Register');
579
+ define('TXT_WPSC_TAX', 'Steuer');
580
+
581
+ define('TXT_WPSC_USE_SHIPPING', 'Lieferung nutzen');
582
+ define('TXT_WPSC_USE_SHIPPING_DESCRIPTION', 'Falls Sie lediglich digitale Downloads verkaufen, sollten Sie nein ausw&auml;hlen um die physische Lieferung zu deaktivieren.');
583
+
584
+ define('TXT_WPSC_PAGESETTINGS', 'Nummerierung Einstellungen');
585
+ define('TXT_WPSC_USE_PAGINATION', 'Nummerierung verwenden');
586
+ define('TXT_WPSC_ADD_PRODUCT', 'Produkt hinzuf&uuml;gen');
587
+ define('TXT_WPSC_EDIT_PRODUCT', 'Produkt bearbeiten');
588
+ define('TXT_WPSC_UPDATE_PAGE_URLS', 'Seiten URLs aktualisieren');
589
+ define('TXT_WPSC_VARIATIONS_AND_SPECIALS_DONT_MIX', 'Hinweis: Sie k&ouml;nnen aktuell kein Sonderangebot f&uuml;r ein Produkt mit Varianten definieren');
590
+ define('TXT_WPSC_PRODUCT_SPECIALS', 'Sonderangebote');
591
+ define('TXT_WPSC_SHOW_SHARE_THIS', 'Share This anzeigen (Social Bookmarks)');
592
+ define('TXT_WPSC_SHOW_NO_PRODUCT', 'Kein Produkt');
593
+ define('TXT_WPSC_CHOOSE_DOWNLOADABLE_PRODUCT', 'W&auml;len Sie eine downloadbare Datei zu dem Produkt:');
594
+ define('TXT_WPSC_PLEASECHOOSE', 'Bitte wa&uml;hlen');
595
+
596
+ define('TXT_WPSC_VARIATION_CONTROL', 'Varianten Steuerung');
597
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_SINGLE', ':varianz1: Steuerung');
598
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_PAIR', ':varianz1: und :varianz2: Steuerung');
599
+ define('TXT_WPSC_VIEW_PREVIEW_CLIP', 'Vorschau anzeigen');
600
+ define('TXT_WPSC_REQUIRE_REGISTRATION', 'Registrierung erforderlich');
601
+ define('TXT_WPSC_PLEASE_LOGIN', 'Zum Bestellen bitte einloggen oder registrieren');
602
+ define('TXT_WPSC_IF_JUST_REGISTERED', 'Falls Sie registriert sind, bitte pr&uuml;fen Sie Ihre Email und loggen Sie sich ein');
603
+ define('TXT_WPSC_SELECT_THEME', 'Theme ausw&auml;len');
604
+ define('TXT_WPSC_NEW_ORDER_PENDING_SUBJECT', 'Neue ausstehende Bestellung');
605
+ define('TXT_WPSC_NEW_ORDER_PENDING_BODY', "Eine neue Bestellung wartet auf ihre Bearbeitung: \n\r ");
606
+ define('TXT_WPSC_NO_SHIPPING', "Verwendet keinen Versand");
607
+ define('TXT_WPSC_DEFAULT_MEMBERS_ONLY', "Diese Seite ist nur f&uuml;r Kunden, Sie m&uuml;ssen sich einloggen um sie einzusehen");
608
+ define('TXT_WPSC_MEMBERSHIP_CONTROL', "Mitgliedschaftssteuerung");
609
+ define('TXT_WPSC_PRODUCT_MEMBER_STATUS', "Ist das Produkt eine Mitgliedschaft?");
610
+ define('TXT_WPSC_PRODUCT_MEMBERSHIP_LENGTH', "L&auml;nge der Mitgliedschaft");
611
+
612
+ define('TXT_WPSC_DAYS', "Tage");
613
+ define('TXT_WPSC_MONTHS', "Monate");
614
+ define('TXT_WPSC_YEARS', "Jahre");
615
+ define('TXT_WPSC_MEMBERS_SUBSCRIPTION_ENDED', "Ihre Mitgliedschaft ist beendet.");
616
+ define('TXT_WPSC_ACTIVATE_SETTINGS_MEMBERS', 'Aktivierungs Einstellungen: Mitglieder Module');
617
+ define('TXT_WPSC_GOLD_CART', 'Gold Cart');
618
+ define('TXT_WPSC_SHOW_CATEGORY_DESCRIPTION', 'Kategoriebeschreibung anzeigen');
619
+ define('TXT_WPSC_ALSO_BOUGHT', 'Kunden, die dieses Produkt gekauft haben, interessierten sich auch f&uuml;r');
620
+ define('TXT_WPSC_MARKETING_SETTINGS', 'Marketing Einstellungen');
621
+ define('TXT_WPSC_OPTION_ALSO_BOUGHT', 'Cross Sales anzeigen');
622
+ define('TXT_WPSC_MARKETING', 'Marketing');
623
+ define('TXT_WPSC_DISPLAYCOUPONS', 'Coupons');
624
+ define('TXT_WPSC_ADD_COUPON', 'Coupon hinzuf&uuml;gen');
625
+ define('TXT_WPSC_COUPON', 'Coupon');
626
+ define('TXT_WPSC_ADDCOUPONS', 'Coupon hinzuf&uuml;gen');
627
+ define('TXT_WPSC_COUPON_CODE', 'Coupon Code');
628
+ define('TXT_WPSC_DISCOUNT', 'Rabatt');
629
+ define('TXT_WPSC_START', 'Start');
630
+ define('TXT_WPSC_EXPIRY', 'Ablauf');
631
+ define('TXT_WPSC_USE_ONCE', 'Einmalig');
632
+ define('TXT_WPSC_ACTIVE', 'Aktiv');
633
+ define('TXT_WPSC_COUPONHASBEENADDED', 'Vielen Dank, der Coupon wurde hinzugef&uuml;gt.');
634
+ define('TXT_WPSC_COUPON', 'Coupon');
635
+ define('TXT_WPSC_COUPON_DOESNT_EXIST', 'Der Coupon ist abgelaufen oder existiert nicht.');
636
+ define('TXT_WPSC_PRODUCT_TAGS', 'Produkt Tags');
637
+
638
+
639
+ define('TXT_WPSC_DROPSHOPDISPLAY', 'DropShop Anzeige');
640
+ define('TXT_WPSC_HIDEADDTOCARTBUTTON', '"In den Warenkorb" Button verstecken');
641
+
642
+ //define('TXT_WPSC_PRODUCT_TAGS', 'Product Tags');
643
+
644
+ define('TXT_WPSC_SHOW_DROPSHOP_ALL', 'Dropshop auf jeder Seite anzeigen');
645
+ define('TXT_WPSC_SHOW_DROPSHOP_PRODUCT', 'Dropshop nur auf der Produktseite anzeigen');
646
+ define('TXT_WPSC_PRICEAFTERDISCOUNT', 'Preis nach Rabatt');
647
+ define('TXT_WPSC_ECOM_NEWS', 'e-Commerce Neuigkeiten');
648
+ define('TXT_WPSC_SAVE_PRODUCT_ORDER', 'Produktbestellung speichern');
649
+
650
+ define('TXT_WPSC_ECOMMERCE_SUBSCRIBERS', 'e-Commerce Abonnementen');
651
+ define('TXT_WPSC_USERID', 'User ID');
652
+ define('TXT_WPSC_REGISTEREDDATE', 'Registrierungsdatum');
653
+ define('TXT_WPSC_SUSPEND', 'Aufheben');
654
+ define('TXT_WPSC_ACTIVATE', 'Activiert');
655
+ ?>
languages/DK_da.php ADDED
@@ -0,0 +1,719 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ This is a language file for the WP Shopping Cart plugin version 3.5
4
+ Language version 1.1 in Danish by Kasper Sorensen. www.kaspersorensen.com
5
+ */
6
+
7
+
8
+ define('TXT_WPSC_FIX_CATEGORY_PERMALINKS', 'Fix kategori permalinks');
9
+ define('TXT_WPSC_ADVANCED_OPTIONS', 'Avancerede indstillinger');
10
+ define('TXT_WPSC_INVALID_COUPON', 'Ugyldig kupon');
11
+ define('TXT_WPSC_RSSNOTE', '<strong>Note:</strong> Denne RSS feed er ikke kun for at dine kunder kan holde sig opdateret, men du kan ogs&aring; bruge dette link til at promovere dine produkter p&aring; Facebook. <br>Bare tilf&oslash;j <a href="http://apps.facebook.com/getshopped">getshopped! facebook application</a> til din Facebook profil og f&oslash;lg instrukserne.');
12
+ define('TXT_WPSC_GOOGLEFINANCESTATUS', 'Financiel status');
13
+ define('TXT_WPSC_GOOGLEFULFILLMENTSTATUS', 'Udf&oslash;relses status');
14
+
15
+ define('TXT_WPSC_ANYONEREGISTER', 'Hvis ja, skal du ogs&aring; aktivere wordpress indtstilling "Alle kan registrere sig"');
16
+ define('TXT_WPSC_CVN', 'Kredit verifikation');
17
+ define('TXT_WPSC_AVS', 'Adresse verifikation');
18
+ define('TXT_WPSC_DISPLAYVARIATIONSDESCRIPTION', 'En variation kan v&aelig;re noget der er "valgfrit" p&aring; et produkt. For eksempel st&oslash;rrelse, farve osv. <br />Hvis du for eksempel solgte bukser, ville du m&aring;ske v&aelig;re interesseret i at opr&aelig;tte en variation kaldet st&oslash;rrelse med valgmulighederne small, medium, large...');
19
+
20
+ define('TXT_WPSC_PERTICKED', 'Anvend p&aring; alle produktert');
21
+ define('TXT_WPSC_EMAILALLOWED', 'Email tilladt');
22
+ define('TXT_WPSC_EMAILNOTALLOWED', 'Email IKKE tilladt');
23
+
24
+
25
+ define('TXT_WPSC_GOOGLERISK', 'Kvalificeret for beskyttelse');
26
+ define('TXT_WPSC_PAYPALNOTE', '<strong>Note:</strong>P&aring; grund af nuv&aelig;rende begr&aelig;nsninger af Paypal. Hvis en kunde benytter en v&aelig;rdi kupon ved k&oslash;bet kan vi ikke sende en liste med produkter til Paypal. Vi er n&oslash;dt til at sende det totale bel&oslash;b af kundens k&oslash;b, s&aring; at kunden fra Paypal vil se dit butiksnavn og total bel&oslash;bet af deres indk&oslash;b');
27
+
28
+ define('TXT_WPSC_GOOGLEMARKETINGPREFERENCE', 'Google User Marketing Preference');
29
+
30
+
31
+ define('TXT_WPSC_LATEST_PRODUCTS', 'Seneste produkter');
32
+ define('TXT_WPSC_PICKUP', 'Afhentning');
33
+ define('TXT_WPSC_DELIVERY', 'Levering');
34
+ define('TXT_WPSC_MENU', 'e-Commerce admin menu');
35
+ define('TXT_WPSC_GOOGLESTORELOCATOR', 'Aktiv&eacute;r Google Store Locator');
36
+ define('TXT_WPSC_GOOGLESHIPPING', 'Google leverings land');
37
+ define('TXT_WPSC_POST_DEFAULT_MEMBERS_ONLY', 'Denne artikel er kun for medlemmer, du skal logge ind for at se den');
38
+ define('TXT_WPSC_BASESHIPPING', 'Standard forsendelse');
39
+ define('TXT_WPSC_RSS_ADDRESS', 'RSS adresse');
40
+ define('TXT_WPSC_STORENAME', 'Butiksnavn');
41
+ define('TXT_WPSC_CHECKBOX_VARIATIONS', 'Vis variation i checkboxes');
42
+ define('TXT_WPSC_DISPLAY_PLUSTAX', 'Vis "+Moms"');
43
+ define('TXT_WPSC_DISPLAYHOWCUSTOMERFINDUS', 'Vis hvordan kunder fandt os unders&oslash;gelse');
44
+ define('TXT_WPSC_HOWCUSTOMERFINDUS', 'Hvordan kunden fandt os');
45
+ define('TXT_WPSC_ENGRAVE', 'Engrav&eacute;r tekst');
46
+ define('TXT_WPSC_FREETRIAL', 'En m&aring;neds gratis pr&oslash;vetid');
47
+ define('TXT_WPSC_PROHIBITED', 'Udelukket');
48
+ define('TXT_WPSC_ADMINNOTES', 'S&aelig;lgers notits');
49
+ define('TXT_WPSC_HIDEADDNAMELINK', 'Skjul produkt navn links');
50
+ define('TXT_WPSC_ADMINMENU', 'Admin Menu');
51
+ define('TXT_WPSC_USEONLYEXTERNALLINK', 'Note: Benyt kun hvis du har eksterne links');
52
+ define('TXT_WPSC_EXTERNALLINK', 'Ekstern link');
53
+ define('TXT_WPSC_BUTTONTYPE', 'Knap type');
54
+ define('TXT_WPSC_BUYNOW', 'K&oslash;b Nu (Kun Google Checkout)');
55
+ define('TXT_WPSC_ASSOCIATEWITHFILE', 'Forbind med fil?(V&aelig;lg venligst en)');
56
+ define('TXT_WPSC_SHOWLIVESEARCH', 'Benyt Live Search');
57
+ define('TXT_WPSC_USPS_USERID', 'USPS ID');
58
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Forsendelses detaljer');
59
+ define('TXT_WPSC_SHOWADVANCEDSEARCH', 'Vis avanceret s&oslash;gning');
60
+ define('TXT_WPSC_GOOGLEMECHANTKEY', 'Google Merchant Key');
61
+ define('TXT_WPSC_GOOGLEMECHANTID', "Google Merchant ID");
62
+ define('TXT_WPSC_IMAGESIZEINFO', 'Note: Hvis denne er blank vil billedst&oslash;rrelse ikke blive &aelig;ndret');
63
+ define('TXT_WPSC_ENDLESSSUBSCRIPTION', 'Permanent abonnement?');
64
+ define('TXT_WPSC_RECEIVED', 'Ordre modtaget');
65
+ define('TXT_WPSC_ORDER_STATUS', 'Ordre status');
66
+ define('TXT_WPSC_ORDER_SUMMARY', 'Ordre oversigt');
67
+ define('TXT_WPSC_LANGUAGE', 'Sprog');
68
+ define('TXT_WPSC_ACCEPTED_PAYMENT', 'Betaling accepteret');
69
+ define('TXT_WPSC_JOB_DISPATCHED', 'Job Afsendt');
70
+ define('TXT_WPSC_PROCESSED', 'Lukket ordre');
71
+ define('TXT_WPSC_ECOMMERCE', 'e-Commerce');
72
+ define('TXT_WPSC_OPTIONS', 'Butiks Indstillinger');
73
+ define('TXT_WPSC_ADDPRODUCTS', 'Tilf&oslash;j produkter');
74
+ define('TXT_WPSC_SENDSMS', 'Send SMS');
75
+ define('TXT_WPSC_PRODUCTS', 'Produkter');
76
+ define('TXT_WPSC_ADDCATEGORY', 'Tilf&oslash;j kategori');
77
+ define('TXT_WPSC_CATEGORIES', 'Kategorier');
78
+ define('TXT_WPSC_BRANDS', 'Brands');
79
+ define('TXT_WPSC_VARIATIONS', 'Variationer');
80
+ define('TXT_WPSC_PURCHASELOG', 'K&oslash;bs Log');
81
+ define('TXT_WPSC_ORDER_LOG', 'Ordrer');
82
+ define('TXT_WPSC_OLDER_ORDERS', '&aelig;ldre ordrer');
83
+ define('TXT_WPSC_ORDER', 'Ordrer');
84
+ define('TXT_WPSC_TOTAL_THIS_MONTH', 'Total fortjeneste denne m&aring;ned');
85
+ define('TXT_WPSC_MONTHLY_REPORT', 'Six Monthly Report');
86
+ define('TXT_WPSC_TOTAL_INCOME', 'Total fortjeneste');
87
+ define('TXT_WPSC_ACCEPTED_PAYMENTS', '(Accepterede betalinger)'); //text has changed slightly
88
+ define('TXT_WPSC_PAYMENTGATEWAYOPTIONS', 'Betalings Muligheder');
89
+ define('TXT_WPSC_HELPINSTALLATION', 'Hj&aelig;lp/Upgrade');
90
+ define('TXT_WPSC_EXAMPLECATEGORY', 'Example kategori');
91
+ define('TXT_WPSC_EXAMPLEDETAILS', 'Example details');
92
+ define('TXT_WPSC_EXAMPLEBRAND', 'Example Brand');
93
+ define('TXT_WPSC_PRODUCTIMAGEWIDTH', 'Produkt billed bredde');
94
+ define('TXT_WPSC_PRODUCTIMAGEHEIGHT', 'Produkt billed h&oslash;jde');
95
+ define('TXT_WPSC_CATEGORYIMAGEWIDTH', 'Kategori billede bredde');
96
+ define('TXT_WPSC_CATEGORYIMAGEHEIGHT', 'Kategori billede h&oslash;jde');
97
+ define('TXT_WPSC_PRODUCTLISTURL', 'Produktlistens placering');
98
+ define('TXT_WPSC_SHOPPINGCARTURL', 'Indk&oslash;bskurvens placering');
99
+ define('TXT_WPSC_CHECKOUTURL', 'Checkout sidens placering');
100
+ define('TXT_WPSC_TRANSACTURL', 'Placering af transaktions oversigten');
101
+ define('TXT_WPSC_PAYMENTGATEWAY', 'The payment gateway to use');
102
+ define('TXT_WPSC_CARTLOCATION', 'Indk&oslash;bskurvens placering');
103
+ define('TXT_WPSC_SHOWCATEGORYBRANDS', 'Vis kategorier eller brands eller begge');
104
+ define('TXT_WPSC_CURRENCYTYPE', 'Valuta type');
105
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Placering af valuta symbol');
106
+ define('TXT_WPSC_GSTRATE', 'the GST rate');
107
+ define('TXT_WPSC_MAXDOWNLOADS', 'Download begr&aelig;nsning');
108
+ define('TXT_WPSC_DISPLAYPNP', 'Vis eller skjul forsendelse og ekspedition');
109
+ define('TXT_WPSC_DISPLAYSPECIALS', 'Vis eller skjul specials on the sidebar');
110
+ define('TXT_WPSC_POSTAGEAND_PACKAGING', 'Standard forsendelse og ekspedition');
111
+ define('TXT_WPSC_PURCHLOGEMAIL', 'Email adresse for modtagelse af k&oslash;bs log');
112
+ define('TXT_WPSC_RETURNEMAIL', 'Email adresse som k&oslash;bs log er sendt fra');
113
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Checkout betingelser');
114
+ define('TXT_WPSC_DEFAULTBRAND', 'Standard brand');
115
+ define('TXT_WPSC_DEFAULTCATEGORY', 'Standard kategori');
116
+ define('TXT_WPSC_PAYPALBUSINESS', 'Paypal business');
117
+ define('TXT_WPSC_PAYPALURL', 'Paypal url');
118
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Vis produkt bed&oslash;mmelser');
119
+ define('TXT_WPSC_PRODUCTSPAGE', 'Produkt side');
120
+ define('TXT_WPSC_CHECKOUT', 'Bekr&aelig;ft din ordrer');
121
+ define('TXT_WPSC_ENTERDETAILS', 'Indtast dine oplysninger');
122
+ define('TXT_WPSC_TRANSACTIONRESULTS', 'Transaktions resultat');
123
+ define('TXT_WPSC_SELECTACATEGORY', 'V&aelig;lg en kategori');
124
+ define('TXT_WPSC_SELECTABRAND', 'V&aelig;lg et brand');
125
+ define('TXT_WPSC_PRODUCTNAME', 'Produkt navn');
126
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Produkt beskrivelse');
127
+ define('TXT_WPSC_ADDITIONALDESCRIPTION', 'Yderligere beskrivelse');
128
+ define('TXT_WPSC_PRICE', 'Pris');
129
+ define('TXT_WPSC_TAXALREADYINCLUDED', 'Inklud&eacute;r ikke moms (moms takst indtastes under Butiks Indstillinger)'); // this text has changed and needs updating
130
+ define('TXT_WPSC_SPECIAL', 'Special / Salgs pris'); // this text has changed and needs updating
131
+ define('TXT_WPSC_PRODUCT_DISPLAY', 'Produkt visning');
132
+
133
+ define('TXT_WPSC_PRODUCTSTOCK', 'Produkt lager');
134
+
135
+ define('TXT_WPSC_UNTICKBOX', 'Jeg har begr&aelig;nset antal af disse produkter p&aring; lager. Hvis lager l&oslash;ber t&oslash;r, vil dette produkt ikke v&aelig;re tilg&aelig;ngelig i butikken, med mindre du frav&aelig;lger denne boks eller opdaterer lageret.');
136
+ define('TXT_WPSC_LIMITED_STOCK', 'Begr&aelig;nset lager');
137
+
138
+ define('TXT_WPSC_CATEGORY', 'Kategori');
139
+ define('TXT_WPSC_BRAND', 'Brand');
140
+ define('TXT_WPSC_PRODUCT_VARS', 'Produkt variationer');
141
+ define('TXT_WPSC_ADD_VAR', 'Tilf&oslash;j variations s&aelig;t');
142
+ define('TXT_WPSC_EDIT_VAR', 'Rediger variations s&aelig;t');
143
+ define('TXT_WPSC_SELECTAVARIATION', 'V&aelig;lg en variation');
144
+ define('TXT_WPSC_NEW_VARIATION', 'Opret ny variation');
145
+
146
+ define('TXT_WPSC_PRODUCTATT', 'Produkt vedh&aelig;ftelse');
147
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT', 'Upload fil');
148
+ define('TXT_WPSC_FILETOBEPRODUCT', 'Note: hvis dette er udfyldt, vil den uploadede fil, v&aelig;re ptoduktet blive solgt.');
149
+ define('TXT_WPSC_RESIZEIMAGE', '&AElig;ndre billedst&oslash;rrelse');
150
+ define('TXT_WPSC_DONOTRESIZEIMAGE', '&AElig;ndre ikke billedst&oslash;rrelse.');
151
+ // define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'Benyt standard h&oslash;jde og bredde');
152
+ // define('TXT_WPSC_USE', 'benyt');
153
+ // define('TXT_WPSC_PXHEIGHTBY', 'px h&oslash;jde by');
154
+ // define('TXT_WPSC_PXWIDTH', 'px bredde.');
155
+
156
+ // pe.{
157
+ //define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'benyt standard h&oslash;jde og bredde');
158
+ // }.pe
159
+ define('TXT_WPSC_SEPARATETHUMBNAIL', 'Benyt seperat thumbnail'); // Needs Translation
160
+ define('TXT_WPSC_USE', 'benyt'); // Needs Translation
161
+ // pe.{
162
+ define('TXT_WPSC_USEDEFAULTSIZE', 'Benyt standard st&oslash;rrelse'); // Needs Translation
163
+ define('TXT_WPSC_USESPECIFICSIZE', 'Benyt specifik st&oslash;rrelse'); // Needs Translation
164
+ define('TXT_WPSC_PXHEIGHT', 'px h&oslash;jde'); // Needs Translation
165
+ define('TXT_WPSC_PXWIDTH', 'px bredde'); // Needs Translation
166
+ // }.pe
167
+
168
+
169
+ define('TXT_WPSC_UPLOADNEWIMAGE', 'Erstat billede');
170
+ define('TXT_WPSC_DELETEIMAGE', 'Slet billede');
171
+ define('TXT_WPSC_EDIT', 'Rediger');
172
+ define('TXT_WPSC_DELETE', 'Slet');
173
+ define('TXT_WPSC_REMOVE', 'Fjern');
174
+ define('TXT_WPSC_NAME', 'Navn');
175
+ define('TXT_WPSC_TYPE', 'Type');
176
+ define('TXT_WPSC_MANDATORY', 'Obligatoris');
177
+ define('TXT_WPSC_DISPLAY_IN_LOG', 'Vis<br /> i log');
178
+ define('TXT_WPSC_DESCRIPTION', 'Beskrivelse');
179
+ define('TXT_WPSC_CATEGORY_PARENT', 'Top kategori');
180
+ define('TXT_WPSC_IMAGE', 'Billede');
181
+ define('TXT_WPSC_HEIGHT', 'H&oslash;jde');
182
+ define('TXT_WPSC_WIDTH', 'Bredde');
183
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Indtast venligst et gyldigt');
184
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Indtast venligst et gyldigt navn');
185
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Indtast venligst et gyldigt efternavn');
186
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Indtast venligst en gyldig email adresse');
187
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Indtast venligst en gyldig adresse');
188
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Indtast venligst et gyldigt telefon nummer');
189
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Du har ikke bekr&aelig;ftet betingelserne');
190
+ define('TXT_WPSC_NOTHINGINYOURSHOPPINGCART', 'Din indk&oslash;bskurv er tom');
191
+ define('TXT_WPSC_SPECIALS', 'Specials');
192
+ define('TXT_WPSC_BUY', 'K&oslash;b');
193
+ define('TXT_WPSC_SHOPPINGCART', 'Indk&oslash;bskurv');
194
+ define('TXT_WPSC_NUMBEROFITEMS', 'Antal');
195
+ define('TXT_WPSC_NOMOREAVAILABLE', 'Dette produkt er udsolgt.');
196
+ define('TXT_WPSC_EMPTYYOURCART', 'T&oslash;m indk&oslash;bskurv');
197
+ define('TXT_WPSC_GOTOCHECKOUT', 'G&aring; til checkout');
198
+ define('TXT_WPSC_CONTINUESHOPPING', 'Forts&aelig;t indk&oslash;b');
199
+ define('TXT_WPSC_YOURSHOPPINGCARTISEMPTY', 'Din indk&oslash;bskurv er tom');
200
+ define('TXT_WPSC_VISITTHESHOP', 'Bes&oslash;g butikken');
201
+ define('TXT_WPSC_PAGES', 'Sider');
202
+ define('TXT_WPSC_OUTOF', 'Ud af');
203
+ define('TXT_WPSC_VOTES', 'votes.');
204
+ define('TXT_WPSC_CLICKSTARSTORATE', 'V&aelig;lg stjerner for bed&oslash;mmelse');
205
+ define('TXT_WPSC_AVERAGERATINGOF', 'Gennemsnitlig bed&oslash;mmelse af');
206
+ define('TXT_WPSC_YOURVOTE', 'Din stemme');
207
+ define('TXT_WPSC_AVERAGEVOTE', 'Gennemsnitlig stemme');
208
+ define('TXT_WPSC_YOUHAVEVOTED', 'Du har stemt');
209
+ define('TXT_WPSC_NOVOTES', 'Ingen stemmer');
210
+ define('TXT_WPSC_1VOTE', '1 Stemme');
211
+ define('TXT_WPSC_VOTES2', 'Stemmer');
212
+ define('TXT_WPSC_PERSONGIVEN', 'Person gav dette billede');
213
+ define('TXT_WPSC_PERSONGIVEN2', 'stjerner.');
214
+ define('TXT_WPSC_PEOPLEGIVEN', 'Personer gav dette billede');
215
+ define('TXT_WPSC_PEOPLEGIVEN2', 'Stjerner.');
216
+ define('TXT_WPSC_ITEMHASBEENADDED', 'Dette element er blevet tilf&oslash;jet');
217
+ define('TXT_WPSC_ITEMHASNOTBEENADDED', 'Dette element er ikke blevet tilf&oslash;jet');
218
+ define('TXT_WPSC_ADDNEWCATEGORY', 'Tilf&oslash;j ny kategori');
219
+ define('TXT_WPSC_SUBMIT', 'Submit');
220
+ define('TXT_WPSC_SELECTAVALIDCATEGORY', 'V&aelig;lg navn');
221
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Produkt beskrivelse');
222
+ define('TXT_WPSC_ADDNEWPRODUCT', 'Tilf&oslash;j produkt');
223
+ define('TXT_WPSC_PRODUCTQUANTITY', 'Produkt antal');
224
+ define('TXT_WPSC_PRODUCTIMAGE', 'Produkt billede');
225
+ define('TXT_WPSC_PRODUCTPRICE', 'Produkt pris');
226
+ define('TXT_WPSC_NOTAX', 'Ingen moms');
227
+ define('TXT_WPSC_ABOUT', 'Om');
228
+ define('TXT_WPSC_ABOUTCONTENT', 'Velkommen til e-commerce panelet. <br /><br /><strong>Note:</strong> p&aring; nogle setups vil indk&oslash;bskurven blive t&oslash;mt ved hver side opdatering. Hvis dette er tilf&aelig;ldet skal du tilf&oslash;je denne linje:<br /><br />session_start();<br /><br />til index.php filen i roden af din wordpress installation.<br />');
229
+ define('TXT_WPSC_CONTACTDETAILS', 'Indtast velingst kontakt information:');
230
+ define('TXT_WPSC_CREDITCARDHANDY', 'Note, n&aring;r du trykker "Foretag k&oslash;b" skal du have dit kredit kort ved h&aring;nden.');
231
+ define('TXT_WPSC_ASTERISK', 'Felter markeret med en stjerne skal udfyldes.');
232
+ define('TXT_WPSC_FIRSTNAME', 'Fornavn');
233
+ define('TXT_WPSC_LASTNAME', 'Efternavn');
234
+ define('TXT_WPSC_EMAIL', 'Email');
235
+ define('TXT_WPSC_ADDRESS', 'Adresse');
236
+ define('TXT_WPSC_ADDRESS1', 'Adresse 1');
237
+ define('TXT_WPSC_ADDRESS2', 'Adresse 2');
238
+ define('TXT_WPSC_CITY', 'By');
239
+ define('TXT_WPSC_STATE', 'Omr&aring;de');
240
+ define('TXT_WPSC_COUNTRY', 'Land');
241
+ define('TXT_WPSC_PHONE', 'Telefon');
242
+ define('TXT_WPSC_POSTAL_CODE', 'Postnummer');
243
+ define('TXT_WPSC_TERMS1', 'Jeg bekr&aelig;fter at jeg har l&aelig;st ');
244
+ define('TXT_WPSC_TERMS2', 'Betingelserne');
245
+
246
+
247
+ define('TXT_WPSC_TEXT', 'Tekst');
248
+ define('TXT_WPSC_TEXTAREA', 'Teksomr&aring;de');
249
+ define('TXT_WPSC_HEADING', 'Overskrift');
250
+
251
+ define('TXT_WPSC_MAKEPURCHASE', 'Foretag k&oslash;b');
252
+ define('TXT_WPSC_BUYPRODUCTS', 'Foretag venligst et k&oslash;b f&oslash;r du benytter denne side');
253
+ define('TXT_WPSC_BRANDHASBEENEDITED', 'The brand has been edited.');
254
+ define('TXT_WPSC_SURETODELETEPRODUCT', 'Er du sikker p&aring; du vil slette dette produkt?');
255
+ define('TXT_WPSC_ADDBRAND', 'Tilf&oslash;j brand');
256
+ define('TXT_WPSC_DISPLAYBRANDS', 'Vis brands');
257
+ define('TXT_WPSC_EDITBRAND', 'Rediger brand');
258
+ define('TXT_WPSC_ADD', 'Tilf&oslash;j');
259
+ define('TXT_WPSC_ADD_NEW_FORM', 'Tilf&oslash;j nyt form felt');
260
+ define('TXT_WPSC_SAVE_CHANGES', 'Gem &aelig;ndringer');
261
+
262
+ define('TXT_WPSC_CATEGORYHASBEENEDITED', 'Kategorien er blevet &aelig;ndret.');
263
+ define('TXT_WPSC_DISPLAYCATEGORIES', 'Vis kategorier');
264
+ define('TXT_WPSC_ADDCATEGORY', 'Tilf&oslash;j kategori');
265
+ define('TXT_WPSC_EDITCATEGORY', 'Rediger kategori');
266
+ define('TXT_WPSC_ALLCATEGORIES', 'Alle kategorier');
267
+
268
+ define('TXT_WPSC_DISPLAYVARIATIONS', 'Vis variationer');
269
+ define('TXT_WPSC_ADDVARIATION', 'Tilf&oslash;j variations s&aelig;t');
270
+ define('TXT_WPSC_EDITVARIATION', 'Rediger variations s&aelig;t');
271
+ define('TXT_WPSC_VARIATIONHASBEENEDITED', 'Variationen er blevet redigeret.');
272
+ define('TXT_WPSC_VARIATION_VALUES', 'Variations v&aelig;rdier');
273
+ define('TXT_WPSC_REMOVE_SET', 'Fjern dette s&oslash;t'); //this needs to be translated
274
+
275
+ define('TXT_WPSC_SELECT_PARENT', 'V&aelig;lg top kategori');
276
+ define('TXT_WPSC_PRODUCTHASBEENEDITED', 'Dette produkt er blevet redigeret.');
277
+ define('TXT_WPSC_ADDPRODUCT', 'Tilf&oslash;j produkt');
278
+ define('TXT_WPSC_DISPLAYPRODUCTS', 'Vis produkter');
279
+ define('TXT_WPSC_PLEASESELECTACATEGORY', 'V&aelig;lg venligst en kategori');
280
+ define('TXT_WPSC_STOCK', 'Lager');
281
+ define('TXT_WPSC_PNP', 'PnP');
282
+ define('TXT_WPSC_EDITITEM', 'Rediger element');
283
+ define('TXT_WPSC_PRODUCTDETAILS', 'Produkt information');
284
+ define('TXT_WPSC_SELECT_PRODUCT', 'V&aelig;lg et eksisterende produkt');
285
+ define('TXT_WPSC_ENTERPRODUCTDETAILSHERE', '(Indtast dine prdukt informationer her)');
286
+ define('TXT_WPSC_ADDITIONALPRODUCTDESCRIPTION', 'Yderligere produkt beskrivelse');
287
+ define('TXT_WPSC_ADDITEM', 'Tilf&oslash;j element');
288
+ define('TXT_WPSC_CHOOSEACATEGORY', 'V&aelig;lg en kategori');
289
+ define('TXT_WPSC_CHOOSEABRAND', 'V&aelig;lg et brand');
290
+ define('TXT_WPSC_USETHEACTUALIMAGE', 'benyt det aktuelle billede. Ingen &aelig;ndring i billedst&oslash;rrelse.');
291
+ define('TXT_WPSC_DISPLAYPURCHASES', 'k&oslash;bs log');
292
+ define('TXT_WPSC_ID', 'ID');
293
+ define('TXT_WPSC_TRANSACTIONSTATUS', 'Transaktions status');
294
+ define('TXT_WPSC_DATE', 'Dato');
295
+ define('TXT_WPSC_VIEWDETAILS', 'Details'); //Text has changed - translation is needed
296
+ define('TXT_WPSC_STATUS', 'Status');
297
+ define('TXT_WPSC_SUCCESSFUL', 'Vellykket');
298
+ define('TXT_WPSC_FAILED', 'Mislykket');
299
+ define('TXT_WPSC_GST', 'GST');
300
+ define('TXT_WPSC_PP', 'P&amp;P');
301
+ define('TXT_WPSC_TOTAL', 'Total');
302
+ define('TXT_WPSC_FINALTOTAL', 'Endeligt Total');
303
+ define('TXT_WPSC_CUSTOMERDETAILS', 'kunde Details');
304
+ define('TXT_WPSC_USERSCARTWASEMPTY', 'Denne brugers indk&oslash;bskurv var tom');
305
+ define('TXT_WPSC_GOBACK', 'Tilbage');
306
+ define('TXT_WPSC_THANKSAPPLIED', 'Tak, dine &aelig;ndringer er blevet foretaget.');
307
+ define('TXT_WPSC_FORM_FIELDS', 'Checkout Muligheder');
308
+ define('TXT_WPSC_PAYMENTGATEWAY2', 'Payment Gateway');
309
+ define('TXT_WPSC_PLEASESELECTAPAYMENTGATEWAY', 'V&aelig;lg venligst en Payment Gateway');
310
+ define('TXT_WPSC_PAYMENTGATEWAYNOTE', '<strong>Note:</strong> Denne light version af wp e-commerce tillader dig kun at benytte Paypal.<br /><br />Hvis du &oslash;nsker at benytte en mere professionel l&oslash;sning kan du benytte vores <a href="http://www.instinct.co.nz/blogshop">gold version of e-Commerce</a> der kan benytte sammen med authorize.net, DPS (www.dps.co.nz), og paystation (www.paystation.co.nz).');
311
+ define('TXT_WPSC_URLSETTINGS', 'URL indstillinger');
312
+ define('TXT_WPSC_PRODUCTLISTURL', 'Produkt liste URL');
313
+ define('TXT_WPSC_SHOPPINGCARTURL', 'Indk&oslash;bskurv URL');
314
+ define('TXT_WPSC_CHECKOUTURL', 'Checkout URL');
315
+ define('TXT_WPSC_TRANSACTIONDETAILSURL', 'Transaktions information URL');
316
+ define('TXT_WPSC_PRESENTATIONSETTINGS', 'Pr&aelig;sentaions indstillinger');
317
+ define('TXT_WPSC_CARTLOCATION', 'Placering af indk&oslash;bskurv');
318
+ define('TXT_WPSC_SIDEBAR', 'Side spalte');
319
+ define('TXT_WPSC_PAGE', 'Side');
320
+ define('TXT_WPSC_WIDGET', 'Widget');
321
+ define('TXT_WPSC_NEEDTOENABLEWIDGET', 'Du er n&oslash;dt til at aktivere widget pluginet for at benytte dette');
322
+ define('TXT_WPSC_MANUAL', 'Manuelt');
323
+ define('TXT_WPSC_SHOWCATEGORIESBRANDS', 'Vis kategorier/brands');
324
+ define('TXT_WPSC_BOTH', 'Begge');
325
+ define('TXT_WPSC_PRODUCTTHUMBNAILSIZE', 'Standard "produkt thumbnail" st&oslash;rrelse');
326
+ define('TXT_WPSC_CATEGORYTHUMBNAILSIZE', 'Standard "kategori thumbnail" st&oslash;rrelse');
327
+ define('TXT_WPSC_SHOWPOSTAGEANDPACKAGING', 'Vis forsendelse og ekspedition');
328
+ define('TXT_WPSC_YES', 'Ja');
329
+ define('TXT_WPSC_NO', 'Nej');
330
+ define('TXT_WPSC_SHOWSPECIALS', 'Vis Specials i side spalten');
331
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Vis produkt bed&oslash;mmelser');
332
+ define('TXT_WPSC_CURRENCYSETTINGS', 'Valuta indstillinger');
333
+ define('TXT_WPSC_GSTTAXRATE', 'GST/Tax Rate');
334
+ define('TXT_WPSC_CURRENCYTYPE', 'valuta Type');
335
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Placering af valuta symbol');
336
+ define('TXT_WPSC_DEFAULTPOSTAGEPACKAGING', 'Standard forsendelse &amp; ekspedition');
337
+ define('TXT_WPSC_ADMINISTRATIONSETTINGS', 'Administrations indstillinger');
338
+ define('TXT_WPSC_MAXDOWNLOADSPERFILE', 'Max downloads per fil');
339
+ define('TXT_WPSC_PURCHASELOGEMAIL', 'K&oslash;bs Logs Email');
340
+ define('TXT_WPSC_REPLYEMAIL', 'Besvar email');
341
+ define('TXT_WPSC_BRANDNOCAP', 'brand');
342
+ define('TXT_WPSC_CATEGORYNOCAP', 'kategori');
343
+ define('TXT_WPSC_UDPATING', 'Opdaterer');
344
+ define('TXT_WPSC_UPDATING', 'Opdaterer');
345
+ define('TXT_WPSC_MOREDETAILS', 'Mere information');
346
+ define('TXT_WPSC_ADDTOCART', 'Tilf&oslash;j til indk&oslash;bskurv');
347
+ define('TXT_WPSC_AVGCUSTREVIEW', 'Gennemsnitlig kunde bed&oslash;mmelse');
348
+ define('TXT_WPSC_YOURRATING', 'Din bed&oslash;mmelse');
349
+ define('TXT_WPSC_RATING_SAVED', 'Gemt');
350
+ define('TXT_WPSC_RATETHISITEM', 'Bed&oslash;m dette element');
351
+ define('TXT_WPSC_PRODUCTSOLDOUT', 'Dette produkt er udsolgt.');
352
+ define('TXT_WPSC_NOITEMSINTHIS', 'Der er ingen produkter i denne');
353
+ define('TXT_WPSC_CATEGORYORBRAND', 'kategori eller brand');
354
+ define('TXT_WPSC_PLEASECHOOSEA', 'V&aelig;lg venligst');
355
+ define('TXT_WPSC_PRODUCT', 'Produkt');
356
+ define('TXT_WPSC_QUANTITY', 'Antal');
357
+ define('TXT_WPSC_QUANTITY_SHORT', 'Antal'); //translation needed
358
+ define('TXT_WPSC_APPLY', 'Anvend');
359
+ define('TXT_WPSC_MAKEPAYMENT', 'Foretag betaling');
360
+ define('TXT_WPSC_EMPTYSHOPPINGCART', 'T&oslash;m indk&oslash;bskurv');
361
+ define('TXT_WPSC_TOTALPRICE', 'Total pris');
362
+ define('TXT_WPSC_NOITEMSINTHESHOPPINGCART', 'Indk&oslash;bskurven er tom.');
363
+ define('TXT_WPSC_EMAILMSG1', "Mange tak, din ordre er blevet modtaget. Produkter der skal sendes vil blive behandlet hurtigst mulig. Alle produkter der kan downloades kan downloades ved at benytte linksene p&aring; denne side.\n\r\n\rAlle priser er inklusiv moms og forsendelse.\n\r\n\rDu har bestilt f&oslash;lgende produkter:\n\r\n\r");
364
+ define('TXT_WPSC_EMAILMSG2', ".\n\rDisse produkter blev bestilt:\n\r\n\r");
365
+ define('TXT_WPSC_CLICKTODOWNLOAD', 'Klik her for at downloade');
366
+ define('TXT_WPSC_DOWNLOAD', 'Download');
367
+ define('TXT_WPSC_YOURTRANSACTIONID', 'Dit Transaktions ID');
368
+ define('TXT_WPSC_TRANSACTIONID', 'Transaktions ID');
369
+ define('TXT_WPSC_PURCHASERECEIPT', 'Kvittering');
370
+ define('TXT_WPSC_PURCHASEREPORT', 'Kunde rapport');
371
+ define('TXT_WPSC_THETRANSACTIONWASSUCCESSFUL', 'Transaktionen var vellykket');
372
+ define('TXT_WPSC_THETRANSACTIONWASNOTSUCCESSFUL', 'Transaktionen mislykkedes');
373
+ define('TXT_WPSC_GOBACKTOCHECKOUT', 'Tilbage til checkout');
374
+ define('TXT_WPSC_SPECIALPRICE', 'Special pris');
375
+
376
+ define('TXT_WPSC_INSTRUCTIONS', '
377
+ Installations gennemgang
378
+ <ul class=\'installation\'>
379
+ <li>Plac&eacute;r indholdet af zip filen i wp-content/plugins mappen.</li>
380
+ <li>Aktiv&eacute;r plugin fra Wordpress\' plugin side</li>
381
+ <li>G&aring; til "Payment Gateway" siden under e-Commerce og indtast de n&oslash;dvendige oplysninger. (standard paypal gateway tilg&aring;et er paypal\'s sandbox)</li>
382
+ <li>Opret nogle kategorier og produkter under "Kategorier" og "Produkter"</li>
383
+ </ul>
384
+
385
+ <p>hvis dette er en upgrade af en tidligerversion, anbefaler vi at du deaktiverer og genaktiverer dette plugin.</p>
386
+
387
+ <h2>Opgraderinger og Moduler</h2>
388
+
389
+ <p>Du kan finde flere oplysninger om de f&oslash;lgende wp e-Commerce moduler ved at bes&oslash;ge <a href="http://www.instinct.co.nz/blogshop">Instinct BlogShop</a></p>
390
+
391
+ <ul class=\'installation\'>
392
+ <li>Gold</li>
393
+ <li>DropShop</li>
394
+ <li>Audio Player</li>
395
+ <li>GridView</li>
396
+ </ul>
397
+
398
+ <h2>&Oslash;nskeliste</h2>
399
+ <p>Hvis du &oslash;nsker nye features der endnu ikke er underst&oslash;ttet af WP e-Commerce, s&aring; kan du <a href="http://www.instinct.co.nz/contact-us/">bestille en udvikler</a> eller tilf&oslash;jer det til &oslash;nskelisten p&aring; <a href="http://instinct.co.nz/blogshop/support-forums/">forummet</a>.
400
+
401
+ <h2>Individualisering og Tips</h2>
402
+ <p><strong>Moms</strong><br />Hvis det er n&oslash;dvendigt kan su indtaste en moms sats under "Butiks Indstillinger".</p>
403
+ <p><strong>Email K&oslash;bs Log</strong><br />
404
+ hvis du indtaster en email adresse for "K&oslash;bs Logs Email" under "Butiks Indstillinger", s&aring; vil der blive sendt en k&oslash;bs notifikation til denne adresse hver gang en ordre er modtaget.</p>
405
+ <p><strong>Skjul Sider</strong><br />
406
+ For at forhindre Indk&oslash;bskurven, chekout og transaktions resulater i at blive vist i "side listen" er du n&oslash;dt til at idetificere deres ID numre f&oslash;rst. <br />
407
+ <br />Derefter skal du redigere den side i dit Theme som viser siderne. Denne er normalt fundet i file sidebar.php, find en linje der ligner denne:<br />
408
+ <br />"&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;/h2&gt;\' ); ?&gt;"<br />
409
+ og erstat den med<br />
410
+ "&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;h2&gt;&amp;exclude=3,4,5\'); ?&gt;"<br />
411
+ <br />ordet exclude fort&aelig;ller systemet at det skal eksludere disse sider fra listen, erstat 3,4,5 med de ID numre som blev identificeret for de sider der ikke &oslash;nskes at blive vist.</p>
412
+ <p><strong>Villed funktioner</strong><br />
413
+ Hvis din server ikke har PHP billed funktioner installeret, vil du ikke v&aelig;re i stand til at foretage billede st&oslash;rrelses &aelig;ndringer p&aring; de billeder du uploader.</p>
414
+ <p><strong>Permalinks</strong><br />
415
+ Vi g&oslash;r det bedste vi kan.
416
+ Det har endnu ikke v&aelig;ret mulig at finde en god m&aring;de at "passe the required variables from page to page using permalinks that dont use mod_rewrite", hvis du ikke kan benytte mod_rewrite, vil dette plugin m&aring;ske ikke virke korrekt med permalinks sl&aring;et til.</p>
417
+ <p><strong>Javascript og Ajax </strong><br />
418
+ e-Commerce lite benytter Ajax, indk&oslash;bskurven som brugeren ser virker uden Javascript, men administrations siderne (specielt Produkt og Kategori sider) virker ikke uden Javascript sl&aring;et til. For at benytte Administrations afdelingen er det vigtig at du benytter en forholdsvis ny browser med Javascript sl&aring;et til. (Internet Explorer 6 eller nyere, eller Firefox 1.0 eller nyere. &AElig;ldre versioner er ikke testet og m&aring;ske vil du ikke v&aelig;re i stand til at benytte Administrations sektionen med disse)</p>
419
+ <p><strong>Mere p&aring; Flickr</strong><br />
420
+ Vi har flere <a href="http://www.google.com/search?q=flickr+wp+e-commerce&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a">visuelle guider</a> p&aring; Flickr.
421
+
422
+ ');
423
+
424
+
425
+ define('TXT_WPSC_SHIPPINGSETTINGS', 'Forsendelses informationer');
426
+ define('TXT_WPSC_BASE_LOCAL', 'Standard indlands forsendelse');
427
+ define('TXT_WPSC_BASE_INTERNATIONAL', 'Standard international forsndelse');
428
+ define('TXT_WPSC_BASE_COUNTRY', 'Standard land');
429
+
430
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Yderligere forsendelses omkostninger'); // this needs updating
431
+ define('TXT_WPSC_LOCAL_PNP', 'Indlands forsendelses gebyr'); // this needs updating
432
+ define('TXT_WPSC_INTERNATIONAL_PNP', 'Internationalt forsendelses gebyr'); // this needs updating
433
+ define('TXT_WPSC_SHIPPING_NOTE', 'Note: P&aring;regnes kun en gang pr. produkt uafh&aelig;nging af antallet bestilt.');
434
+ define('TXT_WPSC_COUNTRY_FORM_FIELD', 'Country Form Field');
435
+ define('TXT_WPSC_COUNTRY_FORM_FIELD_EXPLANATION', '(V&aelig;lg hvilket felt p&aring; checkout siden du &oslash;nsker at benytte for valg af land)');
436
+
437
+ define('TXT_WPSC_SHIPPING', 'Forsendelse');
438
+ define('TXT_WPSC_EMAIL_FORM_FIELD', 'Email felt');
439
+ define('TXT_WPSC_EMAIL_FORM_FIELD_EXPLANATION', '(V&aelig;lg hvilket felt p&aring; checkout siden du &oslash;nsker at benytte for valg af email)');
440
+
441
+
442
+ define('TXT_WPSC_PRODUCTIMAGES', 'Produkt billeder');
443
+ define('TXT_WPSC_PRODUCTDOWNLOAD', 'Produkt download');
444
+ define('TXT_WPSC_SHOWTHUMBNAILS', 'Vis thumbnails');
445
+ define('TXT_WPSC_ADD_ADDITIONAL_IMAGE', 'Tilf&oslash;j billede');
446
+ define('TXT_WPSC_DELETE_IMAGE', 'Slet billede');
447
+ define('TXT_WPSC_GOLD_OPTIONS', 'Gold Cart Indstillinger');
448
+ define('TXT_WPSC_ACTIVATE_SETTINGS', 'Aktiverings indstillinger: Gold Cart');
449
+ define('TXT_WPSC_ACTIVATION_KEY', 'Aktiverings n&oslash;gle');
450
+ define('TXT_WPSC_THANKSACTIVATED', 'Tak, din gold shopping cart er nu aktiveret.');
451
+ define('TXT_WPSC_NOTACTIVATED', 'Desv&aelig;rre, API n&oslash;glen var forkert.');
452
+ define('TXT_WPSC_DEFAULT', 'Standard');
453
+ define('TXT_WPSC_LIST', 'List');
454
+ define('TXT_WPSC_VISIBLE', 'Synlig');
455
+ define('TXT_WPSC_DELETE_PRODUCT', 'Slet Produkt');
456
+ define('TXT_WPSC_ADDITIONAL_IMAGE', 'Tilf&oslash;j billede');
457
+ define('TXT_WPSC_GATEWAY_OPTIONS', 'Gateway muligheder');
458
+ define('TXT_WPSC_SHIPPING_COUNTRY', 'V&aelig;lg forsendelses land');
459
+ define('TXT_WPSC_CONFIRM_TOTALS', 'Bekrlf&aelig;ft det totale bel&oslash;b f&oslash;r du forts&aelig;tter med betalingen:');
460
+ define('TXT_WPSC_CHECKOUT_FORM_FIELDS_DESCRIPTION', 'Her kan du &aelig;ndre felterne p&aring; checkout siden. Checkout siden er hvor du indsamler oplysninger om kunden og ordren, der senere vil blive vist i k&oslash;bs loggen. Det kan v&aelig;re kundens adresse, email, navn osv.');
461
+ define('TXT_WPSC_PAYMENT_OPTIONS', 'Betalings Muligheder');
462
+ define('TXT_WPSC_PAYMENT_DESCRIPTION', 'V&aelig;lg venligst hvilke betalings muligheder du &oslash;nsker at give kunden. Standard er betaling med kredit kort, men du &oslash;nsker m&aring;ske at give kunden yderligere muligheder som for eksempel manuel betaling. I s&aring; fald skal du v&aelig;lge "kredit kort + manuel betaling".');
463
+
464
+ define('TXT_WPSC_DEFAULT_GATEWAY_ONLY', ' Kun');
465
+ define('TXT_WPSC_PLUS_MANUAL_PAYMENT', ' Plus manuel betaling');
466
+ define('TXT_WPSC_PAYMENT_METHOD', 'Betalings metode');
467
+ define('TXT_WPSC_PAY_USING', 'Betal ved');
468
+ define('TXT_WPSC_PAY_MANUALLY', 'Betal ved check/bankoverf&oslash;rsel');
469
+ define('TXT_WPSC_CREDIT_CARD', 'Kredit kort');
470
+ define('TXT_WPSC_ADJUSTABLE_QUANTITY', 'Vis antal i liste visning');
471
+ define('TXT_WPSC_RSS_FEED_HEADER', 'Abon&eacute;r p&aring; dine ordre');
472
+ define('TXT_WPSC_RSS_FEED_LINK', 'Abon&eacute;r p&aring; en RSS feed');
473
+ define('TXT_WPSC_RSS_FEED_TEXT', 'Af dine ordre');
474
+ define('TXT_WPSC_INITIAL_SETUP', 'Oprettet standard muligheder.');
475
+ define('TXT_WPSC_PLUGIN_NEWS_HEADER', 'Plugin news');
476
+
477
+
478
+ define('TXT_WPSC_PLUGIN_NEWS', '
479
+
480
+ The <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank">WP DropShop Modul</a> er det senete og mest moderne indk&oslash;bsmodul tilg&aelig;ngeligt online. Sammen med GridView vil din side blive det folk taler om! <br/><br/>
481
+
482
+ <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank">GridView Modulet</a> er et visuelt modul udviklet for at optimere udseendet af din produkt side.<br/><br/>
483
+
484
+ <a href="http://www.instinct.co.nz/wp-campaign-monitor/100">WP Campaign Monitor</a> er et email v&aelig;rkt&oslash;j udviklet kun for Wordpress brugere som &oslash;nsker at sende kampagner, m&aring;le resultater og styre deres abonnenter. Den sidste nye version integrere med e-Commerce lite. Det betyder at du vil v&aelig;re i stand til at sende k&oslash;bere nyhedsbreve med mere.
485
+
486
+ ');
487
+
488
+
489
+ define('TXT_WPSC_POWERED_BY', 'Denne butik benytter ');
490
+
491
+ define('TXT_WPSC_NO_PURCHASES', 'Der er endnu ikke blevet gennemf&oslash;rt nogle ordre.');
492
+
493
+
494
+ define('TXT_WPSC_DELIVERY_ADDRESS', 'Leverings adresse');
495
+ define('TXT_WPSC_DELIVERY_CITY', 'Leverings by');
496
+ define('TXT_WPSC_DELIVERY_COUNTRY', 'Leverings land');
497
+ define('TXT_WPSC_MP3_SETTINGS', 'MP3 indstillinger');
498
+ define('TXT_WPSC_MP3_SETTINGS_DESCRIPTION', 'To create the 30 second MP3 file clips, this plugin needs <a href=\'http://sox.sourceforge.net/\'>SoX</a> compiled with MP3 support, enter the path to SoX here.');
499
+ define('TXT_WPSC_SOX_PATH', 'SoX Path');
500
+ define('TXT_WPSC_PREVIEW', 'Preview');
501
+ define('TXT_WPSC_DOWNLOAD_CSV', 'Download CSV');
502
+ define('TXT_WPSC_PREVIEW_FILE', 'Preview Fil');
503
+ define('TXT_WPSC_NEW_PREVIEW_FILE', 'Ny Preview Fil');
504
+ define('TXT_WPSC_REPLACE_PRODUCT', 'Erstat Produkt');
505
+ define('TXT_WPSC_TOTALSHIPPING', 'Total levering');
506
+ define('TXT_WPSC_DISPLAY_FRONT_PAGE', 'Vis p&aring; forside');
507
+ define('TXT_WPSC_SEARCH_FOR', 'S&oslash;g efter');
508
+ define('TXT_WPSC_YOUR_SEARCH_FOR', 'Din s&oslash;gning efter');
509
+ define('TXT_WPSC_RETURNED_NO_RESULTS', 'Returnerede f&oslash;lgende resultat.');
510
+ define('TXT_WPSC_POSTAGE', 'Forsendelse');
511
+ define('TXT_WPSC_SUBTOTAL', 'Subtotal');
512
+
513
+
514
+ //everything under here needs translations, added after 19/1/2007
515
+
516
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Indtast venligst gyldig');
517
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Indtast venligst fornavn.');
518
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Indtast venligst efternavn.');
519
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Indtast venligst email adresse.');
520
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Indtast venligst adresse.');
521
+ define('TXT_WPSC_PLEASEENTERAVALIDCITY', 'Indtast venligst by.');
522
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Indtast venligst et gyldigt telefon nummer.');
523
+ define('TXT_WPSC_PLEASESELECTCOUNTRY', 'V&aelig;lg venligst dit land fra f&oslash;lgende listet.');
524
+ define('TXT_WPSC_PLEASEAGREETERMSANDCONDITIONS', 'Bekr&aelig;ft venligst betingelserne. Ellers kan vi ikke gennemf&oslash;re din ordre.');
525
+ define('TXT_WPSC_POSITION', 'Position');
526
+
527
+ define('TXT_WPSC_DELIVERY_REGION', 'Levering omr&aring;de');
528
+
529
+
530
+ define('TXT_WPSC_GENERAL_SETTINGS', 'Generelle indstillinger');
531
+ define('TXT_WPSC_TAX_SETTINGS', 'Moms information');
532
+ define('TXT_WPSC_POSTAGE_AND_TAX', 'Forsendelse &amp; Moms ');
533
+ define('TXT_WPSC_GRID', 'Grid');
534
+ define('TXT_WPSC_CANT_MOVE_CATEGORY', 'Du kan ikke flytte en kategori med under-kategorier.');
535
+ define('TXT_WPSC_SURETODELETECATEGORY', 'Er du sikekr p&aring; du vil slette denne kategori? Hvis denne kategori har nogen under-kategorier vil disse ogs&aring; blive slettet.');
536
+ define('TXT_WPSC_VARIATION', 'Variation');
537
+ define('TXT_WPSC_OVER_TWO_VARIATIONS', 'Variation, lager og pris kontrol fungere ikke hvis du har mere end to variationer.');
538
+ define('TXT_WPSC_PRICE_AND_STOCK_CONTROL', 'Pris og Lager Kontrol') ;
539
+
540
+ // pe.{
541
+ define('TXT_WPSC_CATSBRANDSLOCATION', 'Placering af kategorier &amp; brands');
542
+ define('TXT_WPSC_DESCITEMSEPARATOR', ' : ');
543
+ define('TXT_WPSC_SEARCHITEMSEPARATOR', ' : ');
544
+ define('TXT_WPSC_SINGLE_SHIPPING_COUNTRY', 'Leverings land:');
545
+ define('TXT_WPSC_ADD_ANOTHER_VARIATION', 'Tilf&oslash;j variation');
546
+ // }.pe
547
+ define('TXT_WPSC_PRODUCT_CATEGORIES', 'V&aelig;lg kategorier');
548
+ define('TXT_WPSC_THANKS_DELETED', 'Mange tak, k&oslash;bs loggen er blevet slettet.');
549
+ define('TXT_WPSC_PRODUCT_IMAGE_PREVIEW', 'Produkt billede');
550
+ define('TXT_WPSC_PRODUCT_THUMBNAIL_PREVIEW', 'Produkt thumbnail');
551
+ define('TXT_WPSC_REMOVE_LOG', 'Fjern denne artikel fra k&oslash;bs loggen');
552
+ define('TXT_WPSC_CATSANDBRAND', 'Kategorier &amp; Brands');
553
+ define('TXT_WPSC_GOLD_DROPSHOP', 'DropShop');
554
+ define('TXT_WPSC_NEEDTOENABLEDROPSHOP', 'Du skal installere Gold og DropShop udvidelserne for at benytte dette');
555
+ define('TXT_WPSC_DRAG_ITEM_HERE', 'Tr&aelig;k elementer her for at tilf&oslash;je dem til indk&oslash;bskurvenb.');
556
+ define('TXT_WPSC_SHOWCATEGORYTHUMBNAILS', 'Vis "kategori thumbnails"');
557
+ define('TXT_WPSC_SHOPPING_CART', 'Indk&oslash;bskurv');
558
+ define('TXT_WPSC_SHOW_SLIDING_CART', 'Vis glidende indk&oslash;bskurv');
559
+ define('TXT_WPSC_PREVIEW_FILE', 'Upload preview');
560
+ define('TXT_WPSC_PREVIEW_FILE_NOTE', 'Note: Hvis du ikke uploader en preview fil, og din server har sox compiled MP3 underst&oslash;ttelse, s&aring; vil en preview fil blive oprettet automatisk.');
561
+ define('TXT_WPSC_PURCHASE_NUMBER', 'Ordre nr.');
562
+ define('TXT_WPSC_FILTER_ORDER', 'Filtrer ordrer');
563
+ define('TXT_WPSC_SHOW_SEARCH', 'Vis S&oslash;g');
564
+ define('TXT_WPSC_LOG_CURRENT_MONTH', 'Vis resultater fra denne m&aring;ned');
565
+ define('TXT_WPSC_LOG_PAST_THREE_MONTHS', 'Vis resultater fra de seneste tre m&aring;neder');
566
+ define('TXT_WPSC_LOG_ALL', 'Vis alle resusltater');
567
+ define('TXT_SHOW_IMAGES_ONLY', 'Vis kun billeder');
568
+ define('TXT_WPSC_SHOW_GALLERY', 'Vis thumbnail galleri');
569
+ define('TXT_WPSC_PLEASE_SELECT', 'V&aelig;lg venligst');
570
+ define('TXT_WPSC_TXN_ID', 'Transaktions ID');
571
+ define('TXT_WPSC_SINGLE_PRODUCTTHUMBNAILSIZE', 'Enkelte produkt billedes st&oslash;rrelse');
572
+ define('TXT_WPSC_RESET', 'Reset');
573
+ define('TXT_WPSC_ORDER_PENDING', 'Mange tak, ordren bliver behandlet, du vil modtage en email s&aring; snart ordren g&aring;r igennem.');
574
+ define('TXT_WPSC_ORDER_FAILED', 'Desv&aelig;rre, din ordre er ikke blevet godkendt. Grunden kan v&aelig;re at du har tastet forkert eller at der ikke d&aelig;kning for bel&oslash;bet.');
575
+ // Adrian - added for the options I added
576
+ define('TXT_WPSC_SHOW_CATEGORY_COUNT', 'Vis antal produkter i hver kategori');
577
+ define('TXT_WPSC_CATSPRODS_DISPLAY_TYPE', 'Visning af Kategorier/Produkter');
578
+ define('TXT_WPSC_CATSPRODS_TYPE_CATONLY', 'Kun kategorier (alle produkter vil blive vist)');
579
+ define('TXT_WPSC_CATSPRODS_TYPE_SLIDEPRODS', 'Glidende kategorier (1 produkt pr. side)');
580
+ // Adrian - END new added options
581
+ define('TXT_WPSC_ORDER_DETAILS', 'Ordrer oversigt');
582
+ define('TXT_WPSC_SAVE_PROFILE', 'Gem profil');
583
+ define('TXT_WPSC_USERACCOUNTURL', 'bruger konto URL');
584
+ define('TXT_WPSC_MUST_BE_LOGGED_IN', 'Du skal v&aelig;re logget ind for at se denne side. Benyt venligst formen nedenfor til at logge ind.');
585
+ define('TXT_WPSC_YOUR_ACCOUNT', 'Din konto');
586
+
587
+ define('TXT_WPSC_YOU_JUST_ADDED', 'Du har lige tilf&oslash;jet "[product_name]" til din indk&oslash;bskurv.');
588
+ define('TXT_WPSC_SORRY_NONE_LEFT', 'Desv&aelig;rre "[product_name]" er imidlertidigt ikke p&aring; lager.');
589
+
590
+ define('TXT_WPSC_CONTINUE_SHOPPING', 'Forts&aelig;t indk&oslash;b');
591
+ define('TXT_WPSC_ITEM_GONE_OUT_OF_STOCK', 'Det ser ud til et af produkter ikke l&aelig;ngere er p&aring; lager, g&aring; venligst tilbage og rediger din ordre.');
592
+ define('TXT_WPSC_DISPLAY_FANCY_NOTIFICATIONS', 'Vis fancy k&oslash;bs notifikationer');
593
+ define('TXT_WPSC_IF_USER_CHECKOUT', 'Har du allerede en konto? ');
594
+ define('TXT_WPSC_LOG_IN', 'log in.');
595
+ define('TXT_WPSC_IS_DONATION', 'Er dette produkt en donation?');
596
+ define('TXT_WPSC_DONATION', 'Donation');
597
+ define('TXT_WPSC_DONATION_LC', 'donation');
598
+ define('TXT_WPSC_DONATION_SHIPPING', 'Ingin forsendelse for donationer');
599
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT_URL', 'Produkt filnavn');
600
+ define('TXT_WPSC_FILETOBEPRODUCTURL', 'Note: Upload din fil til wp-shopping-cart/files mappen og indtast filnavnet her.');
601
+ define('TXT_WPSC_DONATIONS', 'Donationer');
602
+ define('TXT_WPSC_WRONG_FILE_PERMS', 'F&oslash;lgende mapper er nu skrivbare: :directory: Du vil ikke v&aelig;re i stand til at uploade filer her, du skal &aelig;ndre tilldelserne p&aring; disse mapper og g&oslash;re dem skrivbare.');
603
+ define('TXT_WPSC_RESET_API', 'Reset API n&oslash;gle');
604
+ define('TXT_WPSC_PRODUCTS_PER_PAGE', 'Produkter pr. side');
605
+ define('TXT_WPSC_OPTION_PRODUCTS_PER_PAGE', 'Antal produktker der skal vises p&aring; hver side');
606
+ define('TXT_WPSC_PAGE_NUMBER_POSITION', 'Placering af sidenumre');
607
+
608
+
609
+ define('TXT_WPSC_YOUR_BILLING_CONTACT_DETAILS', '1. Din betalings/kontakt informationer');
610
+ define('TXT_WPSC_DELIVER_TO_A_FRIEND', '2. Leverings info');
611
+ define('TXT_WPSC_E_COMMERCE', 'e-Commerce');
612
+ define('TXT_WPSC_THANKS_SAVED', 'Mange tak, dine &aelig;ndringer er blevet gemt.');
613
+ define('TXT_WPSC_REGISTER', 'Registr&eacute;r');
614
+ define('TXT_WPSC_TAX', 'Moms');
615
+
616
+ define('TXT_WPSC_USE_SHIPPING', 'Benyt forsendelse');
617
+ define('TXT_WPSC_USE_SHIPPING_DESCRIPTION', 'Hvis du KUN s&aelig;lger digitale produkter skal du v&aelig;lge nej for at deaktivere forsendelse p&aring; din side.');
618
+
619
+ define('TXT_WPSC_PAGESETTINGS', 'Pagination indstillinger');
620
+ define('TXT_WPSC_USE_PAGINATION', 'Benyt pagination');
621
+ define('TXT_WPSC_ADD_PRODUCT', 'Tilf&oslash;j produkt');
622
+ define('TXT_WPSC_EDIT_PRODUCT', 'Rediger produkt');
623
+ define('TXT_WPSC_UPDATE_PAGE_URLS', 'Opdater side URLs');
624
+ define('TXT_WPSC_VARIATIONS_AND_SPECIALS_DONT_MIX', 'Note: Du kan ikke p&aring; nuv&aelig;rende tidspunkt s&aelig;tte en pris p&aring; produkter med variationer');
625
+ define('TXT_WPSC_PRODUCT_SPECIALS', 'Produkt specials');
626
+ define('TXT_WPSC_SHOW_SHARE_THIS', 'Vis Share This (Social Bookmarks)');
627
+ define('TXT_WPSC_SHOW_NO_PRODUCT', 'Intet produkt');
628
+ define('TXT_WPSC_CHOOSE_DOWNLOADABLE_PRODUCT', 'V&aelig;lg en fil der kan downlades for dette prdukt:');
629
+ define('TXT_WPSC_PLEASECHOOSE', 'V&aelig;lg venligst');
630
+
631
+ define('TXT_WPSC_VARIATION_CONTROL', 'Variations kontrol');
632
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_SINGLE', ':variation1: Kontrol');
633
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_PAIR', ':variation1: og :variation2: Kontrol');
634
+ define('TXT_WPSC_VIEW_PREVIEW_CLIP', 'Se preview klip');
635
+ define('TXT_WPSC_REQUIRE_REGISTRATION', 'Bruger skal registrere f&oslash;r checkout');
636
+ define('TXT_WPSC_PLEASE_LOGIN', 'V&aelig;r venlig at looge ind eller registrere dig for at gennemf&oslash;re handelen');
637
+ define('TXT_WPSC_IF_JUST_REGISTERED', 'Hvis du lige har registreret, tjek da venligst din email og login f&oslash;r du gennemf&oslash;re handelen');
638
+ define('TXT_WPSC_SELECT_THEME', 'V&aelig;lg tema');
639
+ define('TXT_WPSC_NEW_ORDER_PENDING_SUBJECT', 'Ny ventende ordrer');
640
+ define('TXT_WPSC_NEW_ORDER_PENDING_BODY', "Der er en ny ordrer der afventer behandling: \n\r ");
641
+ define('TXT_WPSC_NO_SHIPPING', "Benyt ikke forsendelse");
642
+ define('TXT_WPSC_DEFAULT_MEMBERS_ONLY', "Denne side er kun for medlemmer, du skal logge ind for at se denne side.");
643
+ define('TXT_WPSC_MEMBERSHIP_CONTROL', "Medlems kontrol");
644
+ define('TXT_WPSC_PRODUCT_MEMBER_STATUS', "er dette produkt et medlemskab?");
645
+ define('TXT_WPSC_PRODUCT_MEMBERSHIP_LENGTH', "Medlems periode");
646
+ define('TXT_WPSC_DAYS', "Dage");
647
+ define('TXT_WPSC_MONTHS', "M&aring;neder");
648
+ define('TXT_WPSC_YEARS', "&Aring;r");
649
+ define('TXT_WPSC_MEMBERS_SUBSCRIPTION_ENDED', "Dit abonnement er afsluttet.");
650
+ define('TXT_WPSC_ACTIVATE_SETTINGS_MEMBERS', 'Aktiverings indstillinger: Medlems Modul');
651
+ define('TXT_WPSC_GOLD_CART', 'Gold Cart');
652
+ define('TXT_WPSC_SHOW_CATEGORY_DESCRIPTION', 'Vis kategori beskrivelse');
653
+ define('TXT_WPSC_ALSO_BOUGHT', 'Personer der k&oslash;bte dette, var ogs&aring; interesseret i');
654
+ define('TXT_WPSC_MARKETING_SETTINGS', 'Marketing indstillinger');
655
+ define('TXT_WPSC_OPTION_ALSO_BOUGHT', 'Vis cross sales');
656
+ define('TXT_WPSC_MARKETING', 'Marketing');
657
+ define('TXT_WPSC_DISPLAYCOUPONS', 'V&aelig;rdi kupon');
658
+ define('TXT_WPSC_ADD_COUPON', 'Tilf&oslash;j v&aelig;rdi kupon');
659
+ define('TXT_WPSC_COUPON', 'V&aelig;rdi kupon');
660
+ define('TXT_WPSC_ADDCOUPONS', 'Tilf&oslash;j v&aelig;rdi kupon');
661
+ define('TXT_WPSC_COUPON_CODE', 'v&aelig;rdi kupon kode');
662
+ define('TXT_WPSC_DISCOUNT', 'Rabat');
663
+ define('TXT_WPSC_START', 'Start');
664
+ define('TXT_WPSC_EXPIRY', 'Udl&oslash;b');
665
+ define('TXT_WPSC_USE_ONCE', 'Benyt 1 gang');
666
+ define('TXT_WPSC_ACTIVE', 'Aktiv');
667
+ define('TXT_WPSC_COUPONHASBEENADDED', 'Mange Tak, v&aelig;rdi kuponen er blevt tilf&oslash;jet.');
668
+ define('TXT_WPSC_COUPON', 'V&aelig;rdi kupon');
669
+ define('TXT_WPSC_COUPON_DOESNT_EXIST', 'V&aelig;rdi kuponen er udl&oslash;bet eller eksistere ikke.');
670
+ define('TXT_WPSC_PRODUCT_TAGS', 'Produkt tags');
671
+
672
+ define('TXT_WPSC_DROPSHOPDISPLAY', 'DropShop visning');
673
+ define('TXT_WPSC_HIDEADDTOCARTBUTTON', 'Skjul "Tilf&oslash;j til indk&oslash;bskurv" knap');
674
+
675
+ define('TXT_WPSC_PRODUCT_TAGS', 'Produkt tags');
676
+
677
+ define('TXT_WPSC_SHOW_DROPSHOP_ALL', 'Vis Dropshop p&aring; alle sider');
678
+ define('TXT_WPSC_SHOW_DROPSHOP_PRODUCT', 'vis Dropshop kun p&aring; produkt side');
679
+ define('TXT_WPSC_PRICEAFTERDISCOUNT', 'Pris efter rabat');
680
+ define('TXT_WPSC_ECOM_NEWS', 'e-Commerce nyheder');
681
+ define('TXT_WPSC_SAVE_PRODUCT_ORDER', 'Gem produkt ordre');
682
+
683
+ define('TXT_WPSC_ECOMMERCE_SUBSCRIBERS', 'e-Commerce abonnenter');
684
+ define('TXT_WPSC_USERID', 'Bruger ID');
685
+ define('TXT_WPSC_REGISTEREDDATE', 'Registrerings dato');
686
+ define('TXT_WPSC_SUSPEND', 'Afbryd');
687
+ define('TXT_WPSC_ACTIVATE', 'Aktiver');
688
+
689
+
690
+ define('TXT_WPSC_DROPSHOP_LIGHT', 'Benyt light Dropshop stil');
691
+ define('TXT_WPSC_DROPSHOP_DARK', 'Benyt dark Dropshop stil');
692
+
693
+
694
+ define('TXT_WPSC_MANUAL_PAYMENT', 'Manuel betaling');
695
+ define('TXT_WPSC_CREDIT_CARD', 'Kredit kort');
696
+ define('TXT_WPSC_CREDIT_CARD_AND_MANUAL_PAYMENT', 'Manuel betaling og kredit kort');
697
+ define('TXT_WPSC_PAYMENT_INSTRUCTIONS', 'Indtast manuel betalings beskrivelse her. f.eks.: \'Efter at du har placeret din ordre, vil du modtage en email med betalings information\'');
698
+
699
+ define('TXT_WPSC_SHOWALL', "Vis alle");
700
+ define('TXT_WPSC_PRICE_RANGE', "Pris leje");
701
+ define('TXT_WPSC_GOOGLE_RISK_AVS', "Adresse verifikation mislykkedes");
702
+ define('TXT_WPSC_GOOGLE_RISK_CVN', "Kredit kort verifikation mislykkedes");
703
+ define('TXT_WPSC_GOOGLE_RISK_BOTH', "Kredit kort og adresse verifikation mislykkedes");
704
+ define('TXT_WPSC_GOOGLE_RISK', 'Google Risk');
705
+ define('TXT_WPSC_CANCEL_ORDER', 'Slet denne ordre');
706
+ define('TXT_WPSC_FIRST_NAME', 'Fornavn');
707
+ define('TXT_WPSC_LAST_NAME', 'Efternavn');
708
+ define('TXT_WPSC_DELIVERY_FIRST_NAME', 'Levering fornavn');
709
+ define('TXT_WPSC_DELIVERY_LAST_NAME', 'Levering efternavn');
710
+ define('TXT_WPSC_DELIVERY_STATE', 'Levering omr&aring;de');
711
+ define('TXT_WPSC_SHIPWIREEMAIL', 'ShipWire email');
712
+ define('TXT_WPSC_SHIPWIREPASSWORD', 'ShipWire password');
713
+ define('TXT_WPSC_SHIPWIRESETTINGS', 'ShipWire indstillinger');
714
+ define('TXT_WPSC_NO_DOWNLOADABLES', 'Du har endnu ikke k&oslash;bt nogen digitale download produketer.');
715
+ define('TXT_DISPLAY_VARIATIONS', 'Vis variationer');
716
+
717
+
718
+
719
+ ?>
languages/EL_el.php ADDED
@@ -0,0 +1,479 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ This is a language file for the WP Shopping Cart plugin version 2.6.5 beta
4
+ 16 Feb 2007 translation by Dimitrios Michelinakis
5
+ */
6
+
7
+ define('TXT_WPSC_IMAGESIZEINFO', 'S?µe??s?: ?? a?t? e??a? ?e??, ? f?t???af?a de? ?a a????e? µ??e???.');
8
+ define('TXT_WPSC_RECEIVED', '??a pa?a??e??a');
9
+ define('TXT_WPSC_ORDER_STATUS', '?at?stas? pa?a??e??a?');
10
+ define('TXT_WPSC_ORDER_SUMMARY', 'S????? pa?a??e????');
11
+ define('TXT_WPSC_LANGUAGE', 'G??ssa');
12
+ define('TXT_WPSC_ACCEPTED_PAYMENT', '?p?ßeßa??s? p????µ??');
13
+ define('TXT_WPSC_JOB_DISPATCHED', '?p?st??? pa?a??e??a?');
14
+ define('TXT_WPSC_PROCESSED', '????????µ??? pa?a??e??a');
15
+ define('TXT_WPSC_ECOMMERCE', 'e-?µp????');
16
+ define('TXT_WPSC_OPTIONS', '?p?????? ?atast?µat??');
17
+ define('TXT_WPSC_ADDPRODUCTS', '??a p?????ta');
18
+ define('TXT_WPSC_SENDSMS', '?p?st??? SMS');
19
+ define('TXT_WPSC_PRODUCTS', '??????ta');
20
+ define('TXT_WPSC_ADDCATEGORY', '??a ?at?????a');
21
+ define('TXT_WPSC_CATEGORIES', '?at?????e?');
22
+ define('TXT_WPSC_BRANDS', '????e?');
23
+ define('TXT_WPSC_VARIATIONS', '?a?a??a???');
24
+ define('TXT_WPSC_PURCHASELOG', '?atastat??? pa?a??e????');
25
+ define('TXT_WPSC_ORDER_LOG', '?a?a??e??e?');
26
+ define('TXT_WPSC_OLDER_ORDERS', '?a?a??te?e? pa?a??e??e?');
27
+ define('TXT_WPSC_ORDER', '?a?a??e??a');
28
+ define('TXT_WPSC_TOTAL_THIS_MONTH', '????a?a ap?d?s?');
29
+ define('TXT_WPSC_MONTHLY_REPORT', '???µ??? a?af???');
30
+ define('TXT_WPSC_TOTAL_INCOME', 'S??????? ap?d?s?');
31
+ define('TXT_WPSC_ACCEPTED_PAYMENTS', '(?p?ßeßa??µ??e? p????µ??)');
32
+ define('TXT_WPSC_PAYMENTGATEWAYOPTIONS', '?p?????? p????');
33
+ define('TXT_WPSC_HELPINSTALLATION', '????e?a/??aß??µ?s?');
34
+ define('TXT_WPSC_EXAMPLECATEGORY', '?a??de??µa ?at?????a?');
35
+ define('TXT_WPSC_EXAMPLEDETAILS', '?a??de??µa st???e???');
36
+ define('TXT_WPSC_EXAMPLEBRAND', '?a??de??µa µ???a?');
37
+ define('TXT_WPSC_PRODUCTIMAGEWIDTH', '???t?? f?t???af?a? p?????t??');
38
+ define('TXT_WPSC_PRODUCTIMAGEHEIGHT', '???? f?t???af?a? p?????t??');
39
+ define('TXT_WPSC_CATEGORYIMAGEWIDTH', '???t?? f?t???af?a? ?at?????a?');
40
+ define('TXT_WPSC_CATEGORYIMAGEHEIGHT', '???? f?t???af?a? ?at?????a?');
41
+ define('TXT_WPSC_PRODUCTLISTURL', '? t?p??es?a t?? ?ata????? p?????t??');
42
+ define('TXT_WPSC_SHOPPINGCARTURL', '? t?p??es?a t?? ?a?a???? a?????');
43
+ define('TXT_WPSC_CHECKOUTURL', '? t?p??es?a t?? se??da? t?? taµe???');
44
+ define('TXT_WPSC_TRANSACTURL', '? t?p??es?a t?? se??da? s??a??a??? st???e???');
45
+ define('TXT_WPSC_PAYMENTGATEWAY', '???? p????µ??');
46
+ define('TXT_WPSC_CARTLOCATION', '??p??es?a ?a?a????');
47
+ define('TXT_WPSC_SHOWCATEGORYBRANDS', '?µf???s? ?at?????a? ? µ???a? ? ?a? t?? d??');
48
+ define('TXT_WPSC_CURRENCYTYPE', '??µ?sµa');
49
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', '??p??es?a s?µß????');
50
+ define('TXT_WPSC_GSTRATE', 'ep?t???? GST');
51
+ define('TXT_WPSC_MAXDOWNLOADS', '?? download ????');
52
+ define('TXT_WPSC_DISPLAYPNP', '?µf???s? ? ap?????? t?? t??p?? pa?eta??sµat?? ?a? ap?st????');
53
+ define('TXT_WPSC_DISPLAYSPECIALS', '?µf???s? ? ap?????? t?? p??sf???? st?? pa??p?e??? µp??a');
54
+ define('TXT_WPSC_POSTAGEAND_PACKAGING', '???ep????? t??p?? pa?eta??sµat?? ?a? ap?st????');
55
+ define('TXT_WPSC_PURCHLOGEMAIL', 'Email d?e????s? ap?st???? ?atastat???? pa?a??e????');
56
+ define('TXT_WPSC_RETURNEMAIL', 'Email d?e????s? ap?st???a a?af???? pa?a??e????');
57
+ define('TXT_WPSC_TERMSANDCONDITIONS', '???? ???s?? ?a? p????µ??');
58
+ define('TXT_WPSC_DEFAULTBRAND', '???ep??e?µ??? µ???a');
59
+ define('TXT_WPSC_DEFAULTCATEGORY', '???ep??e?µ??? ?at?????a');
60
+ define('TXT_WPSC_PAYPALBUSINESS', 'paypal business');
61
+ define('TXT_WPSC_PAYPALURL', 'paypal url');
62
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', '?µf???s? ßa?µ?????s?? p?????t??');
63
+ define('TXT_WPSC_PRODUCTSPAGE', 'Se??da p?????t??');
64
+ define('TXT_WPSC_CHECKOUT', '?aµe??');
65
+ define('TXT_WPSC_ENTERDETAILS', '??sa???? st???e???');
66
+ define('TXT_WPSC_TRANSACTIONRESULTS', '?p?te??sµata s??a??a???');
67
+ define('TXT_WPSC_SELECTACATEGORY', '?p????? ?at?????a?');
68
+ define('TXT_WPSC_SELECTABRAND', '?p????? µ???a?');
69
+ define('TXT_WPSC_PRODUCTNAME', '???µa p?????t??');
70
+ define('TXT_WPSC_PRODUCTDESCRIPTION', '?e????af? p?????t??');
71
+ define('TXT_WPSC_ADDITIONALDESCRIPTION', '?p?p??s?et? pe????af?');
72
+ define('TXT_WPSC_PRICE', '??µ?');
73
+ define('TXT_WPSC_TAXALREADYINCLUDED', '????? F?? (?? F?? ????ete st?? ep?????? ?atast?µat??)');
74
+ define('TXT_WPSC_SPECIAL', '??µ? p??sf????/??pt?s??');
75
+ define('TXT_WPSC_PRODUCT_DISPLAY', '?µf???s? p?????t??');
76
+
77
+ define('TXT_WPSC_PRODUCTSTOCK', '?p??eµa p?????t??');
78
+
79
+ define('TXT_WPSC_UNTICKBOX', '?p???e? pe?????sµ???? a???µ?? ap??eµ?t?? a?t?? t?? p?????t??. ?? e?a?t???e? t? ap??eµa, a?t? t? p????? de? ?a e??a? d?a??s?µ? e?t?? ?a? a? de? e??a? ep??e?µ??? a?t? ? ep????? ? p??ste?e? pe??ss?te?? ap??eµa.');
80
+ define('TXT_WPSC_LIMITED_STOCK', '?e?????sµ??? ap??eµa');
81
+
82
+ define('TXT_WPSC_CATEGORY', '?at?????a');
83
+ define('TXT_WPSC_BRAND', '????a');
84
+ define('TXT_WPSC_PRODUCT_VARS', '?a?a??a??? p?????t??');
85
+ define('TXT_WPSC_ADD_VAR', '??? s????? pa?a??a???');
86
+ define('TXT_WPSC_EDIT_VAR', '?pe?e??as?a s?????? pa?a??a???');
87
+ define('TXT_WPSC_SELECTAVARIATION', '?p????? pa?a??a???');
88
+ define('TXT_WPSC_NEW_VARIATION', '??µ??????a ??a? pa?a??a???');
89
+
90
+ define('TXT_WPSC_PRODUCTATT', '?p?s????e??');
91
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT', '?????? ??a download');
92
+ define('TXT_WPSC_FILETOBEPRODUCT', 'S?µe??s?: ?? a?t? s?µp?????e?, t? ?ata????µ??? a??e?? ?a e??a? t? p????? p??? p???s?.');
93
+ define('TXT_WPSC_RESIZEIMAGE', '???a?? µe?????? µ??????af?a?');
94
+ define('TXT_WPSC_DONOTRESIZEIMAGE', '?µet?ß??t? µ??e??? µ??????af?a?');
95
+ //define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', '???s? p??ep??e?µ???? ????? ?a? p??t???');
96
+ //define('TXT_WPSC_USE', '???s?');
97
+ //define('TXT_WPSC_PXHEIGHTBY', 'px ???? ep?');
98
+ //define('TXT_WPSC_PXWIDTH', 'px p??t??.');
99
+
100
+ // pe.{
101
+ //define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', '???s? p??ep??e?µ???? ????? ?a? p??t???');
102
+ // }.pe
103
+ define('TXT_WPSC_SEPARATETHUMBNAIL', '???s? ?e????st?? µ??????af?a?');
104
+ define('TXT_WPSC_USE', '???s?');
105
+ // pe.{
106
+ define('TXT_WPSC_USEDEFAULTSIZE', '???s? p??ep??e?µ???? µe??????');
107
+ define('TXT_WPSC_USESPECIFICSIZE', '???s? s???e???µ???? µe??????');
108
+ define('TXT_WPSC_PXHEIGHT', 'px ????');
109
+ define('TXT_WPSC_PXWIDTH', 'px p??t??');
110
+ // }.pe
111
+
112
+ define('TXT_WPSC_PREVIEW', '???ep?s??p?s?');
113
+ define('TXT_WPSC_UPLOADNEWIMAGE', '??t??at?stas? f?t???af?a?');
114
+ define('TXT_WPSC_DELETEIMAGE', '??a??af? f?t???af?a?');
115
+ define('TXT_WPSC_EDIT', '?pe?e??as?a');
116
+ define('TXT_WPSC_DELETE', '??a??af?');
117
+ define('TXT_WPSC_REMOVE', '?fa??es?');
118
+ define('TXT_WPSC_NAME', '???µa');
119
+ define('TXT_WPSC_TYPE', '??p??');
120
+ define('TXT_WPSC_MANDATORY', '?p???e?t???');
121
+ define('TXT_WPSC_DISPLAY_IN_LOG', '?µf???s?<br /> st? ?atastat???');
122
+ define('TXT_WPSC_DESCRIPTION', '?e????af?');
123
+ define('TXT_WPSC_CATEGORY_PARENT', 'G????? ?at?????a');
124
+ define('TXT_WPSC_IMAGE', 'F?t???af?a');
125
+ define('TXT_WPSC_HEIGHT', '????');
126
+ define('TXT_WPSC_WIDTH', '???t??');
127
+ define('TXT_WPSC_PLEASEENTERAVALID', '?a?a?a?? s?µp????ste');
128
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', '?a?a?a?? s?µp????ste t? ???µa sa?');
129
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', '?a?a?a?? s?µp????ste t? ep???µ? sa?');
130
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', '?a?a?a?? s?µp????ste t?? email d?e????s? sa?');
131
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', '?a?a?a?? s?µp????ste t?? ta??d??µ??? d?e????s? sa?');
132
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', '?a?a?a?? s?µp????ste t? t???f??? sa?');
133
+ define('TXT_WPSC_TERMSANDCONDITIONS', '?e? ??ete ap?de?te? t??? ????? ???s?? ?a? p????µ??');
134
+ define('TXT_WPSC_NOTHINGINYOURSHOPPINGCART', '?? ?a???? a????? sa? e??a? ?de??');
135
+ define('TXT_WPSC_SPECIALS', '???sf????');
136
+ define('TXT_WPSC_BUY', '?????');
137
+ define('TXT_WPSC_SHOPPINGCART', '?a???? a?????');
138
+ define('TXT_WPSC_NUMBEROFITEMS', '??t??e?µe?a');
139
+ define('TXT_WPSC_NOMOREAVAILABLE', '??t? t? p????? ??e? e?a?t???e?');
140
+ define('TXT_WPSC_EMPTYYOURCART', '?de?asµa t?? ?a?a????');
141
+ define('TXT_WPSC_GOTOCHECKOUT', '?????µ?');
142
+ define('TXT_WPSC_CONTINUESHOPPING', '?p?st??f? sta p?????ta');
143
+ define('TXT_WPSC_YOURSHOPPINGCARTISEMPTY', '?de?? ?a???? a?????');
144
+ define('TXT_WPSC_VISITTHESHOP', '?p?s?e?? st? ?at?st?µa');
145
+ define('TXT_WPSC_PAGES', 'Se??de?');
146
+ define('TXT_WPSC_OUTOF', 'ap?');
147
+ define('TXT_WPSC_VOTES', '??f???.');
148
+ define('TXT_WPSC_CLICKSTARSTORATE', '?p????te ast??? ??a ?a ??f?sete');
149
+ define('TXT_WPSC_AVERAGERATINGOF', '??s?? ???? ap?');
150
+ define('TXT_WPSC_YOURVOTE', '? ??f?? sa?');
151
+ define('TXT_WPSC_AVERAGEVOTE', '??s? ??f??');
152
+ define('TXT_WPSC_YOUHAVEVOTED', '??ete ??f?se?');
153
+ define('TXT_WPSC_NOVOTES', '????? ??f???');
154
+ define('TXT_WPSC_1VOTE', '1 ??f??');
155
+ define('TXT_WPSC_VOTES2', '??f???');
156
+ define('TXT_WPSC_PERSONGIVEN', '?t?µ? ??e? ßa?µ?????se? a?t? t? f?t???af?a');
157
+ define('TXT_WPSC_PERSONGIVEN2', 'ast???a.');
158
+ define('TXT_WPSC_PEOPLEGIVEN', '?t?µa ????? ßa?µ?????se? a?t? t? f?t???af?a');
159
+ define('TXT_WPSC_PEOPLEGIVEN2', 'ast???a.');
160
+ define('TXT_WPSC_ITEMHASBEENADDED', '?? p????? p??st????e st? ?a????');
161
+ define('TXT_WPSC_ITEMHASNOTBEENADDED', '?? p????? de? p??st????e st? ?a????');
162
+ define('TXT_WPSC_ADDNEWCATEGORY', '??a ?at?????a');
163
+ define('TXT_WPSC_SUBMIT', '?p?st???');
164
+ define('TXT_WPSC_SELECTAVALIDCATEGORY', '?a?a?a?? d?a???te µ?a ?????? ?at?????a');
165
+ define('TXT_WPSC_PRODUCTNAME', '???µa p?????t??');
166
+ define('TXT_WPSC_PRODUCTDESCRIPTION', '?e????af? p?????t??');
167
+ define('TXT_WPSC_ADDNEWPRODUCT', '??? p?????');
168
+ define('TXT_WPSC_PRODUCTQUANTITY', 'Productquantity');
169
+ define('TXT_WPSC_PRODUCTIMAGE', 'F?t???af?a p?????t??');
170
+ define('TXT_WPSC_PRODUCTPRICE', '??µ? p?????t??');
171
+ define('TXT_WPSC_NOTAX', '?f???????t?');
172
+ define('TXT_WPSC_ABOUT', '?e??');
173
+ define('TXT_WPSC_ABOUTCONTENT', 'Welcome to the e-commerce panel. <br /><br /><strong>Note:</strong> on some setups, the shopping cart may empty on every page load, if this happens, you will have to add this line:<br /><br />session_start();<br /><br />to the index.php file in the base wordpress directory.<br />');
174
+ define('TXT_WPSC_CONTACTDETAILS', '?a?a?a?? s?µp????ste ta st???e?a sa?:');
175
+ define('TXT_WPSC_CREDITCARDHANDY', 'Note, Once you press submit, you will need to have your Credit card handy.');
176
+ define('TXT_WPSC_ASTERISK', 'Fields marked with an asterisk must be filled in.');
177
+ define('TXT_WPSC_FIRSTNAME', '???µa');
178
+ define('TXT_WPSC_LASTNAME', 'Ep???µ?');
179
+ define('TXT_WPSC_EMAIL', 'Email');
180
+ define('TXT_WPSC_ADDRESS', '??e????s?');
181
+ define('TXT_WPSC_ADDRESS1', '??e????s? 1');
182
+ define('TXT_WPSC_ADDRESS2', '??e????s? 2');
183
+ define('TXT_WPSC_CITY', '????');
184
+ define('TXT_WPSC_COUNTRY', '???a');
185
+ define('TXT_WPSC_PHONE', '????f???');
186
+ define('TXT_WPSC_TERMS1', '?p?d???µa? t??? ');
187
+ define('TXT_WPSC_TERMS2', '????? ???s?? ?a? p????µ??');
188
+
189
+
190
+ define('TXT_WPSC_TEXT', '?e?µe??');
191
+ define('TXT_WPSC_TEXTAREA', 'Textarea');
192
+ define('TXT_WPSC_HEADING', 'Heading');
193
+
194
+ define('TXT_WPSC_MAKEPURCHASE', '?????');
195
+ define('TXT_WPSC_BUYPRODUCTS', 'Please buy some products before using this page');
196
+ define('TXT_WPSC_BRANDHASBEENEDITED', 'The brand has been edited.');
197
+ define('TXT_WPSC_SURETODELETEPRODUCT', 'Are you sure you want to delete this product?');
198
+ define('TXT_WPSC_ADDBRAND', '??a µ???a');
199
+ define('TXT_WPSC_DISPLAYBRANDS', '????e?');
200
+ define('TXT_WPSC_EDITBRAND', '?pe?e??as?a µ???a?');
201
+ define('TXT_WPSC_ADD', '???s?es?');
202
+ define('TXT_WPSC_ADD_NEW_FORM', '??? ped?? f??µa?');
203
+ define('TXT_WPSC_SAVE_CHANGES', '?ata????s? a??a???');
204
+
205
+ define('TXT_WPSC_CATEGORYHASBEENEDITED', 'The category has been edited.');
206
+ define('TXT_WPSC_DISPLAYCATEGORIES', '?at?????e?');
207
+ define('TXT_WPSC_ADDCATEGORY', '??a ?at?????a');
208
+ define('TXT_WPSC_EDITCATEGORY', '?pe?e??as?a ?at?????a?');
209
+ define('TXT_WPSC_ALLCATEGORIES', '??e? t?? ?at?????e?');
210
+
211
+ define('TXT_WPSC_DISPLAYVARIATIONS', '?a?a??a???');
212
+ define('TXT_WPSC_ADDVARIATION', 'Add Variation Set');
213
+ define('TXT_WPSC_EDITVARIATION', 'Edit Variation Set');
214
+ define('TXT_WPSC_VARIATIONHASBEENEDITED', 'The variation has been edited.');
215
+ define('TXT_WPSC_VARIATION_VALUES', 'Variation Values');
216
+ define('TXT_WPSC_REMOVE_SET', 'Remove This Set'); //this needs to be translated
217
+
218
+ define('TXT_WPSC_SELECT_PARENT', 'Select Parent');
219
+ define('TXT_WPSC_PRODUCTHASBEENEDITED', 'The product has been edited.');
220
+ define('TXT_WPSC_ADDPRODUCT', '??? p?????');
221
+ define('TXT_WPSC_DISPLAYPRODUCTS', '??????ta');
222
+ define('TXT_WPSC_PLEASESELECTACATEGORY', '?a?a?a?? d?a???te µ?a ?at?????a');
223
+ define('TXT_WPSC_STOCK', '?p??eµa');
224
+ define('TXT_WPSC_PNP', 'PnP');
225
+ define('TXT_WPSC_EDITITEM', 'Edit Item');
226
+ define('TXT_WPSC_PRODUCTDETAILS', 'Product Details');
227
+ define('TXT_WPSC_SELECT_PRODUCT', 'Select an Existing Product');
228
+ define('TXT_WPSC_ENTERPRODUCTDETAILSHERE', '(enter in your product details here)');
229
+ define('TXT_WPSC_ADDITIONALPRODUCTDESCRIPTION', 'Additional Product Description');
230
+ define('TXT_WPSC_ADDITEM', 'Add Item');
231
+ define('TXT_WPSC_CHOOSEACATEGORY', '?p????? ?at?????a?');
232
+ define('TXT_WPSC_CHOOSEABRAND', '?p????? µ???a?');
233
+ define('TXT_WPSC_USETHEACTUALIMAGE', '???s? a?????? f?t???af?a?, ????? a??a?? µe??????.');
234
+ define('TXT_WPSC_DISPLAYPURCHASES', '?atastat??? pa?a??e????');
235
+ define('TXT_WPSC_ID', 'ID');
236
+ define('TXT_WPSC_TRANSACTIONSTATUS', '?at?stas? s??a??a???');
237
+ define('TXT_WPSC_DATE', '?µe??µ???a');
238
+ define('TXT_WPSC_VIEWDETAILS', '?ept?µ??e?e?');
239
+ define('TXT_WPSC_STATUS', '?at?stas?');
240
+ define('TXT_WPSC_SUCCESSFUL', '?p?t???a');
241
+ define('TXT_WPSC_FAILED', '?p?t???a');
242
+ define('TXT_WPSC_GST', 'GST');
243
+ define('TXT_WPSC_PP', 'P&amp;P');
244
+ define('TXT_WPSC_TOTAL', 'S?????');
245
+ define('TXT_WPSC_FINALTOTAL', '?e???? s?????');
246
+ define('TXT_WPSC_CUSTOMERDETAILS', '?ept?µ??e?e? pe??t?');
247
+ define('TXT_WPSC_USERSCARTWASEMPTY', 'This users cart was empty');
248
+ define('TXT_WPSC_GOBACK', '?p?st??f?');
249
+ define('TXT_WPSC_THANKSAPPLIED', 'Thanks, your changes have been applied.');
250
+ define('TXT_WPSC_FORM_FIELDS', '?p?????? taµe???');
251
+ define('TXT_WPSC_PAYMENTGATEWAY2', 'Payment Gateway');
252
+ define('TXT_WPSC_PLEASESELECTAPAYMENTGATEWAY', 'Please Select A Payment Gateway');
253
+ define('TXT_WPSC_PAYMENTGATEWAYNOTE', '<strong>Note:</strong> This lite version of the e-Commerce plugin only allows you to interface with PayPal.<br /><br />If you are looking for a more profesional "non paypal solution" then we have a <a href="http://www.instinct.co.nz/blogshop">gold version of e-Commerce</a> available that interfaces seamlessly with authorize.net, DPS (www.dps.co.nz), and paystation (www.paystation.co.nz).');
254
+ define('TXT_WPSC_URLSETTINGS', 'URL Settings');
255
+ define('TXT_WPSC_PRODUCTLISTURL', 'Product List URL');
256
+ define('TXT_WPSC_SHOPPINGCARTURL', 'Shopping Cart URL');
257
+ define('TXT_WPSC_CHECKOUTURL', 'Checkout URL');
258
+ define('TXT_WPSC_TRANSACTIONDETAILSURL', 'Transaction Details URL');
259
+ define('TXT_WPSC_PRESENTATIONSETTINGS', 'Presentation Settings');
260
+ define('TXT_WPSC_CARTLOCATION', 'Cart Location');
261
+ define('TXT_WPSC_SIDEBAR', 'Sidebar');
262
+ define('TXT_WPSC_PAGE', 'Page');
263
+ define('TXT_WPSC_WIDGET', 'Widget');
264
+ define('TXT_WPSC_NEEDTOENABLEWIDGET', 'You need to enable the widgets plugin to use this');
265
+ define('TXT_WPSC_MANUAL', 'Manual');
266
+ define('TXT_WPSC_SHOWCATEGORIESBRANDS', 'Show Categories/Brands');
267
+ define('TXT_WPSC_BOTH', '?a? ta d??');
268
+ define('TXT_WPSC_PRODUCTTHUMBNAILSIZE', 'Default Product Thumbnail Size');
269
+ define('TXT_WPSC_CATEGORYTHUMBNAILSIZE', 'Default Category Thumbnail Size');
270
+ define('TXT_WPSC_SHOWPOSTAGEANDPACKAGING', 'Show Postage and Packaging');
271
+ define('TXT_WPSC_YES', '?a?');
272
+ define('TXT_WPSC_NO', '???');
273
+ define('TXT_WPSC_SHOWSPECIALS', '?µf???s? p??sf????');
274
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', '?µf???s? ??f?? p?????t??');
275
+ define('TXT_WPSC_CURRENCYSETTINGS', '?p?????? ??µ?sµat??');
276
+ define('TXT_WPSC_GSTTAXRATE', 'GST/Tax Rate');
277
+ define('TXT_WPSC_CURRENCYTYPE', '??µ?sµa');
278
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', '??p??es?a s?µß????');
279
+ define('TXT_WPSC_DEFAULTPOSTAGEPACKAGING', 'Default Postage &amp; Packaging');
280
+ define('TXT_WPSC_ADMINISTRATIONSETTINGS', 'Administration Settings');
281
+ define('TXT_WPSC_MAXDOWNLOADSPERFILE', 'Max downloads per file');
282
+ define('TXT_WPSC_PURCHASELOGEMAIL', 'Purchase Log Email');
283
+ define('TXT_WPSC_REPLYEMAIL', 'Reply Email');
284
+ define('TXT_WPSC_BRANDNOCAP', 'µ???a');
285
+ define('TXT_WPSC_CATEGORYNOCAP', '?at?????a');
286
+ define('TXT_WPSC_UDPATING', 'Updating');
287
+ define('TXT_WPSC_MOREDETAILS', '?e??ss?te?e? p????f???e?');
288
+ define('TXT_WPSC_ADDTOCART', '???s?es? st? ?a????');
289
+ define('TXT_WPSC_AVGCUSTREVIEW', 'Avg. Customer Rating');
290
+ define('TXT_WPSC_YOURRATING', 'Your Rating');
291
+ define('TXT_WPSC_RATING_SAVED', 'Saved');
292
+ define('TXT_WPSC_RATETHISITEM', 'Rate This item');
293
+ define('TXT_WPSC_PRODUCTSOLDOUT', 'This product has sold out.');
294
+ define('TXT_WPSC_NOITEMSINTHIS', 'There are no items in this');
295
+ define('TXT_WPSC_CATEGORYORBRAND', 'Category or Brand');
296
+ define('TXT_WPSC_PLEASECHOOSEA', '?p????te');
297
+ define('TXT_WPSC_PRODUCT', '??????');
298
+ define('TXT_WPSC_QUANTITY', '??s?t?ta');
299
+ define('TXT_WPSC_QUANTITY_SHORT', '??s?t'); //translation needed
300
+ define('TXT_WPSC_APPLY', '?fa?µ???');
301
+ define('TXT_WPSC_MAKEPAYMENT', '?????µ?');
302
+ define('TXT_WPSC_EMPTYSHOPPINGCART', '?de?asµa t?? ?a?a???? a?????');
303
+ define('TXT_WPSC_TOTALPRICE', 'Total Price');
304
+ define('TXT_WPSC_NOITEMSINTHESHOPPINGCART', 'There are no items in the shopping cart');
305
+ define('TXT_WPSC_EMAILMSG1', "Thank you, the order has been accepted, any items to be shipped will be processed as soon as possible, any items that can be downloaded can be downloaded using the links on this page.\n\r\n\rAll prices include tax and postage and packaging where applicable.\n\r\n\rYou ordered these items:\n\r\n\r");
306
+ define('TXT_WPSC_EMAILMSG2', ".\n\rThese items were ordered:\n\r\n\r");
307
+ define('TXT_WPSC_CLICKTODOWNLOAD', 'Click here to download');
308
+ define('TXT_WPSC_DOWNLOAD', 'Download');
309
+ define('TXT_WPSC_YOURTRANSACTIONID', 'Your Transaction ID');
310
+ define('TXT_WPSC_TRANSACTIONID', 'Transaction ID');
311
+ define('TXT_WPSC_PURCHASERECEIPT', 'Purchase Receipt');
312
+ define('TXT_WPSC_PURCHASEREPORT', 'Purchase Report');
313
+ define('TXT_WPSC_THETRANSACTIONWASSUCCESSFUL', 'The Transaction was successful');
314
+ define('TXT_WPSC_THETRANSACTIONWASNOTSUCCESSFUL', 'The Transaction was not successful');
315
+ define('TXT_WPSC_GOBACKTOCHECKOUT', 'Go back to the checkout');
316
+ define('TXT_WPSC_SPECIALPRICE', 'Special Price');
317
+
318
+ define('TXT_WPSC_INSTRUCTIONS', '
319
+ To complete the installation you need to create the Product, Shopping Cart, Checkout and Transaction Result pages, and then hide the Shopping Cart, Checkout and Transaction Result pages so that they do not appear in the pages list.
320
+ <ul class=\'installation\'>
321
+ <li>Place contents of zip file in the wp-content/plugins directory.</li>
322
+ <li>Activate the plugin from the wordpress plugin page</li>
323
+ <li>Go to the "Payment Gateway Options" page in the "e-Commerce" tab, and enter in the appropriate details. (the default paypal gateway accessed is the paypal sandbox)</li>
324
+ <li>Create some Categories and Products using the Categories and Products pages</li>
325
+ </ul>
326
+ Expecting more? That\'s it.</p>
327
+ <h2>Wishlist Tip Jar</h2>
328
+ <p>Donations are in no way mandatory.<br /><br />
329
+ Yet, we have been spending considerable amounts of time writing, supporting and debugging WP e-commerce. Therefore, if you like what you see, and want to see more of it, feel free to help finance future releases by dropping a buck or two in the tip jar...</p>
330
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
331
+ <input type="hidden" name="cmd" value="_s-xclick">
332
+ <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">
333
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAh/vca+S7Em1KNH3rhwBRD1h4c0DdQSgmknr8mKQU7KfG5jSYXu5DD9oriGfYSDg+99ZtljIwtqvefC0wKdEJ0yFMGinWp9zGw2Xvu1s4S+pcH5IGax9KQo1WosnzA99F04MHQnqkxcfpTXCG8VLSf/r/rx8+++vVsYWNYN717+DELMAkGBSsOAwIaBQAwgcQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIHATWqFYRAjeAgaB2F/F90mbYo/5zGY/1AYtsQ35nRDtelewxW7iLHF41rzB3NidYEs2h+t/HS0MoGTBsAfVc94mxIzInI1pQt9n/hpF67XAr357KVwIoIOq52jDfDFlZV92BPMv00MHuj4LNtNq5I752I3SsNamhl1DfAqlWxnJsIibA1D3l8k67ccc04/JYjvsd89hYgf0lob7vQoZ8X5xNtlidM3qcAx4goIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMB4XDTA0MDIxMzEwMTMxNVoXDTM1MDIxMzEwMTMxNVowgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBR07d/ETMS1ycjtkpkvjXZe9k+6CieLuLsPumsJ7QC1odNz3sJiCbs2wC0nLE0uLGaEtXynIgRqIddYCHx88pb5HTXv4SZeuv0Rqq4+axW9PLAAATU8w04qqjaSXgbGLP3NmohqM6bV9kZZwZLR/klDaQGo1u9uDb9lr4Yn+rBQIDAQABo4HuMIHrMB0GA1UdDgQWBBSWn3y7xm8XvVk/UtcKG+wQ1mSUazCBuwYDVR0jBIGzMIGwgBSWn3y7xm8XvVk/UtcKG+wQ1mSUa6GBlKSBkTCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb22CAQAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQCBXzpWmoBa5e9fo6ujionW1hUhPkOBakTr3YCDjbYfvJEiv/2P+IobhOGJr85+XHhN0v4gUkEDI8r2/rNk1m0GA8HKddvTjyGw/XqXa+LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDYwMzA5MjA0ODA4WjAjBgkqhkiG9w0BCQQxFgQUCBfIACnHn+V2COlj8DDv2MsFJRIwDQYJKoZIhvcNAQEBBQAEgYCMXnxnBNyUy7axfHh9EDVq7HFzTvTsGwtmAUVesOyRNGwESXpukrX4rDOMNdHbbVToxa98uIKJUJPiYGBcpcUywtpZG1ZiDvYxoWgDh4zXx4w1QcJ96OjUPkHQ3q0UWY+p9GRxl+buhyjK62BxU5I0UaKc0H3QuATQB5+lbZdlgw==-----END PKCS7-----">
334
+ </form>
335
+ <h2>Customisation and Tips</h2>
336
+ <p><strong>GST & Tax</strong><br />If required you can enter in a default GST/Tax rate on the Options page in the "e-Commerce" tab.</p>
337
+ <p><strong>Email purchase Logs</strong><br />If you add an email address for the purchase log on the Purchase Log page this will be the email address that is sent a purchase notification each time something is bought.</p>
338
+ <p><strong>Hiding pages</strong><br />
339
+ To prevent the Shopping Cart, Checkout and Transaction Results pages from being displayed in the page list you must first find out their ID numbers. <br />
340
+ <br />Then you have to edit the file in the theme you use that displays pages. <br />
341
+ <br />This is normally found in sidebar.php, find the line similar to:<br />
342
+ <br />"&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;/h2&gt;\' ); ?&gt;"<br />
343
+ <br />Edit the line accordingly, for example:<br />
344
+ <br />"&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;h2&gt;&amp;exclude=3,4,5\'); ?&gt;"<br />
345
+ <br />The word exclude tells it to exclude the pages from the list, and the numbers after the word exclude are the ID numbers of the pages to exclude.</p>
346
+ <p><strong>Upgrading from Previous Version</strong><br />
347
+ If you are upgrading from a previous version, you will need to deactivate and reactivate the plugin.</p>
348
+ <p><strong>Image Functions</strong><br />
349
+ If your server does not have the PHP image functions installed, you will not be able to resize images once they are uploaded</p>
350
+ <p><strong>Permalinks</strong><br />
351
+ We\'re doing the best we can.
352
+ I have not been able to find a really good way to pass the required variables from page to page using permalinks that dont use mod_rewrite, if you cant use mod_rewrite, the plugin may not work with permalinks turned on.</p>
353
+ <p><strong>Javascript and Ajax </strong><br />
354
+ e-commerce lite uses Ajax, the shopping cart that the user sees will work without Javascript, but the Administration pages (specifically the Products and Categories pages) will not. To use the Administration section you will need to use a reasonably modern browser and have Javascript turned on. (Internet Explorer 6 or better, or Firefox 1.0 or better, older versions have not been tested for and may or may not work)</p>
355
+ <p><strong>Contact Us</strong><br />
356
+ Website: <a href="http://www.instinct.co.nz">www.instinct.co.nz</a></p>
357
+ <p><strong>Credits:</strong><br />
358
+ This project uses a modified version of Lightbox: <a href="http://www.huddletogether.com/projects/lightbox2/">Lightbox can be obtained from here.</a>
359
+ </p>
360
+ ');
361
+
362
+
363
+ define('TXT_WPSC_SHIPPINGSETTINGS', 'Shipping Settings');
364
+ define('TXT_WPSC_BASE_LOCAL', 'Base Local Shipping');
365
+ define('TXT_WPSC_BASE_INTERNATIONAL', 'Base International Shipping');
366
+ define('TXT_WPSC_BASE_COUNTRY', 'Base Country/Region');
367
+
368
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Additional Shipping Costs'); // this needs updating
369
+ define('TXT_WPSC_LOCAL_PNP', 'Local Shipping Fee'); // this needs updating
370
+ define('TXT_WPSC_INTERNATIONAL_PNP', 'International Shipping Fee'); // this needs updating
371
+ define('TXT_WPSC_SHIPPING_NOTE', 'Note: charged only once per product regardless of quantity ordered.');
372
+ define('TXT_WPSC_COUNTRY_FORM_FIELD', 'Country Form Field');
373
+ define('TXT_WPSC_COUNTRY_FORM_FIELD_EXPLANATION', '(select which form field on the checkout page you want to use for specifying the country)');
374
+
375
+ define('TXT_WPSC_SHIPPING', 'Shipping');
376
+ define('TXT_WPSC_EMAIL_FORM_FIELD', 'Email Form Field');
377
+ define('TXT_WPSC_EMAIL_FORM_FIELD_EXPLANATION', '(select which form field on the checkout page you want to use for specifying the email address)');
378
+
379
+
380
+ define('TXT_WPSC_PRODUCTIMAGES', 'Product Images');
381
+ define('TXT_WPSC_PRODUCTDOWNLOAD', 'Product Download');
382
+ define('TXT_WPSC_SHOWTHUMBNAILS', 'Show Thumbnails');
383
+ define('TXT_WPSC_ADD_ADDITIONAL_IMAGE', 'Add Additional Image');
384
+ define('TXT_WPSC_DELETE_IMAGE', 'Delete Image');
385
+ define('TXT_WPSC_GOLD_OPTIONS', '?p?????? Gold Cart');
386
+ define('TXT_WPSC_ACTIVATE_SETTINGS', 'Activation Settings');
387
+ define('TXT_WPSC_ACTIVATION_KEY', 'Activation Key');
388
+ define('TXT_WPSC_THANKSACTIVATED', 'Thanks, the gold shopping cart has been activated.');
389
+ define('TXT_WPSC_NOTACTIVATED', 'Sorry, the API key was incorrect.');
390
+ define('TXT_WPSC_DEFAULT', 'Default');
391
+ define('TXT_WPSC_LIST', 'List');
392
+ define('TXT_WPSC_VISIBLE', 'Visible');
393
+ define('TXT_WPSC_DELETE_PRODUCT', 'Delete Product');
394
+ define('TXT_WPSC_ADDITIONAL_IMAGE', 'Additional Image');
395
+ define('TXT_WPSC_GATEWAY_OPTIONS', 'Gateway Options');
396
+ define('TXT_WPSC_SHIPPING_COUNTRY', 'Choose your shipping country:');
397
+ define('TXT_WPSC_CONFIRM_TOTALS', 'Confirm your totals before making the payment:');
398
+ define('TXT_WPSC_CHECKOUT_FORM_FIELDS_DESCRIPTION', 'Here you can customise the forms to be displayed in your checkout page. The checkout page is where you collect important user information that will show up in your purchase logs i.e. the buyers address, and name...');
399
+ define('TXT_WPSC_PAYMENT_OPTIONS', 'Payment Options');
400
+ define('TXT_WPSC_PAYMENT_DESCRIPTION', 'Choose what payment options you want to make available in the checkout page. By default purchasers can only pay for items using a credit card however you may wish to also let them pay manually in which case you should select the credit card + manual payment option.');
401
+
402
+ define('TXT_WPSC_DEFAULT_GATEWAY_ONLY', ' only');
403
+ define('TXT_WPSC_PLUS_MANUAL_PAYMENT', ' plus manual payment option');
404
+ define('TXT_WPSC_PAYMENT_METHOD', 'Payment Method');
405
+ define('TXT_WPSC_PAY_USING', 'Pay using');
406
+ define('TXT_WPSC_PAY_MANUALLY', 'Pay by Cheque/Bank Deposit');
407
+ define('TXT_WPSC_CREDIT_CARD', 'Credit Card');
408
+ define('TXT_WPSC_ADJUSTABLE_QUANTITY', 'Show quantity form in list view');
409
+ define('TXT_WPSC_RSS_FEED_HEADER', 'Subscribe to your orders');
410
+ define('TXT_WPSC_RSS_FEED_LINK', 'Subscribe to an RSS feed');
411
+ define('TXT_WPSC_RSS_FEED_TEXT', 'of your orders');
412
+ define('TXT_WPSC_INITIAL_SETUP', 'Created default options.');
413
+ define('TXT_WPSC_PLUGIN_NEWS_HEADER', 'Plugin News');
414
+
415
+ define('TXT_WPSC_PLUGIN_NEWS', '
416
+
417
+ The <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank">WP DropShop Module</a> is the latest and most cutting edge shopping cart available online. Coupled with Grid View then your site will be the talk of street! <br/><br/>
418
+
419
+ ');
420
+
421
+
422
+ define('TXT_WPSC_POWERED_BY', 'This shop is powered by ');
423
+ define('TXT_WPSC_NO_PURCHASES', 'There have not been any purchases yet.');
424
+
425
+
426
+ define('TXT_WPSC_DELIVERY_ADDRESS', 'Delivery Address');
427
+ define('TXT_WPSC_DELIVERY_CITY', 'Delivery City');
428
+ define('TXT_WPSC_DELIVERY_COUNTRY', 'Delivery Country');
429
+ define('TXT_WPSC_MP3_SETTINGS', 'MP3 Settings');
430
+ define('TXT_WPSC_MP3_SETTINGS_DESCRIPTION', 'To create the 30 second MP3 file clips, this plugin needs <a href=\'http://sox.sourceforge.net/\'>SoX</a> compiled with MP3 support, enter the path to SoX here.');
431
+ define('TXT_WPSC_SOX_PATH', 'SoX Path');
432
+ define('TXT_WPSC_PREVIEW', 'Preview');
433
+ define('TXT_WPSC_DOWNLOAD_CSV', 'Download CSV');
434
+ define('TXT_WPSC_PREVIEW_FILE', 'Preview File');
435
+ define('TXT_WPSC_REPLACE_PRODUCT', 'Replace Product');
436
+ define('TXT_WPSC_TOTALSHIPPING', 'Total Shipping');
437
+ define('TXT_WPSC_DISPLAY_FRONT_PAGE', 'Display on Front page');
438
+ define('TXT_WPSC_SEARCH_FOR', 'Search For');
439
+ define('TXT_WPSC_YOUR_SEARCH_FOR', 'Your search for');
440
+ define('TXT_WPSC_RETURNED_NO_RESULTS', 'returned no results.');
441
+ define('TXT_WPSC_POSTAGE', 'Postage');
442
+ define('TXT_WPSC_SUBTOTAL', 'Subtotal');
443
+
444
+
445
+ //everything under here needs translations, added after 19/1/2007
446
+
447
+ define('TXT_WPSC_PLEASEENTERAVALID', '?a?a?a?? s?µp????ste');
448
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', '?a?a?a?? s?µp????ste t? ???µa sa?.');
449
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', '?a?a?a?? s?µp????ste t? ep???µ? sa?.');
450
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', '?a?a?a?? s?µp????ste t?? email d?e????s? sa?.');
451
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', '?a?a?a?? s?µp????ste t?? ta??d??µ??? d?e????s? sa?.');
452
+ define('TXT_WPSC_PLEASEENTERAVALIDCITY', '?a?a?a?? s?µp????ste t?? p??? sa?.');
453
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', '?a?a?a?? s?µp????ste t? t???f??? sa?.');
454
+ define('TXT_WPSC_PLEASESELECTCOUNTRY', '?a?a?a?? d?a???te t?? ???a sa? ap? t?? ??sta.');
455
+ define('TXT_WPSC_PLEASEAGREETERMSANDCONDITIONS', 'Please select the terms and conditions option. Unfortunately we cannot process your order otherwise.');
456
+ define('TXT_WPSC_POSITION', 'T?s?');
457
+
458
+ define('TXT_WPSC_DELIVERY_REGION', 'Delivery Region');
459
+
460
+
461
+ define('TXT_WPSC_GENERAL_SETTINGS', 'Ge????? ep??????');
462
+ define('TXT_WPSC_TAX_SETTINGS', '?p?????? f???? p??st???µe??? a??a?');
463
+ define('TXT_WPSC_POSTAGE_AND_TAX', 'Postage &amp; Tax ');
464
+ define('TXT_WPSC_GRID', '????µa');
465
+ define('TXT_WPSC_CANT_MOVE_CATEGORY', 'You cannot move a category with subcategories.');
466
+ define('TXT_WPSC_SURETODELETECATEGORY', 'Are you sure you want to delete this category? If the category has any subcategories, they will be deleted too.');
467
+ define('TXT_WPSC_VARIATION', '?a?a??a??');
468
+ define('TXT_WPSC_OVER_TWO_VARIATIONS', 'Variation stock and price control does not work if you have more than two variations.');
469
+ define('TXT_WPSC_PRICE_AND_STOCK_CONTROL', 'Price, Stock and Variation Control') ;
470
+
471
+ // pe.{
472
+ define('TXT_WPSC_CATSBRANDSLOCATION', 'Categories &amp; Brands Location');
473
+ define('TXT_WPSC_DESCITEMSEPARATOR', ' : ');
474
+ define('TXT_WPSC_SEARCHITEMSEPARATOR', ' : ');
475
+ define('TXT_WPSC_SINGLE_SHIPPING_COUNTRY', 'Shipping country:');
476
+ define('TXT_WPSC_ADD_ANOTHER_VARIATION', 'Add a variation');
477
+ // }.pe
478
+ define('TXT_WPSC_PRODUCT_CATEGORIES', 'Product Categories');
479
+ ?>
{wpsc-languages → languages}/EN_en.php RENAMED
@@ -52,7 +52,7 @@ define('TXT_WPSC_INSUFFICIENT_REMAINING', 'Sorry, but there are only [number] of
52
  define('TXT_WPSC_ZERO_QUANTITY_REQUESTED', 'Sorry, but you cannot add zero items to your cart');
53
  define('TXT_WPSC_PRODUCT_DISPLAY_SETTINGS', 'Product Settings');
54
  define('TXT_WPSC_BUTTON_SETTINGS', 'Button Settings');
55
-
56
  define('TXT_WPSC_EDIT_GROUP', 'Edit Group');
57
  define('TXT_WPSC_ADD_GROUP', 'Add Group');
58
  define('TXT_SHOW_GRID_PER_ROW', 'Products Per Row');
@@ -61,6 +61,7 @@ define('TXT_WPSC_CATEGORISATION', 'Categories');
61
  define('TXT_WPSC_COUPONSINVALID', 'Coupon is not valid.');
62
  define('TXT_WPSC_NOITEMSINTHISGROUP', 'There are no products in this group.');
63
 
 
64
  define('TXT_WPSC_EMAIL_BUYER', 'Resend Receipt to Buyer');
65
 
66
 
@@ -76,6 +77,7 @@ define('TXT_WPSC_PERSONALIZE_YOUR_PRODUCT', 'Personalize your product');
76
  define('TXT_WPSC_PERSONALIZE_YOUR_PRODUCT_DESCRIPTION', 'Complete this form to include a personalized message with your purchase.');
77
 
78
  define("TXT_WPSC_ADDITIONAL_INFO", "3. Additional Information");
 
79
  define('TXT_WPSC_FLOT_ANNUAL_SALES_GRAPH','ANNUAL SALES GRAPH');
80
 
81
  define('TXT_WPSC_NO_SHIPPING_QUOTES','Sorry, online ordering is unavailable to this destination and/or weight. Please double check your destination details.');
@@ -100,6 +102,7 @@ define("TXT_WPSC_HOW_DID_YOU_FIND_US_INT", "Internet");
100
  define("TXT_WPSC_HOW_DID_YOU_FIND_US_EC", "Existing Customer");
101
 
102
 
 
103
  define("TXT_WPSC_LOADING", "Loading");
104
 
105
  define("TXT_WPSC_COMMA_SEPARATED", "Seperate with commas");
@@ -108,9 +111,11 @@ define("TXT_WPSC_AT_THIS_MOMENT_TRACE_ID", "Tracking ID");
108
 
109
  define("TXT_WPSC_AT_THIS_MOMENT_NO_TRANSACTION", "No transactions for this month.");
110
  define("TXT_WPSC_MAIL_RESENDED", "The folowing purchase receipt has has been resent");
 
111
 
112
  define("TXT_WPSC_UPDATE_BUTTON", "Update &raquo;");
113
 
 
114
 
115
  define("TXT_WPSC_PAGENUMBER_POSITION_TOP", "Top");
116
  define("TXT_WPSC_PAGENUMBER_POSITION_BOTTOM", "Bottom");
@@ -121,8 +126,8 @@ define("TXT_WPSC_PAGENUMBER_POSITION_BOTH", "Both");
121
  define("TXT_WPSC_USE_THEME_ENGINE", "Use the experimental Theme Engine");
122
  define("TXT_WPSC_TM", "Target Markets");
123
  define("TXT_WPSC_SHIPPING_DETAIL","Please choose a country below to calculate your shipping costs");
124
- define('TXT_WPSC_TOTAL_THIS_MONTH', 'Current Month');
125
- define('TXT_WPSC_TOTAL_INCOME', 'Total Income');
126
  define('TXT_WPSC_SALES_TITLE', 'Sales');
127
  define('TXT_WPSC_ORDERS_TITLE', 'Orders');
128
  define('TXT_WPSC_AVGORDER_TITLE', 'Avg Orders');
@@ -204,6 +209,7 @@ define('TXT_WPSC_CATEGORY_AND_TAG_CONTROL', 'Categories and Tags');
204
  define('TXT_WPSC_BASE_ZIPCODE', 'Base Zipcode/Postcode:');
205
  define('TXT_WPSC_USPS_DESC', 'If you are based in America then you need to set your own Zipcode for UPS and USPS to work. This should be the Zipcode for your Base of Operations.');
206
 
 
207
  define('TXT_WPSC_SHIPPING_METHOD', 'Shipping Method');
208
  define('TXT_WPSC_SHIPPING_OPTION', 'Shipping Option');
209
  define('TXT_WPSC_CHOOSE_EXTERNAL_SHIPPING_MODULES', 'External Shipping Calculators');
@@ -241,6 +247,8 @@ define('TXT_WPSC_DEFAULT_PURCHASE_REPORT', '
241
 
242
  %total_price%');
243
 
 
 
244
 
245
  define('TXT_WPSC_CHOOSE_DOWNLOADABLE_VARIATIONS', 'Choose a downloadable file for this variation');
246
  define('TXT_WPSC_FLASH_UPLOADER', 'You are using the Flash uploader. Problems? Try the <a class=\'wpsc_upload_switcher\' onclick=\'wpsc_upload_switcher("browser")\'>Browser uploader</a> instead.');
@@ -259,6 +267,7 @@ define('TXT_WPSC_DOWNLOADS_LEFT', 'Downloads Left');
259
 
260
 
261
  define('TXT_WPSC_FILE', 'Files');
 
262
 
263
  define('TXT_WPSC_LABEL', 'Label');
264
  define('TXT_WPSC_TABLE_RATED_PRICE', 'Table Rate Price');
@@ -348,6 +357,7 @@ define('TXT_WPSC_YOUAREUSING', 'You are using the :theme: style. This is WP e-Co
348
  define('TXT_WPSC_NO_SHORTCODE', 'This item product is still waiting to be added to your catalogue. There are no shortcodes or tags available at this point.');
349
  define('TXT_WPSC_SKU', 'SKU');
350
  define('TXT_WPSC_YOUR_ORDER', 'Your Order');
 
351
  define('TXT_WPSC_ORDER_PENDING_PAYMENT_REQUIRED', 'Order Pending: Payment Required');
352
  define('TXT_WPSC_SELECTALLCATEGORIES', 'Show All Products');
353
 
@@ -362,8 +372,9 @@ define('TXT_WPSC_WE_RECOMMEND', 'We Recommend');
362
  define('TXT_WPSC_SELECT_PRODUCT_GROUP', 'Select a Group to Manage');
363
  define('TXT_WPSC_EDIT_THIS_GROUP', 'Edit This Group');
364
 
365
-
366
  define('TXT_WPSC_PRODUCT_ID', 'Product ID');
 
367
  define('TXT_WPSC_OPTIONS_GENERAL_TAB', 'General');
368
  define('TXT_WPSC_OPTIONS_PRESENTATION_TAB', 'Presentation');
369
  define('TXT_WPSC_OPTIONS_SHIPPING_TAB', 'Shipping');
@@ -397,6 +408,9 @@ define('TXT_WPSC_UPLOAD_IMAGE_FOR', 'Upload Image for');
397
  define('TXT_WPSC_THUMBNAILSETTINGS', 'Thumbnail Settings');
398
 
399
 
 
 
 
400
  define('TXT_WPSC_SELECTGATEWAY', 'Select a payment gateway');
401
  define('TXT_WPSC_VARIATION_LIST', 'Select a Variation');
402
 
@@ -450,7 +464,7 @@ define('TXT_WPSC_SAVE', 'Save');
450
 
451
  define('TXT_WPSC_DISPLAY_PRODUCT_CATEGORIES', 'Display &quot;[categorisation]&quot;'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
452
 
453
- //define('TXT_WPSC_PRODUCT_CATEGORIES', 'Select &quot;[categorisation]&quot;'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
454
 
455
  define('TXT_WPSC_MANAGE_CATEGORISATION', 'Manage &quot;[categorisation]&quot;'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
456
 
@@ -502,7 +516,7 @@ define('TXT_WPSC_SHOWLIVESEARCH', 'Use Live Search');
502
  define('TXT_WPSC_USPS_USERID', 'USPS ID');
503
  define('TXT_WPSC_USPS_PASSWORD', 'USPS Password');
504
 
505
- //define('TXT_WPSC_SHIPPING_DETAILS', 'Shipping Details');
506
  define('TXT_WPSC_SHOWADVANCEDSEARCH', 'Show Advanced Search');
507
  define('TXT_WPSC_GOOGLEMECHANTKEY', 'Google Merchant Key');
508
  define('TXT_WPSC_GOOGLEMECHANTID', "Google Merchant ID");
@@ -520,6 +534,7 @@ define('TXT_WPSC_OPTIONS', 'Settings');
520
  define('TXT_WPSC_ADDPRODUCTS', 'Add Products');
521
  define('TXT_WPSC_SENDSMS', 'Send SMS');
522
  define('TXT_WPSC_PRODUCTS', 'Products');
 
523
  define('TXT_WPSC_CATEGORIES', 'Categories');
524
  define('TXT_WPSC_BRANDS', 'Brands');
525
  define('TXT_WPSC_VARIATIONS', 'Variations');
@@ -527,7 +542,9 @@ define('TXT_WPSC_PURCHASELOG', 'Sales');
527
  define('TXT_WPSC_ORDER_LOG', 'Orders');
528
  define('TXT_WPSC_OLDER_ORDERS', 'Older Orders');
529
  define('TXT_WPSC_ORDER', 'Order');
 
530
  define('TXT_WPSC_MONTHLY_REPORT', 'Six Monthly Report');
 
531
  define('TXT_WPSC_ACCEPTED_PAYMENTS', '(accepted payments)'); //text has changed slightly
532
  define('TXT_WPSC_PAYMENTGATEWAYOPTIONS', 'Payment Options');
533
  define('TXT_WPSC_HELPINSTALLATION', 'Help/Upgrade');
@@ -538,8 +555,12 @@ define('TXT_WPSC_PRODUCTIMAGEWIDTH', 'product image width');
538
  define('TXT_WPSC_PRODUCTIMAGEHEIGHT', 'product image height');
539
  define('TXT_WPSC_CATEGORYIMAGEWIDTH', 'product group image width');
540
  define('TXT_WPSC_CATEGORYIMAGEHEIGHT', 'product group image height');
 
 
 
541
  define('TXT_WPSC_TRANSACTURL', 'The location of the transaction detail page');
542
  define('TXT_WPSC_PAYMENTGATEWAY', 'The payment gateway to use');
 
543
  define('TXT_WPSC_SHOWCATEGORYBRANDS', 'Display categories or brands or both');
544
  define('TXT_WPSC_CURRENCYTYPE', 'Currency type');
545
  define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Currency sign location');
@@ -550,6 +571,7 @@ define('TXT_WPSC_DISPLAYSPECIALS', 'Display or hide specials on the sidebar');
550
  define('TXT_WPSC_POSTAGEAND_PACKAGING', 'Default postage and packaging');
551
  define('TXT_WPSC_PURCHLOGEMAIL', 'Email address that purchase log is sent to');
552
  define('TXT_WPSC_RETURNEMAIL', 'Email address that purchase reports are sent from');
 
553
  define('TXT_WPSC_DEFAULTBRAND', 'Default Brand');
554
 
555
 
@@ -561,10 +583,13 @@ define('TXT_WPSC_PAYPALBUSINESS', 'paypal business');
561
  define('TXT_WPSC_PAYPALURL', 'paypal url');
562
  define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Show Product Ratings');
563
  define('TXT_WPSC_PRODUCTSPAGE', 'Products Page');
 
564
  define('TXT_WPSC_ENTERDETAILS', 'Enter Your Details');
565
  define('TXT_WPSC_TRANSACTIONRESULTS', 'Transaction Results');
566
  define('TXT_WPSC_SELECTACATEGORY', 'Select a Product Group');
567
  define('TXT_WPSC_SELECTABRAND', 'Select a Brand');
 
 
568
  define('TXT_WPSC_ADDITIONALDESCRIPTION', 'Additional Description');
569
  define('TXT_WPSC_PRICE', 'Price');
570
  define('TXT_WPSC_TAXALREADYINCLUDED', 'Do not include tax (tax is set in <a href="'. get_option('siteurl').'/wp-admin/admin.php?page=wpsc-settings">shop config</a>)'); // this text has changed and needs updating
@@ -621,14 +646,12 @@ define('TXT_WPSC_CATEGORY_PARENT', 'Group Parent');
621
  define('TXT_WPSC_IMAGE', 'Image');
622
  define('TXT_WPSC_HEIGHT', 'Height');
623
  define('TXT_WPSC_WIDTH', 'Width');
624
- /*
625
  define('TXT_WPSC_PLEASEENTERAVALID', 'Please enter a valid');
626
  define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Please enter a valid name');
627
  define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Please enter a valid surname');
628
  define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Please enter a valid email address');
629
  define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Please enter a valid address');
630
  define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Please enter a valid phone number');
631
- */
632
  define('TXT_WPSC_TERMSANDCONDITIONS', 'You have not agreed to the terms and conditions');
633
  define('TXT_WPSC_NOTHINGINYOURSHOPPINGCART', 'There is nothing in your shopping cart');
634
 
@@ -776,8 +799,11 @@ define('TXT_WPSC_SHOWPOSTAGEANDPACKAGING', 'Show Postage and Packaging');
776
  define('TXT_WPSC_YES', 'Yes');
777
  define('TXT_WPSC_NO', 'No');
778
  define('TXT_WPSC_SHOWSPECIALS', 'Show Specials in the Sidebar');
 
779
  define('TXT_WPSC_CURRENCYSETTINGS', 'Currency Settings');
780
  define('TXT_WPSC_GSTTAXRATE', 'GST/Tax Rate');
 
 
781
  define('TXT_WPSC_DEFAULTPOSTAGEPACKAGING', 'Default Postage &amp; Packaging');
782
  define('TXT_WPSC_ADMINISTRATIONSETTINGS', 'Administration Settings');
783
  define('TXT_WPSC_MAXDOWNLOADSPERFILE', 'Max downloads per file');
@@ -1003,9 +1029,9 @@ define('TXT_WPSC_DRAG_ITEM_HERE', 'Drag any item here to add it to your cart.');
1003
  define('TXT_WPSC_SHOWCATEGORYTHUMBNAILS', 'Show Product Group Thumbnails');
1004
  define('TXT_WPSC_SHOPPING_CART', 'Shopping Cart');
1005
  define('TXT_WPSC_SHOW_SLIDING_CART', 'Use Sliding Cart');
1006
- //define('TXT_WPSC_PREVIEW_FILE', 'Upload Preview');
1007
  define('TXT_WPSC_PREVIEW_FILE_NOTE', 'Note: If you do not upload a preview file and your server has sox compiled with MP3 support then a preview file will be created for you.');
1008
- define('TXT_WPSC_PURCHASE_NUMBER', 'Purchase #');
1009
  define('TXT_WPSC_FILTER_ORDER', 'Filter Orders');
1010
  define('TXT_WPSC_SHOW_SEARCH', 'Show Search');
1011
  define('TXT_WPSC_LOG_CURRENT_MONTH', 'Display results from current month');
@@ -1103,7 +1129,7 @@ define('TXT_WPSC_OPTION_ALSO_BOUGHT', 'Display Cross Sales');
1103
  define('TXT_WPSC_MARKETING', 'Marketing');
1104
  define('TXT_WPSC_DISPLAYCOUPONS', 'Coupons');
1105
  define('TXT_WPSC_ADD_COUPON', 'Add Coupon');
1106
- //define('TXT_WPSC_COUPON', 'Coupon');
1107
  define('TXT_WPSC_ADDCOUPONS', 'Add Coupon');
1108
  define('TXT_WPSC_COUPON_CODE', 'Coupon Code');
1109
  define('TXT_WPSC_DISCOUNT', 'Discount');
@@ -1138,7 +1164,7 @@ define('TXT_WPSC_DROPSHOP_DARK', 'Use dark Dropshop style');
1138
 
1139
 
1140
  define('TXT_WPSC_MANUAL_PAYMENT', 'Manual Payment');
1141
- //define('TXT_WPSC_CREDIT_CARD', 'Credit Card');
1142
  define('TXT_WPSC_CREDIT_CARD_AND_MANUAL_PAYMENT', 'Manual Payment and Credit Card');
1143
  define('TXT_WPSC_PAYMENT_INSTRUCTIONS', 'Enter the manual payment instructions that you wish to display');
1144
 
52
  define('TXT_WPSC_ZERO_QUANTITY_REQUESTED', 'Sorry, but you cannot add zero items to your cart');
53
  define('TXT_WPSC_PRODUCT_DISPLAY_SETTINGS', 'Product Settings');
54
  define('TXT_WPSC_BUTTON_SETTINGS', 'Button Settings');
55
+ define('TXT_WPSC_UPDATING', 'Loading');
56
  define('TXT_WPSC_EDIT_GROUP', 'Edit Group');
57
  define('TXT_WPSC_ADD_GROUP', 'Add Group');
58
  define('TXT_SHOW_GRID_PER_ROW', 'Products Per Row');
61
  define('TXT_WPSC_COUPONSINVALID', 'Coupon is not valid.');
62
  define('TXT_WPSC_NOITEMSINTHISGROUP', 'There are no products in this group.');
63
 
64
+ define('TXT_WPSC_CLEAR_IP_LOCKS', 'Release downloads locked to this IP address %s');
65
  define('TXT_WPSC_EMAIL_BUYER', 'Resend Receipt to Buyer');
66
 
67
 
77
  define('TXT_WPSC_PERSONALIZE_YOUR_PRODUCT_DESCRIPTION', 'Complete this form to include a personalized message with your purchase.');
78
 
79
  define("TXT_WPSC_ADDITIONAL_INFO", "3. Additional Information");
80
+ define('TXT_WPSC_ECOMMERCE', 'Products');
81
  define('TXT_WPSC_FLOT_ANNUAL_SALES_GRAPH','ANNUAL SALES GRAPH');
82
 
83
  define('TXT_WPSC_NO_SHIPPING_QUOTES','Sorry, online ordering is unavailable to this destination and/or weight. Please double check your destination details.');
102
  define("TXT_WPSC_HOW_DID_YOU_FIND_US_EC", "Existing Customer");
103
 
104
 
105
+ define("TXT_WPSC_ABOUT_THIS_PAGE", "About This Page");
106
  define("TXT_WPSC_LOADING", "Loading");
107
 
108
  define("TXT_WPSC_COMMA_SEPARATED", "Seperate with commas");
111
 
112
  define("TXT_WPSC_AT_THIS_MOMENT_NO_TRANSACTION", "No transactions for this month.");
113
  define("TXT_WPSC_MAIL_RESENDED", "The folowing purchase receipt has has been resent");
114
+ define("TXT_WPSC_ERROR_OCCURED_WHILE_SENDING_EMAIL", "An Error Occured While Sending Email");
115
 
116
  define("TXT_WPSC_UPDATE_BUTTON", "Update &raquo;");
117
 
118
+ define("TXT_WPSC_ABOUT_THIS_PAGE", "About This Page");
119
 
120
  define("TXT_WPSC_PAGENUMBER_POSITION_TOP", "Top");
121
  define("TXT_WPSC_PAGENUMBER_POSITION_BOTTOM", "Bottom");
126
  define("TXT_WPSC_USE_THEME_ENGINE", "Use the experimental Theme Engine");
127
  define("TXT_WPSC_TM", "Target Markets");
128
  define("TXT_WPSC_SHIPPING_DETAIL","Please choose a country below to calculate your shipping costs");
129
+ define('TXT_WPSC_TOTAL_THIS_MONTH', 'This Month');
130
+ define('TXT_WPSC_TOTAL_INCOME', 'Life Time');
131
  define('TXT_WPSC_SALES_TITLE', 'Sales');
132
  define('TXT_WPSC_ORDERS_TITLE', 'Orders');
133
  define('TXT_WPSC_AVGORDER_TITLE', 'Avg Orders');
209
  define('TXT_WPSC_BASE_ZIPCODE', 'Base Zipcode/Postcode:');
210
  define('TXT_WPSC_USPS_DESC', 'If you are based in America then you need to set your own Zipcode for UPS and USPS to work. This should be the Zipcode for your Base of Operations.');
211
 
212
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Shipping Details');
213
  define('TXT_WPSC_SHIPPING_METHOD', 'Shipping Method');
214
  define('TXT_WPSC_SHIPPING_OPTION', 'Shipping Option');
215
  define('TXT_WPSC_CHOOSE_EXTERNAL_SHIPPING_MODULES', 'External Shipping Calculators');
247
 
248
  %total_price%');
249
 
250
+ define('TXT_WPSC_CHOOSE_DOWNLOADABLE_VARIATIONS', 'Choose a downloadable file for this variation');
251
+
252
 
253
  define('TXT_WPSC_CHOOSE_DOWNLOADABLE_VARIATIONS', 'Choose a downloadable file for this variation');
254
  define('TXT_WPSC_FLASH_UPLOADER', 'You are using the Flash uploader. Problems? Try the <a class=\'wpsc_upload_switcher\' onclick=\'wpsc_upload_switcher("browser")\'>Browser uploader</a> instead.');
267
 
268
 
269
  define('TXT_WPSC_FILE', 'Files');
270
+ define('TXT_WPSC_PDF', 'PDF');
271
 
272
  define('TXT_WPSC_LABEL', 'Label');
273
  define('TXT_WPSC_TABLE_RATED_PRICE', 'Table Rate Price');
357
  define('TXT_WPSC_NO_SHORTCODE', 'This item product is still waiting to be added to your catalogue. There are no shortcodes or tags available at this point.');
358
  define('TXT_WPSC_SKU', 'SKU');
359
  define('TXT_WPSC_YOUR_ORDER', 'Your Order');
360
+ define('TXT_WPSC_ABOUT_THIS_PAGE', 'About This Page');
361
  define('TXT_WPSC_ORDER_PENDING_PAYMENT_REQUIRED', 'Order Pending: Payment Required');
362
  define('TXT_WPSC_SELECTALLCATEGORIES', 'Show All Products');
363
 
372
  define('TXT_WPSC_SELECT_PRODUCT_GROUP', 'Select a Group to Manage');
373
  define('TXT_WPSC_EDIT_THIS_GROUP', 'Edit This Group');
374
 
375
+ define('TXT_WPSC_USPS_USERID', 'USPS ID');
376
  define('TXT_WPSC_PRODUCT_ID', 'Product ID');
377
+ define('TXT_WPSC_USPS_PASSWORD', 'USPS Password');
378
  define('TXT_WPSC_OPTIONS_GENERAL_TAB', 'General');
379
  define('TXT_WPSC_OPTIONS_PRESENTATION_TAB', 'Presentation');
380
  define('TXT_WPSC_OPTIONS_SHIPPING_TAB', 'Shipping');
408
  define('TXT_WPSC_THUMBNAILSETTINGS', 'Thumbnail Settings');
409
 
410
 
411
+ define('TXT_WPSC_THANKS_UNLOCKED', 'Thanks, the downloads that were locked to this users IP number have been freed.');
412
+
413
+
414
  define('TXT_WPSC_SELECTGATEWAY', 'Select a payment gateway');
415
  define('TXT_WPSC_VARIATION_LIST', 'Select a Variation');
416
 
464
 
465
  define('TXT_WPSC_DISPLAY_PRODUCT_CATEGORIES', 'Display &quot;[categorisation]&quot;'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
466
 
467
+ define('TXT_WPSC_PRODUCT_CATEGORIES', 'Select &quot;[categorisation]&quot;'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
468
 
469
  define('TXT_WPSC_MANAGE_CATEGORISATION', 'Manage &quot;[categorisation]&quot;'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
470
 
516
  define('TXT_WPSC_USPS_USERID', 'USPS ID');
517
  define('TXT_WPSC_USPS_PASSWORD', 'USPS Password');
518
 
519
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Shipping Details');
520
  define('TXT_WPSC_SHOWADVANCEDSEARCH', 'Show Advanced Search');
521
  define('TXT_WPSC_GOOGLEMECHANTKEY', 'Google Merchant Key');
522
  define('TXT_WPSC_GOOGLEMECHANTID', "Google Merchant ID");
534
  define('TXT_WPSC_ADDPRODUCTS', 'Add Products');
535
  define('TXT_WPSC_SENDSMS', 'Send SMS');
536
  define('TXT_WPSC_PRODUCTS', 'Products');
537
+ define('TXT_WPSC_ADDCATEGORY', 'Add Product Group');
538
  define('TXT_WPSC_CATEGORIES', 'Categories');
539
  define('TXT_WPSC_BRANDS', 'Brands');
540
  define('TXT_WPSC_VARIATIONS', 'Variations');
542
  define('TXT_WPSC_ORDER_LOG', 'Orders');
543
  define('TXT_WPSC_OLDER_ORDERS', 'Older Orders');
544
  define('TXT_WPSC_ORDER', 'Order');
545
+ define('TXT_WPSC_TOTAL_THIS_MONTH', 'Total Money Earnt this Month');
546
  define('TXT_WPSC_MONTHLY_REPORT', 'Six Monthly Report');
547
+ define('TXT_WPSC_TOTAL_INCOME', 'Total Income');
548
  define('TXT_WPSC_ACCEPTED_PAYMENTS', '(accepted payments)'); //text has changed slightly
549
  define('TXT_WPSC_PAYMENTGATEWAYOPTIONS', 'Payment Options');
550
  define('TXT_WPSC_HELPINSTALLATION', 'Help/Upgrade');
555
  define('TXT_WPSC_PRODUCTIMAGEHEIGHT', 'product image height');
556
  define('TXT_WPSC_CATEGORYIMAGEWIDTH', 'product group image width');
557
  define('TXT_WPSC_CATEGORYIMAGEHEIGHT', 'product group image height');
558
+ define('TXT_WPSC_PRODUCTLISTURL', 'The location of the product list');
559
+ define('TXT_WPSC_SHOPPINGCARTURL', 'The location of the shopping cart');
560
+ define('TXT_WPSC_CHECKOUTURL', 'The location of the checkout page');
561
  define('TXT_WPSC_TRANSACTURL', 'The location of the transaction detail page');
562
  define('TXT_WPSC_PAYMENTGATEWAY', 'The payment gateway to use');
563
+ define('TXT_WPSC_CARTLOCATION', 'Cart Location');
564
  define('TXT_WPSC_SHOWCATEGORYBRANDS', 'Display categories or brands or both');
565
  define('TXT_WPSC_CURRENCYTYPE', 'Currency type');
566
  define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Currency sign location');
571
  define('TXT_WPSC_POSTAGEAND_PACKAGING', 'Default postage and packaging');
572
  define('TXT_WPSC_PURCHLOGEMAIL', 'Email address that purchase log is sent to');
573
  define('TXT_WPSC_RETURNEMAIL', 'Email address that purchase reports are sent from');
574
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Checkout terms and conditions');
575
  define('TXT_WPSC_DEFAULTBRAND', 'Default Brand');
576
 
577
 
583
  define('TXT_WPSC_PAYPALURL', 'paypal url');
584
  define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Show Product Ratings');
585
  define('TXT_WPSC_PRODUCTSPAGE', 'Products Page');
586
+ define('TXT_WPSC_CHECKOUT', 'Verify your Order');
587
  define('TXT_WPSC_ENTERDETAILS', 'Enter Your Details');
588
  define('TXT_WPSC_TRANSACTIONRESULTS', 'Transaction Results');
589
  define('TXT_WPSC_SELECTACATEGORY', 'Select a Product Group');
590
  define('TXT_WPSC_SELECTABRAND', 'Select a Brand');
591
+ define('TXT_WPSC_PRODUCTNAME', 'Product Name');
592
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Product Description');
593
  define('TXT_WPSC_ADDITIONALDESCRIPTION', 'Additional Description');
594
  define('TXT_WPSC_PRICE', 'Price');
595
  define('TXT_WPSC_TAXALREADYINCLUDED', 'Do not include tax (tax is set in <a href="'. get_option('siteurl').'/wp-admin/admin.php?page=wpsc-settings">shop config</a>)'); // this text has changed and needs updating
646
  define('TXT_WPSC_IMAGE', 'Image');
647
  define('TXT_WPSC_HEIGHT', 'Height');
648
  define('TXT_WPSC_WIDTH', 'Width');
 
649
  define('TXT_WPSC_PLEASEENTERAVALID', 'Please enter a valid');
650
  define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Please enter a valid name');
651
  define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Please enter a valid surname');
652
  define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Please enter a valid email address');
653
  define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Please enter a valid address');
654
  define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Please enter a valid phone number');
 
655
  define('TXT_WPSC_TERMSANDCONDITIONS', 'You have not agreed to the terms and conditions');
656
  define('TXT_WPSC_NOTHINGINYOURSHOPPINGCART', 'There is nothing in your shopping cart');
657
 
799
  define('TXT_WPSC_YES', 'Yes');
800
  define('TXT_WPSC_NO', 'No');
801
  define('TXT_WPSC_SHOWSPECIALS', 'Show Specials in the Sidebar');
802
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Show Product Ratings');
803
  define('TXT_WPSC_CURRENCYSETTINGS', 'Currency Settings');
804
  define('TXT_WPSC_GSTTAXRATE', 'GST/Tax Rate');
805
+ define('TXT_WPSC_CURRENCYTYPE', 'Currency Type');
806
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Currency Sign Location');
807
  define('TXT_WPSC_DEFAULTPOSTAGEPACKAGING', 'Default Postage &amp; Packaging');
808
  define('TXT_WPSC_ADMINISTRATIONSETTINGS', 'Administration Settings');
809
  define('TXT_WPSC_MAXDOWNLOADSPERFILE', 'Max downloads per file');
1029
  define('TXT_WPSC_SHOWCATEGORYTHUMBNAILS', 'Show Product Group Thumbnails');
1030
  define('TXT_WPSC_SHOPPING_CART', 'Shopping Cart');
1031
  define('TXT_WPSC_SHOW_SLIDING_CART', 'Use Sliding Cart');
1032
+ define('TXT_WPSC_PREVIEW_FILE', 'Upload Preview');
1033
  define('TXT_WPSC_PREVIEW_FILE_NOTE', 'Note: If you do not upload a preview file and your server has sox compiled with MP3 support then a preview file will be created for you.');
1034
+ define('TXT_WPSC_PURCHASE_NUMBER', 'Purchase No.');
1035
  define('TXT_WPSC_FILTER_ORDER', 'Filter Orders');
1036
  define('TXT_WPSC_SHOW_SEARCH', 'Show Search');
1037
  define('TXT_WPSC_LOG_CURRENT_MONTH', 'Display results from current month');
1129
  define('TXT_WPSC_MARKETING', 'Marketing');
1130
  define('TXT_WPSC_DISPLAYCOUPONS', 'Coupons');
1131
  define('TXT_WPSC_ADD_COUPON', 'Add Coupon');
1132
+ define('TXT_WPSC_COUPON', 'Coupon');
1133
  define('TXT_WPSC_ADDCOUPONS', 'Add Coupon');
1134
  define('TXT_WPSC_COUPON_CODE', 'Coupon Code');
1135
  define('TXT_WPSC_DISCOUNT', 'Discount');
1164
 
1165
 
1166
  define('TXT_WPSC_MANUAL_PAYMENT', 'Manual Payment');
1167
+ define('TXT_WPSC_CREDIT_CARD', 'Credit Card');
1168
  define('TXT_WPSC_CREDIT_CARD_AND_MANUAL_PAYMENT', 'Manual Payment and Credit Card');
1169
  define('TXT_WPSC_PAYMENT_INSTRUCTIONS', 'Enter the manual payment instructions that you wish to display');
1170
 
languages/FR_fr.php ADDED
@@ -0,0 +1,866 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ This is a language file for the WP Shopping Cart plugin version 3.6.8
4
+ Translation in French: contact@xiligroup.com - 080921 MSC -
5
+ - Version provisoire hors passerelle - beta release - double lines (one is commented by //)
6
+ - éditer impérativement en fichier UTF-8 - use only in UTF-8 editor (like smultron)
7
+ */
8
+ define('TXT_WPSC_PAYMENT_GATEWAYS', 'Passerelles de paiement');
9
+
10
+ define('TXT_WPSC_PRODUCTCOUNT_SINGULAR','produit');
11
+ define('TXT_WPSC_PRODUCTCOUNT_PLURAL','produits');
12
+ define('TXT_WPSC_GROUPCOUNT_SINGULAR','groupe');
13
+ define('TXT_WPSC_GROUPCOUNT_PLURAL','groupes');
14
+ define('TXT_WPSC_SALECOUNT_SINGULAR','vente');
15
+ define('TXT_WPSC_SALECOUNT_PLURAL','ventes');
16
+ define('TXT_WPSC_PENDINGCOUNT_SINGULAR','transaction');
17
+ define('TXT_WPSC_PENDINGCOUNT_PLURAL','transactions');
18
+
19
+ define('TXT_WPSC_SALES_DASHBOARD', "Vous avez <a href=\'admin.php?page=wp-shopping-cart/display-items.php\'>:productcount:</a>, dans <a href=\'admin.php?page=wp-shopping-cart/display-category.php\'>:groupcount:</a>. Ce mois, votre commerce a occasionné :salecount: et généré un total en CA de :monthtotal: et le total cumulé des ventes est :overaltotal:. Il y a :pendingcount: en attente d'approbation.");
20
+
21
+ define('TXT_WPSC_YOUAREUSING', 'Le style utilisé est :theme: . La version WP e-Commerce est la :versionnumber:.');
22
+ define('TXT_WPSC_NO_SHORTCODE', 'Ce produit est en attente d\'ajout au catalogue; Il manque les mots clés...');
23
+ define('TXT_WPSC_SKU', 'Code référence');
24
+ define('TXT_WPSC_YOUR_ORDER', 'Votre commande');
25
+ define('TXT_WPSC_ABOUT_THIS_PAGE', 'A propos de cette page');
26
+ define('TXT_WPSC_ORDER_PENDING_PAYMENT_REQUIRED', 'Commande en attente: Paiement obligatoire');
27
+ define('TXT_WPSC_SELECTALLCATEGORIES', 'Voir tous les produits');
28
+
29
+ // admin - groups tab
30
+
31
+ define('TXT_WPSC_EDITING_GROUP', 'Gestion du groupe [categorisation] ');
32
+ define('TXT_WPSC_ADDING_TO_GROUP', "Ajout d'un sous-groupe dans le groupe [categorisation] ");
33
+ define('TXT_WPSC_EDITING_IN_GROUP', "Gestion d'un sous-groupe du groupe [categorisation] ");
34
+
35
+
36
+ define('TXT_WPSC_PURCHASE_UNAVAILABLE', 'Acheter les options non disponibles');
37
+ define('TXT_WPSC_WE_RECOMMEND', 'Recommandé');
38
+ define('TXT_WPSC_SELECT_PRODUCT_GROUP', 'Choisir un groupe-racine');
39
+ define('TXT_WPSC_EDIT_THIS_GROUP', 'Editer ce groupe-racine ');
40
+
41
+ define('TXT_WPSC_USPS_USERID', 'USPS ID');
42
+ define('TXT_WPSC_PRODUCT_ID', 'ID Produit ');
43
+ define('TXT_WPSC_USPS_PASSWORD', 'USPS Password');
44
+ define('TXT_WPSC_OPTIONS_GENERAL_TAB', 'General');
45
+ define('TXT_WPSC_OPTIONS_PRESENTATION_TAB', 'Présentation');
46
+ define('TXT_WPSC_OPTIONS_SHIPPING_TAB', 'Transport');
47
+ define('TXT_WPSC_OPTIONS_PAYMENT_TAB', 'Paiement');
48
+ define('TXT_WPSC_OPTIONS_ADMIN_TAB', 'Admin');
49
+ define('TXT_WPSC_OPTIONS_MARKETING_TAB', 'Marketing');
50
+ define('TXT_WPSC_DOWNLOAD_ATTACHED_FILES', 'Télécharger les fichiers joints');
51
+
52
+ define('TXT_WPSC_ADMIN_SEARCH_PRODUCTS', 'Rechercher un produit');
53
+ define('TXT_WPSC_CHOOSE_PAYMENT_GATEWAYS', 'Choix des modes de paiement disponible pour les clients.');
54
+
55
+ define('TXT_WPSC_CONFIGURE_PAYMENT_GATEWAY', ' Choisir un mode de paiement avant de le configurer ci-dessous.');
56
+
57
+
58
+ // to come: "Click on a payment option to configure it"
59
+
60
+ define('TXT_WPSC_SHOW_BREADCRUMBS', 'Afficher le parcours de visite sur le site (Breadcrumbs) ');
61
+ define('TXT_WPSC_PAYMENT_INSTRUCTIONS_DESCR', 'Saisir ici les instructions de paiement qui seront ajoutées au courriel à destination de votre client lorsque ce dernier aura validé sa commande.');
62
+ define('TXT_WPSC_PAYMENT_INSTRUCTIONS_BELOW_DESCR', 'Par exemple, vous indiquez les coordonnées bancaires de la boutique pour que le client puisse faire le virement.');
63
+
64
+ define('TXT_WPSC_ALLOW_UPLOADING_IMAGE', 'Le client peut envoyer une image liée à ce produit commandé.');
65
+
66
+ define('TXT_WPSC_OPTIONS_GENERAL_HEADER', 'Réglages généraux');
67
+ define('TXT_WPSC_OPTIONS_PRESENTATION_HEADER', 'Paramétrage de la présentation');
68
+ define('TXT_WPSC_OPTIONS_SHIPPING_HEADER', 'Paramétrage des transports');
69
+ define('TXT_WPSC_OPTIONS_PAYMENT_HEADER', 'Paramétrage des paiements');
70
+ define('TXT_WPSC_OPTIONS_ADMIN_HEADER', 'Paramétrage de l\'administration');
71
+ define('TXT_WPSC_OPTIONS_MARKETING_HEADER', 'Paramétrages marketing');
72
+ define('TXT_WPSC_UPLOAD_IMAGE_FOR', 'Upload Image for');
73
+
74
+ define('TXT_WPSC_THUMBNAILSETTINGS', 'Paramétrage des icônes');
75
+
76
+ define('TXT_WPSC_CLEAR_IP_LOCKS', 'Free downloads locked to an IP number.');
77
+ define('TXT_WPSC_THANKS_UNLOCKED', 'Thanks, the downloads that were locked to this users IP number have been freed.');
78
+
79
+
80
+ define('TXT_WPSC_SELECTGATEWAY', 'Choisir un mode de paiement');
81
+ define('TXT_WPSC_VARIATION_LIST', 'Choisir une variante');
82
+
83
+ define('TXT_WPSC_CATEGORISATION_GROUPS_DESCR', 'Les groupes et sous-groupes de produits facilitent les achats des chalands qui visitent une boutique bien organisée où les produits sont regroupés selon leurs caractéristiques. A l\'installation, il existe deux groupes "racines" dont l\'un est celui des marques (Brands) affectables aux produits');
84
+ define('TXT_WPSC_CATEGORISATION_DESCR', 'Widget des groupes de produits');
85
+ define('WPSC_DOWNLOAD_INVALID', 'Ce téléchargement n\'est plus autorisé.');
86
+ define('TXT_WPSC_LOCK_DOWNLOADS_TO_IP', 'Blocage de l\'IP de téléchargement');
87
+ define('TXT_WPSC_CLEAR_IP_LOCKS', 'Unlock any downloads locked to an IP address for this order');
88
+ define('TXT_WPSC_THANKS_UNLOCKED', 'Thanks, the downloads that were locked to this users IP number have been freed.');
89
+ define('TXT_WPSC_USER_UNLOCKED_EMAIL', 'Votre fichier est disponible.');
90
+ define('TXT_WPSC_USER_UNLOCKED_EMAIL_MESSAGE', 'Chèr(e) client(e)
91
+
92
+ Nous sommes heureux de vous informer que votre commande est à jour, donc le téléchargement est possible.
93
+ Prière d\'utiliser le lien ci-dessous.
94
+
95
+ [download_links]
96
+ Merci de votre confiance.');
97
+
98
+
99
+ define('TXT_WPSC_ADMIN_EMPTY_CATEGORY', 'Ce groupe est celui par défaut, mais il faut y ajouter des produits ou choisir un autre groupe qui contient des produits.');
100
+
101
+ define('TXT_WPSC_USING_EXAMPLE_CATEGORY', 'Ce groupe choisi comme étant celui par défaut est vide. Il est nécessaire d\'y ajouter des produits ou de sélectionner un autre groupe dans la page "Réglages"');
102
+
103
+ define('TXT_WPSC_NO_DEFAULT_PRODUCTS', 'La page "Produits" n\'est pas en place pour afficher les produits. SVP, choisir un groupe par défaut via la page "Réglages".');
104
+
105
+ define('TXT_WPSC_FIX_CATEGORY_PERMALINKS', 'Réparer les permaliens des pages des groupes produits');
106
+ define('TXT_WPSC_ADVANCED_OPTIONS', 'Options avancées');
107
+ define('TXT_WPSC_INVALID_COUPON', 'Coupon invalide');
108
+ define('TXT_WPSC_RSSNOTE', '<strong>Note:</strong> Le lien RSS peut être utilisé pour la promotion des produits par certains utilisateurs qui veulent être au courant ou pour être ajouté à des réseaux comme Facebook. <br>Il suffit de l\'ajouter à la <a href="http://apps.facebook.com/getshopped">getshopped! facebook application</a> dans votre profil facebook et de suivre les instructions.');
109
+ define('TXT_WPSC_GOOGLEFINANCESTATUS', 'Financial Status');
110
+ define('TXT_WPSC_GOOGLEFULFILLMENTSTATUS', 'Fulfillment Status');
111
+ define('TXT_WPSC_SURETODELETECATEGORISATION', 'Etes-vous de vouloir effacer ce groupe ? Tous les sous-groupes qu\'il contient seront détruits.');
112
+
113
+ define('TXT_WPSC_CATEGORISATION', 'Groupes');
114
+ define('TXT_WPSC_CATEGORISATIONHASBEENADDED', 'Le groupe a été ajouté.');
115
+ define('TXT_WPSC_CATEGORISATIONHASBEENEDITED', 'Le groupe a été modifié..');
116
+ define('TXT_WPSC_ADD_CATEGORISATION', 'Ajouter un groupe-racine');
117
+ define('TXT_WPSC_EDIT_CATEGORISATION', 'Editer un groupe');
118
+ define('TXT_WPSC_ADDDETAILS', 'Ajouter des détails ');
119
+ define('TXT_WPSC_EDITDETAILS', 'Modifier les détails');
120
+ define('TXT_WPSC_ADDNEWCATEGORY', 'Ajouter un sous-groupe &raquo;');
121
+ define('TXT_WPSC_VALUE', 'Valeur');
122
+ define('TXT_WPSC_ADD_CUSTOM_FIELD', 'Ajouter un champ personnalisé');
123
+ define('TXT_WPSC_EDIT_CUSTOM_FIELDS', 'Modifier un champ personnalisé');
124
+ define('TXT_WPSC_SAVE', 'Sauver');
125
+
126
+
127
+
128
+ define('TXT_WPSC_DISPLAY_PRODUCT_CATEGORIES', 'Afficher [categorisation]'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
129
+
130
+ define('TXT_WPSC_PRODUCT_CATEGORIES', 'Choisir [categorisation]'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
131
+
132
+ define('TXT_WPSC_MANAGE_CATEGORISATION', 'Gérer [categorisation]'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
133
+
134
+
135
+
136
+ define('TXT_WPSC_ANYONEREGISTER', 'Si oui, veiller à ce que le réglage Wordpress soit sur "tout le monde peut s\'enregistrer"');
137
+ define('TXT_WPSC_CVN', 'Credit Verification');
138
+ define('TXT_WPSC_AVS', 'Address Verification');
139
+ define('TXT_WPSC_DISPLAYVARIATIONSDESCRIPTION', 'Une variante est une caractérisque optionnelle d\'un produit : taille, couleur… <br />Ainsi si vous vendez un T-shirt, il peut y avoir les tailles S, M, XL, XXL,...');
140
+
141
+ define('TXT_WPSC_PERTICKED', 'Applicable à tous les produits');
142
+ define('TXT_WPSC_EMAILALLOWED', 'Courriel autorisé');
143
+ define('TXT_WPSC_EMAILNOTALLOWED', 'Courriel interdit');
144
+
145
+ define('TXT_WPSC_GOOGLERISK', 'Eligible for Protection');
146
+ define('TXT_WPSC_PAYPALNOTE', '<strong>Note:</strong> A cause des limitations du système PayPal, en cas d\'utilisation d\'un coupon : Seule la somme totale sera prise en compte et non pas le détail de la commande toutefois identifiée par le code de la boutique.');
147
+
148
+ define('TXT_WPSC_GOOGLEMARKETINGPREFERENCE', 'Google User Marketing Preference');
149
+
150
+
151
+ define('TXT_WPSC_LATEST_PRODUCTS', 'Produits récents');
152
+ define('TXT_WPSC_PICKUP', 'Pick up');
153
+ define('TXT_WPSC_DELIVERY', 'Delivery');
154
+ define('TXT_WPSC_MENU', 'Administration d\'e-Commerce');
155
+ define('TXT_WPSC_GOOGLESTORELOCATOR', 'Enable Google Store Locator');
156
+ define('TXT_WPSC_GOOGLESHIPPING', 'Google Shipping Country');
157
+ define('TXT_WPSC_POST_DEFAULT_MEMBERS_ONLY', 'This post is for members only, you must log in to view this post');
158
+ define('TXT_WPSC_BASESHIPPING', 'Base Shipping');
159
+ define('TXT_WPSC_RSS_ADDRESS', 'Adresse RSS');
160
+ define('TXT_WPSC_STORENAME', 'Nom de la boutique');
161
+ define('TXT_WPSC_CHECKBOX_VARIATIONS', 'Afficher les variantes en boite à cocher');
162
+ define('TXT_WPSC_DISPLAY_PLUSTAX', 'Afficher "+TVA"');
163
+ define('TXT_WPSC_DISPLAYHOWCUSTOMERFINDUS', 'Affichage de l\'enquête client');
164
+ define('TXT_WPSC_HOWCUSTOMERFINDUS', 'Comment le client a-t\'il trouvé la boutique ?');
165
+ define('TXT_WPSC_ENGRAVE', 'Texte à graver');
166
+ define('TXT_WPSC_FREETRIAL', 'A l\'essai pendant un mois');
167
+ define('TXT_WPSC_PROHIBITED', 'Interdit');
168
+ define('TXT_WPSC_ADMINNOTES', 'Notes du vendeur ');
169
+ define('TXT_WPSC_HIDEADDNAMELINK', 'Désactiver le lien du nom du produit');
170
+ define('TXT_WPSC_ADMINMENU', 'Menu d\'administration');
171
+ define('TXT_WPSC_USEONLYEXTERNALLINK', 'Note: ne compléter que s\'il existe des liens externes');
172
+ define('TXT_WPSC_EXTERNALLINK', 'Lien externe');
173
+ define('TXT_WPSC_BUTTONTYPE', 'Type de bouton ');
174
+ define('TXT_WPSC_BUYNOW', 'Acheter maintenant');
175
+ define('TXT_WPSC_ASSOCIATEWITHFILE', 'Associate With File?(Tick one please)');
176
+ define('TXT_WPSC_SHOWLIVESEARCH', 'Use Live Search');
177
+ define('TXT_WPSC_USPS_USERID', 'USPS ID');
178
+ define('TXT_WPSC_USPS_PASSWORD', 'USPS Password');
179
+
180
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Détails pour l\'expédition');
181
+ define('TXT_WPSC_SHOWADVANCEDSEARCH', 'Show Advanced Search');
182
+ define('TXT_WPSC_GOOGLEMECHANTKEY', 'Google Merchant Key');
183
+ define('TXT_WPSC_GOOGLEMECHANTID', "Google Merchant ID");
184
+ define('TXT_WPSC_IMAGESIZEINFO', 'Note: en laissant les champs vides, l\'image n\'est pas redimensionnée');
185
+ define('TXT_WPSC_ENDLESSSUBSCRIPTION', 'Abonnement permanent ?');
186
+ define('TXT_WPSC_RECEIVED', 'Commande reçue');
187
+ define('TXT_WPSC_ORDER_STATUS', 'Etat de la commande');
188
+ define('TXT_WPSC_ORDER_SUMMARY', 'Synthèse des commandes');
189
+ define('TXT_WPSC_LANGUAGE', 'Langue');
190
+ define('TXT_WPSC_ACCEPTED_PAYMENT', 'Paiement accepté');
191
+ define('TXT_WPSC_JOB_DISPATCHED', 'Tâches enclanchées');
192
+ define('TXT_WPSC_PROCESSED', 'Commande close');
193
+ define('TXT_WPSC_ECOMMERCE', 'e-Commerce');
194
+ define('TXT_WPSC_OPTIONS', 'Réglages');
195
+ define('TXT_WPSC_ADDPRODUCTS', 'Ajout de produits');
196
+ define('TXT_WPSC_SENDSMS', 'Envoi SMS');
197
+ define('TXT_WPSC_PRODUCTS', 'Produits');
198
+ define('TXT_WPSC_ADDCATEGORY', 'Ajout d\'un groupe de produits');
199
+ define('TXT_WPSC_CATEGORIES', 'Catégories');
200
+ define('TXT_WPSC_BRANDS', 'Marques');
201
+ define('TXT_WPSC_VARIATIONS', 'Variantes');
202
+ define('TXT_WPSC_PURCHASELOG', 'Ventes');
203
+ define('TXT_WPSC_ORDER_LOG', 'Commandes');
204
+ define('TXT_WPSC_OLDER_ORDERS', 'Commandes précédentes');
205
+ define('TXT_WPSC_ORDER', 'Commande');
206
+ define('TXT_WPSC_TOTAL_THIS_MONTH', "Chiffres d'affaires du mois");
207
+ define('TXT_WPSC_MONTHLY_REPORT', 'Rapport semestriel');
208
+ define('TXT_WPSC_TOTAL_INCOME', 'CA total');
209
+ define('TXT_WPSC_ACCEPTED_PAYMENTS', '(Paiements acceptés)'); //text has changed slightly
210
+ define('TXT_WPSC_PAYMENTGATEWAYOPTIONS', 'Modes de paiement');
211
+ define('TXT_WPSC_HELPINSTALLATION', 'Aide / Mise à jour');
212
+ define('TXT_WPSC_EXAMPLECATEGORY', 'Groupe exemple');
213
+ define('TXT_WPSC_EXAMPLEDETAILS', 'Détails exemple');
214
+ define('TXT_WPSC_EXAMPLEBRAND', 'Marque exemple');
215
+ define('TXT_WPSC_PRODUCTIMAGEWIDTH', 'largeur de l\'image produit');
216
+ define('TXT_WPSC_PRODUCTIMAGEHEIGHT', 'hauteur de l\'image produit');
217
+ define('TXT_WPSC_CATEGORYIMAGEWIDTH', 'largeur de l\'image du groupe de produits');
218
+ define('TXT_WPSC_CATEGORYIMAGEHEIGHT', 'hauteur de l\'image du groupe de produits');
219
+ define('TXT_WPSC_PRODUCTLISTURL', 'Page de la liste produit');
220
+ define('TXT_WPSC_SHOPPINGCARTURL', 'Page du panier d\'achats');
221
+ define('TXT_WPSC_CHECKOUTURL', 'Page de lancement de la commande');
222
+ define('TXT_WPSC_TRANSACTURL', 'Page présentant la transaction');
223
+ define('TXT_WPSC_PAYMENTGATEWAY', 'Passerelle paiement à utiliser');
224
+ define('TXT_WPSC_CARTLOCATION', 'Lieu du panier ');
225
+ define('TXT_WPSC_SHOWCATEGORYBRANDS', 'Affichage des groupes et/ou marques');
226
+ define('TXT_WPSC_CURRENCYTYPE', 'Monnaie ');
227
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Lieu du signe de la monnaie ');
228
+ define('TXT_WPSC_GSTRATE', 'the GST rate');
229
+ define('TXT_WPSC_MAXDOWNLOADS', 'the download limit');
230
+ define('TXT_WPSC_DISPLAYPNP', 'Afficher les coûts postaux et/ou de transport ');
231
+ define('TXT_WPSC_DISPLAYSPECIALS', 'Afficher/masquer les promotions dans la barre latérale');
232
+ define('TXT_WPSC_POSTAGEAND_PACKAGING', 'Charge postale et d\'emballage');
233
+ define('TXT_WPSC_PURCHLOGEMAIL', 'Adresse courriel où est envoyée la liste des achats');
234
+ define('TXT_WPSC_RETURNEMAIL', 'Adresse courriel de laquelle est envoyée la liste des achats');
235
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Voir les conditions générales');
236
+ define('TXT_WPSC_DEFAULTBRAND', 'Marque par défaut');
237
+
238
+
239
+ //define('TXT_WPSC_DEFAULTCATEGORY', 'Default Category');
240
+
241
+ define('TXT_WPSC_DEFAULTCATEGORY', 'Groupe de produits présenté par défaut sur la vitrine (accueil) ');
242
+
243
+ define('TXT_WPSC_PAYPALBUSINESS', 'paypal business');
244
+ define('TXT_WPSC_PAYPALURL', 'paypal url');
245
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Voir les tarifs produits');
246
+ define('TXT_WPSC_PRODUCTSPAGE', 'Page produits');
247
+ define('TXT_WPSC_CHECKOUT', 'Verifier la commande');
248
+ define('TXT_WPSC_ENTERDETAILS', 'Saisir les données');
249
+ define('TXT_WPSC_TRANSACTIONRESULTS', 'Résultats de la transaction');
250
+ define('TXT_WPSC_SELECTACATEGORY', 'Choisir un groupe de produits');
251
+ define('TXT_WPSC_SELECTABRAND', 'Choisir une marque');
252
+ define('TXT_WPSC_PRODUCTNAME', 'Nom du produit');
253
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Description du produit');
254
+ define('TXT_WPSC_ADDITIONALDESCRIPTION', 'Description complémentaire' );
255
+ define('TXT_WPSC_PRICE', 'Prix');
256
+ define('TXT_WPSC_TAXALREADYINCLUDED', 'Prix TTC : la TVA du réglage général ne sera pas ajoutée lors de la facturation'); // this text has changed and needs updating
257
+ define('TXT_WPSC_SPECIAL', 'Prix spécial'); // this text has changed and needs updating
258
+ define('TXT_WPSC_PRODUCT_DISPLAY', 'Mode d\'affichage des produits');
259
+
260
+ define('TXT_WPSC_PRODUCTSTOCK', 'Stock produits');
261
+
262
+ define('TXT_WPSC_UNTICKBOX', 'Quantité limitée en stock : produit indisponible dès épuisement et jusqu\'à la mise à jour du stock');
263
+ define('TXT_WPSC_LIMITED_STOCK', 'Limites du stock');
264
+
265
+ define('TXT_WPSC_CATEGORY', 'Groupe');
266
+ define('TXT_WPSC_BRAND', 'Marque');
267
+ define('TXT_WPSC_PRODUCT_VARS', 'Variantes produit');
268
+ define('TXT_WPSC_ADD_VAR', 'Ajout d\'un set de variantes');
269
+ define('TXT_WPSC_EDIT_VAR', 'Modifier un set de variantes');
270
+ define('TXT_WPSC_SELECTAVARIATION', 'Choisir une variante');
271
+ define('TXT_WPSC_NEW_VARIATION', 'Créer une nouvelle variante');
272
+
273
+ define('TXT_WPSC_PRODUCTATT', 'Pièce jointe au produit');
274
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT', 'Fichier à télécharger');
275
+ define('TXT_WPSC_FILETOBEPRODUCT', 'Note: Ce fichier sera le produit à télécharger.');
276
+ define('TXT_WPSC_RESIZEIMAGE', 'Redimensionner l\'icône');
277
+ define('TXT_WPSC_DONOTRESIZEIMAGE', 'Ne pas redimensionner.');
278
+ // define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'use default height and width');
279
+ // define('TXT_WPSC_USE', 'use');
280
+ // define('TXT_WPSC_PXHEIGHTBY', 'px height by');
281
+ // define('TXT_WPSC_PXWIDTH', 'px width.');
282
+
283
+ // pe.{
284
+ //define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'use default height and width');
285
+ // }.pe
286
+ define('TXT_WPSC_SEPARATETHUMBNAIL', 'Utilisation d\'une autre icône'); // Needs Translation
287
+ define('TXT_WPSC_USE', 'use'); // Needs Translation
288
+ // pe.{
289
+ define('TXT_WPSC_USEDEFAULTSIZE', 'Dimensions par défault'); // Needs Translation
290
+ define('TXT_WPSC_USESPECIFICSIZE', 'Dimensions spécifiques'); // Needs Translation
291
+ define('TXT_WPSC_PXHEIGHT', 'hauteur (px) '); // Needs Translation
292
+ define('TXT_WPSC_PXWIDTH', 'largeur (px)'); // Needs Translation
293
+ // }.pe
294
+
295
+
296
+ define('TXT_WPSC_UPLOADNEWIMAGE', 'Changer l\'image');
297
+ define('TXT_WPSC_DELETEIMAGE', 'Supprimer l\'image');
298
+ define('TXT_WPSC_EDIT', 'Editer');
299
+ define('TXT_WPSC_DELETE', 'Effacer');
300
+ define('TXT_WPSC_REMOVE', 'Enlever');
301
+ define('TXT_WPSC_NAME', 'Nom');
302
+ define('TXT_WPSC_TYPE', 'Type');
303
+ define('TXT_WPSC_MANDATORY', 'Obligatoire');
304
+ define('TXT_WPSC_DISPLAY_IN_LOG', 'Garder<br /> dans le "Log"');
305
+ define('TXT_WPSC_DESCRIPTION', 'Description');
306
+ define('TXT_WPSC_CATEGORY_PARENT', 'Groupe père');
307
+ define('TXT_WPSC_IMAGE', 'Image');
308
+ define('TXT_WPSC_HEIGHT', 'hauteur');
309
+ define('TXT_WPSC_WIDTH', 'largeur');
310
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Saisir une donnée valide');
311
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Saisir un nom correct');
312
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Merci de saisir un pr&eacute;nom ');
313
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Merci de saisir un courriel valide');
314
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Merci de saisir une adresse valide');
315
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Merci de saisir un téléphone valide');
316
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Vous n\'avez pas accepté les termes et conditions');
317
+ define('TXT_WPSC_NOTHINGINYOURSHOPPINGCART', 'Il n\'a rien dans votre panier');
318
+
319
+ define('TXT_WPSC_PROCESSING_PROBLEM', 'Il y a un problème dans la séquence d\'achat-commande, envoyer un courriel.');
320
+
321
+
322
+ define('TXT_WPSC_SPECIALS', 'Offres spéciales');
323
+ define('TXT_WPSC_BUY', 'Acheter');
324
+ define('TXT_WPSC_SHOPPINGCART', 'Panier d\'achats');
325
+ define('TXT_WPSC_NUMBEROFITEMS', 'Nombre d\'objets');
326
+ define('TXT_WPSC_NOMOREAVAILABLE', 'Ce produit est épuisé.');
327
+ define('TXT_WPSC_EMPTYYOURCART', 'Vider votre panier');
328
+ define('TXT_WPSC_GOTOCHECKOUT', 'Passer commande');
329
+ define('TXT_WPSC_CONTINUESHOPPING', 'Continuer vos achats');
330
+ define('TXT_WPSC_YOURSHOPPINGCARTISEMPTY', 'Votre panier est vide');
331
+ define('TXT_WPSC_VISITTHESHOP', 'Visiter la boutique');
332
+ define('TXT_WPSC_PAGES', 'Pages');
333
+ define('TXT_WPSC_OUTOF', 'Out of');
334
+ define('TXT_WPSC_VOTES', 'votes.');
335
+ define('TXT_WPSC_CLICKSTARSTORATE', 'Satisfaction : Cocher le nombre d\'étoiles');
336
+ define('TXT_WPSC_AVERAGERATINGOF', 'Average rating of');
337
+ define('TXT_WPSC_YOURVOTE', 'Your vote');
338
+ define('TXT_WPSC_AVERAGEVOTE', 'Average vote');
339
+ define('TXT_WPSC_YOUHAVEVOTED', 'You have voted');
340
+ define('TXT_WPSC_NOVOTES', 'No Votes');
341
+ define('TXT_WPSC_1VOTE', '1 Vote');
342
+ define('TXT_WPSC_VOTES2', 'Votes');
343
+ define('TXT_WPSC_PERSONGIVEN', 'person has given this image');
344
+ define('TXT_WPSC_PERSONGIVEN2', 'stars.');
345
+ define('TXT_WPSC_PEOPLEGIVEN', 'people have given this image');
346
+ define('TXT_WPSC_PEOPLEGIVEN2', 'stars.');
347
+ define('TXT_WPSC_ITEMHASBEENADDED', 'The item has been added');
348
+ define('TXT_WPSC_ITEMHASNOTBEENADDED', 'The item has not been added');
349
+ define('TXT_WPSC_ADDNEWCATEGORY', 'Add New Product Group');
350
+ define('TXT_WPSC_SUBMIT', 'Submit');
351
+ define('TXT_WPSC_SELECTAVALIDCATEGORY', 'SVP, choisir un groupe de produits valide');
352
+ define('TXT_WPSC_PRODUCTNAME', 'Nom du produit ');
353
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Description du produit ');
354
+ define('TXT_WPSC_ADDNEWPRODUCT', 'Ajouter un produit');
355
+ define('TXT_WPSC_PRODUCTQUANTITY', 'Quantité');
356
+ define('TXT_WPSC_PRODUCTIMAGE', 'Image du produit ');
357
+ define('TXT_WPSC_PRODUCTPRICE', 'Prix du produit ');
358
+ define('TXT_WPSC_NOTAX', 'Sans TVA');
359
+ define('TXT_WPSC_ABOUT', 'A propos');
360
+ define('TXT_WPSC_ABOUTCONTENT', 'Welcome to the e-commerce panel. <br /><br /><strong>Note:</strong> on some setups, the shopping cart may empty on every page load, if this happens, you will have to add this line:<br /><br />session_start();<br /><br />to the index.php file in the base wordpress directory.<br />');
361
+ define('TXT_WPSC_CONTACTDETAILS', 'Saisir les adresses détaillées (facturation et livraison) :');
362
+ define('TXT_WPSC_CREDITCARDHANDY', 'Attention, avant de cliquer "payer" ayez sous la main votre carte de crédit !');
363
+ define('TXT_WPSC_ASTERISK', 'Les champs avec un asterisque doivent être impérativement remplis.');
364
+ define('TXT_WPSC_FIRSTNAME', 'Prénom');
365
+ define('TXT_WPSC_LASTNAME', 'Nom');
366
+ define('TXT_WPSC_EMAIL', 'Courriel');
367
+ define('TXT_WPSC_ADDRESS', 'Addresse');
368
+ define('TXT_WPSC_ADDRESS1', 'Addresse 1');
369
+ define('TXT_WPSC_ADDRESS2', 'Addresse 2');
370
+ define('TXT_WPSC_CITY', 'Ville');
371
+ define('TXT_WPSC_STATE', 'Etat');
372
+ define('TXT_WPSC_COUNTRY', 'Pays');
373
+ define('TXT_WPSC_PHONE', 'Téléphone');
374
+ define('TXT_WPSC_POSTAL_CODE', 'Code postal ');
375
+ define('TXT_WPSC_TERMS1', 'J\'accepte ');
376
+ define('TXT_WPSC_TERMS2', 'Termes et conditions');
377
+
378
+
379
+ define('TXT_WPSC_TEXT', 'Texte');
380
+ define('TXT_WPSC_TEXTAREA', 'Zone de texte');
381
+ define('TXT_WPSC_HEADING', 'Entête');
382
+
383
+ define('TXT_WPSC_MAKEPURCHASE', 'Lancer le paiement');
384
+ define('TXT_WPSC_BUYPRODUCTS', 'SVP, achetez quelques produits avant d\'utiliser cette page');
385
+ define('TXT_WPSC_BRANDHASBEENEDITED', 'La marque a été modifiée.');
386
+ define('TXT_WPSC_SURETODELETEPRODUCT', 'Etes-vous sûr de vouloir supprimer ce produit ?');
387
+ define('TXT_WPSC_ADDBRAND', 'Ajouter une marque');
388
+ define('TXT_WPSC_DISPLAYBRANDS', 'Afficher les marques');
389
+ define('TXT_WPSC_EDITBRAND', 'Modifier la marque');
390
+ define('TXT_WPSC_ADD', 'Ajout');
391
+ define('TXT_WPSC_ADD_NEW_FORM', 'Ajouter un champ ');
392
+ define('TXT_WPSC_SAVE_CHANGES', 'Sauver les modifications');
393
+
394
+ define('TXT_WPSC_CATEGORYHASBEENEDITED', 'Le groupe de produits a été modifié.');
395
+ define('TXT_WPSC_DISPLAYCATEGORIES', 'Afficher les groupes');
396
+ define('TXT_WPSC_ADDCATEGORY', 'Ajouter un groupe de produits');
397
+ define('TXT_WPSC_EDITCATEGORY', 'Gérer un groupe de produits');
398
+ define('TXT_WPSC_ALLCATEGORIES', 'Tous les groupes de produits');
399
+
400
+ define('TXT_WPSC_DISPLAYVARIATIONS', 'Afficher les variantes');
401
+ define('TXT_WPSC_ADDVARIATION', 'Ajouter un set de variantes');
402
+ define('TXT_WPSC_EDITVARIATION', 'Modifier un set de variantes');
403
+ define('TXT_WPSC_VARIATIONHASBEENEDITED', 'La variante a été modifiée.');
404
+ define('TXT_WPSC_VARIATION_VALUES', 'Valeurs de la variante');
405
+ define('TXT_WPSC_REMOVE_SET', 'Effacer ce set'); //this needs to be translated
406
+
407
+ // admin Products tab
408
+
409
+ define('TXT_WPSC_SELECT_PARENT', 'Choisir le groupe parent');
410
+ define('TXT_WPSC_PRODUCTHASBEENEDITED', 'Le produit a été modifié.');
411
+ define('TXT_WPSC_ADDPRODUCT', 'Ajouter un produit');
412
+ define('TXT_WPSC_DISPLAYPRODUCTS', 'Afficher un produit');
413
+ define('TXT_WPSC_PLEASESELECTACATEGORY', 'SVP, choisir un groupe de produit');
414
+ define('TXT_WPSC_STOCK', 'Stock');
415
+ define('TXT_WPSC_PNP', 'Frais');
416
+ define('TXT_WPSC_EDITITEM', 'Modifier');
417
+ define('TXT_WPSC_PRODUCTDETAILS', 'Détails du produit');
418
+ define('TXT_WPSC_SELECT_PRODUCT', 'Listes des produits existants');
419
+ define('TXT_WPSC_ENTERPRODUCTDETAILSHERE', '(Saisir ici la description du produit)');
420
+ define('TXT_WPSC_ADDITIONALPRODUCTDESCRIPTION', 'Description complémentaire du produit');
421
+ define('TXT_WPSC_ADDITEM', 'Ajouter');
422
+ define('TXT_WPSC_CHOOSEACATEGORY', 'Choisir un groupe ');
423
+ define('TXT_WPSC_CHOOSEABRAND', 'Choisir une marque');
424
+ define('TXT_WPSC_USETHEACTUALIMAGE', 'Utiliser l\'image originale sans modification de taille.');
425
+ define('TXT_WPSC_DISPLAYPURCHASES', 'Liste des achats');
426
+ define('TXT_WPSC_ID', 'ID');
427
+ define('TXT_WPSC_TRANSACTIONSTATUS', 'Etat des transactions');
428
+ define('TXT_WPSC_DATE', 'Date');
429
+ define('TXT_WPSC_VIEWDETAILS', 'Détails'); //Text has changed - translation is needed
430
+ define('TXT_WPSC_STATUS', 'Etat');
431
+ define('TXT_WPSC_SUCCESSFUL', 'Réussi');
432
+ define('TXT_WPSC_FAILED', 'Echoué');
433
+ define('TXT_WPSC_GST', 'GST');
434
+ define('TXT_WPSC_PP', 'P&amp;P');
435
+ define('TXT_WPSC_TOTAL', 'Total');
436
+ define('TXT_WPSC_FINALTOTAL', 'Total final');
437
+ define('TXT_WPSC_CUSTOMERDETAILS', 'Détails sur le client');
438
+ define('TXT_WPSC_USERSCARTWASEMPTY', 'Le panier des clients est vide.');
439
+ define('TXT_WPSC_GOBACK', 'Retour');
440
+ define('TXT_WPSC_THANKSAPPLIED', 'Les changements sont effectués.');
441
+ define('TXT_WPSC_FORM_FIELDS', 'Paramétrage des commandes');
442
+ define('TXT_WPSC_PAYMENTGATEWAY2', 'Passerelle de paiement');
443
+ define('TXT_WPSC_PLEASESELECTAPAYMENTGATEWAY', 'SVP, choisir un mode…');
444
+ define('TXT_WPSC_PAYMENTGATEWAYNOTE', '<strong>Note:</strong> La version libre et gratuit de WP eCommerce ne permet que la paseerelle de paiement PayPay.<br /><br />Pour les autres passerelles, <a href="http://www.instinct.co.nz/blogshop">la "gold version" de eCommerce</a> est disponible avec interfaces avec authorize.net, DPS (www.dps.co.nz), and paystation (www.paystation.co.nz).');
445
+ define('TXT_WPSC_URLSETTINGS', 'Définitions des URLs');
446
+ //define('TXT_WPSC_PRODUCTLISTURL', 'Product List URL');
447
+ //define('TXT_WPSC_SHOPPINGCARTURL', 'Shopping Cart URL'); // again below
448
+ //define('TXT_WPSC_CHECKOUTURL', 'Checkout URL');
449
+ define('TXT_WPSC_TRANSACTIONDETAILSURL', 'Page des détails de transaction ');
450
+ define('TXT_WPSC_PRESENTATIONSETTINGS', 'Réglages de la présentation');
451
+ //define('TXT_WPSC_CARTLOCATION', 'Cart Location');
452
+ define('TXT_WPSC_SIDEBAR', 'Barre latérale');
453
+ define('TXT_WPSC_PAGE', 'Page');
454
+ define('TXT_WPSC_WIDGET', 'Widget');
455
+ define('TXT_WPSC_NEEDTOENABLEWIDGET', 'Il est nécessaire d\'activer le plugin widget');
456
+ define('TXT_WPSC_MANUAL', 'Manual');
457
+ define('TXT_WPSC_SHOWCATEGORIESBRANDS', 'Afficher Groupes/Marques');
458
+ define('TXT_WPSC_BOTH', 'Both');
459
+ define('TXT_WPSC_PRODUCTTHUMBNAILSIZE', 'Dimension par défaut de l\'icône produit');
460
+ define('TXT_WPSC_CATEGORYTHUMBNAILSIZE', 'Dimension par défaut de l\'icône groupe de produits');
461
+ define('TXT_WPSC_SHOWPOSTAGEANDPACKAGING', 'Afficher expédition et emballage ');
462
+ define('TXT_WPSC_YES', 'Oui');
463
+ define('TXT_WPSC_NO', 'Non');
464
+ define('TXT_WPSC_SHOWSPECIALS', 'Afficher offres spéciales dans la colonne latérale');
465
+ //define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Show Product Ratings');
466
+ define('TXT_WPSC_CURRENCYSETTINGS', 'Définitions des monnaies');
467
+ define('TXT_WPSC_GSTTAXRATE', 'GST/Tax Rate');
468
+ //define('TXT_WPSC_CURRENCYTYPE', 'Currency Type');
469
+ //define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Currency Sign Location');
470
+ define('TXT_WPSC_DEFAULTPOSTAGEPACKAGING', 'Default Postage &amp; Packaging');
471
+ define('TXT_WPSC_ADMINISTRATIONSETTINGS', 'Réglages de l\'administration');
472
+ define('TXT_WPSC_MAXDOWNLOADSPERFILE', 'Nombre de tentatives de téléchargement ');
473
+ define('TXT_WPSC_PURCHASELOGEMAIL', 'Courriel de liste d\'achats');
474
+ define('TXT_WPSC_REPLYEMAIL', 'Courriel de réponse');
475
+ define('TXT_WPSC_BRANDNOCAP', 'marque');
476
+ define('TXT_WPSC_CATEGORYNOCAP', 'groupe');
477
+ define('TXT_WPSC_UDPATING', 'Mise à jour'); // ?? PATING
478
+ define('TXT_WPSC_UPDATING', 'Mise à jour');
479
+ define('TXT_WPSC_MOREDETAILS', 'plus d\'informations');
480
+ define('TXT_WPSC_ADDTOCART', 'Ajouter au panier');
481
+ define('TXT_WPSC_AVGCUSTREVIEW', 'Avg. Customer Rating');
482
+ define('TXT_WPSC_YOURRATING', 'Your Rating');
483
+ define('TXT_WPSC_RATING_SAVED', 'Sauvegardé');
484
+ define('TXT_WPSC_RATETHISITEM', 'Coter cet élément');
485
+ define('TXT_WPSC_PRODUCTSOLDOUT', 'Ce produit est épuisé.');
486
+ define('TXT_WPSC_NOITEMSINTHIS', 'There are no items in this');
487
+ define('TXT_WPSC_CATEGORYORBRAND', 'un groupe ou une marque');
488
+ define('TXT_WPSC_PLEASECHOOSEA', 'SVP, choisir ');
489
+ define('TXT_WPSC_PLEASECHOOSEAGROUP', 'SVP, choisir un groupe de produits');
490
+ define('TXT_WPSC_PRODUCT', 'Produits');
491
+ define('TXT_WPSC_QUANTITY', 'Quantité');
492
+ define('TXT_WPSC_QUANTITY_SHORT', 'Qté'); //translation needed
493
+ define('TXT_WPSC_APPLY', 'Appliquer');
494
+ define('TXT_WPSC_MAKEPAYMENT', 'Lancer le paiement');
495
+ define('TXT_WPSC_EMPTYSHOPPINGCART', 'Panier d\'achat vide');
496
+ define('TXT_WPSC_TOTALPRICE', 'Prix total');
497
+ define('TXT_WPSC_NOITEMSINTHESHOPPINGCART', 'Il n\'y a pas de produits dans le panier');
498
+ define('TXT_WPSC_EMAILMSG1', "Merci, la commande est acceptée et son traitement est lancée, Les produits téléchargeables peuvent l'être via les liens ci-dessous.\n\rLes prix incluent frais postaux et de transport.\n\rVous avez commandé ces articles :\n\r");
499
+ define('TXT_WPSC_EMAILMSG2', ".\n\rVous avez commandé ces articles :\n\r\n\r");
500
+ define('TXT_WPSC_CLICKTODOWNLOAD', 'Cliquer ici pour télécharger');
501
+ define('TXT_WPSC_DOWNLOAD', 'Téléchargement');
502
+ define('TXT_WPSC_YOURTRANSACTIONID', 'Votre numéro de transaction');
503
+ define('TXT_WPSC_TRANSACTIONID', 'Transaction ID');
504
+ define('TXT_WPSC_PURCHASERECEIPT', 'Reçu d\'achat');
505
+ define('TXT_WPSC_PURCHASEREPORT', 'Rapport d\'achat');
506
+ define('TXT_WPSC_THETRANSACTIONWASSUCCESSFUL', 'La transaction de paiement s\'est déroulée avec succès');
507
+ define('TXT_WPSC_THETRANSACTIONWASNOTSUCCESSFUL', 'La transaction de paiement a rencontré un problème');
508
+ define('TXT_WPSC_GOBACKTOCHECKOUT', 'Revenir à l\'étape validation');
509
+ define('TXT_WPSC_SPECIALPRICE', 'Prix spécial');
510
+
511
+ // Mode d'emploi inspiré de la traduction par CaroStory et adaptées pour l'UTF-8 et la version en cours
512
+ define('TXT_WPSC_INSTRUCTIONS', '
513
+ Etapes de l\'installation
514
+ <ul class=\'installation\'>
515
+ <li>Placez le contenu du fichier archive zip dans le répertoire "wp-content/plugins".</li>
516
+ <li>Activez le plugin via la page "extensions" ou "plugins" de Wordpress</li>
517
+ <li>Allez à la page "Modes de paiement" dans l\'onglet "e-Commerce", et renseignez les champs.</li>
518
+ <li>Créez des groupes de produits en utilisant les pages "Groupes" et "Produits".</li>
519
+ </ul>
520
+
521
+ <p>Si vous venez de faire une mise à jour du plugin nous vous conseillons de désactiver et réactiver le plugin.</p>
522
+
523
+ <h2>Mises à jour et Modules d\'extensions</h2>
524
+ <p>Vous trouverez plus d\'informations sur les modules de WP e-Commerce en visitant le site <a href="http://www.instinct.co.nz/e-commerce/">"WordPress e-Commerce"</a>.</p>
525
+
526
+ <ul class=\'installation\'>
527
+ <li>Extensions Gold</li>
528
+ <li>Achat par glisser-déposer dans le panier (DropShop)</li>
529
+ <li>Lecteur Audio (MP3 Player)</li>
530
+ <li>Affichage en tableau (GridView)</li>
531
+ </ul>
532
+
533
+ <h2>Liste de souhaits</h2>
534
+ <p>Si vous souhaitez ajouter une caractéristique qui n\'est pas supporté par WP e-commerce actuellement, vous pouvez soit <a href="http://www.instinct.co.nz/contact-us/">contacter l\'équipe de développement</a> ou ajouter votre caractéristique à la liste des souhaits <a href="http://www.instinct.co.nz/forums/">sur les forums</a>.
535
+
536
+
537
+ <h2>Personnalisation et conseils</h2>
538
+ <p><strong>Taxes</strong><br />Si nécessaire vous pouvez ajouter les taux de taxes (TVA) dans l\'onglet "e-Commerce", page "Réglages".</p>
539
+
540
+ <p><strong>Adresse email de commande</strong><br />Si vous ajoutez une adresse email pour vos commandes, cette adresse sera utilisée pour vous envoyer les notifications de suivi de commandes à chaque achat effectué.</p>
541
+ <p><strong>Masquer les pages</strong><br />
542
+ Pour éviter que les pages liées au plugin s\'affichent dans la liste des pages, vous devez premièrement trouver leur identifiant (nombre).<br />
543
+ <br />Ensuite vous devez éditer le fichier dans le thème que vous utilisez. Normalement le code se situe dans "sidebar.php", trouvez la ligne qui ressemble à:<br />
544
+
545
+ <br />"&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;/h2&gt;\' ); ?&gt;"<br />
546
+
547
+ et remplacez l&agrave; par :<br />
548
+
549
+ "&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;h2&gt;&amp;exclude=3,4,5\'); ?&gt;"<br />
550
+
551
+ <br />Le mot "exclude" sert à exclure les pages de la liste, il faut juste que vous remplaciez les chiffres 3,4,5 par les identifiants des pages que vous voulez exclure.</p>
552
+
553
+ <p><strong>Les Fonctions des Images</strong><br />
554
+ Si votre serveur ne supporte pas le redimensionnement automatique des images , vos images ne seront peut être pas redimensionnées après la mise en ligne.</p>
555
+
556
+
557
+ <p><strong>Permaliens</strong><br />
558
+ Nous (instinct.nz) faisons du mieux que nous pouvons.
559
+ Nous n\'avons pas vraiment trouvé de moyen réellement efficace de passer à travers les variables de pages en pages qui utilisent les permaliens sans le mod_rewrite; si vous ne pouvez pas utiliser le mod_rewrite, il est possible que le plugin ne fonctionne pas en ayant activé les permaliens.
560
+ </p>
561
+ <p><strong>Javascript et Ajax </strong><br />
562
+ Les versions d\'e-Commerce utilise Ajax. Le panier de l\'utilisateur sera visible sans Javascript, mais les pages d\'Administration (spécialement les pages Produits et Groupes) ne fonctionneront pas si le Javascript est désactivé;. Les versions des navigateurs antérieurs à Internet Explorer 6 et Firefox 1.0 n\'ont pas été testés et ne fonctionneront pas correctement.)</p>
563
+
564
+ <p><strong>Concernant Flickr</strong><br />
565
+ Nous avons créé <a href="http://www.google.com/search?q=flickr+wp+e-commerce&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a">plusieurs guides et tutoriels</a> concernant Flickr.
566
+ '); // fin adaptation des instructions
567
+
568
+ define('TXT_WPSC_SHIPPINGSETTINGS', 'Paramétrage des expéditions');
569
+ define('TXT_WPSC_BASE_LOCAL', 'Base d\'expédition pour le national');
570
+ define('TXT_WPSC_BASE_INTERNATIONAL', 'Base d\'expédition pour l\'international');
571
+ define('TXT_WPSC_BASE_COUNTRY', 'Pays de la boutique');
572
+
573
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Additional Shipping Costs'); // this needs updating
574
+ define('TXT_WPSC_LOCAL_PNP', 'Transport local'); // this needs updating
575
+ define('TXT_WPSC_INTERNATIONAL_PNP', 'Transport international'); // this needs updating
576
+ define('TXT_WPSC_SHIPPING_NOTE', 'Note: Charge affectée à la commande indépendamment du nbre de produits.');
577
+ define('TXT_WPSC_COUNTRY_FORM_FIELD', 'Country Form Field');
578
+ define('TXT_WPSC_COUNTRY_FORM_FIELD_EXPLANATION', '(select which form field on the checkout page you want to use for specifying the country)');
579
+
580
+ define('TXT_WPSC_SHIPPING', 'Shipping');
581
+ define('TXT_WPSC_EMAIL_FORM_FIELD', 'Email Form Field');
582
+ define('TXT_WPSC_EMAIL_FORM_FIELD_EXPLANATION', '(select which form field on the checkout page you want to use for specifying the email address)');
583
+
584
+
585
+ define('TXT_WPSC_PRODUCTIMAGES', 'Images du produit');
586
+ define('TXT_WPSC_PRODUCTDOWNLOAD', 'Produit en téléchargement');
587
+ define('TXT_WPSC_SHOWTHUMBNAILS', 'Affichage icône');
588
+ define('TXT_WPSC_ADD_ADDITIONAL_IMAGE', 'Ajouter une autre image');
589
+ define('TXT_WPSC_DELETE_IMAGE', 'Effacer l\'image');
590
+ define('TXT_WPSC_GOLD_OPTIONS', 'Extensions Gold');
591
+ define('TXT_WPSC_ACTIVATE_SETTINGS', 'Activation des extensions Gold Cart');
592
+ define('TXT_WPSC_ACTIVATION_KEY', 'Clé d\'activation');
593
+ define('TXT_WPSC_THANKSACTIVATED', 'Les extensions Gold Cart sont actives.');
594
+ define('TXT_WPSC_NOTACTIVATED', 'Désolé, la clé est incorrecte.');
595
+
596
+ define('TXT_WPSC_DEFAULT', 'Vue par défaut');
597
+ define('TXT_WPSC_LIST', 'Vue en liste');
598
+
599
+ define('TXT_WPSC_VISIBLE', 'Visible');
600
+ define('TXT_WPSC_DELETE_PRODUCT', 'Supprimer le produit');
601
+ define('TXT_WPSC_ADDITIONAL_IMAGE', 'Image complémentaire');
602
+ define('TXT_WPSC_GATEWAY_OPTIONS', 'Paramétrage Passerelles');
603
+ define('TXT_WPSC_SHIPPING_COUNTRY', 'Pays d\'expédition');
604
+ define('TXT_WPSC_CONFIRM_TOTALS', 'Vérifier et confirmer les quantités avant de lancer le paiement:');
605
+ define('TXT_WPSC_CHECKOUT_FORM_FIELDS_DESCRIPTION', 'Ici est paramétré le formulaire de commande et de validation de cette dernière. Ce formulaire est dans la page où le client saisit toutes les informations nécessaires au bon déroulement des opérations (commande, paiement, livraison,...');
606
+ define('TXT_WPSC_PAYMENT_OPTIONS', 'Modes de paiement');
607
+ define('TXT_WPSC_PAYMENT_DESCRIPTION', 'Choose what payment options you want to make available in the checkout page. By default purchasers can only pay for items using a credit card however you may wish to also let them pay manually in which case you should select the credit card + manual payment option.');
608
+
609
+ define('TXT_WPSC_DEFAULT_GATEWAY_ONLY', ' only');
610
+ define('TXT_WPSC_PLUS_MANUAL_PAYMENT', ' plus manual payment option');
611
+ define('TXT_WPSC_PAYMENT_METHOD', 'Payment Method');
612
+ define('TXT_WPSC_PAY_USING', 'Pay using');
613
+ define('TXT_WPSC_PAY_MANUALLY', 'Pay by Cheque/Bank Deposit');
614
+ define('TXT_WPSC_CREDIT_CARD', 'Credit Card');
615
+ define('TXT_WPSC_ADJUSTABLE_QUANTITY', 'Show quantity form in list view');
616
+ define('TXT_WPSC_RSS_FEED_HEADER', 'Subscribe to your orders');
617
+ define('TXT_WPSC_RSS_FEED_LINK', 'Subscribe to an RSS feed');
618
+ define('TXT_WPSC_RSS_FEED_TEXT', 'of your orders');
619
+ define('TXT_WPSC_INITIAL_SETUP', 'Created default options.');
620
+ define('TXT_WPSC_PLUGIN_NEWS_HEADER', 'Plugin News');
621
+
622
+
623
+ define('TXT_WPSC_PLUGIN_NEWS', '
624
+
625
+ Le <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank"> module WP DropShop</a> est un module qui facilite les achats en permettant le glisser-déposer dans un panier toujours visible en bas de l\'écran.<br/><br/>
626
+
627
+ Le <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank"> module GridView</a> est un complément qui permet une présentation en tableau des produits de la boutique.<br/><br/>
628
+
629
+ <a href="http://www.instinct.co.nz/wp-campaign-monitor/100">WP Campaign Monitor</a> est un kit email newsletter. Il permet d\'organiser des campagnes marketing par courriel.');
630
+
631
+
632
+ define('TXT_WPSC_POWERED_BY', 'Ce plug-in WP e-commerce (boutique) est conçue par ');
633
+
634
+ define('TXT_WPSC_NO_PURCHASES', 'Il n\'y a pas encore eu de ventes réalisées.');
635
+
636
+
637
+ define('TXT_WPSC_DELIVERY_ADDRESS', 'Adresse de livraison');
638
+ define('TXT_WPSC_DELIVERY_CITY', 'Ville de livraison');
639
+ define('TXT_WPSC_DELIVERY_COUNTRY', 'Pays de livraison');
640
+ define('TXT_WPSC_MP3_SETTINGS', 'Réglages MP3');
641
+ define('TXT_WPSC_MP3_SETTINGS_DESCRIPTION', 'To create the 30 second MP3 file clips, this plugin needs <a href=\'http://sox.sourceforge.net/\'>SoX</a> compiled with MP3 support, enter the path to SoX here.');
642
+ define('TXT_WPSC_SOX_PATH', 'SoX Path');
643
+ define('TXT_WPSC_PREVIEW', 'Aperçu');
644
+ define('TXT_WPSC_DOWNLOAD_CSV', 'Télécharger le fichier CSV');
645
+ define('TXT_WPSC_PREVIEW_FILE', 'Preview File');
646
+ define('TXT_WPSC_NEW_PREVIEW_FILE', 'New Preview File');
647
+ define('TXT_WPSC_REPLACE_PRODUCT', 'Replace Product');
648
+ define('TXT_WPSC_TOTALSHIPPING', 'Total Shipping');
649
+ define('TXT_WPSC_DISPLAY_FRONT_PAGE', 'Affichage en page d\'accueil');
650
+ define('TXT_WPSC_SEARCH_FOR', 'Recherche');
651
+ define('TXT_WPSC_YOUR_SEARCH_FOR', 'Your search for');
652
+ define('TXT_WPSC_RETURNED_NO_RESULTS', 'returned no results.');
653
+ define('TXT_WPSC_POSTAGE', 'Postage');
654
+ define('TXT_WPSC_SUBTOTAL', 'Subtotal');
655
+
656
+
657
+ //everything under here needs translations, added after 19/1/2007
658
+
659
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Please enter a valid');
660
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Saisir votre prénom.');
661
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Saisir votre nom.');
662
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Saisir un courriel valide.');
663
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Saisir votre adresse.');
664
+ define('TXT_WPSC_PLEASEENTERAVALIDCITY', 'Saisir votre ville.');
665
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Saisir un numéro de téléphone valide.');
666
+ define('TXT_WPSC_PLEASESELECTCOUNTRY', 'SVP, choisir votre pays dans la liste.');
667
+ define('TXT_WPSC_PLEASEAGREETERMSANDCONDITIONS', 'SVP, cocher les conditions générales de vente. A défaut, votre commande ne pourra être prise en compte.');
668
+ define('TXT_WPSC_POSITION', 'Position');
669
+
670
+ define('TXT_WPSC_DELIVERY_REGION', 'Région de livraison');
671
+
672
+
673
+ define('TXT_WPSC_GENERAL_SETTINGS', 'Réglages généraux');
674
+ define('TXT_WPSC_TAX_SETTINGS', 'Fixation de la taxe (TVA)');
675
+ define('TXT_WPSC_POSTAGE_AND_TAX', 'Tarifs postaux ');
676
+ define('TXT_WPSC_GRID', 'Affichage en tableau');
677
+ define('TXT_WPSC_CANT_MOVE_CATEGORY', 'Il n\'est possible de déplacer un groupe de produits contenant des sous-groupes.');
678
+ define('TXT_WPSC_SURETODELETECATEGORY', 'Are you sure you want to delete this category? If the category has any subcategories, they will be deleted too.');
679
+ define('TXT_WPSC_VARIATION', 'Variante');
680
+ define('TXT_WPSC_OVER_TWO_VARIATIONS', 'Le contrôle des stocks et prix ne fonctionnent pas s\'il y a plus de deux variantes.');
681
+ define('TXT_WPSC_PRICE_AND_STOCK_CONTROL', 'Contrôle des stocks et prix') ;
682
+
683
+ // pe.{
684
+ define('TXT_WPSC_CATSBRANDSLOCATION', 'Lieu des groupes &amp; marques');
685
+ define('TXT_WPSC_DESCITEMSEPARATOR', ' : ');
686
+ define('TXT_WPSC_SEARCHITEMSEPARATOR', ' : ');
687
+ define('TXT_WPSC_SINGLE_SHIPPING_COUNTRY', 'Pays d\'expédition :');
688
+ define('TXT_WPSC_ADD_ANOTHER_VARIATION', 'Ajouter une variante');
689
+ // }.pe
690
+ define('TXT_WPSC_PRODUCT_CATEGORIES', 'Select Categories');
691
+ define('TXT_WPSC_THANKS_DELETED', 'Thanks, the purchase log record has been deleted');
692
+ define('TXT_WPSC_PRODUCT_IMAGE_PREVIEW', 'Product image');
693
+ define('TXT_WPSC_PRODUCT_THUMBNAIL_PREVIEW', 'Product thumbnail');
694
+ define('TXT_WPSC_REMOVE_LOG', 'Remove this record from the purchase log');
695
+ define('TXT_WPSC_CATSANDBRAND', 'Categories &amp; Brands');
696
+ define('TXT_WPSC_GOLD_DROPSHOP', 'DropShop');
697
+ define('TXT_WPSC_NEEDTOENABLEDROPSHOP', 'Les extensions Gold et DropShop doivent être installées.');
698
+ define('TXT_WPSC_DRAG_ITEM_HERE', 'Glisser chaque objet ici dans le panier.');
699
+ define('TXT_WPSC_SHOWCATEGORYTHUMBNAILS', 'Affichage de l\'icône du groupe de produits');
700
+ define('TXT_WPSC_SHOPPING_CART', 'Panier d\'achats');
701
+ define('TXT_WPSC_SHOW_SLIDING_CART', 'Utilisation du Sliding Cart');
702
+ define('TXT_WPSC_PREVIEW_FILE', 'Upload Preview');
703
+ define('TXT_WPSC_PREVIEW_FILE_NOTE', 'Note: If you do not upload a preview file and your server has sox compiled with MP3 support then a preview file will be created for you.');
704
+ define('TXT_WPSC_PURCHASE_NUMBER', 'Purchase No.');
705
+ define('TXT_WPSC_FILTER_ORDER', 'Filtrage des commandes');
706
+ define('TXT_WPSC_SHOW_SEARCH', 'Affichage du module Recherche');
707
+ define('TXT_WPSC_LOG_CURRENT_MONTH', 'Mois en cours');
708
+ define('TXT_WPSC_LOG_PAST_THREE_MONTHS', 'Trois derniers mois');
709
+ define('TXT_WPSC_LOG_ALL', 'Toutes');
710
+ define('TXT_SHOW_IMAGES_ONLY', 'Affiche seul de l\'image');
711
+ define('TXT_WPSC_SHOW_GALLERY', 'Affichage de la galerie d\'icônes');
712
+ define('TXT_WPSC_PLEASE_SELECT', 'Please select');
713
+ define('TXT_WPSC_TXN_ID', 'Transaction Id');
714
+ define('TXT_WPSC_SINGLE_PRODUCTTHUMBNAILSIZE', 'Dimensions de l\'image d\'un produit');
715
+ define('TXT_WPSC_RESET', 'Reset');
716
+ define('TXT_WPSC_ORDER_PENDING', 'Thank you, your purchase is pending, you will be sent an email once the order clears.');
717
+ define('TXT_WPSC_ORDER_FAILED', 'We\'re Sorry, your order has not been accepted, the most likely reason is that you have insufficient funds.');
718
+ // Adrian - added for the options I added
719
+ define('TXT_WPSC_SHOW_CATEGORY_COUNT', 'Affichage du nombre de produits par groupe.');
720
+ define('TXT_WPSC_CATSPRODS_DISPLAY_TYPE', 'Affichage Groupes / Produits');
721
+ define('TXT_WPSC_CATSPRODS_TYPE_CATONLY', 'Tous les produits du groupe affichés)');
722
+ define('TXT_WPSC_CATSPRODS_TYPE_SLIDEPRODS', 'Diaporama (1 produit par page)');
723
+ // Adrian - END new added options
724
+ define('TXT_WPSC_ORDER_DETAILS', 'Détails de la commande');
725
+ define('TXT_WPSC_SAVE_PROFILE', 'Sauver le profil');
726
+ define('TXT_WPSC_USERACCOUNTURL', 'Page de la gestion de compte utilisateur ');
727
+ define('TXT_WPSC_MUST_BE_LOGGED_IN', 'Vous devez être connecté pour accéder à cette page. SVP, utilisez le formulaire ci-dessous :');
728
+ define('TXT_WPSC_YOUR_ACCOUNT', 'Votre compte');
729
+
730
+ define('TXT_WPSC_YOU_JUST_ADDED', 'Vous venez d\'ajouter "[product_name]" dans votre panier.');
731
+ define('TXT_WPSC_SORRY_NONE_LEFT', 'Désolé, ce produit "[product_name]" est épuisé.');
732
+
733
+ define('TXT_WPSC_CONTINUE_SHOPPING', 'Continue Shopping');
734
+ define('TXT_WPSC_ITEM_GONE_OUT_OF_STOCK', 'It appears that an item has gone out of stock, please go back and edit your order.');
735
+ define('TXT_WPSC_DISPLAY_FANCY_NOTIFICATIONS', 'Affichage d\'alerte en cas d\'achat fantaisiste');
736
+ define('TXT_WPSC_IF_USER_CHECKOUT', 'Si vous avez déjà un compte,');
737
+ define('TXT_WPSC_LOG_IN', 'connectez-vous.');
738
+ define('TXT_WPSC_IS_DONATION', 'Ce produit est en mode donation ? ');
739
+ define('TXT_WPSC_DONATION', 'Donation');
740
+ define('TXT_WPSC_DONATION_LC', 'donation');
741
+ define('TXT_WPSC_DONATION_SHIPPING', 'No shipping for donations');
742
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT_URL', 'Product Filename');
743
+ define('TXT_WPSC_FILETOBEPRODUCTURL', 'Note: Upload your file to the e-commerce files directory and enter the filename here.');
744
+ define('TXT_WPSC_DONATIONS', 'Donations');
745
+ define('TXT_WPSC_WRONG_FILE_PERMS', 'The following directories are not writable: :directory: You won\'t be able to upload any images or files here. You will need to change the permissions on these directories to make them writable.');
746
+ define('TXT_WPSC_RESET_API', 'Supprimer la clé');
747
+ define('TXT_WPSC_PRODUCTS_PER_PAGE', 'Produits par page');
748
+ define('TXT_WPSC_OPTION_PRODUCTS_PER_PAGE', 'Nombre de produits par page');
749
+ define('TXT_WPSC_PAGE_NUMBER_POSITION', 'Position du numéro de page ');
750
+
751
+
752
+ define('TXT_WPSC_YOUR_BILLING_CONTACT_DETAILS', '1. Informations pour la facturation');
753
+ define('TXT_WPSC_DELIVER_TO_A_FRIEND', '2. Données pour l\'expédition');
754
+ define('TXT_WPSC_E_COMMERCE', 'e-Commerce');
755
+ define('TXT_WPSC_THANKS_SAVED', 'Merci, les changements sont pris en compte.');
756
+ define('TXT_WPSC_REGISTER', 'Enregister');
757
+ define('TXT_WPSC_TAX', 'Taxe (TVA)');
758
+
759
+ define('TXT_WPSC_USE_SHIPPING', 'Utiliser l\'expédition');
760
+ define('TXT_WPSC_USE_SHIPPING_DESCRIPTION', 'Cocher non si vous ne vendez que des fichiers téléchargeables.');
761
+
762
+ define('TXT_WPSC_PAGESETTINGS', 'Réglages de pagination');
763
+ define('TXT_WPSC_USE_PAGINATION', 'Utiliser la pagination');
764
+ define('TXT_WPSC_ADD_PRODUCT', 'Ajouter le produit');
765
+ define('TXT_WPSC_EDIT_PRODUCT', 'Modifier le produit');
766
+ define('TXT_WPSC_UPDATE_PAGE_URLS', 'Mettre à jour les URLs');
767
+ define('TXT_WPSC_VARIATIONS_AND_SPECIALS_DONT_MIX', 'Note: Il n\'est pas possible d\'affecter un prix spécial à un produit avec variantes');
768
+ define('TXT_WPSC_PRODUCT_SPECIALS', 'Produits spéciaux');
769
+ define('TXT_WPSC_SHOW_SHARE_THIS', 'Affichage des rétro-liens (réseaux sociaux)');
770
+ define('TXT_WPSC_SHOW_NO_PRODUCT', 'Pas de produit');
771
+ define('TXT_WPSC_CHOOSE_DOWNLOADABLE_PRODUCT', 'Choisir le fichier en téléchargement pour ce produit :');
772
+ define('TXT_WPSC_PLEASECHOOSE', 'SVP, Choisissez');
773
+
774
+ define('TXT_WPSC_VARIATION_CONTROL', 'Contrôle des variantes');
775
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_SINGLE', ':variation1: Control');
776
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_PAIR', ':variation1: and :variation2: Control');
777
+ define('TXT_WPSC_VIEW_PREVIEW_CLIP', 'View Preview Clip');
778
+ define('TXT_WPSC_REQUIRE_REGISTRATION', 'Le client doit-il être pré-enregistré sur le site avant de commander ? ');
779
+ define('TXT_WPSC_PLEASE_LOGIN', 'Connectez-vous ou enregistrez-vous avant d\'effectuer un achat');
780
+ define('TXT_WPSC_IF_JUST_REGISTERED', 'Si vous venez tout juste de vous enregistrer, bien vérifier vos courriels pour finir la procédure de validation de votre compte.');
781
+ define('TXT_WPSC_SELECT_THEME', 'Choix du thème ');
782
+ define('TXT_WPSC_NEW_ORDER_PENDING_SUBJECT', 'Nouvelle commande en attente');
783
+ define('TXT_WPSC_NEW_ORDER_PENDING_BODY', "Nouvelle commande en attente : \n\r ");
784
+ define('TXT_WPSC_NO_SHIPPING', "Sans transport");
785
+ define('TXT_WPSC_DEFAULT_MEMBERS_ONLY', "Cette page est réservée aux seuls membres, connectez-vous !");
786
+ define('TXT_WPSC_MEMBERSHIP_CONTROL', "Contrôle des adhérants");
787
+ define('TXT_WPSC_PRODUCT_MEMBER_STATUS', "Ce produit est-il une adhésion ?");
788
+ define('TXT_WPSC_PRODUCT_MEMBERSHIP_LENGTH', "Durée d\'adhésion");
789
+ define('TXT_WPSC_DAYS', "Jours");
790
+ define('TXT_WPSC_MONTHS', "Mois");
791
+ define('TXT_WPSC_YEARS', "Années");
792
+ define('TXT_WPSC_MEMBERS_SUBSCRIPTION_ENDED', "Votre adhésion a expirée.");
793
+ define('TXT_WPSC_ACTIVATE_SETTINGS_MEMBERS', 'Paramétrages : Module d\'abonnements');
794
+ define('TXT_WPSC_GOLD_CART', 'Gold Cart');
795
+ define('TXT_WPSC_SHOW_CATEGORY_DESCRIPTION', 'Afficher la description du groupe de produits ');
796
+ define('TXT_WPSC_ALSO_BOUGHT', 'People who bought this item also bought');
797
+ define('TXT_WPSC_MARKETING_SETTINGS', 'Paramètres Marketing');
798
+ define('TXT_WPSC_OPTION_ALSO_BOUGHT', 'Affichage ventes combinées');
799
+ define('TXT_WPSC_MARKETING', 'Marketing');
800
+ define('TXT_WPSC_DISPLAYCOUPONS', 'Coupons');
801
+ define('TXT_WPSC_ADD_COUPON', 'Ajouter un coupon');
802
+ define('TXT_WPSC_COUPON', 'Coupon');
803
+ define('TXT_WPSC_ADDCOUPONS', 'Ajouter des coupons');
804
+ define('TXT_WPSC_COUPON_CODE', 'Code du coupon');
805
+ define('TXT_WPSC_DISCOUNT', 'Remise');
806
+ define('TXT_WPSC_START', 'Début');
807
+ define('TXT_WPSC_EXPIRY', 'Expiration');
808
+ define('TXT_WPSC_USE_ONCE', 'Usage unique');
809
+ define('TXT_WPSC_ACTIVE', 'Activé');
810
+ define('TXT_WPSC_COUPONHASBEENADDED', 'Le coupon est ajouté.');
811
+ define('TXT_WPSC_COUPON', 'Coupon');
812
+ define('TXT_WPSC_COUPON_DOESNT_EXIST', 'Ce coupon de remise a expiré ou n\'existe pas.');
813
+ define('TXT_WPSC_PRODUCT_TAGS', 'Mots clés');
814
+
815
+ define('TXT_WPSC_DROPSHOPDISPLAY', 'Affichage DropShop');
816
+ define('TXT_WPSC_HIDEADDTOCARTBUTTON', 'Masquer le bouton "Ajouter au panier" ');
817
+
818
+ //define('TXT_WPSC_PRODUCT_TAGS', 'Product Tags');
819
+
820
+ define('TXT_WPSC_SHOW_DROPSHOP_ALL', 'Afficher la Dropshop sur chaque page ');
821
+ define('TXT_WPSC_SHOW_DROPSHOP_PRODUCT', 'Afficher la Dropshop sur la seule page produit ');
822
+ define('TXT_WPSC_PRICEAFTERDISCOUNT', 'Prix après remise');
823
+ define('TXT_WPSC_ECOM_NEWS', 'e-Commerce News');
824
+ define('TXT_WPSC_SAVE_PRODUCT_ORDER', 'Sauver la commande');
825
+
826
+ define('TXT_WPSC_ECOMMERCE_SUBSCRIBERS', 'Abonnés e-Commerce');
827
+ define('TXT_WPSC_USERID', 'User ID');
828
+ define('TXT_WPSC_REGISTEREDDATE', 'Registered Date');
829
+ define('TXT_WPSC_SUSPEND', 'Suspend');
830
+ define('TXT_WPSC_ACTIVATE', 'Activate');
831
+
832
+
833
+ define('TXT_WPSC_DROPSHOP_LIGHT', 'Dropshop : Style clair ');
834
+ define('TXT_WPSC_DROPSHOP_DARK', 'Dropshop : Style sombre ');
835
+
836
+
837
+ define('TXT_WPSC_MANUAL_PAYMENT', 'Manual Payment');
838
+ define('TXT_WPSC_CREDIT_CARD', 'Credit Card');
839
+ define('TXT_WPSC_CREDIT_CARD_AND_MANUAL_PAYMENT', 'Manual Payment and Credit Card');
840
+ define('TXT_WPSC_PAYMENT_INSTRUCTIONS', 'Enter the manual payment instructions that you wish to display');
841
+
842
+ define('TXT_WPSC_SHOWALL', "Show All");
843
+ define('TXT_WPSC_PRICE_RANGE', "Price Range");
844
+ define('TXT_WPSC_GOOGLE_RISK_AVS', "Address verification failed");
845
+ define('TXT_WPSC_GOOGLE_RISK_CVN', "Credit card verification failed");
846
+ define('TXT_WPSC_GOOGLE_RISK_BOTH', "Credit card and Address verification failed");
847
+ define('TXT_WPSC_GOOGLE_RISK', 'Google Risk');
848
+ define('TXT_WPSC_CANCEL_ORDER', 'Cancel this order');
849
+ define('TXT_WPSC_FIRST_NAME', 'Prénom');
850
+ define('TXT_WPSC_LAST_NAME', 'Nom');
851
+ define('TXT_WPSC_DELIVERY_FIRST_NAME', 'Livraison : prénom');
852
+ define('TXT_WPSC_DELIVERY_LAST_NAME', 'Livraison : nom');
853
+ define('TXT_WPSC_DELIVERY_STATE', 'Delivery State');
854
+ define('TXT_WPSC_SHIPWIREEMAIL', 'ShipWire Email');
855
+ define('TXT_WPSC_SHIPWIREPASSWORD', 'ShipWire Password');
856
+ define('TXT_WPSC_SHIPWIRESETTINGS', 'ShipWire Settings');
857
+ define('TXT_WPSC_NO_DOWNLOADABLES', 'You have not purchased any downloadable products yet.');
858
+ define('TXT_DISPLAY_VARIATIONS', 'Display Variations');
859
+
860
+
861
+ define('TXT_WPSC_NONAME', 'Pas de nom');
862
+ define('TXT_WPSC_WEIGHT', 'Poids');
863
+ define('TXT_WPSC_LOG_TRANSACTIONACCEPTEDLOGS', 'Uniquement celles à paiement accepté');
864
+ define('TXT_WPSC_SEARCHEMAIL', 'Chercher par courriel');
865
+
866
+ ?>
languages/HU_hu.php ADDED
@@ -0,0 +1,494 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ This is a language file for the WP Shopping Cart plugin version 2.6.5 beta
4
+  supplied by Norbert - pronex@pronex.hu
5
+ */
6
+
7
+ define('TXT_WPSC_IMAGESIZEINFO', 'Figyelem: Ha ide nem ír számokat, a kép nem lesz átméretezve');
8
+ define('TXT_WPSC_RECEIVED', 'A megrendelést megkaptuk');
9
+ define('TXT_WPSC_ORDER_STATUS', 'A megrendelés állapota');
10
+ define('TXT_WPSC_ORDER_SUMMARY', 'Megrendelés összesítő');
11
+ define('TXT_WPSC_LANGUAGE', 'Nyelv');
12
+ define('TXT_WPSC_ACCEPTED_PAYMENT', 'Fizetőeszköz');
13
+ define('TXT_WPSC_JOB_DISPATCHED', 'Job Dispatched');
14
+ define('TXT_WPSC_PROCESSED', 'Lezárt megrendelés');
15
+ define('TXT_WPSC_ECOMMERCE', 'Webáruház');
16
+ define('TXT_WPSC_OPTIONS', 'Webáruház beállítások');
17
+ define('TXT_WPSC_ADDPRODUCTS', 'Termék hozzáadása');
18
+ define('TXT_WPSC_SENDSMS', 'SMS küldés');
19
+ define('TXT_WPSC_PRODUCTS', 'Termékek');
20
+ define('TXT_WPSC_ADDCATEGORY', 'Kategória hozzáadás');
21
+ define('TXT_WPSC_CATEGORIES', 'Kategóriák');
22
+ define('TXT_WPSC_BRANDS', 'Márkák');
23
+ define('TXT_WPSC_VARIATIONS', 'Variációk');
24
+ define('TXT_WPSC_PURCHASELOG', 'Megrendelés összesítő');
25
+ define('TXT_WPSC_ORDER_LOG', 'Rendelések');
26
+ define('TXT_WPSC_OLDER_ORDERS', 'Régebbi rendelések');
27
+ define('TXT_WPSC_ORDER', 'Megrendelés');
28
+ define('TXT_WPSC_TOTAL_THIS_MONTH', 'Ehavi teljes bevétel');
29
+ define('TXT_WPSC_MONTHLY_REPORT', 'Féléves jelentés');
30
+ define('TXT_WPSC_TOTAL_INCOME', 'Teljes bevétel');
31
+ define('TXT_WPSC_ACCEPTED_PAYMENTS', '(elfogadott fizetőeszközök)'); //texr has changed slightly
32
+ define('TXT_WPSC_PAYMENTGATEWAYOPTIONS', 'Bankkártyás fizetés');
33
+ define('TXT_WPSC_HELPINSTALLATION', 'Súgó');
34
+ define('TXT_WPSC_EXAMPLECATEGORY', 'Példa kategória');
35
+ define('TXT_WPSC_EXAMPLEDETAILS', 'Példa adatok');
36
+ define('TXT_WPSC_EXAMPLEBRAND', 'Példa márka');
37
+ define('TXT_WPSC_PRODUCTIMAGEWIDTH', 'Termékkép szélessége');
38
+ define('TXT_WPSC_PRODUCTIMAGEHEIGHT', 'Termékkép magassága');
39
+ define('TXT_WPSC_CATEGORYIMAGEWIDTH', 'Kategóriakép szélessége');
40
+ define('TXT_WPSC_CATEGORYIMAGEHEIGHT', 'Kategóriakép magassága');
41
+ define('TXT_WPSC_PRODUCTLISTURL', 'Terméklista helye');
42
+ define('TXT_WPSC_SHOPPINGCARTURL', 'Kosár helye');
43
+ define('TXT_WPSC_CHECKOUTURL', 'Kosár-ellenőrző oldal helye');
44
+ define('TXT_WPSC_TRANSACTURL', 'A megrendelési adatok helye');
45
+ define('TXT_WPSC_PAYMENTGATEWAY', 'Bannkártyás fizetés');
46
+ define('TXT_WPSC_CARTLOCATION', 'Itt jelezze ki a kosarat');
47
+ define('TXT_WPSC_SHOWCATEGORYBRANDS', 'Kategóriák/termékek vagy mindkettő mutatása');
48
+ define('TXT_WPSC_CURRENCYTYPE', 'Pénznem');
49
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Currency sign location');
50
+ define('TXT_WPSC_GSTRATE', 'the GST rate');
51
+ define('TXT_WPSC_MAXDOWNLOADS', 'the download limit');
52
+ define('TXT_WPSC_DISPLAYPNP', 'Szállításai és postaköltsége elrejt/mutat');
53
+ define('TXT_WPSC_DISPLAYSPECIALS', 'Akciós ajánlatok az oldalsávban elrejt/mutat');
54
+ define('TXT_WPSC_POSTAGEAND_PACKAGING', 'Szállítási és postakölstég');
55
+ define('TXT_WPSC_PURCHLOGEMAIL', 'E-mail cím, amelyre az értesítő kimegy');
56
+ define('TXT_WPSC_RETURNEMAIL', 'E-mail cím, amely az értesítő feladója');
57
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Vásárlási feltételek megtekintése');
58
+ define('TXT_WPSC_DEFAULTBRAND', 'Alapbeállítás márka');
59
+ define('TXT_WPSC_DEFAULTCATEGORY', 'Alapbeállítás kategória');
60
+ define('TXT_WPSC_PAYPALBUSINESS', 'paypal business');
61
+ define('TXT_WPSC_PAYPALURL', 'paypal url');
62
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Termék ');
63
+ define('TXT_WPSC_PRODUCTSPAGE', 'Termékek-besorolás mutatása');
64
+ define('TXT_WPSC_CHECKOUT', 'Ellenzőrzés');
65
+ define('TXT_WPSC_ENTERDETAILS', 'Adja meg az alábbi adatokat');
66
+ define('TXT_WPSC_TRANSACTIONRESULTS', 'A megrendelés eredménye');
67
+ define('TXT_WPSC_SELECTACATEGORY', 'Válasszon kategóriát');
68
+ define('TXT_WPSC_SELECTABRAND', 'Válasszon márkát');
69
+ define('TXT_WPSC_PRODUCTNAME', 'A termék neve');
70
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Leírás');
71
+ define('TXT_WPSC_ADDITIONALDESCRIPTION', 'Bővebben');
72
+ define('TXT_WPSC_PRICE', 'Ára');
73
+ define('TXT_WPSC_TAXALREADYINCLUDED', 'Do not include tax (tax is set in shop config)'); // this text has changed and needs updating
74
+ define('TXT_WPSC_SPECIAL', 'Special / Sale Price'); // this text has changed and needs updating
75
+ define('TXT_WPSC_PRODUCT_DISPLAY', 'Product Display');
76
+
77
+ define('TXT_WPSC_PRODUCTSTOCK', 'Product Stock');
78
+
79
+ define('TXT_WPSC_UNTICKBOX', 'I have a limited number of this item in stock. If the stock runs out, this product will not be available on the shop unless you untick this box or add more stock.');
80
+ define('TXT_WPSC_LIMITED_STOCK', 'Limited Stock');
81
+
82
+ define('TXT_WPSC_CATEGORY', 'Kategória');
83
+ define('TXT_WPSC_BRAND', 'Márka');
84
+ define('TXT_WPSC_PRODUCT_VARS', 'Termék variációk - méret, szín stb');
85
+ define('TXT_WPSC_ADD_VAR', 'Add Variation Set');
86
+ define('TXT_WPSC_EDIT_VAR', 'Edit Variation Set');
87
+ define('TXT_WPSC_SELECTAVARIATION', 'Select a Variation');
88
+ define('TXT_WPSC_NEW_VARIATION', 'Create a new Variation');
89
+
90
+ define('TXT_WPSC_PRODUCTATT', 'Product Attachments');
91
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT', 'Letölthető termék');
92
+ define('TXT_WPSC_FILETOBEPRODUCT', 'Note: if this is filled in, the file uploaded will be the product to be purchased.');
93
+ define('TXT_WPSC_RESIZEIMAGE', 'Resize Thumbnail');
94
+ define('TXT_WPSC_DONOTRESIZEIMAGE', 'do not resize thumbnail.');
95
+ // define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'use default height and width');
96
+ // define('TXT_WPSC_USE', 'use');
97
+ // define('TXT_WPSC_PXHEIGHTBY', 'px height by');
98
+ // define('TXT_WPSC_PXWIDTH', 'px width.');
99
+
100
+ // pe.{
101
+ //define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'use default height and width');
102
+ // }.pe
103
+ define('TXT_WPSC_SEPARATETHUMBNAIL', 'use separate thumbnail'); // Needs Translation
104
+ define('TXT_WPSC_USE', 'use'); // Needs Translation
105
+ // pe.{
106
+ define('TXT_WPSC_USEDEFAULTSIZE', 'use default size'); // Needs Translation
107
+ define('TXT_WPSC_USESPECIFICSIZE', 'use specific size'); // Needs Translation
108
+ define('TXT_WPSC_PXHEIGHT', 'px height'); // Needs Translation
109
+ define('TXT_WPSC_PXWIDTH', 'px width'); // Needs Translation
110
+ // }.pe
111
+
112
+ define('TXT_WPSC_PREVIEW', 'Preview');
113
+ define('TXT_WPSC_UPLOADNEWIMAGE', 'Replace Image');
114
+ define('TXT_WPSC_DELETEIMAGE', 'Delete Image');
115
+ define('TXT_WPSC_EDIT', 'Edit');
116
+ define('TXT_WPSC_DELETE', 'Delete');
117
+ define('TXT_WPSC_REMOVE', 'Remove');
118
+ define('TXT_WPSC_NAME', 'Name');
119
+ define('TXT_WPSC_TYPE', 'Type');
120
+ define('TXT_WPSC_MANDATORY', 'Mandatory');
121
+ define('TXT_WPSC_DISPLAY_IN_LOG', 'Display<br /> in Log');
122
+ define('TXT_WPSC_DESCRIPTION', 'Description');
123
+ define('TXT_WPSC_CATEGORY_PARENT', 'Category Parent');
124
+ define('TXT_WPSC_IMAGE', 'Image');
125
+ define('TXT_WPSC_HEIGHT', 'Height');
126
+ define('TXT_WPSC_WIDTH', 'Width');
127
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Please enter a valid');
128
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Please enter a valid name');
129
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Please enter a valid surname');
130
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Please enter a valid email address');
131
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Please enter a valid address');
132
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Please enter a valid phone number');
133
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'You have not agreed to the terms and conditions');
134
+ define('TXT_WPSC_NOTHINGINYOURSHOPPINGCART', 'There is nothing in your shopping cart');
135
+ define('TXT_WPSC_SPECIALS', 'Specials');
136
+ define('TXT_WPSC_BUY', 'Buy');
137
+ define('TXT_WPSC_SHOPPINGCART', 'Shopping Cart');
138
+ define('TXT_WPSC_NUMBEROFITEMS', 'Number of items');
139
+ define('TXT_WPSC_NOMOREAVAILABLE', 'This Product is out of stock.');
140
+ define('TXT_WPSC_EMPTYYOURCART', 'Empty your cart');
141
+ define('TXT_WPSC_GOTOCHECKOUT', 'Go to Checkout');
142
+ define('TXT_WPSC_CONTINUESHOPPING', 'Continue shopping');
143
+ define('TXT_WPSC_YOURSHOPPINGCARTISEMPTY', 'Your shopping cart is empty');
144
+ define('TXT_WPSC_VISITTHESHOP', 'Visit the shop');
145
+ define('TXT_WPSC_PAGES', 'Pages');
146
+ define('TXT_WPSC_OUTOF', 'Out of');
147
+ define('TXT_WPSC_VOTES', 'votes.');
148
+ define('TXT_WPSC_CLICKSTARSTORATE', 'Click stars to rate');
149
+ define('TXT_WPSC_AVERAGERATINGOF', 'Average rating of');
150
+ define('TXT_WPSC_YOURVOTE', 'Your vote');
151
+ define('TXT_WPSC_AVERAGEVOTE', 'Average vote');
152
+ define('TXT_WPSC_YOUHAVEVOTED', 'You have voted');
153
+ define('TXT_WPSC_NOVOTES', 'No Votes');
154
+ define('TXT_WPSC_1VOTE', '1 Vote');
155
+ define('TXT_WPSC_VOTES2', 'Votes');
156
+ define('TXT_WPSC_PERSONGIVEN', 'person has given this image');
157
+ define('TXT_WPSC_PERSONGIVEN2', 'stars.');
158
+ define('TXT_WPSC_PEOPLEGIVEN', 'people have given this image');
159
+ define('TXT_WPSC_PEOPLEGIVEN2', 'stars.');
160
+ define('TXT_WPSC_ITEMHASBEENADDED', 'The item has been added');
161
+ define('TXT_WPSC_ITEMHASNOTBEENADDED', 'The item has not been added');
162
+ define('TXT_WPSC_ADDNEWCATEGORY', 'Add New Category');
163
+ define('TXT_WPSC_SUBMIT', 'Submit');
164
+ define('TXT_WPSC_SELECTAVALIDCATEGORY', 'Please select a valid Category');
165
+ define('TXT_WPSC_PRODUCTNAME', 'Product Name');
166
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Product Description');
167
+ define('TXT_WPSC_ADDNEWPRODUCT', 'Add Product');
168
+ define('TXT_WPSC_PRODUCTQUANTITY', 'Productquantity');
169
+ define('TXT_WPSC_PRODUCTIMAGE', 'Product Image');
170
+ define('TXT_WPSC_PRODUCTPRICE', 'Product Price');
171
+ define('TXT_WPSC_NOTAX', 'No tax');
172
+ define('TXT_WPSC_ABOUT', 'About');
173
+ define('TXT_WPSC_ABOUTCONTENT', 'Welcome to the e-commerce panel. <br /><br /><strong>Note:</strong> on some setups, the shopping cart may empty on every page load, if this happens, you will have to add this line:<br /><br />session_start();<br /><br />to the index.php file in the base wordpress directory.<br />');
174
+ define('TXT_WPSC_CONTACTDETAILS', 'Please enter your contact details:');
175
+ define('TXT_WPSC_CREDITCARDHANDY', 'Note, Once you press submit, you will need to have your Credit card handy.');
176
+ define('TXT_WPSC_ASTERISK', 'Fields marked with an asterisk must be filled in.');
177
+ define('TXT_WPSC_FIRSTNAME', 'First Name');
178
+ define('TXT_WPSC_LASTNAME', 'Last Name');
179
+ define('TXT_WPSC_EMAIL', 'Email');
180
+ define('TXT_WPSC_ADDRESS', 'Address');
181
+ define('TXT_WPSC_ADDRESS1', 'Address 1');
182
+ define('TXT_WPSC_ADDRESS2', 'Address 2');
183
+ define('TXT_WPSC_CITY', 'City');
184
+ define('TXT_WPSC_COUNTRY', 'Country');
185
+ define('TXT_WPSC_PHONE', 'Phone');
186
+ define('TXT_WPSC_TERMS1', 'I agree to The ');
187
+ define('TXT_WPSC_TERMS2', 'Terms and Conditions');
188
+
189
+
190
+ define('TXT_WPSC_TEXT', 'Text');
191
+ define('TXT_WPSC_TEXTAREA', 'Textarea');
192
+ define('TXT_WPSC_HEADING', 'Heading');
193
+
194
+ define('TXT_WPSC_MAKEPURCHASE', 'Make Purchase');
195
+ define('TXT_WPSC_BUYPRODUCTS', 'Please buy some products before using this page');
196
+ define('TXT_WPSC_BRANDHASBEENEDITED', 'The brand has been edited.');
197
+ define('TXT_WPSC_SURETODELETEPRODUCT', 'Are you sure you want to delete this product?');
198
+ define('TXT_WPSC_ADDBRAND', 'Add Brand');
199
+ define('TXT_WPSC_DISPLAYBRANDS', 'Display Brands');
200
+ define('TXT_WPSC_EDITBRAND', 'Edit Brand');
201
+ define('TXT_WPSC_ADD', 'Add');
202
+ define('TXT_WPSC_ADD_NEW_FORM', 'Add New Form Field');
203
+ define('TXT_WPSC_SAVE_CHANGES', 'Save Changes');
204
+
205
+ define('TXT_WPSC_CATEGORYHASBEENEDITED', 'The category has been edited.');
206
+ define('TXT_WPSC_DISPLAYCATEGORIES', 'Display Categories');
207
+ define('TXT_WPSC_ADDCATEGORY', 'Add Category');
208
+ define('TXT_WPSC_EDITCATEGORY', 'Edit Category');
209
+ define('TXT_WPSC_ALLCATEGORIES', 'All Categories');
210
+
211
+ define('TXT_WPSC_DISPLAYVARIATIONS', 'Display Variations');
212
+ define('TXT_WPSC_ADDVARIATION', 'Add Variation Set');
213
+ define('TXT_WPSC_EDITVARIATION', 'Edit Variation Set');
214
+ define('TXT_WPSC_VARIATIONHASBEENEDITED', 'The variation has been edited.');
215
+ define('TXT_WPSC_VARIATION_VALUES', 'Variation Values');
216
+ define('TXT_WPSC_REMOVE_SET', 'Remove This Set'); //this needs to be translated
217
+
218
+ define('TXT_WPSC_SELECT_PARENT', 'Select Parent');
219
+ define('TXT_WPSC_PRODUCTHASBEENEDITED', 'The product has been edited.');
220
+ define('TXT_WPSC_ADDPRODUCT', 'Add Product');
221
+ define('TXT_WPSC_DISPLAYPRODUCTS', 'Display Products');
222
+ define('TXT_WPSC_PLEASESELECTACATEGORY', 'Please Select a Category');
223
+ define('TXT_WPSC_STOCK', 'Stock');
224
+ define('TXT_WPSC_PNP', 'PnP');
225
+ define('TXT_WPSC_EDITITEM', 'Edit Item');
226
+ define('TXT_WPSC_PRODUCTDETAILS', 'Product Details');
227
+ define('TXT_WPSC_SELECT_PRODUCT', 'Select an Existing Product');
228
+ define('TXT_WPSC_ENTERPRODUCTDETAILSHERE', '(enter in your product details here)');
229
+ define('TXT_WPSC_ADDITIONALPRODUCTDESCRIPTION', 'Additional Product Description');
230
+ define('TXT_WPSC_ADDITEM', 'Add Item');
231
+ define('TXT_WPSC_CHOOSEACATEGORY', 'Choose a Category');
232
+ define('TXT_WPSC_CHOOSEABRAND', 'Choose a Brand');
233
+ define('TXT_WPSC_USETHEACTUALIMAGE', 'use the actual image. No resize.');
234
+ define('TXT_WPSC_DISPLAYPURCHASES', 'Purchase Log');
235
+ define('TXT_WPSC_ID', 'ID');
236
+ define('TXT_WPSC_TRANSACTIONSTATUS', 'Transaction Status');
237
+ define('TXT_WPSC_DATE', 'Date');
238
+ define('TXT_WPSC_VIEWDETAILS', 'Details'); //Text has changed - translation is needed
239
+ define('TXT_WPSC_STATUS', 'Status');
240
+ define('TXT_WPSC_SUCCESSFUL', 'Successful');
241
+ define('TXT_WPSC_FAILED', 'Failed');
242
+ define('TXT_WPSC_GST', 'GST');
243
+ define('TXT_WPSC_PP', 'P&amp;P');
244
+ define('TXT_WPSC_TOTAL', 'Total');
245
+ define('TXT_WPSC_FINALTOTAL', 'Final Total');
246
+ define('TXT_WPSC_CUSTOMERDETAILS', 'Customer Details');
247
+ define('TXT_WPSC_USERSCARTWASEMPTY', 'This users cart was empty');
248
+ define('TXT_WPSC_GOBACK', 'Go Back');
249
+ define('TXT_WPSC_THANKSAPPLIED', 'Thanks, your changes have been applied.');
250
+ define('TXT_WPSC_FORM_FIELDS', 'Checkout Options');
251
+ define('TXT_WPSC_PAYMENTGATEWAY2', 'Payment Gateway');
252
+ define('TXT_WPSC_PLEASESELECTAPAYMENTGATEWAY', 'Please Select A Payment Gateway');
253
+ define('TXT_WPSC_PAYMENTGATEWAYNOTE', '<strong>Note:</strong> This lite version of the e-Commerce plugin only allows you to interface with PayPal.<br /><br />If you are looking for a more profesional "non paypal solution" then we have a <a href="http://www.instinct.co.nz/blogshop">gold version of e-Commerce</a> available that interfaces seamlessly with authorize.net, DPS (www.dps.co.nz), and paystation (www.paystation.co.nz).');
254
+ define('TXT_WPSC_URLSETTINGS', 'URL Settings');
255
+ define('TXT_WPSC_PRODUCTLISTURL', 'Product List URL');
256
+ define('TXT_WPSC_SHOPPINGCARTURL', 'Shopping Cart URL');
257
+ define('TXT_WPSC_CHECKOUTURL', 'Checkout URL');
258
+ define('TXT_WPSC_TRANSACTIONDETAILSURL', 'Transaction Details URL');
259
+ define('TXT_WPSC_PRESENTATIONSETTINGS', 'Presentation Settings');
260
+ define('TXT_WPSC_CARTLOCATION', 'Cart Location');
261
+ define('TXT_WPSC_SIDEBAR', 'Sidebar');
262
+ define('TXT_WPSC_PAGE', 'Page');
263
+ define('TXT_WPSC_WIDGET', 'Widget');
264
+ define('TXT_WPSC_NEEDTOENABLEWIDGET', 'You need to enable the widgets plugin to use this');
265
+ define('TXT_WPSC_MANUAL', 'Manual');
266
+ define('TXT_WPSC_SHOWCATEGORIESBRANDS', 'Show Categories/Brands');
267
+ define('TXT_WPSC_BOTH', 'Both');
268
+ define('TXT_WPSC_PRODUCTTHUMBNAILSIZE', 'Default Product Thumbnail Size');
269
+ define('TXT_WPSC_CATEGORYTHUMBNAILSIZE', 'Default Category Thumbnail Size');
270
+ define('TXT_WPSC_SHOWPOSTAGEANDPACKAGING', 'Show Postage and Packaging');
271
+ define('TXT_WPSC_YES', 'Yes');
272
+ define('TXT_WPSC_NO', 'No');
273
+ define('TXT_WPSC_SHOWSPECIALS', 'Show Specials');
274
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Show Product Ratings');
275
+ define('TXT_WPSC_CURRENCYSETTINGS', 'Currency Settings');
276
+ define('TXT_WPSC_GSTTAXRATE', 'GST/Tax Rate');
277
+ define('TXT_WPSC_CURRENCYTYPE', 'Currency Type');
278
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Currency Sign Location');
279
+ define('TXT_WPSC_DEFAULTPOSTAGEPACKAGING', 'Default Postage &amp; Packaging');
280
+ define('TXT_WPSC_ADMINISTRATIONSETTINGS', 'Administration Settings');
281
+ define('TXT_WPSC_MAXDOWNLOADSPERFILE', 'Max downloads per file');
282
+ define('TXT_WPSC_PURCHASELOGEMAIL', 'Purchase Log Email');
283
+ define('TXT_WPSC_REPLYEMAIL', 'Reply Email');
284
+ define('TXT_WPSC_BRANDNOCAP', 'brand');
285
+ define('TXT_WPSC_CATEGORYNOCAP', 'category');
286
+ define('TXT_WPSC_UDPATING', 'Updating');
287
+ define('TXT_WPSC_MOREDETAILS', 'More Details');
288
+ define('TXT_WPSC_ADDTOCART', 'Add To Cart');
289
+ define('TXT_WPSC_AVGCUSTREVIEW', 'Avg. Customer Rating');
290
+ define('TXT_WPSC_YOURRATING', 'Your Rating');
291
+ define('TXT_WPSC_RATING_SAVED', 'Saved');
292
+ define('TXT_WPSC_RATETHISITEM', 'Rate This item');
293
+ define('TXT_WPSC_PRODUCTSOLDOUT', 'This product has sold out.');
294
+ define('TXT_WPSC_NOITEMSINTHIS', 'There are no items in this');
295
+ define('TXT_WPSC_CATEGORYORBRAND', 'Category or Brand');
296
+ define('TXT_WPSC_PLEASECHOOSEA', 'Please choose a');
297
+ define('TXT_WPSC_PRODUCT', 'Product');
298
+ define('TXT_WPSC_QUANTITY', 'Quantity');
299
+ define('TXT_WPSC_QUANTITY_SHORT', 'Qty'); //translation needed
300
+ define('TXT_WPSC_APPLY', 'Apply');
301
+ define('TXT_WPSC_MAKEPAYMENT', 'Make Payment');
302
+ define('TXT_WPSC_EMPTYSHOPPINGCART', 'Empty shopping cart');
303
+ define('TXT_WPSC_TOTALPRICE', 'Total Price');
304
+ define('TXT_WPSC_NOITEMSINTHESHOPPINGCART', 'There are no items in the shopping cart');
305
+ define('TXT_WPSC_EMAILMSG1', "Thank you, the order has been accepted, any items to be shipped will be processed as soon as possible, any items that can be downloaded can be downloaded using the links on this page.\n\r\n\rAll prices include tax and postage and packaging where applicable.\n\r\n\rYou ordered these items:\n\r\n\r");
306
+ define('TXT_WPSC_EMAILMSG2', ".\n\rThese items were ordered:\n\r\n\r");
307
+ define('TXT_WPSC_CLICKTODOWNLOAD', 'Click here to download');
308
+ define('TXT_WPSC_DOWNLOAD', 'Download');
309
+ define('TXT_WPSC_YOURTRANSACTIONID', 'Your Transaction ID');
310
+ define('TXT_WPSC_TRANSACTIONID', 'Transaction ID');
311
+ define('TXT_WPSC_PURCHASERECEIPT', 'Purchase Receipt');
312
+ define('TXT_WPSC_PURCHASEREPORT', 'Purchase Report');
313
+ define('TXT_WPSC_THETRANSACTIONWASSUCCESSFUL', 'The Transaction was successful');
314
+ define('TXT_WPSC_THETRANSACTIONWASNOTSUCCESSFUL', 'The Transaction was not successful');
315
+ define('TXT_WPSC_GOBACKTOCHECKOUT', 'Go back to the checkout');
316
+ define('TXT_WPSC_SPECIALPRICE', 'Special Price');
317
+
318
+ define('TXT_WPSC_INSTRUCTIONS', '
319
+ To complete the installation you need to create the Product, Shopping Cart, Checkout and Transaction Result pages, and then hide the Shopping Cart, Checkout and Transaction Result pages so that they do not appear in the pages list.
320
+ <ul class=\'installation\'>
321
+ <li>Place contents of zip file in the wp-content/plugins directory.</li>
322
+ <li>Activate the plugin from the wordpress plugin page</li>
323
+ <li>Go to the "Payment Gateway Options" page in the "e-Commerce" tab, and enter in the appropriate details. (the default paypal gateway accessed is the paypal sandbox)</li>
324
+ <li>Create some Categories and Products using the Categories and Products pages</li>
325
+ </ul>
326
+ Expecting more? That\'s it.</p>
327
+ <h2>Wishlist Tip Jar</h2>
328
+ <p>Donations are in no way mandatory.<br /><br />
329
+ Yet, we have been spending considerable amounts of time writing, supporting and debugging WP e-commerce. Therefore, if you like what you see, and want to see more of it, feel free to help finance future releases by dropping a buck or two in the tip jar...</p>
330
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
331
+ <input type="hidden" name="cmd" value="_s-xclick">
332
+ <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">
333
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAh/vca+S7Em1KNH3rhwBRD1h4c0DdQSgmknr8mKQU7KfG5jSYXu5DD9oriGfYSDg+99ZtljIwtqvefC0wKdEJ0yFMGinWp9zGw2Xvu1s4S+pcH5IGax9KQo1WosnzA99F04MHQnqkxcfpTXCG8VLSf/r/rx8+++vVsYWNYN717+DELMAkGBSsOAwIaBQAwgcQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIHATWqFYRAjeAgaB2F/F90mbYo/5zGY/1AYtsQ35nRDtelewxW7iLHF41rzB3NidYEs2h+t/HS0MoGTBsAfVc94mxIzInI1pQt9n/hpF67XAr357KVwIoIOq52jDfDFlZV92BPMv00MHuj4LNtNq5I752I3SsNamhl1DfAqlWxnJsIibA1D3l8k67ccc04/JYjvsd89hYgf0lob7vQoZ8X5xNtlidM3qcAx4goIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMB4XDTA0MDIxMzEwMTMxNVoXDTM1MDIxMzEwMTMxNVowgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBR07d/ETMS1ycjtkpkvjXZe9k+6CieLuLsPumsJ7QC1odNz3sJiCbs2wC0nLE0uLGaEtXynIgRqIddYCHx88pb5HTXv4SZeuv0Rqq4+axW9PLAAATU8w04qqjaSXgbGLP3NmohqM6bV9kZZwZLR/klDaQGo1u9uDb9lr4Yn+rBQIDAQABo4HuMIHrMB0GA1UdDgQWBBSWn3y7xm8XvVk/UtcKG+wQ1mSUazCBuwYDVR0jBIGzMIGwgBSWn3y7xm8XvVk/UtcKG+wQ1mSUa6GBlKSBkTCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb22CAQAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQCBXzpWmoBa5e9fo6ujionW1hUhPkOBakTr3YCDjbYfvJEiv/2P+IobhOGJr85+XHhN0v4gUkEDI8r2/rNk1m0GA8HKddvTjyGw/XqXa+LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDYwMzA5MjA0ODA4WjAjBgkqhkiG9w0BCQQxFgQUCBfIACnHn+V2COlj8DDv2MsFJRIwDQYJKoZIhvcNAQEBBQAEgYCMXnxnBNyUy7axfHh9EDVq7HFzTvTsGwtmAUVesOyRNGwESXpukrX4rDOMNdHbbVToxa98uIKJUJPiYGBcpcUywtpZG1ZiDvYxoWgDh4zXx4w1QcJ96OjUPkHQ3q0UWY+p9GRxl+buhyjK62BxU5I0UaKc0H3QuATQB5+lbZdlgw==-----END PKCS7-----">
334
+ </form>
335
+ <h2>Customisation and Tips</h2>
336
+ <p><strong>GST & Tax</strong><br />If required you can enter in a default GST/Tax rate on the Options page in the "e-Commerce" tab.</p>
337
+ <p><strong>Email purchase Logs</strong><br />If you add an email address for the purchase log on the Purchase Log page this will be the email address that is sent a purchase notification each time something is bought.</p>
338
+ <p><strong>Hiding pages</strong><br />
339
+ To prevent the Shopping Cart, Checkout and Transaction Results pages from being displayed in the page list you must first find out their ID numbers. <br />
340
+ <br />Then you have to edit the file in the theme you use that displays pages. <br />
341
+ <br />This is normally found in sidebar.php, find the line similar to:<br />
342
+ <br />"&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;/h2&gt;\' ); ?&gt;"<br />
343
+ <br />Edit the line accordingly, for example:<br />
344
+ <br />"&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;h2&gt;&amp;exclude=3,4,5\'); ?&gt;"<br />
345
+ <br />The word exclude tells it to exclude the pages from the list, and the numbers after the word exclude are the ID numbers of the pages to exclude.</p>
346
+ <p><strong>Upgrading from Previous Version</strong><br />
347
+ If you are upgrading from a previous version, you will need to deactivate and reactivate the plugin.</p>
348
+ <p><strong>Image Functions</strong><br />
349
+ If your server does not have the PHP image functions installed, you will not be able to resize images once they are uploaded</p>
350
+ <p><strong>Permalinks</strong><br />
351
+ We\'re doing the best we can.
352
+ I have not been able to find a really good way to pass the required variables from page to page using permalinks that dont use mod_rewrite, if you cant use mod_rewrite, the plugin may not work with permalinks turned on.</p>
353
+ <p><strong>Javascript and Ajax </strong><br />
354
+ e-commerce lite uses Ajax, the shopping cart that the user sees will work without Javascript, but the Administration pages (specifically the Products and Categories pages) will not. To use the Administration section you will need to use a reasonably modern browser and have Javascript turned on. (Internet Explorer 6 or better, or Firefox 1.0 or better, older versions have not been tested for and may or may not work)</p>
355
+ <p><strong>Contact Us</strong><br />
356
+ Website: <a href="http://www.instinct.co.nz">www.instinct.co.nz</a></p>
357
+ <p><strong>Credits:</strong><br />
358
+ This project uses a modified version of Lightbox: <a href="http://www.huddletogether.com/projects/lightbox2/">Lightbox can be obtained from here.</a>
359
+ </p>
360
+ ');
361
+
362
+
363
+ define('TXT_WPSC_SHIPPINGSETTINGS', 'Shipping Settings');
364
+ define('TXT_WPSC_BASE_LOCAL', 'Base Local Shipping');
365
+ define('TXT_WPSC_BASE_INTERNATIONAL', 'Base International Shipping');
366
+ define('TXT_WPSC_BASE_COUNTRY', 'Base Country/Region');
367
+
368
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Additional Shipping Costs'); // this needs updating
369
+ define('TXT_WPSC_LOCAL_PNP', 'Local Shipping Fee'); // this needs updating
370
+ define('TXT_WPSC_INTERNATIONAL_PNP', 'International Shipping Fee'); // this needs updating
371
+ define('TXT_WPSC_SHIPPING_NOTE', 'Note: charged only once per product regardless of quantity ordered.');
372
+ define('TXT_WPSC_COUNTRY_FORM_FIELD', 'Country Form Field');
373
+ define('TXT_WPSC_COUNTRY_FORM_FIELD_EXPLANATION', '(select which form field on the checkout page you want to use for specifying the country)');
374
+
375
+ define('TXT_WPSC_SHIPPING', 'Shipping');
376
+ define('TXT_WPSC_EMAIL_FORM_FIELD', 'Email Form Field');
377
+ define('TXT_WPSC_EMAIL_FORM_FIELD_EXPLANATION', '(select which form field on the checkout page you want to use for specifying the email address)');
378
+
379
+
380
+ define('TXT_WPSC_PRODUCTIMAGES', 'Product Images');
381
+ define('TXT_WPSC_PRODUCTDOWNLOAD', 'Product Download');
382
+ define('TXT_WPSC_SHOWTHUMBNAILS', 'Show Thumbnails');
383
+ define('TXT_WPSC_ADD_ADDITIONAL_IMAGE', 'Add Additional Image');
384
+ define('TXT_WPSC_DELETE_IMAGE', 'Delete Image');
385
+ define('TXT_WPSC_GOLD_OPTIONS', 'Gold Cart Options');
386
+ define('TXT_WPSC_ACTIVATE_SETTINGS', 'Activation Settings');
387
+ define('TXT_WPSC_ACTIVATION_KEY', 'Activation Key');
388
+ define('TXT_WPSC_THANKSACTIVATED', 'Thanks, the gold shopping cart has been activated.');
389
+ define('TXT_WPSC_NOTACTIVATED', 'Sorry, the API key was incorrect.');
390
+ define('TXT_WPSC_DEFAULT', 'Default');
391
+ define('TXT_WPSC_LIST', 'List');
392
+ define('TXT_WPSC_VISIBLE', 'Visible');
393
+ define('TXT_WPSC_DELETE_PRODUCT', 'Delete Product');
394
+ define('TXT_WPSC_ADDITIONAL_IMAGE', 'Additional Image');
395
+ define('TXT_WPSC_GATEWAY_OPTIONS', 'Gateway Options');
396
+ define('TXT_WPSC_SHIPPING_COUNTRY', 'Choose your shipping country:');
397
+ define('TXT_WPSC_CONFIRM_TOTALS', 'Confirm your totals before making the payment:');
398
+ define('TXT_WPSC_CHECKOUT_FORM_FIELDS_DESCRIPTION', 'Here you can customise the forms to be displayed in your checkout page. The checkout page is where you collect important user information that will show up in your purchase logs i.e. the buyers address, and name...');
399
+ define('TXT_WPSC_PAYMENT_OPTIONS', 'Payment Options');
400
+ define('TXT_WPSC_PAYMENT_DESCRIPTION', 'Choose what payment options you want to make available in the checkout page. By default purchasers can only pay for items using a credit card however you may wish to also let them pay manually in which case you should select the credit card + manual payment option.');
401
+
402
+ define('TXT_WPSC_DEFAULT_GATEWAY_ONLY', ' only');
403
+ define('TXT_WPSC_PLUS_MANUAL_PAYMENT', ' plus manual payment option');
404
+ define('TXT_WPSC_PAYMENT_METHOD', 'Payment Method');
405
+ define('TXT_WPSC_PAY_USING', 'Pay using');
406
+ define('TXT_WPSC_PAY_MANUALLY', 'Pay by Cheque/Bank Deposit');
407
+ define('TXT_WPSC_CREDIT_CARD', 'Credit Card');
408
+ define('TXT_WPSC_ADJUSTABLE_QUANTITY', 'Show quantity form in list view');
409
+ define('TXT_WPSC_RSS_FEED_HEADER', 'Subscribe to your orders');
410
+ define('TXT_WPSC_RSS_FEED_LINK', 'Subscribe to an RSS feed');
411
+ define('TXT_WPSC_RSS_FEED_TEXT', 'of your orders');
412
+ define('TXT_WPSC_INITIAL_SETUP', 'Created default options.');
413
+ define('TXT_WPSC_PLUGIN_NEWS_HEADER', 'Plugin News');
414
+
415
+ define('TXT_WPSC_PLUGIN_NEWS', '<a href="http://www.instinct.co.nz/wp-campaign-monitor/100" target="_blank">WP Campaign Monitor</a> is an email newsletter tool built just
416
+ for WP users who want to send campaigns, track the
417
+ results and manage their subscribers.
418
+
419
+ The latest version integrates with e-commerce lite meaning
420
+ that you will be able to send buyers email newsletters
421
+ and much more.');
422
+ define('TXT_WPSC_POWERED_BY', 'This shop is powered by ');
423
+ define('TXT_WPSC_NO_PURCHASES', 'There have not been any purchases yet.');
424
+
425
+
426
+ define('TXT_WPSC_DELIVERY_ADDRESS', 'Delivery Address');
427
+ define('TXT_WPSC_DELIVERY_CITY', 'Delivery City');
428
+ define('TXT_WPSC_DELIVERY_COUNTRY', 'Delivery Country');
429
+ define('TXT_WPSC_MP3_SETTINGS', 'MP3 Settings');
430
+ define('TXT_WPSC_MP3_SETTINGS_DESCRIPTION', 'To create the 30 second MP3 file clips, this plugin needs <a href=\'http://sox.sourceforge.net/\'>SoX</a> compiled with MP3 support, enter the path to SoX here.');
431
+ define('TXT_WPSC_SOX_PATH', 'SoX Path');
432
+ define('TXT_WPSC_PREVIEW', 'Preview');
433
+ define('TXT_WPSC_DOWNLOAD_CSV', 'Download CSV');
434
+ define('TXT_WPSC_PREVIEW_FILE', 'Preview File');
435
+ define('TXT_WPSC_REPLACE_PRODUCT', 'Replace Product');
436
+ define('TXT_WPSC_TOTALSHIPPING', 'Total Shipping');
437
+ define('TXT_WPSC_DISPLAY_FRONT_PAGE', 'Display on Front page');
438
+ define('TXT_WPSC_SEARCH_FOR', 'Search For');
439
+ define('TXT_WPSC_YOUR_SEARCH_FOR', 'Your search for');
440
+ define('TXT_WPSC_RETURNED_NO_RESULTS', 'returned no results.');
441
+ define('TXT_WPSC_POSTAGE', 'Postage');
442
+ define('TXT_WPSC_SUBTOTAL', 'Subtotal');
443
+
444
+
445
+ //everything under here needs translations, added after 19/1/2007
446
+
447
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Please enter a valid');
448
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Please enter your first name.');
449
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Please enter your last name.');
450
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Please enter a valid email address.');
451
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Please complete your address.');
452
+ define('TXT_WPSC_PLEASEENTERAVALIDCITY', 'Please enter your town or city.');
453
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Please enter a valid phone number.');
454
+ define('TXT_WPSC_PLEASESELECTCOUNTRY', 'Please select your country from the list.');
455
+ define('TXT_WPSC_PLEASEAGREETERMSANDCONDITIONS', 'Please select the terms and conditions option. Unfortunately we cannot process your order otherwise.');
456
+ define('TXT_WPSC_POSITION', 'Position');
457
+
458
+ define('TXT_WPSC_DELIVERY_REGION', 'Delivery Region');
459
+
460
+
461
+ define('TXT_WPSC_GENERAL_SETTINGS', 'General Settings');
462
+ define('TXT_WPSC_TAX_SETTINGS', 'Tax Settings');
463
+ define('TXT_WPSC_POSTAGE_AND_TAX', 'Postage &amp; Tax ');
464
+ define('TXT_WPSC_GRID', 'Grid');
465
+ define('TXT_WPSC_CANT_MOVE_CATEGORY', 'You cannot move a category with subcategories.');
466
+ define('TXT_WPSC_SURETODELETECATEGORY', 'Are you sure you want to delete this category? If the category has any subcategories, they will be deleted too.');
467
+ define('TXT_WPSC_VARIATION', 'Variation');
468
+ define('TXT_WPSC_OVER_TWO_VARIATIONS', 'Variation stock and price control does not work if you have more than two variations.');
469
+ define('TXT_WPSC_PRICE_AND_STOCK_CONTROL', 'Price, Stock and Variation Control') ;
470
+
471
+ // pe.{
472
+ define('TXT_WPSC_CATSBRANDSLOCATION', 'Categories &amp; Brands Location');
473
+ define('TXT_WPSC_DESCITEMSEPARATOR', ' : ');
474
+ define('TXT_WPSC_SEARCHITEMSEPARATOR', ' : ');
475
+ define('TXT_WPSC_SINGLE_SHIPPING_COUNTRY', 'Shipping country:');
476
+ define('TXT_WPSC_ADD_ANOTHER_VARIATION', 'Add a variation');
477
+ // }.pe
478
+ define('TXT_WPSC_PRODUCT_CATEGORIES', 'Product Categories');
479
+ define('TXT_WPSC_THANKS_DELETED', 'Thanks, the purchase log record has been deleted');
480
+ define('TXT_WPSC_PRODUCT_IMAGE_PREVIEW', 'Product image');
481
+ define('TXT_WPSC_PRODUCT_THUMBNAIL_PREVIEW', 'Product thumbnail');
482
+ define('TXT_WPSC_REMOVE_LOG', 'Remove this record from the purchase log');
483
+ define('TXT_WPSC_CATSANDBRAND', 'Categories &amp; Brands');
484
+ define('TXT_WPSC_GOLD_DROPSHOP', 'DropShop');
485
+ define('TXT_WPSC_NEEDTOENABLEDROPSHOP', 'You need to install the Gold and DropShop extentions to use this');
486
+ define('TXT_WPSC_DRAG_ITEM_HERE', 'Drag any item here to add it to your cart.');
487
+ define('TXT_WPSC_SHOWCATEGORYTHUMBNAILS', 'Show Category Thumbnails');
488
+ define('TXT_WPSC_SHOPPING_CART', 'Shopping Cart');
489
+ define('TXT_WPSC_SHOW_SLIDING_CART', 'Show Sliding Cart');
490
+ define('TXT_WPSC_PREVIEW_FILE', 'Upload Preview');
491
+ define('TXT_WPSC_PREVIEW_FILE_NOTE', 'Note: If you do not upload a preview file and your server has sox compiled with MP3 support then a preview file will be created for you.');
492
+ define('TXT_WPSC_PURCHASE_NUMBER', 'Purchase No.');
493
+ define('TXT_WPSC_FILTER_ORDER', 'Filter Orders');
494
+ ?>
languages/IT_it.php ADDED
@@ -0,0 +1,1051 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Questo è un file per la localizzazione in italiano del plugin WP Shopping Cart versione 3.6.9
4
+ Localizzazione vers. 1.0
5
+ Traduzione a cura di Roberto Bellina. Per qualsiasi segnalazione o suggerimento scrivete a robert.bellina at gmail.com
6
+ */
7
+
8
+ define('TXT_WPSC_CHOOSE_A_SHIPPING_RATE', '- Scegliete una tariffa per la spedizione');
9
+
10
+ define('TXT_WPSC_CALCULATE', 'Calcola');
11
+ define('TXT_WPSC_GROUP_PRESENTATION_TEXT', 'Per sovrascrivere le impostazioni di presentazione di questo gruppo, potete inserire le vostre impostazioni personalizzate qui');
12
+ define('TXT_WPSC_GROUP_SETTINGS', 'Impostazioni Gruppo Prodotti');
13
+ define('TXT_WPSC_GROUP_IMAGE', 'Gruppo&nbsp;Immagine');
14
+ define('TXT_WPSC_THUMBNAIL_SIZE', 'Anteprima&nbsp;Dimensione');
15
+ define('TXT_WPSC_CATALOG_VIEW', 'Vista Catalogo');
16
+ define('TXT_WPSC_GROUP_IMAGE_TEXT', 'Potete caricare le immagini di anteprima per ciascun gruppo. Per visualizzare i dettagli del gruppo nel vostro negozio, dovete configurare queste impostazioni in <a href="http://apps.instinct.co.nz/wp_2.7/wp-admin/admin.php?page='.WPSC_DIR_NAME.'/options.php#options_presentation">Impostazioni Presentazione</a>.');
17
+
18
+
19
+
20
+ define('TXT_WPSC_UPS_DESTINATION', 'Tipo destinazione');
21
+ define('TXT_WPSC_UPS_DESTINATION_COMMERCIAL', 'Indirizzo commerciale');
22
+ define('TXT_WPSC_UPS_DESTINATION_RESIDENTIAL', 'Indirizzo residenziale');
23
+
24
+ define('TXT_WPSC_UPS_PACKAGING', 'Formato imballo');
25
+
26
+ define('TXT_WPSC_UPS_PACKAGING_YOURS', 'Imballo proprio');
27
+ define('TXT_WPSC_UPS_PACKAGING_LETTER', 'Lettera UPS');
28
+ define('TXT_WPSC_UPS_PACKAGING_UEB_SMALL', 'UPS Express Box - Piccola');
29
+ define('TXT_WPSC_UPS_PACKAGING_UEB_MEDIUM', 'UPS Express Box - Media');
30
+ define('TXT_WPSC_UPS_PACKAGING_UEB_LARGE', 'UPS Express Box - Grande');
31
+ define('TXT_WPSC_UPS_PACKAGING_TUBE', 'UPS Tube');
32
+ define('TXT_WPSC_UPS_PACKAGING_PAK', 'UPS Pak');
33
+
34
+ define('TXT_WPSC_UPS_DAILY_PICKUP', 'Ritiro in giornata');
35
+
36
+
37
+ define('TXT_WPSC_IMPORT_CSV', 'Importa CSV prodotti');
38
+ define('TXT_WPSC_MORE', 'Altro');
39
+
40
+ define('TXT_WPSC_WEIGHT_SETTINGS', 'Impostazioni peso');
41
+
42
+ define('TXT_WPSC_PROMOTE_YOUR_SHOP', '
43
+ <h2>Promuovi il tuo sito online</h2>
44
+ <p>Adesso avete un sito con dei prodotti, ma bisogna fare promozione per farlo sapere in giro.</p>
45
+
46
+ <p>Tre dei migliori posti per impostare un link al vostro sito di e-commerce in WordPress sono questi:</p>
47
+ <p>
48
+ <a href=\'http://wordpress.org/support/forum/11\'>\'></a><br />
49
+ <a href=\'http://www.instinct.co.nz/forums/forum.php?id=5\'></a><br />
50
+ <a href=\'http://www.facebook.com/wordpress-e-commerce-plugin\'></a><br />
51
+ </p>
52
+ <p>
53
+ Inserendo un link al vostro sito in ognuno di questi siti, vi assicurerete che le persone raggiungano il vostro sito.
54
+ </p>
55
+ ');
56
+
57
+ define('TXT_WPSC_SHIPPING_BUT_NO_CURL', 'I seguenti moduli di spedizione necessitano di cURL che non è installato su questo server, potreste contattare il vostro hosting provider per fare in modo che venga impostato. ');
58
+ define('TXT_WPSC_PLEASE_ENTER_ZIPCODE', 'Inserite il CAP.');
59
+ define('TXT_WPSC_PLEASE_SELECT_SHIPPING', 'Selezionate una opzione per la spedizione.');
60
+ define('TXT_WPSC_ADD_NEW_VARIATIONS', '+ Aggiungi altre varianti');
61
+ define('TXT_WPSC_ADMIN_ENGRAVE', 'Gli utenti possono personalizzare questo prodotto lasciando un commento durante il pagamento');
62
+ define('TXT_WPSC_PERSONALISATION_OPTIONS','Opzioni di personalizzazione');
63
+
64
+ define('TXT_WPSC_CHOOSE_SHIPPING', "Per permettere la spedizione in WP e-Commerce dovete selezionare quale metodo di spedizione volete abilitare sul vostro sito");
65
+ define('TXT_WPSC_FLAT_RATE_SETTINGS', "Impostazioni tariffa flat");
66
+ define('TXT_WPSC_OFF_SITE_LINK', "Link prodotto in altro sito");
67
+ define('TXT_WPSC_NOTE_ONLY_AVAILABLE_HERE', 'Queste note sono disponibili solo qui.');
68
+ define('TXT_WPSC_CATEGORY_AND_TAG_CONTROL', 'Categorie e Tag');
69
+ define('TXT_WPSC_USPS_DESC', 'Se la vostra attività si trova in America allora potete impostare il vostro CAP per lavorare con UPS e USPS. Questo dovrebbe essere il CAP per le vostre operazioni in sede.');
70
+
71
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Dettagli spedizione');
72
+ define('TXT_WPSC_SHIPPING_METHOD', 'Metodo spedizione');
73
+ define('TXT_WPSC_SHIPPING_OPTION', 'Opzioni spedizione');
74
+ define('TXT_WPSC_CHOOSE_EXTERNAL_SHIPPING_MODULES', 'Calcolo esterno spedizione');
75
+ define('TXT_WPSC_CHOOSE_INTERNAL_SHIPPING_MODULES', 'Calcolo interno spedizione');
76
+
77
+ define('TXT_DISPLAY_DESCRIPTION', 'Mostra descrizione');
78
+ define('TXT_DISPLAY_ADDTOCART', 'Mostra pulsante "Aggiungi al carrello"');
79
+ define('TXT_DISPLAY_MOREDETAILS', 'Mostra pulsante "Altri dettagli"');
80
+
81
+ define('TXT_WPSC_GOOGLE_BASE', 'Google Base');
82
+ define('TXT_WPSC_GRANT_ACCESS', 'Grant Access');
83
+ define('TXT_WPSC_LABEL_CONTROL', 'Controllo Etichetta');
84
+ define('TXT_WPSC_LABELS', 'Aggiungi Etichetta');
85
+ define('TXT_WPSC_PRODUCT_CODE', 'Codice prodotto');
86
+ define('TXT_WPSC_LIFE_NUMBER', 'Life Number');
87
+ define('TXT_WPSC_ITEM_NUMBER', 'Numero oggetto');
88
+ define('TXT_WPSC_LABEL_DESC', 'Descrizione etichetta');
89
+
90
+
91
+ define('TXT_WPSC_DEFAULT_PURCHASE_RECEIPT', 'Grazie per aver acquistato con %shop_name%, tutti gli articoli acquistati verranno preparati e spediti il più presto possibile, mentre i link agli articoli che sono disponibili tramite download li potete trovare in questa pagina.
92
+ Tutti i prezzi includono tasse e costi di spedizione e di imballo ove necessario.
93
+
94
+ Avete ordinato il segunete materiale:
95
+
96
+ %product_list%
97
+
98
+ %total_price%
99
+
100
+ %total_shipping%');
101
+
102
+ define('TXT_WPSC_DEFAULT_PURCHASE_REPORT', '
103
+ %product_list%
104
+
105
+ %total_price%
106
+
107
+ %total_shipping%');
108
+
109
+ define('TXT_WPSC_CHOOSE_DOWNLOADABLE_VARIATIONS', 'Scegliete un file scaricabile per questa variante');
110
+
111
+
112
+ define('TXT_WPSC_CHOOSE_DOWNLOADABLE_VARIATIONS', 'Scegliete un file scaricabile per questa variante');
113
+ define('TXT_WPSC_FLASH_UPLOADER', 'State usando il Flash uploader. Problemi? Provate con il <a class=\'wpsc_upload_switcher\' onclick=\'wpsc_upload_switcher("browser")\'>Browser uploader</a> piuttosto.');
114
+ define('TXT_WPSC_BROWSER_UPLOADER', 'State usando il Browser uploader. Problemi? Provate con il <a class=\'wpsc_upload_switcher\' onclick=\'wpsc_upload_switcher("flash")\'>Flash uploader</a> piuttosto.');
115
+
116
+ define('TXT_WPSC_ADMIN_REPORT', 'Admin Report');
117
+ define('TXT_WPSC_TAGS_CAN_BE_USED', 'I tag sono consentiti');
118
+ define('TXT_WPSC_EMAIL_SETTINGS', 'Impostazioni e-mail');
119
+ define('TXT_WPSC_ERROR_OCCURED_WHILE_SENDING_EMAIL', 'Si è verificato un errore durante l\'invio della mail');
120
+ define('TXT_WPSC_EMAIL_SENT', 'Email inviata');
121
+ define('TXT_WPSC_ACTIONS', 'Azioni');
122
+ define('TXT_WPSC_EMAIL_BUYER', 'Email acquirente');
123
+
124
+ define('TXT_WPSC_FILE_NAMES', 'Nomi file');
125
+ define('TXT_WPSC_DOWNLOADS_LEFT', 'Download rimanenti');
126
+
127
+
128
+ define('TXT_WPSC_FILE', 'File');
129
+ define('TXT_WPSC_PDF', 'PDF');
130
+
131
+ define('TXT_WPSC_LABEL', 'Etichetta');
132
+ define('TXT_WPSC_TABLE_RATED_PRICE', 'Tabella Tariffe');
133
+ define('TXT_WPSC_DATE_REQUESTED', 'Data richiesta');
134
+ define('TXT_WPSC_MULTIPLE_ADDING_PRODUCTS', 'Aggiungi campo quantità ad ogni descrizione di un prodotto');
135
+ define('TXT_WPSC_COMMENTS_NOTES_FIELD', 'Aggiungi campo commenti/note ad ogni prodotto');
136
+ define('TXT_WPSC_COMMENTS', 'Commenti');
137
+ define('TXT_WPSC_COMMENT', 'Commento');
138
+ define('TXT_WPSC_PDF', 'File PDF');
139
+ define('TXT_WPSC_SORT_PRODUCT_BY', 'Ordina prodotto per');
140
+ define('TXT_WPSC_TIME_UPLOADED', 'Orario dell\'upload');
141
+
142
+ define('TXT_WPSC_VIEW_PACKING_SLIP', 'Mostra documento di vendita');
143
+ define('TXT_WPSC_PACKING_SLIP', 'Documento di vendita');
144
+ define('TXT_WPSC_NO_STOCK', 'Non in assortimento');
145
+
146
+ define('TXT_WPSC_SELECTYOURBUSINESSLOCATION','Seleziona la tua sede principale di attività.');
147
+ define('TXT_WPSC_ENTEREMAILADDRESS', 'Inserite l\'indirizzo email del proprietario di questo negozio per ricevere le notifiche via e-mail.');
148
+
149
+ define('TXT_WPSC_SHIPPINGOPTIONS', 'Opzioni di spedizione');
150
+ define('TXT_WPSC_SHIPPING_MODULES', 'Moduli di spedizione');
151
+ define('TXT_WPSC_CHOOSE_SHIPPING_MODULES', 'Scegli i moduli di spedizione');
152
+ define('TXT_WPSC_CONFIGURE_SHIPPING_MODULES', 'Selezionate una delle seguenti opzioni di spedizione per configurarla.');
153
+ define('TXT_WPSC_PLEASESELECTASHIPPINGPROVIDER', 'Seleziona un corriere per la spedizione');
154
+
155
+ define('TXT_WPSC_UPGRADE_TO_GOLD','Aggiorna a Gold');
156
+ define('TXT_WPSC_UNLEASH_MORE',' e aggiungi nuove funzionalità al tuo negozio.');
157
+
158
+ define('TXT_WPSC_ENGRAVE_LINE_ONE','Linea 1');
159
+ define('TXT_WPSC_ENGRAVE_LINE_TWO','Linea 2');
160
+
161
+ define('TXT_WPSC_SHOP_SETTINGS','Impostazioni Shop');
162
+ define('TXT_WPSC_MONEY_AND_PAYMENT','Moneta e Pagamento');
163
+ define('TXT_WPSC_CHECKOUT_PAGE_SETTINGS','Impostazioni Pagina di Pagamento');
164
+ define('TXT_WPSC_LOGIN_TO_GOOGLE_BASE','Login a Google base');
165
+
166
+ define('TXT_WPSC_ADWIDG_ADD_PAGES','Aggiungi pagine');
167
+ define('TXT_WPSC_ADWIDG_ADD_PRODUCTS','Aggiungi prodotti');
168
+ define('TXT_WPSC_ADWIDG_PRESENTATION','Presentazione');
169
+
170
+ define('TXT_WPSC_ADWIDG_ADD_PAGES_TITLE','Qui si possono scrivere nuove pagine');
171
+ define('TXT_WPSC_ADWIDG_ADD_PRODUCTS_TITLE','Qui si possono aggiungere prodotti');
172
+ define('TXT_WPSC_ADWIDG_PRESENTATION_TITLE','Qui si possono cambiare temi e impostazioni dei widget');
173
+
174
+
175
+ define('TXT_WPSC_GOLD_ACTIVATED','Il gold cart è attualmente attivato.');
176
+ define('TXT_WPSC_GOLD_DEACTIVATED','Il gold cart è attualmente disattivato.');
177
+ define('TXT_WPSC_COMMISSIONTOPAY','Commissione da pagare');
178
+ define('TXT_WPSC_TOTALCOMMISSION','Commissione totale');
179
+ define('TXT_WPSC_PAYMENT','Pagamento');
180
+ define('TXT_WPSC_USERNAME','Nome Utente');
181
+ define('TXT_WPSC_PAID','Pagato');
182
+ define('TXT_WPSC_NONEEDTOPAY','Non è necessario il pagamento');
183
+ define('TXT_WPSC_AFFILIATIONCODE','Codice di Affiliazione');
184
+ define('TXT_WPSC_COMMISSIONPERCENTAGE','Commissione in percentuale');
185
+ define('TXT_WPSC_YOURPAYPALEMAIL','La vostra Email dell\'Account Paypal');
186
+ define('TXT_WPSC_SETTINGS', 'Impostazioni');
187
+ define('TXT_WPSC_EARNINGS', 'Guadagni');
188
+ define('TXT_WPSC_AFFILIATE', 'Affiliato');
189
+ //define('TXT_WPSC_SALES_DASHBOARD', 'Questo mese avete ottenuto :affiliatesalecount: e generato un totale di :monthtotal: e le vostre vendite totali in affiliazione sono di :affiliateoveraltotal:. ');
190
+ define('TXT_WPSC_COMMISION', 'Commissione da pagare');
191
+ define('TXT_WPSC_LOG_AFFILIATES', 'Mostra Vendite Affiliate');
192
+ define('TXT_WPSC_PRODUCTS_PAGE_SETTINGS', 'Impostazioni Pagina Prodotto');
193
+ define('TXT_WPSC_CARTSETTINGS', 'Impostazioni Carrello della Spesa');
194
+ define('TXT_WPSC_REPLACE_PAGE_TITLE', 'Sostituisci il Titolo della Pagina con il Nome della Categoria');
195
+ define('TXT_WPSC_CATEGORY_PRODUCT_IMAGE', 'Dimensione Immagine Prodotto');
196
+ define('TXT_WPSC_SETONSETTINGS', 'Questo dato è impostato nella Pagina Impostazioni');
197
+ define('TXT_WPSC_AFFILIATION', 'Affiliazione');
198
+ define('TXT_WPSC_DISPLAYTYPE', 'Mostra Tipo');
199
+ define('TXT_WPSC_SKU_FULL', 'Quantità in magazzino');
200
+ define('TXT_WPSC_PAYMENT_GATEWAYS', 'Gateway per il pagamento');
201
+
202
+ define('TXT_WPSC_PRODUCTCOUNT_SINGULAR','prodotto');
203
+ define('TXT_WPSC_PRODUCTCOUNT_PLURAL','prodotti');
204
+ define('TXT_WPSC_GROUPCOUNT_SINGULAR','gruppo');
205
+ define('TXT_WPSC_GROUPCOUNT_PLURAL','gruppi');
206
+ define('TXT_WPSC_SALECOUNT_SINGULAR','vendita');
207
+ define('TXT_WPSC_SALECOUNT_PLURAL','vendite');
208
+ define('TXT_WPSC_PENDINGCOUNT_SINGULAR','transazione');
209
+ define('TXT_WPSC_PENDINGCOUNT_PLURAL','transazioni');
210
+ define('TXT_WPSC_VARIATION_SINGULAR','variante');
211
+ define('TXT_WPSC_VARIATION_PLURAL','varianti');
212
+
213
+ define('TXT_WPSC_SALES_DASHBOARD', 'Avete <a href=\'admin.php?page='.WPSC_DIR_NAME.'/display-items.php\'>:productcount:</a>, all\'interno di <a href=\'admin.php?page='.WPSC_DIR_NAME.'/display-category.php\'>:groupcount:</a>. Questo mese avete ottenuto :salecount: e generato un totale di :monthtotal: e le vostre vendite totali ammontano a :overaltotal:. Avete :pendingcount: che attendono una approvazione.');
214
+
215
+ define('TXT_WPSC_YOUAREUSING', 'State usando lo stile :theme: . Questa è la versione :versionnumber: di WP e-Commerce.');
216
+ define('TXT_WPSC_NO_SHORTCODE', 'Questo prodotto è ancora in attesa di essere aggiunto al vostro catalogo. Non ci sono al momento codici o tag disponibili.');
217
+ define('TXT_WPSC_SKU', 'SKU');
218
+ define('TXT_WPSC_YOUR_ORDER', 'Il vostro ordine');
219
+ define('TXT_WPSC_ABOUT_THIS_PAGE', 'Info su questa pagina');
220
+ define('TXT_WPSC_ORDER_PENDING_PAYMENT_REQUIRED', 'Ordine pendente: Pagamento richiesto');
221
+ define('TXT_WPSC_SELECTALLCATEGORIES', 'Mostra tutti i prodotti');
222
+
223
+ define('TXT_WPSC_EDITING_GROUP', 'State modificando il gruppo [categorisation]');
224
+ define('TXT_WPSC_ADDING_TO_GROUP', 'State aggiungendo un nuovo elemento al gruppo [categorisation]');
225
+ define('TXT_WPSC_EDITING_IN_GROUP', 'State modificando un elemento nel gruppo [categorisation]');
226
+
227
+
228
+ define('TXT_WPSC_PURCHASE_UNAVAILABLE', 'Acquista le opzioni non disponibili');
229
+ define('TXT_WPSC_WE_RECOMMEND', 'Raccomandiamo');
230
+ define('TXT_WPSC_SELECT_PRODUCT_GROUP', 'Seleziona un gruppo da gestire');
231
+ define('TXT_WPSC_EDIT_THIS_GROUP', 'Modifica questo gruppo');
232
+
233
+ define('TXT_WPSC_USPS_USERID', 'ID USPS');
234
+ define('TXT_WPSC_PRODUCT_ID', 'ID prodotto');
235
+ define('TXT_WPSC_USPS_PASSWORD', 'Password USPS');
236
+ define('TXT_WPSC_OPTIONS_GENERAL_TAB', 'Generale');
237
+ define('TXT_WPSC_OPTIONS_PRESENTATION_TAB', 'Presentazione');
238
+ define('TXT_WPSC_OPTIONS_SHIPPING_TAB', 'Spedizione');
239
+ define('TXT_WPSC_OPTIONS_PAYMENT_TAB', 'Pagamento');
240
+ define('TXT_WPSC_OPTIONS_ADMIN_TAB', 'Admin');
241
+ define('TXT_WPSC_OPTIONS_MARKETING_TAB', 'Marketing');
242
+ define('TXT_WPSC_DOWNLOAD_ATTACHED_FILES', 'Scarica file allegati');
243
+
244
+ define('TXT_WPSC_ADMIN_SEARCH_PRODUCTS', 'Cerca un prodotto');
245
+ define('TXT_WPSC_CHOOSE_PAYMENT_GATEWAYS', 'Attivate i metodi di pagamento che volete rendere disponibili ai vostri clienti selezionandoli qui di seguito.');
246
+
247
+ define('TXT_WPSC_CONFIGURE_PAYMENT_GATEWAY', ' Seleziona uno dei metodi di pagamento che seguono per configurarlo.');
248
+
249
+
250
+ // to come: "Clicca un opzione di pagamento per configurarla"
251
+
252
+ define('TXT_WPSC_SHOW_BREADCRUMBS', 'Mostra percorso navigazione (Breadcrumbs)');
253
+ define('TXT_WPSC_PAYMENT_INSTRUCTIONS_DESCR', 'Inserite le istruzioni di pagamento che desiderate visualizzare per i vostri clienti quando effettuano un\'acquisto');
254
+ define('TXT_WPSC_PAYMENT_INSTRUCTIONS_BELOW_DESCR', 'Per esempio, di seguito, voi, come proprietari dello Shop potete inserire le vostre coordinate bancarie o l\'indirizzo cosicché il vostro cliente possa effettuare il pagamento tramite bonifico.');
255
+
256
+ define('TXT_WPSC_ALLOW_UPLOADING_IMAGE', 'Gli utenti possono caricare le immagini alla cassa.');
257
+
258
+ define('TXT_WPSC_OPTIONS_GENERAL_HEADER', 'Impostazioni generali');
259
+ define('TXT_WPSC_OPTIONS_PRESENTATION_HEADER', 'Impostazioni presentazione');
260
+ define('TXT_WPSC_OPTIONS_SHIPPING_HEADER', 'Impostazioni spedizione');
261
+ define('TXT_WPSC_OPTIONS_PAYMENT_HEADER', 'Impostazioni pagamento');
262
+ define('TXT_WPSC_OPTIONS_ADMIN_HEADER', 'Impostazioni Admin');
263
+ define('TXT_WPSC_OPTIONS_MARKETING_HEADER', 'Impostazioni Marketing');
264
+ define('TXT_WPSC_UPLOAD_IMAGE_FOR', 'Carica immagine per');
265
+
266
+ define('TXT_WPSC_THUMBNAILSETTINGS', 'Impostazioni Anteprima immagine');
267
+
268
+ define('TXT_WPSC_CLEAR_IP_LOCKS', 'Blocco download gratuiti per un numero IP.');
269
+ define('TXT_WPSC_THANKS_UNLOCKED', 'Grazie, i download che erano stati bloccati per gli utenti con questo numero di IP sono stati nuovamente abilitati.');
270
+
271
+
272
+ define('TXT_WPSC_SELECTGATEWAY', 'Seleziona un gateway per il pagamento');
273
+ define('TXT_WPSC_VARIATION_LIST', 'Seleziona una variante');
274
+
275
+ define('TXT_WPSC_CATEGORISATION_GROUPS_DESCR', 'I Gruppi permettono ai vostri visitatori di trovare i prodotti più facilmente. Se vendete t-shirt, cappelli e pantaloni potreste volere impostare un nuovo gruppo chiamato abbigliamento e poi aggiungere le categorie t-shirt, cappelli e pantaloni a tale gruppo. Ora potete associare singoli prodotti alle loro rispettive categorie di abbigliamento quando aggiungete o modificate i prodotti.');
276
+ define('TXT_WPSC_CATEGORISATION_DESCR', 'Widget Gruppo Prodotto');
277
+ define('WPSC_DOWNLOAD_INVALID', 'Questo download non è più valido.');
278
+ define('TXT_WPSC_LOCK_DOWNLOADS_TO_IP', 'Blocco download per l\'indirizzo IP');
279
+ define('TXT_WPSC_CLEAR_IP_LOCKS', 'Abilita qualsiasi download bloccato per un indirizzo IP in questo ordine');
280
+ define('TXT_WPSC_THANKS_UNLOCKED', 'Grazie, i download che erano stati bloccati per gli utenti con questo numero di IP sono stati nuovamente abilitati.');
281
+ define('TXT_WPSC_USER_UNLOCKED_EMAIL', 'L\'amministratore ha sbloccato il vostro file');
282
+ define('TXT_WPSC_USER_UNLOCKED_EMAIL_MESSAGE', 'Caro Cliente
283
+
284
+ Abbiamo il piacere di informarla che il vostro ordine è stato aggiornato e i vostri download sono ora abilitati.
285
+ Potete scaricare il vostro acquisto utilizzando i link indicati di seguito.
286
+
287
+ [download_links]
288
+ Grazie per la vostra fiducia.');
289
+
290
+
291
+ define('TXT_WPSC_ADMIN_EMPTY_CATEGORY', 'Questo gruppo è impostato come gruppo di default, dovreste aggiungere alcuni elementi al suo interno o impostare un gruppo prodotti che contenga già degli elementi.');
292
+
293
+ define('TXT_WPSC_USING_EXAMPLE_CATEGORY', 'Sate usando il gruppo prodotti di esempio come gruppo di default e non sono presenti elementi al suo interno, dovreste impostare un altro gruppo di default tramite la pagina delle vostre impostazioni dello Shop.');
294
+
295
+ define('TXT_WPSC_NO_DEFAULT_PRODUCTS', 'La vostra "pagina prodotto" non è attualmente impostata per visualizzare alcun prodotto. E\' necessario selezionare un gruppo prodotto da visualuzzare per default. <br /> Questo può essere fatto nella pagina impostazioni Shop.');
296
+
297
+ define('TXT_WPSC_FIX_CATEGORY_PERMALINKS', 'Correggi Permalink dei Gruppi Prodotto');
298
+ define('TXT_WPSC_ADVANCED_OPTIONS', 'Opzioni avanzate');
299
+ define('TXT_WPSC_INVALID_COUPON', 'Buono non valido');
300
+ define('TXT_WPSC_RSSNOTE', '<strong>Nota:</strong> Le persone non solo possono usare questo feed RSS per mantenersi aggiornati sui cambiamenti nella vostra lista prodotti, ma potete anche usare questo link per promuovere i vostri prodotti nel vostro profilo su facebook. <br>Aggiungete <a href="http://apps.facebook.com/getshopped">l\'applicazione getshopped!</a> al vostro profilo su facebook e seguite le istruzioni.');
301
+ define('TXT_WPSC_GOOGLEFINANCESTATUS', 'Situazione Finanziaria');
302
+ define('TXT_WPSC_GOOGLEFULFILLMENTSTATUS', 'Situazione Completamento');
303
+ define('TXT_WPSC_SURETODELETECATEGORISATION', 'Siete sicuri di voler eliminare questo gruppo prodotti? Tutte le categorie in esso contenute saranno eliminate.');
304
+
305
+ define('TXT_WPSC_CATEGORISATION', 'Gruppi');
306
+ define('TXT_WPSC_CATEGORISATIONHASBEENADDED', 'Il gruppo è stato aggiunto.');
307
+ define('TXT_WPSC_CATEGORISATIONHASBEENEDITED', 'Il gruppo è stato modificato.');
308
+ define('TXT_WPSC_ADD_CATEGORISATION', 'Aggiungi nuovo gruppo');
309
+ define('TXT_WPSC_EDIT_CATEGORISATION', 'Modifica gruppo');
310
+ define('TXT_WPSC_ADDDETAILS', 'Aggiungi dettagli');
311
+ define('TXT_WPSC_EDITDETAILS', 'Modifica dettagli');
312
+ define('TXT_WPSC_ADDNEWCATEGORY', 'Aggiungi nuovo elemento &raquo;');
313
+ define('TXT_WPSC_VALUE', 'Valore');
314
+ define('TXT_WPSC_CUSTOM_META', 'Meta personalizzato');
315
+ define('TXT_WPSC_ADD_CUSTOM_FIELD', 'Aggiungi Meta personalizzato');
316
+ define('TXT_WPSC_EDIT_CUSTOM_FIELDS', 'Modifica campi personalizzati');
317
+ define('TXT_WPSC_SAVE', 'Salva');
318
+
319
+
320
+
321
+ define('TXT_WPSC_DISPLAY_PRODUCT_CATEGORIES', 'Visualizza [categorisation]'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
322
+
323
+ define('TXT_WPSC_PRODUCT_CATEGORIES', 'Seleziona [categorisation]'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
324
+
325
+ define('TXT_WPSC_MANAGE_CATEGORISATION', 'Organizza [categorisation]'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
326
+
327
+
328
+
329
+ define('TXT_WPSC_ANYONEREGISTER', 'Se "si" allora dovete attivare l\'opzione in wordpress "Chiunque può registrarsi"');
330
+ define('TXT_WPSC_CVN', 'Verifica credito');
331
+ define('TXT_WPSC_AVS', 'Verifica indirizzo');
332
+ define('TXT_WPSC_DISPLAYVARIATIONSDESCRIPTION', 'Una variante può essere qualsiasi caratteristica "opzionale" riferita a un prodotto. es.: Dimensione, Colore, ecc. <br />Per esempio: se vedete t-shirt potete impostare un set variante chiamato taglia con i valori piccola, media, grande...');
333
+
334
+ define('TXT_WPSC_PERTICKED', 'Applica a tutti i prodotti');
335
+ define('TXT_WPSC_EMAILALLOWED', 'E-mail permessa');
336
+ define('TXT_WPSC_EMAILNOTALLOWED', 'E-mail NON permessa');
337
+
338
+
339
+ define('TXT_WPSC_GOOGLERISK', 'Idoneo per la protezione');
340
+ define('TXT_WPSC_PAYPALNOTE', '<strong>Nota:</strong> A causa di una attuale limitazione in PayPal, se l\'utente effettua un acquisto con un buono, non è possibile inviare una lista degli articoli attraverso paypal per il conteggio. E\' possibile, piuttosto, inviare il totale degli acquisti, cosicché all\'interno di PayPal l\'utente che ha acquistato un prodotto vedrà il nome del vostro shop e il totale dei propri acquisti.');
341
+
342
+ define('TXT_WPSC_GOOGLEMARKETINGPREFERENCE', 'Preferenze di Marketing dell\'Utente di Google');
343
+
344
+
345
+ define('TXT_WPSC_LATEST_PRODUCTS', 'Ultimi prodotti');
346
+ define('TXT_WPSC_PICKUP', 'Ritira');
347
+ define('TXT_WPSC_DELIVERY', 'Consegna');
348
+ define('TXT_WPSC_MENU', 'Menu Admin di e-Commerce');
349
+ define('TXT_WPSC_GOOGLESTORELOCATOR', 'Abilità Google Store Locator');
350
+ define('TXT_WPSC_GOOGLESHIPPING', 'Nazione di spedizione Google');
351
+ define('TXT_WPSC_POST_DEFAULT_MEMBERS_ONLY', 'Questo post è disponibile per i soli utenti registrati, dovete effettuare il login per visualizzare questo post');
352
+ define('TXT_WPSC_BASESHIPPING', 'Spedizione di base');
353
+ define('TXT_WPSC_RSS_ADDRESS', 'Indirizzo RSS');
354
+ define('TXT_WPSC_STORENAME', 'Nome del negozio');
355
+ define('TXT_WPSC_CHECKBOX_VARIATIONS', 'Mostra varianti nelle caselle');
356
+ define('TXT_WPSC_DISPLAY_PLUSTAX', 'Mostra "+ tasse"');
357
+ define('TXT_WPSC_DISPLAYHOWCUSTOMERFINDUS', 'Mostra il sondaggio Come ci ha trovato il cliente');
358
+ define('TXT_WPSC_HOWCUSTOMERFINDUS', 'Come ci ha trovato il cliente');
359
+ define('TXT_WPSC_ENGRAVE', 'Testo in rilievo');
360
+ define('TXT_WPSC_FREETRIAL', 'Un mese di prova gratis');
361
+ define('TXT_WPSC_PROHIBITED', 'Proibito');
362
+ define('TXT_WPSC_ADMINNOTES', 'Note Venditore');
363
+ define('TXT_WPSC_HIDEADDNAMELINK', 'Nascondi Link Nome Prodotto');
364
+ define('TXT_WPSC_ADMINMENU', 'Menu Admin');
365
+ define('TXT_WPSC_USEONLYEXTERNALLINK', 'Se questo prodotto è in vendita su un altro sito web, inserite il link qui. Per esempio, se questo prodotto è un file MP3 in vendita su itunes poteteinserire il link qui. Questa opzione sovrascrive i link "Compra subito" e "Aggiungi al carrello" e conduce subito al sito collegato.');
366
+ define('TXT_WPSC_EXTERNALLINK', 'Link esterno');
367
+ define('TXT_WPSC_BUTTONTYPE', 'Tipo pulsante');
368
+ define('TXT_WPSC_BUYNOW', 'Compra subito');
369
+ define('TXT_WPSC_ASSOCIATEWITHFILE', 'Associa con file? (Spuntane uno)');
370
+ define('TXT_WPSC_SHOWLIVESEARCH', 'Utilizza ricerca Live');
371
+ define('TXT_WPSC_USPS_USERID', 'ID USPS');
372
+ define('TXT_WPSC_USPS_PASSWORD', 'Password USPS');
373
+
374
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Dettagli spedizione');
375
+ define('TXT_WPSC_SHOWADVANCEDSEARCH', 'Mostra ricerca avanzata');
376
+ define('TXT_WPSC_GOOGLEMECHANTKEY', 'Google Merchant Key');
377
+ define('TXT_WPSC_GOOGLEMECHANTID', "Google Merchant ID");
378
+ define('TXT_WPSC_IMAGESIZEINFO', 'Nota: se questo valore è vuoto, l\'immagine non verrà ridimensionata');
379
+ define('TXT_WPSC_ENDLESSSUBSCRIPTION', 'Sottoscrizione permanente?');
380
+ define('TXT_WPSC_RECEIVED', 'Ordine ricevuto');
381
+ define('TXT_WPSC_ORDER_STATUS', 'Stato ordine');
382
+ define('TXT_WPSC_ORDER_SUMMARY', 'Riepilogo ordine');
383
+ define('TXT_WPSC_LANGUAGE', 'Lingua');
384
+ define('TXT_WPSC_ACCEPTED_PAYMENT', 'Pagamento accettato');
385
+ define('TXT_WPSC_JOB_DISPATCHED', 'In lavorazione');
386
+ define('TXT_WPSC_PROCESSED', 'Ordine chiuso');
387
+ define('TXT_WPSC_ECOMMERCE', 'e-Commerce');
388
+ define('TXT_WPSC_OPTIONS', 'Impostazioni');
389
+ define('TXT_WPSC_ADDPRODUCTS', 'Aggiungi prodotti');
390
+ define('TXT_WPSC_SENDSMS', 'Invia SMS');
391
+ define('TXT_WPSC_PRODUCTS', 'Prodotti');
392
+ define('TXT_WPSC_ADDCATEGORY', 'Aggiungi gruppo prodotti');
393
+ define('TXT_WPSC_CATEGORIES', 'Categorie');
394
+ define('TXT_WPSC_BRANDS', 'Marche');
395
+ define('TXT_WPSC_VARIATIONS', 'Varianti');
396
+ define('TXT_WPSC_PURCHASELOG', 'Vendite');
397
+ define('TXT_WPSC_ORDER_LOG', 'Ordini');
398
+ define('TXT_WPSC_OLDER_ORDERS', 'Ordini pregressi');
399
+ define('TXT_WPSC_ORDER', 'Ordini');
400
+ define('TXT_WPSC_TOTAL_THIS_MONTH', 'Totale guadagnato questo mese');
401
+ define('TXT_WPSC_MONTHLY_REPORT', 'Resoconto ultimi sei mesi');
402
+ define('TXT_WPSC_TOTAL_INCOME', 'Totale guadagno');
403
+ define('TXT_WPSC_ACCEPTED_PAYMENTS', '(pagamenti accettati)'); //text has changed slightly
404
+ define('TXT_WPSC_PAYMENTGATEWAYOPTIONS', 'Opzioni di pagamento');
405
+ define('TXT_WPSC_HELPINSTALLATION', 'Aiuto/Aggiorna');
406
+ define('TXT_WPSC_EXAMPLECATEGORY', 'Categorie esempio');
407
+ define('TXT_WPSC_EXAMPLEDETAILS', 'Dettagli esempio');
408
+ define('TXT_WPSC_EXAMPLEBRAND', 'Marca esempio');
409
+ define('TXT_WPSC_PRODUCTIMAGEWIDTH', 'Larghezza immagine prodotto');
410
+ define('TXT_WPSC_PRODUCTIMAGEHEIGHT', 'Altezza immagine prodotto');
411
+ define('TXT_WPSC_CATEGORYIMAGEWIDTH', 'Larghezza immagine gruppo prodotti');
412
+ define('TXT_WPSC_CATEGORYIMAGEHEIGHT', 'Altezza immagine gruppo prodotti');
413
+ define('TXT_WPSC_PRODUCTLISTURL', 'URL della lista prodotti');
414
+ define('TXT_WPSC_SHOPPINGCARTURL', 'URL del carrello degli acquisti');
415
+ define('TXT_WPSC_CHECKOUTURL', 'URL della pagina di pagamento');
416
+ define('TXT_WPSC_TRANSACTURL', 'URL del dettaglio della transazione');
417
+ define('TXT_WPSC_PAYMENTGATEWAY', 'Il gateway di pagamento da utilizzare');
418
+ define('TXT_WPSC_CARTLOCATION', 'URL del carrello');
419
+ define('TXT_WPSC_SHOWCATEGORYBRANDS', 'Mostra categorie o marchi o entrambi');
420
+ define('TXT_WPSC_CURRENCYTYPE', 'Tipo valuta');
421
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Posizione simbolo valuta');
422
+ define('TXT_WPSC_GSTRATE', 'Il tasso GST');
423
+ define('TXT_WPSC_MAXDOWNLOADS', 'il limite di download');
424
+ define('TXT_WPSC_DISPLAYPNP', 'Mostra o nascondi tariffa per la spedizione e imballaggio');
425
+ define('TXT_WPSC_DISPLAYSPECIALS', 'Mostra o nascondi offerte speciali sulla barra laterale');
426
+ define('TXT_WPSC_POSTAGEAND_PACKAGING', 'Tariffa per la spedizione o imballaggio di default');
427
+ define('TXT_WPSC_PURCHLOGEMAIL', 'Indirizzo E-mail cui verrà inviato il rapporto degli acquisti');
428
+ define('TXT_WPSC_RETURNEMAIL', 'Indirizzo E-mail da cui i resoconti degli acquisti vengono inviati');
429
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Termini e condizioni di pagamento');
430
+ define('TXT_WPSC_DEFAULTBRAND', 'Marca di default');
431
+
432
+
433
+ //define('TXT_WPSC_DEFAULTCATEGORY', 'Categoria di default');
434
+
435
+ define('TXT_WPSC_DEFAULTCATEGORY', 'Selezionate il gruppo prodotti che desiderate visualizzare nella pagina prodotti per default.');
436
+
437
+ define('TXT_WPSC_PAYPALBUSINESS', 'paypal business');
438
+ define('TXT_WPSC_PAYPALURL', 'URL paypal');
439
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Mostra valutazioni prodotti');
440
+ define('TXT_WPSC_PRODUCTSPAGE', 'Pagina prodotti');
441
+ define('TXT_WPSC_CHECKOUT', 'Berificate il vostro ordine');
442
+ define('TXT_WPSC_ENTERDETAILS', 'Inserite i vostri dettagli');
443
+ define('TXT_WPSC_TRANSACTIONRESULTS', 'Risultati transazione');
444
+ define('TXT_WPSC_SELECTACATEGORY', 'Selezionate un gruppo prodotti');
445
+ define('TXT_WPSC_SELECTABRAND', 'Selezionate una marca');
446
+ define('TXT_WPSC_PRODUCTNAME', 'Nome prodotto');
447
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Descrizione prodotto');
448
+ define('TXT_WPSC_ADDITIONALDESCRIPTION', 'Descrizione aggiuntiva');
449
+ define('TXT_WPSC_PRICE', 'Prezzo');
450
+ define('TXT_WPSC_TAXALREADYINCLUDED', 'Non includete le tasse (Le tasse vengono calcolate in base alle impostazioni dello Shop)'); // this text has changed and needs updating
451
+ define('TXT_WPSC_SPECIAL', 'Offerta speciale / Saldo'); // this text has changed and needs updating
452
+ define('TXT_WPSC_PRODUCT_DISPLAY', 'Visualizzazione prodotto');
453
+
454
+ define('TXT_WPSC_PRODUCTSTOCK', 'Quantità disponibile');
455
+
456
+ define('TXT_WPSC_UNTICKBOX', 'Abbiamo una quantità limitata per questo prodotto a magazzino. Se le scorte terminano, questo prodotto non sarà disponibile nello shop a meno che non deselezioniate questa casellla o aumentiate la quantità disponibile.');
457
+ define('TXT_WPSC_LIMITED_STOCK', 'Disponibilità limitata');
458
+
459
+ define('TXT_WPSC_CATEGORY', 'Categoria');
460
+ define('TXT_WPSC_BRAND', 'Marca');
461
+ define('TXT_WPSC_PRODUCT_VARS', 'Varianti prodotto');
462
+ define('TXT_WPSC_ADD_VAR', 'Aggiungi set varianti');
463
+ define('TXT_WPSC_EDIT_VAR', 'Modifica set varianti');
464
+ define('TXT_WPSC_SELECTAVARIATION', 'Seleziona una variante');
465
+ define('TXT_WPSC_NEW_VARIATION', 'Create una nuova variante');
466
+
467
+ define('TXT_WPSC_PRODUCTATT', 'Allegati prodotto');
468
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT', 'Carica file');
469
+ define('TXT_WPSC_FILETOBEPRODUCT', 'Nota: se questo campo viene riempito, il file caricato rappresenterà il prodotto in vendita.');
470
+ define('TXT_WPSC_RESIZEIMAGE', 'Ridimensiona anteprima');
471
+ define('TXT_WPSC_DONOTRESIZEIMAGE', 'Non ridimensionare l\'immagine di anteprima');
472
+ // define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'Utilizza altezza e larghezza di default');
473
+ // define('TXT_WPSC_USE', 'Utilizza');
474
+ // define('TXT_WPSC_PXHEIGHTBY', 'altezza in px');
475
+ // define('TXT_WPSC_PXWIDTH', 'larghezza in px');
476
+
477
+ // pe.{
478
+ //define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'Utilizza altezza e larghezza di default');
479
+ // }.pe
480
+ define('TXT_WPSC_SEPARATETHUMBNAIL', 'Utilizza anteprima separata'); // Needs Translation
481
+ define('TXT_WPSC_USE', 'Utilizza'); // Needs Translation
482
+ // pe.{
483
+ define('TXT_WPSC_USEDEFAULTSIZE', 'Utilizza dimensione di default'); // Needs Translation
484
+ define('TXT_WPSC_USESPECIFICSIZE', 'Utilizza dimensione specifica'); // Needs Translation
485
+ define('TXT_WPSC_PXHEIGHT', 'altezza in px'); // Needs Translation
486
+ define('TXT_WPSC_PXWIDTH', 'larghezza in px'); // Needs Translation
487
+ // }.pe
488
+
489
+
490
+ define('TXT_WPSC_UPLOADNEWIMAGE', 'Sostituisci immagine');
491
+ define('TXT_WPSC_DELETEIMAGE', 'Elimina immagine');
492
+ define('TXT_WPSC_EDIT', 'Modifica');
493
+ define('TXT_WPSC_DELETE', 'Elimina');
494
+ define('TXT_WPSC_REMOVE', 'Rimuovi');
495
+ define('TXT_WPSC_NAME', 'Nome');
496
+ define('TXT_WPSC_TYPE', 'Tipo');
497
+ define('TXT_WPSC_MANDATORY', 'Obbligatorio');
498
+ define('TXT_WPSC_DISPLAY_IN_LOG', 'Visualizza<br /> nel Rapporto');
499
+ define('TXT_WPSC_DESCRIPTION', 'Descrizione');
500
+ define('TXT_WPSC_CATEGORY_PARENT', 'Gruppo di riferimento');
501
+ define('TXT_WPSC_IMAGE', 'Immagine');
502
+ define('TXT_WPSC_HEIGHT', 'Altezza');
503
+ define('TXT_WPSC_WIDTH', 'Larghezza');
504
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Inserite un valido');
505
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Inserite un nome valido');
506
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Inserite un cognome valido');
507
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Inserite un indirizzo e-mail valido');
508
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Inserite un indirizzo valido');
509
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Inserite un numero di telefono valido');
510
+ define('TXT_WPSC_TERMSANDCONDITIONS', 'Non avete accettato i termini e le condizioni');
511
+ define('TXT_WPSC_NOTHINGINYOURSHOPPINGCART', 'Non ci sono prodotti nel vostro carrello');
512
+
513
+ define('TXT_WPSC_PROCESSING_PROBLEM', 'C\'è stato un problema con l\'elaborazione del vostro ordine, Vi chiediamo di inviare cortesemente una e-mail di segnalazione al proprietario del sito. Grazie.');
514
+
515
+
516
+ define('TXT_WPSC_SPECIALS', 'Offerte speciali');
517
+ define('TXT_WPSC_BUY', 'Compra');
518
+ define('TXT_WPSC_SHOPPINGCART', 'Carrello della spesa');
519
+ define('TXT_WPSC_NUMBEROFITEMS', 'Numero di articoli');
520
+ define('TXT_WPSC_NOMOREAVAILABLE', 'Questo prodotto non è disponibile a magazzino.');
521
+ define('TXT_WPSC_EMPTYYOURCART', 'Svuotate il vostro carrello');
522
+ define('TXT_WPSC_GOTOCHECKOUT', 'Andate alla cassa');
523
+ define('TXT_WPSC_CONTINUESHOPPING', 'Continuate gli acquisti');
524
+ define('TXT_WPSC_YOURSHOPPINGCARTISEMPTY', 'Il vostro carrello è vuoto');
525
+ define('TXT_WPSC_VISITTHESHOP', 'Visitate il negozio');
526
+ define('TXT_WPSC_PAGES', 'Pagine');
527
+ define('TXT_WPSC_OUTOF', 'di');
528
+ define('TXT_WPSC_VOTES', 'voti.');
529
+ define('TXT_WPSC_CLICKSTARSTORATE', 'Fate click sulle stelle per valutare');
530
+ define('TXT_WPSC_AVERAGERATINGOF', 'Valutazione media di');
531
+ define('TXT_WPSC_YOURVOTE', 'Il tuo voto');
532
+ define('TXT_WPSC_AVERAGEVOTE', 'Voto medio');
533
+ define('TXT_WPSC_YOUHAVEVOTED', 'Voi avete votato');
534
+ define('TXT_WPSC_NOVOTES', 'Nessun voto');
535
+ define('TXT_WPSC_1VOTE', '1 Voto');
536
+ define('TXT_WPSC_VOTES2', 'Voti');
537
+ define('TXT_WPSC_PERSONGIVEN', 'persona ha dato a questa immagine');
538
+ define('TXT_WPSC_PERSONGIVEN2', 'stelle.');
539
+ define('TXT_WPSC_PEOPLEGIVEN', 'persone hanno dato a questa immagine');
540
+ define('TXT_WPSC_PEOPLEGIVEN2', 'stelle.');
541
+ define('TXT_WPSC_ITEMHASBEENADDED', 'L\'articolo è stato aggiunto');
542
+ define('TXT_WPSC_ITEMHASNOTBEENADDED', 'L\'articolo non è stato aggiunto');
543
+ define('TXT_WPSC_ADDNEWCATEGORY', 'Aggiungi nuovo gruppo prodotti');
544
+ define('TXT_WPSC_SUBMIT', 'Invia');
545
+ define('TXT_WPSC_SELECTAVALIDCATEGORY', 'Slezionate un gruppo prodotti valido');
546
+ define('TXT_WPSC_PRODUCTNAME', 'Nome prodotto');
547
+ define('TXT_WPSC_PRODUCTDESCRIPTION', 'Descrizione prodotto');
548
+ define('TXT_WPSC_ADDNEWPRODUCT', 'Aggiungi prodotto');
549
+ define('TXT_WPSC_PRODUCTQUANTITY', 'Quantità prodotto');
550
+ define('TXT_WPSC_PRODUCTIMAGE', 'Immagine prodotto');
551
+ define('TXT_WPSC_PRODUCTPRICE', 'Prezzo prodotto');
552
+ define('TXT_WPSC_NOTAX', 'Senza tasse');
553
+ define('TXT_WPSC_ABOUT', 'Info su');
554
+ define('TXT_WPSC_ABOUTCONTENT', 'Benvenuti nel pannello di controllo di e-commerce. <br /><br /><strong>Nota:</strong> in alcune installazioni, il carrello della spesa potrebbe svuotarsi ogni volta che la pagina si ricarica. Se questo dovesse accadere, dovrete aggiungere questa linea di codice:<br /><br />session_start();<br /><br />al file index.php nella directory di base di wordpress.<br />');
555
+ define('TXT_WPSC_CONTACTDETAILS', 'Inserite i vostri dettagli di contatto:');
556
+ define('TXT_WPSC_CREDITCARDHANDY', 'Attenzione: una volta premuto "invio", tenete a portata di mano la vostra carta di credito.');
557
+ define('TXT_WPSC_ASTERISK', 'I campi contrassegnati da un asterisco, devono essere obbligatoriamente compilati.');
558
+ define('TXT_WPSC_FIRSTNAME', 'Nome');
559
+ define('TXT_WPSC_LASTNAME', 'Cognome');
560
+ define('TXT_WPSC_EMAIL', 'E-mail');
561
+ define('TXT_WPSC_ADDRESS', 'Indirizzo');
562
+ define('TXT_WPSC_ADDRESS1', 'Indirizzo 1');
563
+ define('TXT_WPSC_ADDRESS2', 'Indirizzo 2');
564
+ define('TXT_WPSC_CITY', 'Città');
565
+ define('TXT_WPSC_STATE', 'Stato');
566
+ define('TXT_WPSC_COUNTRY', 'Nazione');
567
+ define('TXT_WPSC_PHONE', 'Telefono');
568
+ define('TXT_WPSC_POSTAL_CODE', 'C.A.P.');
569
+ define('TXT_WPSC_TERMS1', 'Accetto i ');
570
+ define('TXT_WPSC_TERMS2', 'Termini e le condizioni generali');
571
+
572
+
573
+ define('TXT_WPSC_TEXT', 'Testo');
574
+ define('TXT_WPSC_TEXTAREA', 'Area di testo');
575
+ define('TXT_WPSC_HEADING', 'Titolo');
576
+
577
+ define('TXT_WPSC_MAKEPURCHASE', 'Effettua l\'acquisto');
578
+ define('TXT_WPSC_BUYPRODUCTS', 'Acquistate alcuni prodotti prima di utilizzare questa pagina');
579
+ define('TXT_WPSC_BRANDHASBEENEDITED', 'La Marca è stata modificata.');
580
+ define('TXT_WPSC_SURETODELETEPRODUCT', 'Siete sicuri di voler eliminare questo prodotto?');
581
+ define('TXT_WPSC_ADDBRAND', 'Aggiungi Marca');
582
+ define('TXT_WPSC_DISPLAYBRANDS', 'Visualizza Marche');
583
+ define('TXT_WPSC_EDITBRAND', 'Modifica Marca');
584
+ define('TXT_WPSC_ADD', 'Aggiungi');
585
+ define('TXT_WPSC_ADD_NEW_FORM', 'Aggiungi Nuovo Campo Modulo');
586
+ define('TXT_WPSC_SAVE_CHANGES', 'Salva modifiche');
587
+
588
+ define('TXT_WPSC_CATEGORYHASBEENEDITED', 'Il gruppo prodotti è stato modificato.');
589
+ define('TXT_WPSC_DISPLAYCATEGORIES', 'Mostra gruppo prodotti');
590
+ define('TXT_WPSC_ADDCATEGORY', 'Aggiungi gruppo prodotti');
591
+ define('TXT_WPSC_EDITCATEGORY', 'Modifica gruppo prodotti');
592
+ define('TXT_WPSC_ALLCATEGORIES', 'Mostra tutte le categorie prodotti');
593
+
594
+ define('TXT_WPSC_DISPLAYVARIATIONS', 'Visualizza varianti');
595
+ define('TXT_WPSC_ADDVARIATION', 'Aggiungi set varianti');
596
+ define('TXT_WPSC_EDITVARIATION', 'Modifica set varianti');
597
+ define('TXT_WPSC_VARIATIONHASBEENEDITED', 'La variante è stata modificata.');
598
+ define('TXT_WPSC_VARIATION_VALUES', 'Valori della Variante');
599
+ define('TXT_WPSC_REMOVE_SET', 'Elimina questo Set'); //this needs to be translated
600
+
601
+ define('TXT_WPSC_SELECT_PARENT', 'Seleziona superiore');
602
+ define('TXT_WPSC_PRODUCTHASBEENEDITED', 'Il prodotto è stato modificato.');
603
+ define('TXT_WPSC_ADDPRODUCT', 'Aggiungi prodotto');
604
+ define('TXT_WPSC_DISPLAYPRODUCTS', 'Mostra prodotti');
605
+ define('TXT_WPSC_PLEASESELECTACATEGORY', 'Selezionate un gruppo prodotti');
606
+ define('TXT_WPSC_STOCK', 'Magazzino');
607
+ define('TXT_WPSC_PNP', 'P&amp;P');
608
+ define('TXT_WPSC_EDITITEM', 'Modifica elemento');
609
+ define('TXT_WPSC_PRODUCTDETAILS', 'Dettagli prodotto');
610
+ define('TXT_WPSC_SELECT_PRODUCT', 'Seleziona un prodotto esistente');
611
+ define('TXT_WPSC_ENTERPRODUCTDETAILSHERE', '(inserite i dettagli prodotto qui)');
612
+ define('TXT_WPSC_ADDITIONALPRODUCTDESCRIPTION', 'Descrizione prodotto aggiuntiva');
613
+ define('TXT_WPSC_ADDITEM', 'Aggiungi elemento');
614
+ define('TXT_WPSC_CHOOSEACATEGORY', 'Scegli un gruppo prodotti');
615
+ define('TXT_WPSC_CHOOSEABRAND', 'Scegliete una Marca');
616
+ define('TXT_WPSC_USETHEACTUALIMAGE', 'Utilizza l\'immagine attuale. No ridimensione.');
617
+ define('TXT_WPSC_DISPLAYPURCHASES', 'Rapporto Acquisti');
618
+ define('TXT_WPSC_ID', 'ID');
619
+ define('TXT_WPSC_TRANSACTIONSTATUS', 'Stato transazione');
620
+ define('TXT_WPSC_DATE', 'Data');
621
+ define('TXT_WPSC_VIEWDETAILS', 'Detagli'); //Text has changed - translation is needed
622
+ define('TXT_WPSC_STATUS', 'Stato');
623
+ define('TXT_WPSC_SUCCESSFUL', 'Conclusa con successo');
624
+ define('TXT_WPSC_FAILED', 'Fallita');
625
+ define('TXT_WPSC_GST', 'GST');
626
+ define('TXT_WPSC_PP', 'P&amp;P');
627
+ define('TXT_WPSC_TOTAL', 'Totale');
628
+ define('TXT_WPSC_FINALTOTAL', 'Totale finale');
629
+ define('TXT_WPSC_CUSTOMERDETAILS', 'Dettagli cliente');
630
+ define('TXT_WPSC_USERSCARTWASEMPTY', 'Questo carrello utente era vuoto');
631
+ define('TXT_WPSC_GOBACK', 'Indietro');
632
+ define('TXT_WPSC_THANKSAPPLIED', 'Grazie, le vostre modifiche sono state applicate.');
633
+ define('TXT_WPSC_FORM_FIELDS', 'Opzioni gateway');
634
+ define('TXT_WPSC_PAYMENTGATEWAY2', 'Gateway di pagamento');
635
+ define('TXT_WPSC_PLEASESELECTAPAYMENTGATEWAY', 'Selezionate un gateway di pagamento');
636
+ define('TXT_WPSC_PAYMENTGATEWAYNOTE', '<strong>Nota:</strong> Questa versione lite del plugin e-Commerce permette solamente di interfacciarsi con PayPal.<br /><br />Se state cercando una versione piè professionale "non paypal", allora abbiamo a vsotra disposizione la <a href="http://www.instinct.co.nz/blogshop">versione gold di e-Commerce</a> che si interfaccia senza problemi con authorize.net, DPS (www.dps.co.nz), e paystation (www.paystation.co.nz).');
637
+ define('TXT_WPSC_URLSETTINGS', 'Impostazioni URL');
638
+ define('TXT_WPSC_PRODUCTLISTURL', 'URL dell\'elenco prodotti');
639
+ define('TXT_WPSC_SHOPPINGCARTURL', 'URL carrello della spesa');
640
+ define('TXT_WPSC_CHECKOUTURL', 'URL della cassa');
641
+ define('TXT_WPSC_TRANSACTIONDETAILSURL', 'URL dei dettagli della transazione');
642
+ define('TXT_WPSC_PRESENTATIONSETTINGS', 'Impostazioni presentazione');
643
+ define('TXT_WPSC_CARTLOCATION', 'URL del carrello');
644
+ define('TXT_WPSC_SIDEBAR', 'Barra laterale');
645
+ define('TXT_WPSC_PAGE', 'Pagina');
646
+ define('TXT_WPSC_WIDGET', 'Widget');
647
+ define('TXT_WPSC_NEEDTOENABLEWIDGET', 'Dovete abilitare il plugin widget per utilizzare questo');
648
+ define('TXT_WPSC_MANUAL', 'Manuale');
649
+ define('TXT_WPSC_SHOWCATEGORIESBRANDS', 'Mostra Categorie/Marche');
650
+ define('TXT_WPSC_BOTH', 'Entrambi');
651
+ define('TXT_WPSC_PRODUCTTHUMBNAILSIZE', 'Dimensione anteprima prodotto di default');
652
+ define('TXT_WPSC_CATEGORYTHUMBNAILSIZE', 'Dimensione anteprima gruppo prodotti di default');
653
+ define('TXT_WPSC_SHOWPOSTAGEANDPACKAGING', 'Mostra tariffa per la spedizione e imballaggio');
654
+ define('TXT_WPSC_YES', 'Si');
655
+ define('TXT_WPSC_NO', 'No');
656
+ define('TXT_WPSC_SHOWSPECIALS', 'Mostra offerte speciali nella barra laterale');
657
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', 'Mostra valutazioni prodotti');
658
+ define('TXT_WPSC_CURRENCYSETTINGS', 'Impostazioni valuta');
659
+ define('TXT_WPSC_GSTTAXRATE', 'Percentuale GST/Tasse');
660
+ define('TXT_WPSC_CURRENCYTYPE', 'Tipo valuta');
661
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', 'Posizione simbolo valuta');
662
+ define('TXT_WPSC_DEFAULTPOSTAGEPACKAGING', 'Tariffa per la spedizione &amp; imballaggio di default');
663
+ define('TXT_WPSC_ADMINISTRATIONSETTINGS', 'Impostazioni Amministrazione');
664
+ define('TXT_WPSC_MAXDOWNLOADSPERFILE', 'Download max per file');
665
+ define('TXT_WPSC_PURCHASELOGEMAIL', 'Email Rapporto Acquisti');
666
+ define('TXT_WPSC_REPLYEMAIL', 'Email di replica');
667
+ define('TXT_WPSC_BRANDNOCAP', 'marca');
668
+ define('TXT_WPSC_CATEGORYNOCAP', 'categoria');
669
+ define('TXT_WPSC_UDPATING', 'Aggiornamento');
670
+ define('TXT_WPSC_UPDATING', 'Aggiornamento');
671
+ define('TXT_WPSC_MOREDETAILS', 'Ult. dettagli');
672
+ define('TXT_WPSC_ADDTOCART', 'Aggiungi al carrello');
673
+ define('TXT_WPSC_AVGCUSTREVIEW', 'Media valutazioni clienti');
674
+ define('TXT_WPSC_YOURRATING', 'La vostra valutazione');
675
+ define('TXT_WPSC_RATING_SAVED', 'Salvato');
676
+ define('TXT_WPSC_RATETHISITEM', 'Valuta questo articolo');
677
+ define('TXT_WPSC_PRODUCTSOLDOUT', 'Questo prodotto è esaurito.');
678
+ define('TXT_WPSC_NOITEMSINTHIS', 'Non ci sono articoli in questa');
679
+ define('TXT_WPSC_CATEGORYORBRAND', 'Categoria o Marca');
680
+ define('TXT_WPSC_PLEASECHOOSEA', 'Scegliete una');
681
+ define('TXT_WPSC_PLEASECHOOSEAGROUP', 'Scegliete un gruppo prodotti');
682
+ define('TXT_WPSC_PRODUCT', 'Prodotto');
683
+ define('TXT_WPSC_QUANTITY', 'Quantità');
684
+ define('TXT_WPSC_QUANTITY_SHORT', 'Qta'); //translation needed
685
+ define('TXT_WPSC_APPLY', 'Applica');
686
+ define('TXT_WPSC_MAKEPAYMENT', 'Effettua pagamento');
687
+ define('TXT_WPSC_EMPTYSHOPPINGCART', 'Svuota carrello');
688
+ define('TXT_WPSC_TOTALPRICE', 'Prezzo totale');
689
+ define('TXT_WPSC_NOITEMSINTHESHOPPINGCART', 'Non ci sono articoli nel carrello');
690
+ define('TXT_WPSC_EMAILMSG1', "Grazie, l\'ordine è stato accettato, tutti gli articoli da spedire verranno elaborati il più presto possibile, per tutti gli articoli che possono essere scaricati, potete utilizzare i link presenti in questa pagina.\n\rTutti i prezzi includono le tasse, la tariffa per la spedizione e l'imballaggio dove necessario.\n\rAvete ordinato i seguenti articoli:\n\r");
691
+ define('TXT_WPSC_EMAILMSG2', ".\n\rQuesti articoli sono stati ordinati:\n\r\n\r");
692
+ define('TXT_WPSC_CLICKTODOWNLOAD', 'Fate click qui per il download');
693
+ define('TXT_WPSC_DOWNLOAD', 'Download');
694
+ define('TXT_WPSC_YOURTRANSACTIONID', 'ID della Vs. transazione');
695
+ define('TXT_WPSC_TRANSACTIONID', 'ID transazione');
696
+ define('TXT_WPSC_PURCHASERECEIPT', 'Riceuta dell\'acquisto');
697
+ define('TXT_WPSC_PURCHASEREPORT', 'Riepilogo acquisti');
698
+ define('TXT_WPSC_THETRANSACTIONWASSUCCESSFUL', 'La transazione ha avuto successo');
699
+ define('TXT_WPSC_THETRANSACTIONWASNOTSUCCESSFUL', 'La transazione non ha avuto successo');
700
+ define('TXT_WPSC_GOBACKTOCHECKOUT', 'Torna alla cassa');
701
+ define('TXT_WPSC_SPECIALPRICE', 'Prezzo speciale');
702
+
703
+ define('TXT_WPSC_INSTRUCTIONS', '
704
+ Procedura per l\'installazione
705
+ <ul class=\'installation\'>
706
+ <li>Copiare i contenuti del file zip nella directory wp-content/plugins.</li>
707
+ <li>Attivare il plugin dalla pagina dei plugin di wordpress</li>
708
+ <li>Andare alla pagina "Opzioni Gateway di pagamento" nel tab "e-Commerce" ed inserire le informazioni relative. (il gateway di accesso di default per paypal è la sandbox di paypal)</li>
709
+ <li>Creare alcune Categorie e Prodotti utilizzando le pagine Categorie e Prodotti</li>
710
+ </ul>
711
+
712
+ <p>Se so sta aggiornando da una versione precedente, vi suggeriamo di disattivare e riattivare il plugin.</p>
713
+
714
+ <h2>Aggiornamenti e Moduli</h2>
715
+
716
+ <p>Troverete ullteriori informazioni sui seguenti Moduli di WP e-Commerce visitando il sito web di <a href="http://www.instinct.co.nz/blogshop">Instinct BlogShop</a>.</p>
717
+
718
+ <ul class=\'installation\'>
719
+ <li>Gold</li>
720
+ <li>DropShop</li>
721
+ <li>Audio Player</li>
722
+ <li>GridView</li>
723
+ </ul>
724
+
725
+ <h2>Lista dei desideri</h2>
726
+ <p>Se desiderate una nuova caratteristica che non è ancora presente in WP e-Commerce potete <a href="http://www.instinct.co.nz/contact-us/">commissionarne lo sviluppo</a> o aggiungerla alla lista dei desideri (Wishlist) nel <a href="http://instinct.co.nz/blogshop/support-forums/">forum della community</a> (In inglese).
727
+
728
+ <h2>Personalizzazione e Suggerimenti</h2>
729
+ <p><strong>Tasse</strong><br />Se necessario, potete inserire le percentualidelle tasse nella pagina delle opzioni del tab "e-Commerce".</p>
730
+ <p><strong>Email Rapporto Acquisti</strong><br />Se aggiungete un indirizzo E-mail per il rapporto acquisti nella pagina Rapporto Acquisti, verrà inviata una notifica a questo indirizzo E-mail ogni qualvolta qualcosa viene acquistato.</p>
731
+ <p><strong>Nascondete delle pagine</strong><br />
732
+ Per evitare che le pagine Carrello della Spesa, Alla Cassa e Risultati della Transazione vengano visualizzate nell\'elenco delle pagine, dovete prima scoprire i loro numeri di ID. <br />
733
+ <br />Poi dovete modificare il file nel tema che utilizzate che visualizza le pagine. Di solito questo si tratta di sidebar.php, trovate il codice che assomiglia a questo:<br />
734
+ <br />"&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;/h2&gt;\' ); ?&gt;"<br />
735
+ and replace with<br />
736
+ "&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;h2&gt;&amp;exclude=3,4,5\'); ?&gt;"<br />
737
+ <br />La parola "exclude" ordina di escludere queste pagine dall\'elenco, sostituite 3,4,5 con i numeri di ID delle pagine che desiderate escludere.</p>
738
+ <p><strong>Funzioni Immagini</strong><br />
739
+ Se il vostro server non ha le funzioni "PHP image" installate, non sarete in grado di ridimensionare le immagini una volta caricate</p>
740
+ <p><strong>Permalink</strong><br />
741
+ Ce la stiamo mettendo tutta.
742
+ Non siamo stati ancora in grado di trovare la maniera ottimale per trasmettere le variabili necessarie da pagina a pagina utilizzando i permalink che non usano il mod_rewrite, se non potete utilizzare il mod_rewrite, il plugin potrebbe non funzionare con i permalink attivi.</p>
743
+ <p><strong>Javascript e Ajax </strong><br />
744
+ e-commerce lite utilizza Ajax, il carrello della spesa che vede l\'utente funziona senza Javascript, ma le pagine di Amministrazione (specificamente le pagine Prodotti e Categorie) no. Per utilizzare la sezione di Amministrazione avrete bisogno di utilizzare un browser relativamente moderno ed avere i Javascript attivi. (Internet Explorer 6 o più recente, oppure Firefox 1.0 o più recente, versioni più vecchie non sono state testate e potrebbero non funzionare correttamente)</p>
745
+ <p><strong>Altro su Flickr</strong><br />
746
+ Abbiamo creato una serie di <a href="http://www.google.com/search?q=flickr+wp+e-commerce&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a">guide visuali</a> su Flickr.
747
+
748
+ ');
749
+
750
+
751
+ define('TXT_WPSC_SHIPPINGSETTINGS', 'Impostazioni di spedizione');
752
+ define('TXT_WPSC_BASE_LOCAL', 'Spedizione Locale Base');
753
+ define('TXT_WPSC_BASE_INTERNATIONAL', 'Spedizione Internazionale Base');
754
+ define('TXT_WPSC_BASE_COUNTRY', 'Nazione/Regione Base');
755
+
756
+ define('TXT_WPSC_SHIPPING_DETAILS', 'Costi aggiuntivi di spedizione'); // this needs updating
757
+ define('TXT_WPSC_LOCAL_PNP', 'Tariffa locale di spedizione'); // this needs updating
758
+ define('TXT_WPSC_INTERNATIONAL_PNP', 'Tariffa internazionale di spedizione'); // this needs updating
759
+ define('TXT_WPSC_SHIPPING_NOTE', 'Nota: calcolata una sola volta per ciascun prodotto sena tener conto della quantità ordinata.');
760
+ define('TXT_WPSC_COUNTRY_FORM_FIELD', 'Campo Modulo Nazione');
761
+ define('TXT_WPSC_COUNTRY_FORM_FIELD_EXPLANATION', '(selezionate quale campo modulo sulla pagina di checkout volete utilizzare per specificare la nazione)');
762
+
763
+ define('TXT_WPSC_SHIPPING', 'Spedizione');
764
+ define('TXT_WPSC_EMAIL_FORM_FIELD', 'Ccampo Modulo Email');
765
+ define('TXT_WPSC_EMAIL_FORM_FIELD_EXPLANATION', '(selezionate quale campo modulo sulla pagina di checkout volete utilizzare per specificare l\'indirizzo email)');
766
+
767
+
768
+ define('TXT_WPSC_PRODUCTIMAGES', 'Immagini prodotto');
769
+ define('TXT_WPSC_PRODUCTDOWNLOAD', 'Download prodotto');
770
+ define('TXT_WPSC_SHOWTHUMBNAILS', 'Mostra anteprime');
771
+ define('TXT_WPSC_ADD_ADDITIONAL_IMAGE', 'Aggiungi immagini aggiuntive');
772
+ define('TXT_WPSC_DELETE_IMAGE', 'Elimina immagine');
773
+ define('TXT_WPSC_GOLD_OPTIONS', 'Opzioni Gold');
774
+ define('TXT_WPSC_ACTIVATE_SETTINGS', 'Impostazioni attivazione: Gold Cart');
775
+ define('TXT_WPSC_ACTIVATION_KEY', 'Chiave di attivazione');
776
+ define('TXT_WPSC_THANKSACTIVATED', 'Grazie, il carrello della spesa gold è stato attivato.');
777
+ define('TXT_WPSC_NOTACTIVATED', 'Scusate, la chiave API non è corretta.');
778
+
779
+ define('TXT_WPSC_DEFAULT', 'Vista di default');
780
+ define('TXT_WPSC_LIST', 'Vista elenco');
781
+
782
+ define('TXT_WPSC_VISIBLE', 'Visibile');
783
+ define('TXT_WPSC_DELETE_PRODUCT', 'Elimina prodotto');
784
+ define('TXT_WPSC_ADDITIONAL_IMAGE', 'Immagine aggiuntiva');
785
+ define('TXT_WPSC_GATEWAY_OPTIONS', 'Opzioni gateway');
786
+ define('TXT_WPSC_SHIPPING_COUNTRY', 'Calcola prezzo di spedizione');
787
+ define('TXT_WPSC_CONFIRM_TOTALS', 'Confermate il totale prima di effettuare il pagamento:');
788
+ define('TXT_WPSC_CHECKOUT_FORM_FIELDS_DESCRIPTION', 'Qui potete personalizzare i moduli che verranno visualizzati nella pagina di checkout. La pagina di checkout contiene informazioni importanti sull\'utente che verranno mostrate nel report degli acquisti es. l\'indirizzo dell\'acquirente e il nome...');
789
+ define('TXT_WPSC_PAYMENT_OPTIONS', 'Opzioni di pagamento');
790
+ define('TXT_WPSC_PAYMENT_DESCRIPTION', 'Scegliete quali opzioni di pagamento desiderate rendere disponibili nella pagina di checkout. Per default gli acquirenti possono pagare questi articoli solamente utilizzando una carta di credito, comunque potreste anche desiderare che questi effettuino un pagamento manuale, in tal caso dovrete selezionare l\'opzione carta di credito + pagamento manuale.');
791
+
792
+ define('TXT_WPSC_DEFAULT_GATEWAY_ONLY', ' solamente');
793
+ define('TXT_WPSC_PLUS_MANUAL_PAYMENT', ' più opzione pagamento manuale');
794
+ define('TXT_WPSC_PAYMENT_METHOD', 'Metodo di Pagamento');
795
+ define('TXT_WPSC_PAY_USING', 'Pagate utilizzando');
796
+ define('TXT_WPSC_PAY_MANUALLY', 'Pagate con assegno/Bonifico');
797
+ define('TXT_WPSC_CREDIT_CARD', 'Carta di credito');
798
+ define('TXT_WPSC_ADJUSTABLE_QUANTITY', 'Mostra modulo quantità nella vista elenco');
799
+ define('TXT_WPSC_RSS_FEED_HEADER', 'Sottoscrivi feed dei tuoi ordini');
800
+ define('TXT_WPSC_RSS_FEED_LINK', 'Sottoscrivi un feed RSS');
801
+ define('TXT_WPSC_RSS_FEED_TEXT', 'dei tuoi ordini');
802
+ define('TXT_WPSC_INITIAL_SETUP', 'Create opzioni di default.');
803
+ define('TXT_WPSC_PLUGIN_NEWS_HEADER', 'Plugin Notizie');
804
+
805
+
806
+ define('TXT_WPSC_PLUGIN_NEWS', '
807
+
808
+ Il <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank">Modulo WP DropShop</a> è il carrello della spesa più recente e avanzato disponibile online. Assieme al Modulo Grid View renderà il tuo sito all\'ultimo grido! <br/><br/>
809
+
810
+ Il <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank">Modulo Grid View</a> è un modulo visuale costruito per arricchire l\'aspetto della tua pagina prodotto.<br/><br/>
811
+
812
+ Il <a href="http://www.instinct.co.nz/wp-campaign-monitor/100"> Modulo WP Campaign Monitor</a> è un accessorio per poter inviare una newsletter ai soli utenti WP che vogliono inviare newsletter, tracciare i risultati e organizzare la lista dei sottoscrittori. L\'ultima versione è integrata assieme ad e-commerce lite e questo significa che sarete in grado di inviare newsletter e-mail agli acquirenti e molto altro ancora.
813
+
814
+ ');
815
+
816
+
817
+ define('TXT_WPSC_POWERED_BY', 'Questo shop utilizza ');
818
+
819
+ define('TXT_WPSC_NO_PURCHASES', 'Non sono stati ancora effettuati acquisti.');
820
+
821
+
822
+ define('TXT_WPSC_DELIVERY_ADDRESS', 'Indirizzo per la consegna');
823
+ define('TXT_WPSC_DELIVERY_CITY', 'Città per la consegna');
824
+ define('TXT_WPSC_DELIVERY_COUNTRY', 'Nazione per la consegna');
825
+ define('TXT_WPSC_MP3_SETTINGS', 'Impostazioni MP3');
826
+ define('TXT_WPSC_MP3_SETTINGS_DESCRIPTION', 'Per creare una clip da 30 secondi di un file MP3, questo plugin necessita di <a href=\'http://sox.sourceforge.net/\'>SoX</a> compilato con il supporto MP3, inserite il percorso a SoX qui.');
827
+ define('TXT_WPSC_SOX_PATH', 'Percorso SoX');
828
+ define('TXT_WPSC_PREVIEW', 'Anteprima');
829
+ define('TXT_WPSC_DOWNLOAD_CSV', 'Scarica CSV');
830
+ define('TXT_WPSC_PREVIEW_FILE', 'Anteprima file');
831
+ define('TXT_WPSC_NEW_PREVIEW_FILE', 'Nuova anteprima file');
832
+ define('TXT_WPSC_REPLACE_PRODUCT', 'Sostituisci prodotto');
833
+ define('TXT_WPSC_TOTALSHIPPING', 'Totale spedizione');
834
+ define('TXT_WPSC_DISPLAY_FRONT_PAGE', 'Mostra nella pagina principale');
835
+ define('TXT_WPSC_SEARCH_FOR', 'Cerca');
836
+ define('TXT_WPSC_YOUR_SEARCH_FOR', 'La vostra ricerca di ');
837
+ define('TXT_WPSC_RETURNED_NO_RESULTS', 'non ha restituito alcun risultato.');
838
+ define('TXT_WPSC_POSTAGE', 'Tariffa per la spedizione');
839
+ define('TXT_WPSC_SUBTOTAL', 'Subtotale');
840
+
841
+
842
+ //everything under here needs translations, added after 19/1/2007
843
+
844
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Inserite un valido');
845
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', 'Inserite il vostro nome.');
846
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', 'Inserite il vostro cognome.');
847
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', 'Inserite un indirizzo email valido.');
848
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', 'Completate il vostro indirizzo.');
849
+ define('TXT_WPSC_PLEASEENTERAVALIDCITY', 'Inserite la vostra città.');
850
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', 'Inserite un numero di telefono valido.');
851
+ define('TXT_WPSC_PLEASESELECTCOUNTRY', 'Selezionate la vostra nazione di appartenenza dall\'elenco.');
852
+ define('TXT_WPSC_PLEASEAGREETERMSANDCONDITIONS', 'Selezionate l\'accettazione dei termini e delle condizioni. Sfortunamente non possiamo elaborare il vostro ordine altrimenti.');
853
+ define('TXT_WPSC_POSITION', 'Posizione');
854
+
855
+ define('TXT_WPSC_DELIVERY_REGION', 'Regione per la consegna');
856
+
857
+
858
+ define('TXT_WPSC_GENERAL_SETTINGS', 'Impostazioni Generali');
859
+ define('TXT_WPSC_TAX_SETTINGS', 'Impostazioni Tasse');
860
+ define('TXT_WPSC_POSTAGE_AND_TAX', 'Tariffa per la spedizione &amp; Tasse ');
861
+ define('TXT_WPSC_GRID', 'Vista Griglia');
862
+ define('TXT_WPSC_CANT_MOVE_CATEGORY', 'Non potete spostare un gruppo prodotti che contiene sottocategorie.');
863
+ define('TXT_WPSC_SURETODELETECATEGORY', 'Siete sicuri di voler eliminare questa subcategoria? Se la categoria ha qualche subcategoria, anche queste verranno eliminate.');
864
+ define('TXT_WPSC_VARIATION', 'Variante');
865
+ define('TXT_WPSC_OVER_TWO_VARIATIONS', 'Il controllo prezzo e assortimento non funziona se avete più di due varianti.');
866
+ define('TXT_WPSC_PRICE_AND_STOCK_CONTROL', 'Controllo Prezzo e Assortimento') ;
867
+
868
+ // pe.{
869
+ define('TXT_WPSC_CATSBRANDSLOCATION', 'URL Categorie &amp; Marche');
870
+ define('TXT_WPSC_DESCITEMSEPARATOR', ' : ');
871
+ define('TXT_WPSC_SEARCHITEMSEPARATOR', ' : ');
872
+ define('TXT_WPSC_SINGLE_SHIPPING_COUNTRY', 'Nazione di spedizione:');
873
+ define('TXT_WPSC_ADD_ANOTHER_VARIATION', 'Aggiungi una variante');
874
+ // }.pe
875
+ define('TXT_WPSC_PRODUCT_CATEGORIES', 'Seleziona Categorie');
876
+ define('TXT_WPSC_THANKS_DELETED', 'Grazie, questo report degli acquisti è stato eliminato');
877
+ define('TXT_WPSC_PRODUCT_IMAGE_PREVIEW', 'Immagine prodotto');
878
+ define('TXT_WPSC_PRODUCT_THUMBNAIL_PREVIEW', 'Anteprima prodotto');
879
+ define('TXT_WPSC_REMOVE_LOG', 'Rimuovi questo report');
880
+ define('TXT_WPSC_CATSANDBRAND', 'Categorie &amp; Marche');
881
+ define('TXT_WPSC_GOLD_DROPSHOP', 'DropShop');
882
+ define('TXT_WPSC_NEEDTOENABLEDROPSHOP', 'E\' necessario installare i moduli Gold e DropShop per utilizzare questo');
883
+ define('TXT_WPSC_DRAG_ITEM_HERE', 'Trascina qualsiasi articolo qui per aggiungerlo al vostro carrello.');
884
+ define('TXT_WPSC_SHOWCATEGORYTHUMBNAILS', 'Mostra anteprime gruppo prodotti');
885
+ define('TXT_WPSC_SHOPPING_CART', 'Carrello');
886
+ define('TXT_WPSC_SHOW_SLIDING_CART', 'Utilizza il Carrello Scorrevole');
887
+ define('TXT_WPSC_PREVIEW_FILE', 'Carica anteprima');
888
+ define('TXT_WPSC_PREVIEW_FILE_NOTE', 'Nota: Se non caricate un file di anteprima e il vostro server ha sox compilato con supporto per gli MP3 allora un\'anteprima del file verrà creata per voi.');
889
+ define('TXT_WPSC_PURCHASE_NUMBER', 'Acquisto N.');
890
+ define('TXT_WPSC_FILTER_ORDER', 'Filtra Ordini');
891
+ define('TXT_WPSC_SHOW_SEARCH', 'Mostra Ricerca');
892
+ define('TXT_WPSC_LOG_CURRENT_MONTH', 'Visualizza risultati dal mese corrente');
893
+ define('TXT_WPSC_LOG_PAST_THREE_MONTHS', 'Visualizza risultati degli ultimi tre mesi');
894
+ define('TXT_WPSC_LOG_ALL', 'Visualizza tutti i risultati');
895
+ define('TXT_SHOW_IMAGES_ONLY', 'Mostra solo immagini');
896
+ define('TXT_WPSC_SHOW_GALLERY', 'Mostra galleria anteprime');
897
+ define('TXT_WPSC_PLEASE_SELECT', 'Selezionate');
898
+ define('TXT_WPSC_TXN_ID', 'ID transazione');
899
+ define('TXT_WPSC_SINGLE_PRODUCTTHUMBNAILSIZE', 'Dimensione immagine singolo prodotto');
900
+ define('TXT_WPSC_RESET', 'Reset');
901
+ define('TXT_WPSC_ORDER_PENDING', 'Grazie, il vostro acquisto è in stato di elaborazione, vi verrà inviata una e-mail una volta che l\'ordine viene spedito.');
902
+ define('TXT_WPSC_ORDER_FAILED', 'Siamo spiacenti, il vostro ordine non è stato accettato, la causa più probabile è che avete fondi insufficienti.');
903
+ // Adrian - added for the options I added
904
+ define('TXT_WPSC_SHOW_CATEGORY_COUNT', 'Mostra Numero Prodotti per Gruppo prodotti');
905
+ define('TXT_WPSC_CATSPRODS_DISPLAY_TYPE', 'Gruppi prodotti/Visualizza Prodotti');
906
+ define('TXT_WPSC_CATSPRODS_TYPE_CATONLY', 'Solamente Gruppi Prodotti (Tutti i prodotti visualizzati)');
907
+ define('TXT_WPSC_CATSPRODS_TYPE_SLIDEPRODS', 'Gruppi prodotti scorrevoli (1 prodotto per pagina)');
908
+ // Adrian - END new added options
909
+ define('TXT_WPSC_ORDER_DETAILS', 'Dettagli ordine');
910
+ define('TXT_WPSC_SAVE_PROFILE', 'Salva profilo');
911
+ define('TXT_WPSC_USERACCOUNTURL', 'URL Account utente');
912
+ define('TXT_WPSC_MUST_BE_LOGGED_IN', 'Dovete avere eseguito il login per utilizzare questa pagina. utilizzate il modulo sottostante per eseguire il login nel vostro account.');
913
+ define('TXT_WPSC_YOUR_ACCOUNT', 'Il vostro Account');
914
+
915
+ define('TXT_WPSC_YOU_JUST_ADDED', 'Avete appena aggiunto "[product_name]" al vostro carrello.');
916
+ define('TXT_WPSC_SORRY_NONE_LEFT', 'Scusate ma l\'articolo "[product_name]" è esaurito.');
917
+
918
+ define('TXT_WPSC_CONTINUE_SHOPPING', 'Continuate gli acquisti');
919
+ define('TXT_WPSC_ITEM_GONE_OUT_OF_STOCK', 'Sembra che un articolo sia esaurito, tornate indietro e modificate il vostro ordine.');
920
+ define('TXT_WPSC_DISPLAY_FANCY_NOTIFICATIONS', 'Mostra avvisi divertenti per gli acquisti');
921
+ define('TXT_WPSC_IF_USER_CHECKOUT', 'Se avete un account utente, potete effettuare il ');
922
+ define('TXT_WPSC_LOG_IN', 'login.');
923
+ define('TXT_WPSC_IS_DONATION', 'Questa è una donazione visibile solamente nel widget donazioni');
924
+ define('TXT_WPSC_DONATION', 'Donazione');
925
+ define('TXT_WPSC_DONATION_LC', 'donazione');
926
+ define('TXT_WPSC_DONATION_SHIPPING', 'Nessuna spedizione per le donazioni');
927
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT_URL', 'Nome file del prodotto');
928
+ define('TXT_WPSC_FILETOBEPRODUCTURL', 'Nota: Caricate il vostro file nella directory dei file di e-commerce e inserite il nome del file qui.');
929
+ define('TXT_WPSC_DONATIONS', 'Donazioni');
930
+ define('TXT_WPSC_WRONG_FILE_PERMS', 'Le seguenti directory non hanno sufficienti permessi di scrittura: :directory: Non sarete in grado di caricare alcuna immagine o file qui. Avrete bisogno di cambiare i permessi su queste directory per reenderle scrivibili.');
931
+ define('TXT_WPSC_RESET_API', 'Reset chiave API');
932
+ define('TXT_WPSC_PRODUCTS_PER_PAGE', 'Prodotti per pagina');
933
+ define('TXT_WPSC_OPTION_PRODUCTS_PER_PAGE', 'Numero di prodotti da mostrare per pagina');
934
+ define('TXT_WPSC_PAGE_NUMBER_POSITION', 'Pozione numero di pagina');
935
+
936
+
937
+ define('TXT_WPSC_YOUR_BILLING_CONTACT_DETAILS', '1. I vostri dettagli di fatturazione/contatto');
938
+ define('TXT_WPSC_DELIVER_TO_A_FRIEND', '2. I dettagli della spedizione');
939
+ define('TXT_WPSC_E_COMMERCE', 'e-Commerce');
940
+ define('TXT_WPSC_THANKS_SAVED', 'Grazie, le vostre modifiche sono state salvate.');
941
+ define('TXT_WPSC_REGISTER', 'Registra');
942
+ define('TXT_WPSC_TAX', 'Tassa');
943
+
944
+ define('TXT_WPSC_USE_SHIPPING', 'Utilizza spedizione');
945
+ define('TXT_WPSC_USE_SHIPPING_DESCRIPTION', 'Se state vendendo solo download digitali, dovreste selzionare no per disabilitare la spedizione sul vostro sito.');
946
+
947
+ define('TXT_WPSC_PAGESETTINGS', 'Impostazioni impaginazione');
948
+ define('TXT_WPSC_USE_PAGINATION', 'Utilizza impaginazione');
949
+ define('TXT_WPSC_ADD_PRODUCT', 'Aggiungi prodotto');
950
+ define('TXT_WPSC_EDIT_PRODUCT', 'Modifica prodotto');
951
+ define('TXT_WPSC_UPDATE_PAGE_URLS', 'Aggiorna URL delle pagine');
952
+ define('TXT_WPSC_VARIATIONS_AND_SPECIALS_DONT_MIX', 'Nota: Non potete attualmente impostare un prezzo speciale su un prodotto con delle varianti');
953
+ define('TXT_WPSC_PRODUCT_SPECIALS', 'Offerte Speciali prodotti');
954
+ define('TXT_WPSC_SHOW_SHARE_THIS', 'Mostra "Condividi" (Social Bookmarks)');
955
+ define('TXT_WPSC_SHOW_NO_PRODUCT', 'Nessun prodotto');
956
+ define('TXT_WPSC_CHOOSE_DOWNLOADABLE_PRODUCT', 'Scegli un file scaricabile per questo prodotto:');
957
+ define('TXT_WPSC_PLEASECHOOSE', 'Scegliete');
958
+
959
+ define('TXT_WPSC_VARIATION_CONTROL', 'Controllo variante');
960
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_SINGLE', 'Controllo :variation1:');
961
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_PAIR', 'Controllo :variation1: e :variation2:');
962
+ define('TXT_WPSC_VIEW_PREVIEW_CLIP', 'Vedi Clip di Anteprima');
963
+ define('TXT_WPSC_REQUIRE_REGISTRATION', 'Gli utenti devono essere registrati prima di andare alla cassa');
964
+ define('TXT_WPSC_PLEASE_LOGIN', 'Effettuate il login o registratevi qui sopra per effettuare i vostri acquisti');
965
+ define('TXT_WPSC_IF_JUST_REGISTERED', 'Se vi siete appena registrati, verificate la vostra email ed effettuate il login prima di continuare i vostri acquisti');
966
+ define('TXT_WPSC_SELECT_THEME', 'Seleziona Tema');
967
+ define('TXT_WPSC_NEW_ORDER_PENDING_SUBJECT', 'Nuovo ordine in corso');
968
+ define('TXT_WPSC_NEW_ORDER_PENDING_BODY', "C\è un nuovo ordine in attesa di elaborazione: \n\r ");
969
+ define('TXT_WPSC_NO_SHIPPING', "Non utilizzare spedizione");
970
+ define('TXT_WPSC_DEFAULT_MEMBERS_ONLY', "Questa pagina è per soli membri, dovete effettuare il login per accedere a questa pagina");
971
+ define('TXT_WPSC_MEMBERSHIP_CONTROL', "Controllo Iscrizione");
972
+ define('TXT_WPSC_PRODUCT_MEMBER_STATUS', "Questo prodotto è un\'iscrizione?");
973
+ define('TXT_WPSC_PRODUCT_MEMBERSHIP_LENGTH', "Durata Iscrizione");
974
+ define('TXT_WPSC_DAYS', "Giorni");
975
+ define('TXT_WPSC_MONTHS', "Mesi");
976
+ define('TXT_WPSC_YEARS', "Anni");
977
+ define('TXT_WPSC_MEMBERS_SUBSCRIPTION_ENDED', "La Vostra sottoscrizione è scaduta.");
978
+ define('TXT_WPSC_ACTIVATE_SETTINGS_MEMBERS', 'Impostazioni di attivazione: Modulo Membri');
979
+ define('TXT_WPSC_GOLD_CART', 'Gold Cart');
980
+ define('TXT_WPSC_SHOW_CATEGORY_DESCRIPTION', 'Mostra descrizione Gruppo Prodotti');
981
+ define('TXT_WPSC_ALSO_BOUGHT', 'Le persone che hanno acquistato questo articolo hanno anche acquistato');
982
+ define('TXT_WPSC_MARKETING_SETTINGS', 'Impostazioni Marketing');
983
+ define('TXT_WPSC_OPTION_ALSO_BOUGHT', 'Mostra Vendite Incrociate');
984
+ define('TXT_WPSC_MARKETING', 'Marketing');
985
+ define('TXT_WPSC_DISPLAYCOUPONS', 'Buoni');
986
+ define('TXT_WPSC_ADD_COUPON', 'Aggiungi Buono');
987
+ define('TXT_WPSC_COUPON', 'Buono');
988
+ define('TXT_WPSC_ADDCOUPONS', 'Aggiungi Buoni');
989
+ define('TXT_WPSC_COUPON_CODE', 'Codice Buono');
990
+ define('TXT_WPSC_DISCOUNT', 'Sconto');
991
+ define('TXT_WPSC_START', 'Inizio');
992
+ define('TXT_WPSC_EXPIRY', 'Scadenza');
993
+ define('TXT_WPSC_USE_ONCE', 'Utilizza una volta');
994
+ define('TXT_WPSC_ACTIVE', 'Attivo');
995
+ define('TXT_WPSC_COUPONHASBEENADDED', 'Grazie, il buono è stato aggiunto.');
996
+ define('TXT_WPSC_COUPON', 'Buono');
997
+ define('TXT_WPSC_COUPON_DOESNT_EXIST', 'Il buono inserito è scaduto o non esiste.');
998
+ define('TXT_WPSC_PRODUCT_TAGS', 'Tag Prodotti');
999
+
1000
+ define('TXT_WPSC_DROPSHOPDISPLAY', 'Mostra DropShop');
1001
+ define('TXT_WPSC_HIDEADDTOCARTBUTTON', 'Nascondi pulsante "Aggiungi al carrello"');
1002
+
1003
+ define('TXT_WPSC_PRODUCT_TAGS', 'Tag Prodotti');
1004
+
1005
+ define('TXT_WPSC_SHOW_DROPSHOP_ALL', 'Mostra Dropshop su ogni pagina');
1006
+ define('TXT_WPSC_SHOW_DROPSHOP_PRODUCT', 'Mostra Dropshop solamente sulla pagina del prodotto');
1007
+ define('TXT_WPSC_PRICEAFTERDISCOUNT', 'Prezzo scontato');
1008
+ define('TXT_WPSC_ECOM_NEWS', 'Novità WP e-Commerce');
1009
+ define('TXT_WPSC_SAVE_PRODUCT_ORDER', 'Salva Ordine Prodotto');
1010
+
1011
+ define('TXT_WPSC_ECOMMERCE_SUBSCRIBERS', 'Iscritti e-Commerce');
1012
+ define('TXT_WPSC_USERID', 'ID Utente');
1013
+ define('TXT_WPSC_REGISTEREDDATE', 'Data registrazione');
1014
+ define('TXT_WPSC_SUSPEND', 'Sospendi');
1015
+ define('TXT_WPSC_ACTIVATE', 'Attiva');
1016
+
1017
+
1018
+ define('TXT_WPSC_DROPSHOP_LIGHT', 'Utilizza stile Dropshop chiaro');
1019
+ define('TXT_WPSC_DROPSHOP_DARK', 'Utilizza stile Dropshop scuro');
1020
+
1021
+
1022
+ define('TXT_WPSC_MANUAL_PAYMENT', 'Pagamento Manuale');
1023
+ define('TXT_WPSC_CREDIT_CARD', 'Carta di Credito');
1024
+ define('TXT_WPSC_CREDIT_CARD_AND_MANUAL_PAYMENT', 'Pagamento Manuale e Carta di Credito');
1025
+ define('TXT_WPSC_PAYMENT_INSTRUCTIONS', 'Inserisci le istruzioni del pagamento manuale che desideri visualizzare');
1026
+
1027
+ define('TXT_WPSC_SHOWALL', "Mostra tutti");
1028
+ define('TXT_WPSC_PRICE_RANGE', "Fascia di prezzo");
1029
+ define('TXT_WPSC_GOOGLE_RISK_AVS', "Verifica indirizzo fallita");
1030
+ define('TXT_WPSC_GOOGLE_RISK_CVN', "Verifica carta di credito fallita");
1031
+ define('TXT_WPSC_GOOGLE_RISK_BOTH', "Verifica indirizzo e carta di credito fallite");
1032
+ define('TXT_WPSC_GOOGLE_RISK', 'Google Risk');
1033
+ define('TXT_WPSC_CANCEL_ORDER', 'Elimina questo ordine');
1034
+ define('TXT_WPSC_FIRST_NAME', 'Nome');
1035
+ define('TXT_WPSC_LAST_NAME', 'Cognome');
1036
+ define('TXT_WPSC_DELIVERY_FIRST_NAME', 'Nome per la consegna');
1037
+ define('TXT_WPSC_DELIVERY_LAST_NAME', 'Cognome per la consegna');
1038
+ define('TXT_WPSC_DELIVERY_STATE', 'Stato consegna');
1039
+ define('TXT_WPSC_SHIPWIREEMAIL', 'E-mail ShipWire');
1040
+ define('TXT_WPSC_SHIPWIREPASSWORD', 'Password ShipWire');
1041
+ define('TXT_WPSC_SHIPWIRESETTINGS', 'Impostazioni ShipWire');
1042
+ define('TXT_WPSC_NO_DOWNLOADABLES', 'Non avete acquistato alcun prodotto scaricabile ancora.');
1043
+ define('TXT_DISPLAY_VARIATIONS', 'Mostra Varianti');
1044
+
1045
+
1046
+ define('TXT_WPSC_NONAME', 'Nessun nome');
1047
+ define('TXT_WPSC_WEIGHT', 'Peso');
1048
+ define('TXT_WPSC_LOG_TRANSACTIONACCEPTEDLOGS', 'Mostra solo transazioni accettate');
1049
+ define('TXT_WPSC_SEARCHEMAIL', 'Cerca per E-mail');
1050
+
1051
+ ?>
languages/JP_jp.php ADDED
@@ -0,0 +1,1089 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ This is a language file for the WP Shopping Cart plugin version 3.6.10
4
+ */
5
+
6
+ /*
7
+ *New Constants by Jeffry
8
+ */
9
+ define("TXT_WPSC_ADDITIONAL_INFO", "3. 追加情報");
10
+ define('TXT_WPSC_FLOT_ANNUAL_SALES_GRAPH','年間販売グラフ');
11
+ /*
12
+ *End of New Constants by Jeffry
13
+ */
14
+ define("TXT_WPSC_USE_THEME_ENGINE", "未完成のテーマエンジンを利用");
15
+ define("TXT_WPSC_TM", "ターゲットマーケット");
16
+ define("TXT_WPSC_SHIPPING_DETAIL","送料を計算するため国を選択します");
17
+ define('TXT_WPSC_TOTAL_THIS_MONTH', /*'Total Money Earnt this Month'*/'今月の売上');
18
+ define('TXT_WPSC_SALES_TITLE', '販売');
19
+ define('TXT_WPSC_ORDERS_TITLE', '注文');
20
+ define('TXT_WPSC_AVGORDER_TITLE', '平均注文数');
21
+
22
+
23
+
24
+ define('TXT_WPSC_GATEWAY_SETTINGS', 'ゲートウェイ設定');
25
+ define('TXT_WPSC_CHECKOUT_SETTINGS', 'チェックアウト設定');
26
+ define('TXT_WPSC_ADD_NEW_PRODUCT', '新商品を追加');
27
+ define("TXT_WPSC_HERE_YOU_CAN_ADD", "ここで新商品・グループ・バリエーションを追加します");
28
+ define("TXT_WPSC_CLOSED", "完了");
29
+ define("TXT_WPSC_PENDING", "仕掛");
30
+ define("TXT_WPSC_CURRENT_MONTH", "今月");
31
+ define("TXT_WPSC_AT_A_GLANCE", "販売状況");
32
+ define("TXT_WPSC_RECIEPT_EMAIL_ADDRESS", "領収メール送付先");
33
+
34
+ define("TXT_WPSC_OVER_UPS_WEIGHT", "Because your order is over 150lbs, the SIte Owner will contact you directly about shipping rates.");
35
+ define("TXT_WPSC_ADD_TO_CART_PHP", "Add to Cart PHP");
36
+ define("TXT_WPSC_BUY_NOW_PHP", "Buy Now PHP");
37
+
38
+ define("TXT_WPSC_ADD_TO_CART_SHORTCODE", "Add to Cart Shortcode");
39
+ define("TXT_WPSC_BUY_NOW_SHORTCODE", "Buy Now Shortcode");
40
+
41
+ define("TXT_WPSC_TOTAL_WEIGHT_IN_POUNDS", "Total weight (<abbr alt='You must enter the weight here in pounds, regardless of what you used on your products' title='You must enter the weight here in pounds, regardless of what you used on your products'>in Pounds</abbr>)");
42
+ define("TXT_WPSC_SHIPPING_PRICE", "送料");
43
+ define("TXT_WPSC_IF_PRICE_IS", "If price is ");
44
+ define("TXT_WPSC_IF_WEIGHT_IS", "If weight is ");
45
+ define("TXT_WPSC_AND_ABOVE", " and above");
46
+ define("TXT_WPSC_DISPLAY_THE_GROUP_IMAGES", "グループのサムネールをサイドバーに表示");
47
+ define("TXT_WPSC_DISPLAY_THE_GROUP", "Display the :category: Group");
48
+
49
+ define('TXT_WPSC_UPS_AND_WEIGHT_ERROR_MESSAGE', "UPS does not support products without a weight set.\n\r Please either disable shipping for this product or give it a weight.");
50
+ define('TXT_WPSC_OUT_OF_STOCK_ERROR_MESSAGE', 'This product has no stock remaining.');
51
+
52
+ define('TXT_WPSC_SHIPPING_ERROR_MESSAGE', 'Opps. We have encountered a problem with the shipping details you provided. If this problem persists you should contact the site owner.');
53
+ define('TXT_WPSC_UPS_AND_NO_WEIGHT', 'This product has a zero weight associated with it and you have UPS shipping enabled. UPS does not support products with zero weight, therefore if your product is a digital download, we would reccomend disabling shipping for this product.');
54
+
55
+ define('TXT_WPSC_CHOOSE_A_SHIPPING_RATE', '- 配送料(全国一律)');
56
+
57
+ define('TXT_WPSC_CALCULATE', '計算');
58
+ define('TXT_WPSC_GROUP_PRESENTATION_TEXT', '以下のパラメータを指定してこのグループの画面上の表示方法を変更できます');
59
+ define('TXT_WPSC_GROUP_SETTINGS', 'グループ設定');
60
+ define('TXT_WPSC_GROUP_IMAGE', 'グループイメージ');
61
+ define('TXT_WPSC_THUMBNAIL_SIZE', '表示サイズ');
62
+ define('TXT_WPSC_CATALOG_VIEW', 'カタログの表示形式');
63
+ define('TXT_WPSC_GROUP_IMAGE_TEXT', 'グループ毎にサムネールをアップロードできます。<br>グループの詳細を表示するには <a href="admin.php?page='.WPSC_DIR_NAME.'/options.php#options_presentation">画面表示設定</a> を使います');
64
+
65
+
66
+
67
+ define('TXT_WPSC_UPS_DESTINATION', 'Destination Type');
68
+ define('TXT_WPSC_UPS_DESTINATION_COMMERCIAL', 'Commercial Address');
69
+ define('TXT_WPSC_UPS_DESTINATION_RESIDENTIAL', 'Residential Address');
70
+
71
+ define('TXT_WPSC_UPS_PACKAGING', 'Packaging');
72
+
73
+ define('TXT_WPSC_UPS_PACKAGING_YOURS', 'Your Packaging');
74
+ define('TXT_WPSC_UPS_PACKAGING_LETTER', 'UPS Letter');
75
+ define('TXT_WPSC_UPS_PACKAGING_UEB_SMALL', 'UPS Express Box - Small');
76
+ define('TXT_WPSC_UPS_PACKAGING_UEB_MEDIUM', 'UPS Express Box - Medium');
77
+ define('TXT_WPSC_UPS_PACKAGING_UEB_LARGE', 'UPS Express Box - Large');
78
+ define('TXT_WPSC_UPS_PACKAGING_TUBE', 'UPS Tube');
79
+ define('TXT_WPSC_UPS_PACKAGING_PAK', 'UPS Pak');
80
+ define('TXT_WPSC_UPS_DAILY_PICKUP', 'Daily Pickup');
81
+
82
+
83
+ define('TXT_WPSC_IMPORT_CSV', '商品CSVをインポート');
84
+ define('TXT_WPSC_MORE', '続ける');
85
+
86
+ define('TXT_WPSC_WEIGHT_SETTINGS', '重量の設定');
87
+
88
+ define('TXT_WPSC_PROMOTE_YOUR_SHOP', '
89
+ <h2>Online Promotion</h2>
90
+ <p>Now you have a site with products you need to get your products out there.</p>
91
+
92
+ <p>Three of the best places to link your WordPress e-Commerce site are here:</p>
93
+ <p>
94
+ <a href=\'http://wordpress.org/support/forum/11\'>\'></a><br />
95
+ <a href=\'http://www.instinct.co.nz/forums/forum.php?id=5\'></a><br />
96
+ <a href=\'http://www.facebook.com/wordpress-e-commerce-plugin\'></a><br />
97
+ </p>
98
+ <p>
99
+ By linking your site to any of these locations you are ensuring that people will browse to your site.
100
+ </p>
101
+ ');
102
+
103
+ define('TXT_WPSC_SHIPPING_BUT_NO_CURL', 'The following shipping modules all need cURL which is not installed on this server, you may need to contact your web hosting provider to get it set up. ');
104
+ define('TXT_WPSC_PLEASE_ENTER_ZIPCODE', '郵便番号を入力してください');
105
+ define('TXT_WPSC_PLEASE_SELECT_SHIPPING', '配送オプションを選択してください');
106
+ define('TXT_WPSC_ADD_NEW_VARIATIONS', '+ 新規バリエーションを追加');
107
+ define('TXT_WPSC_ADMIN_ENGRAVE', 'この商品をパーソナライズ可能(チェックアウト時にメッセージを残す)');
108
+ define('TXT_WPSC_PERSONALISATION_OPTIONS','パーソナリゼーションオプション');
109
+
110
+ define('TXT_WPSC_CHOOSE_SHIPPING', "WP e-Commerceで配送モジュールを有効化するにはサイトで利用する配送手段を選択します");
111
+ define('TXT_WPSC_FLAT_RATE_SETTINGS', "フラットレート設定");
112
+ define('TXT_WPSC_OFF_SITE_LINK', "商品の外部リンク");
113
+ define('TXT_WPSC_NOTE_ONLY_AVAILABLE_HERE', 'この注意書きはここでのみ表示されます');
114
+ define('TXT_WPSC_CATEGORY_AND_TAG_CONTROL', 'カテゴリーとタグ');
115
+ define('TXT_WPSC_USPS_DESC', '米国で営業しUPS/USPSを利用する場合には、自社所在地の郵便番号(Zipcode)設定が必要です');
116
+
117
+ define('TXT_WPSC_SHIPPING_METHOD', '配送方法');
118
+ define('TXT_WPSC_SHIPPING_OPTION', '配送オプション');
119
+ define('TXT_WPSC_CHOOSE_EXTERNAL_SHIPPING_MODULES', '国際配送料の計算');
120
+ define('TXT_WPSC_CHOOSE_INTERNAL_SHIPPING_MODULES', '国内配送料の計算');
121
+
122
+ define('TXT_DISPLAY_DESCRIPTION', '説明を表示');
123
+ define('TXT_DISPLAY_ADDTOCART', '"カートに追加"ボタンを表示');
124
+ define('TXT_DISPLAY_MOREDETAILS', '"さらに詳しく"ボタンを表示');
125
+
126
+ define('TXT_WPSC_GOOGLE_BASE', 'Googleアカウント');
127
+ define('TXT_WPSC_GRANT_ACCESS', 'アクセスを許可');
128
+ define('TXT_WPSC_LABEL_CONTROL', 'ラベルコントロール');
129
+ define('TXT_WPSC_LABELS', 'ラベルを追加');
130
+ define('TXT_WPSC_PRODUCT_CODE', '商品コード');
131
+ define('TXT_WPSC_LIFE_NUMBER', 'Life Number');
132
+ define('TXT_WPSC_ITEM_NUMBER', 'アイテム番号');
133
+ define('TXT_WPSC_LABEL_DESC', 'ラベル説明');
134
+
135
+
136
+ define('TXT_WPSC_DEFAULT_PURCHASE_RECEIPT', '%shop_name%をご利用いただきありがとうございました。
137
+ 至急出荷の手配をさせていただきます。
138
+ (ダウンロード可能商品の場合は、このページ下段のリンクから入手いただけます)。
139
+
140
+ お買い上げの商品:
141
+
142
+ %product_list%
143
+ %total_shipping%
144
+ %total_price%');
145
+
146
+ define('TXT_WPSC_DEFAULT_PURCHASE_REPORT', '
147
+ %product_list%
148
+ %total_shipping%
149
+ %total_price%');
150
+
151
+ define('TXT_WPSC_CHOOSE_DOWNLOADABLE_VARIATIONS', 'このバリエーションでダウンロード可能なファイルを選択してください');
152
+
153
+
154
+ define('TXT_WPSC_FLASH_UPLOADER', 'Flashアップローダーを利用中です。問題がありますか?<br>代わりに <a class=\'wpsc_upload_switcher\' onclick=\'wpsc_upload_switcher("browser")\'>ブラウザアップローダー</a> を試してみてください。');
155
+ define('TXT_WPSC_BROWSER_UPLOADER', 'ブラウザアップローダーを利用中です。問題がありますか?<br>代わりに <a class=\'wpsc_upload_switcher\' onclick=\'wpsc_upload_switcher("flash")\'>Flashアップローダー</a> を試してみてください。');
156
+
157
+ define('TXT_WPSC_ADMIN_REPORT', '管理レポート');
158
+ define('TXT_WPSC_TAGS_CAN_BE_USED', '利用可能タグ');
159
+ define('TXT_WPSC_EMAIL_SETTINGS', 'メール設定');
160
+ define('TXT_WPSC_ERROR_OCCURED_WHILE_SENDING_EMAIL', 'メール送信でエラーが発生しました');
161
+ define('TXT_WPSC_EMAIL_SENT', 'Email Sent');
162
+ define('TXT_WPSC_ACTIONS', 'アクション');
163
+ define('TXT_WPSC_EMAIL_BUYER', '顧客にメールを再送信する');
164
+
165
+ define('TXT_WPSC_FILE_NAMES', 'ファイル名');
166
+ define('TXT_WPSC_DOWNLOADS_LEFT', '残りダウンロード回数');
167
+
168
+
169
+ define('TXT_WPSC_FILE', 'ファイル');
170
+
171
+ define('TXT_WPSC_LABEL', 'ラベル');
172
+ define('TXT_WPSC_TABLE_RATED_PRICE', 'テーブルレート価格');
173
+ define('TXT_WPSC_DATE_REQUESTED', 'リクエスト日');
174
+ define('TXT_WPSC_MULTIPLE_ADDING_PRODUCTS', '各商品の説明欄に数量フィールドを追加');
175
+ define('TXT_WPSC_COMMENTS_NOTES_FIELD', '各アイテムにコメント用フィールドを追加');
176
+ define('TXT_WPSC_COMMENTS', 'コメント');
177
+ define('TXT_WPSC_COMMENT', 'コメント');
178
+ define('TXT_WPSC_PDF', 'PDFファイル');
179
+ define('TXT_WPSC_SORT_PRODUCT_BY', 'ソート順');
180
+ define('TXT_WPSC_TIME_UPLOADED', 'アップロード所要時間');
181
+
182
+ define('TXT_WPSC_VIEW_PACKING_SLIP', '出荷伝票を見る');
183
+ define('TXT_WPSC_PACKING_SLIP', '出荷伝票');
184
+ define('TXT_WPSC_NO_STOCK', '在庫がありません');
185
+
186
+ define('TXT_WPSC_SELECTYOURBUSINESSLOCATION','営業している国を選択してください');
187
+ define('TXT_WPSC_ENTEREMAILADDRESS', 'ショップオーナーのメールアドレス-通知を受け取ります');
188
+
189
+ define('TXT_WPSC_SHIPPINGOPTIONS', '配送オプション');
190
+ define('TXT_WPSC_SHIPPING_MODULES', '配送モジュール');
191
+ define('TXT_WPSC_CHOOSE_SHIPPING_MODULES', '配送モジュールを選択');
192
+ define('TXT_WPSC_CONFIGURE_SHIPPING_MODULES', '配送オプションを選択して設定します');
193
+ define('TXT_WPSC_PLEASESELECTASHIPPINGPROVIDER', '配送業者を選択');
194
+
195
+ define('TXT_WPSC_UPGRADE_TO_GOLD','GoldにUpgrade');
196
+ define('TXT_WPSC_UNLEASH_MORE','して高機能なショップに!');
197
+
198
+ define('TXT_WPSC_ENGRAVE_LINE_ONE','Line 1');
199
+ define('TXT_WPSC_ENGRAVE_LINE_TWO','Line 2');
200
+
201
+ define('TXT_WPSC_SHOP_SETTINGS','ショップ設定');
202
+ define('TXT_WPSC_MONEY_AND_PAYMENT','Money and Payment');
203
+ define('TXT_WPSC_CHECKOUT_PAGE_SETTINGS','チェックアウトページの設定');
204
+ define('TXT_WPSC_LOGIN_TO_GOOGLE_BASE','Google baseにログイン');
205
+
206
+ define('TXT_WPSC_ADWIDG_ADD_PAGES','ページを追加');
207
+ define('TXT_WPSC_ADWIDG_ADD_PRODUCTS','商品を追加');
208
+ define('TXT_WPSC_ADWIDG_PRESENTATION','表示');
209
+
210
+ define('TXT_WPSC_ADWIDG_ADD_PAGES_TITLE','People come here to write new pages');
211
+ define('TXT_WPSC_ADWIDG_ADD_PRODUCTS_TITLE','People come here to add products');
212
+ define('TXT_WPSC_ADWIDG_PRESENTATION_TITLE','People come here to change themes and widgets settings');
213
+
214
+
215
+ define('TXT_WPSC_GOLD_ACTIVATED','ゴールドカートは有効化されています。');
216
+ define('TXT_WPSC_GOLD_DEACTIVATED','ゴールドカートは無効化されています。');
217
+ define('TXT_WPSC_COMMISSIONTOPAY','Commission to Pay');
218
+ define('TXT_WPSC_TOTALCOMMISSION','Total Commission');
219
+ define('TXT_WPSC_PAYMENT','Payment');
220
+ define('TXT_WPSC_USERNAME','Username');
221
+ define('TXT_WPSC_PAID','Paid');
222
+ define('TXT_WPSC_NONEEDTOPAY','No need to pay');
223
+ define('TXT_WPSC_AFFILIATIONCODE','Affiliation Code');
224
+ define('TXT_WPSC_COMMISSIONPERCENTAGE','Commission Percentage');
225
+ define('TXT_WPSC_YOURPAYPALEMAIL','Paypalアカウントとして利用中のメールアドレス');
226
+ define('TXT_WPSC_SETTINGS', '設定');
227
+ define('TXT_WPSC_EARNINGS', 'Earnings');
228
+ define('TXT_WPSC_AFFILIATE', 'Affiliate');
229
+ //define('TXT_WPSC_SALES_DASHBOARD', 'This month you made :affiliatesalecount: and generated a total of :monthtotal: and your total affiliate sales ever is :affiliateoveraltotal:. ');
230
+ define('TXT_WPSC_COMMISION', '支払予定コミッション');
231
+ define('TXT_WPSC_LOG_AFFILIATES', 'アフィリエイト売り上げを表示');
232
+ define('TXT_WPSC_PRODUCTS_PAGE_SETTINGS', '商品ページ設定');
233
+ define('TXT_WPSC_CARTSETTINGS', 'ショッピングカート設定');
234
+ define('TXT_WPSC_REPLACE_PAGE_TITLE', 'ページタイトルをカテゴリーで置換');
235
+ define('TXT_WPSC_CATEGORY_PRODUCT_IMAGE', '商品イメージサイズ');
236
+ define('TXT_WPSC_SETONSETTINGS', 'This is set on the Settings Page');
237
+ define('TXT_WPSC_AFFILIATION', 'Affiliation');
238
+ define('TXT_WPSC_DISPLAYTYPE', '表示タイプ');
239
+ define('TXT_WPSC_SKU_FULL', '在庫単位');
240
+ define('TXT_WPSC_PAYMENT_GATEWAYS', '支払ゲートウェイ');
241
+
242
+ define('TXT_WPSC_PRODUCTCOUNT_SINGULAR','商品');
243
+ define('TXT_WPSC_PRODUCTCOUNT_PLURAL','商品');
244
+ define('TXT_WPSC_GROUPCOUNT_SINGULAR','グループ');
245
+ define('TXT_WPSC_GROUPCOUNT_PLURAL','グループ');
246
+ define('TXT_WPSC_SALECOUNT_SINGULAR','販売');
247
+ define('TXT_WPSC_SALECOUNT_PLURAL','販売');
248
+ define('TXT_WPSC_PENDINGCOUNT_SINGULAR','トランザクション');
249
+ define('TXT_WPSC_PENDINGCOUNT_PLURAL','トランザクション');
250
+ define('TXT_WPSC_VARIATION_SINGULAR','バリエーション');
251
+ define('TXT_WPSC_VARIATION_PLURAL','バリエーション');
252
+
253
+ define('TXT_WPSC_SALES_DASHBOARD', 'You have <a href=\'admin.php?page='.WPSC_DIR_NAME.'/display-items.php\'>:productcount:</a>, contained within <a href=\'admin.php?page='.WPSC_DIR_NAME.'/display-category.php\'>:groupcount:</a>. This month you made :salecount: and generated a total of :monthtotal: and your total sales ever is :overaltotal:. You have :pendingcount: awaiting approval.');
254
+
255
+ define('TXT_WPSC_YOUAREUSING', 'You are using the :theme: style. This is WP e-Commerce :versionnumber:.');
256
+ define('TXT_WPSC_NO_SHORTCODE', 'This item product is still waiting to be added to your catalogue. There are no shortcodes or tags available at this point.');
257
+ define('TXT_WPSC_SKU', 'SKU');
258
+ define('TXT_WPSC_YOUR_ORDER', '注文');
259
+ define('TXT_WPSC_ABOUT_THIS_PAGE', 'このページについて');
260
+ define('TXT_WPSC_ORDER_PENDING_PAYMENT_REQUIRED', 'ペンディング: 支払いが必要');
261
+ define('TXT_WPSC_SELECTALLCATEGORIES', 'すべての商品を表示');
262
+
263
+ define('TXT_WPSC_EDITING_GROUP', '[categorisation]グループを編集');
264
+ define('TXT_WPSC_ADDING_TO_GROUP', '[categorisation]グループにアイテムを追加');
265
+ define('TXT_WPSC_EDITING_IN_GROUP', '[categorisation]グループのアイテムを編集');
266
+
267
+
268
+ define('TXT_WPSC_PURCHASE_UNAVAILABLE', 'その他のオプションを購入');
269
+ define('TXT_WPSC_WE_RECOMMEND', '以下のPayment Gatewayを推奨します');
270
+ define('TXT_WPSC_SELECT_PRODUCT_GROUP', '管理するグループを選択');
271
+ define('TXT_WPSC_EDIT_THIS_GROUP', 'このグループを編集');
272
+
273
+ define('TXT_WPSC_USPS_USERID', 'USPS ID');
274
+ define('TXT_WPSC_PRODUCT_ID', 'Product ID');
275
+ define('TXT_WPSC_USPS_PASSWORD', 'USPS Password');
276
+ define('TXT_WPSC_OPTIONS_GENERAL_TAB', '全般');
277
+ define('TXT_WPSC_OPTIONS_PRESENTATION_TAB', '画面表示');
278
+ define('TXT_WPSC_OPTIONS_SHIPPING_TAB', '配送');
279
+ define('TXT_WPSC_OPTIONS_PAYMENT_TAB', '支払い');
280
+ define('TXT_WPSC_OPTIONS_ADMIN_TAB', '管理者設定');
281
+ define('TXT_WPSC_OPTIONS_MARKETING_TAB', 'マーケティング');
282
+ define('TXT_WPSC_DOWNLOAD_ATTACHED_FILES', '添付されたファイルをダウンロード');
283
+
284
+ define('TXT_WPSC_ADMIN_SEARCH_PRODUCTS', '商品を検索');
285
+ define('TXT_WPSC_CHOOSE_PAYMENT_GATEWAYS', '有効化したい支払ゲートウェイを選択してください');
286
+ define('TXT_WPSC_CONFIGURE_PAYMENT_GATEWAY', '設定したい支払ゲートウェイを選択してください');
287
+
288
+
289
+ // to come: "Click on a payment option to configure it"
290
+
291
+ define('TXT_WPSC_SHOW_BREADCRUMBS', 'パンくずリスト表示');
292
+ define('TXT_WPSC_PAYMENT_INSTRUCTIONS_DESCR', '支払方法に関して顧客に表示したいメッセージがあれば入力してください');
293
+ define('TXT_WPSC_PAYMENT_INSTRUCTIONS_BELOW_DESCR', 'ショップオーナーが顧客に提示したい送金先の口座情報や住所などを入力します');
294
+
295
+ define('TXT_WPSC_ALLOW_UPLOADING_IMAGE', 'チェックアウト時に購入ログにイメージをアップロード可能');
296
+
297
+ define('TXT_WPSC_OPTIONS_GENERAL_HEADER', '全般');
298
+ define('TXT_WPSC_OPTIONS_PRESENTATION_HEADER', '画面表示');
299
+ define('TXT_WPSC_OPTIONS_SHIPPING_HEADER', '搬送');
300
+ define('TXT_WPSC_OPTIONS_PAYMENT_HEADER', '支払い');
301
+ define('TXT_WPSC_OPTIONS_ADMIN_HEADER', '管理者設定');
302
+ define('TXT_WPSC_OPTIONS_MARKETING_HEADER', 'マーケティング');
303
+ define('TXT_WPSC_UPLOAD_IMAGE_FOR', 'アップロードするイメージ');
304
+
305
+ define('TXT_WPSC_THUMBNAILSETTINGS', 'サムネール');
306
+
307
+ define('TXT_WPSC_CLEAR_IP_LOCKS', 'IPアドレス制限を解除');
308
+ define('TXT_WPSC_THANKS_UNLOCKED', 'IPアドレス制限が解除されました');
309
+
310
+
311
+ define('TXT_WPSC_SELECTGATEWAY', '支払ゲートウェイを選択');
312
+ define('TXT_WPSC_VARIATION_LIST', 'バリエーションを選択');
313
+
314
+ define('TXT_WPSC_CATEGORISATION_GROUPS_DESCR', 'グループを利用すると訪問客が商品が見つけやすくなります。Tシャツや帽子やパンツなどを販売しているなら、衣類というグループを作り、その中にTシャツ、帽子、パンツなどのカテゴリーを作ります。その後、個々の商品を追加・編集する際に、グループ中の特定カテゴリーに商品を関連付けます');
315
+ define('TXT_WPSC_CATEGORISATION_DESCR', '商品グルーピングウィジェット');
316
+ define('WPSC_DOWNLOAD_INVALID', 'このダウンロードは無効です');
317
+ define('TXT_WPSC_LOCK_DOWNLOADS_TO_IP', '特定IPアドレスに制限');
318
+ define('TXT_WPSC_USER_UNLOCKED_EMAIL', 'ファイルのロックが管理者によって解除されました');
319
+ define('TXT_WPSC_USER_UNLOCKED_EMAIL_MESSAGE', 'ご注文ありがとうございます。
320
+
321
+ オーダーが処理され、ダウンロードが可能となりました。
322
+ 以下のリンクからファイルを入手してください。
323
+
324
+ [download_links]
325
+ ありがとうございました。');
326
+
327
+
328
+ define('TXT_WPSC_ADMIN_EMPTY_CATEGORY', 'このグループは規定の商品グループとして設定されます。アイテムを追加するか、規定の商品グループを切り替えてください。');
329
+
330
+ define('TXT_WPSC_USING_EXAMPLE_CATEGORY', 'サンプルの商品グループを利用中ですが、そこに商品がありません。規定のグループをほかのものに切り替えてください。これはショップ設定ページで行うことができます。');
331
+
332
+ define('TXT_WPSC_NO_DEFAULT_PRODUCTS', '商品ページで表示可能になっている商品がありません。既定で表示するグループを選択する必要があります。<br /> 商品ページで設定することができます。');
333
+
334
+ define('TXT_WPSC_FIX_CATEGORY_PERMALINKS', 'グループのパーマリンクを修正');
335
+ define('TXT_WPSC_ADVANCED_OPTIONS', '高度なオプション');
336
+ define('TXT_WPSC_INVALID_COUPON', '無効なクーポン');
337
+ define('TXT_WPSC_RSSNOTE', '<strong>注意:</strong>このRSSを利用すれば、商品リストの更新を通知できるだけでなく、facebookのプロファイルで商品のプロモートも可能です。<br>facebookのプロファイルに <a href="http://apps.facebook.com/getshopped">getshopped! facebook application</a> を追加して、指示に従ってください。');
338
+ define('TXT_WPSC_GOOGLEFINANCESTATUS', 'Financial Status');
339
+ define('TXT_WPSC_GOOGLEFULFILLMENTSTATUS', 'Fulfillment Status');
340
+ define('TXT_WPSC_SURETODELETECATEGORISATION', 'このグループを削除しますか?グループ内のアイテムもすべて削除されます');
341
+
342
+ define('TXT_WPSC_CATEGORISATION', 'グループ');
343
+ define('TXT_WPSC_CATEGORISATIONHASBEENADDED', 'グループが追加されました');
344
+ define('TXT_WPSC_CATEGORISATIONHASBEENEDITED', 'グループが編集されました');
345
+ define('TXT_WPSC_ADD_CATEGORISATION', 'グループを追加');
346
+ define('TXT_WPSC_EDIT_CATEGORISATION', 'グループを編集');
347
+ define('TXT_WPSC_ADDDETAILS', '詳細を追加');
348
+ define('TXT_WPSC_EDITDETAILS', '詳細を編集');
349
+ define('TXT_WPSC_VALUE', '値');
350
+ define('TXT_WPSC_CUSTOM_META', 'カスタムメタ');
351
+ define('TXT_WPSC_ADD_CUSTOM_FIELD', 'カスタムメタを保存');
352
+ define('TXT_WPSC_EDIT_CUSTOM_FIELDS', 'カスタムフィールド編集');
353
+ define('TXT_WPSC_SAVE', '保存');
354
+
355
+
356
+
357
+ define('TXT_WPSC_DISPLAY_PRODUCT_CATEGORIES', '[categorisation]を表示'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
358
+
359
+
360
+ define('TXT_WPSC_MANAGE_CATEGORISATION', '[categorisation]を管理'); // The shortcode [categorisation] is replaced with the name of the currently select categorisation
361
+
362
+
363
+
364
+ define('TXT_WPSC_ANYONEREGISTER', 'はいを選んだ場合WordPressの一般設定で"誰でもユーザー登録ができるようにする"を選択する必要があります');
365
+ define('TXT_WPSC_CVN', 'クレジット有効性確認');
366
+ define('TXT_WPSC_AVS', '住所の確認');
367
+ define('TXT_WPSC_DISPLAYVARIATIONSDESCRIPTION', 'バリエーションは商品のオプション属性を表します。例: サイズ、色など<br />たとえばTシャツを販売しているならサイズというバリエーションを設定し以下のような値を設定できます... Small, Medium, Large...');
368
+
369
+ define('TXT_WPSC_PERTICKED', 'すべての商品に適用');
370
+ define('TXT_WPSC_EMAILALLOWED', 'メール可');
371
+ define('TXT_WPSC_EMAILNOTALLOWED', 'メール不可');
372
+
373
+
374
+ define('TXT_WPSC_GOOGLERISK', 'Eligible for Protection');
375
+ define('TXT_WPSC_PAYPALNOTE', '<strong>注意:</strong> PayPalの制限により、クーポンを利用した場合は明細情報を送付できません。そのため、合計金額のみの表示となることをご承知置きください。');
376
+
377
+ define('TXT_WPSC_GOOGLEMARKETINGPREFERENCE', 'Google User Marketing Preference');
378
+
379
+
380
+ define('TXT_WPSC_LATEST_PRODUCTS', '最新の商品');
381
+ define('TXT_WPSC_PICKUP', '梱包');
382
+ define('TXT_WPSC_DELIVERY', '配送');
383
+ define('TXT_WPSC_MENU', 'e-Commerce管理メニュー');
384
+ define('TXT_WPSC_GOOGLESTORELOCATOR', 'Google Store Locatorを有効化');
385
+ define('TXT_WPSC_GOOGLESHIPPING', 'Google Shipping Country');
386
+ define('TXT_WPSC_POST_DEFAULT_MEMBERS_ONLY', 'This post is for members only, you must log in to view this post');
387
+ define('TXT_WPSC_BASESHIPPING', '基準配送料');
388
+ define('TXT_WPSC_RSS_ADDRESS', 'RSSアドレス');
389
+ define('TXT_WPSC_STORENAME', '店舗名');
390
+ define('TXT_WPSC_CHECKBOX_VARIATIONS', 'バリエーションをチェックボックスで表示');
391
+ define('TXT_WPSC_DISPLAY_PLUSTAX', '"+消費税"を表示');
392
+ define('TXT_WPSC_DISPLAYHOWCUSTOMERFINDUS', '当店をどこでお知りになりましたか?-を表示');
393
+ define('TXT_WPSC_HOWCUSTOMERFINDUS', '当店をどこでお知りになりましたか?');
394
+ define('TXT_WPSC_ENGRAVE', 'Engrave text');
395
+ define('TXT_WPSC_FREETRIAL', '一か月フリートライアル');
396
+ define('TXT_WPSC_PROHIBITED', '禁止');
397
+ define('TXT_WPSC_ADMINNOTES', '販売者ノート');
398
+ define('TXT_WPSC_HIDEADDNAMELINK', '商品名リンクを隠す');
399
+ define('TXT_WPSC_ADMINMENU', '管理メニュー');
400
+ define('TXT_WPSC_USEONLYEXTERNALLINK', '商品が外部サイトで販売されている場合ここにリンクを入力します(たとえば商品がiTunesで販売されているMP3ファイルの場合)。このオプションは"今すぐ購入"や"カートに追加"ボタンの機能を無効にし、ここで指定した外部サイトにユーザーを誘導します。');
401
+ define('TXT_WPSC_EXTERNALLINK', '外部リンク');
402
+ define('TXT_WPSC_BUTTONTYPE', 'ボタンタイプ');
403
+ define('TXT_WPSC_BUYNOW', '今すぐオーダー');
404
+ define('TXT_WPSC_ASSOCIATEWITHFILE', 'ファイルに関連付けますか?(一つ選択)');
405
+ define('TXT_WPSC_SHOWLIVESEARCH', 'Live Searchを利用');
406
+
407
+ define('TXT_WPSC_SHOWADVANCEDSEARCH', '"高度な検索"を表示');
408
+ define('TXT_WPSC_GOOGLEMECHANTKEY', 'Google Merchant Key');
409
+ define('TXT_WPSC_GOOGLEMECHANTID', "Google Merchant ID");
410
+ define('TXT_WPSC_IMAGESIZEINFO', /*'Note: if this is blank, the image will not be resized'*/'注意:ブランクにするとイメージはリサイズされません');
411
+ define('TXT_WPSC_ENDLESSSUBSCRIPTION', 'Permanent subscription?');
412
+ define('TXT_WPSC_RECEIVED', /*'Received'*/'受信');
413
+ define('TXT_WPSC_ORDER_STATUS', '注文ステータス');
414
+ define('TXT_WPSC_ORDER_SUMMARY', '注文サマリ');
415
+ define('TXT_WPSC_LANGUAGE', '言語');
416
+ define('TXT_WPSC_ACCEPTED_PAYMENT', '受諾済み支払');
417
+ define('TXT_WPSC_JOB_DISPATCHED', '送信ジョブ');
418
+ define('TXT_WPSC_PROCESSED', '完了オーダー');
419
+ define('TXT_WPSC_ECOMMERCE', 'ショップ設定');
420
+ define('TXT_WPSC_OPTIONS', '設定');
421
+ define('TXT_WPSC_ADDPRODUCTS', '商品を追加');
422
+ define('TXT_WPSC_SENDSMS', 'SMS送信');
423
+ define('TXT_WPSC_PRODUCTS', '商品');
424
+ define('TXT_WPSC_ADDCATEGORY', 'グループを追加');
425
+ define('TXT_WPSC_CATEGORIES', 'カテゴリー');
426
+ define('TXT_WPSC_BRANDS', 'ブランド');
427
+ define('TXT_WPSC_VARIATIONS', 'バリエーション');
428
+ define('TXT_WPSC_PURCHASELOG', '販売状況');
429
+ define('TXT_WPSC_ORDER_LOG', '注文');
430
+ define('TXT_WPSC_OLDER_ORDERS', '過去の注文');
431
+ define('TXT_WPSC_ORDER', '表示順');
432
+ define('TXT_WPSC_MONTHLY_REPORT', '過去半年のレポート');
433
+ define('TXT_WPSC_TOTAL_INCOME', '売上の累計');
434
+ define('TXT_WPSC_ACCEPTED_PAYMENTS', '(受領済み金額)'); //text has changed slightly
435
+ define('TXT_WPSC_PAYMENTGATEWAYOPTIONS', '支払い方法');
436
+ define('TXT_WPSC_HELPINSTALLATION', 'ヘルプ/アップグレード');
437
+ define('TXT_WPSC_EXAMPLECATEGORY', 'サンプルカテゴリー');
438
+ define('TXT_WPSC_EXAMPLEDETAILS', 'サンプル詳細');
439
+ define('TXT_WPSC_EXAMPLEBRAND', 'サンプルブランド');
440
+ define('TXT_WPSC_PRODUCTIMAGEWIDTH', '商品イメージ(w)');
441
+ define('TXT_WPSC_PRODUCTIMAGEHEIGHT', '商品イメージ(h)');
442
+ define('TXT_WPSC_CATEGORYIMAGEWIDTH', 'グループイメージ(w)');
443
+ define('TXT_WPSC_CATEGORYIMAGEHEIGHT', 'グループイメージ(h)');
444
+ define('TXT_WPSC_TRANSACTURL', 'トランザクション詳細URL');
445
+ define('TXT_WPSC_PAYMENTGATEWAY', '利用ペイペントゲートウェイ');
446
+ define('TXT_WPSC_CARTLOCATION', 'カートの表示位置');
447
+ define('TXT_WPSC_SHOWCATEGORYBRANDS', 'カテゴリーとブランド表示');
448
+ define('TXT_WPSC_CURRENCYTYPE', '通貨タイプ');
449
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', '通貨シンボルの位置');
450
+ define('TXT_WPSC_GSTRATE', 'GSTレート');
451
+ define('TXT_WPSC_MAXDOWNLOADS', 'ダウンロード制限値');
452
+ define('TXT_WPSC_DISPLAYPNP', 'Display or hide postage and packaging');
453
+ define('TXT_WPSC_DISPLAYSPECIALS', 'Display or hide specials on the sidebar');
454
+ define('TXT_WPSC_POSTAGEAND_PACKAGING', 'Default postage and packaging');
455
+ define('TXT_WPSC_PURCHLOGEMAIL', '購入ログの送信先メールアドレス');
456
+ define('TXT_WPSC_RETURNEMAIL', '購入ログの送信元メールアドレス');
457
+ define('TXT_WPSC_TERMSANDCONDITIONS', '利用条件をチェックアウト');
458
+ define('TXT_WPSC_DEFAULTBRAND', '既定のブランド');
459
+
460
+
461
+ define('TXT_WPSC_DEFAULTCATEGORY', '既定のカテゴリー');
462
+ //define('TXT_WPSC_DEFAULTCATEGORY', '商品ページで既定値として表示したいカテゴリーを選択してください');
463
+
464
+ define('TXT_WPSC_PAYPALBUSINESS', 'Paypal Business');
465
+ define('TXT_WPSC_PAYPALURL', 'Paypal URL');
466
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', /*'Show Product Ratings'*/'商品の評価を表示');
467
+ define('TXT_WPSC_PRODUCTSPAGE', '商品ページ');
468
+ define('TXT_WPSC_CHECKOUT', 'チェックアウト');
469
+ define('TXT_WPSC_ENTERDETAILS', '詳細を入力してください');
470
+ define('TXT_WPSC_TRANSACTIONRESULTS', '取引結果');
471
+ define('TXT_WPSC_SELECTACATEGORY', 'グループを選択');
472
+ define('TXT_WPSC_SELECTABRAND', 'ブランドを選択');
473
+ define('TXT_WPSC_PRODUCTNAME', '商品名');
474
+ define('TXT_WPSC_PRODUCTDESCRIPTION', '商品の説明');
475
+ define('TXT_WPSC_ADDITIONALDESCRIPTION', '追加の説明');
476
+ define('TXT_WPSC_PRICE', /*'Price'*/'価格');
477
+ define('TXT_WPSC_TAXALREADYINCLUDED', '税込み'); // this text has changed and needs updating
478
+ define('TXT_WPSC_SPECIAL', '特別価格'); // this text has changed and needs updating
479
+ define('TXT_WPSC_PRODUCT_DISPLAY', '商品の表示方法');
480
+
481
+ define('TXT_WPSC_PRODUCTSTOCK', '在庫');
482
+
483
+ define('TXT_WPSC_UNTICKBOX', '在庫僅少-在庫切れの場合このチェックボックスを解除するか在庫を追加するまでショップには表示されません');
484
+ define('TXT_WPSC_LIMITED_STOCK', '在庫僅少');
485
+
486
+ define('TXT_WPSC_CATEGORY', 'カテゴリー');
487
+ define('TXT_WPSC_BRAND', 'ブランド');
488
+ define('TXT_WPSC_PRODUCT_VARS', 'バリエーション');
489
+ define('TXT_WPSC_ADD_VAR', 'バリエーションセットを追加');
490
+ define('TXT_WPSC_EDIT_VAR', 'バリエーションセットを編集');
491
+ define('TXT_WPSC_SELECTAVARIATION', 'バリエーションを選択');
492
+ define('TXT_WPSC_NEW_VARIATION', 'バリエーションを新規作成');
493
+
494
+ define('TXT_WPSC_PRODUCTATT', '商品への添付');
495
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT', 'ファイルのアップロード');
496
+ define('TXT_WPSC_FILETOBEPRODUCT','注意:ここに入力すると、アップロードされたファイルが購入する商品となります');
497
+ define('TXT_WPSC_RESIZEIMAGE', 'イメージをリサイズ');
498
+ define('TXT_WPSC_DONOTRESIZEIMAGE', 'イメージをリサイズしない');
499
+ // define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'use default height and width');
500
+ // define('TXT_WPSC_USE', 'use');
501
+ // define('TXT_WPSC_PXHEIGHTBY', 'px height by');
502
+ // define('TXT_WPSC_PXWIDTH', 'px width.');
503
+
504
+ // pe.{
505
+ //define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', 'use default height and width');
506
+ // }.pe
507
+ define('TXT_WPSC_SEPARATETHUMBNAIL', '別のサムネールを利用'); // Needs Translation
508
+ define('TXT_WPSC_USE', /*'use'*/'利用');
509
+ // pe.{
510
+ define('TXT_WPSC_USEDEFAULTSIZE', '既定のサイズを利用'); // Needs Translation
511
+ define('TXT_WPSC_USESPECIFICSIZE', '特定のサイズを利用'); // Needs Translation
512
+ define('TXT_WPSC_PXHEIGHT', '高さ:ピクセル'); // Needs Translation
513
+ define('TXT_WPSC_PXWIDTH', /*'px width.'*/'幅:ピクセル');
514
+ // }.pe
515
+
516
+
517
+ define('TXT_WPSC_UPLOADNEWIMAGE', 'イメージを置換');
518
+ define('TXT_WPSC_DELETEIMAGE', /*'Delete Image'*/'イメージを削除');
519
+ define('TXT_WPSC_EDIT', /*'Edit'*/'編集');
520
+ define('TXT_WPSC_DELETE', /*'Delete'*/'削除');
521
+ define('TXT_WPSC_REMOVE', '削除');
522
+ define('TXT_WPSC_NAME', /*'Name'*/'名前');
523
+ define('TXT_WPSC_TYPE', 'タイプ'); /* needs translation; */
524
+ define('TXT_WPSC_MANDATORY', '必須'); /* needs translation; */
525
+ define('TXT_WPSC_DISPLAY_IN_LOG', 'ログに表示'); /* needs translation; */
526
+ define('TXT_WPSC_DESCRIPTION', /*'Description'*/'説明');
527
+ define('TXT_WPSC_CATEGORY_PARENT', '親グループ');
528
+ define('TXT_WPSC_IMAGE', /*'Image'*/'イメージ');
529
+ define('TXT_WPSC_HEIGHT', /*'Height'*/'高さ');
530
+ define('TXT_WPSC_WIDTH', /*'Width'*/'幅');
531
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', /*'Please enter a valid name'*/'正しい名を入力してください');
532
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', /*'Please enter a valid surname'*/'正しい姓を入力してください');
533
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', /*'Please enter a valid email address'*/'正しいメールアドレスを入力してください');
534
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', /*'Please enter a valid phone number'*/'正しい電話番号を入力してください');
535
+ define('TXT_WPSC_NOTHINGINYOURSHOPPINGCART', /*'There is nothing in your shopping cart'*/'カートは空です');
536
+
537
+ define('TXT_WPSC_PROCESSING_PROBLEM', '購入手続き中に問題が発生しました。サイト管理者に連絡してください');
538
+
539
+
540
+ define('TXT_WPSC_SPECIALS', /*'Specials'*/'スペシャル');
541
+ define('TXT_WPSC_BUY', /*'Buy'*/'購入');
542
+ define('TXT_WPSC_SHOPPINGCART', /*'Shopping Cart'*/'ショッピングカート');
543
+ define('TXT_WPSC_NUMBEROFITEMS', /*'???'*/'数量');
544
+ define('TXT_WPSC_NOMOREAVAILABLE', /*'There are no more of that item available.'*/'在庫数が不足しています');
545
+ define('TXT_WPSC_EMPTYYOURCART', /*'Empty your cart'*/'カートを空にする');
546
+ define('TXT_WPSC_GOTOCHECKOUT', /*'Go to Checkout'*/'チェックアウトする');
547
+ define('TXT_WPSC_CONTINUESHOPPING', /*'Continue shopping'*/'ショッピングを続ける');
548
+ define('TXT_WPSC_YOURSHOPPINGCARTISEMPTY', /*'Your shopping cart is empty'*/'カートは空です');
549
+ define('TXT_WPSC_VISITTHESHOP', /*'Visit the shop'*/'ショップを訪問する');
550
+ define('TXT_WPSC_PAGES', /*'Pages'*/'ページ');
551
+ define('TXT_WPSC_OUTOF', '中');
552
+ define('TXT_WPSC_VOTES', /*'votes.'*/'投票');
553
+ define('TXT_WPSC_CLICKSTARSTORATE', '評価するにはスターをクリックしてください');
554
+ define('TXT_WPSC_AVERAGERATINGOF', /*'Average rating of'*/'平均レート');
555
+ define('TXT_WPSC_YOURVOTE', 'あなたの評価');
556
+ define('TXT_WPSC_AVERAGEVOTE', /*'Average vote'*/'平均');
557
+ define('TXT_WPSC_YOUHAVEVOTED', 'あなたの評価');
558
+ define('TXT_WPSC_NOVOTES', /*'No Votes'*/'投票なし');
559
+ define('TXT_WPSC_1VOTE', /*'1 Vote'*/'1件');
560
+ define('TXT_WPSC_VOTES2', /*'Votes'*/'件');
561
+ define('TXT_WPSC_PERSONGIVEN', 'person has given this image');
562
+ define('TXT_WPSC_PERSONGIVEN2', 'stars.');
563
+ define('TXT_WPSC_PEOPLEGIVEN', 'people have given this image');
564
+ define('TXT_WPSC_PEOPLEGIVEN2', 'stars.');
565
+ define('TXT_WPSC_ITEMHASBEENADDED', /*'The item has been added'*/'アイテムが追加されました');
566
+ define('TXT_WPSC_ITEMHASNOTBEENADDED', /*'The item has not been added'*/'アイテムが追加されませんでした');
567
+ define('TXT_WPSC_ADDNEWCATEGORY', '新しいグループを追加');
568
+ define('TXT_WPSC_SUBMIT', /*'Submit'*/'送信');
569
+ define('TXT_WPSC_SELECTAVALIDCATEGORY', '有効なグループを選択してください');
570
+ define('TXT_WPSC_ADDNEWPRODUCT', '商品を追加');
571
+ define('TXT_WPSC_PRODUCTQUANTITY', /*'Productquantity'*/'商品の数量');
572
+ define('TXT_WPSC_PRODUCTIMAGE', /*'Product Image'*/'商品のイメージ');
573
+ define('TXT_WPSC_PRODUCTPRICE', /*'Product Price'*/'商品の価格');
574
+ define('TXT_WPSC_NOTAX', '税抜き');
575
+ define('TXT_WPSC_ABOUT', '...について');
576
+ define('TXT_WPSC_ABOUTCONTENT', 'Welcome to the e-commerce panel. <br /><br /><strong>Note:</strong> on some setups, the shopping cart may empty on every page load, if this happens, you will have to add this line:<br /><br />session_start();<br /><br />to the index.php file in the base wordpress directory.<br />');
577
+ define('TXT_WPSC_CONTACTDETAILS', /*'Please enter your contact details:'*/'連絡先を入力してください');
578
+ define('TXT_WPSC_CREDITCARDHANDY', /*'Note, Once you press submit, you will need to have your Credit card handy.'*/'注意:「購入する」ボタンを押したら、クレジットカードを準備願います。<br>');
579
+ define('TXT_WPSC_ASTERISK', /*'Fields marked with an asterisk must be filled in.'*/'*が追加項目は必須です');
580
+ define('TXT_WPSC_FIRSTNAME', /*'First Name'*/'名');
581
+ define('TXT_WPSC_LASTNAME', /*'Last Name'*/'姓');
582
+ define('TXT_WPSC_EMAIL', /*'Email'*/'メール');
583
+ define('TXT_WPSC_ADDRESS', /*'Address'*/'住所');
584
+ define('TXT_WPSC_ADDRESS1', '住所1'); /* needs translation; */
585
+ define('TXT_WPSC_ADDRESS2', '住所2'); /* needs translation; */
586
+ define('TXT_WPSC_CITY', '市町村'); /* needs translation; */
587
+ define('TXT_WPSC_STATE', '都道府県');
588
+ define('TXT_WPSC_COUNTRY', '国'); /* needs translation; */
589
+ define('TXT_WPSC_PHONE', /*'Phone'*/'電話');
590
+ define('TXT_WPSC_POSTAL_CODE', '郵便番号');
591
+ define('TXT_WPSC_TERMS1', '利用条件に合意します');
592
+ define('TXT_WPSC_TERMS2', '');
593
+
594
+
595
+ define('TXT_WPSC_TEXT', 'テキスト'); /* needs translation; */
596
+ define('TXT_WPSC_TEXTAREA', 'テキスト領域'); /* needs translation; */
597
+ define('TXT_WPSC_HEADING', '見出し');
598
+
599
+ define('TXT_WPSC_MAKEPURCHASE', /*'Make Purchase'*/'購入する');
600
+ define('TXT_WPSC_BUYPRODUCTS', /*'Please buy some products before using this page'*/'このページを利用する前に商品を購入してください');
601
+ define('TXT_WPSC_BRANDHASBEENEDITED', 'The brand has been edited.');
602
+ define('TXT_WPSC_SURETODELETEPRODUCT', /*'Are you sure you want to delete this product?'*/'この商品を削除してもいいですか?');
603
+ define('TXT_WPSC_ADDBRAND', 'ブランドを追加');
604
+ define('TXT_WPSC_DISPLAYBRANDS', 'ブランドを表示');
605
+ define('TXT_WPSC_EDITBRAND', 'ブランドを編集');
606
+ define('TXT_WPSC_ADD', /*'Add'*/'追加');
607
+ define('TXT_WPSC_ADD_NEW_FORM', '新しいフォームフィールドを追加');
608
+ define('TXT_WPSC_SAVE_CHANGES', '変更を保存'); /* needs translation; */
609
+
610
+ define('TXT_WPSC_CATEGORYHASBEENEDITED', 'このグループは編集されました');
611
+ define('TXT_WPSC_DISPLAYCATEGORIES', 'グループを表示');
612
+ define('TXT_WPSC_EDITCATEGORY', 'グループを編集');
613
+ define('TXT_WPSC_ALLCATEGORIES', 'すべてのグループを見る');
614
+
615
+ define('TXT_WPSC_DISPLAYVARIATIONS', /*'Display Variations'*/'バリエーション');
616
+ define('TXT_WPSC_ADDVARIATION', /*'Add Variation Set'*/'バリエーションセットを追加');
617
+ define('TXT_WPSC_EDITVARIATION', /*'Edit Variation Set'*/'バリエーションセットを編集');
618
+ define('TXT_WPSC_VARIATIONHASBEENEDITED', /*'The variation has been edited.'*/'バリエーションが編集されました');
619
+ define('TXT_WPSC_VARIATION_VALUES', /*'Variation Values'*/'バリエーション値');
620
+ define('TXT_WPSC_REMOVE_SET', /*'Remove Set'*/'セットを削除');
621
+
622
+ define('TXT_WPSC_SELECT_PARENT', /*'Select Parent'*/'親を選択');
623
+ define('TXT_WPSC_PRODUCTHASBEENEDITED', /*'The product has been edited.'*/'商品は編集されました');
624
+ define('TXT_WPSC_ADDPRODUCT', /*'Add Product'*/'商品を追加');
625
+ define('TXT_WPSC_DISPLAYPRODUCTS', /*'Display Products'*/'商品を表示');
626
+ define('TXT_WPSC_PLEASESELECTACATEGORY', 'グループを選択してください');
627
+ define('TXT_WPSC_STOCK', /*'Stock'*/'在庫');
628
+ define('TXT_WPSC_PNP', 'P&amp;P');
629
+ define('TXT_WPSC_EDITITEM', /*'Edit Item'*/'アイテムを編集');
630
+ define('TXT_WPSC_PRODUCTDETAILS', /*'Product Details'*/'商品の説明');
631
+ define('TXT_WPSC_SELECT_PRODUCT', /*'Select an Existing Product'*/'商品を選択してください');
632
+ define('TXT_WPSC_ENTERPRODUCTDETAILSHERE', /*'(enter in your product details here)'*/'(商品の説明をここに入力してください)');
633
+ define('TXT_WPSC_ADDITIONALPRODUCTDESCRIPTION', /*'Additional Product Description'*/'商品の追加説明');
634
+ define('TXT_WPSC_ADDITEM', /*'Add Item'*/'アイテムを追加');
635
+ define('TXT_WPSC_CHOOSEACATEGORY', 'グループを選択してください');
636
+ define('TXT_WPSC_CHOOSEABRAND', 'ブランドを選択');
637
+ define('TXT_WPSC_USETHEACTUALIMAGE', /*'use the actual image. No resize.'*/'実イメージを利用(リサイズしない)');
638
+ define('TXT_WPSC_DISPLAYPURCHASES', '購入ログ');
639
+ define('TXT_WPSC_ID', 'ID');
640
+ define('TXT_WPSC_TRANSACTIONSTATUS', /*'Transaction Status'*/'トランザクションステータス');
641
+ define('TXT_WPSC_DATE', '日付');
642
+ define('TXT_WPSC_VIEWDETAILS', '詳細'); //Text has changed - translation is needed
643
+ define('TXT_WPSC_STATUS', /*'Status'*/'ステータス');
644
+ define('TXT_WPSC_SUCCESSFUL', /*'Successful'*/'成功');
645
+ define('TXT_WPSC_FAILED', /*'Failed'*/'失敗');
646
+ define('TXT_WPSC_GST', 'GST');
647
+ define('TXT_WPSC_PP', 'P&amp;P');
648
+ define('TXT_WPSC_TOTAL', /*'Total'*/'合計');
649
+ define('TXT_WPSC_FINALTOTAL', /*'Final Total'*/'総合計');
650
+ define('TXT_WPSC_CUSTOMERDETAILS', /*'Customer Details'*/'顧客の詳細');
651
+ define('TXT_WPSC_USERSCARTWASEMPTY', /*'This users cart was empty'*/'このユーザーのカートは空です');
652
+ define('TXT_WPSC_GOBACK', /*'Go Back'*/'戻る');
653
+ define('TXT_WPSC_THANKSAPPLIED', '変更が保存されました');
654
+ define('TXT_WPSC_FORM_FIELDS', 'チェックアウトオプション');
655
+ define('TXT_WPSC_PAYMENTGATEWAY2', /*'Payment Gateway'*/'支払ゲートウェイ');
656
+ define('TXT_WPSC_PLEASESELECTAPAYMENTGATEWAY', /*'Please Select A Payment Gateway'*/'支払ゲートウェイを選択してください');
657
+ define('TXT_WPSC_PAYMENTGATEWAYNOTE', '<strong>注意:</strong>この無償版のe-CommerceプラグインではPayPalのみ利用可能です.<br /><br />Paypal以外のより高度なソリューションをお探しの場合は <a href="http://www.instinct.co.nz/blogshop">e-Commerce Gold Version</a> を利用してAuthorize.Net DPS(www.dps.co.nz) Paystation (www.paystation.co.nz)とシームレスに統合できます');
658
+ define('TXT_WPSC_URLSETTINGS', /*'URL Settings'*/'URL設定');
659
+ define('TXT_WPSC_PRODUCTLISTURL', /*'Product List URL'*/'商品リストURL');
660
+ define('TXT_WPSC_SHOPPINGCARTURL', /*'Shopping Cart URL'*/'ショッピングカートURL');
661
+ define('TXT_WPSC_CHECKOUTURL', /*'Checkout URL'*/'チェックアウトURL');
662
+ define('TXT_WPSC_TRANSACTIONDETAILSURL', /*'Transaction Details URL'*/'トランザクション詳細URL');
663
+ define('TXT_WPSC_PRESENTATIONSETTINGS', /*'Presentation Settings'*/'表示設定');
664
+ define('TXT_WPSC_SIDEBAR', /*'Sidebar'*/'サイドバー');
665
+ define('TXT_WPSC_PAGE', /*'Page'*/'ページ');
666
+ define('TXT_WPSC_WIDGET', /*'Widget'*/'ウィジェット');
667
+ define('TXT_WPSC_NEEDTOENABLEWIDGET', /*'You need to enable the widgets plugin to use this'*/'ウィジェットプラグインを有効化してください');
668
+ define('TXT_WPSC_MANUAL', /*'Manual'*/'マニュアル');
669
+ define('TXT_WPSC_SHOWCATEGORIESBRANDS', 'カテゴリー/ブランドを表示');
670
+ define('TXT_WPSC_BOTH', /*'Both'*/'両方');
671
+ define('TXT_WPSC_PRODUCTTHUMBNAILSIZE', /*'Default Product Thumbnail Size'*/'サムネールの既定サイズ-商品');
672
+ define('TXT_WPSC_CATEGORYTHUMBNAILSIZE', 'サムネールの既定サイズ-グループ');
673
+ define('TXT_WPSC_SHOWPOSTAGEANDPACKAGING', '(郵)送料を表示');
674
+ define('TXT_WPSC_YES', /*'Yes'*/'はい');
675
+ define('TXT_WPSC_NO', /*'No'*/'いいえ');
676
+ define('TXT_WPSC_SHOWSPECIALS', 'Show Specials in the Sidebar');
677
+ define('TXT_WPSC_CURRENCYSETTINGS', /*'Currency Settings'*/'通貨の設定');
678
+ define('TXT_WPSC_GSTTAXRATE', /*'GST/Tax Rate'*/'GST/消費税率');
679
+ define('TXT_WPSC_DEFAULTPOSTAGEPACKAGING', 'Default Postage &amp; Packaging');
680
+ define('TXT_WPSC_ADMINISTRATIONSETTINGS', /*'Administration Settings'*/'管理者設定');
681
+ define('TXT_WPSC_MAXDOWNLOADSPERFILE', /*'Max downloads per file'*/'ファイルの最大ダウンロード数');
682
+ define('TXT_WPSC_PURCHASELOGEMAIL', /*'Purchase Log Email'*/'購入ログを送信するメールアドレス');
683
+ define('TXT_WPSC_REPLYEMAIL', /*'Reply Email'*/'返信先メールアドレス');
684
+ define('TXT_WPSC_BRANDNOCAP', 'brand');
685
+ define('TXT_WPSC_CATEGORYNOCAP', /*'category'*/'カテゴリー');
686
+ define('TXT_WPSC_UDPATING', /*'Updating'*/'更新中');
687
+ define('TXT_WPSC_MOREDETAILS', /*'More Details'*/'さらに詳しく');
688
+ define('TXT_WPSC_ADDTOCART', /*'Add To Cart'*/'カートに追加');
689
+ define('TXT_WPSC_AVGCUSTREVIEW', /*'Avg. Customer Rating'*/'顧客の評価平均');
690
+ define('TXT_WPSC_YOURRATING', /*'Your Rating'*/'あなたの評価');
691
+ define('TXT_WPSC_RATING_SAVED', /*'Saved'*/'保存されました');
692
+ define('TXT_WPSC_RATETHISITEM', /*'Rate This item'*/'このアイテムを評価');
693
+ define('TXT_WPSC_PRODUCTSOLDOUT', /*'This product has sold out.'*/'この商品は売り切れです');
694
+ define('TXT_WPSC_NOITEMSINTHIS', /*'There are no items in this'*/'アイテムがありません');
695
+ define('TXT_WPSC_CATEGORYORBRAND', 'Category or Brand');
696
+ define('TXT_WPSC_PLEASECHOOSEA', /*'Please choose a'*/'選択してください');
697
+ define('TXT_WPSC_PLEASECHOOSEAGROUP', 'Please choose a Product Group');
698
+ define('TXT_WPSC_PRODUCT', /*'Product'*/'商品');
699
+ define('TXT_WPSC_QUANTITY', /*'Quantity'*/'数量');
700
+ define('TXT_WPSC_QUANTITY_SHORT', '数量'); //translation needed
701
+ define('TXT_WPSC_APPLY', /*'Apply'*/'再計算');
702
+ define('TXT_WPSC_MAKEPAYMENT', /*'Make Payment'*/'支払いに進む');
703
+ define('TXT_WPSC_EMPTYSHOPPINGCART', /*'Empty shopping cart'*/'カートを空にする');
704
+ define('TXT_WPSC_TOTALPRICE', /*'Total Price'*/'合計価格');
705
+ define('TXT_WPSC_NOITEMSINTHESHOPPINGCART', /*'There are no items in the shopping cart'*/'カートは空です');
706
+ define('TXT_WPSC_EMAILMSG1', "Thank you, the order has been accepted, any items to be shipped will be processed as soon as possible, any items that can be downloaded can be downloaded using the links on this page.\n\rAll prices include tax and postage and packaging where applicable.\n\rYou ordered these items:\n\r");
707
+ define('TXT_WPSC_EMAILMSG2', ".\n\rThese items were ordered:\n\r\n\r");
708
+ define('TXT_WPSC_CLICKTODOWNLOAD', /*'Click here to download'*/'クリックしてダウンロード');
709
+ define('TXT_WPSC_DOWNLOAD', /*'Download'*/'ダウンロード');
710
+ define('TXT_WPSC_YOURTRANSACTIONID', /*'Your Transaction ID'*/'あなたのトランザクションID');
711
+ define('TXT_WPSC_TRANSACTIONID', /*'Transaction ID'*/'トランザクションID');
712
+ define('TXT_WPSC_PURCHASERECEIPT', /*'Purchase Receipt'*/'レシート');
713
+ define('TXT_WPSC_PURCHASEREPORT', /*'Purchase Report'*/'購入レポート');
714
+ define('TXT_WPSC_THETRANSACTIONWASSUCCESSFUL', /*'The Transaction was successful'*/'トランザクションは成功しました');
715
+ define('TXT_WPSC_THETRANSACTIONWASNOTSUCCESSFUL', /*'The Transaction was not successful'*/'トランザクションは失敗しました');
716
+ define('TXT_WPSC_GOBACKTOCHECKOUT', /*'Go back to the checkout'*/'チェックアウトに戻る');
717
+ define('TXT_WPSC_SPECIALPRICE', /*'Special Price'*/'特別価格');
718
+
719
+ define('TXT_WPSC_INSTRUCTIONS', '
720
+ Install Steps
721
+ <ul class=\'installation\'>
722
+ <li>Place contents of zip file in the wp-content/plugins directory.</li>
723
+ <li>Activate the plugin from the wordpress plugin page</li>
724
+ <li>Go to the "Payment Gateway Options" page in the "e-Commerce" tab, and enter in the appropriate details. (the default paypal gateway accessed is the paypal sandbox)</li>
725
+ <li>Create some Categories and Products using the Categories and Products pages</li>
726
+ </ul>
727
+
728
+ <p>If you are upgrading from Previous Version we suggest you deactivate and reactivate the plugin.</p>
729
+
730
+ <h2>Upgrades and Modules</h2>
731
+
732
+ <p>You will find more information about the following WP e-Commerce modules by visiting the <a href="http://www.instinct.co.nz/blogshop">Instinct BlogShop</a> website.</p>
733
+
734
+ <ul class=\'installation\'>
735
+ <li>Gold</li>
736
+ <li>DropShop</li>
737
+ <li>Audio Player</li>
738
+ <li>GridView</li>
739
+ </ul>
740
+
741
+ <h2>Wishlist</h2>
742
+ <p>If you want a new feature that is not currently supported by WP e-Commerce here then you can either <a href="http://www.instinct.co.nz/contact-us/">commission the development</a> or add it to the wish list in the <a href="http://instinct.co.nz/blogshop/support-forums/">community forums</a>.
743
+
744
+ <h2>Customisation and Tips</h2>
745
+ <p><strong>Tax</strong><br />If required you can enter in Tax rates on the Options page in the "e-Commerce" tab.</p>
746
+ <p><strong>Email purchase Logs</strong><br />If you add an email address for the purchase log on the Purchase Log page this will be the email address that is sent a purchase notification each time something is bought.</p>
747
+ <p><strong>Hiding pages</strong><br />
748
+ To prevent the Shopping Cart, Checkout and Transaction Results pages from being displayed in the page list you must first find out their ID numbers. <br />
749
+ <br />Then you have to edit the file in the theme you use that displays pages. This is normally found in sidebar.php, find the line similar to:<br />
750
+ <br />"&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;/h2&gt;\' ); ?&gt;"<br />
751
+ and replace with<br />
752
+ "&lt;?php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;h2&gt;&amp;exclude=3,4,5\'); ?&gt;"<br />
753
+ <br />The word exclude tells it to exclude the pages from the list, replace 3,4,5 with the ID numbers of the pages you wish to exclude.</p>
754
+ <p><strong>Image Functions</strong><br />
755
+ If your server does not have the PHP image functions installed, you will not be able to resize images once they are uploaded</p>
756
+ <p><strong>Permalinks</strong><br />
757
+ We\'re doing the best we can.
758
+ I have not been able to find a really good way to pass the required variables from page to page using permalinks that dont use mod_rewrite, if you cant use mod_rewrite, the plugin may not work with permalinks turned on.</p>
759
+ <p><strong>Javascript and Ajax </strong><br />
760
+ e-commerce lite uses Ajax, the shopping cart that the user sees will work without Javascript, but the Administration pages (specifically the Products and Categories pages) will not. To use the Administration section you will need to use a reasonably modern browser and have Javascript turned on. (Internet Explorer 6 or better, or Firefox 1.0 or better, older versions have not been tested for and may or may not work)</p>
761
+ <p><strong>More on Flickr</strong><br />
762
+ We have created a number of <a href="http://www.google.com/search?q=flickr+wp+e-commerce&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a">visual guides</a> on Flickr.
763
+
764
+ ');
765
+
766
+
767
+ define('TXT_WPSC_SHIPPINGSETTINGS', '配送設定');
768
+ define('TXT_WPSC_BASE_LOCAL', '国内配送');
769
+ define('TXT_WPSC_BASE_INTERNATIONAL', '国際配送');
770
+ define('TXT_WPSC_BASE_COUNTRY', '基準国');
771
+
772
+ define('TXT_WPSC_SHIPPING_DETAILS', '追加配送料'); // this needs updating
773
+ define('TXT_WPSC_LOCAL_PNP', '国内配送料'); // this needs updating
774
+ define('TXT_WPSC_INTERNATIONAL_PNP', '国際配送料'); // this needs updating
775
+ define('TXT_WPSC_SHIPPING_NOTE', '注意: 注文数にかかわらず、注文商品につき1回チャージされます');
776
+ define('TXT_WPSC_COUNTRY_FORM_FIELD', 'Country Form Field');
777
+ define('TXT_WPSC_COUNTRY_FORM_FIELD_EXPLANATION', '(select which form field on the checkout page you want to use for specifying the country)');
778
+
779
+ define('TXT_WPSC_SHIPPING', '配送');
780
+ define('TXT_WPSC_EMAIL_FORM_FIELD', 'Email Form Field');
781
+ define('TXT_WPSC_EMAIL_FORM_FIELD_EXPLANATION', '(select which form field on the checkout page you want to use for specifying the email address)');
782
+
783
+
784
+ define('TXT_WPSC_PRODUCTIMAGES', '商品イメージ');
785
+ define('TXT_WPSC_PRODUCTDOWNLOAD', '商品をダウンロード');
786
+ define('TXT_WPSC_SHOWTHUMBNAILS', 'サムネールを表示');
787
+ define('TXT_WPSC_ADD_ADDITIONAL_IMAGE', 'イメージを追加');
788
+ define('TXT_WPSC_DELETE_IMAGE', 'イメージを削除');
789
+ define('TXT_WPSC_GOLD_OPTIONS', 'Goldオプション');
790
+ define('TXT_WPSC_ACTIVATE_SETTINGS', '有効化設定: Gold Cart');
791
+ define('TXT_WPSC_ACTIVATION_KEY', 'アクティベーションキー');
792
+ define('TXT_WPSC_THANKSACTIVATED', 'Gold Shopping Cartが有効化されました');
793
+ define('TXT_WPSC_NOTACTIVATED', 'APIキーが正しくありません');
794
+
795
+ define('TXT_WPSC_DEFAULT', '既定のビュー');
796
+ define('TXT_WPSC_LIST', 'リストビュー');
797
+
798
+ define('TXT_WPSC_VISIBLE', '可視化');
799
+ define('TXT_WPSC_DELETE_PRODUCT', '商品を削除');
800
+ define('TXT_WPSC_ADDITIONAL_IMAGE', '追加のイメージ');
801
+ define('TXT_WPSC_GATEWAY_OPTIONS', 'ゲートウェイオプション');
802
+ define('TXT_WPSC_SHIPPING_COUNTRY', '配送料を計算');
803
+ define('TXT_WPSC_CONFIRM_TOTALS', '支払手続きの前に合計額を確認してください:');
804
+ define('TXT_WPSC_CHECKOUT_FORM_FIELDS_DESCRIPTION', 'チェックアウトページに表示されるフォームをカスタマイズできます。チェックアウトページで集められた重要なユーザー情報は購買ログに表示されます。例:顧客名、住所...');
805
+ define('TXT_WPSC_PAYMENT_OPTIONS', '支払方法');
806
+ define('TXT_WPSC_PAYMENT_DESCRIPTION', 'Choose what payment options you want to make available in the checkout page. By default purchasers can only pay for items using a credit card however you may wish to also let them pay manually in which case you should select the credit card + manual payment option.');
807
+
808
+ define('TXT_WPSC_DEFAULT_GATEWAY_ONLY', ' only');
809
+ define('TXT_WPSC_PLUS_MANUAL_PAYMENT', ' plus manual payment option');
810
+ define('TXT_WPSC_PAYMENT_METHOD', '支払い手段');
811
+ define('TXT_WPSC_PAY_USING', 'Pay using');
812
+ define('TXT_WPSC_PAY_MANUALLY', 'Pay by Cheque/Bank Deposit');
813
+ define('TXT_WPSC_CREDIT_CARD', 'クレジットカード');
814
+ define('TXT_WPSC_ADJUSTABLE_QUANTITY', 'Show quantity form in list view');
815
+ define('TXT_WPSC_RSS_FEED_HEADER', '注文状況をRSSで購読');
816
+ define('TXT_WPSC_RSS_FEED_LINK', 'RSSフィード');
817
+ define('TXT_WPSC_RSS_FEED_TEXT', '');
818
+ define('TXT_WPSC_INITIAL_SETUP', '既定オプションを作成');
819
+ define('TXT_WPSC_PLUGIN_NEWS_HEADER', 'プラグイン関連ニュース');
820
+
821
+
822
+ define('TXT_WPSC_PLUGIN_NEWS', '
823
+
824
+ <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank">WP DropShop</a>は最先端のショッピングカードです。GridViewと組み合わせて話題をさらおう!<br/><br/>
825
+
826
+ <a href="http://instinct.co.nz/blogshop/products-page/" target="_blank">GridView</a>はページデザインを大幅に改善します<br/><br/>
827
+
828
+ <a href="http://www.instinct.co.nz/wp-campaign-monitor/100">WP Campaign Monitor</a>はメールによるニュースレターを作成するツールです。キャンペーン実行、結果のモニタ、購読者の管理をWordPressから行うことができます。最新版はeCommerce Lite版と統合されており、顧客へのニュースレター発行その他を実行できます。
829
+
830
+ ');
831
+
832
+
833
+ define('TXT_WPSC_POWERED_BY', 'このプラグイン発行元 ');
834
+
835
+ define('TXT_WPSC_NO_PURCHASES', 'データがありません');
836
+
837
+
838
+ define('TXT_WPSC_DELIVERY_ADDRESS', '配送先-住所'); //translation needed
839
+ define('TXT_WPSC_DELIVERY_CITY', '配送先-市町村'); //translation needed
840
+ define('TXT_WPSC_DELIVERY_COUNTRY', '配送先-国'); //translation needed
841
+ define('TXT_WPSC_MP3_SETTINGS', 'MP3設定');
842
+ define('TXT_WPSC_MP3_SETTINGS_DESCRIPTION', 'To create the 30 second MP3 file clips, this plugin needs <a href=\'http://sox.sourceforge.net/\'>SoX</a> compiled with MP3 support, enter the path to SoX here.');
843
+ define('TXT_WPSC_SOX_PATH', 'SoX Path');
844
+ define('TXT_WPSC_PREVIEW', /*'Preview'*/'プレビュー');
845
+ define('TXT_WPSC_DOWNLOAD_CSV', 'CSVをダウンロード'); //translation needed
846
+ define('TXT_WPSC_PREVIEW_FILE', 'ファイルをプレビュー'); //translation needed
847
+ define('TXT_WPSC_NEW_PREVIEW_FILE', '新規プレビューファイル');
848
+ define('TXT_WPSC_REPLACE_PRODUCT', '商品を置き換え'); //translation needed
849
+ define('TXT_WPSC_TOTALSHIPPING', '配送料計');
850
+ define('TXT_WPSC_DISPLAY_FRONT_PAGE', 'フロントページに表示');
851
+ define('TXT_WPSC_SEARCH_FOR', '検索条件');
852
+ define('TXT_WPSC_YOUR_SEARCH_FOR', '検索条件');
853
+ define('TXT_WPSC_RETURNED_NO_RESULTS', '検索結果は見つかりません');
854
+ define('TXT_WPSC_POSTAGE', '郵便料金');
855
+ define('TXT_WPSC_SUBTOTAL', '小計');
856
+
857
+
858
+ //everything under here needs translations, added after 19/1/2007
859
+
860
+ define('TXT_WPSC_PLEASEENTERAVALID', 'Please enter a valid');
861
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', /*'Please enter a valid address'*/'正しい住所を入力してください');
862
+ define('TXT_WPSC_PLEASEENTERAVALIDCITY', '市町村を入力してください');
863
+ define('TXT_WPSC_PLEASESELECTCOUNTRY', '国を選択してください');
864
+ define('TXT_WPSC_PLEASEAGREETERMSANDCONDITIONS', '利用条件オプションを選択してください。選択しないと注文処理ができません。');
865
+ define('TXT_WPSC_POSITION', '位置');
866
+
867
+ define('TXT_WPSC_DELIVERY_REGION', '配送地域');
868
+
869
+
870
+ define('TXT_WPSC_GENERAL_SETTINGS', '全般設定');
871
+ define('TXT_WPSC_TAX_SETTINGS', '消費税率');
872
+ define('TXT_WPSC_POSTAGE_AND_TAX', '郵便料金&amp;消費税');
873
+ define('TXT_WPSC_GRID', 'グリッド形式');
874
+ define('TXT_WPSC_CANT_MOVE_CATEGORY', 'サブカテゴリーがある商品は移動できません');
875
+ define('TXT_WPSC_SURETODELETECATEGORY', 'このカテゴリーを削除しますか?サブカテゴリーがある場合、ともに削除されます');
876
+ define('TXT_WPSC_VARIATION', 'バリエーション');
877
+ define('TXT_WPSC_OVER_TWO_VARIATIONS', 'バリエーションが複数ある場合は在庫と価格のコントロールはできません');
878
+ define('TXT_WPSC_PRICE_AND_STOCK_CONTROL', '価格と在庫の管理') ;
879
+
880
+ // pe.{
881
+ define('TXT_WPSC_CATSBRANDSLOCATION', 'Categories &amp; Brands Location');
882
+ define('TXT_WPSC_DESCITEMSEPARATOR', ' : ');
883
+ define('TXT_WPSC_SEARCHITEMSEPARATOR', ' : ');
884
+ define('TXT_WPSC_SINGLE_SHIPPING_COUNTRY', 'Shipping country:');
885
+ define('TXT_WPSC_ADD_ANOTHER_VARIATION', 'バリエーションを追加');
886
+ // }.pe
887
+ define('TXT_WPSC_PRODUCT_CATEGORIES', 'カテゴリーを選択');
888
+ define('TXT_WPSC_THANKS_DELETED', '購入ログは削除されました');
889
+ define('TXT_WPSC_PRODUCT_IMAGE_PREVIEW', '商品イメージ');
890
+ define('TXT_WPSC_PRODUCT_THUMBNAIL_PREVIEW', '商品サムネール');
891
+ define('TXT_WPSC_REMOVE_LOG', 'このレコードを削除');
892
+ define('TXT_WPSC_CATSANDBRAND', 'カテゴリー &amp;ブランド');
893
+ define('TXT_WPSC_GOLD_DROPSHOP', 'DropShop');
894
+ define('TXT_WPSC_NEEDTOENABLEDROPSHOP', 'You need to install the Gold and DropShop extentions to use this');
895
+ define('TXT_WPSC_DRAG_ITEM_HERE', 'Drag any item here to add it to your cart.');
896
+ define('TXT_WPSC_SHOWCATEGORYTHUMBNAILS', 'グループサムネールを表示');
897
+ define('TXT_WPSC_SHOPPING_CART', /*'Shopping Cart'*/'ショッピングカート');
898
+ define('TXT_WPSC_SHOW_SLIDING_CART', 'スライディングカートを利用');
899
+ define('TXT_WPSC_PREVIEW_FILE_NOTE', 'Note: If you do not upload a preview file and your server has sox compiled with MP3 support then a preview file will be created for you.');
900
+ define('TXT_WPSC_PURCHASE_NUMBER', '購入No.');
901
+ define('TXT_WPSC_FILTER_ORDER', '注文をフィルタ');
902
+ define('TXT_WPSC_SHOW_SEARCH', '検索を表示');
903
+ define('TXT_WPSC_LOG_CURRENT_MONTH', '今月の結果を表示');
904
+ define('TXT_WPSC_LOG_PAST_THREE_MONTHS', '過去3カ月の結果を表示');
905
+ define('TXT_WPSC_LOG_ALL', 'すべての結果を表示');
906
+ define('TXT_SHOW_IMAGES_ONLY', 'イメージのみ表示');
907
+ define('TXT_WPSC_SHOW_GALLERY', 'サムネールギャラリーを表示');
908
+ define('TXT_WPSC_PLEASE_SELECT', '選択してください');
909
+ define('TXT_WPSC_TXN_ID', 'トランザクションId');
910
+ define('TXT_WPSC_SINGLE_PRODUCTTHUMBNAILSIZE', '単独商品のイメージサイズ');
911
+ define('TXT_WPSC_RESET', 'リセット');
912
+ define('TXT_WPSC_ORDER_PENDING', 'ご注文ありがとうございました。あなたのオーダーは現在処理中です。ご注文が確定次第、メールを差し上げます。');
913
+ define('TXT_WPSC_ORDER_FAILED', '申し訳ございません。ご注文を処理できませんでした。クレジットカードの与信枠をご確認いただけますようお願いいたします。');
914
+ // Adrian - added for the options I added
915
+ define('TXT_WPSC_SHOW_CATEGORY_COUNT', 'グループごとの商品数を表示');
916
+ define('TXT_WPSC_CATSPRODS_DISPLAY_TYPE', 'グループと商品の表示方法');
917
+ define('TXT_WPSC_CATSPRODS_TYPE_CATONLY', 'グループのみ(全商品を表示)');
918
+ define('TXT_WPSC_CATSPRODS_TYPE_SLIDEPRODS', 'グループをスライド(1商品/1ページ)');
919
+ // Adrian - END new added options
920
+ define('TXT_WPSC_ORDER_DETAILS', '注文の詳細');
921
+ define('TXT_WPSC_SAVE_PROFILE', 'プロファイルを保存');
922
+ define('TXT_WPSC_USERACCOUNTURL', 'ユーザーアカウント');
923
+ define('TXT_WPSC_MUST_BE_LOGGED_IN', 'このページの利用にはログインが必要です。以下のフォームからログインしてください。');
924
+ define('TXT_WPSC_YOUR_ACCOUNT', 'あなたのアカウント');
925
+
926
+ define('TXT_WPSC_YOU_JUST_ADDED', '商品 "[product_name]" がカートに追加されました。');
927
+ define('TXT_WPSC_SORRY_NONE_LEFT', '申し訳ありません。 "[product_name]" は在庫切れです。');
928
+ define('TXT_WPSC_CONTINUE_SHOPPING', '買い物を続ける');
929
+
930
+ define('TXT_WPSC_ITEM_GONE_OUT_OF_STOCK', 'このアイテムは在庫がなくなりました。ご注文内容を再編集願います');
931
+ define('TXT_WPSC_DISPLAY_FANCY_NOTIFICATIONS', '特別な購入通知を表示');
932
+ define('TXT_WPSC_IF_USER_CHECKOUT', 'ユーザーIDをお持ちの方: ');
933
+ define('TXT_WPSC_LOG_IN', 'ログイン');
934
+ define('TXT_WPSC_IS_DONATION', '寄付のみ-ウィジェットで表示する');
935
+ define('TXT_WPSC_DONATION', '寄付');
936
+ define('TXT_WPSC_DONATION_LC', '寄付');
937
+ define('TXT_WPSC_DONATION_SHIPPING', '寄付には配送がありません');
938
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT_URL', '商品ファイル名');
939
+ define('TXT_WPSC_FILETOBEPRODUCTURL', 'Note: Upload your file to the e-commerce files directory and enter the filename here.');
940
+ define('TXT_WPSC_DONATIONS', '寄付');
941
+ define('TXT_WPSC_WRONG_FILE_PERMS', 'イメージをアップロードできません。以下のフォルダに書き込み権限がありません。: :directory: 書き込み可能に設定した上で再試行してください。');
942
+ define('TXT_WPSC_RESET_API', 'API keyをリセット');
943
+ define('TXT_WPSC_PRODUCTS_PER_PAGE', 'ページあたりの商品数');
944
+ define('TXT_WPSC_OPTION_PRODUCTS_PER_PAGE', 'ページあたりの表示商品数');
945
+ define('TXT_WPSC_PAGE_NUMBER_POSITION', 'ページ番号の位置');
946
+
947
+
948
+ define('TXT_WPSC_YOUR_BILLING_CONTACT_DETAILS', '1. お客様の連絡先・請求先');
949
+ define('TXT_WPSC_DELIVER_TO_A_FRIEND', '2. 送付先が異なる場合');
950
+ define('TXT_WPSC_E_COMMERCE', 'ショッピングカート');
951
+ define('TXT_WPSC_THANKS_SAVED', '変更が保存されました');
952
+ define('TXT_WPSC_REGISTER', '登録');
953
+ define('TXT_WPSC_TAX', '消費税');
954
+
955
+ define('TXT_WPSC_USE_SHIPPING', '配送業者を利用');
956
+ define('TXT_WPSC_USE_SHIPPING_DESCRIPTION', 'デジタルダウンロード販売のみを行う場合、いいえを選択します');
957
+
958
+ define('TXT_WPSC_PAGESETTINGS', 'ページネーション設定');
959
+ define('TXT_WPSC_USE_PAGINATION', 'ページネーションを使用');
960
+ define('TXT_WPSC_ADD_PRODUCT', '商品を追加');
961
+ define('TXT_WPSC_EDIT_PRODUCT', '更新');
962
+ define('TXT_WPSC_UPDATE_PAGE_URLS', 'ページのURLを更新');
963
+ define('TXT_WPSC_VARIATIONS_AND_SPECIALS_DONT_MIX', '注意: このバージョンではバリエーションを持つ商品に特別価格を設定できません。');
964
+ define('TXT_WPSC_PRODUCT_SPECIALS', 'スペシャルオファー');
965
+ define('TXT_WPSC_SHOW_SHARE_THIS', 'Share Thisを表示 (ソーシャルブックマーク)');
966
+ define('TXT_WPSC_SHOW_NO_PRODUCT', '商品がありません');
967
+ define('TXT_WPSC_CHOOSE_DOWNLOADABLE_PRODUCT', 'この商品でダウンロード可能なファイルを選択してください:');
968
+ define('TXT_WPSC_PLEASECHOOSE', /*'Please choose'*/'選択してください');
969
+
970
+ define('TXT_WPSC_VARIATION_CONTROL', 'バリエーションコントロール');
971
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_SINGLE', ':variation1: Control');
972
+ define('TXT_WPSC_VARIATION_GRID_CONTROL_PAIR', ':variation1: and :variation2: Control');
973
+ define('TXT_WPSC_VIEW_PREVIEW_CLIP', 'プレビュー用クリップを表示');
974
+ define('TXT_WPSC_REQUIRE_REGISTRATION', 'チェックアウト前に登録が必要');
975
+ define('TXT_WPSC_PLEASE_LOGIN', 'Please login or signup above to make your purchase');
976
+ define('TXT_WPSC_IF_JUST_REGISTERED', 'If you have just registered, please check your email and login before you make your purchase');
977
+ define('TXT_WPSC_SELECT_THEME', '既定のテーマ');
978
+ define('TXT_WPSC_NEW_ORDER_PENDING_SUBJECT', '新規ペンディングオーダー');
979
+ define('TXT_WPSC_NEW_ORDER_PENDING_BODY', "処理待ちの新しい注文があります: \n\r ");
980
+ define('TXT_WPSC_NO_SHIPPING', "配送を伴わない商品");
981
+ define('TXT_WPSC_DEFAULT_MEMBERS_ONLY', "このページは会員専用です...ご利用には登録が必要です...");
982
+ define('TXT_WPSC_MEMBERSHIP_CONTROL', "メンバーシップ管理");
983
+ define('TXT_WPSC_PRODUCT_MEMBER_STATUS', "Is this product a membership?");
984
+ define('TXT_WPSC_PRODUCT_MEMBERSHIP_LENGTH', "メンバー期間");
985
+ define('TXT_WPSC_DAYS', "日");
986
+ define('TXT_WPSC_MONTHS', "月");
987
+ define('TXT_WPSC_YEARS', "年");
988
+ define('TXT_WPSC_MEMBERS_SUBSCRIPTION_ENDED', "購読期間が終了しました");
989
+ define('TXT_WPSC_ACTIVATE_SETTINGS_MEMBERS', 'Activation Settings: Members Module');
990
+ define('TXT_WPSC_GOLD_CART', 'Gold Cart');
991
+ define('TXT_WPSC_SHOW_CATEGORY_DESCRIPTION', 'グループの説明を表示');
992
+ define('TXT_WPSC_ALSO_BOUGHT', 'この商品を買った方は次の商品も購入しています');
993
+ define('TXT_WPSC_MARKETING_SETTINGS', 'マーケティング設定');
994
+ define('TXT_WPSC_OPTION_ALSO_BOUGHT', 'クロスセルを表示');
995
+ define('TXT_WPSC_MARKETING', 'マーケティング');
996
+ define('TXT_WPSC_DISPLAYCOUPONS', 'クーポン');
997
+ define('TXT_WPSC_ADD_COUPON', 'クーポンを追加');
998
+ define('TXT_WPSC_COUPON', 'クーポン');
999
+ define('TXT_WPSC_ADDCOUPONS', 'クーポンを追加');
1000
+ define('TXT_WPSC_COUPON_CODE', 'クーポンコード');
1001
+ define('TXT_WPSC_DISCOUNT', 'ディスカウント');
1002
+ define('TXT_WPSC_START', '開始');
1003
+ define('TXT_WPSC_EXPIRY', '終了');
1004
+ define('TXT_WPSC_USE_ONCE', 'Use Once');
1005
+ define('TXT_WPSC_ACTIVE', '有効');
1006
+ define('TXT_WPSC_COUPONHASBEENADDED', 'クーポンが追加されました');
1007
+ define('TXT_WPSC_COUPON_DOESNT_EXIST', 'このクーポンは期限切れまたは存在しません');
1008
+ define('TXT_WPSC_PRODUCT_TAGS', '商品タグ');
1009
+
1010
+ define('TXT_WPSC_DROPSHOPDISPLAY', 'ドロップシップ表示');
1011
+ define('TXT_WPSC_HIDEADDTOCARTBUTTON', '"カートに追加"ボタンを隠す');
1012
+
1013
+
1014
+ define('TXT_WPSC_SHOW_DROPSHOP_ALL', 'すべてのページでDropshopを表示');
1015
+ define('TXT_WPSC_SHOW_DROPSHOP_PRODUCT', '商品ページでのみDropshopを表示');
1016
+ define('TXT_WPSC_PRICEAFTERDISCOUNT', '割引後の価格');
1017
+ define('TXT_WPSC_ECOM_NEWS', 'WP e-Commerceニュース');
1018
+ define('TXT_WPSC_SAVE_PRODUCT_ORDER', '注文を保存');
1019
+
1020
+ define('TXT_WPSC_ECOMMERCE_SUBSCRIBERS', 'e-Commerce利用者');
1021
+ define('TXT_WPSC_USERID', 'ユーザーID');
1022
+ define('TXT_WPSC_REGISTEREDDATE', '登録日');
1023
+ define('TXT_WPSC_SUSPEND', '保留');
1024
+ define('TXT_WPSC_ACTIVATE', '有効化');
1025
+
1026
+
1027
+ define('TXT_WPSC_DROPSHOP_LIGHT', 'Use light Dropshop style');
1028
+ define('TXT_WPSC_DROPSHOP_DARK', 'Use dark Dropshop style');
1029
+
1030
+
1031
+ define('TXT_WPSC_MANUAL_PAYMENT', 'マニュアル支払');
1032
+ define('TXT_WPSC_CREDIT_CARD_AND_MANUAL_PAYMENT', 'マニュアル支払とクレジットカード');
1033
+ define('TXT_WPSC_PAYMENT_INSTRUCTIONS', 'マニュアル支払に関して表示したい指定事項を入力してください');
1034
+
1035
+ define('TXT_WPSC_SHOWALL', "すべてを表示");
1036
+ define('TXT_WPSC_PRICE_RANGE', "価格レンジ");
1037
+ define('TXT_WPSC_GOOGLE_RISK_AVS', "クレジットカードの住所が違います");
1038
+ define('TXT_WPSC_GOOGLE_RISK_CVN', "クレジットカードの有効性確認に失敗しました");
1039
+ define('TXT_WPSC_GOOGLE_RISK_BOTH', "クレジットカードの有効性および住所確認に失敗しました");
1040
+ define('TXT_WPSC_GOOGLE_RISK', 'Google Risk');
1041
+ define('TXT_WPSC_CANCEL_ORDER', '注文をキャンセル');
1042
+ define('TXT_WPSC_FIRST_NAME', '名');
1043
+ define('TXT_WPSC_LAST_NAME', '姓');
1044
+ define('TXT_WPSC_DELIVERY_FIRST_NAME', '配送先-名');
1045
+ define('TXT_WPSC_DELIVERY_LAST_NAME', '配送先-姓');
1046
+ define('TXT_WPSC_DELIVERY_STATE', '配送先-都道府県');
1047
+ define('TXT_WPSC_SHIPWIREEMAIL', 'ShipWireメール');
1048
+ define('TXT_WPSC_SHIPWIREPASSWORD', 'ShipWireパスワード');
1049
+ define('TXT_WPSC_SHIPWIRESETTINGS', 'ShipWire設定');
1050
+ define('TXT_WPSC_NO_DOWNLOADABLES', 'ダウンロード商品を購入していません.');
1051
+ define('TXT_DISPLAY_VARIATIONS', 'バリエーションを表示');
1052
+
1053
+ define('TXT_WPSC_NONAME', '名前がありません');
1054
+ define('TXT_WPSC_WEIGHT', '重さ');
1055
+ define('TXT_WPSC_LOG_TRANSACTIONACCEPTEDLOGS', '処理済みオーダーのみ表示');
1056
+ define('TXT_WPSC_SEARCHEMAIL', 'メールアドレスで検索');
1057
+ define('TXT_WPSC_UPDATE_BUTTON', '更新');
1058
+
1059
+ define("TXT_WPSC_PAGENUMBER_POSITION_TOP", "トップ");
1060
+ define("TXT_WPSC_PAGENUMBER_POSITION_BOTTOM", "ボトム");
1061
+ define("TXT_WPSC_PAGENUMBER_POSITION_BOTH", "両方");
1062
+
1063
+ define('TXT_WPSC_COMMENTSETTINGS', 'コメント設定');
1064
+ define('TXT_WPSC_ENABLE_COMMENTS', 'IntenseDebateを利用したコメントを有効化');
1065
+ define('TXT_WPSC_COMMENTS_WHICH_PRODUCTS', '既定のコメント対象');
1066
+
1067
+ define("TXT_WPSC_COMA_SEPARATED", "コンマで区切ってください");
1068
+ define("TXT_WPSC_BUTTON_SETTINGS", "ボタン設定");
1069
+ define("TXT_WPSC_PRODUCT_DISPLAY_SETTINGS", "商品表示の設定");
1070
+ define("TXT_WPSC_EDIT_GROUP", "グループ編集");
1071
+ define("TXT_WPSC_CURRENT_GROUP", "選択されているグループ");
1072
+ define("TXT_WPSC_ADD_GROUP", "グループを追加");
1073
+
1074
+ /*
1075
+ Added by N. Sato / Tokyo dated July, 29th, 2009
1076
+ */
1077
+ define("TXT_WPSC_UPGRADES_PAGE", "アップグレードページ");
1078
+ define("TXT_WPSC_ADDNEWCATEGORY_TITLE","カテゴリータイトルを追加");
1079
+ define("TXT_WPSC_ADDING_A_NEW_CATEGORY","カテゴリーのタイトルを追加します...");
1080
+ define("TXT_WPSC_CATEGORY_LIST","カテゴリーのリスト");
1081
+ define("TXT_WPSC_ALL_PRODUCTS_AND_CATEGORY_LIST","全カテゴリー/商品のリスト");
1082
+ define("TXT_WPSC_API_RESET","API Keyをリセット");
1083
+ define("TXT_WPSC_API_RESET_DESCRIPTION","API Keyをリセットします");
1084
+ define("TXT_WPSC_API_HAS_BEEN_RESET","API Keyがリセットされました");
1085
+ define("TXT_WPSC_TRACKINGEMAILSUBJECT","トラッキングメールの件名");
1086
+ define("TXT_WPSC_TRACKINGEMAIL","トラッキングメール");
1087
+ define("TXT_WPSC_NOITEMSINTHISGROUP","このグループには商品がありません");
1088
+
1089
+ ?>
languages/KO_ko.php ADDED
@@ -0,0 +1,513 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ This is a language file for the WP Shopping Cart plugin version 2.6. 5 beta
4
+ */
5
+
6
+ define('TXT_WPSC_IMAGESIZEINFO', /*'Note: if this is blank, the image will not be resized'*/ '주:만약 여기가 공난이라면 이미지는 표시되지 않습니다');
7
+ define('TXT_WPSC_RECEIVED', /*'Received'*/'수신');
8
+ define('TXT_WPSC_PROCESSING', /*'Processing'*/'처리중');
9
+ define('TXT_WPSC_PROCESSED', /*'Processed'*/'처리완료');
10
+ define('TXT_WPSC_ECOMMERCE', /*'e-Commerce'*/'e-Commerce');
11
+ define('TXT_WPSC_OPTIONS', /*'Options'*/'옵션');
12
+ define('TXT_WPSC_ADDPRODUCTS', /*'Add Products'*/'상품을 추가하는');
13
+ define('TXT_WPSC_SENDSMS', /*'Send SMS'*/'SMS를 보내는');
14
+ define('TXT_WPSC_PRODUCTS', /*'Products'*/'상품');
15
+ define('TXT_WPSC_ADDCATEGORY', /*'Add Category'*/'분류 추가');
16
+ define('TXT_WPSC_CATEGORIES', /*'Categories'*/'카테고리');
17
+ define('TXT_WPSC_BRANDS', /*'Shapes'*/'속성');
18
+ define('TXT_WPSC_VARIATIONS', /*'Variations'*/'종류');
19
+ define('TXT_WPSC_PURCHASELOG', /*'Purchase Log'*/'구매 이력');
20
+ define('TXT_WPSC_TODAYS_ORDERS', /*'Todays Orders'*/'오늘의 주문');
21
+ define('TXT_WPSC_OLDER_ORDERS', /*'Older Orders'*/'어제까지의 주문');
22
+ define('TXT_WPSC_TOTAL_THIS_MONTH', /*'Total Money Earnt this Month'*/'이번달의 수입');
23
+ define('TXT_WPSC_MONTHLY_REPORT', /*'Six Monthly Report'*/'6개월 실적');
24
+ define('TXT_WPSC_TOTAL_INCOME', /*'Total Income'*/'수입 총계');
25
+ define('TXT_WPSC_ACCEPTED_PAYMENTS', /*'(accepted payments only)'*/'(결제)');
26
+ define('TXT_WPSC_PAYMENTGATEWAYOPTIONS', /*'Payment Gateway Options'*/'결제방법의 선택');
27
+ define('TXT_WPSC_HELPINSTALLATION', /*'Help/Installation'*/'도움말/설정');
28
+ define('TXT_WPSC_EXAMPLECATEGORY', /*'Example category'*/'(예) 카테고리');
29
+ define('TXT_WPSC_EXAMPLEDETAILS', /*'Example details'*/'(예) 상세');
30
+ define('TXT_WPSC_EXAMPLEBRAND', /*'Example Shape'*/'(예) 속성');
31
+ define('TXT_WPSC_PRODUCTIMAGEWIDTH', /*'product image width'*/'상품 이미지-가로폭');
32
+ define('TXT_WPSC_PRODUCTIMAGEHEIGHT', /*'product image height'*/'상품 이미지-세로폭');
33
+ define('TXT_WPSC_CATEGORYIMAGEWIDTH', /*'category image width'*/'카테고리이미지-가로폭');
34
+ define('TXT_WPSC_CATEGORYIMAGEHEIGHT', /*'category image height'*/'카테고리 이미지-세로폭');
35
+ define('TXT_WPSC_PRODUCTLISTURL', /*'the location of the product list'*/'상품목록 페이지');
36
+ define('TXT_WPSC_SHOPPINGCARTURL', /*'the location of the shopping cart'*/'쇼핑카트 위치');
37
+ define('TXT_WPSC_CHECKOUTURL', /*'the location of the shopping cart'*/'결제완료 페이지');
38
+ define('TXT_WPSC_TRANSACTURL', /*'the location of the transaction detail page'*/'거래 상세 페이지');
39
+ define('TXT_WPSC_PAYMENTGATEWAY', /*'the payment gateway to use'*/'PG');
40
+ define('TXT_WPSC_CARTLOCATION', /*'cart location'*/'카트 페이지');
41
+ define('TXT_WPSC_SHOWCATEGORYBRANDS', /*'display categories or shapes or both'*/'카테고리,속성 표시 또는 양쪽 모두 표시');
42
+ define('TXT_WPSC_CURRENCYTYPE', /*'the currency type'*/'사용하는 통화');
43
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', /*'the currency sign location'*/'통화기호 위치');
44
+ define('TXT_WPSC_GSTRATE', /*'the GST rate'*/'세율');
45
+ define('TXT_WPSC_MAXDOWNLOADS', /*'the download limit'*/'최대 다운로드');
46
+ define('TXT_WPSC_DISPLAYPNP', /*'display or hide postage and packaging'*/'배송과 포장의 요금을 표시/비표시');
47
+ define('TXT_WPSC_DISPLAYSPECIALS', /*'display or hide specials on the sidebar'*/'사이드바의 표시/비표시');
48
+ define('TXT_WPSC_POSTAGEAND_PACKAGING', /*'default postage and packaging'*/'배송과 포장의 요금');
49
+ define('TXT_WPSC_PURCHLOGEMAIL', /*'email address that purchase log is sent to'*/'구입 로그가 보내지는 e-mail 주소');
50
+ define('TXT_WPSC_RETURNEMAIL', /*'email address that purchase reports are sent from'*/'매입 정보가 보내지는 e-mail 주소');
51
+ define('TXT_WPSC_TERMSANDCONDITIONS', /*'the checkout terms and conditions'*/'지불 조건');
52
+ define('TXT_WPSC_DEFAULTBRAND', /*'Default Shape'*/'디폴트의 속성');
53
+ define('TXT_WPSC_DEFAULTCATEGORY', /*'Default Category'*/'디폴트의 카테고리');
54
+ define('TXT_WPSC_PAYPALBUSINESS', /*'paypal business'*/'PAYPAL');
55
+ define('TXT_WPSC_PAYPALURL', /*'paypal url'*/'PAYPAL의 페이지');
56
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', /*'Show Product Ratings'*/'상품 평값을 보는');
57
+ define('TXT_WPSC_PRODUCTSPAGE', /*'Products Page'*/'상품 페이지');
58
+ define('TXT_WPSC_CHECKOUT', /*'Checkout'*/'결제');
59
+ define('TXT_WPSC_ENTERDETAILS', /*'Enter Your Details'*/'당신의 디티르');
60
+ define('TXT_WPSC_TRANSACTIONRESULTS', /*'Transaction Results'*/'처리 결과');
61
+ define('TXT_WPSC_SELECTACATEGORY', /*'Select a Category'*/'분류 선거택');
62
+ define('TXT_WPSC_SELECTABRAND', /*'Select a Shape'*/'브랜드 선택');
63
+ define('TXT_WPSC_PRODUCTNAME', /*'Product Name'*/'상품명');
64
+ define('TXT_WPSC_PRODUCTDESCRIPTION', /*'Product Description'*/'상품 설명');
65
+ define('TXT_WPSC_ADDITIONALDESCRIPTION', /*'Additional Description'*/'추가설명');
66
+ define('TXT_WPSC_PRICE', /*'Price'*/'가격');
67
+ define('TXT_WPSC_TAXALREADYINCLUDED', /*'Tax already included'*/'세금 포함');
68
+ define('TXT_WPSC_SPECIAL', /*'Special'*/'특기');
69
+ define('TXT_WPSC_POSTAGEPACKAGING', /*'Postage &amp; Packaging'*/'배송료와 포장');
70
+ define('TXT_WPSC_PRODUCTSTOCK', /*'Product Stock'*/'재고');
71
+ define('TXT_WPSC_UNTICKBOX', /*'Note: Untick box to clear value'*/'주:Untick상자의 값을 소거');
72
+ define('TXT_WPSC_CATEGORY', /*'Category'*/'카테고리');
73
+ define('TXT_WPSC_BRAND', /*'Shape'*/'속성');
74
+ define('TXT_WPSC_PRODUCT_VARS', /*'Product Variations'*/'상품 종류');
75
+ define('TXT_WPSC_ADD_VAR', /*'Add Variation Set'*/'종류의 추가');
76
+ define('TXT_WPSC_ADD_VAR', /*'Add Variation Set'*/'종류의 추가');
77
+ define('TXT_WPSC_EDIT_VAR', /*'Edit Variation Set'*/'종류를 편집');
78
+ define('TXT_WPSC_SELECTAVARIATION', /*'Select a Variation'*/'종류를 선택하는');
79
+ define('TXT_WPSC_NEW_VARIATION', /*'Create a new Variation'*/'새로운 종류를 만드는');
80
+ define('TXT_WPSC_PRODUCTATT', /*'Product Attachments'*/'부속품');
81
+ define('TXT_WPSC_DOWNLOADABLEPRODUCT', /*'Downloadable Product'*/'다운로드할 수 있는 상품');
82
+ define('TXT_WPSC_FILETOBEPRODUCT',/* 'Note: if this is filled in, the file uploaded will be the product to be purchased. '*/'주:업 로드된 파일은 구입이 가능하게 됩니다');
83
+ define('TXT_WPSC_RESIZEIMAGE', /*'Resize Image'*/'이미지 사이즈의 변경');
84
+ define('TXT_WPSC_DONOTRESIZEIMAGE', /*'do not resize image. '*/'이미지 사이즈를 변경할 수 없습니다');
85
+ define('TXT_WPSC_USEDEFAULTHEIGHTANDWIDTH', /*'use default height and width'*/'디폴트의 사이즈를 사용하는');
86
+ define('TXT_WPSC_USE', /*'use'*/'사용하는');
87
+ define('TXT_WPSC_PXHEIGHTBY', /*'px height by'*/'세로폭:픽셀');
88
+ define('TXT_WPSC_PXWIDTH', /*'px width. '*/'가로폭:픽셀');
89
+ define('TXT_WPSC_PREVIEW', /*'Preview'*/'프리뷰');
90
+ define('TXT_WPSC_UPLOADNEWIMAGE', /*'Upload New Image'*/'새로운 이미지의 업로드');
91
+ define('TXT_WPSC_DELETEIMAGE', /*'Delete Image'*/'이미지의 삭제');
92
+ define('TXT_WPSC_EDIT', /*'Edit'*/'선택');
93
+ define('TXT_WPSC_DELETE', /*'Delete'*/'삭제');
94
+ define('TXT_WPSC_REMOVE', /*'Remove'*/'소거');
95
+ define('TXT_WPSC_NAME', /*'Name'*/'이름');
96
+ define('TXT_WPSC_DESCRIPTION', /*'Description'*/'설명');
97
+ define('TXT_WPSC_CATEGORY_PARENT', /*'Category Parent'*/'상위 카테고리');
98
+ define('TXT_WPSC_IMAGE', /*'Image'*/'이미지');
99
+ define('TXT_WPSC_HEIGHT', /*'Height'*/'세로폭');
100
+ define('TXT_WPSC_WIDTH', /*'Width'*/'가로폭');
101
+ define('TXT_WPSC_PLEASEENTERAVALIDNAME', /*'Please enter a valid name'*/'이름전을 입력해 주세요');
102
+ define('TXT_WPSC_PLEASEENTERAVALIDSURNAME', /*'Please enter a valid surname'*/'성씨를 입력해 주세요');
103
+ define('TXT_WPSC_PLEASEENTERAVALIDEMAILADDRESS', /*'Please enter a valid email address'*/'e-mail 주소를 입력해 주세요');
104
+ define('TXT_WPSC_PLEASEENTERAVALIDADDRESS', /*'Please enter a valid address'*/'주소를 입력해 주세요');
105
+ define('TXT_WPSC_PLEASEENTERAVALIDPHONENUMBER', /*'Please enter a valid phone number'*/'전화번호를 입력해 주세요');
106
+ define('TXT_WPSC_TERMSANDCONDITIONS', /*'You have not agreed to the terms and conditions'*/'조건에의 동의가 되고 있지 않습니다');
107
+ define('TXT_WPSC_NOTHINGINYOURSHOPPINGCART', /*'There is nothing in your shopping cart'*/'쇼핑이나 가 하늘입니다');
108
+ define('TXT_WPSC_SPECIALS', /*'Specials'*/'특기');
109
+ define('TXT_WPSC_BUY', /*'Buy'*/'사는');
110
+ define('TXT_WPSC_SHOPPINGCART', /*'Shopping Cart'*/'쇼핑이나 ');
111
+ define('TXT_WPSC_NUMBEROFITEMS', /*'항목수'*/'');
112
+ define('TXT_WPSC_NOMOREAVAILABLE', /*'There are no more of that item available.'*/'더 이상의 항목은 없습니다. ');
113
+ define('TXT_WPSC_EMPTYYOURCART', /*'Empty your cart'*/'쇼핑이나 를 하늘');
114
+ define('TXT_WPSC_GOTOCHECKOUT', /*'Go to Checkout'*/'결제에');
115
+ define('TXT_WPSC_CONTINUESHOPPING', /*'Continue shopping'*/'쇼핑을 계속하고');
116
+ define('TXT_WPSC_YOURSHOPPINGCARTISEMPTY', /*'Your shopping cart is empty'*/'쇼핑이나 는 하늘입니다');
117
+ define('TXT_WPSC_VISITTHESHOP', /*'Visit the shop'*/'가게에 가는');
118
+ define('TXT_WPSC_PAGES', /*'Pages'*/'페이지');
119
+ define('TXT_WPSC_OUTOF', /*'Out of'*/'밖에');
120
+ define('TXT_WPSC_VOTES', /*'votes. '*/'투표');
121
+ define('TXT_WPSC_CLICKSTARSTORATE', /*'Click stars to rate'*/'별을 클릭 해 평가해 주세요');
122
+ define('TXT_WPSC_AVERAGERATINGOF', /*'Average rating of'*/'평가의 평균');
123
+ define('TXT_WPSC_YOURVOTE', /*'Your vote'*/'당신의 투표');
124
+ define('TXT_WPSC_AVERAGEVOTE', /*'Average vote'*/'투표의 평균');
125
+ define('TXT_WPSC_YOUHAVEVOTED', /*'You have voted'*/'당신은 투표했습니다');
126
+ define('TXT_WPSC_NOVOTES', /*'No Votes'*/'투표가 없습니다');
127
+ define('TXT_WPSC_1VOTE', /*'1 Vote'*/'1표');
128
+ define('TXT_WPSC_VOTES2', /*'Votes'*/'표');
129
+ define('TXT_WPSC_PERSONGIVEN', /*'person has given this image'*/'이 이미지를 받았던');
130
+ define('TXT_WPSC_PERSONGIVEN2', /*'stars. '*/'별. ');
131
+ define('TXT_WPSC_PEOPLEGIVEN', /*'people have given this image'*/'이 획상을 받았던');
132
+ define('TXT_WPSC_PEOPLEGIVEN2', /*'stars. '*/'별. ');
133
+ define('TXT_WPSC_ITEMHASBEENADDED', /*'The item has been added'*/'항목이추가되었던');
134
+ define('TXT_WPSC_ITEMHASNOTBEENADDED', /*'The item has not been added'*/'항눈은 추가되지 않았습니다');
135
+ define('TXT_WPSC_ADDNEWCATEGORY', /*'Add New Category'*/'새로운 분류 추가');
136
+ define('TXT_WPSC_SUBMIT', /*'Submit'*/'송신');
137
+ define('TXT_WPSC_SELECTAVALIDCATEGORY', /*'Please select a valid Category'*/'카테고리를 선택해 주세요');
138
+ define('TXT_WPSC_PRODUCTNAME', /*'Product Name'*/'상품명');
139
+ define('TXT_WPSC_PRODUCTDESCRIPTION', /*'Product Description'*/'상품 설명');
140
+ define('TXT_WPSC_ADDNEWPRODUCT', /*'Add Product'*/'상품 추가');
141
+ define('TXT_WPSC_PRODUCTQUANTITY', /*'Productquantity'*/'상품량');
142
+ define('TXT_WPSC_PRODUCTIMAGE', /*'Product Image'*/'상품 이미지');
143
+ define('TXT_WPSC_PRODUCTPRICE', /*'Product Price'*/'상품 가격');
144
+ define('TXT_WPSC_NOTAX', /*'No tax'*/'비과세');
145
+ define('TXT_WPSC_ABOUT', /*'About'*/'개요');
146
+ define('TXT_WPSC_ABOUTCONTENT', /*'Welcome to the e-commerce panel. <br/><br /><strong>Note:</strong> on some setups, the shopping cart may empty on every page load, if this happens, you will have to add this line:<br/><br />session_start();<br /><br />to the index.php file in the base wordpress directory. <br />'*/'e-commerce의 패널에 어서 오십시오. <br /><br /><strong>주:</strong> 몇개의 셋업에 관해서, 페이지를 열었을 때에 쇼핑이나하지만 비울지도 모릅니다, 그 경우에는 이 행을 추가해 주세요:<br /><br/>session_start();<br /><br />to the index.php file in the base wordpress directory. <br />');
147
+ define('TXT_WPSC_CONTACTDETAILS', /*'Please enter your contact details:'*/'련락처의 상세를 입력해 주세요');
148
+ define('TXT_WPSC_CREDITCARDHANDY', /*'Note, Once you press submit, you willneed to have your Credit card handy. '*/'주:송신시에는 크레디트 카드를준비해 주세요. ');
149
+ define('TXT_WPSC_ASTERISK', /*'Fields marked with an asterisk must be filled in. '*/'*가 붙어있는 항목은 반드시 기입해 주세요. ');
150
+ define('TXT_WPSC_FIRSTNAME', /*'First Name'*/'성씨');
151
+ define('TXT_WPSC_LASTNAME', /*'Last Name'*/'이름');
152
+ define('TXT_WPSC_EMAIL', /*'Email'*/'e-mail 주소');
153
+ define('TXT_WPSC_ADDRESS', /*'Address'*/'주소');
154
+ define('TXT_WPSC_PHONE', /*'Phone'*/'전화번호');
155
+ define('TXT_WPSC_TERMS1', /*'I agree to The '*/'동의 합니다');
156
+ define('TXT_WPSC_TERMS2', /*'Terms and Conditions'*/'조건');
157
+ define('TXT_WPSC_MAKEPURCHASE', /*'Make Purchase'*/'쇼핑을 해 주세요');
158
+ define('TXT_WPSC_BUYPRODUCTS', /*'Please buy some products before using
159
+ this page'*/'이 페이지를 사용하기 전에 상품을 구입해 주세요');
160
+ define('TXT_WPSC_BRANDHASBEENEDITED', /*'The shape has been edited. '*/'형태상태의 편집이 되었습니다. ');
161
+ define('TXT_WPSC_SURETODELETEPRODUCT', /*'Are you sure you want to delete
162
+ this product? '*/'이 상품을 삭제해도 좋습니까? ');
163
+ define('TXT_WPSC_ADDBRAND', /*'Add Shape'*/'브랜드 추가');
164
+ define('TXT_WPSC_DISPLAYBRANDS', /*'Display Shapes'*/'브랜드 표시');
165
+ define('TXT_WPSC_EDITBRAND', /*'Edit Shape'*/'브랜드 편집');
166
+ define('TXT_WPSC_ADD', /*'Add'*/'추가');
167
+ define('TXT_WPSC_CATEGORYHASBEENEDITED', /*'The category has been edited. '*/'이 카테고리는 편집되었습니다. ');
168
+ define('TXT_WPSC_DISPLAYCATEGORIES', /*'Display Categories'*/'분류 표시');
169
+ define('TXT_WPSC_ADDCATEGORY', /*'Add Category'*/'분류 추가');
170
+ define('TXT_WPSC_EDITCATEGORY', /*'Edit Category'*/'분류 편집');
171
+ define('TXT_WPSC_ALLCATEGORIES', /*'All Categories'*/'모든 카테고리');
172
+
173
+ define('TXT_WPSC_DISPLAYVARIATIONS', /*'Display Variations'*/'종류의 표시
174
+ ');
175
+ define('TXT_WPSC_ADDVARIATION', /*'Add Variation Set'*/'종류의 추가');
176
+ define('TXT_WPSC_EDITVARIATION', /*'Edit Variation Set'*/'종류의 편집');
177
+ define('TXT_WPSC_VARIATIONHASBEENEDITED', /*'The variation has been edited. '*
178
+ /'이 종류는 편집되었습니다. ');
179
+ define('TXT_WPSC_VARIATION_VALUES', /*'Variation Values'*/'종류의 값');
180
+ define('TXT_WPSC_REMOVE_SET', /*'Remove Set'*/'삭제');
181
+
182
+ define('TXT_WPSC_SELECT_PARENT', /*'Select Parent'*/'상위 선택');
183
+ define('TXT_WPSC_PRODUCTHASBEENEDITED', /*'The product has been edited. '*/'와의 상품은 편집되었습니다. ');
184
+ define('TXT_WPSC_ADDPRODUCT', /*'Add Product'*/'상품 추가');
185
+ define('TXT_WPSC_DISPLAYPRODUCTS', /*'Display Products'*/'상품 표시');
186
+ define('TXT_WPSC_PLEASESELECTACATEGORY', /*'Please Select a Category'*/'카테고리를 선택해 주세요');
187
+ define('TXT_WPSC_STOCK', /*'Stock'*/'재고');
188
+ define('TXT_WPSC_PNP', /*'PnP'*/'PnP');
189
+ define('TXT_WPSC_EDITITEM', /*'Edit Item'*/'항목의 편집');
190
+ define('TXT_WPSC_PRODUCTDETAILS', /*'Product Details'*/'상품 설명');
191
+ define('TXT_WPSC_SELECT_PRODUCT', /*'Select an Existing Product'*/'기존 상품 선택');
192
+ define('TXT_WPSC_ENTERPRODUCTDETAILSHERE', /*'(enter in your product details
193
+ here)'*/'(여기에 당신의 상품 설명을 입력해 주세요)');
194
+ define('TXT_WPSC_ADDITIONALPRODUCTDESCRIPTION', /*'Additional Product Description'
195
+ */'상품 설명의 추가');
196
+ define('TXT_WPSC_ADDITEM', /*'Add Item'*/'항목의 추가');
197
+ define('TXT_WPSC_CHOOSEACATEGORY', /*'Choose a Category'*/'분류 선거택');
198
+ define('TXT_WPSC_CHOOSEABRAND', /*'Choose a Shape'*/'브랜드 선택');
199
+ define('TXT_WPSC_USETHEACTUALIMAGE', /*'use the actual image. No resize. '*/'열매이미지을 사용해 주세요. 사이즈의 변경은 할 수 없습니다. ');
200
+ define('TXT_WPSC_DISPLAYPURCHASES', /*'Display Purchases'*/'쇼핑의 표시');
201
+ define('TXT_WPSC_ID', /*'ID'*/'ID');
202
+ define('TXT_WPSC_TRANSACTIONSTATUS', /*'Transaction Status'*/'거래 상태');
203
+ define('TXT_WPSC_DATE', /*'Date'*/'일자');
204
+ define('TXT_WPSC_VIEWDETAILS', /*'View Details'*/'외형의 상세');
205
+ define('TXT_WPSC_STATUS', /*'Status'*/'상태');
206
+ define('TXT_WPSC_SUCCESSFUL', /*'Successful'*/'성공');
207
+ define('TXT_WPSC_FAILED', /*'Failed'*/'실패');
208
+ define('TXT_WPSC_GST', /*'GST'*/'GST');
209
+ define('TXT_WPSC_PP', /*'P&amp;P'*/'P&amp;P');
210
+ define('TXT_WPSC_TOTAL', /*'Total'*/'총액');
211
+ define('TXT_WPSC_FINALTOTAL', /*'Final Total'*/'최종 총액');
212
+ define('TXT_WPSC_CUSTOMERDETAILS', /*'Customer Details'*/'고객의 상세');
213
+ define('TXT_WPSC_USERSCARTWASEMPTY', /*'This users cart was empty'*/'카드가 비어있습니다');
214
+ define('TXT_WPSC_GOBACK', /*'Go Back'*/'돌아오는');
215
+ define('TXT_WPSC_THANKSAPPLIED', /*'Thanks, your changes have been applied. '*
216
+ /'감사합니다. 당신의 거래는 적용되었습니다. ');
217
+ define('TXT_WPSC_OPTIONS', /*'Shop Options'*/'가게의 옵션');
218
+ define('TXT_WPSC_PAYMENTGATEWAY2', /*'Payment Gateway'*/'지불 창구');
219
+ define('TXT_WPSC_PLEASESELECTAPAYMENTGATEWAY', /*'Please Select A Payment
220
+ Gateway'*/'지불 창구를 선택해 주세요');
221
+ define('TXT_WPSC_PAYMENTGATEWAYNOTE', /*'<strong>Note:</strong> This lite
222
+ version of the e-Commerce plugin only allows you to interface with PayPal. <br
223
+ /><br />If you are looking for a more profesional "non paypal solution"
224
+ then we have a gold version of e-Commerce available that interfaces seamlessly
225
+ with DPS (www.dps.co.nz), and paystation (www.paystation.co.nz). <br /><br
226
+ />Contact info@instinct.co.nz for more information or check out www.instinct.
227
+ co.nz/plugins/ <br /><br />Ciao! '*/'<strong>주:</strong> 이 lite version의
228
+ e-Commerce plugin는 PayPal에 연결할 뿐입니다. <br /><br />만약 PayPal는 아닌을
229
+ 찾아라면 DPS (www.dps.co.nz)나 paystation (www.paystation.co.nz)를 사용해
230
+ 주세요. <br /><br />컨택트 info@instinct.co.nz 혹은 www.instinct.co.
231
+ nz/plugins/ <br /><br />Ciao! ');
232
+ define('TXT_WPSC_URLSETTINGS', /*'URL Settings'*/'URL의 설정');
233
+ define('TXT_WPSC_PRODUCTLISTURL', /*'Product List URL'*/'상품 리스트의 URL');
234
+ define('TXT_WPSC_SHOPPINGCARTURL', /*'Shopping Cart URL'*/'쇼핑이나 의 URL');
235
+ define('TXT_WPSC_CHECKOUTURL', /*'Checkout URL'*/'결제의 URL');
236
+ define('TXT_WPSC_TRANSACTIONDETAILSURL', /*'Transaction Details URL'*/'취인 상세한 URL');
237
+ define('TXT_WPSC_PRESENTATIONSETTINGS', /*'Presentation Settings'*/'소개설정');
238
+ define('TXT_WPSC_CARTLOCATION', /*'Cart Location'*/'쇼핑이나 의 장소');
239
+ define('TXT_WPSC_SIDEBAR', /*'Sidebar'*/'사이드바');
240
+ define('TXT_WPSC_PAGE', /*'Page'*/'페이지');
241
+ define('TXT_WPSC_WIDGET', /*'Widget'*/'대표 상품');
242
+ define('TXT_WPSC_NEEDTOENABLEWIDGET', /*'You need to enable the widgets
243
+ plugin to use this'*/'이것을 사용하기 위해서(때문에)는 플러그 인이 필요합니다');
244
+ define('TXT_WPSC_MANUAL', /*'Manual'*/'설명서');
245
+ define('TXT_WPSC_SHOWCATEGORIESBRANDS', /*'Show Categories/Shapes'*/'양식고리/속성을 보는');
246
+ define('TXT_WPSC_BOTH', /*'Both'*/'양쪽 모두');
247
+ define('TXT_WPSC_PRODUCTTHUMBNAILSIZE', /*'Default Product Thumbnail Size'*/'디폴트의 간결한 상품 사이즈');
248
+ define('TXT_WPSC_CATEGORYTHUMBNAILSIZE', /*'Default Category Thumbnail Size'*
249
+ /'디폴트의 간결의 카테고리 사이즈');
250
+ define('TXT_WPSC_SHOWPOSTAGEANDPACKAGING', /*'Show Postage and Packaging'*/'송료와 포장비의 표시');
251
+ define('TXT_WPSC_YES', /*'Yes'*/'네');
252
+ define('TXT_WPSC_NO', /*'No'*/'아니오');
253
+ define('TXT_WPSC_SHOWSPECIALS', /*'Show Specials'*/'특기');
254
+ define('TXT_WPSC_SHOWPRODUCTRATINGS', /*'Show Product Ratings'*/'상품 각 청구서를 표시');
255
+ define('TXT_WPSC_CURRENCYSETTINGS', /*'Currency Settings'*/'통화의 설정');
256
+ define('TXT_WPSC_GSTTAXRATE', /*'GST/Tax Rate'*/'GST/과세율');
257
+ define('TXT_WPSC_CURRENCYTYPE', /*'Currency Type'*/'통화의 종류');
258
+ define('TXT_WPSC_CURRENCYSIGNLOCATION', /*'Currency Sign Location'*/'통화 기호의 위치');
259
+ define('TXT_WPSC_DEFAULTPOSTAGEPACKAGING', /*'Default Postage &amp; Packaging'*/'기본 배송료와 포장비');
260
+ define('TXT_WPSC_ADMINISTRATIONSETTINGS', /*'Administration Settings'*/'관리설정');
261
+ define('TXT_WPSC_MAXDOWNLOADSPERFILE', /*'Max downloads per file'*/'다운로드파일 최대 크기');
262
+ define('TXT_WPSC_PURCHASELOGEMAIL', /*'Purchase Log Email'*/'쇼핑 로그의 메일');
263
+ define('TXT_WPSC_ORDER_LOG', 'Orders'); /* needs translation */
264
+ define('TXT_WPSC_ORDER', 'Order'); /* needs translation */
265
+ define('TXT_WPSC_REPLYEMAIL', /*'Reply Email'*/'회답 메일');
266
+ define('TXT_WPSC_BRANDNOCAP', /*'shape'*/'속성');
267
+ define('TXT_WPSC_CATEGORYNOCAP', /*'category'*/'카테고리');
268
+ define('TXT_WPSC_UDPATING', /*'Updating'*/'갱신');
269
+ define('TXT_WPSC_MOREDETAILS', /*'More Details'*/'한층 더 상세');
270
+ define('TXT_WPSC_ADDTOCART', /*'Add To Cart'*/'찜하기');
271
+ define('TXT_WPSC_AVGCUSTREVIEW', /*'Avg. Customer Rating'*/'고객의 평가평균');
272
+ define('TXT_WPSC_YOURRATING', /*'Your Rating'*/'상품 평가');
273
+ define('TXT_WPSC_RATING_SAVED', /*'Saved'*/'등록');
274
+ define('TXT_WPSC_RATETHISITEM', /*'Rate This item'*/'이 항목의 평가');
275
+ define('TXT_WPSC_PRODUCTSOLDOUT', /*'This product has sold out. '*/'품절 ');
276
+ define('TXT_WPSC_NOITEMSINTHIS', /*'There are no items in this'*/'항목이 없습니다');
277
+ define('TXT_WPSC_CATEGORYORBRAND', /*'Category or Shape'*/'카테고리/속성');
278
+ define('TXT_WPSC_PLEASECHOOSEA', /*'Please choose a'*/'선택해 주세요');
279
+ define('TXT_WPSC_PRODUCT', /*'Product'*/'상품');
280
+ define('TXT_WPSC_QUANTITY', /*'Quantity'*/'수량');
281
+ define('TXT_WPSC_APPLY', /*'Apply'*/'적용');
282
+ define('TXT_WPSC_MAKEPAYMENT', /*'Make Payment'*/'지불');
283
+ define('TXT_WPSC_EMPTYSHOPPINGCART', /*'Empty shopping cart'*/'빈 쇼핑카트');
284
+ define('TXT_WPSC_TOTALPRICE', /*'Total Price'*/'총액');
285
+ define('TXT_WPSC_NOITEMSINTHESHOPPINGCART', /*'There are no items in the
286
+ shopping cart'*/'쇼핑카트가 비어 있습니다');
287
+ define('TXT_WPSC_EMAILMSG1', /*"Thank you, the order has been accepted,
288
+ any items to be shipped will be processed as soon as possible, any items
289
+ that can be downloaded can be downloaded using the links on this page. \n\r\n\rAll
290
+ prices include tax and postage and packaging where applicable. \n\r\n\rYou
291
+ ordered these items:\n\r\n\r"*/"감사합니다. 주문을 접수했습니다
292
+ . 빠른 배송을 약속드립니다. \n\r\n\r 모든 가격에 세금, 배송료 및 포장비를 포함하고 있습니다 :\n\r\n\r");
293
+ define('TXT_WPSC_EMAILMSG2', /*". \n\rThese items were ordered:\n\r\n\r"*/". \n\r 주문 상품 이력 :\n\r\n\r");
294
+ define('TXT_WPSC_CLICKTODOWNLOAD', /*'Click here to download'*/'여기를 클릭해 다운로드해 주세요');
295
+ define('TXT_WPSC_DOWNLOAD', /*'Download'*/'다운로드');
296
+ define('TXT_WPSC_YOURTRANSACTIONID', /*'Your Transaction ID'*/'승인ID');
297
+ define('TXT_WPSC_TRANSACTIONID', /*'Transaction ID'*/'거래 ID');
298
+ define('TXT_WPSC_PURCHASERECEIPT', /*'Purchase Receipt'*/'쇼핑 영수증');
299
+ define('TXT_WPSC_PURCHASEREPORT', /*'Purchase Report'*/'쇼핑 리포트');
300
+ define('TXT_WPSC_THETRANSACTIONWASSUCCESSFUL', /*'The Transaction was successful'*/'거래 완료');
301
+ define('TXT_WPSC_THETRANSACTIONWASNOTSUCCESSFUL', /*'The Transaction was not successful'*/'거래 실패');
302
+ define('TXT_WPSC_GOBACKTOCHECKOUT', /*'Go back to the checkout'*/'결제로 가기');
303
+ define('TXT_WPSC_SPECIALPRICE', /*'Special Price'*/'특별 가격');
304
+
305
+ define('TXT_WPSC_INSTRUCTIONS', /*'
306
+ To complete the installation you need to create the Product, Shopping
307
+ Cart, Checkout and Transaction Result pages, and then hide the Shopping
308
+ Cart, Checkout and Transaction Result pages so that they do not appear in
309
+ the pages list.
310
+ <ul class=\'installation\'>
311
+ <li>Place contents of zip file in the wp-content/plugins directory. </li>
312
+ <li>Activate the plugin from the wordpress plugin page</li>
313
+ <li>Go to the "Payment Gateway Options" page in the "e-Commerce" tab,
314
+ and enter in the appropriate details. (the default paypal gateway accessed
315
+ is the paypal sandbox)</li>
316
+ <li>Create some Categories and Products using the Categories and Products
317
+ pages</li>
318
+ </ul>
319
+ Expecting more? That\'s it. </p>
320
+ <h2>Wishlist Tip Jar</h2>
321
+ <p>Donations are in no way mandatory. <br /><br />
322
+ Yet, we have been spending considerable amounts of time writing, supporting
323
+ and debugging WP e-commerce. Therefore, if you like what you see, and want
324
+ to see more of it, feel free to help finance future releases by dropping
325
+ a buck or two in the tip jar...</p>
326
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
327
+ <input type="hidden" name="cmd" value="_s-xclick">
328
+ <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif"
329
+ border="0" name="submit" alt="Make payments with PayPal - it\'s fast, free
330
+ and secure!">
331
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAh/
332
+ vca+S7Em1KNH3rhwBRD1h4c0DdQSgmknr8mKQU7KfG5jSYXu5DD9oriGfYSDg+99ZtljIwtqvefC0wKdEJ0yFMGinWp9zGw2Xvu1s4S+
333
+ pcH5IGax9KQo1WosnzA99F04MHQnqkxcfpTXCG8VLSf/r/rx8+++vVsYWNYN717+DELMAkGBSsOAwIaBQAwgcQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIHATWqFYRAjeAgaB2F/
334
+ F90mbYo/5zGY/1AYtsQ35nRDtelewxW7iLHF41rzB3NidYEs2h+t/HS0MoGTBsAfVc94mxIzInI1pQt9n/
335
+ hpF67XAr357KVwIoIOq52jDfDFlZV92BPMv00MHuj4LNtNq5I752I3SsNamhl1DfAqlWxnJsIibA1D3l8k67ccc04/
336
+ JYjvsd89hYgf0lob7vQoZ8X5xNtlidM3qcAx4goIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMB4XDTA0MDIxMzEwMTMxNVoXDTM1MDIxMzEwMTMxNVowgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBR07d/
337
+ ETMS1ycjtkpkvjXZe9k+6CieLuLsPumsJ7QC1odNz3sJiCbs2wC0nLE0uLGaEtXynIgRqIddYCHx88pb5HTXv4SZeuv0Rqq4+
338
+ axW9PLAAATU8w04qqjaSXgbGLP3NmohqM6bV9kZZwZLR/klDaQGo1u9uDb9lr4Yn+rBQIDAQABo4HuMIHrMB0GA1UdDgQWBBSWn3y7xm8XvVk/
339
+ UtcKG+wQ1mSUazCBuwYDVR0jBIGzMIGwgBSWn3y7xm8XvVk/UtcKG+wQ1mSUa6GBlKSBkTCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb22CAQAwDAYDVR0TBAUwAwEB/
340
+ zANBgkqhkiG9w0BAQUFAAOBgQCBXzpWmoBa5e9fo6ujionW1hUhPkOBakTr3YCDjbYfvJEiv/2P+IobhOGJr85+
341
+ XHhN0v4gUkEDI8r2/rNk1m0GA8HKddvTjyGw/XqXa+LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/
342
+ cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDYwMzA5MjA0ODA4WjAjBgkqhkiG9w0BCQQxFgQUCBfIACnHn+
343
+ V2COlj8DDv2MsFJRIwDQYJKoZIhvcNAQEBBQAEgYCMXnxnBNyUy7axfHh9EDVq7HFzTvTsGwtmAUVesOyRNGwESXpukrX4rDOMNdHbbVToxa98uIKJUJPiYGBcpcUywtpZG1ZiDvYxoWgDh4zXx4w1QcJ96OjUPkHQ3q0UWY+
344
+ p9GRxl+buhyjK62BxU5I0UaKc0H3QuATQB5+lbZdlgw==-----END PKCS7-----">
345
+ </form>
346
+ <h2>Customisation and Tips</h2>
347
+ <p><strong>GST & Tax</strong><br />If required you can enter in a default
348
+ GST/Tax rate on the Options page in the "e-Commerce" tab. </p>
349
+ <p><strong>Email purchase Logs</strong><br />If you add an email address
350
+ for the purchase log on the Purchase Log page this will be the email address
351
+ that is sent a purchase notification each time something is bought. </p>
352
+ <p><strong>Hiding pages</strong><br />
353
+ To prevent the Shopping Cart, Checkout and Transaction Results pages from
354
+ being displayed in the page list you must first find out their ID numbers.
355
+ <br />
356
+ <br />Then you have to edit the file in the theme you use that displays
357
+ pages. <br />
358
+ <br />This is normally found in sidebar.php, find the line similar to:<br
359
+ />
360
+ <br />"&lt;? php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;/h2&gt;\'
361
+ ); ? &gt;"<br />
362
+ <br />Edit the line accordingly, for example:<br />
363
+ <br />"&lt;? php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;h2&gt;&amp;exclude=3,
364
+ 4,5\'); ? &gt;"<br />
365
+ <br />The word exclude tells it to exclude the pages from the list, and
366
+ the numbers after the word exclude are the ID numbers of the pages to exclude.
367
+ </p>
368
+ <p><strong>Upgrading from Previous Version</strong><br />
369
+ If you are upgrading from a previous version, you will need to deactivate
370
+ and reactivate the plugin. </p>
371
+ <p><strong>Image Functions</strong><br />
372
+ If your server does not have the PHP image functions installed, you will
373
+ not be able to resize images once they are uploaded</p>
374
+ <p><strong>Permalinks</strong><br />
375
+ We\'re doing the best we can.
376
+ I have not been able to find a really good way to pass the required variables
377
+ from page to page using permalinks that dont use mod_rewrite, if you cant
378
+ use mod_rewrite, the plugin may not work with permalinks turned on. </p>
379
+ <p><strong>Javascript and Ajax </strong><br />
380
+ e-commerce lite uses Ajax, the shopping cart that the user sees will work
381
+ without Javascript, but the Administration pages (specifically the Products
382
+ and Categories pages) will not. To use the Administration section you will
383
+ need to use a reasonably modern browser and have Javascript turned on. (Internet
384
+ Explorer 6 or better, or Firefox 1.0 or better, older versions have not
385
+ been tested for and may or may not work)</p>
386
+ <p><strong>Contact Us</strong><br />
387
+ email us: tom@instinct.co.nz <br />
388
+ website: www.instinct.co.nz
389
+ '*/'
390
+ 상품,쇼핑이나 결제 및 거래 결과 페이지를 작성후 페이지를 숨기면 리스트에 나타나지 않습니다.
391
+ <ul class=\'installation\'>
392
+ <li>wp-content/plugins 디렉토리내의 zip파일 컨텐츠 위치. </li>
393
+ <li>wordpress 플러그 인 페이지로부터 플러그 인을 이동해 주세요</li>
394
+ <li>「e-Commerce」탭의 「Payment Gateway Options」페이지로가 주세요. (paypal게이트웨이 디폴트는 paypal sandbox입니다)</li>
395
+ <li>카테고리나 상품 신규 입력은 카테고리 또는 상품 페이지로 가
396
+ 주세요</li>
397
+ </ul>
398
+ Expecting more? That\'s it. </p>
399
+ <h2>Wishlist Tip Jar</h2>
400
+ <p>기부는 결코 의무가 아닙니다. <br /><br />
401
+ 그러나 우리는 상당한 양의 시간에 WP e-commerce를 지원하고
402
+ 디버그 하는데 소비하고 있습니다. Tip jar에 1달러나 2달러를 지원해 향후
403
+ 릴리스를 도와 주세요…</p>
404
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
405
+ <input type="hidden" name="cmd" value="_s-xclick">
406
+ <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif"
407
+ border="0" name="submit" alt="Make payments with PayPal - it\'s fast, free
408
+ and secure!">
409
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAh/
410
+ vca+S7Em1KNH3rhwBRD1h4c0DdQSgmknr8mKQU7KfG5jSYXu5DD9oriGfYSDg+99ZtljIwtqvefC0wKdEJ0yFMGinWp9zGw2Xvu1s4S+
411
+ pcH5IGax9KQo1WosnzA99F04MHQnqkxcfpTXCG8VLSf/r/rx8+++vVsYWNYN717+DELMAkGBSsOAwIaBQAwgcQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIHATWqFYRAjeAgaB2F/
412
+ F90mbYo/5zGY/1AYtsQ35nRDtelewxW7iLHF41rzB3NidYEs2h+t/HS0MoGTBsAfVc94mxIzInI1pQt9n/
413
+ hpF67XAr357KVwIoIOq52jDfDFlZV92BPMv00MHuj4LNtNq5I752I3SsNamhl1DfAqlWxnJsIibA1D3l8k67ccc04/
414
+ JYjvsd89hYgf0lob7vQoZ8X5xNtlidM3qcAx4goIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMB4XDTA0MDIxMzEwMTMxNVoXDTM1MDIxMzEwMTMxNVowgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBR07d/
415
+ ETMS1ycjtkpkvjXZe9k+6CieLuLsPumsJ7QC1odNz3sJiCbs2wC0nLE0uLGaEtXynIgRqIddYCHx88pb5HTXv4SZeuv0Rqq4+
416
+ axW9PLAAATU8w04qqjaSXgbGLP3NmohqM6bV9kZZwZLR/klDaQGo1u9uDb9lr4Yn+rBQIDAQABo4HuMIHrMB0GA1UdDgQWBBSWn3y7xm8XvVk/
417
+ UtcKG+wQ1mSUazCBuwYDVR0jBIGzMIGwgBSWn3y7xm8XvVk/UtcKG+wQ1mSUa6GBlKSBkTCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb22CAQAwDAYDVR0TBAUwAwEB/
418
+ zANBgkqhkiG9w0BAQUFAAOBgQCBXzpWmoBa5e9fo6ujionW1hUhPkOBakTr3YCDjbYfvJEiv/2P+IobhOGJr85+
419
+ XHhN0v4gUkEDI8r2/rNk1m0GA8HKddvTjyGw/XqXa+LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/
420
+ cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDYwMzA5MjA0ODA4WjAjBgkqhkiG9w0BCQQxFgQUCBfIACnHn+
421
+ V2COlj8DDv2MsFJRIwDQYJKoZIhvcNAQEBBQAEgYCMXnxnBNyUy7axfHh9EDVq7HFzTvTsGwtmAUVesOyRNGwESXpukrX4rDOMNdHbbVToxa98uIKJUJPiYGBcpcUywtpZG1ZiDvYxoWgDh4zXx4w1QcJ96OjUPkHQ3q0UWY+
422
+ p9GRxl+buhyjK62BxU5I0UaKc0H3QuATQB5+lbZdlgw==-----END PKCS7-----">
423
+ </form>
424
+ <h2>변경과 팁</h2>
425
+ <p><strong>GST & Tax</strong><br />필요하면 「e-Commerce」탭에서
426
+ 기본 설정된 GST/과세율 페이지에 들어갈 수가 있습니다. </p>
427
+ <p><strong>Email purchase Logs</strong><br />상품 구매시에 거래 상황이 기록되어 이메일로 보내 집니다.</p>
428
+ <p><strong>페이지 숨기기</strong><br />쇼핑이나 결제, 거래 결과 페이
429
+ 지가 페이지 리스트에 출력되지 않게 하려면 해당 페이지의 ID를 알고 있어야 합니다.<br />
430
+ <br />그리고 테마의 해당 페이지를 편집해야 합니다. <br />
431
+ <br />보통 sidebar.php를 편집하는 경우입니다:<br />
432
+ <br />"&lt;? php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;/h2&gt;\'
433
+ ); ? &gt;"<br />
434
+ <br />위와 같이 다양하게 편집할 수 있습니다. />"&lt;? php wp_list_pages(\'title_li=&lt;h2&gt;Pages&lt;h2&gt;&amp;exclude=3,
435
+ 4,5\'); ? &gt;"<br />
436
+ <br />exclude는 리스트에 넣지않을 페이지 ID와 함께 쓰면됩니다.
437
+ <p><strong>구버젼에서 업그레이드</strong><br />
438
+ 구버젼에서 업그레이드 하기 위해서는 플러그 인을 무효로 한 후 다시 유효화 시키시면 됩니다.</p>
439
+ <p><strong>Image function</strong><br />
440
+ 현재버가 PHP의 mage function를 인지원하지 않으면 업로드된이미지의 사이즈를 변경할 수가 없습니다. </p>
441
+ <p><strong>Permalinks</strong><br />
442
+ 우리는 다할 수가 있는 최선을 다하고 있습니다.
443
+ mod_rewrite를 이용하지 않고 permalinks를 이용한 페이지로부터 페이지로 필요한
444
+ 변수를 건네주기 위한 정말로 좋은 방법을 찾아낼 수가 없었습니다, 만약 mod_rewrite가
445
+ 사용할 수 없으면, permalinks를 유효하게 하지 않으면 플러그 인은 동작하지 않습니다.
446
+ </p>
447
+ <p><strong>Javascript and Ajax </strong><br />
448
+ e-commerce lite 는 Ajax를 이용하고 있습니다. 쇼핑화면은 JavaScript없이 동작
449
+ 하지만 관리 화면(특히 상품이나 분류 페이지)은 그렇지는 않습니다.
450
+ 관리 화면을 조작하기 위해서는 브라우저의 설정에 JavaScript를 유효하게 해 주세요.
451
+ (Internet Explorer 6이상, Firefox 1.0이상으로 동작합니다)</p>
452
+ <p><strong>Contact Us</strong><br />
453
+ email us: tom@instinct.co.nz <br />
454
+ website: www.instinct.co.nz
455
+ ');
456
+
457
+ define('TXT_WPSC_ORDER_STATUS', '주문 현황'); /* needs translation
458
+ */
459
+ define('TXT_WPSC_ORDER_SUMMARY', '주문 요약'); /* needs translation
460
+ */
461
+ define('TX