diff --git a/.htaccess b/.htaccess old mode 100755 new mode 100644 index dadffa268d..9acb08b3f9 --- a/.htaccess +++ b/.htaccess @@ -171,6 +171,14 @@ Order allow,deny Allow from all +########################################### +## Deny access to release notes to prevent disclosure of the installed Magento version + + + order allow,deny + deny from all + + ############################################ ## If running in cluster environment, uncomment this ## http://developer.yahoo.com/performance/rules.html#etags diff --git a/.htaccess.sample b/.htaccess.sample old mode 100755 new mode 100644 diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt index 57657e4fb1..cb329b6658 100644 --- a/RELEASE_NOTES.txt +++ b/RELEASE_NOTES.txt @@ -1,3 +1,713 @@ +==== 1.5.1.0 ==== + +=== Improvements === +Alternative image storage feature enabled with fixed get.php file. +Magento Mobile updated to release v20 +Implemented SOAP Faults for GiftMessage API +- added faults in functions +- added description in api.xml +Implemented The names of WPPHS depend on a merchant`s country in the backend. Create a functionality for dynamic changing. +- Added functionality for dynamic changing the names of WPPHS +- Added backend config into system.xml +Implemented WS-I for API +- added wsi.xml for all WebAPI modules +- added new wsi-soap handler +- added new wsi-soap adapter +- changed admin configuration, added parameter into "Magento Core API"->WSI Compliance +- changed api.xml +Implemented GiftMessage for Cart + +=== Changes === +Replaced usage of Varien_File_Uploader with Mage_Core_Model_File_Uploader + +=== Fixes === +Fixed PayPal Standard: order has two invoice and two refund +Fixed Adjustment Fee, Adjustment Refund and Refund Shipping fields must be disabled on credit memo for Payflow Pro and PayFlowLink payment methods +- Actualized API params mapping +- Added parameter Amount into refund request +Fixed Broken mysql4-data-upgrade-1.4.0.0.13-1.4.0.0.14.php file +Fixed XMLConnect - edited parameter cannot be saved +Fixed Media storage - problem with image in the CMS pages +- Added functional to get files with disabled db media storage feature through the get.php script +Fixed Unable to place order using PayPal Billing agreement through Checkout with multiple addresses +- Added additional multi shipping checkout exceptions logging. +Fixed No AmericanExpress support in Website Payments Pro Payflow Edition +- Added to Direct payment +Fixed Incorrect Subtotal(Incl. Tax) in Shopping Cart, when catalog prices entered by admin include tax +Fixed Function "Apply Tax On - Original price only" does not correct calculate product tax +Fixed No ability to save Product Attribute with type Media Image +Fixed Mage_CatalogSearch_Model_Query::getMaxQueryLenght() is not properly deprecated. +Fixed Two links in forgotpassword.phtml template lead to not existent files +Fixed Added compiled js and css to whitelist. Added removing of relative URL parts to get.php. +Fixed several probable vulnerabilities on front and backend +Fixed Incorrect error message when extension state is lower than preferred state +Fixed No rule applied when coupon code is no longer valid +- verify if rule uses coupon at all before coupon check +Fixed Argument passed to Mage_Catalog_Helper_Image::init() must be an instance of Mage_Catalog_Model_Product, instance of Mage_Wishlist_Model_Item given +Fixed Varien_Db_Adapter_Mysqli::raw_query() should throw an Exception after 10 tries +Fixed Import file downloaded from FTP in BINARY mode +- added option(ASCII || BINARY) for mode of file transferring; +- default mode of file transferring is BINARY; +- was changed property "type" of input field for password. +Fixed User interface: real mistake in the label name, Api instead API +Fixed issue with URL Rewrite Rule for new products with no category information +Fixed Invoice do not created when using "Automatically Invoice All Items" option of Zero Subtotal Checkout +Fixed Additional dot when checking out as Guest +Fixed Prefix and suffix aren't visible in Add New Address Form +Fixed Calculation order for Catalog Price Rule and Configurable Product option price +Fixed When put values in Customer Name and Address Options they do not reflect on the backend customer and customer address forms +Fixed Custom URL Rewrite creation broken +- skip filtering for store select if no product or category specified in case of custom rewrite +Fixed Shopping Cart Price Rule->Conditions->Shipping Country is not correctly controlled on multiple checkout. +- Added checking: if address object is a new object rules validation cache will not working because we can not save validation results for address without id +Fixed Resources names are not translated on Role Resources page at backend +Fixed Multiselect and Dropdown Attribute values set to "0" are not exported correctly +Fixed WYSIWYG Editor - Unable to Create a Folder when Inserting a File +Fixed Wrong cache key for websites +- {{base_url}} not replaced with url on the saving in the cache. {{base_url}} replaced with base url on the getting. +Fixed After second refund made from paypal user get wrong refund amounts +Fixed Multiselect and Dropdown Attribute values set to "0" are not exported correctly +- modified condition for option emptiness check to pass string and int zero values +Fixed Infinite loop is started, when backend user selects non-existing time period for a chart on Dashboard +Fixed Missing isset() in Mage_Sales_Model_Recurring_Profile::createOrder() +- Added the filtering "value" key on the setting in the conditions: Order Number, Purchased Quantity, Sales Amount +Fixed Discount is not applied to product in case when in conditions of Catalog Price Rule "contains" is chosen +Fixed Unable to open "View all wishlist items" link from email +Fixed Specifying incorrect timezone in configuration causes halt of backend work flow and inability to add products to a Cart on frontend +- Added timezone validation +Fixed Checkout with Configurable Product includes disabled simple +- removing parent from shopping cart if child becomes disabled or out of stock +Fixed Validate Each Address Separately in Multi-address Checkout do not working +Fixed Google Checkout - catalog price discount for Configurable product is calculated incorrectly +Fixed FPT with prices included tax problem +Fixed Incorrect Excl. Tax in product page, when catalog prices entered by admin include tax +- Fixed JS excluding tax price recalculation +Fixed Unable to configure Grouped product from the backend +Fixed Order, that related with Recurring Profile does not displayed +Fixed Discount is not applied to product in case when in conditions of Catalog Price Rule "contains" is chosen +Fixed After second refund made from paypal user get wrong refund amounts +Fixed WPPHS payment method has tags in the name +Fixed Symlinks do not work for back-end blocks +Fixed The names of WPPHS depend on a merchant`s country in the backend. Create a functionality for dynamic changing. +Fixed Disabled success redirect functionality in paypal express checkout +Fixed Added whitelist support to get.php script +Fixed Mage_Customer_Model_Address class name is hardcoded in certain models +Fixed Typo in Mage_ImportExport_Model_Import_Adapter_Abstract::_construct() +Fixed 'FOUND' and 'NOT FOUND' labels are not translated in Mage_SalesRule_Model_Rule_Condition_Product_Found::loadValueOptions() +Fixed 'Select' label is not translated in Mage_Adminhtml_Block_Sales_Order_Create_Search_Grid::_prepareColumns() +Fixed Invalid HTML from form multiline element renderer +Fixed Collection calling private _setOrder() method in CatalogEvent module +Fixed Tags on search results for Global Record Search (Adminhtml) are not translatable +Fixed JavaScript bug in IE8 with date advice set during js validation. +Fixed Missing translation for ZF error messages +- provided translation of ZF native validation error messages +Fixed Shopping Cart Price Rule->Conditions->Shipping Country is not correctly controlled on multiple checkout. +Fixed Moneybookers Multistore System Configuration +Fixed Moneybookers OBT Defaults +Fixed Product info API request +- a behavior of the function, was optimized; +- refactoring classes with calling function from helper without changing the inside logic; +- duplicated code were moved to catalog/product helper with creating the new one function for that. +Fixed typos in adminhtml widget form block +- Changed reserved word 'const' to lower case in tax config model +Fixed Google Base Synchronize +- Fixed fatal error on very first Publish and then Synchronizing if in GB products already were +- Fixed potential fatal when on mass Publish action we will not retrieve any item id: expected array, but null or empty string given +Fixed Rounding issues in shipping methods and in sales payment +Fixed Usage of non-mb-supported strlen() in custom option validation +- fixed length calculation routine to work with multi-byte characters +- changed order of evaluation, so that length is calculated only if length constraint is set for custom option +Fixed Unused class Mage_Reports_Model_Mysql4_Shopcart_Product_Collection did not marked like deprecated +- mark class as deprecated after 1.5.0.1 +Fixed Products prepare function +- Change prepare products function +- Update resource with phpDoc +- Update wsdl +Improved SOAP Faults in Shopping Cart +- all faults for ShoppingCart are unique for each issue and have wide description +Fixed Shopping Cart create order should return order increment id +- updated wsdl, wsi +- changed return type for Mage_Checkout_Model_Cart_Api::createOrder +Fixed Grouped product has no configured price in Wishlist +Fixed Unable to continue checkout when "Street Address" use non english characters +Fixed Misprint in comment in Mage_Checkout_Model_Cart::init() +Fixed Controllers used protected properties +- removed protected property _hasDataChanges equals true in controllers +- added property _hasDataChanges equals true in method "addComment" for all objects +Fixed Page "404 Not Found" is showed by clicked Edit link in the Invoice page of placed order +Fixed Google Base Synchronize +Fixed Error on Authorize.net Direct Post payment method in Backend +Fixed API default/SOAP functionality switched +- removed unused variable loading +- changed loading default api handler in IndexController +- added loading default "soap" api handler in SoapController +Fixed Missed unique index on eav table +Fixed Order status visible_on_front flag in configuration file can't be overridden +Fixed Unexpected error message appears when quantity to refund more than quantity invoiced +Fixed PayPal payment methods are not shown on the checkout Payment Information step if Brazilian Real is set as base currency +- Added new supported currency codes into config +Fixed Trim value after explode +Fixed Unable to save customer date attribute with date more then 2010 +Fixed No customer's information +Fixed PayPal Business Email address update +Fixed Hovering mouse cursor on "Configure" button for a composite product shows incorrect hint +Fixed Error in fulltext search indexation for values that contain 'à' character +- modified regular expression to correct process of unicode characters +Fixed Zooming don't work for an image larger or taller than the container +Fixed Variable is used before its definition in Mage_CatalogRule_Helper_Data::calcPriceRule() +Fixed Typo in app\design\frontend\base\default\template\checkout\success.phtml +Fixed Fatal error during newsletters sending via cron +- Also added missed PHP-docs to Mage_Newsletter_Model_Problem class. +Fixed Quantity of bundle item is not stored correctly, in case when it is decimal +Fixed Unable to change configurable product name for store view +- the bug was in two HTML input tags with same names located on "General" and "Associated Products" tabs. One of them was been renamed to solve the problem. +Fixed Microsoft Excel 2007 fails to open Magento generated XML file +Fixed Admin page - incorrect displaying of pop-up message for gift options in Items Ordered block +Fixed One extra unnecessary product appears in Items Ordered list of placed Order, when payment is provided using Authorize.net Direct Post +Fixed If 3D Secure Card Validation is enabled then Gift Options section has wrong position during backend order creation +Fixed Reindex of Category Products for large catalogs is extremely slow +Fixed Product minimum quantity, add to cart +Fixed Created in Backend customer doubled after creation order for him and not save any addres information +Fixed Changes to helper text for the images for the application submission page +Fixed Redirect patch +Fixed product list images for iPad device to use base image +Fixed Sending invoice email don`t change the status +Fixed remove paypal country id hard coded +Fixed Mobile Controller issue +Fixed App locations (countries) do not match iTunes App Stores countries available +Fixed Disabled cookie message issue +Fixed Information about Gift Options is not stored, when admin user performs Edit Order action in backend +Fixed Web form with empty fields can be saved - also is_object() calls are replaced with instanceof checking inside of Adminhtml/MobileController +Fixed Bundle product with required option must have "Configure" button inactive if one of the option is out of stock. +Fixed Unable to retrieve product attributes, "Unsupported operand types" +Fixed Add to Wishlist is not work +Fixed A bug inside catalog/model/product/Api.php::create prevents this function from working +- Added $store parameter. +Fixed CSS Merger Cache Ignores Hostname and HTTPS +- on frontend when "Use Secure URLs in Frontend" is set to "yes", https is used only for some selected pages. This fix takes into account what's the protocol in use +Fixed Improvement to block caching +Fixed Typo in Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Type_Configurable_Attribute::savePrices() +Fixed Shipping creation for bundle product shows wrong q-ty +Fixed Check for controller instance in rating option resource model +Fixed Export Filters are not working correctly during export of customers +Fixed Function "Apply Tax On - Original price only" does not correct calculate product tax +Fixed Mage_Index.csv is not used at all +Fixed Incorrect tax count, when making new order through back-end and using discount coupon (price cart rule) +Fixed Error "Source file moving failed" on Import process, when PHP version is 5.2 +Fixed "Store credit amount can not exceed order amount" error in Credit Memo applying to Store Credit for decimal quantities and decimal subtotals +Fixed Disabled cookie message issue +Fixed Edit Order without creating new one functionality doesn't save changes in non-default customer address attributes +Fixed Unable to buy Downloadable product with specified option "Links can be purchased separately" set to "No" +Fixed Incorrect message of soap fault +Fixed Information about Gift Options is not stored, when admin user performs Edit Order action in backend +Fixed Unable to open "View all wishlist items" link from email +- Added action to add shared wishlist item to shopping cart +Fixed iFrame must be centered for Website Payments Pro Hosted Solution payment method. +Fixed Free shipping does not transfer to Google Checkout when it is enabled in a shipping method +- Added support of UPS carrier methods with UPS XML type of rates calculation +Fixed Incorrect tax summary for partial credit memos/invoices +Fixed PayPal Standart: order has two invoice and two refund +Fixed A product hasn't been added to whishlist from category with closed, upcoming events +Fixed Customer password is not imported from CSV file +Fixed CDN - necessary to replace information message +Fixed When put values in Customer Name and Address Options they do not reflect on the backend customer and customer address forms +Fixed Reports-> Products-> Products ordered - Trace appeared +Fixed Mage_Core_Helper_Url::getCurrentUrl() method ignores server PORT +Fixed No ability to change payment from Store Credits, when customer backs to a Cart from Order Review step, and then goes to checkout again (OnePageCheckout) +Fixed Customer attribute labels not translated in validation error messages +- added translation for attribute labels at classes Mage_Customer_Model_Attribute_Data_* +Fixed Typos in: Varien_Db_Adapter_Pdo_Mysql, Varien_File_Uploader +Fixed Mage_Core_Model_Design_Package::_prepareUrl() uses incorrect regular expression to check whether the url is relative +- modified preg_match for detecting absolute urls +Fixed Mage_Catalog_Block_Product_Gallery::getImageWidth() returns false for images with width smaller than 600px +- modified method Mage_Catalog_Block_Product_Gallery::getImageWidth(), if width <= 600 return width value, not false +Fixed Incorrect view of the shipping tax at the back end, unnecessary $0.01 +Fixed Wrong visualisation of "Original Price" in placed order +- collecting totals for quote at multishipping checkout +Fixed Incorrect view of popup windows for composite product on backend (only IE) +Added Adding Composite Products in Admin Order Creation +- Fixed styles in ie7 +Fixed "Items Ordered" tab is not refreshing while Admin order creation +Fixed Free shipping does not transfer to Google Checkout when it is enabled in a shipping method +- Re factored and optimized code +- Improved performance +- Added dependency for GoogleCheckout module from Usa module +- Added fedex and usps free methods supporting + + + +==== 1.5.x-devel-104676 ==== + +=== Improvements === +Magento Mobile updated to release v20 + +=== Fixes === +Fixed PayPal Standard: order has two invoice and two refund +Fixed Adjustmen Fee, Adjustment Refund and Refund Shipping fields must be disabled on credit memo for Payflow Pro and PayFlowLink payment methods +- Actualized API params mapping +- Added parameter Amount into refund request +Fixed Broken mysql4-data-upgrade-1.4.0.0.13-1.4.0.0.14.php file +Fixed XMLConnect - edited parameter cannot be saved +Fixed Media storage - problem with image in the CMS pages +- Added functional to get files with disabled db media storage feature through the get.php script +Fixed Unable to place order using PayPal Billing agreement through Checkout with multiple addresses +- Added additional multi shipping checkout exceptions logging. +Fixed No AmericanExpress support in Website Payments Pro Payflow Edition +- Added to Direct payment +Fixed Incorrect Subtotal(Incl. Tax) in Shopping Cart, when catalog prices entered by admin include tax +Fixed Function "Apply Tax On - Original price only" does not correct calculate product tax +Fixed No ability to save Product Attribute with type Media Image + + +==== 1.5.1.0-rc1 ==== + +=== Improvements === +Magento Mobile updated to release v19 + +=== Changes === +Replaced usage of Varien_File_Uploader with Mage_Core_Model_File_Uploader + +=== Fixes === +Fixed Mage_CatalogSearch_Model_Query::getMaxQueryLenght() is not properly deprecated. +Fixed Two links in forgotpassword.phtml template lead to not existent files +Fixed Added compiled js and css to whitelist. Added removing of relative URL parts to get.php. +Fixed several probable vulnerabilities on front and backend +Fixed Incorrect error message when extension state is lower than preferred state +Fixed No rule applied when coupon code is no longer valid +- verify if rule uses coupon at all before coupon check +Fixed Argument passed to Mage_Catalog_Helper_Image::init() must be an instance of Mage_Catalog_Model_Product, instance of Mage_Wishlist_Model_Item given +Fixed Varien_Db_Adapter_Mysqli::raw_query() should throw an Exception after 10 tries +Fixed Import file downloaded from FTP in BINARY mode +- added option(ASCII || BINARY) for mode of file transferring; +- default mode of file transferring is BINARY; +- was changed property "type" of input field for password. +Fixed User interface: real mistake in the label name, Api instead API +Fixed issue with URL Rewrite Rule for new products with no category information +Fixed Invoice do not created when using "Automatically Invoice All Items" option of Zero Subtotal Checkout +Fixed Additional dot when checking out as Guest +Fixed Prefix and suffix aren't visible in Add New Address Form +Fixed Calculation order for Catalog Price Rule and Configurable Product option price +Fixed When put values in Customer Name and Address Options they do not reflect on the backend customer and customer address forms +Fixed Custom URL Rewrite creation broken +- skip filtering for store select if no product or category specified in case of custom rewrite +Fixed Shopping Cart Price Rule->Conditions->Shipping Country is not correctly controlled on multiple checkout. +- Added checking: if address object is a new object rules validation cache will not working because we can not save validation results for address without id +Fixed Resources names are not translated on Role Resources page at backend +Fixed Multiselect and Dropdown Attribute values set to "0" are not exported correctly +Fixed WYSIWYG Editor - Unable to Create a Folder when Inserting a File +Fixed Wrong cache key for websites +- {{base_url}} not replaced with url on the saving in the cache. {{base_url}} replaced with base url on the getting. +Fixed After second refund made from paypal user get wrong refund amounts +Fixed Multiselect and Dropdown Attribute values set to "0" are not exported correctly +- modified condition for option emptiness check to pass string and int zero values +Fixed Infinite loop is started, when backend user selects non-existing time period for a chart on Dashboard +Fixed Missing isset() in Mage_Sales_Model_Recurring_Profile::createOrder() +- Added the filtering "value" key on the setting in the conditions: Order Number, Purchased Quantity, Sales Amount +Fixed Discount is not applied to product in case when in conditions of Catalog Price Rule "contains" is chosen +Fixed Unable to open "View all wishlist items" link from email +Fixed Specifying incorrect timezone in configuration causes halt of backend work flow and inability to add products to a Cart on frontend +- Added timezone validation +Fixed Checkout with Configurable Product includes disabled simple +- removing parent from shopping cart if child becomes disabled or out of stock +Fixed Validate Each Address Separately in Multi-address Checkout do not working +Fixed Google Checkout - catalog price discount for Configurable product is calculated incorrectly +Fixed FPT with prices included tax problem +Fixed Incorrect Excl. Tax in product page, when catalog prices entered by admin include tax +- Fixed JS excluding tax price recalculation +Fixed Unable to configure Grouped product from the backend +Fixed Order, that related with Recurring Profile does not displayed +Fixed Discount is not applied to product in case when in conditions of Catalog Price Rule "contains" is chosen +Fixed After second refund made from paypal user get wrong refund amounts +Fixed WPPHS payment method has tags in the name + +==== 1.5.x-devel-102426 ==== + +=== Improvements === +Magento Mobile updated to release v19 + +=== Changes === +Replaced usage of Varien_File_Uploader with Mage_Core_Model_File_Uploader + +=== Fixes === +Fixed Mage_CatalogSearch_Model_Query::getMaxQueryLenght() is not properly deprecated. +Fixed Two links in forgotpassword.phtml template lead to not existent files +Fixed Added compiled js and css to whitelist. Added removing of relative URL parts to get.php. +Fixed several probable vulnerabilities on front and backend +Fixed Incorrect error message when extension state is lower than preferred state +Fixed No rule applied when coupon code is no longer valid +- verify if rule uses coupon at all before coupon check +Fixed Argument passed to Mage_Catalog_Helper_Image::init() must be an instance of Mage_Catalog_Model_Product, instance of Mage_Wishlist_Model_Item given +Fixed Varien_Db_Adapter_Mysqli::raw_query() should throw an Exception after 10 tries +Fixed Import file downloaded from FTP in BINARY mode +- added option(ASCII || BINARY) for mode of file transferring; +- default mode of file transferring is BINARY; +- was changed property "type" of input field for password. +Fixed User interface: real mistake in the label name, Api instead API +Fixed issue with URL Rewrite Rule for new products with no category information +Fixed Invoice do not created when using "Automatically Invoice All Items" option of Zero Subtotal Checkout +Fixed Additional dot when checking out as Guest +Fixed Prefix and suffix aren't visible in Add New Address Form + + + +==== 1.5.1.0-beta1 ==== + +=== Improvements === +Implemented SOAP Faults for GiftMessage API +- added faults in functions +- added description in api.xml +Implemented The names of WPPHS depend on a merchant`s country in the backend. Create a functionality for dynamic changing. +- Added functionality for dynamic changing the names of WPPHS +- Added backend config into system.xml +Implemented WS-I for API +- added wsi.xml for all WebAPI modules +- added new wsi-soap handler +- added new wsi-soap adapter +- changed admin configuration, added parameter into "Magento Core API"->WSI Compliance +- changed api.xml +Implemented GiftMessage for Cart + +=== Changes === +Updated Magento Mobile package to ver. 18 + +=== Fixes === +Fixed Symlinks do not work for back-end blocks +Fixed The names of WPPHS depend on a merchant`s country in the backend. Create a functionality for dynamic changing. +Fixed Disabled success redirect functionality in paypal express checkout +Fixed Added whitelist support to get.php script +Fixed Mage_Customer_Model_Address class name is hardcoded in certain models +Fixed Typo in Mage_ImportExport_Model_Import_Adapter_Abstract::_construct() +Fixed 'FOUND' and 'NOT FOUND' labels are not translated in Mage_SalesRule_Model_Rule_Condition_Product_Found::loadValueOptions() +Fixed 'Select' label is not translated in Mage_Adminhtml_Block_Sales_Order_Create_Search_Grid::_prepareColumns() +Fixed Invalid HTML from form multiline element renderer +Fixed Collection calling private _setOrder() method in CatalogEvent module +Fixed Tags on search results for Global Record Search (Adminhtml) are not translatable +Fixed JavaScript bug in IE8 with date advice set during js validation. +Fixed Missing translation for ZF error messages +- provided translation of ZF native validation error messages +Fixed Shopping Cart Price Rule->Conditions->Shipping Country is not correctly controlled on multiple checkout. +Fixed Moneybookers Multistore System Configuration +Fixed Moneybookers OBT Defaults +Fixed Product info API request +- a behavior of the function, was optimized; +- refactoring classes with calling function from helper without changing the inside logic; +- duplicated code were moved to catalog/product helper with creating the new one function for that. +Fixed Poor randomness of auto-generated passwords in Customer Model +- was used function from core helper; +- code style has been formatted. +Fixed several probable vulnerabilities on front and backend +Fixed typos in adminhtml widget form block +- Changed reserved word 'const' to lower case in tax config model +Fixed Google Base Synchronize +- Fixed fatal error on very first Publish and then Synchronizing if in GB products already were +- Fixed potential fatal when on mass Publish action we will not retrieve any item id: expected array, but null or empty string given +Fixed Rounding issues in shipping methods and in sales payment +Fixed Usage of non-mb-supported strlen() in custom option validation +- fixed length calculation routine to work with multi-byte characters +- changed order of evaluation, so that length is calculated only if length constraint is set for custom option +Fixed Unused class Mage_Reports_Model_Mysql4_Shopcart_Product_Collection did not marked like deprecated +- mark class as deprecated after 1.5.0.1 +Fixed Products prepare function +- Change prepare products function +- Update resource with phpDoc +- Update wsdl +Improved SOAP Faults in Shopping Cart +- all faults for ShoppingCart are unique for each issue and have wide description +Fixed Shopping Cart create order should return order increment id +- updated wsdl, wsi +- changed return type for Mage_Checkout_Model_Cart_Api::createOrder +Fixed Grouped product has no configured price in Wishlist +Fixed Unable to continue checkout when "Street Address" use non english characters +Fixed Misprint in comment in Mage_Checkout_Model_Cart::init() +Fixed Controllers used protected properties +- removed protected property _hasDataChanges equals true in controllers +- added property _hasDataChanges equals true in method "addComment" for all objects +Fixed Page "404 Not Found" is showed by clicked Edit link in the Invoice page of placed order +Fixed Google Base Synchronize +Fixed probably SQL-injection in backend +Fixed Error on Authorize.net Direct Post payment method in Backend +Fixed API default/SOAP functionality switched +- removed unused variable loading +- changed loading default api handler in IndexController +- added loading default "soap" api handler in SoapController +Fixed Missed unique index on eav table +Fixed Its possible to add&proceed to checkout with any product from the catalog no matter website its assign to. +Fixed Order status visible_on_front flag in configuration file can't be overridden +Fixed Unexpected error message appears when quantity to refund more than quantity invoiced +Fixed PayPal payment methods are not shown on the checkout Payment Information step if Brazilian Real is set as base currency +- Added new supported currency codes into config +Fixed Trim value after explode +Fixed Unable to save customer date attribute with date more then 2010 +Fixed No customer's information +Fixed PayPal Business Email address update +Fixed probable abuse with image re-size functionality on frontend +Fixed Hovering mouse cursor on "Configure" button for a composite product shows incorrect hint +Fixed Error in fulltext search indexation for values that contain 'à' character +- modified regular expression to correct process of unicode characters +Fixed Zooming don't work for an image larger or taller than the container +Fixed Variable is used before its definition in Mage_CatalogRule_Helper_Data::calcPriceRule() +Fixed Typo in app\design\frontend\base\default\template\checkout\success.phtml +Fixed Fatal error during newsletters sending via cron +- Also added missed PHP-docs to Mage_Newsletter_Model_Problem class. +Fixed Quantity of bundle item is not stored correctly, in case when it is decimal +Fixed Unable to change configurable product name for store view +- the bug was in two HTML input tags with same names located on "General" and "Associated Products" tabs. One of them was been renamed to solve the problem. +Fixed Microsoft Excel 2007 fails to open Magento generated XML file +Fixed several probable XSS issues on front end and backend +Fixed Admin page - incorrect displaying of pop-up message for gift options in Items Ordered block +Fixed One extra unnecessary product appears in Items Ordered list of placed Order, when payment is provided using Authorize.net Direct Post +Fixed If 3D Secure Card Validation is enabled then Gift Options section has wrong position during backend order creation +Fixed Reindex of Category Products for large catalogs is extremely slow +Fixed Product minimum quantity, add to cart +Fixed Created in Backend customer doubled after creation order for him and not save any addres information +Fixed Changes to helper text for the images for the application submission page +Fixed Redirect patch +Fixed product list images for iPad device to use base image +Fixed Sending invoice email don`t change the status +Fixed remove paypal country id hard coded +Fixed Mobile Controller issue +Fixed App locations (countries) do not match iTunes App Stores countries available +Fixed Disabled cookie message issue +Fixed Information about Gift Options is not stored, when admin user performs Edit Order action in backend +Fixed Web form with empty fields can be saved - also is_object() calls are replaced with instanceof checking inside of Adminhtml/MobileController +Fixed Bundle product with required option must have "Configure" button inactive if one of the option is out of stock. +Fixed Unable to retrieve product attributes, "Unsupported operand types" +Fixed Add to Wishlist is not work +Fixed A bug inside catalog/model/product/Api.php::create prevents this function from working +- Added $store parameter. +Fixed CSS Merger Cache Ignores Hostname and HTTPS +- on frontend when "Use Secure URLs in Frontend" is set to "yes", https is used only for some selected pages. This fix takes into account what's the protocol in use +Fixed Improvement to block caching +Fixed Typo in Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Type_Configurable_Attribute::savePrices() +Fixed Shipping creation for bundle product shows wrong q-ty +Fixed Check for controller instance in rating option resource model +Fixed Export Filters are not working correctly during export of customers +Fixed Function "Apply Tax On - Original price only" does not correct calculate product tax +Fixed Mage_Index.csv is not used at all +Fixed Incorrect tax count, when making new order through back-end and using discount coupon (price cart rule) +Fixed Error "Source file moving failed" on Import process, when PHP version is 5.2 +Fixed "Store credit amount can not exceed order amount" error in Credit Memo applying to Store Credit for decimal quantities and decimal subtotals +Fixed Disabled cookie message issue +Fixed Edit Order without creating new one functionality doesn't save changes in non-default customer address attributes +Fixed Unable to buy Downloadable product with specified option "Links can be purchased separately" set to "No" +Fixed Incorrect message of soap fault +Fixed Information about Gift Options is not stored, when admin user performs Edit Order action in backend +Fixed Unable to open "View all wishlist items" link from email +- Added action to add shared wishlist item to shopping cart +Fixed iFrame must be centered for Website Payments Pro Hosted Solution payment method. +Fixed Free shipping does not transfer to Google Checkout when it is enabled in a shipping method +- Added support of UPS carrier methods with UPS XML type of rates calculation +Fixed Incorrect tax summary for partial credit memos/invoices +Fixed PayPal Standart: order has two invoice and two refund +Fixed A product hasn't been added to whishlist from category with closed, upcoming events +Fixed Customer password is not imported from CSV file +Fixed CDN - necessary to replace information message +Fixed When put values in Customer Name and Address Options they do not reflect on the backend customer and customer address forms +Fixed Reports-> Products-> Products ordered - Trace appeared +Fixed Mage_Core_Helper_Url::getCurrentUrl() method ignores server PORT +Fixed No ability to change payment from Store Credits, when customer backs to a Cart from Order Review step, and then goes to checkout again (OnePageCheckout) +Fixed Customer attribute labels not translated in validation error messages +- added translation for attribute labels at classes Mage_Customer_Model_Attribute_Data_* +Fixed Typos in: Varien_Db_Adapter_Pdo_Mysql, Varien_File_Uploader +Fixed Mage_Core_Model_Design_Package::_prepareUrl() uses incorrect regular expression to check whether the url is relative +- modified preg_match for detecting absolute urls +Fixed Mage_Catalog_Block_Product_Gallery::getImageWidth() returns false for images with width smaller than 600px +- modified method Mage_Catalog_Block_Product_Gallery::getImageWidth(), if width <= 600 return width value, not false +Fixed Incorrect view of the shipping tax at the back end, unnecessary $0.01 +Fixed Wrong visualisation of "Original Price" in placed order +- collecting totals for quote at multishipping checkout +Fixed Incorrect view of popup windows for composite product on backend (only IE) +Added Adding Composite Products in Admin Order Creation +- Fixed styles in ie7 +Fixed "Items Ordered" tab is not refreshing while Admin order creation +Fixed Free shipping does not transfer to Google Checkout when it is enabled in a shipping method +- Re factored and optimized code +- Improved performance +- Added dependency for GoogleCheckout module from Usa module +- Added fedex and usps free methods supporting + + +==== 1.5.x-devel-100810 ==== + +=== Fixes === + +Fixed Shopping Cart Price Rule->Conditions->Shipping Country is not correctly controlled on multiple checkout. +Fixed Moneybookers Multistore System Configuration +Fixed Moneybookers OBT Defaults +Fixed Product info API request +- a behavior of the function, was optimized; +- refactoring classes with calling function from helper without changing the inside logic; +- duplicated code were moved to catalog/product helper with creating the new one function for that. +Fixed Poor randomness of auto-generated passwords in Customer Model +- was used function from core helper; +- code style has been formatted. +Fixed several probable vulnerabilities on front and backend +Fixed typos in adminhtml widget form block +- Changed reserved word 'const' to lower case in tax config model +Fixed Google Base Synchronize +- Fixed fatal error on very first Publish and then Synchronizing if in GB products already were +- Fixed potential fatal when on mass Publish action we will not retrieve any item id: expected array, but null or empty string given +Fixed Rounding issues in shipping methods and in sales payment +Fixed Usage of non-mb-supported strlen() in custom option validation +- fixed length calculation routine to work with multi-byte characters +- changed order of evaluation, so that length is calculated only if length constraint is set for custom option +Fixed Unused class Mage_Reports_Model_Mysql4_Shopcart_Product_Collection did not marked like deprecated +- mark class as deprecated after 1.5.0.1 + + +==== 1.5.x-devel-100247 ==== + +=== Improvements === +Implemented GiftMessage API Faults +- added faults in functions +- added description in api.xml +Implemented The names of WPPHS depend on a merchant`s country in the backend. Create a functionality for dynamic changing. +- Added functionality for dynamic changing the names of WPPHS +- Added backend config into system.xml + +=== Fixes === +Fixed Products prepare function +- Change prepare products function +- Update resource with phpDoc +- Update wsdl +Improved Faults in Shopping Cart +- all faults for ShoppingCart are unique for each issue and have wide description +Fixed Shopping Cart create order should return order increment id +- updated wsdl, wsi +- changed return type for Mage_Checkout_Model_Cart_Api::createOrder +Fixed Grouped product has no configured price in Wishlist +Fixed Unable to continue checkout when "Street Address" use non english characters +Fixed Misprint in comment in Mage_Checkout_Model_Cart::init() +Fixed Controllers used protected properties +- removed protected property _hasDataChanges equals true in controllers +- added property _hasDataChanges equals true in method "addComment" for all objects +Fixed Page "404 Not Found" is showed by clicked Edit link in the Invoice page of placed order +Fixed probably XSS vulnerabilities in backend +Fixed Google Base Synchronize +Fixed probably SQL-injection in backend +Fixed Error on Authorize.net Direct Post payment method in Backend +Fixed API default/SOAP functionality switched +- removed unused variable loading +- changed loading default api handler in IndexController +- added loading default "soap" api handler in SoapController +Fixed Missed unique index on eav table +Fixed Its possible to add&proceed to checkout with any product from the catalog no matter website its assign to. +Fixed Order status visible_on_front flag in configuration file can't be overridden +Fixed Unexpected error message appears when quantity to refund more than quantity invoiced +Fixed PayPal payment methods are not shown on the checkout Payment Information step if Brazilian Real is set as base currency +- Added new supported currency codes into config +Fixed Trim value after explode +Fixed Unable to save customer date attribute with date more then 2010 +Fixed No customer's information +Fixed PayPal Business Email address update + + +==== 1.5.x-devel-97859 ==== + +=== Improvements === +Implemented WS-I for API +- added wsi.xml for all WebAPI modules +- added new wsi-soap handler +- added new wsi-soap adapter +- changed admin configuration, added parameter into "Magento Core API"->WSI Compliance +- changed api.xml +Implemented GiftMessage for Cart + +== Fixes === +Fixed probable abuse with image re-size functionality on frontend +Fixed Hovering mouse cursor on "Configure" button for a composite product shows incorrect hint +Fixed Error in fulltext search indexation for values that contain 'à' character +- modified regular expression to correct process of unicode characters +Fixed Zooming don't work for an image larger or taller than the container +Fixed Variable is used before its definition in Mage_CatalogRule_Helper_Data::calcPriceRule() +Fixed Typo in app\design\frontend\base\default\template\checkout\success.phtml +Fixed Fatal error during newsletters sending via cron +- Also added missed PHP-docs to Mage_Newsletter_Model_Problem class. +Fixed Quantity of bundle item is not stored correctly, in case when it is decimal +Fixed Unable to change configurable product name for store view +- the bug was in two HTML input tags with same names located on "General" and "Associated Products" tabs. One of them was been renamed to solve the problem. +Fixed Microsoft Excel 2007 fails to open Magento generated XML file +Fixed several probable XSS issues on front end and backend +Fixed probable SQL injection on frontend +Fixed Admin page - incorrect displaying of pop-up message for gift options in Items Ordered block +Fixed One extra unnecessary product appears in Items Ordered list of placed Order, when payment is provided using Authorize.net Direct Post +Fixed If 3D Secure Card Validation is enabled then Gift Options section has wrong position during backend order creation +Fixed Reindex of Category Products for large catalogs is extremely slow +Fixed Product minimum quantity, add to cart +Fixed Created in Backend customer doubled after creation order for him and not save any addres information +Fixed Changes to helper text for the images for the application submission page +Fixed Redirect patch +Fixed product list images for iPad device to use base image +Fixed Sending invoice email don`t change the status +Fixed remove paypal country id hard coded +Fixed Mobile Controller issue +Fixed App locations (countries) do not match iTunes App Stores countries available +Fixed Disabled cookie message issue +Fixed Information about Gift Options is not stored, when admin user performs Edit Order action in backend +Fixed Web form with empty fields can be saved - also is_object() calls are replaced with instanceof checking inside of Adminhtml/MobileController +Fixed Bundle product with required option must have "Configure" button inactive if one of the option is out of stock. +Fixed Unable to retrieve product attributes, "Unsupported operand types" +Fixed Add to Wishlist is not work +Fixed A bug inside catalog/model/product/Api.php::create prevents this function from working +- Added $store parameter. +Fixed CSS Merger Cache Ignores Hostname and HTTPS +- on frontend when "Use Secure URLs in Frontend" is set to "yes", https is used only for some selected pages. This fix takes into account what's the protocol in use +Fixed Improvement to block caching +Fixed Typo in Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Type_Configurable_Attribute::savePrices() +Fixed Shipping creation for bundle product shows wrong q-ty +Fixed Check for controller instance in rating option resource model +Fixed Export Filters are not working correctly during export of customers +Fixed Function "Apply Tax On - Original price only" does not correct calculate product tax +Fixed Mage_Index.csv is not used at all +Fixed Incorrect tax count, when making new order through back-end and using discount coupon (price cart rule) +Fixed Error "Source file moving failed" on Import process, when PHP version is 5.2 +Fixed "Store credit amount can not exceed order amount" error in Credit Memo applying to Store Credit for decimal quantities and decimal subtotals +Fixed Disabled cookie message issue +Fixed Edit Order without creating new one functionality doesn't save changes in non-default customer address attributes +Fixed Unable to buy Downloadable product with specified option "Links can be purchased separately" set to "No" +Fixed Incorrect message of soap fault +Fixed Information about Gift Options is not stored, when admin user performs Edit Order action in backend +Fixed Unable to open "View all wishlist items" link from email +- Added action to add shared wishlist item to shopping cart +Fixed iFrame must be centered for Website Payments Pro Hosted Solution payment method. +Fixed Free shipping does not transfer to Google Checkout when it is enabled in a shipping method +- Added support of UPS carrier methods with UPS XML type of rates calculation +Fixed Incorrect tax summary for partial credit memos/invoices +Fixed PayPal Standart: order has two invoice and two refund +Fixed A product hasn't been added to whishlist from category with closed, upcoming events +Fixed Customer password is not imported from CSV file +Fixed CDN - necessary to replace information message +Fixed When put values in Customer Name and Address Options they do not reflect on the backend customer and customer address forms +Fixed Reports-> Products-> Products ordered - Trace appeared + + +==== 1.5.x-devel-96719 ==== + +=== Fixes === +Fixed Mage_Core_Helper_Url::getCurrentUrl() method ignores server PORT +Fixed No ability to change payment from Store Credits, when customer backs to a Cart from Order Review step, and then goes to checkout again (OnePageCheckout) +Fixed Customer attribute labels not translated in validation error messages +- added translation for attribute labels at classes Mage_Customer_Model_Attribute_Data_* +Fixed Typos in: Varien_Db_Adapter_Pdo_Mysql, Varien_File_Uploader +Fixed Mage_Core_Model_Design_Package::_prepareUrl() uses incorrect regular expression to check whether the url is relative +- modified preg_match for detecting absolute urls +Fixed Mage_Catalog_Block_Product_Gallery::getImageWidth() returns false for images with width smaller than 600px +- modified method Mage_Catalog_Block_Product_Gallery::getImageWidth(), if width <= 600 return width value, not false +Fixed Incorrect view of the shipping tax at the back end, unnecessary $0.01 +Fixed Wrong visualisation of "Original Price" in placed order +- collecting totals for quote at multishipping checkout +Fixed Incorrect view of popup windows for composite product on backend (only IE) +Added Adding Composite Products in Admin Order Creation +- Fixed styles in ie7 +Fixed "Items Ordered" tab is not refreshing while Admin order creation +Fixed Free shipping does not transfer to Google Checkout when it is enabled in a shipping method +- Re factored and optimized code +- Improved performance +- Fixed typos +- Added dependency for GoogleCheckout module from Usa module +- Added fedex and usps free methods supporting + + ==== 1.5.0.1 ===== === Major Highlights === diff --git a/app/Mage.php b/app/Mage.php index 44e78c1f1f..0c765b62cc 100644 --- a/app/Mage.php +++ b/app/Mage.php @@ -152,8 +152,8 @@ public static function getVersionInfo() return array( 'major' => '1', 'minor' => '5', - 'revision' => '0', - 'patch' => '1', + 'revision' => '1', + 'patch' => '0', 'stability' => '', 'number' => '', ); diff --git a/app/code/community/Phoenix/Moneybookers/Model/Event.php b/app/code/community/Phoenix/Moneybookers/Model/Event.php index e6f3a8c838..81409dc451 100644 --- a/app/code/community/Phoenix/Moneybookers/Model/Event.php +++ b/app/code/community/Phoenix/Moneybookers/Model/Event.php @@ -204,14 +204,19 @@ protected function _validateEventData($fullCheck = true) // check order ID if (empty($params['transaction_id']) - || ($fullCheck == false && $this->_getCheckout()->getMoneybookersRealOrderId() != $params['transaction_id'])) - { + || ($fullCheck == false && $this->_getCheckout()->getMoneybookersRealOrderId() != $params['transaction_id']) + ) { Mage::throwException('Missing or invalid order ID.'); } // load order for further validation $this->_order = Mage::getModel('sales/order')->loadByIncrementId($params['transaction_id']); - if (!$this->_order->getId()) + if (!$this->_order->getId()) { Mage::throwException('Order not found.'); + } + + if (0 !== strpos($this->_order->getPayment()->getMethodInstance()->getCode(), 'moneybookers_')) { + Mage::throwException('Unknown payment method.'); + } // make additional validation if ($fullCheck) { @@ -229,9 +234,20 @@ protected function _validateEventData($fullCheck = true) $md5String = ''; foreach ($checkParams as $key) { if ($key == 'merchant_id') { - $md5String .= Mage::getStoreConfig(Phoenix_Moneybookers_Helper_Data::XML_PATH_CUSTOMER_ID, $this->_order->getStoreId()); + $md5String .= Mage::getStoreConfig(Phoenix_Moneybookers_Helper_Data::XML_PATH_CUSTOMER_ID, + $this->_order->getStoreId() + ); } elseif ($key == 'secret') { - $md5String .= strtoupper(md5(Mage::getStoreConfig(Phoenix_Moneybookers_Helper_Data::XML_PATH_SECRET_KEY, $this->_order->getStoreId()))); + $secretKey = Mage::getStoreConfig( + Phoenix_Moneybookers_Helper_Data::XML_PATH_SECRET_KEY, + $this->_order->getStoreId() + ); + + if (empty($secretKey)) { + Mage::throwException('Secret key is empty.'); + } + + $md5String .= strtoupper(md5($secretKey)); } elseif (isset($params[$key])) { $md5String .= $params[$key]; } diff --git a/app/code/community/Phoenix/Moneybookers/etc/config.xml b/app/code/community/Phoenix/Moneybookers/etc/config.xml index 377626863c..b76a5e02e2 100644 --- a/app/code/community/Phoenix/Moneybookers/etc/config.xml +++ b/app/code/community/Phoenix/Moneybookers/etc/config.xml @@ -293,7 +293,8 @@ 0 moneybookers/obt Onlineüberweisung (empfohlen) - 0 + 1 + GB,DE diff --git a/app/code/community/Phoenix/Moneybookers/etc/system.xml b/app/code/community/Phoenix/Moneybookers/etc/system.xml index 06f71be304..6247d9be10 100644 --- a/app/code/community/Phoenix/Moneybookers/etc/system.xml +++ b/app/code/community/Phoenix/Moneybookers/etc/system.xml @@ -35,8 +35,8 @@ text 1 1 - 0 - 0 + 1 + 1 @@ -44,16 +44,16 @@ text 1 1 - 0 - 0 + 1 + 1 text 2 1 - 0 - 0 + 1 + 1 @@ -61,16 +61,16 @@ text 3 1 - 0 - 0 + 1 + 1 text 4 1 - 0 - 0 + 1 + 1 diff --git a/app/code/core/Mage/Admin/Model/Mysql4/User.php b/app/code/core/Mage/Admin/Model/Mysql4/User.php index 386d7eb8fd..ec83b8aab9 100644 --- a/app/code/core/Mage/Admin/Model/Mysql4/User.php +++ b/app/code/core/Mage/Admin/Model/Mysql4/User.php @@ -209,7 +209,9 @@ public function getRoles(Mage_Core_Model_Abstract $user) $table = $this->getTable('admin/role'); $read = $this->_getReadAdapter(); $select = $read->select()->from($table, array()) - ->joinLeft(array('ar' => $table), "(ar.role_id = `{$table}`.parent_id and ar.role_type = 'G')", array('role_id')) + ->joinLeft(array('ar' => $table), + "(ar.role_id = `{$table}`.parent_id and ar.role_type = 'G')", + array('role_id')) ->where("`{$table}`.user_id = {$user->getId()}"); return (($roles = $read->fetchCol($select)) ? $roles : array()); @@ -253,7 +255,8 @@ public function deleteFromRole(Mage_Core_Model_Abstract $user) return $this; } $dbh = $this->_getWriteAdapter(); - $condition = "`{$this->getTable('admin/role')}`.user_id = ".$dbh->quote($user->getUserId())." AND `{$this->getTable('admin/role')}`.parent_id = ".$dbh->quote($user->getRoleId()); + $condition = "`{$this->getTable('admin/role')}`.user_id = " . $dbh->quote($user->getUserId()) + . " AND `{$this->getTable('admin/role')}`.parent_id = " . $dbh->quote($user->getRoleId()); $dbh->delete($this->getTable('admin/role'), $condition); return $this; } @@ -274,10 +277,18 @@ public function roleUserExists(Mage_Core_Model_Abstract $user) public function userExists(Mage_Core_Model_Abstract $user) { $usersTable = $this->getTable('admin/user'); - $select = $this->_getReadAdapter()->select(); - $select->from($usersTable); - $select->where("({$usersTable}.username = '{$user->getUsername()}' OR {$usersTable}.email = '{$user->getEmail()}') AND {$usersTable}.user_id != '{$user->getId()}'"); - return $this->_getReadAdapter()->fetchRow($select); + $db = $this->_getReadAdapter(); + + $select = $db->select() + ->from(array('u' => $usersTable)) + ->where('u.user_id != ?', (int) $user->getId()) + ->where('u.username = :username OR u.email = :email') + ; + $row = $db->fetchRow($select, array( + ':username' => $user->getUsername(), + ':email' => $user->getUsername(), + )); + return $row; } public function saveExtra($object, $data) diff --git a/app/code/core/Mage/Admin/Model/Session.php b/app/code/core/Mage/Admin/Model/Session.php index 7cbebe1112..6e1fe5d941 100644 --- a/app/code/core/Mage/Admin/Model/Session.php +++ b/app/code/core/Mage/Admin/Model/Session.php @@ -90,6 +90,7 @@ public function login($username, $password, $request = null) $user = Mage::getModel('admin/user'); $user->login($username, $password); if ($user->getId()) { + $this->renewSession(); if (Mage::getSingleton('adminhtml/url')->useSecretKey()) { Mage::getSingleton('adminhtml/url')->renewSecretUrls(); diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Simple.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Simple.php index e6433bd5e2..44c3b4887b 100644 --- a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Simple.php +++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Simple.php @@ -79,6 +79,7 @@ protected function _prepareForm() continue; } $attributeCode = $attribute->getAttributeCode(); + $attribute->setAttributeCode('simple_product_' . $attributeCode); $element = $fieldset->addField( 'simple_product_' . $attributeCode, $inputType, diff --git a/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php b/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php index 74a3bcfad9..c1e7d31a5e 100644 --- a/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php +++ b/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php @@ -77,6 +77,46 @@ public function initForm() // $customer->setWebsiteId(Mage::app()->getStore(true)->getWebsiteId()); // } + $customerStoreId = null; + if ($customer->getId()) { + $customerStoreId = Mage::app()->getWebsite($customer->getWebsiteId())->getDefaultStore()->getId(); + } + + $prefixElement = $form->getElement('prefix'); + if ($prefixElement) { + $prefixOptions = $this->helper('customer')->getNamePrefixOptions($customerStoreId); + if (!empty($prefixOptions)) { + $fieldset->removeField($prefixElement->getId()); + $prefixField = $fieldset->addField($prefixElement->getId(), + 'select', + $prefixElement->getData(), + $form->getElement('group_id')->getId() + ); + $prefixField->setValues($prefixOptions); + if ($customer->getId()) { + $prefixField->addElementValues($customer->getPrefix()); + } + + } + } + + $suffixElement = $form->getElement('suffix'); + if ($suffixElement) { + $suffixOptions = $this->helper('customer')->getNameSuffixOptions($customerStoreId); + if (!empty($suffixOptions)) { + $fieldset->removeField($suffixElement->getId()); + $suffixField = $fieldset->addField($suffixElement->getId(), + 'select', + $suffixElement->getData(), + $form->getElement('lastname')->getId() + ); + $suffixField->setValues($suffixOptions); + if ($customer->getId()) { + $suffixField->addElementValues($customer->getSuffix()); + } + } + } + if ($customer->getId()) { if (!$customer->isReadonly()) { // add password management fieldset @@ -156,12 +196,16 @@ public function initForm() $prefix = $form->getHtmlIdPrefix(); if ($sendEmail) { + $_disableStoreField = ''; + if (!$isSingleMode) { + $_disableStoreField = "$('{$prefix}sendemail_store_id').disabled=(''==this.value || '0'==this.value);"; + } $sendEmail->setAfterElementHtml( ' diff --git a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog.phtml b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog.phtml deleted file mode 100644 index 9052610217..0000000000 --- a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog.phtml +++ /dev/null @@ -1,228 +0,0 @@ - -getConfigFontInfo('Title1/size'); -$title1name = $this->getConfigFontInfo('Title1/name'); -$title1color = $this->getConfigFontInfo('Title1/color'); - -$title2name = $this->getConfigFontInfo('Title2/name'); -$title2size = $this->getConfigFontInfo('Title2/size'); -$title2color = $this->getConfigFontInfo('Title2/color'); - -$title3size = $this->getConfigFontInfo('Title3/size'); -$title3name = $this->getConfigFontInfo('Title3/name'); -$title3color = $this->getConfigFontInfo('Title3/color'); - -$title5name = $this->getConfigFontInfo('Title5/name'); -$title5size = $this->getConfigFontInfo('Title5/size'); -$title5color = $this->getConfigFontInfo('Title5/color'); - -$title8name = $this->getConfigFontInfo('Title8/name'); -$title8size = $this->getConfigFontInfo('Title8/size'); -$title8color = $this->getConfigFontInfo('Title8/color'); - -$text2name = $this->getConfigFontInfo('Text2/name'); -$text2size = $this->getConfigFontInfo('Text2/size'); -$text2color = $this->getConfigFontInfo('Text2/color'); - -$naviBarTintColor = $this->getData('conf/navigationBar/tintColor'); -$primaryColor = $this->getData('conf/body/primaryColor'); -$secondaryColor = $this->getData('conf/body/secondaryColor'); - -$activeStartImage = $this->getPreviewImagesUrl('star-active.png'); -$inactiveStartImage = $this->getPreviewImagesUrl('star-inactive.png'); -$productImage = $this->getPreviewImagesUrl('t-shirt.png'); -?> - -
-
-
-
-
__("Carrier"); ?>
-
-
getData('conf/Time')): ?>getData('conf/Time'); ?>__("10:40 AM"); ?>
-
-
-
-
- - - - - - - -
- -
- - - - __("T-Shirts"); ?> - __("T-Shirts"); ?> - - -
-
-
-
-
-
-
 
-
- 3 - __('FILTERS APPLIED'); ?> -
-
-
-
-
-
__('SORT BY:'); ?>
-
- Position - Name - Price -
-
-
-
-
-
-
-
-
__('Product Name3 1'); ?>
-
- $39.99 -
-
- - ffffc - - (2) -
-
- In Stock -
-
-
 
-
-
-
-
-
-
__('Product Name3 2'); ?>
-
- $39.99 -
-
- - ffffc - - (2) -
-
- __('In Stock'); ?> -
-
-
 
-
-
-
- -
- __('View Gallery'); ?> -
-
-
- -
- __('Tell a Friend'); ?> -
-
-
- -
- __('Add to Wishlist'); ?> -
-
-
- -
- __('Add to Cart'); ?> -
-
-
- -
- __('View Details'); ?> -
-
-
-
-
-
-
-
-
__('Product Name3 '); ?>
-
- $39.99 -
-
- - ffffc - - (4) -
-
- __('In Stock'); ?> -
-
-
 
-
-
- getChildHtml('tab_items'); ?> -
-
-getJsErrorMessage()) : ?> - - diff --git a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_android.phtml b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_android.phtml index 97dcafcaf7..7145a9f2a3 100644 --- a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_android.phtml +++ b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_android.phtml @@ -25,27 +25,28 @@ */ ?> getConfigFontInfo('Title1/color'); -$title2color = $this->getConfigFontInfo('Title2/color'); -$title5color = $this->getConfigFontInfo('Title5/color'); +/** @var $previewModel Mage_XmlConnect_Model_Preview_Android */ +$previewModel = Mage::helper('xmlconnect')->getPreviewModel(); -$primaryColor = $this->getData('conf/body/primaryColor'); -$secondaryColor = $this->getData('conf/body/secondaryColor'); +$title1color = $previewModel->getConfigFontInfo('Title1/color'); +$title2color = $previewModel->getConfigFontInfo('Title2/color'); +$title5color = $previewModel->getConfigFontInfo('Title5/color'); -$starImage = $this->getPreviewImagesUrl('android/bg_star.png'); -$emptyStarImage = $this->getPreviewImagesUrl('android/bg_star_empty.png'); -?> - +$primaryColor = $previewModel->getData('conf/body/primaryColor'); +$secondaryColor = $previewModel->getData('conf/body/secondaryColor'); -
-
+$starImage = $previewModel->getPreviewImagesUrl('android/bg_star.png'); +$emptyStarImage = $previewModel->getPreviewImagesUrl('android/bg_star_empty.png'); +?> +
+
-
-
+
+
getChildHtml('tab_items'); ?> -
@@ -66,7 +67,7 @@ $emptyStarImage = $this->getPreviewImagesUrl('android/bg_star_empty.png');
- Bertoia Wire Chair + Bertoia Wire Chair
@@ -88,7 +89,7 @@ $emptyStarImage = $this->getPreviewImagesUrl('android/bg_star_empty.png');
- Bertoia Wire Chair + Bertoia Wire Chair
@@ -111,7 +112,7 @@ $emptyStarImage = $this->getPreviewImagesUrl('android/bg_star_empty.png');
- Bertoia Wire Chair + Bertoia Wire Chair
@@ -133,7 +134,7 @@ $emptyStarImage = $this->getPreviewImagesUrl('android/bg_star_empty.png');
- Bertoia Wire Chair + Bertoia Wire Chair
diff --git a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_hor_ipad.phtml b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_hor_ipad.phtml index 18ceef502f..29b6c7aa63 100644 --- a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_hor_ipad.phtml +++ b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_hor_ipad.phtml @@ -25,22 +25,23 @@ */ ?> getConfigFontInfo('Title1/color'); -$title2color = $this->getConfigFontInfo('Title2/color'); -$title5color = $this->getConfigFontInfo('Title5/color'); +/** @var $previewModel Mage_XmlConnect_Model_Preview_Ipad */ +$previewModel = Mage::helper('xmlconnect')->getPreviewModel(); -$primaryColor = $this->getData('conf/body/primaryColor'); -$secondaryColor = $this->getData('conf/body/secondaryColor'); +$title1color = $previewModel->getConfigFontInfo('Title1/color'); +$title2color = $previewModel->getConfigFontInfo('Title2/color'); +$title5color = $previewModel->getConfigFontInfo('Title5/color'); -$productImage = $this->getPreviewImagesUrl('ipad/bg_product_image.png'); -$backgroundIpadLandscapeImage = $this->getBackgroundImage(Mage_XmlConnect_Helper_Ipad::ORIENTATION_LANDSCAPE); -?> - +$primaryColor = $previewModel->getData('conf/body/primaryColor'); +$secondaryColor = $previewModel->getData('conf/body/secondaryColor'); -
+$productImage = $previewModel->getPreviewImagesUrl('ipad/bg_product_image.png'); +$backgroundIpadLandscapeImage = $previewModel->setOrientation(Mage_XmlConnect_Helper_Ipad::ORIENTATION_LANDSCAPE)->getBackgroundImage(); +?> +
-
-
+
+
getChildHtml('tab_items'); ?>
diff --git a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_ipad.phtml b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_ipad.phtml index f429cf1d68..0baab91716 100644 --- a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_ipad.phtml +++ b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_ipad.phtml @@ -25,22 +25,23 @@ */ ?> getConfigFontInfo('Title1/color'); -$title2color = $this->getConfigFontInfo('Title2/color'); -$title5color = $this->getConfigFontInfo('Title5/color'); +/** @var $previewModel Mage_XmlConnect_Model_Preview_Ipad */ +$previewModel = Mage::helper('xmlconnect')->getPreviewModel(); -$primaryColor = $this->getData('conf/body/primaryColor'); -$secondaryColor = $this->getData('conf/body/secondaryColor'); +$title1color = $previewModel->getConfigFontInfo('Title1/color'); +$title2color = $previewModel->getConfigFontInfo('Title2/color'); +$title5color = $previewModel->getConfigFontInfo('Title5/color'); -$productImage = $this->getPreviewImagesUrl('ipad/bg_product_image.png'); -$backgroundIpadPortraitImage = $this->getBackgroundImage(Mage_XmlConnect_Helper_Ipad::ORIENTATION_PORTRAIT); -?> - +$primaryColor = $previewModel->getData('conf/body/primaryColor'); +$secondaryColor = $previewModel->getData('conf/body/secondaryColor'); -
+$productImage = $previewModel->getPreviewImagesUrl('ipad/bg_product_image.png'); +$backgroundIpadPortraitImage = $previewModel->setOrientation(Mage_XmlConnect_Helper_Ipad::ORIENTATION_PORTRAIT)->getBackgroundImage(); +?> +
-
-
+
+
getChildHtml('tab_items'); ?>
diff --git a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_iphone.phtml b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_iphone.phtml new file mode 100755 index 0000000000..abd0b4386e --- /dev/null +++ b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_iphone.phtml @@ -0,0 +1,232 @@ + +getPreviewModel(); + +$title1size = $previewModel->getConfigFontInfo('Title1/size'); +$title1name = $previewModel->getConfigFontInfo('Title1/name'); +$title1color = $previewModel->getConfigFontInfo('Title1/color'); + +$title2name = $previewModel->getConfigFontInfo('Title2/name'); +$title2size = $previewModel->getConfigFontInfo('Title2/size'); +$title2color = $previewModel->getConfigFontInfo('Title2/color'); + +$title3size = $previewModel->getConfigFontInfo('Title3/size'); +$title3name = $previewModel->getConfigFontInfo('Title3/name'); +$title3color = $previewModel->getConfigFontInfo('Title3/color'); + +$title5name = $previewModel->getConfigFontInfo('Title5/name'); +$title5size = $previewModel->getConfigFontInfo('Title5/size'); +$title5color = $previewModel->getConfigFontInfo('Title5/color'); + +$title8name = $previewModel->getConfigFontInfo('Title8/name'); +$title8size = $previewModel->getConfigFontInfo('Title8/size'); +$title8color = $previewModel->getConfigFontInfo('Title8/color'); + +$text2name = $previewModel->getConfigFontInfo('Text2/name'); +$text2size = $previewModel->getConfigFontInfo('Text2/size'); +$text2color = $previewModel->getConfigFontInfo('Text2/color'); + +$naviBarTintColor = $previewModel->getData('conf/navigationBar/tintColor'); +$primaryColor = $previewModel->getData('conf/body/primaryColor'); +$secondaryColor = $previewModel->getData('conf/body/secondaryColor'); + +$activeStartImage = $previewModel->getPreviewImagesUrl('star-active.png'); +$inactiveStartImage = $previewModel->getPreviewImagesUrl('star-inactive.png'); +$productImage = $previewModel->getPreviewImagesUrl('t-shirt.png'); +?> +
+
+
+
+
+
__("Carrier"); ?>
+
+
getData('conf/Time')): ?>getData('conf/Time'); ?>__("10:40 AM"); ?>
+
+
+
+
+ + + + + + + +
+ +
+ + + + __("T-Shirts"); ?> + __("T-Shirts"); ?> + + +
+
+
+
+
+
+
 
+
+ 3 + __('FILTERS APPLIED'); ?> +
+
+
+
+
+
__('SORT BY:'); ?>
+
+ Position + Name + Price +
+
+
+
+
+
+
+
+
__('Product Name3 1'); ?>
+
+ $39.99 +
+
+ + ffffc + + (2) +
+
+ In Stock +
+
+
 
+
+
+
+
+
+
__('Product Name3 2'); ?>
+
+ $39.99 +
+
+ + ffffc + + (2) +
+
+ __('In Stock'); ?> +
+
+
 
+
+
+
+ +
+ __('View Gallery'); ?> +
+
+
+ +
+ __('Tell a Friend'); ?> +
+
+
+ +
+ __('Add to Wishlist'); ?> +
+
+
+ +
+ __('Add to Cart'); ?> +
+
+
+ +
+ __('View Details'); ?> +
+
+
+
+
+
+
+
+
__('Product Name3 '); ?>
+
+ $39.99 +
+
+ + ffffc + + (4) +
+
+ __('In Stock'); ?> +
+
+
 
+
+
+ getChildHtml('tab_items'); ?> +
+
+
+getJsErrorMessage()) : ?> + + diff --git a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home.phtml b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home.phtml deleted file mode 100644 index 930155d73f..0000000000 --- a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home.phtml +++ /dev/null @@ -1,108 +0,0 @@ - -getCategoryItemTintColor(); -$categoryItemBackgroundColor = $this->getData('conf/categoryItem/backgroundColor'); - -$title1name = $this->getConfigFontInfo('Title1/name'); -$title1size = $this->getConfigFontInfo('Title1/size'); -$title1color = $this->getConfigFontInfo('Title1/color'); - -$title9name = $this->getConfigFontInfo('Title9/name'); -$title9size = $this->getConfigFontInfo('Title9/size'); -$title9color = $this->getConfigFontInfo('Title9/color'); - -$backgroundColor = $this->getData('conf/body/backgroundColor'); -$menImage = $this->getPreviewImagesUrl('men.png'); -$bannerImage = $this->getBannerImage(); -?> - -
-
-
-
-
__("Carrier"); ?>
-
-
getData('conf/Time')): ?>getData('conf/Time'); ?>__("10:40 AM"); ?>
-
-
-
-
- - - - - - -
- - - - __("Home"); ?> - __("Home"); ?> - - -
-
-
- -
-
- -
__("80x80 px"); ?>
-
-
- -
__("80x80 px"); ?>
-
-
- -
__("80x80 px"); ?>
-
-
- -
__("80x80 px"); ?>
-
- -
- getChildHtml('tab_items'); ?> -
-
-getJsErrorMessage()) : ?> - - diff --git a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_android.phtml b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_android.phtml index 6797bf4b51..63010aa118 100755 --- a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_android.phtml +++ b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_android.phtml @@ -25,48 +25,49 @@ */ ?> getConfigFontInfo('Title1/color'); -$categoryItemTintColor = $this->getCategoryItemTintColor(); -$categoryItemBackgroundColor = $this->getData('conf/categoryItem/backgroundColor'); -$categoryItemTintColor = $this->getData('conf/categoryItem/tintColor'); -$title1color = $this->getConfigFontInfo('Title1/color'); -$title9size = $this->getConfigFontInfo('Title9/size'); -$productImage = $this->getPreviewImagesUrl('android/product_image.png'); -$bannerImageAndroid = $this->getBannerImage(); -?> - +/** @var $previewModel Mage_XmlConnect_Model_Preview_Android */ +$previewModel = Mage::helper('xmlconnect')->getPreviewModel(); -
+$title1color = $previewModel->getConfigFontInfo('Title1/color'); +$categoryItemTintColor = $previewModel->getCategoryItemTintColor(); +$categoryItemBackgroundColor = $previewModel->getData('conf/categoryItem/backgroundColor'); +$categoryItemTintColor = $previewModel->getData('conf/categoryItem/tintColor'); +$title1color = $previewModel->getConfigFontInfo('Title1/color'); +$title9size = $previewModel->getConfigFontInfo('Title9/size'); +$productImage = $previewModel->getPreviewImagesUrl('android/product_image.png'); +$bannerImageAndroid = $previewModel->getBannerImage(); +?> +
-
-
-
+
+
+
A
getChildHtml('tab_items'); ?> -
-
+
diff --git a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_hor_ipad.phtml b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_hor_ipad.phtml index 82f2905897..f525f22fa8 100755 --- a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_hor_ipad.phtml +++ b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_hor_ipad.phtml @@ -25,26 +25,27 @@ */ ?> getConfigFontInfo('Title1/color'); -$categoryItemTintColor = $this->getCategoryItemTintColor(); -$categoryItemBackgroundColor = $this->getData('conf/categoryItem/backgroundColor'); +/** @var $previewModel Mage_XmlConnect_Model_Preview_Ipad */ +$previewModel = Mage::helper('xmlconnect')->getPreviewModel(); -$productImage = $this->getPreviewImagesUrl('ipad/product_image.jpg'); -$backgroundIpadLandscapeImage = $this->getBackgroundImage(Mage_XmlConnect_Helper_Ipad::ORIENTATION_LANDSCAPE); -$bannerImageIpad = $this->getBannerImage(); -?> - +$title1color = $previewModel->getConfigFontInfo('Title1/color'); +$categoryItemTintColor = $previewModel->getCategoryItemTintColor(); +$categoryItemBackgroundColor = $previewModel->getData('conf/categoryItem/backgroundColor'); -
+$productImage = $previewModel->getPreviewImagesUrl('ipad/product_image.jpg'); +$backgroundIpadLandscapeImage = $previewModel->setOrientation(Mage_XmlConnect_Helper_Ipad::ORIENTATION_LANDSCAPE)->getBackgroundImage(); +$bannerImageIpad = $previewModel->getBannerImage(); +?> +
-
-
+
+
getChildHtml('tab_items'); ?>
- +
  • diff --git a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_ipad.phtml b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_ipad.phtml index 76435ef12c..471749b0fc 100755 --- a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_ipad.phtml +++ b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_ipad.phtml @@ -25,26 +25,27 @@ */ ?> getConfigFontInfo('Title1/color'); -$categoryItemTintColor = $this->getCategoryItemTintColor(); -$categoryItemBackgroundColor = $this->getData('conf/categoryItem/backgroundColor'); +/** @var $previewModel Mage_XmlConnect_Model_Preview_Ipad */ +$previewModel = Mage::helper('xmlconnect')->getPreviewModel(); -$productImage = $this->getPreviewImagesUrl('ipad/product_image.jpg'); -$backgroundIpadPortraitImage = $this->getBackgroundImage(Mage_XmlConnect_Helper_Ipad::ORIENTATION_PORTRAIT); -$bannerImageIpad = $this->getBannerImage(); -?> - +$title1color = $previewModel->getConfigFontInfo('Title1/color'); +$categoryItemTintColor = $previewModel->getCategoryItemTintColor(); +$categoryItemBackgroundColor = $previewModel->getData('conf/categoryItem/backgroundColor'); -
    +$productImage = $previewModel->getPreviewImagesUrl('ipad/product_image.jpg'); +$backgroundIpadPortraitImage = $previewModel->setOrientation(Mage_XmlConnect_Helper_Ipad::ORIENTATION_PORTRAIT)->getBackgroundImage(); +$bannerImageIpad = $previewModel->getBannerImage(); +?> +
    -
    -
    +
    +
    getChildHtml('tab_items'); ?>
    - +
    • diff --git a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_iphone.phtml b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_iphone.phtml new file mode 100755 index 0000000000..7bc6167858 --- /dev/null +++ b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/home_iphone.phtml @@ -0,0 +1,112 @@ + +getPreviewModel(); + +$categoryItemTintColor = $previewModel->getCategoryItemTintColor(); +$categoryItemBackgroundColor = $previewModel->getData('conf/categoryItem/backgroundColor'); + +$title1name = $previewModel->getConfigFontInfo('Title1/name'); +$title1size = $previewModel->getConfigFontInfo('Title1/size'); +$title1color = $previewModel->getConfigFontInfo('Title1/color'); + +$title9name = $previewModel->getConfigFontInfo('Title9/name'); +$title9size = $previewModel->getConfigFontInfo('Title9/size'); +$title9color = $previewModel->getConfigFontInfo('Title9/color'); + +$backgroundColor = $previewModel->getData('conf/body/backgroundColor'); +$menImage = $previewModel->getPreviewImagesUrl('men.png'); +$bannerImage = $previewModel->getBannerImage(); +?> +
      +
      +
      +
      +
      +
      __("Carrier"); ?>
      +
      +
      getData('conf/Time')): ?>getData('conf/Time'); ?>__("10:40 AM"); ?>
      +
      +
      +
      +
      + + + + + + +
      + + + + __("Home"); ?> + __("Home"); ?> + + +
      +
      +
      + +
      +
      + +
      __("80x80 px"); ?>
      +
      +
      + +
      __("80x80 px"); ?>
      +
      +
      + +
      __("80x80 px"); ?>
      +
      +
      + +
      __("80x80 px"); ?>
      +
      + +
      + getChildHtml('tab_items'); ?> +
      +
      +
      +getJsErrorMessage()) : ?> + + diff --git a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/productinfo.phtml b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/productinfo_iphone.phtml similarity index 51% rename from app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/productinfo.phtml rename to app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/productinfo_iphone.phtml index 839069a0a3..0f7aea8dd3 100755 --- a/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/productinfo.phtml +++ b/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/productinfo_iphone.phtml @@ -25,32 +25,35 @@ */ ?> getCategoryItemTintColor(); +/** @var $previewModel Mage_XmlConnect_Model_Preview_Iphone */ +$previewModel = Mage::helper('xmlconnect')->getPreviewModel(); + +$categoryItemTintColor = $previewModel->getCategoryItemTintColor(); ?> - +
      -
      +
      -
      +
      __("Carrier"); ?>
      -
      -
      getData('conf/Time')): ?>getData('conf/Time'); ?>__("10:40 AM"); ?>
      -
      +
      +
      getData('conf/Time')): ?>getData('conf/Time'); ?>__("10:40 AM"); ?>
      +
      -
      +
      - - + +
      - - - - __("Home"); ?> - __("Home"); ?> - - -
      + + + + __("Home"); ?> + __("Home"); ?> + + +
      -
    - - - - - -
    __('Main Tabs') ?>
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    __('Home'); ?>
    - - - - - - - - - - -
    __('Make Inactive'); ?>__('Make Inactive'); ?>__('Make Inactive'); ?>__('Make Inactive'); ?>
    -
    __('More Tabs') ?>
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - -
    __('Make Inactive'); ?>__('Make Inactive'); ?>__('Make Inactive'); ?>__('Make Inactive'); ?>__('Make Inactive'); ?>
    -
    __('Inactive Tabs'); ?>
    - - - - - - - - - - - - - - - - - - - - - - -
    __('Activate'); ?>__('Activate'); ?>__('Activate'); ?>__('Activate'); ?>__('Activate'); ?>
    - - diff --git a/app/design/adminhtml/default/default/template/xmlconnect/form/element/app_tabs_ipad.phtml b/app/design/adminhtml/default/default/template/xmlconnect/form/element/app_tabs_ipad.phtml index ae740109c0..596723ee77 100755 --- a/app/design/adminhtml/default/default/template/xmlconnect/form/element/app_tabs_ipad.phtml +++ b/app/design/adminhtml/default/default/template/xmlconnect/form/element/app_tabs_ipad.phtml @@ -143,7 +143,7 @@ function XmlconnectTabDisable(tabNumber) { id="getName()); ?>" value="getValue()); ?>" /> -
    __('Main Tabs') ?>
    +
    diff --git a/app/design/adminhtml/default/default/template/xmlconnect/form/element/country/androidmarket.phtml b/app/design/adminhtml/default/default/template/xmlconnect/form/element/country/androidmarket.phtml new file mode 100644 index 0000000000..704fea3362 --- /dev/null +++ b/app/design/adminhtml/default/default/template/xmlconnect/form/element/country/androidmarket.phtml @@ -0,0 +1,94 @@ + +getElement(); +$note = $element->getNote(); +$trId = $element->getHtmlContainerId(); +$class = $element->getFieldsetHtmlClass(); +?> +getNoDisplay()): ?> + id=""> + + + + diff --git a/app/design/adminhtml/default/default/template/xmlconnect/form/element/country/istore.phtml b/app/design/adminhtml/default/default/template/xmlconnect/form/element/country/istore.phtml new file mode 100644 index 0000000000..bb98b155c6 --- /dev/null +++ b/app/design/adminhtml/default/default/template/xmlconnect/form/element/country/istore.phtml @@ -0,0 +1,69 @@ + +getElement(); +$note = $element->getNote(); +$trId = $element->getHtmlContainerId(); +$class = $element->getFieldsetHtmlClass(); +?> +getNoDisplay()): ?> + id=""> + + + + diff --git a/app/design/adminhtml/default/default/template/xmlconnect/form/element/themes.phtml b/app/design/adminhtml/default/default/template/xmlconnect/form/element/themes.phtml index a68b4f61c1..343942e060 100644 --- a/app/design/adminhtml/default/default/template/xmlconnect/form/element/themes.phtml +++ b/app/design/adminhtml/default/default/template/xmlconnect/form/element/themes.phtml @@ -24,42 +24,44 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ ?> - - getColorFieldset(); $id2observe = array(); ?> @@ -338,20 +323,23 @@ $id2observe = array(); Event.observe(document, 'dom:loaded', function() { -$('').observe('change', function() { changeColorListener('');}); + $('').observe('change', function() { + changeColorListener(''); + }); }); //]]> - + + + + + diff --git a/app/design/adminhtml/default/default/template/xmlconnect/template/preview.phtml b/app/design/adminhtml/default/default/template/xmlconnect/template/preview.phtml index e14a5a4e06..8bef37c764 100755 --- a/app/design/adminhtml/default/default/template/xmlconnect/template/preview.phtml +++ b/app/design/adminhtml/default/default/template/xmlconnect/template/preview.phtml @@ -27,8 +27,8 @@ + <?php echo $this->__('AirMail Template Preview'); ?> - getChildHtml('content') ?> diff --git a/app/design/frontend/base/default/layout/paypal.xml b/app/design/frontend/base/default/layout/paypal.xml index 7f6ee2047d..0351c7f4dd 100644 --- a/app/design/frontend/base/default/layout/paypal.xml +++ b/app/design/frontend/base/default/layout/paypal.xml @@ -62,6 +62,7 @@ skin_jsjs/checkout/review.js + diff --git a/app/design/frontend/base/default/layout/sales.xml b/app/design/frontend/base/default/layout/sales.xml index 3c98682874..3234f68f71 100644 --- a/app/design/frontend/base/default/layout/sales.xml +++ b/app/design/frontend/base/default/layout/sales.xml @@ -134,6 +134,7 @@ Customer account home dashboard layout shipment*/*/shipment creditmemo*/*/creditmemo + @@ -154,6 +155,7 @@ Customer account home dashboard layout shipment creditmemo*/*/creditmemo + @@ -180,6 +182,7 @@ Customer account home dashboard layout shipment*/*/shipment creditmemo + @@ -204,6 +207,7 @@ Customer account home dashboard layout + @@ -219,6 +223,7 @@ Customer account home dashboard layout + @@ -228,6 +233,7 @@ Customer account home dashboard layout defaultsales/order_item_renderer_default + @@ -242,6 +248,7 @@ Customer account home dashboard layout + + + + + + + + + + + diff --git a/app/design/frontend/base/default/template/checkout/onepage/shipping_method/available.phtml b/app/design/frontend/base/default/template/checkout/onepage/shipping_method/available.phtml index 5b22868b57..594101c732 100644 --- a/app/design/frontend/base/default/template/checkout/onepage/shipping_method/available.phtml +++ b/app/design/frontend/base/default/template/checkout/onepage/shipping_method/available.phtml @@ -27,14 +27,14 @@ getShippingRates())): ?>

    __('Sorry, no quotes are available for this order at this time.') ?>

    -
    - +
    + $_rates): ?>
    getCarrierName($code) ?>
      - getCode()."':".(float)$_rate->getPrice(); ?> + getCode()."':".(float)$_rate->getPrice(); ?>
    • getErrorMessage()): ?>
        • getErrorMessage() ?>
      @@ -42,15 +42,15 @@ - getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" onchange="return includingShipping('getCode();?>');"/> + getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio"/> + getCode() === $this->getAddressShippingMethod()): ?> +
    -
    +
    diff --git a/app/design/frontend/base/default/template/checkout/success.phtml b/app/design/frontend/base/default/template/checkout/success.phtml index b1e2880053..875f9a047b 100644 --- a/app/design/frontend/base/default/template/checkout/success.phtml +++ b/app/design/frontend/base/default/template/checkout/success.phtml @@ -34,10 +34,10 @@ getCanViewOrder()) :?>

    __('Your order # is: %s.', sprintf('%s', $this->escapeHtml($this->getViewOrderUrl()), $this->escapeHtml($this->getOrderId()))) ?>

    -

    __('Your order # is: %s.', $this->escapeHtml($this->getOrderId())) ?>.

    +

    __('Your order # is: %s.', $this->escapeHtml($this->getOrderId())) ?>

    __('You will receive an order confirmation email with details of your order and a link to track its progress.') ?>

    -getViewOrder() && $this->getCanPrintOrder()) :?> +getCanViewOrder() && $this->getCanPrintOrder()) :?>

    __('Click here to print a copy of your order confirmation.', $this->getPrintUrl()) ?> getChildHtml() ?> diff --git a/app/design/frontend/base/default/template/customer/address/edit.phtml b/app/design/frontend/base/default/template/customer/address/edit.phtml index 08b37cdbaa..c7da24a1ba 100644 --- a/app/design/frontend/base/default/template/customer/address/edit.phtml +++ b/app/design/frontend/base/default/template/customer/address/edit.phtml @@ -45,7 +45,7 @@

    __('Contact Information') ?>

    • - getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getCustomer())->toHtml() ?> + getNameBlockHtml() ?>
    • diff --git a/app/design/frontend/base/default/template/downloadable/customer/products/list.phtml b/app/design/frontend/base/default/template/downloadable/customer/products/list.phtml index fa661ec3dc..c0f34c4df2 100644 --- a/app/design/frontend/base/default/template/downloadable/customer/products/list.phtml +++ b/app/design/frontend/base/default/template/downloadable/customer/products/list.phtml @@ -58,7 +58,7 @@
    - + diff --git a/app/design/frontend/base/default/template/email/order/items/creditmemo/default.phtml b/app/design/frontend/base/default/template/email/order/items/creditmemo/default.phtml index 4f8abf054d..c3f528ada5 100644 --- a/app/design/frontend/base/default/template/email/order/items/creditmemo/default.phtml +++ b/app/design/frontend/base/default/template/email/order/items/creditmemo/default.phtml @@ -37,6 +37,10 @@ + getProductAdditionalInformationBlock(); ?> + + setItem($_item->getOrderItem())->toHtml(); ?> + htmlEscape($_item->getDescription()) ?> diff --git a/app/design/frontend/base/default/template/email/order/items/invoice/default.phtml b/app/design/frontend/base/default/template/email/order/items/invoice/default.phtml index 4f8abf054d..c3f528ada5 100644 --- a/app/design/frontend/base/default/template/email/order/items/invoice/default.phtml +++ b/app/design/frontend/base/default/template/email/order/items/invoice/default.phtml @@ -37,6 +37,10 @@ + getProductAdditionalInformationBlock(); ?> + + setItem($_item->getOrderItem())->toHtml(); ?> + htmlEscape($_item->getDescription()) ?> diff --git a/app/design/frontend/base/default/template/email/order/items/order/default.phtml b/app/design/frontend/base/default/template/email/order/items/order/default.phtml index 3fb0073d23..8f830a031e 100644 --- a/app/design/frontend/base/default/template/email/order/items/order/default.phtml +++ b/app/design/frontend/base/default/template/email/order/items/order/default.phtml @@ -39,6 +39,10 @@ + getProductAdditionalInformationBlock(); ?> + + setItem($_item)->toHtml(); ?> + escapeHtml($_item->getDescription()) ?> diff --git a/app/design/frontend/base/default/template/email/order/items/shipment/default.phtml b/app/design/frontend/base/default/template/email/order/items/shipment/default.phtml index b2473c3a54..68cdcc1bcf 100644 --- a/app/design/frontend/base/default/template/email/order/items/shipment/default.phtml +++ b/app/design/frontend/base/default/template/email/order/items/shipment/default.phtml @@ -36,6 +36,10 @@ + getProductAdditionalInformationBlock(); ?> + + setItem($_item->getOrderItem())->toHtml(); ?> + htmlEscape($_item->getDescription()) ?> diff --git a/app/design/frontend/base/default/template/page/html/head.phtml b/app/design/frontend/base/default/template/page/html/head.phtml index eee69efa94..3edabd1d31 100644 --- a/app/design/frontend/base/default/template/page/html/head.phtml +++ b/app/design/frontend/base/default/template/page/html/head.phtml @@ -24,8 +24,8 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ ?> -<?php echo $this->getTitle() ?> +<?php echo $this->getTitle() ?> diff --git a/app/design/frontend/base/default/template/paypal/hss/iframe.phtml b/app/design/frontend/base/default/template/paypal/hss/iframe.phtml index f345a4e76e..e230f7e995 100644 --- a/app/design/frontend/base/default/template/paypal/hss/iframe.phtml +++ b/app/design/frontend/base/default/template/paypal/hss/iframe.phtml @@ -25,8 +25,10 @@ */ ?> - - +
    + __('Please do not refresh the page until you complete payment.') ?> +
    + - isSaleable()):?>
    - + + isSaleable()):?> + +
    -

    __('Wishlist is empty now.') ?>

    diff --git a/app/design/frontend/base/default/template/xmlconnect/pbridge/result.phtml b/app/design/frontend/base/default/template/xmlconnect/pbridge/result.phtml new file mode 100755 index 0000000000..8563faf93a --- /dev/null +++ b/app/design/frontend/base/default/template/xmlconnect/pbridge/result.phtml @@ -0,0 +1,41 @@ + + diff --git a/app/design/install/default/default/template/page.phtml b/app/design/install/default/default/template/page.phtml index 9422e9d226..7c5649e537 100644 --- a/app/design/install/default/default/template/page.phtml +++ b/app/design/install/default/default/template/page.phtml @@ -32,8 +32,8 @@ -<?php echo Mage::helper('install')->__('Magento Installation Wizard') ?> +<?php echo Mage::helper('install')->__('Magento Installation Wizard') ?> diff --git a/app/etc/modules/Mage_All.xml b/app/etc/modules/Mage_All.xml index 61a4b0fc03..e659f18109 100644 --- a/app/etc/modules/Mage_All.xml +++ b/app/etc/modules/Mage_All.xml @@ -221,6 +221,7 @@ + diff --git a/app/locale/en_US/Mage_Adminhtml.csv b/app/locale/en_US/Mage_Adminhtml.csv index 6a459c4dc3..173c7f8395 100644 --- a/app/locale/en_US/Mage_Adminhtml.csv +++ b/app/locale/en_US/Mage_Adminhtml.csv @@ -6,9 +6,10 @@ "%s cache type(s) disabled.","%s cache type(s) disabled." "%s cache type(s) enabled.","%s cache type(s) enabled." "%s cache type(s) refreshed.","%s cache type(s) refreshed." -"(Absolute path or Relative to Magento install root, ex. var/export)","(Absolute path or Relative to Magento install root, ex. var/export)" +"(For Type ""Local Server"" need to use relative path to Magento install var/export or var/import, e.g. var/export, var/import, var/export/some/dir, var/import/some/dir)","(For Type ""Local Server"" need to use relative path to Magento install var/export or var/import, e.g. var/export, var/import, var/export/some/dir, var/import/some/dir)" "(For US 2-letter state names)","(For US 2-letter state names)" "(If left empty will be auto-generated)","(If left empty will be auto-generated)" +"(Includes more countries than those listed below. As the application owner, you are responsible for complying with country-specific laws related to the distribution or sale of your application into that country, including your home country.)","(Includes more countries than those listed below. As the application owner, you are responsible for complying with country-specific laws related to the distribution or sale of your application into that country, including your home country.)" "(Leave empty for first spreadsheet)","(Leave empty for first spreadsheet)" "(Products will be added/updated to this store if 'store' column is blank or missing in the import file.)","(Products will be added/updated to this store if 'store' column is blank or missing in the import file.)" "(Shift-)Click or drag to change value","(Shift-)Click or drag to change value" @@ -45,6 +46,7 @@ "A user with the same user name or email aleady exists.","A user with the same user name or email aleady exists." "API Key","API Key" "API Key Confirmation","API Key Confirmation" +"ASCII","ASCII" "Abandoned Carts","Abandoned Carts" "About the calendar","About the calendar" "Access Denied","Access Denied" @@ -66,7 +68,6 @@ "Add Exception","Add Exception" "Add Field Mapping","Add Field Mapping" "Add Field with URL:","Add Field with URL:" -"Add More Templates","Add More Templates" "Add New Image","Add New Image" "Add New Profile","Add New Profile" "Add New Role","Add New Role" @@ -100,6 +101,7 @@ "All Websites","All Websites" "All countries","All countries" "All fields","All fields" +"All locations","All locations" "All possible rates were fetched, please click on ""Save"" to apply","All possible rates were fetched, please click on ""Save"" to apply" "All rates were fetched, please click on ""Save"" to apply","All rates were fetched, please click on ""Save"" to apply" "All valid rates have been saved.","All valid rates have been saved." @@ -135,7 +137,6 @@ "Any Store","Any Store" "Any Type","Any Type" "Any Visibility","Any Visibility" -"Apply Theme","Apply Theme" "Archive file name:","Archive file name:" "Are you sure that you want to delete this template?","Are you sure that you want to delete this template?" "Are you sure that you want to strip tags?","Are you sure that you want to strip tags?" @@ -151,6 +152,7 @@ "Available Products","Available Products" "Average Order Amount","Average Order Amount" "Average Orders","Average Orders" +"BINARY","BINARY" "Back","Back" "Back to Login","Back to Login" "Backup","Backup" @@ -207,6 +209,7 @@ "Category:","Category:" "Chairs","Chairs" "Change Orientation","Change Orientation" +"Changes have been saved to theme.","Changes have been saved to theme." "Channel","Channel" "Chart is disabled. If you want to enable chart, click here.","Chart is disabled. If you want to enable chart, click here." "Checkbox","Checkbox" @@ -304,6 +307,7 @@ "Delete User","Delete User" "Delete Website","Delete Website" "Description","Description" +"Deselect All","Deselect All" "Design","Design" "Design Section","Design Section" "Details","Details" @@ -348,6 +352,7 @@ "Entity Attributes","Entity Attributes" "Entity Type","Entity Type" "Entity type:","Entity type:" +"Error","Error" "Excel XML","Excel XML" "Excl. Tax","Excl. Tax" "Expiration Date","Expiration Date" @@ -372,6 +377,7 @@ "File","File" "File Information","File Information" "File System","File System" +"File mode","File mode" "File name:","File name:" "File size should be more than 0 bytes","File size should be more than 0 bytes" "Files","Files" @@ -413,6 +419,7 @@ "HTTP (unsecure)","HTTP (unsecure)" "HTTPS (SSL)","HTTPS (SSL)" "Help Us Keep Magento Healthy - Report All Bugs","Help Us Keep Magento Healthy - Report All Bugs" +"Helper attributes should not be used in custom layout updates.","Helper attributes should not be used in custom layout updates." "Helper for options rendering doesn't implement required interface.","Helper for options rendering doesn't implement required interface." "Home","Home" "ID","ID" @@ -460,6 +467,7 @@ "Invalid parent block for this block","Invalid parent block for this block" "Invalid parent block for this block.","Invalid parent block for this block." "Invalid sender name ""%s"". Please use only visible characters and spaces.","Invalid sender name ""%s"". Please use only visible characters and spaces." +"Invalid timezone","Invalid timezone" "Invalidated","Invalidated" "Inventory Stock Status","Inventory Stock Status" "Invoice #%s comment added","Invoice #%s comment added" @@ -501,6 +509,7 @@ "List Only","List Only" "Load Template","Load Template" "Load default template","Load default template" +"Loading Preview...","Loading Preview..." "Loading...","Loading..." "Local Server","Local Server" "Local/Remote Server","Local/Remote Server" @@ -638,6 +647,7 @@ "Optional","Optional" "Options","Options" "Options menu items","Options menu items" +"Order","Order" "Order #%s","Order #%s" "Order #%s (%s)","Order #%s (%s)" "Order Created Date","Order Created Date" @@ -804,7 +814,7 @@ "Required settings","Required settings" "Reset","Reset" "Reset Filter","Reset Filter" -"Reset Successful","Reset Successful" +"Reset theme to default","Reset theme to default" "Resize","Resize" "Resource Access","Resource Access" "Resources","Resources" @@ -860,7 +870,6 @@ "Select Category","Select Category" "Select Date","Select Date" "Select Range","Select Range" -"Select Template","Select Template" "Select Visible","Select Visible" "Select date","Select date" "Selected allowed currency ""%s"" is not available in installed currencies.","Selected allowed currency ""%s"" is not available in installed currencies." @@ -1009,6 +1018,7 @@ "The profile has been saved.","The profile has been saved." "The profile has been updated.","The profile has been updated." "The profile has no changes.","The profile has no changes." +"The profile you are trying to save no longer exists","The profile you are trying to save no longer exists" "The rating has been deleted.","The rating has been deleted." "The rating has been saved.","The rating has been saved." "The role has been deleted.","The role has been deleted." @@ -1021,7 +1031,7 @@ "The tag has been saved.","The tag has been saved." "The user has been deleted.","The user has been deleted." "The user has been saved.","The user has been saved." -"Theme has been saved.","Theme has been saved." +"Theme configurations are successfully reset.","Theme configurations are successfully reset." "Themes JavaScript and CSS files combined to one file.","Themes JavaScript and CSS files combined to one file." "There has been wrong payment information submitted or time limit has expired. Please, try again.","There has been wrong payment information submitted or time limit has expired. Please, try again." "There is an error in one of the option rows.","There is an error in one of the option rows." @@ -1172,6 +1182,8 @@ "Wrong tag was specified.","Wrong tag was specified." "Wrong transaction ID specified.","Wrong transaction ID specified." "XML","XML" +"XML data is invalid.","XML data is invalid." +"XML object is not instance of ""Varien_Simplexml_Element"".","XML object is not instance of ""Varien_Simplexml_Element""." "YTD","YTD" "Year","Year" "Yes","Yes" diff --git a/app/locale/en_US/Mage_Api.csv b/app/locale/en_US/Mage_Api.csv index ec06af6a7e..d79807793c 100644 --- a/app/locale/en_US/Mage_Api.csv +++ b/app/locale/en_US/Mage_Api.csv @@ -1,8 +1,9 @@ " and "," and " " note that the URLs provided below are the correct values for your current website): "," note that the URLs provided below are the correct values for your current website): " -"(Absolute path or Relative to Magento install root, ex. var/export)","(Absolute path or Relative to Magento install root, ex. var/export)" +"(For Type ""Local Server"" need to use relative path to Magento install var/export or var/import, e.g. var/export, var/import, var/export/some/dir, var/import/some/dir)","(For Type ""Local Server"" need to use relative path to Magento install var/export or var/import, e.g. var/export, var/import, var/export/some/dir, var/import/some/dir)" "(For US 2-letter state names)","(For US 2-letter state names)" "(If left empty will be auto-generated)","(If left empty will be auto-generated)" +"(Includes more countries than those listed below. As the application owner, you are responsible for complying with country-specific laws related to the distribution or sale of your application into that country, including your home country.)","(Includes more countries than those listed below. As the application owner, you are responsible for complying with country-specific laws related to the distribution or sale of your application into that country, including your home country.)" "(Leave empty for first spreadsheet)","(Leave empty for first spreadsheet)" "(Products will be added/updated to this store if 'store' column is blank or missing in the import file.)","(Products will be added/updated to this store if 'store' column is blank or missing in the import file.)" "(Shift-)Click or drag to change value","(Shift-)Click or drag to change value" @@ -20,6 +21,7 @@ "10:40 AM","10:40 AM" "80px x 80px","80px x 80px" "80x80 px","80x80 px" +"ASCII","ASCII" "About the calendar","About the calendar" "Access denied.","Access denied." "Account Created in:","Account Created in:" @@ -30,7 +32,6 @@ "Activate","Activate" "Add Contents Path","Add Contents Path" "Add Field with URL:","Add Field with URL:" -"Add More Templates","Add More Templates" "Add New Role","Add New Role" "Add New User","Add New User" "Add PHP Extension dependency","Add PHP Extension dependency" @@ -42,7 +43,7 @@ "All","All" "All Websites","All Websites" "All fields","All fields" -"Apply Theme","Apply Theme" +"All locations","All locations" "Archive file name:","Archive file name:" "Are you sure that you want to delete this template?","Are you sure that you want to delete this template?" "Are you sure that you want to strip tags?","Are you sure that you want to strip tags?" @@ -51,6 +52,7 @@ "Attributes","Attributes" "Authors","Authors" "Available Products","Available Products" +"BINARY","BINARY" "Back","Back" "Big Image","Big Image" "Billing Address","Billing Address" @@ -64,6 +66,7 @@ "Catalog","Catalog" "Chairs","Chairs" "Change Orientation","Change Orientation" +"Changes have been saved to theme.","Changes have been saved to theme." "Channel","Channel" "Child Transactions","Child Transactions" "Choose Store View","Choose Store View" @@ -104,6 +107,7 @@ "Default Response Charset","Default Response Charset" "Default Values","Default Values" "Delete","Delete" +"Deselect All","Deselect All" "Direction:","Direction:" "Display %s first","Display %s first" "Distributed under GNU LGPL. See %s for details.","Distributed under GNU LGPL. See %s for details." @@ -134,6 +138,7 @@ "FTP Host[:Port]","FTP Host[:Port]" "Field Mapping","Field Mapping" "File Information","File Information" +"File mode","File mode" "File name:","File name:" "Files","Files" "Final Price","Final Price" @@ -185,6 +190,7 @@ "Latest Message:","Latest Message:" "Leave empty to use tax identifier","Leave empty to use tax identifier" "Links with associated products will retain only after saving current product.","Links with associated products will retain only after saving current product." +"Loading Preview...","Loading Preview..." "Loading...","Loading..." "Local Server","Local Server" "Local/Remote Server","Local/Remote Server" @@ -192,8 +198,8 @@ "Log Out","Log Out" "Logged in as %s","Logged in as %s" "MS Excel XML","MS Excel XML" -"Magento Core Api","Magento Core Api" -"Magento Core Api Section","Magento Core Api Section" +"Magento Core API","Magento Core API" +"Magento Core API Section","Magento Core API Section" "Magento Logo","Magento Logo" "Magento ver. %s","Magento ver. %s" "Magento™ is a trademark of Magento Inc.
    Copyright © %s Magento Inc.","Magento™ is a trademark of Magento Inc.
    Copyright © %s Magento Inc." @@ -296,8 +302,7 @@ "Remote FTP","Remote FTP" "Remove","Remove" "Required settings","Required settings" -"Reset","Reset" -"Reset Successful","Reset Successful" +"Reset theme to default","Reset theme to default" "Resource Access","Resource Access" "Resources","Resources" "Return URL: ","Return URL: " @@ -312,7 +317,6 @@ "Select All","Select All" "Select Date","Select Date" "Select Range","Select Range" -"Select Template","Select Template" "Select Visible","Select Visible" "Select date","Select date" "Shipment Comments","Shipment Comments" @@ -348,10 +352,9 @@ "T-Shirts","T-Shirts" "Target","Target" "Tell a Friend","Tell a Friend" -"Template Name","Template Name" "The card has failed verification with the issuer bank.","The card has failed verification with the issuer bank." "The information in this tab has been changed.","The information in this tab has been changed." -"Theme has been saved.","Theme has been saved." +"Theme configurations are successfully reset.","Theme configurations are successfully reset." "There has been wrong payment information submitted or time limit has expired. Please, try again.","There has been wrong payment information submitted or time limit has expired. Please, try again." "This is a demo store. Any orders placed through this store will not be honored or fulfilled.","This is a demo store. Any orders placed through this store will not be honored or fulfilled." "This is a required field.","This is a required field." @@ -398,6 +401,7 @@ "View Gallery","View Gallery" "View Statistics For","View Statistics For" "Visibility:","Visibility:" +"WS-I Compliance","WS-I Compliance" "Warning! Empty value can cause problems with CSV format.","Warning! Empty value can cause problems with CSV format." "Warning!\r\nThis action will remove this user from already assigned role\r\nAre you sure?","Warning!\r\nThis action will remove this user from already assigned role\r\nAre you sure?" "Warning!\r\nThis action will remove those users from already assigned roles\r\nAre you sure?","Warning!\r\nThis action will remove those users from already assigned roles\r\nAre you sure?" diff --git a/app/locale/en_US/Mage_Catalog.csv b/app/locale/en_US/Mage_Catalog.csv index 7a6e4e5f74..a096837ab9 100644 --- a/app/locale/en_US/Mage_Catalog.csv +++ b/app/locale/en_US/Mage_Catalog.csv @@ -52,7 +52,6 @@ "An error occurred while removing products from websites.","An error occurred while removing products from websites." "An error occurred while saving the URL rewrite.","An error occurred while saving the URL rewrite." "An error occurred while saving the attribute set.","An error occurred while saving the attribute set." -"An error occurred while saving the collection, aborting. Error message: %s","An error occurred while saving the collection, aborting. Error message: %s" "An error occurred while saving the product. ","An error occurred while saving the product. " "An error occurred while saving the search query.","An error occurred while saving the search query." "An error occurred while saving this group.","An error occurred while saving this group." @@ -247,6 +246,7 @@ "Exclude","Exclude" "Expand All","Expand All" "Failed","Failed" +"Failed to copy file %s. Please, delete media with non-existing images and try again.","Failed to copy file %s. Please, delete media with non-existing images and try again." "Failed to move file: %s","Failed to move file: %s" "Feature Products","Feature Products" "Field is not complete","Field is not complete" @@ -343,7 +343,6 @@ "Maximal Depth","Maximal Depth" "Maximum Image Size","Maximum Image Size" "Maximum Qty Allowed in Shopping Cart","Maximum Qty Allowed in Shopping Cart" -"Maximum allowed image size for '%s' is %sx%s px.","Maximum allowed image size for '%s' is %sx%s px." "Maximum image height","Maximum image height" "Maximum image width","Maximum image width" "Maximum number of characters:","Maximum number of characters:" @@ -563,12 +562,8 @@ "Simple Product","Simple Product" "Site Map","Site Map" "Sitemap","Sitemap" -"Skip import row, is not valid value ""%s"" for field ""%s""","Skip import row, is not valid value ""%s"" for field ""%s""" "Skip import row, required field ""%s"" for the new customer is not defined.","Skip import row, required field ""%s"" for the new customer is not defined." -"Skip import row, the value ""%s"" is invalid for field ""%s""","Skip import row, the value ""%s"" is invalid for field ""%s""" -"Skipping import row, required field ""%s"" for new products is not defined.","Skipping import row, required field ""%s"" for new products is not defined." "Skipping import row, required field ""%s"" is not defined.","Skipping import row, required field ""%s"" is not defined." -"Skipping import row, store ""%s"" field does not exist.","Skipping import row, store ""%s"" field does not exist." "Skipping import row, the value ""%s"" is not valid for the ""%s"" field.","Skipping import row, the value ""%s"" is not valid for the ""%s"" field." "Some of the processed products have no SKU value defined. Please fill it prior to performing operations on these products.","Some of the processed products have no SKU value defined. Please fill it prior to performing operations on these products." "Some of the products below do not have all the required options. Please edit them and configure all the required options.","Some of the products below do not have all the required options. Please edit them and configure all the required options." @@ -603,8 +598,6 @@ "The category has been saved.","The category has been saved." "The comparison list was cleared.","The comparison list was cleared." "The email template is not specified by administrator.","The email template is not specified by administrator." -"The file '%s' for '%s' has an invalid extension","The file '%s' for '%s' has an invalid extension" -"The file '%s' you uploaded is larger than %s Megabytes allowed by server","The file '%s' you uploaded is larger than %s Megabytes allowed by server" "The file you uploaded is larger than %s Megabytes allowed by server","The file you uploaded is larger than %s Megabytes allowed by server" "The filters must be an array.","The filters must be an array." "The image contents is not valid base64 data.","The image contents is not valid base64 data." diff --git a/app/locale/en_US/Mage_Checkout.csv b/app/locale/en_US/Mage_Checkout.csv index 2608f9810a..28cecee10d 100644 --- a/app/locale/en_US/Mage_Checkout.csv +++ b/app/locale/en_US/Mage_Checkout.csv @@ -4,6 +4,7 @@ "Add New Address","Add New Address" "Add New Condition","Add New Condition" "Add coupon code for shopping cart","Add coupon code for shopping cart" +"Add gift messages to shopping cart","Add gift messages to shopping cart" "Add product to shopping cart","Add product to shopping cart" "Add product(s) to shopping cart","Add product(s) to shopping cart" "Add to Cart","Add to Cart" @@ -41,7 +42,7 @@ "Cannot update shopping cart.","Cannot update shopping cart." "Cannot update the item.","Cannot update the item." "Card Verification Number Visual Reference","Card Verification Number Visual Reference" -"Cart Product Api","Cart Product Api" +"Cart Product API","Cart Product API" "Cart Subtotal:","Cart Subtotal:" "Change","Change" "Change Billing Address","Change Billing Address" @@ -124,6 +125,7 @@ "Get list of products in shopping cart","Get list of products in shopping cart" "Get terms and conditions","Get terms and conditions" "Get total prices for shopping cart","Get total prices for shopping cart" +"Gift Message","Gift Message" "Grand Total:","Grand Total:" "Grouped Product Image","Grouped Product Image" "HTML","HTML" @@ -165,9 +167,12 @@ "One Page Checkout Failure","One Page Checkout Failure" "One Page Checkout Overview","One Page Checkout Overview" "One Page Checkout Success","One Page Checkout Success" +"One item of products do not have identifier or sku","One item of products do not have identifier or sku" +"One item of products is not belong any of quote item","One item of products is not belong any of quote item" "Order #","Order #" "Order Review","Order Review" "Order Success","Order Success" +"Order place error.","Order place error." "Other Items in Your Order","Other Items in Your Order" "Overview Items After","Overview Items After" "Password","Password" diff --git a/app/locale/en_US/Mage_Cms.csv b/app/locale/en_US/Mage_Cms.csv index 008b2eed53..209fe6c36c 100644 --- a/app/locale/en_US/Mage_Cms.csv +++ b/app/locale/en_US/Mage_Cms.csv @@ -76,6 +76,7 @@ "Layout Update XML","Layout Update XML" "Link to a CMS Page","Link to a CMS Page" "Manage Pages","Manage Pages" +"Media Gallery","Media Gallery" "Media Storage","Media Storage" "Meta Data","Meta Data" "Meta Description","Meta Description" diff --git a/app/locale/en_US/Mage_Core.csv b/app/locale/en_US/Mage_Core.csv index 324469c31c..9532849366 100644 --- a/app/locale/en_US/Mage_Core.csv +++ b/app/locale/en_US/Mage_Core.csv @@ -11,7 +11,13 @@ "Admin Base URL","Admin Base URL" "Admin User Emails","Admin User Emails" "Advanced","Advanced" +"After selecting a new media storage location, press the Synchronize button + to transfer all media to that location. Media will not be available in the new + location until the synchronization process is complete.","After selecting a new media storage location, press the Synchronize button + to transfer all media to that location. Media will not be available in the new + location until the synchronization process is complete." "Allow Countries","Allow Countries" +"Allow Symlinks","Allow Symlinks" "Allowed IPs (comma separated)","Allowed IPs (comma separated)" "Allowed file types: ICO, PNG, GIF, JPEG, APNG, SVG. Not all browsers support all these formats!","Allowed file types: ICO, PNG, GIF, JPEG, APNG, SVG. Not all browsers support all these formats!" "Allows customers to stay logged in when switching between different stores.","Allows customers to stay logged in when switching between different stores." @@ -38,6 +44,7 @@ "CSS Settings","CSS Settings" "Cache Storage Management","Cache Storage Management" "Cache storage may contain additional data. Are you sure that you want flush it?","Cache storage may contain additional data. Are you sure that you want flush it?" +"Can not create invoice. Order was not found.","Can not create invoice. Order was not found." "Can't retrieve request object","Can't retrieve request object" "Cancel","Cancel" "Cannot complete this operation from non-admin area.","Cannot complete this operation from non-admin area." @@ -101,6 +108,7 @@ "Enabled","Enabled" "Enabled for Admin","Enabled for Admin" "Enabled for Frontend","Enabled for Frontend" +"Environment Update Time","Environment Update Time" "Error in file: ""%s"" - %s","Error in file: ""%s"" - %s" "Error: Passwords do not match","Error: Passwords do not match" "Exceptions Log File Name","Exceptions Log File Name" @@ -125,6 +133,7 @@ "ID Path for Specified Store","ID Path for Specified Store" "If the current frame position does not cover utmost pages, will render link to current position plus/minus this value.","If the current frame position does not cover utmost pages, will render link to current position plus/minus this value." "Incorrect credit card expiration date.","Incorrect credit card expiration date." +"Input type ""%value%"" not found in the input types list.","Input type ""%value%"" not found in the input types list." "Invalid base url type","Invalid base url type" "Invalid block name to set child %s: %s","Invalid block name to set child %s: %s" "Invalid block type: %s","Invalid block type: %s" @@ -169,6 +178,9 @@ "Pagination Frame","Pagination Frame" "Pagination Frame Skip","Pagination Frame Skip" "Parent directory does not exist: %s","Parent directory does not exist: %s" +"Path ""%value%"" is not available and cannot be used.","Path ""%value%"" is not available and cannot be used." +"Path ""%value%"" is protected and cannot be used.","Path ""%value%"" is protected and cannot be used." +"Path ""%value%"" may not include parent directory traversal (""../"", ""..\\).""","Path ""%value%"" may not include parent directory traversal (""../"", ""..\\).""" "Please choose to register or to checkout as a guest","Please choose to register or to checkout as a guest" "Please define flag code.","Please define flag code." "Please enter 6 or more characters.","Please enter 6 or more characters." @@ -184,6 +196,9 @@ "Please enter a valid XML-identifier. For example something_1, block5, id-4.","Please enter a valid XML-identifier. For example something_1, block5, id-4." "Please enter a valid credit card number.","Please enter a valid credit card number." "Please enter a valid credit card verification number.","Please enter a valid credit card verification number." +"Please enter a valid date between %s and %s","Please enter a valid date between %s and %s" +"Please enter a valid date equal to or greater than %s","Please enter a valid date equal to or greater than %s" +"Please enter a valid date less than or equal to %s","Please enter a valid date less than or equal to %s" "Please enter a valid date.","Please enter a valid date." "Please enter a valid day (1-%d).","Please enter a valid day (1-%d)." "Please enter a valid email address. For example johndoe@domain.com.","Please enter a valid email address. For example johndoe@domain.com." @@ -204,6 +219,7 @@ "Please select an option.","Please select an option." "Please select one of the above options.","Please select one of the above options." "Please select one of the options.","Please select one of the options." +"Please set available and/or protected paths list(s) before validation.","Please set available and/or protected paths list(s) before validation." "Please specify either a category or a product, or both.","Please specify either a category or a product, or both." "Please specify payment method.","Please specify payment method." "Please specify shipping method.","Please specify shipping method." @@ -223,6 +239,7 @@ "Port (25)","Port (25)" "Profiler","Profiler" "Request Path for Specified Store","Request Path for Specified Store" +"Requested file may not include parent directory traversal (""../"", ""..\\ notation)""","Requested file may not include parent directory traversal (""../"", ""..\\ notation)""" "Requested invalid store ""%s""","Requested invalid store ""%s""" "Resource is not set.","Resource is not set." "Return-Path Email","Return-Path Email" @@ -267,6 +284,7 @@ "System","System" "System Log File Name","System Log File Name" "Template Path Hints","Template Path Hints" +"Template Settings","Template Settings" "Template Variables","Template Variables" "Templates","Templates" "Text length does not satisfy specified text range.","Text length does not satisfy specified text range." @@ -327,6 +345,7 @@ "Validation has failed.","Validation has failed." "Values less than 60 are ignored. Note that changes will apply after logout.","Values less than 60 are ignored. Note that changes will apply after logout." "Variable Code must be unique.","Variable Code must be unique." +"Warning! Enabling this feature is not recommended on production environments because it represents a potential security risk.","Warning! Enabling this feature is not recommended on production environments because it represents a potential security risk." "Web","Web" "Website","Website" "Website Information","Website Information" @@ -335,13 +354,6 @@ "Website with the same code","Website with the same code" "Weekend Days","Weekend Days" "Welcome Text","Welcome Text" -"When changing media storage or selecting another media database, - use the Synchronize function to transfer media to the selected - storage. After synchronization is completed, all new media will be - automatically placed to the selected media storage.","When changing media storage or selecting another media database, - use the Synchronize function to transfer media to the selected - storage. After synchronization is completed, all new media will be - automatically placed to the selected media storage." "Wrong file info format","Wrong file info format" "Wrong number of arguments for %s","Wrong number of arguments for %s" "Yes","Yes" diff --git a/app/locale/en_US/Mage_Customer.csv b/app/locale/en_US/Mage_Customer.csv index 9cb2e3fd5a..e1fddf6e72 100644 --- a/app/locale/en_US/Mage_Customer.csv +++ b/app/locale/en_US/Mage_Customer.csv @@ -19,6 +19,16 @@ """%s"" length must be equal to or greater than %s characters.","""%s"" length must be equal to or greater than %s characters." """%s"" length must be less than or equal to %s characters.","""%s"" length must be less than or equal to %s characters." """%s"" width exceeds allowed value of %s px.","""%s"" width exceeds allowed value of %s px." +"'%value%' appears to be a DNS hostname but cannot extract TLD part","'%value%' appears to be a DNS hostname but cannot extract TLD part" +"'%value%' appears to be a DNS hostname but cannot match TLD against known list","'%value%' appears to be a DNS hostname but cannot match TLD against known list" +"'%value%' appears to be a DNS hostname but cannot match against hostname schema for TLD '%tld%'","'%value%' appears to be a DNS hostname but cannot match against hostname schema for TLD '%tld%'" +"'%value%' appears to be a DNS hostname but contains a dash in an invalid position","'%value%' appears to be a DNS hostname but contains a dash in an invalid position" +"'%value%' appears to be a DNS hostname but the given punycode notation cannot be decoded","'%value%' appears to be a DNS hostname but the given punycode notation cannot be decoded" +"'%value%' appears to be a local network name but local network names are not allowed","'%value%' appears to be a local network name but local network names are not allowed" +"'%value%' appears to be an IP address, but IP addresses are not allowed","'%value%' appears to be an IP address, but IP addresses are not allowed" +"'%value%' does not appear to be a valid URI hostname","'%value%' does not appear to be a valid URI hostname" +"'%value%' does not appear to be a valid local network name","'%value%' does not appear to be a valid local network name" +"'%value%' does not match the expected structure for a DNS hostname","'%value%' does not match the expected structure for a DNS hostname" "* Required Fields","* Required Fields" "A new password has been sent.","A new password has been sent." "ALL GROUPS","ALL GROUPS" @@ -94,12 +104,12 @@ "Create customer address","Create customer address" "Current Password","Current Password" "Customer","Customer" +"Customer API","Customer API" "Customer Account Edit Form","Customer Account Edit Form" "Customer Account Login Form","Customer Account Login Form" "Customer Account Logout Success","Customer Account Logout Success" "Customer Account Registration Form","Customer Account Registration Form" "Customer Addresses","Customer Addresses" -"Customer Api","Customer Api" "Customer Configuration","Customer Configuration" "Customer Forgot Password Form","Customer Forgot Password Form" "Customer Group","Customer Group" @@ -188,6 +198,7 @@ "Invalid email address.","Invalid email address." "Invalid login or password.","Invalid login or password." "Invalid store specified, skipping the record.","Invalid store specified, skipping the record." +"Invalid type given. String expected","Invalid type given. String expected" "Last Activity","Last Activity" "Last Date Subscribed","Last Date Subscribed" "Last Date Unsubscribed","Last Date Unsubscribed" diff --git a/app/locale/en_US/Mage_Dataflow.csv b/app/locale/en_US/Mage_Dataflow.csv index 1de330594b..60bb9f8ee4 100644 --- a/app/locale/en_US/Mage_Dataflow.csv +++ b/app/locale/en_US/Mage_Dataflow.csv @@ -1,10 +1,8 @@ "Link","Link" -"Access denied to destination folder ""%s"".","Access denied to destination folder ""%s""." "An error occurred while opening file: ""%s"".","An error occurred while opening file: ""%s""." "Could not load file: ""%s"".","Could not load file: ""%s""." "Could not save file: %s.","Could not save file: %s." "Declared adapter %s was not found.","Declared adapter %s was not found." -"Destination folder ""%s"" does not exist or there is no access to create it.","Destination folder ""%s"" does not exist or there is no access to create it." "Destination folder ""%s"" is not a directory.","Destination folder ""%s"" is not a directory." "Destination folder ""%s"" is not writable.","Destination folder ""%s"" is not writable." "Done","Done" diff --git a/app/locale/en_US/Mage_Directory.csv b/app/locale/en_US/Mage_Directory.csv index 5ea2f83d0a..fcd4d9f899 100644 --- a/app/locale/en_US/Mage_Directory.csv +++ b/app/locale/en_US/Mage_Directory.csv @@ -6,7 +6,7 @@ "Connection Timeout in Seconds","Connection Timeout in Seconds" "Continue »","Continue »" "Country","Country" -"Country Api","Country Api" +"Country API","Country API" "Country and Format Type combination should be unique","Country and Format Type combination should be unique" "Currency","Currency" "Currency Options","Currency Options" @@ -29,7 +29,7 @@ "List of regions in specified country","List of regions in specified country" "Postal Code is Optional for the following countries","Postal Code is Optional for the following countries" "Region","Region" -"Region Api","Region Api" +"Region API","Region API" "Scheduled Import Settings","Scheduled Import Settings" "Select Your Currency","Select Your Currency" "Service","Service" diff --git a/app/locale/en_US/Mage_Downloadable.csv b/app/locale/en_US/Mage_Downloadable.csv index 72cb41a1c9..519d34f49c 100644 --- a/app/locale/en_US/Mage_Downloadable.csv +++ b/app/locale/en_US/Mage_Downloadable.csv @@ -41,6 +41,8 @@ "Open Links in New Window","Open Links in New Window" "Order #","Order #" "Order Item Status to Enable Downloads","Order Item Status to Enable Downloads" +"Order id cannot be null","Order id cannot be null" +"Order item id cannot be null","Order item id cannot be null" "Ordered","Ordered" "Out of stock","Out of stock" "Pending","Pending" diff --git a/app/locale/en_US/Mage_GiftMessage.csv b/app/locale/en_US/Mage_GiftMessage.csv index 08c68d5c13..7bb450a2f6 100644 --- a/app/locale/en_US/Mage_GiftMessage.csv +++ b/app/locale/en_US/Mage_GiftMessage.csv @@ -1,4 +1,7 @@ "Add","Add" +"Add gift message for shopping cart","Add gift message for shopping cart" +"Add gift messages for quote item of shopping cart","Add gift messages for quote item of shopping cart" +"Add gift messages to products of shopping cart","Add gift messages to products of shopping cart" "Add gift options","Add gift options" "Add gift options for Individual Items","Add gift options for Individual Items" "Add gift options for the Entire Order","Add gift options for the Entire Order" @@ -12,6 +15,7 @@ "Edit","Edit" "From","From" "Gift Message","Gift Message" +"Gift Message API","Gift Message API" "Gift Options","Gift Options" "Gift Options for","Gift Options for" "Gift Options for Individual Items","Gift Options for Individual Items" diff --git a/app/locale/en_US/Mage_GoogleBase.csv b/app/locale/en_US/Mage_GoogleBase.csv index 17ea1555ea..c5138a2faf 100644 --- a/app/locale/en_US/Mage_GoogleBase.csv +++ b/app/locale/en_US/Mage_GoogleBase.csv @@ -14,6 +14,7 @@ "Attributes Set","Attributes Set" "AuthSub","AuthSub" "Available Products","Available Products" +"Base Currency should be set to %s for %s in system configuration. Otherwise item prices won't be correct in Google Base.","Base Currency should be set to %s for %s in system configuration. Otherwise item prices won't be correct in Google Base." "British Pound Sterling","British Pound Sterling" "Cannot update Google Base Item for Store '%s'","Cannot update Google Base Item for Store '%s'" "Captcha confirmation error: %s","Captcha confirmation error: %s" @@ -60,7 +61,6 @@ "No items were saved as inactive items","No items were saved as inactive items" "No products were added to Google Base","No products were added to Google Base" "Object model is not specified to save Google Base entry.","Object model is not specified to save Google Base entry." -"Page views","Page views" "Please, select Attribute Set and Google Item Type to load attributes","Please, select Attribute Set and Google Item Type to load attributes" "Product Name","Product Name" "Publish","Publish" diff --git a/app/locale/en_US/Mage_Newsletter.csv b/app/locale/en_US/Mage_Newsletter.csv index 51c90185db..4c270c62e1 100644 --- a/app/locale/en_US/Mage_Newsletter.csv +++ b/app/locale/en_US/Mage_Newsletter.csv @@ -68,6 +68,7 @@ "Paused","Paused" "Please enter a valid email address.","Please enter a valid email address." "Please enter new template name","Please enter new template name" +"Please refer to exeption.log","Please refer to exeption.log" "Please select subscriber(s)","Please select subscriber(s)" "Preview","Preview" "Preview Template","Preview Template" diff --git a/app/locale/en_US/Mage_Paygate.csv b/app/locale/en_US/Mage_Paygate.csv index 23c3b1de08..967614d116 100644 --- a/app/locale/en_US/Mage_Paygate.csv +++ b/app/locale/en_US/Mage_Paygate.csv @@ -10,7 +10,7 @@ "Authorize.Net Transaction ID %s","Authorize.Net Transaction ID %s" "Authorize.net","Authorize.net" "Cancel","Cancel" -"Centinel Api URL","Centinel Api URL" +"Centinel API URL","Centinel API URL" "Credit Card Types","Credit Card Types" "Credit Card Verification","Credit Card Verification" "Credit Card: xxxx-%s","Credit Card: xxxx-%s" diff --git a/app/locale/en_US/Mage_Paypal.csv b/app/locale/en_US/Mage_Paypal.csv index 24089dfa35..38d15c9386 100644 --- a/app/locale/en_US/Mage_Paypal.csv +++ b/app/locale/en_US/Mage_Paypal.csv @@ -31,7 +31,6 @@ "Allowable values: ""paypal"", ""primary"" (default), your_custom_value (a custom payment page style from your merchant account profile).","Allowable values: ""paypal"", ""primary"" (default), your_custom_value (a custom payment page style from your merchant account profile)." "Allowed Credit Card Types","Allowed Credit Card Types" "Also affects mini-shopping cart.","Also affects mini-shopping cart." -"Api/Integration","Api/Integration" "Ask Customer","Ask Customer" "Attempted Authentication, Bad Result","Attempted Authentication, Bad Result" "Attempted Authentication, Good Result","Attempted Authentication, Good Result" @@ -54,8 +53,7 @@ "Can not send new order email.","Can not send new order email." "Cannot create target file for reading reports.","Cannot create target file for reading reports." "Centinel API URL","Centinel API URL" -"Centinel Api URL","Centinel Api URL" -"Centinel Custom Api URL","Centinel Custom Api URL" +"Centinel Custom API URL","Centinel Custom API URL" "Change Payment Method","Change Payment Method" "Change Shipping Address","Change Shipping Address" "Charge-off","Charge-off" @@ -160,6 +158,8 @@ "Impossible to issue a refund transaction because the capture transaction does not exist.","Impossible to issue a refund transaction because the capture transaction does not exist." "Incentive","Incentive" "Initiation Date","Initiation Date" +"Integral Evolution","Integral Evolution" +"Integral Evolution Settings","Integral Evolution Settings" "Invoice ID","Invoice ID" "Issuer Liability","Issuer Liability" "It is recommended to set this value to ""Debit or Credit Card"" per store views.","It is recommended to set this value to ""Debit or Credit Card"" per store views." @@ -225,6 +225,8 @@ "Page Style","Page Style" "Part of the address information matched","Part of the address information matched" "Partner","Partner" +"Pasarela integral","Pasarela integral" +"Pasarela integral Settings","Pasarela integral Settings" "Password","Password" "Pay Now","Pay Now" "PayPal","PayPal" @@ -237,6 +239,8 @@ "PayPal Express Order Review Form","PayPal Express Order Review Form" "PayPal Fee Information","PayPal Fee Information" "PayPal Merchant Pages Style","PayPal Merchant Pages Style" +"PayPal Pro","PayPal Pro" +"PayPal Pro Settings","PayPal Pro Settings" "PayPal Product Logo","PayPal Product Logo" "PayPal Protection Bonus","PayPal Protection Bonus" "PayPal Reference ID","PayPal Reference ID" @@ -385,9 +389,11 @@ "Void","Void" "We prefer PayPal (150 X 40)","We prefer PayPal (150 X 40)" "We prefer PayPal (150 X 60)","We prefer PayPal (150 X 60)" +"Website Payments Plus","Website Payments Plus" +"Website Payments Plus Settings","Website Payments Plus Settings" "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","Website Payments Pro Hosted Solution" "Website Payments Pro Hosted Solution Settings","Website Payments Pro Hosted Solution Settings" "Website Payments Pro Payflow Edition (includes Express Checkout)","Website Payments Pro Payflow Edition (includes Express Checkout)" "Website Payments Pro Settings","Website Payments Pro Settings" diff --git a/app/locale/en_US/Mage_Sales.csv b/app/locale/en_US/Mage_Sales.csv index 761b445bf8..11f39eebef 100644 --- a/app/locale/en_US/Mage_Sales.csv +++ b/app/locale/en_US/Mage_Sales.csv @@ -238,6 +238,7 @@ "Hold order","Hold order" "ID","ID" "ID #","ID #" +"IPN ""Refunded"". Refund issued by merchant. Registered notification about refunded amount of %s. Transaction ID: ""%s""","IPN ""Refunded"". Refund issued by merchant. Registered notification about refunded amount of %s. Transaction ID: ""%s""" "If empty, the default description above will be used.","If empty, the default description above will be used." "If empty, the default error above will be used.","If empty, the default error above will be used." "If the invoice was created offline, try creating an offline creditmemo.","If the invoice was created offline, try creating an offline creditmemo." @@ -527,7 +528,6 @@ "Refunds","Refunds" "Registered a Void notification.","Registered a Void notification." "Registered notification about approved payment.","Registered notification about approved payment." -"Registered notification about authorized amount of %s.","Registered notification about authorized amount of %s." "Registered notification about captured amount of %s.","Registered notification about captured amount of %s." "Registered notification about denied payment.","Registered notification about denied payment." "Registered notification about refunded amount of %s.","Registered notification about refunded amount of %s." @@ -574,6 +574,7 @@ "Save Status Assignment","Save Status Assignment" "Save in address book","Save in address book" "Schedule","Schedule" +"Select","Select" "Select from existing customer addresses:","Select from existing customer addresses:" "Send Credit Memo Comment Email Copy To","Send Credit Memo Comment Email Copy To" "Send Credit Memo Email Copy To","Send Credit Memo Email Copy To" @@ -692,7 +693,7 @@ "This operation requires an existing transaction object.","This operation requires an existing transaction object." "This order contains (%s) items and therefore cannot be edited through the admin interface at this time, if you wish to continue editing the (%s) items will be removed, the order will be canceled and a new order will be placed.","This order contains (%s) items and therefore cannot be edited through the admin interface at this time, if you wish to continue editing the (%s) items will be removed, the order will be canceled and a new order will be placed." "This order no longer exists.","This order no longer exists." -"This product does not have any configurable options.","This product does not have any configurable options." +"This product does not have any configurable options","This product does not have any configurable options" "This product has not been configured.","This product has not been configured." "This profile state cannot be changed to ""%s"".","This profile state cannot be changed to ""%s""." "This will create an offline refund. To create an online refund, open an invoice and create credit memo for it. Do you wish to proceed?","This will create an offline refund. To create an online refund, open an invoice and create credit memo for it. Do you wish to proceed?" diff --git a/app/locale/en_US/Mage_SalesRule.csv b/app/locale/en_US/Mage_SalesRule.csv index 54b741c843..bb862cbb4d 100644 --- a/app/locale/en_US/Mage_SalesRule.csv +++ b/app/locale/en_US/Mage_SalesRule.csv @@ -36,6 +36,7 @@ "Edit Rule","Edit Rule" "Edit Rule '%s'","Edit Rule '%s'" "Expire at: %s","Expire at: %s" +"FOUND","FOUND" "Fixed amount discount","Fixed amount discount" "Fixed amount discount for whole cart","Fixed amount discount for whole cart" "For matching items only","For matching items only" @@ -48,6 +49,7 @@ "Item totals are not set for rule.","Item totals are not set for rule." "Labels","Labels" "Maximum Qty Discount is Applied To","Maximum Qty Discount is Applied To" +"NOT FOUND","NOT FOUND" "NOT LOGGED IN","NOT LOGGED IN" "Name: %s","Name: %s" "New Rule","New Rule" diff --git a/app/locale/en_US/Mage_XmlConnect.csv b/app/locale/en_US/Mage_XmlConnect.csv index f461a7e767..3aadafe700 100644 --- a/app/locale/en_US/Mage_XmlConnect.csv +++ b/app/locale/en_US/Mage_XmlConnect.csv @@ -1,9 +1,14 @@ " "," " " But cart has some errors."," But cart has some errors." +"""Description"" is more than %d characters long","""Description"" is more than %d characters long" """Title"" is more than %d characters long","""Title"" is more than %d characters long" "%1$s has been added to your wishlist.","%1$s has been added to your wishlist." "%1$s incl tax.","%1$s incl tax." +"%s API Key required.","%s API Key required." +"%s Application ID required.","%s Application ID required." +"%s Secret Key required.","%s Secret Key required." "%s has been added to your cart.","%s has been added to your cart." +"(Includes more countries than those listed below. As the application owner, you are responsible for complying with country-specific laws related to the distribution or sale of your application into that country, including your home country.)","(Includes more countries than those listed below. As the application owner, you are responsible for complying with country-specific laws related to the distribution or sale of your application into that country, including your home country.)" "10:40 AM","10:40 AM" "80px x 80px","80px x 80px" "80x80 px","80x80 px" @@ -17,7 +22,6 @@ "Activate PayPal Checkout","Activate PayPal Checkout" "Activation Key","Activation Key" "Add App","Add App" -"Add More Templates","Add More Templates" "Add New Template","Add New Template" "Add Page","Add Page" "Add to Cart","Add to Cart" @@ -38,6 +42,7 @@ "AirMail Template Preview","AirMail Template Preview" "AirMail message","AirMail message" "AirMail templates","AirMail templates" +"All locations","All locations" "An account with this email address already exists.","An account with this email address already exists." "An error occurred while adding item to wishlist.","An error occurred while adding item to wishlist." "An error occurred while deleting the address.","An error occurred while deleting the address." @@ -49,11 +54,15 @@ "Analytics","Analytics" "Android","Android" "App Background","App Background" -"App Background (landscape mode)","App Background (landscape mode)" -"App Background (portrait mode)","App Background (portrait mode)" +"App Background (landscape mode).","App Background (landscape mode)." +"App Background (portrait mode).","App Background (portrait mode)." +"App Background
    (landscape mode)","App Background
    (landscape mode)" +"App Background
    (portrait mode)","App Background
    (portrait mode)" +"App Background image missing.","App Background image missing." "App Code","App Code" "App Information","App Information" "App Name","App Name" +"App Stores","App Stores" "App Submission History","App Submission History" "App Title","App Title" "App code required.","App code required." @@ -63,13 +72,12 @@ "App has been submitted.","App has been submitted." "App model not loaded.","App model not loaded." "App with specified code does not exist.","App with specified code does not exist." -"Appears in the info section of your app (example: Copyright 2010 – Your Company, Inc.)","Appears in the info section of your app (example: Copyright 2010 – Your Company, Inc.)" +"Appears in the info section of your app (example: Copyright 2010 – Your Company, Inc.)","Appears in the info section of your app (example: Copyright 2010 – Your Company, Inc.)" "Application","Application" "Application Key","Application Key" "Application Master Secret","Application Master Secret" "Application Name","Application Name" "Application Secret","Application Secret" -"Apply Theme","Apply Theme" "Apply will automatically resize this image for display in the App Store and on users’ devices. A gloss (i.e. gradient) will also be applied, so you do not need to apply a gradient. Image must be at least 512x512","Apply will automatically resize this image for display in the App Store and on users’ devices. A gloss (i.e. gradient) will also be applied, so you do not need to apply a gradient. Image must be at least 512x512" "Are you sure you whant to cancel a message?","Are you sure you whant to cancel a message?" "Are you sure you whant to delete a message?","Are you sure you whant to delete a message?" @@ -80,12 +88,17 @@ "Back to App Edit","Back to App Edit" "Background Color","Background Color" "Banner on Home Screen","Banner on Home Screen" +"Banner on Home Screen image missing.","Banner on Home Screen image missing." "Billing address has been set.","Billing address has been set." "Buy %1$s for %2$s","Buy %1$s for %2$s" "Buy %1$s for %2$s (%3$s incl. tax) each","Buy %1$s for %2$s (%3$s incl. tax) each" "Buy %1$s for %2$s each","Buy %1$s for %2$s each" +"Buyer country is not allowed by store.","Buyer country is not allowed by store." +"Cache Lifetime (seconds)","Cache Lifetime (seconds)" +"Cache Management","Cache Management" "Can\'t add item to shopping cart.","Can\'t add item to shopping cart." "Can\'t apply the coupon code.","Can\'t apply the coupon code." +"Can\'t copy file ""%s"" to ""%s"".","Can\'t copy file ""%s"" to ""%s""." "Can\'t create wishlist.","Can\'t create wishlist." "Can\'t load XML.","Can\'t load XML." "Can\'t load application with code ""%s""","Can\'t load application with code ""%s""" @@ -101,7 +114,6 @@ "Can\'t submit application.","Can\'t submit application." "Can\'t update cart.","Can\'t update cart." "Can\'t write to file ""%s"".","Can\'t write to file ""%s""." -"Can\t copy file ""%s"" to ""%s"".","Can\t copy file ""%s"" to ""%s""." "Cancel","Cancel" "Canceled","Canceled" "Cancelled","Cancelled" @@ -114,13 +126,13 @@ "Cart has been updated.","Cart has been updated." "Cart has some errors.","Cart has some errors." "Cart is empty.","Cart is empty." -"Cart line items are not eligible for exporting to PayPal API","Cart line items are not eligible for exporting to PayPal API" "Catalog Only App?","Catalog Only App?" "Category Button Color","Category Button Color" "Category Item Background Color","Category Item Background Color" "Chairs","Chairs" "Change Orientation","Change Orientation" "Change Password","Change Password" +"Changes have been saved to theme.","Changes have been saved to theme." "Checkout has been initialized.","Checkout has been initialized." "City","City" "Color Themes","Color Themes" @@ -134,8 +146,10 @@ "Content","Content" "Copyright","Copyright" "Copyright Page Logo","Copyright Page Logo" +"Copyright Page Logo
    (iPhone 4 retina)","Copyright Page Logo
    (iPhone 4 retina)" "Copyright page logo","Copyright page logo" "Country","Country" +"Country options don\'t recognized for ""%s"".","Country options don\'t recognized for ""%s""." "Coupon code %s is not valid.","Coupon code %s is not valid." "Coupon code %s was applied.","Coupon code %s was applied." "Coupon code is empty.","Coupon code is empty." @@ -145,7 +159,9 @@ "Credit Card Type","Credit Card Type" "Credit card number does not match credit card type.","Credit card number does not match credit card type." "Current Password","Current Password" +"Currently, PayPal MEP is not available for the Android application","Currently, PayPal MEP is not available for the Android application" "Custom App Icon","Custom App Icon" +"Custom App Icon
    (iPhone 4 retina)","Custom App Icon
    (iPhone 4 retina)" "Custom Colors","Custom Colors" "Custom application icon","Custom application icon" "Customer authentication problem.","Customer authentication problem." @@ -161,13 +177,16 @@ "Delete","Delete" "Deleted","Deleted" "Description","Description" -"Description that appears in the iTunes App Store. 4000 chars maximum. ","Description that appears in the iTunes App Store. 4000 chars maximum. " +"Description that appears in Android Market. %s chars maximum. ","Description that appears in Android Market. %s chars maximum. " +"Description that appears in the iTunes App Store. %s chars maximum. ","Description that appears in the iTunes App Store. %s chars maximum. " +"Deselect All","Deselect All" "Design","Design" "Device","Device" "Device Information","Device Information" "Device Type","Device Type" "Device doesn\'t recognized. Unable to load a template.","Device doesn\'t recognized. Unable to load a template." "Device doesn\'t recognized: ""%s"". Unable to load a helper.","Device doesn\'t recognized: ""%s"". Unable to load a helper." +"Device doesn\'t recognized: ""%s"". Unable to load preview model.","Device doesn\'t recognized: ""%s"". Unable to load preview model." "Edit","Edit" "Edit AirMail Message","Edit AirMail Message" "Edit AirMail Message Queue #%s","Edit AirMail Message Queue #%s" @@ -177,10 +196,14 @@ "Email","Email" "Email Address","Email Address" "Enable AirMail Message Push notification","Enable AirMail Message Push notification" +"Enable Facebook","Enable Facebook" "Enable Flurry Analytics","Enable Flurry Analytics" "Enable Flurry Analytics for the merchant.","Enable Flurry Analytics for the merchant." +"Enable LinkedIn","Enable LinkedIn" "Enable Standard Checkout","Enable Standard Checkout" +"Enable Twitter","Enable Twitter" "Error while processing file ""%s"".","Error while processing file ""%s""." +"Error while reading data from Payment Bridge. Please, try again.","Error while reading data from Payment Bridge. Please, try again." "Error while uploading file ""%s"".","Error while uploading file ""%s""." "Error while uploading file ""%s"". Disallowed file type. Only ""jpg"", ""jpeg"", ""gif"", ""png"" are allowed.","Error while uploading file ""%s"". Disallowed file type. Only ""jpg"", ""jpeg"", ""gif"", ""png"" are allowed." "Error.","Error." @@ -188,12 +211,15 @@ "Expiration Date - Year","Expiration Date - Year" "Extensions","Extensions" "FILTERS APPLIED","FILTERS APPLIED" +"Facebook API","Facebook API" +"Facebook Application ID","Facebook Application ID" "Fax","Fax" +"File can\'t be uploaded.","File can\'t be uploaded." "File doesn\'t exist ""%s"".","File doesn\'t exist ""%s""." "First Name","First Name" +"Flurry API Code","Flurry API Code" "Flurry Analytics","Flurry Analytics" "Flurry Analytics Site","Flurry Analytics Site" -"Flurry Api Code","Flurry Api Code" "Fonts","Fonts" "Free","Free" "Funk Leaf","Funk Leaf" @@ -205,14 +231,23 @@ "Guest","Guest" "Header Background Color","Header Background Color" "Header Font Color","Header Font Color" +"High Resolution Application Icon","High Resolution Application Icon" "Home","Home" "Hot Red","Hot Red" "ID","ID" +"Icon that will appear on the user\'s device after they download your app. Recommended size: 48px x 48px.","Icon that will appear on the user\'s device after they download your app. Recommended size: 48px x 48px." +"Icon that will appear on the user\'s device after they download your app. You do not need to apply a gradient or soft edges (this is done automatically by Apple). Recommended size: 72px x 72px.","Icon that will appear on the user\'s device after they download your app. You do not need to apply a gradient or soft edges (this is done automatically by Apple). Recommended size: 72px x 72px." +"Icon that will appear on the user\'s phone after they download your app. You do not need to apply a gradient or soft edges (this is done automatically by Apple). Recommended size: 114px x 114px.","Icon that will appear on the user\'s phone after they download your app. You do not need to apply a gradient or soft edges (this is done automatically by Apple). Recommended size: 114px x 114px." "Icon that will appear on the user’s phone after they download your app. You do not need to apply a gradient or soft edges (this is done automatically by Apple). Recommended size: 57px x 57px at 72 dpi.","Icon that will appear on the user’s phone after they download your app. You do not need to apply a gradient or soft edges (this is done automatically by Apple). Recommended size: 57px x 57px at 72 dpi." "Icons","Icons" "If leave this field empty, the message will be sent immediately","If leave this field empty, the message will be sent immediately" +"If you want to disable the cache on the application side, leave the field empty. Warning! When disabling cache, the application will take time to load each page.","If you want to disable the cache on the application side, leave the field empty. Warning! When disabling cache, the application will take time to load each page." "Image file was not found.","Image file was not found." +"Image that appears on first screen while your app is loading. Required size: 1024px x 768px.","Image that appears on first screen while your app is loading. Required size: 1024px x 768px." +"Image that appears on first screen while your app is loading. Required size: 320px x 455px.","Image that appears on first screen while your app is loading. Required size: 320px x 455px." "Image that appears on first screen while your app is loading. Required size: 320px x 460px.","Image that appears on first screen while your app is loading. Required size: 320px x 460px." +"Image that appears on first screen while your app is loading. Required size: 640px x 920px.","Image that appears on first screen while your app is loading. Required size: 640px x 920px." +"Image that appears on first screen while your app is loading. Required size: 768px x 1024px.","Image that appears on first screen while your app is loading. Required size: 768px x 1024px." "Images","Images" "In Queue","In Queue" "In Stock","In Stock" @@ -239,10 +274,19 @@ "Large iTunes Icon","Large iTunes Icon" "Large icon that appears in the iTunes App Store. You do not need to apply a gradient or soft edges (this is done automatically by Apple). Required size: 512px x 512px.","Large icon that appears in the iTunes App Store. You do not need to apply a gradient or soft edges (this is done automatically by Apple). Required size: 512px x 512px." "Last Name","Last Name" +"LinkedIn API","LinkedIn API" +"LinkedIn API Key","LinkedIn API Key" +"LinkedIn Secret Key","LinkedIn Secret Key" "Loader Splash Screen","Loader Splash Screen" +"Loader Splash Screen
    (iPhone 4 retina)","Loader Splash Screen
    (iPhone 4 retina)" +"Loader Splash Screen
    (landscape mode)","Loader Splash Screen
    (landscape mode)" +"Loader Splash Screen
    (portrait mode)","Loader Splash Screen
    (portrait mode)" +"Loading Preview...","Loading Preview..." +"Locations","Locations" "Log In","Log In" "Login and password are required.","Login and password are required." "Logo in Header","Logo in Header" +"Logo in Header image missing.","Logo in Header image missing." "Logout complete.","Logout complete." "MEP is PayPal`s native checkout experience for the iPhone. You can choose to use MEP alongside standard checkout, or use it as your only checkout method for Magento mobile. PayPal MEP requires a PayPal business account","MEP is PayPal`s native checkout experience for the iPhone. You can choose to use MEP alongside standard checkout, or use it as your only checkout method for Magento mobile. PayPal MEP requires a PayPal business account" "Mailbox title","Mailbox title" @@ -259,35 +303,38 @@ "Message Templates","Message Templates" "Message Title","Message Title" "Message Type","Message Type" -"Message can not be edited when it\'s status NOT is ""IN QUEUE"".","Message can not be edited when it\'s status NOT is ""IN QUEUE""." +"Message can be edited when status of the message is ""IN QUEUE"" only.","Message can be edited when status of the message is ""IN QUEUE"" only." "Message content","Message content" "Message title","Message title" -"Messages cannot be sent more than %d times in an hour.","Messages cannot be sent more than %d times in an hour." "Mobile","Mobile" "More","More" "More Info","More Info" "More Tabs","More Tabs" "Name on Card","Name on Card" -"Name that appears beneath your app when users install it to their device. We recommend choosing a name that is 10-12 characters and that your customers will recognize.","Name that appears beneath your app when users install it to their device. We recommend choosing a name that is 10-12 characters and that your customers will recognize." +"Name that appears beneath your app when users install it to their device. We recommend choosing a name that is 10-12 characters and that your customers will recognize. %s chars max.","Name that appears beneath your app when users install it to their device. We recommend choosing a name that is 10-12 characters and that your customers will recognize. %s chars max." "New AirMail Message","New AirMail Message" "New AirMail Message Queue","New AirMail Message Queue" "New App","New App" "New Password","New Password" "New Template","New Template" +"Nickname","Nickname" "No items were specifed to update.","No items were specifed to update." "No items were updated.","No items were updated." "No product selected.","No product selected." "No such file ""%s"".","No such file ""%s""." "Not Submitted","Not Submitted" -"One or more keywords that describe your app. Keywords are matched to users` searches in the App Store and help return accurate search results. Separate multiple keywords with commas. 100 chars is maximum.","One or more keywords that describe your app. Keywords are matched to users` searches in the App Store and help return accurate search results. Separate multiple keywords with commas. 100 chars is maximum." +"Notice","Notice" +"One or more keywords that describe your app. Keywords are matched to users\' searches in the App Store and help return accurate search results. Separate multiple keywords with commas. 100 chars is maximum.","One or more keywords that describe your app. Keywords are matched to users\' searches in the App Store and help return accurate search results. Separate multiple keywords with commas. 100 chars is maximum." "Onepage checkout is disabled.","Onepage checkout is disabled." "Only free apps are allowed in this version.","Only free apps are allowed in this version." +"Only registered users can write reviews. Please, log in or register.","Only registered users can write reviews. Please, log in or register." "Options menu items","Options menu items" "POST data is not valid.","POST data is not valid." "Pages","Pages" "Password","Password" "Password fields cannot be empty.","Password fields cannot be empty." "PayPal Mobile Embedded Payment (MEP)","PayPal Mobile Embedded Payment (MEP)" +"Payment Bridge module unavailable.","Payment Bridge module unavailable." "Payment Method has been set.","Payment Method has been set." "Payment Methods","Payment Methods" "Payment method was successfully set.","Payment method was successfully set." @@ -300,6 +347,7 @@ "Please enter issue number or start date for switch/solo card type.","Please enter issue number or start date for switch/solo card type." "Please enter the Activation Key.","Please enter the Activation Key." "Please enter the Copyright.","Please enter the Copyright." +"Please enter the Description.","Please enter the Description." "Please enter the Price.","Please enter the Price." "Please enter the Resubmission Key.","Please enter the Resubmission Key." "Please enter the Title.","Please enter the Title." @@ -332,23 +380,22 @@ "Queue Message","Queue Message" "Queue does not exist.","Queue does not exist." "Quote instance is required.","Quote instance is required." +"Recipient Information","Recipient Information" "Recommended size 1024px x 704px. Note: Image size affects the performance of your app.","Recommended size 1024px x 704px. Note: Image size affects the performance of your app." "Recommended size 320px x 230px. Note: Image size affects the performance of your app. Keep your image size below 50 KB for optimal performance.","Recommended size 320px x 230px. Note: Image size affects the performance of your app. Keep your image size below 50 KB for optimal performance." "Recommended size 320px x 258px. Note: Image size affects the performance of your app. Keep your image size below 50 KB for optimal performance.","Recommended size 320px x 258px. Note: Image size affects the performance of your app. Keep your image size below 50 KB for optimal performance." "Recommended size 320px x 367px. Note: Image size affects the performance of your app. Keep your image size below 75 KB for optimal performance.","Recommended size 320px x 367px. Note: Image size affects the performance of your app. Keep your image size below 75 KB for optimal performance." -"Recommended size 320px x 410px. Note: Image size affects the performance of your app. Keep your image size below 75 KB for optimal performance.","Recommended size 320px x 410px. Note: Image size affects the performance of your app. Keep your image size below 75 KB for optimal performance." "Recommended size 35px x 35px.","Recommended size 35px x 35px." -"Recommended size 480px x 250px. Note: Image size affects the performance of your app. Keep your image size below 75 KB for optimal performance.","Recommended size 480px x 250px. Note: Image size affects the performance of your app. Keep your image size below 75 KB for optimal performance." "Recommended size 768px x 294px. Note: Image size affects the performance of your app.","Recommended size 768px x 294px. Note: Image size affects the performance of your app." "Recommended size 768px x 960px. Note: Image size affects the performance of your app.","Recommended size 768px x 960px. Note: Image size affects the performance of your app." "Regular and confirmation passwords must be equal","Regular and confirmation passwords must be equal" "Related Product Background Color","Related Product Background Color" -"Reset","Reset" -"Reset Successful","Reset Successful" +"Reset theme to default","Reset theme to default" "Resubmission Key","Resubmission Key" "Resubmit","Resubmit" "Resubmit App","Resubmit App" "Resubmit Application","Resubmit Application" +"Review","Review" "SORT BY:","SORT BY:" "Save","Save" "Save Theme","Save Theme" @@ -360,14 +407,16 @@ "Search","Search" "Secondary Color","Secondary Color" "Secondary Font Color","Secondary Font Color" -"Select Template","Select Template" +"Select All","Select All" "Selected product is unavailable.","Selected product is unavailable." +"Sender Information","Sender Information" "Settings","Settings" "Shipping address has been set.","Shipping address has been set." "Shipping method has been set.","Shipping method has been set." "Shop","Shop" "Shopping cart is empty.","Shopping cart is empty." "Sky Blue","Sky Blue" +"Social Networking","Social Networking" "Some emails were not sent.","Some emails were not sent." "Sorry, no payment options are available for this order at this time.","Sorry, no payment options are available for this order at this time." "Sorry, no quotes are available for this order at this time.","Sorry, no quotes are available for this order at this time." @@ -384,6 +433,7 @@ "Status","Status" "Store View","Store View" "Store logo that is displayed on copyright page of app. Preferred size: 100px x 100px.","Store logo that is displayed on copyright page of app. Preferred size: 100px x 100px." +"Store logo that is displayed on copyright page of app. Preferred size: 200px x 200px.","Store logo that is displayed on copyright page of app. Preferred size: 200px x 200px." "Store logo that will be displayed on copyright page of application ","Store logo that will be displayed on copyright page of application " "Street Address","Street Address" "Street Address 2","Street Address 2" @@ -399,6 +449,7 @@ "Submitted","Submitted" "Subtotal (Excl. Tax)","Subtotal (Excl. Tax)" "Subtotal (Incl. Tax)","Subtotal (Incl. Tax)" +"Summary of Your Review","Summary of Your Review" "T-Shirts","T-Shirts" "Tabs","Tabs" "Telephone","Telephone" @@ -415,7 +466,8 @@ "Thank you for registering!","Thank you for registering!" "Thank you for your purchase! ","Thank you for your purchase! " "The Mailbox title will be shown in the More Info tab. To understand more about the title, please click here","The Mailbox title will be shown in the More Info tab. To understand more about the title, please click here" -"Theme has been saved.","Theme has been saved." +"The icon that appears in the Android Market. Recommended size: 512px x 512px. Maximum size: 1024 KB.","The icon that appears in the Android Market. Recommended size: 512px x 512px. Maximum size: 1024 KB." +"Theme configurations are successfully reset.","Theme configurations are successfully reset." "Theme name is not set.","Theme name is not set." "There were some problems with the data.","There were some problems with the data." "This email address was not found in our records.","This email address was not found in our records." @@ -427,6 +479,9 @@ "Title bar","Title bar" "To activate PayPal MEP payment method activate Express checkout first. ","To activate PayPal MEP payment method activate Express checkout first. " "Total incl. Tax: %1$s","Total incl. Tax: %1$s" +"Twitter API","Twitter API" +"Twitter API Key","Twitter API Key" +"Twitter Secret Key","Twitter Secret Key" "Unable to cancel queue.","Unable to cancel queue." "Unable to collect cart totals.","Unable to collect cart totals." "Unable to delete queue.","Unable to delete queue." @@ -437,6 +492,7 @@ "Unable to load application form.","Unable to load application form." "Unable to load product info.","Unable to load product info." "Unable to place the order.","Unable to place the order." +"Unable to post the review.","Unable to post the review." "Unable to process preview.","Unable to process preview." "Unable to save app.","Unable to save app." "Unable to save message.","Unable to save message." @@ -459,7 +515,6 @@ "Wishlist has been cleared.","Wishlist has been cleared." "Wishlist has been updated.","Wishlist has been updated." "Wishlist has been updated. But there are accrued some errors while updating some items.","Wishlist has been updated. But there are accrued some errors while updating some items." -"Wrong Android background image orientation has been specified: ""%s"".","Wrong Android background image orientation has been specified: ""%s""." "Wrong Ipad background image orientation has been specified: ""%s"".","Wrong Ipad background image orientation has been specified: ""%s""." "Wrong device type.","Wrong device type." "Wrong email format","Wrong email format" @@ -470,6 +525,7 @@ "You can watch statistics here.","You can watch statistics here." "You will receive an order confirmation email with details of your order and a link to track its progress.","You will receive an order confirmation email with details of your order and a link to track its progress." "Your order # is: %s. ","Your order # is: %s. " +"Your review has been accepted for moderation.","Your review has been accepted for moderation." "Zip/Postal Code","Zip/Postal Code" "and","and" "each","each" diff --git a/downloader/lib/Mage/Connect/Packager.php b/downloader/lib/Mage/Connect/Packager.php index 46a7019993..e7fcca12fa 100644 --- a/downloader/lib/Mage/Connect/Packager.php +++ b/downloader/lib/Mage/Connect/Packager.php @@ -397,7 +397,7 @@ public function processInstallPackage($package, $file, $configObj) */ public function getLocalModifiedFiles($chanName, $package, $cacheObj, $configObj) { - $p = $cachObj->getPackageObject($chanName, $package); + $p = $cacheObj->getPackageObject($chanName, $package); $hashContents = $p->getHashContents(); $listModified = array(); foreach ($hashContents as $file=>$hash) { @@ -479,7 +479,7 @@ public function getUpgradesList($channels, $cacheObject, $configObj, $restObj = /** * Iterate packages of channel $chan */ - $state = $configObj->preferred_state ? $configObj->preferred_state : "devel"; + $state = $configObj->preferred_state ? $configObj->preferred_state : "stable"; foreach($localPackages as $localName=>$localData) { if(!isset($remotePackages[$localName])) { @@ -577,7 +577,13 @@ public function getUninstallList($chanName, $package, $cache, $config, $withDeps } } catch (Exception $e) { - //$this->_failed[] = array('name'=>$package, 'channel'=>$chanName, 'max'=>$versionMax, 'min'=>$versionMin, 'reason'=>$e->getMessage()); +// $this->_failed[] = array( +// 'name'=>$package, +// 'channel'=>$chanName, +// 'max'=>$versionMax, +// 'min'=>$versionMin, +// 'reason'=>$e->getMessage() +// ); } $level--; @@ -602,11 +608,11 @@ public function getUninstallList($chanName, $package, $cache, $config, $withDeps * @param array $dependencies Package dependencies */ private function addHashData(&$hash, $name, $channel, $downloaded_version = '', $stability = '', $versionMin = '', - $versionMax = '', $install_state = '', $message = '', $dependencies = '') + $versionMax = '', $install_state = '', $message = '', $dependencies = '') { /** - * @todo When we are building dependencies tree we should base this calculations not on full key as on a - * unique value but check it by parts. First part which should be checked is EXTENSION_NAME also this + * @todo When we are building dependencies tree we should base this calculations not on full key as on a + * unique value but check it by parts. First part which should be checked is EXTENSION_NAME also this * part should be unique globally not per channel. */ //$key = $chanName . "/" . $package; @@ -619,7 +625,8 @@ private function addHashData(&$hash, $name, $channel, $downloaded_version = '', 'min' => $versionMin, 'max' => $versionMax, 'install_state' => $install_state, - 'message' => (isset($this->install_states[$install_state]) ? $this->install_states[$install_state] : '').$message, + 'message' => (isset($this->install_states[$install_state]) ? + $this->install_states[$install_state] : '').$message, 'packages' => $dependencies, ); @@ -668,9 +675,18 @@ public function getDependenciesList( $chanName, $package, $cache, $config, $vers if (!$releases || !count($releases)) { throw new Exception("No releases for '{$package}', skipping"); } - $state = $config->preferred_state ? $config->preferred_state : 'devel'; + $state = $config->preferred_state ? $config->preferred_state : 'stable'; $version = $cache->detectVersionFromRestArray($releases, $versionMin, $versionMax, $state); - if(!$version) { + if (!$version) { + $versionState = $cache->detectVersionFromRestArray($releases, $versionMin, $versionMax); + if ($versionState) { + $packageInfo = $rest->getPackageReleaseInfo($package, $versionState); + if (false !== $packageInfo) { + $stability = $packageInfo->getStability(); + throw new Exception("Extension is '{$stability}' please check(or change) stability settings". + " on Magento Connect Manager"); + } + } throw new Exception("Version for '{$package}' was not detected"); } $packageInfo = $rest->getPackageReleaseInfo($package, $version); @@ -720,7 +736,7 @@ public function getDependenciesList( $chanName, $package, $cache, $config, $vers $dependencies[$row['name']] = $row; } } - + /** * @todo When we are building dependencies tree we should base this calculations not on full key as on a * unique value but check it by parts. First part which should be checked is EXTENSION_NAME also this part @@ -742,7 +758,7 @@ public function getDependenciesList( $chanName, $package, $cache, $config, $vers } $method = __FUNCTION__; /** - * @todo When we are building dependencies tree we should base this calculations not on full key as + * @todo When we are building dependencies tree we should base this calculations not on full key as * on a unique value but check it by parts. First part which should be checked is EXTENSION_NAME * also this part should be unique globally not per channel. */ @@ -801,7 +817,13 @@ public function getDependenciesList( $chanName, $package, $cache, $config, $vers } unset($rest); } catch (Exception $e) { - $_failed[] = array('name'=>$package, 'channel'=>$chanName, 'max'=>$versionMax, 'min'=>$versionMin, 'reason'=>$e->getMessage()); + $_failed[] = array( + 'name'=>$package, + 'channel'=>$chanName, + 'max'=>$versionMax, + 'min'=>$versionMin, + 'reason'=>$e->getMessage() + ); } diff --git a/get.php b/get.php new file mode 100644 index 0000000000..12595ffe99 --- /dev/null +++ b/get.php @@ -0,0 +1,201 @@ +

    Whoops, it looks like you have an invalid PHP version.' + . '

    Magento supports PHP 5.2.0 or newer. Find out how to install Magento using PHP-CGI as a work-around.

    '; + exit; +} +$start = microtime(true); +/** + * Error reporting + */ +error_reporting(E_ALL | E_STRICT); +ini_set('display_errors', 1); + +$ds = DIRECTORY_SEPARATOR; +$ps = PATH_SEPARATOR; +$bp = dirname(__FILE__); + +/** + * Set include path + */ + +$paths[] = $bp . $ds . 'app' . $ds . 'code' . $ds . 'local'; +$paths[] = $bp . $ds . 'app' . $ds . 'code' . $ds . 'community'; +$paths[] = $bp . $ds . 'app' . $ds . 'code' . $ds . 'core'; +$paths[] = $bp . $ds . 'lib'; + +$appPath = implode($ps, $paths); +set_include_path($appPath . $ps . get_include_path()); + +include_once 'Mage/Core/functions.php'; +include_once 'Varien/Autoload.php'; + +Varien_Autoload::register(); + +$varDirectory = $bp . $ds . Mage_Core_Model_Config_Options::VAR_DIRECTORY; + +$configCacheFile = $varDirectory . $ds . 'resource_config.json'; + +$mediaDirectory = null; +$allowedResources = array(); + +if (file_exists($configCacheFile) && is_readable($configCacheFile)) { + $config = json_decode(file_get_contents($configCacheFile), true); + + //checking update time + if (filemtime($configCacheFile) + $config['update_time'] > time()) { + $mediaDirectory = trim(str_replace($bp . $ds, '', $config['media_directory']), $ds); + $allowedResources = array_merge($allowedResources, $config['allowed_resources']); + } +} + +$request = new Zend_Controller_Request_Http(); + +$pathInfo = str_replace('..', '', ltrim($request->getPathInfo(), '/')); + +$filePath = str_replace('/', $ds, rtrim($bp, $ds) . $ds . $pathInfo); + +if ($mediaDirectory) { + if (0 !== stripos($pathInfo, $mediaDirectory . '/')) { + sendNotFoundPage(); + } + + $relativeFilename = str_replace($mediaDirectory . '/', '', $pathInfo); + checkResource($relativeFilename, $allowedResources); + sendFile($filePath); +} + +$mageFilename = 'app/Mage.php'; + +if (!file_exists($mageFilename)) { + echo $mageFilename . ' was not found'; +} + +require_once $mageFilename; + +umask(0); + +/* Store or website code */ +$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : ''; + +/* Run store or run website */ +$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store'; + +if (empty($mediaDirectory)) { + Mage::init($mageRunCode, $mageRunType); +} else { + Mage::init($mageRunCode, $mageRunType, array(), array('Mage_Core')); +} + +if (!$mediaDirectory) { + $config = Mage_Core_Model_File_Storage::getScriptConfig(); + $mediaDirectory = str_replace($bp . $ds, '', $config['media_directory']); + $allowedResources = array_merge($allowedResources, $config['allowed_resources']); + + $relativeFilename = str_replace($mediaDirectory . '/', '', $pathInfo); + + $fp = fopen($configCacheFile, 'w'); + if (flock($fp, LOCK_EX | LOCK_NB)) { + ftruncate($fp, 0); + fwrite($fp, json_encode($config)); + } + flock($fp, LOCK_UN); + fclose($fp); + + checkResource($relativeFilename, $allowedResources); +} + +if (0 !== stripos($pathInfo, $mediaDirectory . '/')) { + sendNotFoundPage(); +} + +$databaseFileSotrage = Mage::getModel('core/file_storage_database'); +$databaseFileSotrage->loadByFilename($relativeFilename); + +if ($databaseFileSotrage->getId()) { + $directory = dirname($filePath); + if (!is_dir($directory)) { + mkdir($directory, 0777, true); + } + + $fp = fopen($filePath, 'w'); + if (flock($fp, LOCK_EX | LOCK_NB)) { + ftruncate($fp, 0); + fwrite($fp, $databaseFileSotrage->getContent()); + } + flock($fp, LOCK_UN); + fclose($fp); +} + +sendFile($filePath); +sendNotFoundPage(); + +/** + * Send 404 + */ +function sendNotFoundPage() +{ + header('HTTP/1.0 404 Not Found'); + exit; +} + +/** + * Check resource by whitelist + * + * @param string $resource + * @param array $allowedResources + */ +function checkResource($resource, array $allowedResources) +{ + $isResourceAllowed = false; + foreach ($allowedResources as $allowedResource) { + if (0 === stripos($resource, $allowedResource)) { + $isResourceAllowed = true; + } + } + + if (!$isResourceAllowed) { + sendNotFoundPage(); + } +} +/** + * Send file to browser + * + * @param string $file + */ +function sendFile($file) +{ + if (file_exists($file) || is_readable($file)) { + $transfer = new Varien_File_Transfer_Adapter_Http(); + $transfer->send($file); + exit; + } +} diff --git a/js/mage/adminhtml/moneybookers.js b/js/mage/adminhtml/moneybookers.js index a41ad644e3..078b72f32e 100644 --- a/js/mage/adminhtml/moneybookers.js +++ b/js/mage/adminhtml/moneybookers.js @@ -46,6 +46,24 @@ Moneybookers.prototype = { $("moneybookers_settings_customer_id_hidden").name = document.getElementById("moneybookers_settings_customer_id").name; $("moneybookers_settings_customer_id_hidden").value = document.getElementById("moneybookers_settings_customer_id").value; $("moneybookers_settings_secret_key").setAttribute("onchange", "moneybookers.setStatus(2); moneybookers.changeUi();"); + + if (this.isStoreView()) { + this.infoOrig = { + email: $("moneybookers_settings_moneybookers_email").value, + customerId: $("moneybookers_settings_customer_id").value, + key: $("moneybookers_settings_secret_key").value, + status: this.getStatus(), + useDefult: $("moneybookers_settings_moneybookers_email_inherit").checked + }; + var defaults = $$("#row_moneybookers_settings_customer_id .use-default, #row_moneybookers_settings_secret_key .use-default, #row_moneybookers_settings_activationstatus .use-default"); + if (Object.isArray(defaults)) { + for (var i=0; i 2) { $("moneybookers_multifuncbutton").style.display = "none"; } else { $("moneybookers_multifuncbutton").style.display = "block"; } + }, + + changeStore: function () { + if (!$("moneybookers_settings_moneybookers_email_inherit").checked) { + if (this.infoOrig.useDefult) { + $("moneybookers_settings_customer_id_inherit").click(); + $("moneybookers_settings_customer_id").clear(); + $("moneybookers_settings_secret_key_inherit").click(); + $("moneybookers_settings_secret_key").clear(); + $("moneybookers_settings_activationstatus_inherit").click(); + this.setStatus(0); + } + } + else { + if (this.infoOrig.useDefult) { + $("moneybookers_settings_customer_id").setValue(this.infoOrig.customerId); + $("moneybookers_settings_customer_id_inherit").click(); + $("moneybookers_settings_secret_key").setValue(this.infoOrig.key); + $("moneybookers_settings_secret_key_inherit").click(); + $("moneybookers_settings_activationstatus_inherit").click(); + this.setStatus(this.infoOrig.status); + } + } + this.changeUi(); + }, + + isStoreView: function() { + return $("moneybookers_settings_moneybookers_email_inherit") != undefined; } } diff --git a/js/mage/adminhtml/sales.js b/js/mage/adminhtml/sales.js index 4f4b02b2fe..d9c4936463 100644 --- a/js/mage/adminhtml/sales.js +++ b/js/mage/adminhtml/sales.js @@ -159,7 +159,7 @@ AdminOrder.prototype = { else { this.saveData(data); if (name == 'country_id' || name == 'customer_address_id') { - this.loadArea(['shipping_method', 'billing_method', 'totals'], true, data); + this.loadArea(['shipping_method', 'billing_method', 'totals', 'items'], true, data); } // added for reloading of default sender and default recipient for giftmessages //this.loadArea(['giftmessage'], true, data); @@ -242,7 +242,7 @@ AdminOrder.prototype = { resetShippingMethod : function(data){ data['reset_shipping'] = 1; this.isShippingMethodReseted = true; - this.loadArea(['shipping_method', 'billing_method', 'shipping_address', 'totals', 'giftmessage'], true, data); + this.loadArea(['shipping_method', 'billing_method', 'shipping_address', 'totals', 'giftmessage', 'items'], true, data); }, loadShippingRates : function(){ diff --git a/js/varien/js.js b/js/varien/js.js index 43f3980c2c..cef4c462a9 100644 --- a/js/varien/js.js +++ b/js/varien/js.js @@ -407,7 +407,7 @@ Varien.DateElement.prototype = { this.month = $(content + 'month'); this.year = $(content + 'year'); this.full = $(content + 'full'); - this.advice = $(content + 'advice'); + this.advice = $(content + 'date-advice'); } else if (type == 'container') { // content must be container with data this.day = content.day; @@ -421,7 +421,7 @@ Varien.DateElement.prototype = { this.required = required; this.format = format; - + this.day.addClassName('validate-custom'); this.day.validate = this.validate.bind(this); this.month.addClassName('validate-custom'); @@ -429,6 +429,7 @@ Varien.DateElement.prototype = { this.year.addClassName('validate-custom'); this.year.validate = this.validate.bind(this); + this.setDateRange(false, false); this.year.setAttribute('autocomplete','off'); this.advice.hide(); @@ -444,20 +445,17 @@ Varien.DateElement.prototype = { } else if (!day || !month || !year) { error = 'Please enter a valid full date.'; } else { - var date = new Date, curyear = date.getFullYear(), countDaysInMonth = 0, errorType = null; - date.setYear(year); date.setMonth(month-1); date.setDate(32); + var date = new Date, countDaysInMonth = 0, errorType = null; + date.setYear(year);date.setMonth(month-1);date.setDate(32); countDaysInMonth = 32 - date.getDate(); if(!countDaysInMonth || countDaysInMonth>31) countDaysInMonth = 31; - + if (day<1 || day>countDaysInMonth) { errorType = 'day'; error = 'Please enter a valid day (1-%d).'; } else if (month<1 || month>12) { errorType = 'month'; error = 'Please enter a valid month (1-12).'; - } else if (year<1900 || year>curyear) { - errorType = 'year'; - error = 'Please enter a valid year (1900-%d).'; } else { if(day % 10 == day) this.day.value = '0'+day; if(month % 10 == month) this.month.value = '0'+month; @@ -466,8 +464,16 @@ Varien.DateElement.prototype = { var test = new Date(testFull); if (isNaN(test)) { error = 'Please enter a valid date.'; + } else { + this.setFullDate(test); } } + var valueError = false; + if (!error && !this.validateData()){//(year<1900 || year>curyear) { + errorType = this.validateDataErrorType;//'year'; + valueError = this.validateDataErrorText;//'Please enter a valid year (1900-%d).'; + error = valueError; + } } if (error !== false) { @@ -475,18 +481,40 @@ Varien.DateElement.prototype = { error = Translator.translate(error); } catch (e) {} - this.advice.innerHTML = error.replace('%d', errorType == 'day' ? countDaysInMonth : curyear); + if (!valueError) { + this.advice.innerHTML = error.replace('%d', countDaysInMonth); + } else { + this.advice.innerHTML = this.errorTextModifier(error); + } this.advice.show(); return false; } - + // fixing elements class this.day.removeClassName('validation-failed'); this.month.removeClassName('validation-failed'); this.year.removeClassName('validation-failed'); - + this.advice.hide(); return true; + }, + validateData: function() { + var year = this.fullDate.getFullYear(); + var date = new Date; + this.curyear = date.getFullYear(); + return (year>=1900 && year<=this.curyear); + }, + validateDataErrorType: 'year', + validateDataErrorText: 'Please enter a valid year (1900-%d).', + errorTextModifier: function(text) { + return text.replace('%d', this.curyear); + }, + setDateRange: function(minDate, maxDate) { + this.minDate = minDate; + this.maxDate = maxDate; + }, + setFullDate: function(date) { + this.fullDate = date; } }; @@ -500,17 +528,65 @@ Varien.DOB.prototype = { container.year = Element.select(el, '.dob-year input')[0]; container.full = Element.select(el, '.dob-full input')[0]; container.advice = Element.select(el, '.validation-advice')[0]; - + new Varien.DateElement('container', container, required, format); } }; +Varien.dateRangeDate = Class.create(); +Varien.dateRangeDate.prototype = Object.extend(new Varien.DateElement(), { + validateData: function() { + var validate = true; + if (this.minDate || this.maxValue) { + if (this.minDate) { + this.minDate = new Date(this.minDate); + this.minDate.setHours(0); + if (isNaN(this.minDate)) { + this.minDate = new Date('1/1/1900'); + } + validate = validate && (this.fullDate >= this.minDate) + } + if (this.maxDate) { + this.maxDate = new Date(this.maxDate) + this.minDate.setHours(0); + if (isNaN(this.maxDate)) { + this.maxDate = new Date(); + } + validate = validate && (this.fullDate <= this.maxDate) + } + if (this.maxDate && this.minDate) { + this.validateDataErrorText = 'Please enter a valid date between %s and %s'; + } else if (this.maxDate) { + this.validateDataErrorText = 'Please enter a valid date less than or equal to %s'; + } else if (this.minDate) { + this.validateDataErrorText = 'Please enter a valid date equal to or greater than %s'; + } else { + this.validateDataErrorText = ''; + } + } + return validate; + }, + validateDataErrorText: 'Date should be between %s and %s', + errorTextModifier: function(text) { + if (this.minDate) { + text = text.sub('%s', this.dateFormat(this.minDate)); + } + if (this.maxDate) { + text = text.sub('%s', this.dateFormat(this.maxDate)); + } + return text; + }, + dateFormat: function(date) { + return (date.getMonth() + 1) + '/' + date.getDate() + '/' + date.getFullYear(); + } +}); + Varien.FileElement = Class.create(); Varien.FileElement.prototype = { initialize: function (id) { this.fileElement = $(id); this.hiddenElement = $(id + '_value'); - + this.fileElement.observe('change', this.selectFile.bind(this)); }, selectFile: function(event) { diff --git a/js/varien/product.js b/js/varien/product.js index 98398bbf5c..2336b1e112 100644 --- a/js/varien/product.js +++ b/js/varien/product.js @@ -128,7 +128,7 @@ Product.Zoom.prototype = { scale: function (v) { var centerX = (this.containerDim.width*(1-this.imageZoom)/2-this.imageX)/this.imageZoom; var centerY = (this.containerDim.height*(1-this.imageZoom)/2-this.imageY)/this.imageZoom; - var overSize = (this.imageDim.width > this.containerDim.width && this.imageDim.height > this.containerDim.height); + var overSize = (this.imageDim.width > this.containerDim.width || this.imageDim.height > this.containerDim.height); this.imageZoom = this.floorZoom+(v*(this.ceilingZoom-this.floorZoom)); @@ -557,7 +557,7 @@ Product.OptionsPrice.prototype = { this.showBothPrices = config.showBothPrices; this.productPrice = config.productPrice; this.productOldPrice = config.productOldPrice; - this.skipCalculate = config.skipCalculate; + this.skipCalculate = config.skipCalculate;//@deprecated after 1.5.1.0 this.duplicateIdSuffix = config.idSuffix; this.specialTaxPrice = config.specialTaxPrice; @@ -624,7 +624,7 @@ Product.OptionsPrice.prototype = { var optionOldPrice = optionPrices[2]; var priceInclTax = optionPrices[3]; optionPrices = optionPrices[0]; - + $H(this.containers).each(function(pair) { var _productPrice; var _plusDisposition; @@ -673,6 +673,8 @@ Product.OptionsPrice.prototype = { if (pair.value == 'price-including-tax-'+this.productId) { price = incl; + } else if (pair.value == 'price-excluding-tax-'+this.productId) { + price = excl; } else if (pair.value == 'old-price-'+this.productId) { if (this.showIncludeTax || this.showBothPrices) { price = incl; @@ -683,11 +685,7 @@ Product.OptionsPrice.prototype = { if (this.showIncludeTax) { price = incl; } else { - if (!this.skipCalculate || _productPrice == 0) { - price = excl; - } else { - price = optionPrices+parseFloat(_productPrice); - } + price = excl; } } diff --git a/lib/Varien/Data/Collection/Db.php b/lib/Varien/Data/Collection/Db.php index 7cffb3819c..48e60253c5 100644 --- a/lib/Varien/Data/Collection/Db.php +++ b/lib/Varien/Data/Collection/Db.php @@ -299,7 +299,7 @@ public function unshiftOrder($field, $direction = self::SORT_ORDER_DESC) */ private function _setOrder($field, $direction, $unshift = false) { - $field = $this->_getMappedField($field); + $field = (string)$this->_getMappedField($field); $direction = (strtoupper($direction) == self::SORT_ORDER_ASC) ? self::SORT_ORDER_ASC : self::SORT_ORDER_DESC; // emulate associative unshift if ($unshift) { @@ -443,7 +443,11 @@ protected function _getConditionSql($fieldName, $condition) { $sql = ''; $fieldName = $this->_getConditionFieldName($fieldName); if (is_array($condition) && isset($condition['field_expr'])) { - $fieldName = str_replace('#?', $this->getConnection()->quoteIdentifier($fieldName), $condition['field_expr']); + $fieldName = str_replace( + '#?', + $this->getConnection()->quoteIdentifier($fieldName), + $condition['field_expr'] + ); } if (is_array($condition)) { if (isset($condition['from']) || isset($condition['to'])) { diff --git a/lib/Varien/Data/Form/Element/Abstract.php b/lib/Varien/Data/Form/Element/Abstract.php index e12615de83..344d0802b2 100644 --- a/lib/Varien/Data/Form/Element/Abstract.php +++ b/lib/Varien/Data/Form/Element/Abstract.php @@ -275,4 +275,34 @@ public function getHtmlContainerId() } return ''; } + + /** + * Add specified values to element values + * + * @param string|int|array $values + * @param bool $overwrite + * @return Varien_Data_Form_Element_Abstract + */ + public function addElementValues($values, $overwrite = false) + { + if (empty($values) || (is_string($values) && trim($values) == '')) { + return $this; + } + if (!is_array($values)) { + $values = Mage::helper('core')->escapeHtml(trim($values)); + $values = array($values => $values); + } + $elementValues = $this->getValues(); + if (!empty($elementValues)) { + foreach ($values as $key => $value) { + if ((isset($elementValues[$key]) && $overwrite) || !isset($elementValues[$key])) { + $elementValues[$key] = Mage::helper('core')->escapeHtml($value); + } + } + $values = $elementValues; + } + $this->setValues($values); + + return $this; + } } diff --git a/lib/Varien/Data/Form/Element/Collection.php b/lib/Varien/Data/Form/Element/Collection.php index f3f2af3594..fcf964b15d 100644 --- a/lib/Varien/Data/Form/Element/Collection.php +++ b/lib/Varien/Data/Form/Element/Collection.php @@ -139,7 +139,7 @@ public function add(Varien_Data_Form_Element_Abstract $element, $after=false) if ($currElement->getId() == $after) { $newOrderElements[] = $currElement; $newOrderElements[] = $element; - $this->_elements = array_merge($newOrderElements, array_slice($this->_elements, $index+1)); + $this->_elements = array_merge($newOrderElements, array_slice($this->_elements, $index + 1)); return $element; } $newOrderElements[] = $currElement; @@ -175,6 +175,8 @@ public function remove($elementId) unset($this->_elements[$index]); } } + // Renumber elements for further correct adding and removing other elements + $this->_elements = array_merge($this->_elements, array()); return $this; } diff --git a/lib/Varien/Data/Form/Element/Editor.php b/lib/Varien/Data/Form/Element/Editor.php index dfef0d498a..ecf6dbf95c 100644 --- a/lib/Varien/Data/Form/Element/Editor.php +++ b/lib/Varien/Data/Form/Element/Editor.php @@ -75,45 +75,61 @@ public function getElementHtml() if($this->isEnabled()) { // add Firebug notice translations + $warn = 'Firebug is known to make the WYSIWYG editor slow unless it is turned off or configured properly.'; $this->getConfig()->addData(array( 'firebug_warning_title' => $this->translate('Warning'), - 'firebug_warning_text' => $this->translate('Firebug is known to make the WYSIWYG editor slow unless it is turned off or configured properly.'), + 'firebug_warning_text' => $this->translate($warn), 'firebug_warning_anchor' => $this->translate('Hide'), )); $translatedString = array( 'Insert Image...' => $this->translate('Insert Image...'), 'Insert Media...' => $this->translate('Insert Media...'), - 'Insert File...' => $this->translate('Insert File...') + 'Insert File...' => $this->translate('Insert File...') ); $jsSetupObject = 'wysiwyg' . $this->getHtmlId(); - $html = $this->_getButtonsHtml() - .' - - '.$js.' + $forceLoad = ''; + if (!$this->isHidden()) { + if ($this->getForceLoad()) { + $forceLoad = $jsSetupObject . '.setup("exact");'; + } else { + $forceLoad = 'Event.observe(window, "load", ' + . $jsSetupObject . '.setup.bind(' . $jsSetupObject . ', "exact"));'; + } + } + $html = $this->_getButtonsHtml() + . '' + . $js . ' '; $html = $this->_wrapIntoContainer($html); - $html.= $this->getAfterElementHtml(); + $html .= $this->getAfterElementHtml(); return $html; } else { // Display only buttons to additional features @@ -183,23 +199,28 @@ protected function _getPluginButtonsHtml($visible = true) if ($this->getConfig('add_widgets')) { $buttonsHtml .= $this->_getButtonHtml(array( 'title' => $this->translate('Insert Widget...'), - 'onclick' => "widgetTools.openDialog('" . $this->getConfig('widget_window_url') . "widget_target_id/" . $this->getHtmlId() . "')", + 'onclick' => "widgetTools.openDialog('" . $this->getConfig('widget_window_url') . "widget_target_id " + . $this->getHtmlId() . "')", 'class' => 'add-widget plugin', 'style' => $visible ? '' : 'display:none', )); } // Button to media images insertion window - $buttonsHtml .= $this->_getButtonHtml(array( - 'title' => $this->translate('Insert Image...'), - 'onclick' => "MediabrowserUtility.openDialog('" . - $this->getConfig('files_browser_window_url') . - "target_element_id/" . $this->getHtmlId() . "/" . - ((null !== $this->getConfig('store_id')) ? ('store/' . $this->getConfig('store_id') . '/') : '') . - "')", + if ($this->getConfig('add_images')) { + $buttonsHtml .= $this->_getButtonHtml(array( + 'title' => $this->translate('Insert Image...'), + 'onclick' => "MediabrowserUtility.openDialog('" . + $this->getConfig('files_browser_window_url') . + "target_element_id/" . $this->getHtmlId() . "/" . + ((null !== $this->getConfig('store_id')) + ? ('store/' . $this->getConfig('store_id') . '/') + : '') + . "')", 'class' => 'add-image plugin', 'style' => $visible ? '' : 'display:none', )); + } foreach ($this->getConfig('plugins') as $plugin) { if (isset($plugin['options']) && $this->_checkPluginButtonOptions($plugin['options'])) { diff --git a/lib/Varien/Data/Form/Element/Multiline.php b/lib/Varien/Data/Form/Element/Multiline.php index e0289bad68..165d2e0e59 100644 --- a/lib/Varien/Data/Form/Element/Multiline.php +++ b/lib/Varien/Data/Form/Element/Multiline.php @@ -48,24 +48,29 @@ public function getLabelHtml($suffix = 0) return parent::getLabelHtml($suffix); } + /** + * Get element HTML + * + * @return string + */ public function getElementHtml() { $html = ''; $lineCount = $this->getLineCount(); - for ($i=0; $i<$lineCount; $i++){ - if ($i==0 && $this->getRequired()){ + for ($i = 0; $i < $lineCount; $i++) { + if ($i == 0 && $this->getRequired()) { $this->setClass('input-text required-entry'); - } - else { + } else { $this->setClass('input-text'); } - $html.= '
    serialize($this->getHtmlAttributes()).' />'."\n"; + $html .= '
    serialize($this->getHtmlAttributes()) . ' />' . "\n"; if ($i==0) { - $html.= $this->getAfterElementHtml(); + $html .= $this->getAfterElementHtml(); } - $html.= '
    '; + $html .= '
    '; } return $html; } diff --git a/lib/Varien/Data/Form/Element/Multiselect.php b/lib/Varien/Data/Form/Element/Multiselect.php index 5f337f5e52..e3a434323a 100644 --- a/lib/Varien/Data/Form/Element/Multiselect.php +++ b/lib/Varien/Data/Form/Element/Multiselect.php @@ -54,10 +54,11 @@ public function getElementHtml() { $this->addClass('select multiselect'); $html = ''; - if ($this->getCanBeEmpty()) { + if ($this->getCanBeEmpty() && empty($this->_data['disabled'])) { $html .= ''; } - $html .= 'serialize($this->getHtmlAttributes()) . ' multiple="multiple">' . "\n"; $value = $this->getValue(); if (!is_array($value)) { @@ -67,20 +68,21 @@ public function getElementHtml() if ($values = $this->getValues()) { foreach ($values as $option) { if (is_array($option['value'])) { - $html.=''."\n"; + $html .= '' . "\n"; foreach ($option['value'] as $groupItem) { - $html.= $this->_optionToHtml($groupItem, $value); + $html .= $this->_optionToHtml($groupItem, $value); } - $html.=''."\n"; + $html .= '' . "\n"; } else { - $html.= $this->_optionToHtml($option, $value); + $html .= $this->_optionToHtml($option, $value); } } } - $html.= ''."\n"; - $html.= $this->getAfterElementHtml(); + $html .= '' . "\n"; + $html .= $this->getAfterElementHtml(); + return $html; } @@ -97,8 +99,10 @@ public function getDefaultHtml() if($this->getSelectAll() && $this->getDeselectAll()) { - $result.= '' . $this->getSelectAll() . '  | '; - $result.= '' . $this->getDeselectAll() . ''; + $result .= '' . + $this->getSelectAll() . '  | '; + $result .= '' . + $this->getDeselectAll() . ''; } $result.= ( $this->getNoSpan() === true ) ? '' : ''."\n"; @@ -121,7 +125,7 @@ public function getDefaultHtml() $result.= ' return false; ' . "\n"; $result.= ' }' . "\n"; $result.= ' }' . "\n"; - $result.= "\n"; + $result.= "\n" . ''; return $result; } @@ -141,4 +145,4 @@ protected function _optionToHtml($option, $selected) $html.= '>'.$this->_escape($option['label']). ''."\n"; return $html; } -} \ No newline at end of file +} diff --git a/lib/Varien/Db/Adapter/Mysqli.php b/lib/Varien/Db/Adapter/Mysqli.php index f0bd277d97..6024903ace 100644 --- a/lib/Varien/Db/Adapter/Mysqli.php +++ b/lib/Varien/Db/Adapter/Mysqli.php @@ -52,28 +52,28 @@ protected function _connect() } $conn->init(); - $conn->options(MYSQLI_OPT_LOCAL_INFILE, true); - #$conn->options(MYSQLI_CLIENT_MULTI_QUERIES, true); - - $port = !empty($this->_config['port']) ? $this->_config['port'] : null; - $socket = !empty($this->_config['unix_socket']) ? $this->_config['unix_socket'] : null; - // socket specified in host config - if (strpos($this->_config['host'], '/')!==false) { - $socket = $this->_config['host']; - $this->_config['host'] = null; - } elseif (strpos($this->_config['host'], ':')!==false) { - list($this->_config['host'], $port) = explode(':', $this->_config['host']); - } + $conn->options(MYSQLI_OPT_LOCAL_INFILE, true); + #$conn->options(MYSQLI_CLIENT_MULTI_QUERIES, true); + + $port = !empty($this->_config['port']) ? $this->_config['port'] : null; + $socket = !empty($this->_config['unix_socket']) ? $this->_config['unix_socket'] : null; + // socket specified in host config + if (strpos($this->_config['host'], '/')!==false) { + $socket = $this->_config['host']; + $this->_config['host'] = null; + } elseif (strpos($this->_config['host'], ':')!==false) { + list($this->_config['host'], $port) = explode(':', $this->_config['host']); + } #echo "
    ".print_r($this->_config,1)."
    "; die; - @$conn->real_connect( - $this->_config['host'], - $this->_config['username'], - $this->_config['password'], - $this->_config['dbname'], - $port, - $socket - ); + @$conn->real_connect( + $this->_config['host'], + $this->_config['username'], + $this->_config['password'], + $this->_config['dbname'], + $port, + $socket + ); if (mysqli_connect_errno()) { throw new Zend_Db_Adapter_Mysqli_Exception(mysqli_connect_error()); } @@ -84,25 +84,31 @@ protected function _connect() $this->_connection->query("SET SQL_MODE=''"); } + /** + * Run RAW Query + * + * @param string $sql + * @return Zend_Db_Statement_Interface + */ public function raw_query($sql) { - do { - $retry = false; - $tries = 0; - try { - $this->clear_result(); - $result = $this->getConnection()->query($sql); - $this->clear_result(); - } - catch (Exception $e) { - if ($e->getMessage()=='SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction') { - $retry = true; - } else { - throw $e; - } - $tries++; - } - } while ($retry && $tries<10); + $timeoutMessage = 'SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction'; + $tries = 0; + do { + $retry = false; + try { + $this->clear_result(); + $result = $this->getConnection()->query($sql); + $this->clear_result(); + } catch (Exception $e) { + if ($tries < 10 && $e->getMessage() == $timeoutMessage) { + $retry = true; + $tries++; + } else { + throw $e; + } + } + } while ($retry); return $result; } @@ -142,56 +148,55 @@ public function raw_fetchRow($sql, $field=null) } public function multi_query($sql) - { - $this->beginTransaction(); - try { - $this->clear_result(); - if ($this->getConnection()->multi_query($sql)) { + { + $this->beginTransaction(); + try { + $this->clear_result(); + if ($this->getConnection()->multi_query($sql)) { $this->clear_result(); - $this->commit(); - } else { - throw new Zend_Db_Adapter_Mysqli_Exception('multi_query: '.$this->getConnection()->error); - } - } catch (Exception $e) { - $this->rollback(); - throw $e; - } - - return true; - } - - public function clear_result() - { - while ($this->getConnection()->next_result()) { - if ($result = $this->getConnection()->store_result()) { - $result->free_result(); - } - elseif($this->getConnection()->error) { - throw new Zend_Db_Adapter_Mysqli_Exception('clear_result: '.$this->getConnection()->error); - } - } - - } - - public function dropForeignKey($table, $fk) - { + $this->commit(); + } else { + throw new Zend_Db_Adapter_Mysqli_Exception('multi_query: '.$this->getConnection()->error); + } + } catch (Exception $e) { + $this->rollback(); + throw $e; + } + + return true; + } + + public function clear_result() + { + while ($this->getConnection()->next_result()) { + if ($result = $this->getConnection()->store_result()) { + $result->free_result(); + } elseif($this->getConnection()->error) { + throw new Zend_Db_Adapter_Mysqli_Exception('clear_result: '.$this->getConnection()->error); + } + } + + } + + public function dropForeignKey($table, $fk) + { $create = $this->raw_fetchRow("show create table `$table`", 'Create Table'); if (strpos($create, "CONSTRAINT `$fk` FOREIGN KEY (")!==false) { return $this->raw_query("ALTER TABLE `$table` DROP FOREIGN KEY `$fk`"); } return true; - } + } - public function dropKey($table, $key) - { - $create = $this->raw_fetchRow("show create table `$table`", 'Create Table'); + public function dropKey($table, $key) + { + $create = $this->raw_fetchRow("show create table `$table`", 'Create Table'); if (strpos($create, "KEY `$key` (")!==false) { return $this->raw_query("ALTER TABLE `$table` DROP KEY `$key`"); } return true; - } - - /** + } + + /** * ADD CONSTRAINT * * @@ -203,7 +208,8 @@ public function dropKey($table, $key) * @param string $onUpdate * @param string $onDelete */ - public function addConstraint($fkName, $tableName, $keyName, $refTableName, $refKeyName, $onDelete = 'cascade', $onUpdate = 'cascade') + public function addConstraint($fkName, $tableName, $keyName, $refTableName, + $refKeyName, $onDelete = 'cascade', $onUpdate = 'cascade') { if (substr($fkName, 0, 3) != 'FK_') { $fkName = 'FK_' . $fkName; @@ -274,4 +280,4 @@ public function select() { return new Varien_Db_Select($this); } -} \ No newline at end of file +} diff --git a/lib/Varien/Db/Adapter/Pdo/Mysql.php b/lib/Varien/Db/Adapter/Pdo/Mysql.php index 0151843b5b..1ea5cd2d05 100644 --- a/lib/Varien/Db/Adapter/Pdo/Mysql.php +++ b/lib/Varien/Db/Adapter/Pdo/Mysql.php @@ -269,20 +269,21 @@ protected function _connect() */ public function raw_query($sql) { + $lostConnectionMessage = 'SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query'; $tries = 0; do { $retry = false; try { $result = $this->getConnection()->query($sql); } catch (PDOException $e) { - if ($e->getMessage()=='SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query') { + if ($tries < 10 && $e->getMessage() == $lostConnectionMessage) { $retry = true; + $tries++; } else { throw $e; } - $tries++; } - } while ($retry && $tries<10); + } while ($retry); return $result; } @@ -325,7 +326,10 @@ public function query($sql, $bind = array()) $sql = (string)$sql; if (strpos($sql, ':') !== false || strpos($sql, '?') !== false) { $this->_bindParams = $bind; - $sql = preg_replace_callback('#(([\'"])((\\2)|((.*?[^\\\\])\\2)))#', array($this, 'proccessBindCallback'), $sql); + $sql = preg_replace_callback('#(([\'"])((\\2)|((.*?[^\\\\])\\2)))#', + array($this, 'proccessBindCallback'), + $sql + ); Varien_Exception::processPcreError(); $bind = $this->_bindParams; } @@ -415,7 +419,11 @@ public function multi_query($sql) */ protected function _splitMultiQuery($sql) { - $parts = preg_split('#(;|\'|"|\\\\|//|--|\n|/\*|\*/)#', $sql, null, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); + $parts = preg_split('#(;|\'|"|\\\\|//|--|\n|/\*|\*/)#', + $sql, + null, + PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE + ); $q = false; $c = false; @@ -1366,15 +1374,14 @@ public function changeTableEngine($tableName, $engine, $schemaName = null) * * @param mixed $table The table to insert data into. * @param array $data Column-value pairs or array of column-value pairs. - * @param arrat $fields update fields pairs or values + * @param array $fields update fields pairs or values * @return int The number of affected rows. */ public function insertOnDuplicate($table, array $data, array $fields = array()) { // extract and quote col names from the array keys - $row = reset($data); // get first elemnt from data array + $row = reset($data); // get first element from data array $bind = array(); // SQL bind array - $cols = array(); $values = array(); if (is_array($row)) { // Array of column-value pairs diff --git a/lib/Varien/File/Uploader.php b/lib/Varien/File/Uploader.php index 102bed0f46..8b902e6289 100644 --- a/lib/Varien/File/Uploader.php +++ b/lib/Varien/File/Uploader.php @@ -27,9 +27,12 @@ /** * File upload class * + * ATTENTION! This class must be used like abstract class and must added + * validation by protected file extension list to extended class + * * @category Varien * @package Varien_File - * @author Magento Core Team + * @author Magento Core Team */ class Varien_File_Uploader @@ -133,6 +136,14 @@ class Varien_File_Uploader const MULTIPLE_STYLE = 1; const TMP_NAME_EMPTY = 666; + /** + * Resulting of uploaded file + * + * @var array|bool Array with file info keys: path, file. Result is + * FALSE when file not uploaded + */ + protected $_result; + function __construct($fileId) { $this->_setUploadFileId($fileId); @@ -164,53 +175,54 @@ protected function _afterSave($result) * @access public * @return void|bool */ - public function save($destinationFolder, $newFileName=null) + public function save($destinationFolder, $newFileName = null) { $this->_validateFile(); - if( $this->_allowCreateFolders ) { + if ($this->_allowCreateFolders) { $this->_createDestinationFolder($destinationFolder); } - if( !is_writable($destinationFolder) ) { + if (!is_writable($destinationFolder)) { throw new Exception('Destination folder is not writable or does not exists.'); } - $result = false; + $this->_result = false; - $destFile = $destinationFolder; - $fileName = ( isset($newFileName) ) ? $newFileName : self::getCorrectFileName($this->_file['name']); - if( $this->_enableFilesDispersion ) { + $destinationFile = $destinationFolder; + $fileName = isset($newFileName) ? $newFileName : self::getCorrectFileName($this->_file['name']); + if ($this->_enableFilesDispersion) { $fileName = $this->correctFileNameCase($fileName); $this->setAllowCreateFolders(true); $this->_dispretionPath = self::getDispretionPath($fileName); - $destFile.= $this->_dispretionPath; - $this->_createDestinationFolder($destFile); + $destinationFile.= $this->_dispretionPath; + $this->_createDestinationFolder($destinationFile); } - if( $this->_allowRenameFiles ) { - $fileName = self::getNewFileName(self::_addDirSeparator($destFile).$fileName); + if ($this->_allowRenameFiles) { + $fileName = self::getNewFileName(self::_addDirSeparator($destinationFile) . $fileName); } - $destFile = self::_addDirSeparator($destFile) . $fileName; + $destinationFile = self::_addDirSeparator($destinationFile) . $fileName; - $result = move_uploaded_file($this->_file['tmp_name'], $destFile); + $this->_result = move_uploaded_file($this->_file['tmp_name'], $destinationFile); - if( $result ) { - chmod($destFile, 0777); - if ( $this->_enableFilesDispersion ) { - $fileName = str_replace(DIRECTORY_SEPARATOR, '/', self::_addDirSeparator($this->_dispretionPath)) . $fileName; + if ($this->_result) { + chmod($destinationFile, 0777); + if ($this->_enableFilesDispersion) { + $fileName = str_replace(DIRECTORY_SEPARATOR, '/', + self::_addDirSeparator($this->_dispretionPath)) . $fileName; } $this->_uploadedFileName = $fileName; $this->_uploadedFileDir = $destinationFolder; - $result = $this->_file; - $result['path'] = $destinationFolder; - $result['file'] = $fileName; + $this->_result = $this->_file; + $this->_result['path'] = $destinationFolder; + $this->_result['file'] = $fileName; - $this->_afterSave($result); + $this->_afterSave($this->_result); } - return $result; + return $this->_result; } /** @@ -229,12 +241,11 @@ protected function _validateFile() //is file extension allowed $fileExtension = substr($fileName, strrpos($fileName, '.')+1); - if( !$this->chechAllowedExtension($fileExtension) ) { + if (!$this->checkAllowedExtension($fileExtension)) { throw new Exception('Disallowed file type.'); } //run validate callbacks - foreach ($this->_validateCallbacks as $params) - { + foreach ($this->_validateCallbacks as $params) { if (is_object($params['object']) && method_exists($params['object'], $params['method'])) { $params['object']->$params['method']($filePath); } @@ -246,8 +257,8 @@ protected function _validateFile() * * @param string $callbackName * @param object $callbackObject - * @param string $callbackMethod - method name of $callbackObject. It must have interface (string $tmpFilePath) - * @access public + * @param string $callbackMethod Method name of $callbackObject. It must + * have interface (string $tmpFilePath) * @return Varien_File_Uploader */ public function addValidateCallback($callbackName, $callbackObject, $callbackMethod) @@ -322,8 +333,8 @@ static protected function _addDirSeparator($dir) */ public function checkMimeType($validTypes=Array()) { - if( count($validTypes) > 0 ) { - if( !in_array($this->_getMimeType(), $validTypes) ) { + if (count($validTypes) > 0) { + if (!in_array($this->_getMimeType(), $validTypes)) { return false; } } @@ -392,7 +403,7 @@ public function setFilenamesCaseSensitivity($flag) return $this; } - public function setAllowedExtensions($extensions=array()) + public function setAllowedExtensions($extensions = array()) { foreach ((array)$extensions as $extension) { $this->_allowedExtensions[] = strtolower($extension); @@ -400,15 +411,30 @@ public function setAllowedExtensions($extensions=array()) return $this; } - public function chechAllowedExtension($extension) + /** + * Check if specified extension is allowed + * + * @param string $extension + * @return boolean + */ + public function checkAllowedExtension($extension) { - if (is_null($this->_allowedExtensions)) { - return true; - } - elseif (in_array(strtolower($extension), $this->_allowedExtensions)) { + if (!is_array($this->_allowedExtensions) || empty($this->_allowedExtensions)) { return true; } - return false; + + return in_array(strtolower($extension), $this->_allowedExtensions); + } + + /** + * @deprecated after 1.5.0.0-beta2 + * + * @param string $extension + * @return boolean + */ + public function chechAllowedExtension($extension) + { + return $this->checkAllowedExtension($extension); } private function _getMimeType() @@ -428,14 +454,14 @@ private function _setUploadFileId($fileId) } else { preg_match("/^(.*?)\[(.*?)\]$/", $fileId, $file); - if( count($file) > 0 && (count($file[0]) > 0) && (count($file[1]) > 0) ) { + if (count($file) > 0 && (count($file[0]) > 0) && (count($file[1]) > 0)) { array_shift($file); $this->_uploadType = self::MULTIPLE_STYLE; $fileAttributes = $_FILES[$file[0]]; $tmp_var = array(); - foreach( $fileAttributes as $attributeName => $attributeValue ) { + foreach ($fileAttributes as $attributeName => $attributeValue) { $tmp_var[$attributeName] = $attributeValue[$file[1]]; } @@ -452,7 +478,7 @@ private function _setUploadFileId($fileId) private function _createDestinationFolder($destinationFolder) { - if( !$destinationFolder ) { + if (!$destinationFolder) { return $this; } @@ -469,20 +495,20 @@ private function _createDestinationFolder($destinationFolder) $path = explode(DIRECTORY_SEPARATOR, $destinationFolder); $newPath = null; $oldPath = null; - foreach( $path as $key => $directory ) { - if (trim($directory)=='') { + foreach ($path as $key => $directory) { + if (trim($directory) == '') { continue; } - if (strlen($directory)===2 && $directory{1}===':') { + if (strlen($directory) === 2 && $directory{1} === ':') { $newPath = $directory; continue; } - $newPath.= ( $newPath != DIRECTORY_SEPARATOR ) ? DIRECTORY_SEPARATOR . $directory : $directory; - if( is_dir($newPath) ) { + $newPath .= ($newPath != DIRECTORY_SEPARATOR) ? DIRECTORY_SEPARATOR . $directory : $directory; + if(is_dir($newPath)) { $oldPath = $newPath; continue; } else { - if( is_writable($oldPath) ) { + if(is_writable($oldPath)) { mkdir($newPath, 0777); } else { throw new Exception("Unable to create directory '{$newPath}'. Access forbidden."); @@ -496,7 +522,7 @@ private function _createDestinationFolder($destinationFolder) static public function getNewFileName($destFile) { $fileInfo = pathinfo($destFile); - if( file_exists($destFile) ) { + if (file_exists($destFile)) { $index = 1; $baseName = $fileInfo['filename'] . '.' . $fileInfo['extension']; while( file_exists($fileInfo['dirname'] . DIRECTORY_SEPARATOR . $baseName) ) { @@ -515,12 +541,13 @@ static public function getDispretionPath($fileName) { $char = 0; $dispretionPath = ''; - while( ($char < 2) && ($char < strlen($fileName)) ) { + while (($char < 2) && ($char < strlen($fileName))) { if (empty($dispretionPath)) { - $dispretionPath = DIRECTORY_SEPARATOR.('.' == $fileName[$char] ? '_' : $fileName[$char]); - } - else { - $dispretionPath = self::_addDirSeparator($dispretionPath) . ('.' == $fileName[$char] ? '_' : $fileName[$char]); + $dispretionPath = DIRECTORY_SEPARATOR + . ('.' == $fileName[$char] ? '_' : $fileName[$char]); + } else { + $dispretionPath = self::_addDirSeparator($dispretionPath) + . ('.' == $fileName[$char] ? '_' : $fileName[$char]); } $char ++; } diff --git a/media/.htaccess b/media/.htaccess index d79b114d13..5c5cc71bac 100644 --- a/media/.htaccess +++ b/media/.htaccess @@ -5,3 +5,21 @@ php_flag engine 0 AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi Options -ExecCGI + + + +############################################ +## enable rewrites + + Options +FollowSymLinks + RewriteEngine on + +############################################ +## never rewrite for existing files + RewriteCond %{REQUEST_FILENAME} !-f + +############################################ +## rewrite everything else to index.php + + RewriteRule .* ../get.php [L] + diff --git a/media/customer/.htaccess b/media/customer/.htaccess deleted file mode 100644 index 93169e4eb4..0000000000 --- a/media/customer/.htaccess +++ /dev/null @@ -1,2 +0,0 @@ -Order deny,allow -Deny from all diff --git a/media/xmlconnect/custom/ok.gif b/media/xmlconnect/custom/ok.gif new file mode 100644 index 0000000000..7b67a6dde7 Binary files /dev/null and b/media/xmlconnect/custom/ok.gif differ diff --git a/media/xmlconnect/original/ok.gif b/media/xmlconnect/original/ok.gif new file mode 100644 index 0000000000..7b67a6dde7 Binary files /dev/null and b/media/xmlconnect/original/ok.gif differ diff --git a/media/xmlconnect/system/ok.gif b/media/xmlconnect/system/ok.gif new file mode 100644 index 0000000000..7b67a6dde7 Binary files /dev/null and b/media/xmlconnect/system/ok.gif differ diff --git a/media/xmlconnect/themes/test_black.xml b/media/xmlconnect/themes/test_black.xml new file mode 100644 index 0000000000..265fa5eb1e --- /dev/null +++ b/media/xmlconnect/themes/test_black.xml @@ -0,0 +1,63 @@ + + + + + test_white + + 1.0 + 1.4.0.2 + + + + + #000000 + + + #000000 + #000000 + #000000 + #000000 + + + #000000 + #000000 + + + #000000 + + + + +
    #000000
    + #000000 + #000000 + #000000 +
    +
    +
    +
    diff --git a/media/xmlconnect/themes/test_white.xml b/media/xmlconnect/themes/test_white.xml new file mode 100644 index 0000000000..81d28e6a75 --- /dev/null +++ b/media/xmlconnect/themes/test_white.xml @@ -0,0 +1,63 @@ + + + + + test_white + + 1.0 + 1.4.0.2 + + + + + #FFFFFF + + + #FFFFFF + #FFFFFF + #FFFFFF + #FFFFFF + + + #FFFFFF + #FFFFFF + + + #FFFFFF + + + + +
    #FFFFFF
    + #FFFFFF + #FFFFFF + #FFFFFF +
    +
    +
    +
    diff --git a/skin/adminhtml/default/default/boxes.css b/skin/adminhtml/default/default/boxes.css index 6a9fcbfbd7..b58e3fe141 100644 --- a/skin/adminhtml/default/default/boxes.css +++ b/skin/adminhtml/default/default/boxes.css @@ -765,7 +765,7 @@ ul.item-options li { padding-left:.7em; } /* Product Configuration Popup */ #popup-window-mask, -.popup-window-mask { position:absolute; top:0; right:0; bottom:0; left:0; width:100%; height:100%; z-index:399; background-color:#efefef; opacity:.5; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";/*IE8*/ } +.popup-window-mask { background:url(images/bg_window_mask.png) repeat 0 0; background:rgba(239, 239, 239, 0.5); position:absolute; top:0; right:0; bottom:0; left:0; width:100%; height:100%; z-index:399; } .product-configure-popup { background:#fafafa; border:1px solid #d6d6d6; left:50%; margin:0 0 0 -271px; position:fixed; top:50%; width:540px; z-index:400; } .product-configure-popup .validation-advice { margin-left:0; } #product_composite_configure_messages { margin-left:0 !important; padding:10px 15px; } diff --git a/skin/adminhtml/default/default/iestyles.css b/skin/adminhtml/default/default/iestyles.css index 24d34c4e5c..b4b340a7b0 100644 --- a/skin/adminhtml/default/default/iestyles.css +++ b/skin/adminhtml/default/default/iestyles.css @@ -58,7 +58,8 @@ ul.tabs li a, .uploader .file-row, .grid tr.filter .range .range-line, .centinel .authentication, -.paypal-payment-notice { zoom:1; } +.paypal-payment-notice, +.product-options .options-list li { zoom:1; } .clear { display:block; clear:both; height:0; font-size:0; line-height:0; overflow:hidden; } @@ -76,6 +77,9 @@ button.disabled:active { filter:alpha(opacity=80); } .message-popup .message-popup-content .message { _height:4.5em; } +#popup-window-mask, +.popup-window-mask { background:#efefef; filter:alpha(opacity=50); } + /* Scalable Button Override */ button, .form-button { width:auto; margin-left:5px; overflow:visible; } .massaction button { width:auto; height: 20px; margin-left:0; overflow:hidden; } diff --git a/skin/adminhtml/default/default/images/bg_window_mask.png b/skin/adminhtml/default/default/images/bg_window_mask.png new file mode 100644 index 0000000000..1824283aa6 Binary files /dev/null and b/skin/adminhtml/default/default/images/bg_window_mask.png differ diff --git a/skin/adminhtml/default/default/images/xmlconnect/loading.gif b/skin/adminhtml/default/default/images/xmlconnect/loading.gif new file mode 100644 index 0000000000..c3c7b84911 Binary files /dev/null and b/skin/adminhtml/default/default/images/xmlconnect/loading.gif differ diff --git a/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_content.jpg b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_content.jpg new file mode 100644 index 0000000000..06530a878e Binary files /dev/null and b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_content.jpg differ diff --git a/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_header_catalog.png b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_header_catalog.png new file mode 100644 index 0000000000..01897f8d77 Binary files /dev/null and b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_header_catalog.png differ diff --git a/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_header_home.png b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_header_home.png new file mode 100644 index 0000000000..80cd5144a7 Binary files /dev/null and b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_header_home.png differ diff --git a/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_home_content.jpg b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_home_content.jpg new file mode 100644 index 0000000000..9b480b6cf9 Binary files /dev/null and b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_home_content.jpg differ diff --git a/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_home_header.png b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_home_header.png new file mode 100644 index 0000000000..d47261009d Binary files /dev/null and b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/bg_home_header.png differ diff --git a/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/logo_big.png b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/logo_big.png new file mode 100644 index 0000000000..1c331e6f7b Binary files /dev/null and b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/android/logo_big.png differ diff --git a/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/ipad/bg_home_content.jpg b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/ipad/bg_home_content.jpg new file mode 100644 index 0000000000..9b480b6cf9 Binary files /dev/null and b/skin/adminhtml/default/default/images/xmlconnect/mobile_preview/ipad/bg_home_content.jpg differ diff --git a/skin/adminhtml/default/default/xmlconnect/boxes.css b/skin/adminhtml/default/default/xmlconnect/boxes.css index 540e4ae1c9..809cb8f014 100644 --- a/skin/adminhtml/default/default/xmlconnect/boxes.css +++ b/skin/adminhtml/default/default/xmlconnect/boxes.css @@ -36,7 +36,15 @@ #field_tabs { padding:0 !important; } #field_tabs .mm-tabs-title { background:#ececec; padding:4px 10px; margin:0 -10px 15px; font-weight:bold; } #field_tabs table { width:500px !important; margin:0 10px 20px 10px; } -.ipad-horizontal { height:350px; width:467px; } -.ipad-portrait { height:467px; width:350px; } -.ipad-tab-portrait { width:308px; } -.ipad-tab-horizontal { width:425px; } \ No newline at end of file + +.preview-loading, +.ipad-portrait-loading, +.ipad-landscape-loading { background:url(../images/xmlconnect/loading.gif) no-repeat 50% 40%; color:#d4d4d4; font-size:18px; line-height:467px; text-align:center; } + +.preview-loading { line-height:488px; text-align:center; margin:0 0 10px; height:488px; width:328px; } +.ipad-portrait-loading { line-height:467px; } +.ipad-landscape-loading { line-height:350px; } + +.ipad-portrait { margin:0 0 5px; overflow:hidden; } +.ipad-landscape { margin:0 0 5px; } +.ipad-tab-landscape { width:425px; } \ No newline at end of file diff --git a/skin/adminhtml/default/default/xmlconnect/fonts/android_icons-webfont.eot b/skin/adminhtml/default/default/xmlconnect/fonts/android_icons-webfont.eot new file mode 100644 index 0000000000..1de39c4ad5 Binary files /dev/null and b/skin/adminhtml/default/default/xmlconnect/fonts/android_icons-webfont.eot differ diff --git a/skin/adminhtml/default/default/xmlconnect/fonts/android_icons-webfont.svg b/skin/adminhtml/default/default/xmlconnect/fonts/android_icons-webfont.svg new file mode 100644 index 0000000000..281ebcfb87 --- /dev/null +++ b/skin/adminhtml/default/default/xmlconnect/fonts/android_icons-webfont.svg @@ -0,0 +1,33 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/skin/adminhtml/default/default/xmlconnect/fonts/android_icons-webfont.ttf b/skin/adminhtml/default/default/xmlconnect/fonts/android_icons-webfont.ttf new file mode 100644 index 0000000000..39196ad7df Binary files /dev/null and b/skin/adminhtml/default/default/xmlconnect/fonts/android_icons-webfont.ttf differ diff --git a/skin/adminhtml/default/default/xmlconnect/fonts/android_icons-webfont.woff b/skin/adminhtml/default/default/xmlconnect/fonts/android_icons-webfont.woff new file mode 100644 index 0000000000..6e1dc39ae2 Binary files /dev/null and b/skin/adminhtml/default/default/xmlconnect/fonts/android_icons-webfont.woff differ diff --git a/skin/adminhtml/default/default/xmlconnect/mobile-android.css b/skin/adminhtml/default/default/xmlconnect/mobile-android.css index 13ea40c0c5..88a6f10dc3 100644 --- a/skin/adminhtml/default/default/xmlconnect/mobile-android.css +++ b/skin/adminhtml/default/default/xmlconnect/mobile-android.css @@ -28,20 +28,20 @@ font-weight: normal; font-style: normal; } -* { - background:transparent; - margin:0; - padding:0; - } -ul { - list-style:none; - } -body { - font:12px/15px Verdana; - line-height:1; - } + +@font-face { + font-family: 'icons'; + src: url('fonts/android_icons-webfont.eot'); + src: local('O'), url('fonts/android_icons-webfont.woff') format('woff'), url('fonts/android_icons-webfont.ttf') format('truetype'), url('fonts/android_icons-webfont.svg#webfontyMStiDRV') format('svg'); + font-weight: normal; + font-style: normal; +} + .main-frame { background:url(../images/xmlconnect/mobile_preview/android/bg_frame.gif) no-repeat 0 0; + font:12px/15px Verdana; + line-height:1; + margin:0 0 10px; padding:4px; height:480px; width:320px; @@ -56,25 +56,34 @@ body { height:48px; width:320px; } - .header-wrap .header { + .header-wrap .app-header { height:48px; } .header-wrap .icon { + font-family:'icons'; + font-size:35px; + line-height:48px; + text-align:center; + text-shadow:0 1px 0 #333; float:right; height:48px; - width:48px; + width:47px; } .header-wrap .icon-home { - background:url(../images/xmlconnect/mobile_preview/android/ico_home.png) no-repeat 0 0; + border-right:1px solid #333; float:left; } .header-wrap .icon-search { - background:url(../images/xmlconnect/mobile_preview/android/ico_search.png) no-repeat 0 0; + border-left:1px solid #333; + padding-left:5px; + width:42px; } .header-wrap .icon-account { - background:url(../images/xmlconnect/mobile_preview/android/ico_account.png) no-repeat 0 0; + border-left:1px solid #333; + padding-left:5px; + width:42px; } - .header-wrap .logo { + .header-wrap .app-logo { color:#fff; float:left; font-size:13px; @@ -82,12 +91,13 @@ body { padding:12px 0 0 45px; text-shadow:0 0 5px #333; } - .header-wrap .logo img { + .header-wrap .app-logo img { margin-right:10px; vertical-align:middle; } .home-page .content { background:url(../images/xmlconnect/mobile_preview/android/bg_logo.png) no-repeat center; + padding:0; height:267px; width:320px; } @@ -248,13 +258,14 @@ body { .catalog-page .cat-list .col-1 .rating img, .catalog-page .cat-list .col-1 .rating span { font-size:10px; - vertical-align:middle; } .catalog-page .cat-list .col-2 { } .catalog-page .cat-list .col-2 h3 { color:#222222; font-size:14px; + line-height:1; + margin:0; font-weight:normal; } .catalog-page .cat-list .col-2 .price-box { diff --git a/skin/adminhtml/default/default/xmlconnect/mobile-catalog.css b/skin/adminhtml/default/default/xmlconnect/mobile-catalog.css index 18602e891c..77b3c84686 100644 --- a/skin/adminhtml/default/default/xmlconnect/mobile-catalog.css +++ b/skin/adminhtml/default/default/xmlconnect/mobile-catalog.css @@ -20,501 +20,94 @@ * @copyright Copyright (c) 2010 Irubin Consulting Inc. DBA Varien (http://www.varien.com) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -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; - padding:4px; -} - -.main-block -{ - width:320px; - height:478px; - position:relative; - overflow:hidden; -} -.header-sign-1 -{ - font:bold 13px/19px arial !important; - color:#e9e9e9; - float:left; - padding:0 15px 0 6px; -} -.top-header -{ - height:19px -} - -.battery -{ - height:16px; - width:25px; - float:right; - margin:-2px 5px 5px 13px; -} - -.volume -{ - height:16px; - width:25px; - float:left; - margin-top:-2px; -} - -.antenna -{ - height:16px; - width:18px; - float:left; - margin-left:6px; -} -.time -{ - position:relative; - left:35px; - text-align:center; - font:bold 13px/19px arial; - color:#e9e9e9; - float:left; -} - -.main-header -{ - width:100%; - height:44px; - color:#f3f3f3; - padding:0; - position:relative; -} - -.login-btn -{ - float:right; - height:30px; - width:68px; - margin-top:7px; - font:bold 11px/30px arial; - color:#e9e9e9; -} - -.login-body -{ - float:left; - background:url(../images/xmlconnect/mobile_preview/login-btn.png) 0 0 repeat-x; - line-height:29px; - height:29px; - padding:0 8px; -} - -.login-left, .login-right, .login-left-alt -{ - float:left; - font:bold 1px/1px arial; - width:3px; - height:29px; -} -.login-left -{ - background:url(../images/xmlconnect/mobile_preview/login-btn-left.png) 0 0 no-repeat; -} -.login-left-alt -{ - background:url(../images/xmlconnect/mobile_preview/login-btn-left-alt.png) 0 0 no-repeat; - width:12px; -} -.login-right -{ - width:4px; - background:url(../images/xmlconnect/mobile_preview/login-btn-right.png) 0 0 no-repeat; -} - -.main-header .gradient { - height:44px; - width:100%; - position:absolute; - background:url(../images/xmlconnect/mobile_preview/gradients/header2.png) 0 0 no-repeat; - left:0; -} - -.header-buttons, -.header-buttons td { height:40px !important; padding:0 !important; margin:0 !important; } - -.info -{ - text-align:center; - vertical-align:middle; - width:30px; - height:42px; -} -.logo-small -{ - width:165px; - height:44px; - overflow:hidden; - text-align:center; - vertical-align:middle; -} - -.logo-small div -{ - width:165px; - height:41px; - overflow:hidden; - text-align:center; - vertical-align:middle; -} - -.logo-small img { vertical-align:middle; } -.logo-small .sh-title { text-align:left; height:30px; vertical-align:middle; } -.logo-small .sh-title1, -.logo-small .sh-title2 { font:bold 16px/44px arial !important; color:#000; position:relative; } -.logo-small .sh-title2 { color:#fff; position:absolute; top:-13px; left:-1px; } - -.edit-filter { - width:75px; - float:left; - margin-right:10px; - margin-top:0; -} - -.back-button { float:left; margin:0 0 0 7px; width:60px; } - -.clearB -{ - clear: both; - height: 1px; -} - -.filter-header -{ - height: 22px; - text-align: center; - vertical-align: middle; -} -.filter-header .gradient -{ - height:22px; - width:100%; - position:absolute; - background:url(../images/xmlconnect/mobile_preview/gradients/header3.png) 0 0 repeat-x; - left:0; -} -.filter-applied -{ - padding-top:1px; - color:#fff; - font:bold 10px/18px arial; -} -.filter-circle -{ - margin-left:99px; - display:block; - float:left; - width: 18px; - height: 18px; - background:url(../images/xmlconnect/mobile_preview/circle.png) 0 0 no-repeat; -} -.filter-text -{ - float:left; - padding: 0 0 0 5px; - font:bold 11px/20px arial; -} -.filter-lines -{ - float:right; - width:25px; - height:22px; - padding:0 25px 0 0; - background:url(../images/xmlconnect/mobile_preview/lines-h.png) 29px 7px no-repeat; -} -.sort-block -{ - height:42px; - text-align: center; -} -.sort-block-inner -{ - position:relative; - height:42px; - background:url(../images/xmlconnect/mobile_preview/gradients/sort-bg.png) 0 0 repeat-x !important; -} -.sort-block-inner-txt -{ - float:left; - width:75px; - height:26px; - padding-top: 12px; - font:bold 11px/18px arial !important; -} - -.sort-buttons -{ - text-align:center; - 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; -} - -.inactive -{ - color: #333; -} - -.item -{ - font-family:Helvetica, "Helvetica Neue", Arial, sans-serif; - height: 91px; - position:relative; -} - -.item .gradient -{ - height:88px; - width:100%; - position:absolute; - bottom:0; - background: url(../images/xmlconnect/mobile_preview/gradients/item-bg.png) 0 0 repeat-x; - left:0; -} - -.slider -{ - -} - -.slider-item -{ - background: url('../images/xmlconnect/mobile_preview/actionsBg.png') left center repeat-x; - width: 20%; - height: 100%; - float: left; - text-align: center; -} -.slider-image -{ - position: relative; - top: 20px; -} - -.slider-item-text -{ - position: relative; - top: 25px; -} - -.lines-v -{ - height: 91px; - width: 20px; - background: url('../images/xmlconnect/mobile_preview/lines-v.png') center center no-repeat; - float: left; -} -.arrow -{ - height: 91px; - width: 20px; - background: url('../images/xmlconnect/mobile_preview/arrow.png') center center no-repeat; - float: right; -} -.item-image -{ - padding: 10px 0 0 10px; - float: left; -} -.item-image img -{ - -moz-box-shadow:0 2px 3px #999; - -webkit-box-shadow:0 2px 3px #999; - box-shadow:0 2px 3px #999; -} -.item-info -{ - float: left; - text-align: left; - padding: 10px 0 0 20px; -} -.item-title -{ - font:bold 12px/15px "Helvetica Neue", Helvetica, Verdana, sans-serif !important; - padding:0; -} - -.item-price-block span, -.availability span, -.slider-item-text -{ - font-family:"Helvetica Neue", Helvetica, Verdana, sans-serif !important; -} - -.slider-item-text -{ - font-size:10px !important; - padding:0 5px; -} - -.item-price-block span { - font:bold 12px/14px Tahoma, Verdana, Geneva !important; -} - -.item-price-block -{ - padding:2px 0 0; -} - -.availability -{ - padding:5px 0; -} - -.item-rate { - padding:4px 0 0; -} - -.item-rate .stars -{ - font-family:stars; - vertical-align:middle; -} - -.item-rate .star -{ - vertical-align:top; -} - -.item-rate strong -{ - font-size:10px; - vertical-align:text-top; -} - -.item-rate -{ -} - -.bottom-buttons -{ - height:48px; - position:absolute; - bottom:0; - background:#060606; - width:320px; -} - -.bottom-buttons .gradient { - position:absolute; - width:320px; - background:url(../images/xmlconnect/mobile_preview/gradients/footer.png) 0 0 no-repeat !important; -} - -.bottom-button -{ - height:26px; - vertical-align:top; -} -.bottom-button p -{ - text-align:center; - font:normal 10px/11px arial; - color:#9f9f9f; - margin:0; - padding-top:33px; - position:relative; - z-index:100; -} - -.bottom-button-active p -{ - color:#fff; - margin-top:-46px; - font-weight:bold; -} - -.bottom-button-active .background -{ - background:#fff; - height:44px; - position:relative; - -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=14)"; - filter:alpha(opacity=14); - opacity:0.14; - -moz-border-radius:2px; - -webkit-border-radius:2px; - border-radius:2px; -} + 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; +} + +.iphone-catalog .main-frame { background:url(../images/xmlconnect/mobile_preview/mm-frame.gif) 0 0 no-repeat; line-height:1; margin:0 0 10px; padding:4px; } +.iphone-catalog .main-block { width:320px; height:478px; position:relative; overflow:hidden; } +.iphone-catalog .header-sign-1 { font:bold 13px/19px arial !important; color:#e9e9e9; float:left; padding:0 15px 0 6px; } +.iphone-catalog .top-header { height:19px; } +.iphone-catalog .battery { height:16px; width:25px; float:right; margin:-2px 5px 5px 13px; } +.iphone-catalog .volume { height:16px; width:25px; float:left; margin-top:-2px; } +.iphone-catalog .antenna { height:16px; width:18px; float:left; margin-left:6px; } +.iphone-catalog .time { position:relative; left:35px; text-align:center; font:bold 13px/19px arial; color:#e9e9e9; float:left; } +.iphone-catalog .main-header { width:100%; height:44px; color:#f3f3f3; padding:0; position:relative; } +.iphone-catalog .login-btn { float:right; height:30px; width:68px; margin-top:7px; font:bold 11px/30px arial; color:#e9e9e9; } +.iphone-catalog .login-body { float:left; background:url(../images/xmlconnect/mobile_preview/login-btn.png) 0 0 repeat-x; line-height:29px; height:29px; padding:0 8px; } +.iphone-catalog .login-left, +.iphone-catalog .login-right, +.iphone-catalog .login-left-alt { float:left; font:bold 1px/1px arial; width:3px; height:29px; } +.iphone-catalog .login-left { background:url(../images/xmlconnect/mobile_preview/login-btn-left.png) 0 0 no-repeat; } +.iphone-catalog .login-left-alt { background:url(../images/xmlconnect/mobile_preview/login-btn-left-alt.png) 0 0 no-repeat; width:12px; } +.iphone-catalog .login-right { width:4px; background:url(../images/xmlconnect/mobile_preview/login-btn-right.png) 0 0 no-repeat; } +.iphone-catalog .main-header .gradient { height:44px; width:100%; position:absolute; background:url(../images/xmlconnect/mobile_preview/gradients/header2.png) 0 0 no-repeat; left:0; } +.iphone-catalog .header-buttons, +.iphone-catalog .header-buttons td { height:40px !important; padding:0 !important; margin:0 !important; } +.iphone-catalog .info { text-align:center; vertical-align:middle; width:30px; height:42px; } +.iphone-catalog .logo-small { width:165px; height:44px; overflow:hidden; text-align:center; vertical-align:middle; } +.iphone-catalog .logo-small div { width:165px; height:41px; overflow:hidden; text-align:center; vertical-align:middle; } +.iphone-catalog .logo-small img { vertical-align:middle; } +.iphone-catalog .logo-small .sh-title { text-align:left; height:30px; vertical-align:middle; } +.iphone-catalog .logo-small .sh-title1, +.iphone-catalog .logo-small .sh-title2 { font:bold 16px/44px arial !important; color:#000; position:relative; } +.iphone-catalog .logo-small .sh-title1 { display:inline-block; } +.iphone-catalog .logo-small .sh-title2 { color:#fff; position:absolute; top:-1px; left:-1px; } +.iphone-catalog .edit-filter { width:75px; float:left; margin-right:10px; margin-top:0; } +.iphone-catalog .back-button { float:left; margin:0 0 0 7px; width:60px; } +.iphone-catalog .clearB { clear:both; height:1px; } +.iphone-catalog .filter-header { height:22px; text-align:center; vertical-align:middle; } +.iphone-catalog .filter-header .gradient { height:22px; width:100%; position:absolute; background:url(../images/xmlconnect/mobile_preview/gradients/header3.png) 0 0 repeat-x; left:0; } +.iphone-catalog .filter-applied { padding-top:1px; color:#fff; font:bold 10px/18px arial; } +.iphone-catalog .filter-circle { margin-left:99px; display:block; float:left; width:18px; height:18px; background:url(../images/xmlconnect/mobile_preview/circle.png) 0 0 no-repeat; } +.iphone-catalog .filter-text { float:left; padding:0 0 0 5px; font:bold 11px/20px arial; } +.iphone-catalog .filter-lines { float:right; width:25px; height:22px; padding:0 25px 0 0; background:url(../images/xmlconnect/mobile_preview/lines-h.png) 29px 7px no-repeat; } +.iphone-catalog .sort-block { height:42px; text-align:center; } +.iphone-catalog .sort-block-inner { position:relative; height:42px; background:url(../images/xmlconnect/mobile_preview/gradients/sort-bg.png) 0 0 repeat-x !important; } +.iphone-catalog .sort-block-inner-txt { float:left; width:75px; height:26px; padding-top:12px; font:bold 11px/18px arial !important; } +.iphone-catalog .sort-buttons { text-align:center; font:bold 11px/11px Helvetica, "Helvetica Neue", Verdana, sans-serif; padding:0 5px 0 0; width:234px; height:26px; margin-top:8px; } +.iphone-catalog .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; } +.iphone-catalog .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; } +.iphone-catalog .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; } +.iphone-catalog .sort-block .button-name, +.iphone-catalog .sort-block .button-price { padding:6px 19px 5px; } +.iphone-catalog .sort-block .button-name { border-width:1px 0; } +.iphone-catalog .sort-block .button-price { -moz-border-radius:0 5px 5px 0; -webkit-border-radius:0 5px 5px 0; border-radius:0 5px 5px 0; } +.iphone-catalog .sort-block .button img { vertical-align:middle; } +.iphone-catalog .active { color:#e9e9e9; } +.iphone-catalog .inactive { color:#333; } +.iphone-catalog .item { font-family:Helvetica, "Helvetica Neue", Arial, sans-serif; height:91px; position:relative; } +.iphone-catalog .item .gradient { height:88px; width:100%; position:absolute; bottom:0; background:url(../images/xmlconnect/mobile_preview/gradients/item-bg.png) 0 0 repeat-x; left:0; } +.iphone-catalog .slider { background:url('../images/xmlconnect/mobile_preview/actionsBg.png') left center repeat-x; } +.iphone-catalog .slider-item { width:20%; height:91px; float:left; text-align:center; } +.iphone-catalog .slider-image { position:relative; top:20px; } +.iphone-catalog .slider-item-text { position:relative; top:25px; } +.iphone-catalog .lines-v { height:91px; width:20px; background:url('../images/xmlconnect/mobile_preview/lines-v.png') center center no-repeat; float:left; } +.iphone-catalog .arrow { height:91px; width:20px; background:url('../images/xmlconnect/mobile_preview/arrow.png') center center no-repeat; float:right; } +.iphone-catalog .item-image { padding:10px 0 0 10px; float:left; } +.iphone-catalog .item-image img { -moz-box-shadow:0 2px 3px #999; -webkit-box-shadow:0 2px 3px #999; box-shadow:0 2px 3px #999; } +.iphone-catalog .item-info { float:left; text-align:left; padding:10px 0 0 20px; } +.iphone-catalog .item-title { font:bold 12px/15px "Helvetica Neue", Helvetica, Verdana, sans-serif !important; padding:0; } +.iphone-catalog .item-price-block span, +.iphone-catalog .availability span, +.iphone-catalog .slider-item-text { font-family:"Helvetica Neue", Helvetica, Verdana, sans-serif !important; } +.iphone-catalog .slider-item-text { font-size:10px !important; padding:0 5px; } +.iphone-catalog .item-price-block span { font:bold 12px/14px Tahoma, Verdana, Geneva !important; } +.iphone-catalog .item-price-block { padding:2px 0 0; } +.iphone-catalog .availability { padding:5px 0; } +.iphone-catalog .item-rate { padding:4px 0 0; } +.iphone-catalog .item-rate .stars { font-family:stars; font-size:16px; vertical-align:middle; } +.iphone-catalog .item-rate .star { vertical-align:top; } +.iphone-catalog .item-rate strong { font-size:10px; line-height:16px; vertical-align:text-top; } +.iphone-catalog .item-rate {} +.iphone-catalog .bottom-buttons { height:48px; position:absolute; bottom:0; background:#060606; width:320px; } +.iphone-catalog .bottom-buttons .gradient { position:absolute; width:320px; background:url(../images/xmlconnect/mobile_preview/gradients/footer.png) 0 0 no-repeat !important; } +.iphone-catalog .bottom-button { height:26px; vertical-align:top; } +.iphone-catalog .bottom-button p { text-align:center; font:normal 10px/11px arial; color:#9f9f9f; margin:0; padding-top:33px; position:relative; z-index:100; } +.iphone-catalog .bottom-button-active p { color:#fff; margin-top:-46px; font-weight:bold; } +.iphone-catalog .bottom-button-active .background { background:#fff; height:44px; position:relative; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=14)"; filter:alpha(opacity=14); opacity:0.14; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; } diff --git a/skin/adminhtml/default/default/xmlconnect/mobile-home.css b/skin/adminhtml/default/default/xmlconnect/mobile-home.css index 7779e28741..5c5970bfe1 100644 --- a/skin/adminhtml/default/default/xmlconnect/mobile-home.css +++ b/skin/adminhtml/default/default/xmlconnect/mobile-home.css @@ -20,264 +20,46 @@ * @copyright Copyright (c) 2010 Irubin Consulting Inc. DBA Varien (http://www.varien.com) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -body { margin:0; padding:0; } - -.main-frame -{ - background:url(../images/xmlconnect/mobile_preview/mm-frame.gif) 0 0 no-repeat; - padding:4px; -} - -.main-block -{ - width:320px; - height:478px; - position:relative; - overflow:hidden; -} -.header-sign-1 -{ - font:bold 13px/19px arial !important; - color:#e9e9e9; - float:left; - padding:0 15px 0 6px; -} -.top-header -{ - height:19px -} - -.battery -{ - height:16px; - width:25px; - float:right; - margin:-2px 5px 5px 13px; -} - -.volume -{ - height:16px; - width:25px; - float:left; - margin-top:-2px; -} - -.antenna -{ - height:16px; - width:18px; - float:left; - margin-left:6px; -} -.time -{ - position:relative; - left:35px; - text-align:center; - font:bold 13px/19px arial; - color:#e9e9e9; - float:left; -} - -.main-header -{ - width:100%; - height:44px; - color:#f3f3f3; - padding:0; - position:relative; -} - -.main-header .gradient { - height:44px; - width:100%; - position:absolute; - background:url(../images/xmlconnect/mobile_preview/gradients/header2.png) 0 0 no-repeat; - left:0; -} - -.clearB -{ - clear:both; - height:1px; -} - -.header-buttons, -.header-buttons td { height:40px !important; padding:0 !important; margin:0 !important; } - -.info -{ - text-align:left; - vertical-align:middle; - width:51px; - height:42px; -} - -.info img { - margin-left:5px; -} - -.logo-small -{ - width:200px; - height:44px; - overflow:hidden; - text-align:center; - vertical-align:middle; -} - -.logo-small div -{ - width:200px; - height:41px; - overflow:hidden; - text-align:center; - vertical-align:middle; -} - -.logo-small img { vertical-align:middle; } -.logo-small .sh-title { text-align:left; height:30px; vertical-align:middle; } -.logo-small .sh-title1, -.logo-small .sh-title2 { font:bold 16px/44px arial !important; color:#000; position:relative; } -.logo-small .sh-title2 { color:#fff; position:absolute; top:-13px; left:-1px; } - -.login-btn -{ - height:30px; - width:68px; - font:bold 11px/30px arial; - color:#e9e9e9; -} - -.login-body -{ - float:left; - background:url(../images/xmlconnect/mobile_preview/login-btn.png) 0 0 repeat-x; - line-height:29px; - height:29px; - padding:0 8px; -} - -.login-left, .login-right -{ - float:left; - font:bold 1px/1px arial; - width:3px; - height:29px; -} -.login-left -{ - background:url(../images/xmlconnect/mobile_preview/login-btn-left.png) 0 0 no-repeat; -} -.login-right -{ - width:4px; - background:url(../images/xmlconnect/mobile_preview/login-btn-right.png) 0 0 no-repeat; -} - -.title -{ - position:relative; - top:10px; - font:bold 19px arial; - color:#e9e9e9; -} -.main-header-text -{ - width:10px; -} - -.big-logo -{ - text-align:center; - padding:0; - height:230px; - width:320px; - overflow:hidden; -} -.catalog -{ - height:137px; - width:500px; - position:absolute; - padding-left:5px; -} -.item -{ - float:left; - width:80px; - padding:5px 5px 3px 5px; - text-align:center; - margin:10px 5px 0 5px; - height:112px; - position:relative; -} - -.item img { - display:block; - margin:0 0 10px 0; -} - -.item-text -{ - height:21px; - text-align:center; - margin-top:0px; - width:80px; - font:bold 12px/21px arial !important; - border-radius:6px; - -moz-border-radius:6px; - -webkit-border-radius:6px; -} - -.bottom-buttons -{ - height:48px; - position:absolute; - bottom:0; - background:#060606; - width:320px; -} - -.bottom-buttons .gradient { - position:absolute; - width:320px; - background:url(../images/xmlconnect/mobile_preview/gradients/footer.png) 0 0 no-repeat !important; -} - -.bottom-button -{ - height:26px; - vertical-align:top; -} -.bottom-button p -{ - text-align:center; - font:normal 10px/11px arial; - color:#9f9f9f; - margin:0; - padding-top:33px; - position:relative; - z-index:100; -} - -.bottom-button-active p -{ - color:#fff; - margin-top:-46px; - font-weight:bold; -} - -.bottom-button-active .background -{ - background:#fff; - height:44px; - position:relative; - -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=14)"; - filter:alpha(opacity=14); - opacity:0.14; - -moz-border-radius:2px; - -webkit-border-radius:2px; - border-radius:2px; -} \ No newline at end of file + +.iphone-home .main-frame { background:url(../images/xmlconnect/mobile_preview/mm-frame.gif) 0 0 no-repeat; line-height:1; margin:0 0 10px; padding:4px; } +.iphone-home .main-block { position:relative; height:478px; width:320px; overflow:hidden; } +.iphone-home .header-sign-1 { font:bold 13px/19px arial !important; color:#e9e9e9; float:left; padding:0 15px 0 6px; } +.iphone-home .top-header { height:19px; } +.iphone-home .battery { height:16px; width:25px; float:right; margin:-2px 5px 5px 13px; } +.iphone-home .volume { height:16px; width:25px; float:left; margin-top:-2px; } +.iphone-home .antenna { height:16px; width:18px; float:left; margin-left:6px; } +.iphone-home .time { position:relative; left:35px; text-align:center; font:bold 13px/19px arial; color:#e9e9e9; float:left; } +.iphone-home .main-header { width:100%; height:44px; color:#f3f3f3; padding:0; position:relative; } +.iphone-home .main-header .gradient { background:url(../images/xmlconnect/mobile_preview/gradients/header2.png) 0 0 no-repeat; height:44px; width:100%; position:absolute; left:0; } +.iphone-home .clearB { clear:both; height:1px; } +.iphone-home .header-buttons, +.iphone-home .header-buttons td { height:40px !important; padding:0 !important; margin:0 !important; vertical-align:middle; } +.iphone-home .header-buttons .login-btn { padding:5px 0 0 !important; height:35px !important; width:68px; font:bold 11px/30px arial; color:#e9e9e9; } +.iphone-home .info { text-align:left; vertical-align:middle; width:51px; height:42px; } +.iphone-home .info img { margin-left:5px; } +.iphone-home .logo-small { width:200px; height:44px; overflow:hidden; text-align:center; vertical-align:middle; } +.iphone-home .logo-small div { width:200px; height:41px; overflow:hidden; text-align:center; vertical-align:middle; } +.iphone-home .logo-small img { vertical-align:middle; } +.iphone-home .logo-small .sh-title { text-align:left; height:30px; vertical-align:middle; } +.iphone-home .logo-small .sh-title1, +.iphone-home .logo-small .sh-title2 { font:bold 16px/44px arial !important; color:#000; position:relative; } +.iphone-home .logo-small .sh-title1 { display:inline-block; } +.iphone-home .logo-small .sh-title2 { color:#fff; position:absolute; top:-1px; left:-1px; } +.iphone-home .login-body { float:left; background:url(../images/xmlconnect/mobile_preview/login-btn.png) 0 0 repeat-x; line-height:29px; height:29px; padding:0 8px; } +.iphone-home .login-left, +.iphone-home .login-right { float:left; font:bold 1px/1px arial; width:3px; height:29px; } +.iphone-home .login-left { background:url(../images/xmlconnect/mobile_preview/login-btn-left.png) 0 0 no-repeat; } +.iphone-home .login-right { background:url(../images/xmlconnect/mobile_preview/login-btn-right.png) 0 0 no-repeat; width:4px; } +.iphone-home .title { position:relative; top:10px; font:bold 19px arial; color:#e9e9e9; } +.iphone-home .main-header-text { width:10px; } +.iphone-home .big-logo { text-align:center; padding:0; height:230px; width:320px; overflow:hidden; } +.iphone-home .catalog { height:137px; width:500px; position:absolute; padding-left:5px; } +.iphone-home .item { float:left; width:80px; padding:5px 5px 3px 5px; text-align:center; margin:10px 5px 0 5px; height:112px; position:relative; } +.iphone-home .item img { display:block; margin:0 0 10px 0; } +.iphone-home .item-text { height:21px; text-align:center; margin-top:0px; width:80px; font:bold 12px/21px arial !important; border-radius:6px; -moz-border-radius:6px; -webkit-border-radius:6px; } +.iphone-home .bottom-buttons { height:48px; position:absolute; bottom:0; background:#060606; width:320px; } +.iphone-home .bottom-buttons .gradient { position:absolute; width:320px; background:url(../images/xmlconnect/mobile_preview/gradients/footer.png) 0 0 no-repeat !important; } +.iphone-home .bottom-button { height:26px; vertical-align:top; } +.iphone-home .bottom-button p { text-align:center; font:normal 10px/11px arial; color:#9f9f9f; margin:0; padding-top:33px; position:relative; z-index:100; } +.iphone-home .bottom-button-active p { color:#fff; margin-top:-46px; font-weight:bold; } +.iphone-home .bottom-button-active .background { background:#fff; height:44px; position:relative; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=14)"; filter:alpha(opacity=14); opacity:0.14; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; } diff --git a/skin/adminhtml/default/default/xmlconnect/mobile-ipad-catalog.css b/skin/adminhtml/default/default/xmlconnect/mobile-ipad-catalog.css index 5f0efb98f9..fafad2f2b0 100644 --- a/skin/adminhtml/default/default/xmlconnect/mobile-ipad-catalog.css +++ b/skin/adminhtml/default/default/xmlconnect/mobile-ipad-catalog.css @@ -20,6 +20,7 @@ * @copyright Copyright (c) 2010 Irubin Consulting Inc. DBA Varien (http://www.varien.com) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ + @font-face { font-family: 'stars'; src: url('fonts/stars-webfont.eot'); @@ -27,118 +28,110 @@ font-weight: normal; font-style: normal; } -* { - margin:0; padding:0; - } -ol, -ul { - list-style:none; - } -a { - color:#000; - text-decoration:none; - } -body { + +.ipad-catalog { font-family:"Helvetica Neue", Helvetica, Verdana, sans-serif; line-height:1; - } - -.ipad { height:467px; width:350px; } -.ipad-horizontal { +.ipad-catalog-landscape { height:350px; width:467px; } - .ipad .status-bar { +.ipad-catalog a { + color:#000; + text-decoration:none; + } + .ipad-catalog .status-bar { background:url(../images/xmlconnect/mobile_preview/ipad/bg_status_bar.png) no-repeat 0 0; height:9px; font-size:0; line-height:0; } - .ipad-horizontal .status-bar { + .ipad-catalog-landscape .status-bar { background-image:url(../images/xmlconnect/mobile_preview/ipad/bg_status_bar_hor.png); } - .ipad .header-wrap { + .ipad-catalog .header-wrap { background:url(../images/xmlconnect/mobile_preview/ipad/bg_header.png) no-repeat 0 0 #000; height:20px; position:relative; } - .ipad-horizontal .header-wrap { + .ipad-catalog-landscape .header-wrap { background-image:url(../images/xmlconnect/mobile_preview/ipad/bg_catalog_header_hor.png); height:20px; } - .ipad .header .logo { + .ipad-catalog .app-header .app-logo { margin-left:80px; margin-right:1px; } - .ipad-horizontal .header .logo { + .ipad-catalog-landscape .app-header .app-logo { margin-left:130px; } - .ipad .header .logo img { + .ipad-catalog .app-header .app-logo img { vertical-align:middle; } - .ipad .header .store-name { + .ipad-catalog .app-header .store-name { color:#fff; font-size:9px; line-height:20px; margin-right:10px; vertical-align:middle; } - .ipad-horizontal .header .store-name { + .ipad-catalog-landscape .app-header .store-name { margin-right:80px; } - .ipad .header img, - .ipad .header span span { + .ipad-catalog .app-header img, + .ipad-catalog .app-header span span { vertical-align:top; } - .ipad .header .search { + .ipad-catalog .app-header .search { font-size:6px; position:absolute; top:3px; right:105px; } - .ipad .header .info, - .ipad .header .login, - .ipad .header .cart { + .ipad-catalog .app-header .info, + .ipad-catalog .app-header .login, + .ipad-catalog .app-header .cart { float:right; position:relative; padding:0 5px; top:5px; } - .ipad .header .info { + .ipad-catalog .app-header .info { top:6px; } - .ipad .header .login { + .ipad-catalog .app-header .login { margin-left:20px; } - .ipad .header .cart { + .ipad-catalog .app-header .cart { margin-left:20px; } - .ipad .filters-wrap { + .ipad-catalog .filters-wrap { background:url(../images/xmlconnect/mobile_preview/ipad/bg_filters_wrap.png) no-repeat 0 0 #c7c7c7; height:15px; position:relative; } - .ipad-horizontal .filters-wrap { + .ipad-catalog-landscape .filters-wrap { float:left; display:inline; width:341px; } - .ipad .filters h3 { + .ipad-catalog .filters h3 { color:#424242; font-size:6px; line-height:15px; float:left; + margin:0; padding:0 5px; } - .ipad .filters ul { + .ipad-catalog .filters ul { color:#424242; font-size:7px; padding:1px 0 0; } - .ipad .filters li { + .ipad-catalog .filters li { background:url(../images/xmlconnect/mobile_preview/ipad/bg_filters_buttons.png) no-repeat #a5a5a5; border:1px solid #8f8f8f; display:inline; @@ -147,22 +140,22 @@ body { float:left; width:45px; } - .ipad .filters .position { + .ipad-catalog .filters .position { background:#ffa65a; -moz-border-radius:2px 0 0 2px; -webkit-border-radius:2px 0 0 2px; border-radius:2px 0 0 2px; border-right:none; } - .ipad .filters .home { + .ipad-catalog .filters .home { border-right:none; } - .ipad .filters .price { + .ipad-catalog .filters .price { -moz-border-radius:0 2px 2px 0; -webkit-border-radius:0 2px 2px 0; border-radius:0 2px 2px 0; } - .ipad .filters-wrap .filter-button { + .ipad-catalog .filters-wrap .filter-button { background:url(../images/xmlconnect/mobile_preview/ipad/bg_filter_button.png) no-repeat #e3710a; color:#000; font-size:6px; @@ -173,7 +166,7 @@ body { -webkit-border-radius:2px; border-radius:2px; } - .ipad .filters-wrap .filters-popup { + .ipad-catalog .filters-wrap .filters-popup { background:url(../images/xmlconnect/mobile_preview/ipad/bg_filters_tooltip.png) no-repeat 0 0; display:none; position:absolute; @@ -221,54 +214,55 @@ body { line-height:18px; padding-left:10px; } - .ipad .content { + .ipad-catalog .content { background:url(../images/xmlconnect/mobile_preview/ipad/bg_content.jpg) no-repeat top; float:left; display:inline; padding:15px 0 0 15px; height:407px; } - .ipad-horizontal .content { + .ipad-catalog-landscape .content { background-image:url(../images/xmlconnect/mobile_preview/ipad/background_landscape_home.jpg); padding:5px 0 0 10px; height:300px; width:331px; } - .ipad .products-list { + .ipad-catalog .products-list { font-size:7px; line-height:9px; overflow:hidden; width:100%; } - .ipad .products-list li { + .ipad-catalog .products-list li { display:inline; float:left; margin:0 4px 4px 0; } - .ipad .product-image img { + .ipad-catalog .product-image img { margin:0 0 5px; border:1px solid #fcfcfc; vertical-align:bottom; } - .ipad .products-list h4 { + .ipad-catalog .products-list h4 { font-size:7px; + margin:0; } - .ipad .price-box {} - .ipad .price-box span { + .ipad-catalog .price-box {} + .ipad-catalog .price-box span { display:block; } - .ipad .rating .star { + .ipad-catalog .rating .star { font-family:'stars'; font-size:8px; } - .ipad .rating img { + .ipad-catalog .rating img { margin-right:4px; } - .ipad-horizontal .bg { + .ipad-catalog-landscape .bg { overflow:hidden; width:100%; } - .ipad-horizontal .sections { + .ipad-catalog-landscape .sections { background:url(../images/xmlconnect/mobile_preview/ipad/bg_sections.jpg) no-repeat 0 0; border-right:1px solid #8c857f; display:inline; @@ -277,7 +271,7 @@ body { width:125px; list-style:outside; } - .ipad-horizontal .sections li { + .ipad-catalog-landscape .sections li { background:#fff; border-bottom:1px solid #d1d1d1; font-size:8px; @@ -285,9 +279,9 @@ body { line-height:20px; padding-left:5px; } - .ipad-horizontal .sections .arrow { + .ipad-catalog-landscape .sections .arrow { background:url(../images/xmlconnect/mobile_preview/ipad/sections_arrow.png) no-repeat 115px 6px #fff; } - .ipad-horizontal .sections .active { + .ipad-catalog-landscape .sections .active { background:#f2f2f2; } \ No newline at end of file diff --git a/skin/adminhtml/default/default/xmlconnect/mobile-ipad-home.css b/skin/adminhtml/default/default/xmlconnect/mobile-ipad-home.css index 7930ddb734..d2032fd32d 100644 --- a/skin/adminhtml/default/default/xmlconnect/mobile-ipad-home.css +++ b/skin/adminhtml/default/default/xmlconnect/mobile-ipad-home.css @@ -20,37 +20,29 @@ * @copyright Copyright (c) 2010 Irubin Consulting Inc. DBA Varien (http://www.varien.com) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -* { - margin:0; padding:0; - } -ol, -ul { - list-style:none; - } -a { - color:#000; - text-decoration:none; - } -body { - font-family:"Helvetica Neue", Helvetica, Verdana, sans-serif; - line-height:1; - } .ipad { + font-family:"Helvetica Neue", Helvetica, Verdana, sans-serif; + line-height:1; + line-height:1; height:467px; width:350px; } -.ipad-horizontal { +.ipad-landscape { height:350px; width:467px; } + .ipad a { + color:#000; + text-decoration:none; + } .ipad .status-bar { background:url(../images/xmlconnect/mobile_preview/ipad/bg_status_bar.png) no-repeat 0 0; height:9px; font-size:0; line-height:0; } - .ipad-horizontal .status-bar { + .ipad-landscape .status-bar { background-image:url(../images/xmlconnect/mobile_preview/ipad/bg_status_bar_hor.png); } .ipad .header-wrap { @@ -58,52 +50,52 @@ body { height:20px; position:relative; } - .ipad-horizontal .header-wrap { + .ipad-landscape .header-wrap { background-image:url(../images/xmlconnect/mobile_preview/ipad/bg_home_header_hor.png); height:20px; } - .ipad .header .logo { + .ipad .app-header .app-logo { margin-left:5px; margin-right:1px; } - .ipad .header .logo img { + .ipad .app-header .app-logo img { vertical-align:middle; } - .ipad .header .store-name { + .ipad .app-header .store-name { color:#fff; font-size:9px; line-height:20px; margin-right:85px; vertical-align:middle; } - .ipad-horizontal .header .store-name { + .ipad-landscape .app-header .store-name { margin-right:210px; } - .ipad .header img, - .ipad .header span span { + .ipad .app-header img, + .ipad .app-header span span { vertical-align:top; } - .ipad .header .search { + .ipad .app-header .search { font-size:6px; position:absolute; top:3px; right:105px; } - .ipad .header .info, - .ipad .header .login, - .ipad .header .cart { + .ipad .app-header .info, + .ipad .app-header .login, + .ipad .app-header .cart { float:right; position:relative; padding:0 5px; top:5px; } - .ipad .header .info { + .ipad .app-header .info { top:6px; } - .ipad .header .login { + .ipad .app-header .login { margin-left:20px; } - .ipad .header .cart { + .ipad .app-header .cart { margin-left:20px; } .ipad .shadow { @@ -114,25 +106,26 @@ body { position:relative; margin:0 0 -3px; } - .ipad-horizontal .shadow { + .ipad-landscape .shadow { background-image:url(../images/xmlconnect/mobile_preview/ipad/bg_home_shadow_hor.png); height:8px; margin-bottom:-8px; } .ipad .content { background:url(../images/xmlconnect/mobile_preview/ipad/background_portrait.jpg) no-repeat top center; + padding:0; height:438px; overflow:hidden; } - .ipad-horizontal .content { + .ipad-landscape .content { background-image:url(../images/xmlconnect/mobile_preview/ipad/background_landscape_home.jpg) top center; height:321px; } - .ipad .content .logo { + .ipad .content .app-logo { background:url(../images/xmlconnect/mobile_preview/ipad/logo_big.png) no-repeat center center; height:135px; } - .ipad-horizontal .content .logo { + .ipad-landscape .content .app-logo { height:170px; } .ipad .products-list-wrap { @@ -145,12 +138,15 @@ body { width:325px; } .ipad .products-list h4 { + color:#000; font-size:7px; + line-height:1; + margin:0; } - .ipad-horizontal .products-list-wrap { + .ipad-landscape .products-list-wrap { width:467px; } - .ipad-horizontal .products-list { + .ipad-landscape .products-list { margin-left:5px; width:462px; } @@ -164,8 +160,11 @@ body { -webkit-box-shadow:1px 3px 3px #444; box-shadow:1px 3px 3px #444; } - .ipad-horizontal .products-list li { + .ipad-landscape .products-list li { } .ipad .products-list .product-image { margin:0 0 4px; - } \ No newline at end of file + } + .ipad .products-list .product-image img { + vertical-align:bottom; + } diff --git a/skin/adminhtml/default/default/xmlconnect/styles.css b/skin/adminhtml/default/default/xmlconnect/styles.css index 38f3bfb30d..4cc96c8b3d 100644 --- a/skin/adminhtml/default/default/xmlconnect/styles.css +++ b/skin/adminhtml/default/default/xmlconnect/styles.css @@ -31,4 +31,16 @@ border:1px} #field_colors td { padding:5px 20px !important; } #field_colors .hor-scroll { overflow:hidden; } .theme-select-cont { border-bottom:1px solid #dcdcdc; background:#f0f0f0; margin:-100px -100px 10px -100px; padding:100px 100px 0 100px; } -.theme-selector-title { margin:0 30px 0 0px; } \ No newline at end of file +.theme-selector-title { margin:0 30px 0 0px; } + +.istore-buttons-set { float:right; margin:0 0 10px; } + +.istore { border:1px solid #eeeeee; border-collapse:separate; border-spacing:0; } +.istore td { background:#f2f2f2; color:#000; line-height:18px; padding:5px 7px; } +.istore td label { cursor:pointer; } +.istore .odd td { background:#fafafa; } +.istore .border { border-right:1px solid #dbdbdb; } +.istore .border + td { border-left:1px solid #fff; } + +.androidmarket { border-collapse:collapse; border-spacing:0; } +.androidmarket td { padding:2px; } diff --git a/skin/frontend/default/blank/css/styles.css b/skin/frontend/default/blank/css/styles.css index 0f4b2247c1..17c9a0631a 100644 --- a/skin/frontend/default/blank/css/styles.css +++ b/skin/frontend/default/blank/css/styles.css @@ -1032,6 +1032,8 @@ tr.summary-details-excluded { font-style:italic; } .opc .step .tool-tip { right:10px; } .opc .order-review {} +.opc .order-review .authentication {} +.opc .order-review .warning-message {} /* Multiple Addresses Checkout */ .checkout-progress { padding:0 50px; margin:10px 0; } diff --git a/skin/frontend/default/blue/css/styles.css b/skin/frontend/default/blue/css/styles.css index cef7e20c2e..f6c7a3627a 100644 --- a/skin/frontend/default/blue/css/styles.css +++ b/skin/frontend/default/blue/css/styles.css @@ -1340,6 +1340,8 @@ tr.summary-details-excluded { font-style:italic; } #opc-review .buttons-set { padding:20px 30px; border:1px solid #d9dde3; border-width:0 1px 1px; } #opc-review .buttons-set p { margin:0; line-height:40px; } #opc-review .buttons-set .please-wait { height:40px; line-height:40px; } +#opc-review .authentication { margin:0 auto; width:570px; } +#opc-review .warning-message { color:#222; font-weight:bold; text-align:center; padding:10px 10px 0; } /* Multiple Addresses Checkout */ .checkout-progress { padding:0 90px; margin:0 0 20px; } diff --git a/skin/frontend/default/default/css/styles.css b/skin/frontend/default/default/css/styles.css index 9c7415dbab..cb3fb15c29 100644 --- a/skin/frontend/default/default/css/styles.css +++ b/skin/frontend/default/default/css/styles.css @@ -1378,6 +1378,8 @@ tr.summary-details-excluded { font-style:italic; } #opc-review .buttons-set { padding:20px 30px; border:1px solid #d9dde3; border-width:0 1px 1px; } #opc-review .buttons-set p { margin:0; line-height:40px; } #opc-review .buttons-set .please-wait { height:40px; line-height:40px; } +#opc-review .authentication { margin:0 auto; width:570px; } +#opc-review .warning-message { color:#222; font-weight:bold; text-align:center; padding:10px 10px 0; } /* Multiple Addresses Checkout */ .checkout-progress { padding:0 90px; margin:0 0 20px; } diff --git a/skin/frontend/default/modern/css/styles.css b/skin/frontend/default/modern/css/styles.css index f7b762d924..8874dc2654 100644 --- a/skin/frontend/default/modern/css/styles.css +++ b/skin/frontend/default/modern/css/styles.css @@ -1331,6 +1331,8 @@ f/********** Product Prices > */ #opc-review .buttons-set { border:0; padding:15px 30px; } #opc-review .buttons-set p { margin:0; line-height:28px; } #opc-review .buttons-set .please-wait { height:28px; line-height:28px; } +#opc-review .authentication { margin:0 auto; width:570px; } +#opc-review .warning-message { color:#222; font-weight:bold; text-align:center; padding:10px 10px 0; } /* Multiple Addresses Checkout */ .checkout-progress { padding:0 90px; margin:0 0 20px; } diff --git a/var/package/Find_Feed-1.0.8.xml b/var/package/Find_Feed-1.0.8.xml deleted file mode 100644 index 5eab156428..0000000000 --- a/var/package/Find_Feed-1.0.8.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Find_Feed - 1.0.8 - alpha - OSL v3.0 - community - - Integration with TheFind shopping engine - Current integration includes managing product feeds from Magento store to TheFind, mapping of Magento Attributes to TheFind structure. - 1.0.8 - Magento Core Teamcorecore@magentocommerce.com - 2010-12-17 - - - - 5.2.06.0.0Mage_Core_Modulescommunity1.5.0.0-alpha11.6.0.0 - diff --git a/var/package/Interface_Adminhtml_Default-1.5.0.0.xml b/var/package/Interface_Adminhtml_Default-1.5.0.0.xml deleted file mode 100644 index a0bdad8411..0000000000 --- a/var/package/Interface_Adminhtml_Default-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Interface_Adminhtml_Default - 1.5.0.0 - stable - AFL v3.0 - community - - Default interface for Adminhtml - Default interface for Adminhtml - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0Mage_Core_Adminhtmlcommunity1.5.0.01.6.0.0Lib_Js_Extcommunity1.5.0.01.6.0.0 - diff --git a/var/package/Interface_Frontend_Base_Default-1.5.0.0.xml b/var/package/Interface_Frontend_Base_Default-1.5.0.0.xml deleted file mode 100644 index e8e6943e0f..0000000000 --- a/var/package/Interface_Frontend_Base_Default-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Interface_Frontend_Base_Default - 1.5.0.0 - stable - AFL v3.0 - community - - This is a Magento themes base - This is a Magento themes base - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0Mage_Core_Modulescommunity1.5.0.01.6.0.0 - diff --git a/var/package/Interface_Frontend_Default-1.5.0.0.xml b/var/package/Interface_Frontend_Default-1.5.0.0.xml deleted file mode 100644 index d45082cbae..0000000000 --- a/var/package/Interface_Frontend_Default-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Interface_Frontend_Default - 1.5.0.0 - stable - AFL v3.0 - community - - Default interface for Frontend - Default interface for Frontend - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0Mage_Core_Modulescommunity1.5.0.01.6.0.0 - diff --git a/var/package/Interface_Install_Default-1.5.0.0.xml b/var/package/Interface_Install_Default-1.5.0.0.xml deleted file mode 100644 index 28174efe66..0000000000 --- a/var/package/Interface_Install_Default-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Interface_Install_Default - 1.5.0.0 - stable - AFL v3.0 - community - - Default interface for Install - Default interface for Install - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0Mage_Core_Modulescommunity1.5.0.01.6.0.0 - diff --git a/var/package/Lib_Google_Checkout-1.5.0.0.xml b/var/package/Lib_Google_Checkout-1.5.0.0.xml deleted file mode 100644 index 2f898c4968..0000000000 --- a/var/package/Lib_Google_Checkout-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Lib_Google_Checkout - 1.5.0.0 - stable - Apache License - community - - Google Checkout Library - Google Checkout Library - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0 - diff --git a/var/package/Lib_Js_Calendar-1.51.1.xml b/var/package/Lib_Js_Calendar-1.51.1.xml deleted file mode 100644 index 4e9cc67176..0000000000 --- a/var/package/Lib_Js_Calendar-1.51.1.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Lib_Js_Calendar - 1.51.1 - alpha - Mixed - community - - Javascript Calendar for Magento - Javascript Calendar for Magento - 1.51.1 - Magento Core Teamcorecore@magentocommerce.com - 2010-12-17 - - - - 5.2.06.0.0 - diff --git a/var/package/Lib_Js_Ext-1.5.0.0.xml b/var/package/Lib_Js_Ext-1.5.0.0.xml deleted file mode 100644 index dde5a2f5d7..0000000000 --- a/var/package/Lib_Js_Ext-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Lib_Js_Ext - 1.5.0.0 - stable - Mixed - community - - Extjs Javascript Libraries for Magento - Extjs Javascript Libraries for Magento - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0 - diff --git a/var/package/Lib_Js_Mage-1.5.0.0.xml b/var/package/Lib_Js_Mage-1.5.0.0.xml deleted file mode 100644 index 9f73955f9a..0000000000 --- a/var/package/Lib_Js_Mage-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Lib_Js_Mage - 1.5.0.0 - stable - Mixed - community - - Javascript Libraries for Magento - Javascript Libraries for Magento - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0Lib_Js_Prototypecommunity1.6.0.3.41.6.1 - diff --git a/var/package/Lib_Js_Prototype-1.6.0.3.3.xml b/var/package/Lib_Js_Prototype-1.6.0.3.3.xml deleted file mode 100644 index b5b9dd6582..0000000000 --- a/var/package/Lib_Js_Prototype-1.6.0.3.3.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Lib_Js_Prototype - 1.6.0.3.3 - alpha - Mixed - community - - Prototype and Scriptaculous Javascript Libraries for Magento - Prototype and Scriptaculous Javascript Libraries for Magento - 1.6.0.3.3 - Magento Core Teamcorecore@magentocommerce.com - 2010-12-17 - - - - 5.2.06.0.0 - diff --git a/var/package/Lib_Js_Prototype-1.6.0.3.4.xml b/var/package/Lib_Js_Prototype-1.6.0.3.4.xml deleted file mode 100644 index 0fafeaa648..0000000000 --- a/var/package/Lib_Js_Prototype-1.6.0.3.4.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Lib_Js_Prototype - 1.6.0.3.4 - stable - Mixed - community - - Prototype and Scriptaculous Javascript Libraries for Magento - Prototype and Scriptaculous Javascript Libraries for Magento - 1.6.0.3.4 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0 - diff --git a/var/package/Lib_Js_TinyMCE-3.3.7.0.xml b/var/package/Lib_Js_TinyMCE-3.3.7.0.xml deleted file mode 100644 index b3f4bfef8d..0000000000 --- a/var/package/Lib_Js_TinyMCE-3.3.7.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Lib_Js_TinyMCE - 3.3.7.0 - alpha - Mixed - community - - TinyMCE Javascript Libraries for Magento - TinyMCE Javascript Libraries for Magento - 3.3.7.0 - Magento Core Teamcorecore@magentocommerce.com - 2010-12-17 - - - - 5.2.06.0.0 - diff --git a/var/package/Lib_LinLibertineFont-2.8.14.0.xml b/var/package/Lib_LinLibertineFont-2.8.14.0.xml deleted file mode 100644 index b9634a539f..0000000000 --- a/var/package/Lib_LinLibertineFont-2.8.14.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Lib_LinLibertineFont - 2.8.14.0 - alpha - GPL - community - - Libertine Open Fonts Project fonts for PDF print-outs - Libertine Open Fonts Project fonts for PDF print-outs - 2.8.14.0 - Magento Core Teamcorecore@magentocommerce.com - 2010-12-17 - - - - 5.2.06.0.0 - diff --git a/var/package/Lib_Mage-1.5.0.0.xml b/var/package/Lib_Mage-1.5.0.0.xml deleted file mode 100644 index 55a0992150..0000000000 --- a/var/package/Lib_Mage-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Lib_Mage - 1.5.0.0 - stable - OSL v3.0 - community - - Mage Library - Mage Library - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0 - diff --git a/var/package/Lib_Phpseclib-1.5.0.0.xml b/var/package/Lib_Phpseclib-1.5.0.0.xml deleted file mode 100644 index 8324bc128f..0000000000 --- a/var/package/Lib_Phpseclib-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Lib_Phpseclib - 1.5.0.0 - stable - LGPL v.3 - community - - Phpseclib Library - Phpseclib Library - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0 - diff --git a/var/package/Lib_Varien-1.5.0.0.xml b/var/package/Lib_Varien-1.5.0.0.xml deleted file mode 100644 index 2ba4312fb2..0000000000 --- a/var/package/Lib_Varien-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Lib_Varien - 1.5.0.0 - stable - OSL v3.0 - community - - Varien Library - Varien Library - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0Lib_ZFcommunity1.11.11.12.0PDOSPLcurlSimpleXMLdomgdiconvpdo_mysqlmcryptpcreReflectionsession - diff --git a/var/package/Lib_ZF-1.11.1.0.xml b/var/package/Lib_ZF-1.11.1.0.xml deleted file mode 100644 index 94875e56b5..0000000000 --- a/var/package/Lib_ZF-1.11.1.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Lib_ZF - 1.11.1.0 - stable - New BSD - community - - Zend Framework - Zend Framework - 1.11.1.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0Lib_ZF_Localecommunity1.11.1.01.11.1.0 - diff --git a/var/package/Lib_ZF_Locale-1.11.1.0.xml b/var/package/Lib_ZF_Locale-1.11.1.0.xml deleted file mode 100644 index 0156773a77..0000000000 --- a/var/package/Lib_ZF_Locale-1.11.1.0.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - Lib_ZF_Locale - 1.11.1.0 - stable - New BSD - community - - Zend Framework Locale - Zend Framework Locale -splitted from ZF to avoid memory overruns during installation and upgrades - 1.11.1.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0 - diff --git a/var/package/Mage_Centinel-1.5.0.0.xml b/var/package/Mage_Centinel-1.5.0.0.xml deleted file mode 100644 index 47d377bc32..0000000000 --- a/var/package/Mage_Centinel-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Mage_Centinel - 1.5.0.0 - stable - mixed - community - - 3D Secure Card Validation - An integration with Cardinalcommerce Centinel service. Provides option to validate Visa and Mastercard cards for eliminating possible fraudlent order placement attempts. Adds information about Electronic Commerce Identifier, that designates liability for chargeback. - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0Mage_Core_Modulescommunity1.5.0.01.6.0.0 - diff --git a/var/package/Mage_Compiler-1.5.0.0.xml b/var/package/Mage_Compiler-1.5.0.0.xml deleted file mode 100644 index bf0852aa55..0000000000 --- a/var/package/Mage_Compiler-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Mage_Compiler - 1.5.0.0 - stable - OSL v3.0 - community - - This module compiles all files of a Magento installation and creates a single include path to increase performance - This module compiles all files of a Magento installation and creates a single include path to increase performance - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0Mage_Core_Modulescommunity1.5.0.01.6.0.0Mage_Core_Adminhtmlcommunity1.5.0.01.6.0.0 - diff --git a/var/package/Mage_Core_Adminhtml-1.5.0.0.xml b/var/package/Mage_Core_Adminhtml-1.5.0.0.xml deleted file mode 100644 index 9fc4828959..0000000000 --- a/var/package/Mage_Core_Adminhtml-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Mage_Core_Adminhtml - 1.5.0.0 - stable - OSL v3.0 - community - - Magento Administration Panel - Magento Administration Panel - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0Mage_Core_Modulescommunity1.5.0.01.6.0.0Lib_Js_Calendarcommunity1.51.11.52Lib_Js_Extcommunity1.5.0.01.6.0.0Lib_LinLibertineFontcommunity2.8.14.02.9Lib_Js_TinyMCEcommunity3.3.7.03.3.8 - diff --git a/var/package/Mage_Downloader-1.5.0.0.xml b/var/package/Mage_Downloader-1.5.0.0.xml deleted file mode 100644 index 29839deed5..0000000000 --- a/var/package/Mage_Downloader-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Mage_Downloader - 1.5.0.0 - stable - OSL v3.0 - community - - Magento Downloader - Magento Downloader - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0 - diff --git a/var/package/Mage_Locale_en_US-1.5.0.0.xml b/var/package/Mage_Locale_en_US-1.5.0.0.xml deleted file mode 100644 index aa98675d11..0000000000 --- a/var/package/Mage_Locale_en_US-1.5.0.0.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Mage_Locale_en_US - 1.5.0.0 - stable - OSL v3.0 - community - - en_US locale - en_US locale - 1.5.0.0 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0 - diff --git a/var/package/Magento_Mobile-1.4.2.0.xml b/var/package/Magento_Mobile-1.4.2.0.xml deleted file mode 100644 index 60b9f7f9bf..0000000000 --- a/var/package/Magento_Mobile-1.4.2.0.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - Magento_Mobile - 1.4.2.0 - stable - mixed - community - - Magento Mobile Xml Interface - An integration magento with mobile applications (e.g. iPhone, Android, iPad) - 1.4.2.0 version of package -svn revision #84716 - Magento Core Teamauto-convertedcore@magentocommerce.com - 2010-12-17 - - - - Mage_Core_Modulescommunity1.4.1.01.4.2.0 - diff --git a/var/package/Magento_Mobile-1.5.0.0.16.xml b/var/package/Magento_Mobile-1.5.0.0.16.xml deleted file mode 100644 index 9df1bc7df7..0000000000 --- a/var/package/Magento_Mobile-1.5.0.0.16.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - Magento_Mobile - 1.5.0.0.16 - stable - mixed - community - - Magento Mobile Xml Interface - An integration Magento with mobile applications (e.g. iPhone, Android, iPad) - 1.5.0.0.16 - Magento Core Teamcorecore@magentocommerce.com - 2011-02-08 - - - - 5.2.06.0.0Mage_Core_Modulescommunity1.5.0.01.5.1 - diff --git a/var/package/Phoenix_Moneybookers-1.2.4.xml b/var/package/Phoenix_Moneybookers-1.2.4.xml deleted file mode 100644 index 778750dae3..0000000000 --- a/var/package/Phoenix_Moneybookers-1.2.4.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - Phoenix_Moneybookers - 1.2.4 - alpha - mixed - community - - Moneybookers payment gateway integration - Moneybookers payment gateway official integration, implemented by Phoenix Medien GmbH. Provides integration for payment options powered by Moneybookers, as separate payment methods: -All Credit Cards / Visa, Mastercard, AMEX, JCB, Diners - International -CartaSi - Italy -Lastschrift (ELV) - Germany -Dankort - Denmark -Nordea Solo - Sweden -eNETS - Singapore -Carte Bleue - France -Giropay - Germany -iDeal - Netherlands -Laser - Ireland -EPS Online-Überweisung - Austria -POLi - Australia -Postepay - Italy -Przelewy24 - Poland -Sofortüberweisung - Germany -Nordea Solo - Finland -Moneybookers eWallet - 1.2.4 - Magento Core Teamcorecore@magentocommerce.com - 2010-12-17 - - - - 5.2.06.0.0Mage_Core_Modulescommunity1.5.0.0-alpha11.6.0.0 -
    ">getLabelHtml() ?>"> +
    + + +
    +

    + __('(Includes more countries than those listed below. As the application owner, you are responsible for complying with country-specific laws related to the distribution or sale of your application into that country, including your home country.)'); ?> +

    + getElementHtml(); ?> + +

    " id="note_getId(); ?>"> + +

    + + +
    ">getLabelHtml() ?>"> +
    + __('Select All'); ?> + __('Deselect All'); ?> +
    + getElementHtml(); ?> + +

    " id="note_getId()?>"> + +

    + + +

    -
    - +


    @@ -309,13 +293,14 @@ function saveThemeChanges() {
    - + + +
    -
    - - - - -
    -
    -*/?> -
    +
    + +
    +
    +
    getPurchased()->getOrderIncrementId() ?> formatDate($_item->getPurchased()->getCreatedAt()) ?> htmlEscape($_item->getPurchased()->getProductName()) ?> - getIsOpenInNewWindow()?'onclick="this.target=\'_blank\'"':''; ?>>getLinkTitle() ?>getStatus()) ?>__(ucfirst($_item->getStatus())) ?> getRemainingDownloads($_item) ?>
    htmlEscape($this->getSku($_item)) ?> htmlEscape($this->getSku($_item)) ?> htmlEscape($this->getSku($_item)) ?> htmlEscape($this->getSku($_item)) ?>