@@ -199,8 +206,10 @@ $productImage = $this->getPreviewImagesUrl('t-shirt.png');
$39.99
__('In Stock'); ?>
diff --git a/app/design/adminhtml/default/default/template/xmlconnect/mobile/notification_helper.phtml b/app/design/adminhtml/default/default/template/xmlconnect/mobile/notification_helper.phtml
index 7a56c68ae1..94aad48175 100644
--- a/app/design/adminhtml/default/default/template/xmlconnect/mobile/notification_helper.phtml
+++ b/app/design/adminhtml/default/default/template/xmlconnect/mobile/notification_helper.phtml
@@ -24,10 +24,6 @@
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
?>
-
-getId()):?>
-loadConfiguration(); ?>
-getAppKey()):?>
-
-
-
+
\ No newline at end of file
diff --git a/app/design/frontend/base/default/template/checkout/multishipping/addresses.phtml b/app/design/frontend/base/default/template/checkout/multishipping/addresses.phtml
index 83beb4ada6..6092f62eea 100644
--- a/app/design/frontend/base/default/template/checkout/multishipping/addresses.phtml
+++ b/app/design/frontend/base/default/template/checkout/multishipping/addresses.phtml
@@ -61,12 +61,14 @@
getItems() as $_index => $_item): ?>
+ getQuoteItem()) :?>
getItemHtml($_item->getQuoteItem())?> |
|
getProduct()->getIsVirtual()): echo $this->__('Shipping selection is not applicable.'); else: echo $this->getAddressesHtmlSelect($_item, $_index); endif; ?> |
__('Remove Item') ?> |
+
diff --git a/app/locale/en_US/Mage_Paypal.csv b/app/locale/en_US/Mage_Paypal.csv
index 75b7e2e92f..24089dfa35 100644
--- a/app/locale/en_US/Mage_Paypal.csv
+++ b/app/locale/en_US/Mage_Paypal.csv
@@ -153,7 +153,6 @@
"Help","Help"
"Hidden Virtual PayPal Debit Card Transaction","Hidden Virtual PayPal Debit Card Transaction"
"Hold for Dispute Investigation","Hold for Dispute Investigation"
-"Hosted Solution, which is available to merchants in the United Kingdom as part of Website Payments Pro, is a fast and easy way to add transaction processing to your website.","Hosted Solution, which is available to merchants in the United Kingdom as part of Website Payments Pro, is a fast and easy way to add transaction processing to your website."
"IPN ""%s"".","IPN ""%s""."
"If empty, a default value will be used. Custom URL may be provided by CardinalCommerce agreement.","If empty, a default value will be used. Custom URL may be provided by CardinalCommerce agreement."
"If not specified, Default Country from General Config will be used","If not specified, Default Country from General Config will be used"
@@ -270,6 +269,7 @@
"Payment has been declined. Please try again.","Payment has been declined. Please try again."
"Payments by PayPal (150 X 40)","Payments by PayPal (150 X 40)"
"Payments by PayPal (150 X 60)","Payments by PayPal (150 X 60)"
+"Payments by cards + seller protection -
Contact PayPal before activating","Payments by cards + seller protection -
Contact PayPal before activating"
"Paypal Billing Agreement Settings","Paypal Billing Agreement Settings"
"Pending PayPal","Pending PayPal"
"Place Order","Place Order"
@@ -387,8 +387,8 @@
"We prefer PayPal (150 X 60)","We prefer PayPal (150 X 60)"
"Website Payments Pro","Website Payments Pro"
"Website Payments Pro (Payflow Edition) Settings","Website Payments Pro (Payflow Edition) Settings"
+"Website Payments Pro Hosted Solution (Website Payments Plus (JP) - Integral Evolution (FR) - PayPal Pro (IT) - Pasarela integral (ES))","Website Payments Pro Hosted Solution (Website Payments Plus (JP) - Integral Evolution (FR) - PayPal Pro (IT) - Pasarela integral (ES))"
"Website Payments Pro Hosted Solution Settings","Website Payments Pro Hosted Solution Settings"
-"Website Payments Pro Hosted Solution for EU & APAC","Website Payments Pro Hosted Solution for EU & APAC"
"Website Payments Pro Payflow Edition (includes Express Checkout)","Website Payments Pro Payflow Edition (includes Express Checkout)"
"Website Payments Pro Settings","Website Payments Pro Settings"
"Website Payments Standard","Website Payments Standard"
diff --git a/downloader/Maged/Controller.php b/downloader/Maged/Controller.php
index 4aca250376..4197d54e2c 100755
--- a/downloader/Maged/Controller.php
+++ b/downloader/Maged/Controller.php
@@ -937,7 +937,7 @@ public static function getVersionInfo()
'revision' => '0',
'patch' => '0',
'stability' => 'rc',
- 'number' => '1',
+ 'number' => '2',
);
}
diff --git a/get.php b/get.php
index ab5e8e86d0..1a692bfde0 100644
--- a/get.php
+++ b/get.php
@@ -51,8 +51,8 @@
$appPath = implode($ps, $paths);
set_include_path($appPath . $ps . get_include_path());
-include_once "Mage/Core/functions.php";
-include_once "Varien/Autoload.php";
+include_once 'Mage/Core/functions.php';
+include_once 'Varien/Autoload.php';
Varien_Autoload::register();
@@ -74,7 +74,7 @@
$mageFilename = 'app/Mage.php';
if (!file_exists($mageFilename)) {
- echo $mageFilename." was not found";
+ echo $mageFilename . ' was not found';
}
require_once $mageFilename;
@@ -98,7 +98,7 @@
mkdir($directory, 0777, true);
}
- $fp = fopen($filePath, "w");
+ $fp = fopen($filePath, 'w');
if (flock($fp, LOCK_EX | LOCK_NB)) {
ftruncate($fp, 0);
fwrite($fp, $databaseFileSotrage->getContent());
diff --git a/js/mage/adminhtml/product/composite/configure.js b/js/mage/adminhtml/product/composite/configure.js
index 0308c5fbd9..80a4015cd1 100644
--- a/js/mage/adminhtml/product/composite/configure.js
+++ b/js/mage/adminhtml/product/composite/configure.js
@@ -506,23 +506,28 @@ ProductConfigure.prototype = {
* @param method can be 'all' or 'current'
*/
clean: function(method) {
+ var listInfo = null;
+ var listTypes = null;
+ var removeConfirmed = function (listTypes) {
+ this.blockConfirmed.childElements().each(function(elm) {
+ for (var i = 0, len = listTypes.length; i < len; i++) {
+ var pattern = this.blockConfirmed.id + '[' + listTypes[i] + ']';
+ if (elm.id.indexOf(pattern) == 0) {
+ elm.remove();
+ break;
+ }
+ }
+ }.bind(this));
+ }.bind(this);
+
switch (method) {
case 'current':
- var listInfo = this.listTypes[this.current.listType];
- var listTypes = [this.current.listType];
+ listInfo = this.listTypes[this.current.listType];
+ listTypes = [this.current.listType];
if (listInfo.complexTypes) {
listTypes = listTypes.concat(listInfo.complexTypes);
}
-
- this.blockConfirmed.childElements().each(function(elm) {
- for (var i = 0, len = listTypes.length; i < len; i++) {
- var pattern = this.blockConfirmed.id + '[' + listTypes[i] + ']';
- if (elm.id.indexOf(pattern) == 0) {
- elm.remove();
- break;
- }
- }
- }.bind(this));
+ removeConfirmed(listTypes);
break;
case 'window':
this.blockFormFields.update();
@@ -531,12 +536,23 @@ ProductConfigure.prototype = {
this.blockCancelBtn.show();
break;
default:
- this.current = $H({});
- this.blockConfirmed.update();
- this.blockFormFields.update();
- this.blockMsg.hide();
- this.blockMsgError.update();
- this.blockCancelBtn.show();
+ // search in list types for its cleaning
+ if (this.listTypes[method]) {
+ listInfo = this.listTypes[method];
+ listTypes = [method];
+ if (listInfo.complexTypes) {
+ listTypes = listTypes.concat(listInfo.complexTypes);
+ }
+ removeConfirmed(listTypes);
+ // clean all
+ } else if (!method) {
+ this.current = $H({});
+ this.blockConfirmed.update();
+ this.blockFormFields.update();
+ this.blockMsg.hide();
+ this.blockMsgError.update();
+ this.blockCancelBtn.show();
+ }
break;
}
this._getIFrameContent().body.innerHTML = '';
diff --git a/js/mage/adminhtml/sales.js b/js/mage/adminhtml/sales.js
index edf1b626a1..4f4b02b2fe 100644
--- a/js/mage/adminhtml/sales.js
+++ b/js/mage/adminhtml/sales.js
@@ -554,6 +554,8 @@ AdminOrder.prototype = {
}
}
this.productConfigureSubmit('product_to_add', area, fieldsPrepare, itemsFilter);
+ productConfigure.clean('quote_items');
+ this.hideArea('search');
this.gridProducts = $H({});
},
@@ -704,7 +706,6 @@ AdminOrder.prototype = {
*/
productConfigureSubmit : function(listType, area, fieldsPrepare, itemsFilter) {
// prepare loading areas and build url
- this.hideArea('search');
area = this.prepareArea(area);
this.loadingAreas = area;
var url = this.loadBaseUrl + 'block/' + area + '?isAjax=true';
@@ -849,8 +850,8 @@ AdminOrder.prototype = {
else {
new Ajax.Request(url, {parameters:params,loaderArea: indicator});
}
- if (typeof productConfigure != 'undefined') {
- productConfigure.clean();
+ if (typeof productConfigure != 'undefined' && area instanceof Array && area.indexOf('items' != -1)) {
+ productConfigure.clean('quote_items');
}
},
diff --git a/lib/Varien/File/Transfer/Adapter/Http.php b/lib/Varien/File/Transfer/Adapter/Http.php
index cec7052ff2..091127a386 100644
--- a/lib/Varien/File/Transfer/Adapter/Http.php
+++ b/lib/Varien/File/Transfer/Adapter/Http.php
@@ -121,7 +121,7 @@ public function send($options = null)
* Internal method to detect the mime type of a file
*
* @param array $value File infos
- * @return string Mimetype of given file
+ * @return string Mime type of given file
*/
protected function _detectMimeType($value)
{
@@ -133,17 +133,14 @@ protected function _detectMimeType($value)
return null;
}
- if (empty($result) && (function_exists('mime_content_type')
- && ini_get('mime_magic.magicfile'))) {
- $result = mime_content_type($file);
+ $parts = explode('.', $file);
+ $extention = strtolower(array_pop($parts));
+ if (isset($this->_mimeTypes[$extention])) {
+ $result = $this->_mimeTypes[$extention];
}
- if (empty($result)) {
- $parts = explode('.', $file);
- $extention = strtolower(array_pop($parts));
- if (isset($this->_mimeTypes[$extention])) {
- $result = $this->_mimeTypes[$extention];
- }
+ if (empty($result) && (function_exists('mime_content_type') && ini_get('mime_magic.magicfile'))) {
+ $result = mime_content_type($file);
}
if (empty($result)) {
diff --git a/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/sort_buttons/bg_button.png b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/sort_buttons/bg_button.png
new file mode 100644
index 0000000000..eced68ab25
Binary files /dev/null and b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/sort_buttons/bg_button.png differ
diff --git a/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/sort_buttons/button_up.gif b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/sort_buttons/button_up.gif
new file mode 100644
index 0000000000..9fb0c25548
Binary files /dev/null and b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/sort_buttons/button_up.gif differ
diff --git a/skin/adminhtml/default/default/xmlconnect/mobile-catalog.css b/skin/adminhtml/default/default/xmlconnect/mobile-catalog.css
index 44a1061e09..18602e891c 100644
--- a/skin/adminhtml/default/default/xmlconnect/mobile-catalog.css
+++ b/skin/adminhtml/default/default/xmlconnect/mobile-catalog.css
@@ -22,6 +22,14 @@
*/
body { margin: 0; padding: 0 }
+@font-face {
+ font-family: 'stars';
+ src: url('fonts/stars-webfont.eot');
+ src: local('O'), url('fonts/stars-webfont.woff') format('woff'), url('fonts/stars-webfont.ttf') format('truetype'), url('fonts/stars-webfont.svg#webfontyMStiDRV') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+
.main-frame
{
background:url(../images/xmlconnect/mobile_preview/mm-frame.gif) 0 0 no-repeat;
@@ -253,13 +261,72 @@ body { margin: 0; padding: 0 }
.sort-buttons
{
text-align:center;
- font:bold 11px/11px arial;
+ font:bold 11px/11px Helvetica, "Helvetica Neue", Verdana, sans-serif;
padding:0 5px 0 0;
width:234px;
height:26px;
margin-top:8px
}
+.buttons-holder
+{
+ float:left;
+ margin:5px 0 0 5px;
+ -moz-border-radius:5px;
+ -webkit-border-radius:5px;
+ border-radius:5px;
+ -moz-box-shadow:0 1px 1px #bbb;
+ -webkit-box-shadow:0 1px 1px #bbb;
+ box-shadow:0 1px 1px #bbb;
+}
+
+.sort-block .button
+{
+ background:url(../images/xmlconnect/mobile_preview/sort_buttons/bg_button.png) no-repeat 0 0 #8c8c8c;
+ border:1px solid #606060;
+ display:inline;
+ float:left;
+ color:#fefefe;
+ font:bold 14px/16px Helvetica, "Helvetica Neue", Verdana, sans-serif;
+ padding:6px 9px 5px;
+ text-shadow:0 -1px 1px #222;
+ -moz-box-shadow:inset 0 1px 1px #777;
+ -webkit-box-shadow:inset 0 1px 1px #777;
+ box-shadow:inset 0 1px 1px #777;
+}
+
+.sort-block .button-pos
+{
+ padding-right:2px;
+ text-shadow:0 -1px 1px #666;
+ -moz-border-radius:5px 0 0 5px;
+ -webkit-border-radius:5px 0 0 5px;
+ border-radius:5px 0 0 5px;
+}
+
+.sort-block .button-name,
+.sort-block .button-price
+{
+ padding:6px 19px 5px;
+}
+
+.sort-block .button-name
+{
+ border-width:1px 0;
+}
+
+.sort-block .button-price
+{
+ -moz-border-radius:0 5px 5px 0;
+ -webkit-border-radius:0 5px 5px 0;
+ border-radius:0 5px 5px 0;
+}
+
+.sort-block .button img
+{
+ vertical-align:middle;
+}
+
.active
{
color: #e9e9e9;
@@ -376,18 +443,25 @@ body { margin: 0; padding: 0 }
padding:5px 0;
}
-.item-rate img
+.item-rate {
+ padding:4px 0 0;
+}
+
+.item-rate .stars
{
- margin:0 !important; padding:0 !important;
+ font-family:stars;
+ vertical-align:middle;
}
-.item-rate span
+.item-rate .star
{
- position: relative;
- top: -2px;
- left: 0px;
- font: bold 12px arial;
- color: #333;
+ vertical-align:top;
+}
+
+.item-rate strong
+{
+ font-size:10px;
+ vertical-align:text-top;
}
.item-rate