Version Notes
1.9.2.0
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | Interface_Frontend_Base_Default |
| Version | 1.9.2.0 |
| Comparing to | |
| See all releases | |
Code changes from version 1.9.1.1 to 1.9.2.0
- app/design/frontend/base/default/template/authorizenet/directpost/form.phtml +4 -4
- app/design/frontend/base/default/template/callouts/left_col.phtml +3 -3
- app/design/frontend/base/default/template/callouts/right_col.phtml +3 -3
- app/design/frontend/base/default/template/catalog/layer/state.phtml +1 -1
- app/design/frontend/base/default/template/catalog/msrp/popup.phtml +1 -1
- app/design/frontend/base/default/template/catalog/product/compare/list.phtml +5 -5
- app/design/frontend/base/default/template/catalog/product/compare/sidebar.phtml +7 -5
- app/design/frontend/base/default/template/catalog/product/list.phtml +2 -2
- app/design/frontend/base/default/template/catalog/product/list/related.phtml +2 -2
- app/design/frontend/base/default/template/catalog/product/list/toolbar.phtml +3 -3
- app/design/frontend/base/default/template/catalog/product/new.phtml +1 -1
- app/design/frontend/base/default/template/catalog/product/price_msrp_item.phtml +1 -1
- app/design/frontend/base/default/template/catalog/product/view.phtml +1 -1
- app/design/frontend/base/default/template/catalog/product/view/addtocart.phtml +1 -1
- app/design/frontend/base/default/template/catalog/product/view/media.phtml +2 -2
- app/design/frontend/base/default/template/catalog/product/view/type/grouped.phtml +1 -1
- app/design/frontend/base/default/template/catalog/product/widget/new/content/new_grid.phtml +1 -1
- app/design/frontend/base/default/template/catalog/product/widget/new/content/new_list.phtml +1 -1
- app/design/frontend/base/default/template/cataloginventory/stockqty/composite.phtml +1 -1
- app/design/frontend/base/default/template/catalogsearch/advanced/form.phtml +1 -1
- app/design/frontend/base/default/template/catalogsearch/form.mini.phtml +2 -2
- app/design/frontend/base/default/template/checkout/cart.phtml +4 -4
- app/design/frontend/base/default/template/checkout/cart/coupon.phtml +3 -3
- app/design/frontend/base/default/template/checkout/cart/crosssell.phtml +1 -1
- app/design/frontend/base/default/template/checkout/cart/item/configure/updatecart.phtml +1 -1
- app/design/frontend/base/default/template/checkout/cart/item/default.phtml +5 -3
- app/design/frontend/base/default/template/checkout/cart/noItems.phtml +1 -1
- app/design/frontend/base/default/template/checkout/cart/render/default.phtml +2 -2
- app/design/frontend/base/default/template/checkout/cart/render/simple.phtml +4 -2
- app/design/frontend/base/default/template/checkout/cart/shipping.phtml +6 -6
- app/design/frontend/base/default/template/checkout/cart/sidebar.phtml +1 -1
- app/design/frontend/base/default/template/checkout/cart/sidebar/default.phtml +2 -2
- app/design/frontend/base/default/template/checkout/multishipping/address/select.phtml +1 -1
- app/design/frontend/base/default/template/checkout/multishipping/addresses.phtml +11 -5
- app/design/frontend/base/default/template/checkout/multishipping/billing.phtml +3 -3
- app/design/frontend/base/default/template/checkout/multishipping/link.phtml +1 -1
- app/design/frontend/base/default/template/checkout/multishipping/overview.phtml +3 -3
- app/design/frontend/base/default/template/checkout/multishipping/shipping.phtml +1 -1
- app/design/frontend/base/default/template/checkout/multishipping/success.phtml +1 -1
- app/design/frontend/base/default/template/checkout/onepage/billing.phtml +18 -18
- app/design/frontend/base/default/template/checkout/onepage/failure.phtml +1 -1
- app/design/frontend/base/default/template/checkout/onepage/link.phtml +1 -1
- app/design/frontend/base/default/template/checkout/onepage/payment.phtml +3 -3
- app/design/frontend/base/default/template/checkout/onepage/payment/methods.phtml +2 -2
- app/design/frontend/base/default/template/checkout/onepage/review/button.phtml +1 -1
- app/design/frontend/base/default/template/checkout/onepage/review/info.phtml +1 -1
- app/design/frontend/base/default/template/checkout/onepage/shipping.phtml +14 -14
- app/design/frontend/base/default/template/checkout/onepage/shipping_method.phtml +1 -1
- app/design/frontend/base/default/template/checkout/success.phtml +1 -1
- app/design/frontend/base/default/template/contacts/form.phtml +5 -5
- app/design/frontend/base/default/template/customer/address.phtml +1 -1
- app/design/frontend/base/default/template/customer/address/book.phtml +2 -2
- app/design/frontend/base/default/template/customer/address/edit.phtml +13 -13
- app/design/frontend/base/default/template/customer/form/address.phtml +11 -11
- app/design/frontend/base/default/template/customer/form/changepassword.phtml +4 -4
- app/design/frontend/base/default/template/customer/form/confirmation.phtml +2 -2
- app/design/frontend/base/default/template/customer/form/edit.phtml +6 -6
- app/design/frontend/base/default/template/customer/form/forgotpassword.phtml +1 -1
- app/design/frontend/base/default/template/customer/form/login.phtml +4 -4
- app/design/frontend/base/default/template/customer/form/newsletter.phtml +2 -2
- app/design/frontend/base/default/template/customer/form/register.phtml +13 -13
- app/design/frontend/base/default/template/customer/form/resetforgottenpassword.phtml +1 -1
- app/design/frontend/base/default/template/customer/widget/gender.phtml +1 -1
- app/design/frontend/base/default/template/customer/widget/name.phtml +7 -7
- app/design/frontend/base/default/template/customer/widget/taxvat.phtml +1 -1
- app/design/frontend/base/default/template/customer/wishlist.phtml +1 -1
- app/design/frontend/base/default/template/directory/currency.phtml +1 -1
- app/design/frontend/base/default/template/downloadable/checkout/cart/item/default.phtml +5 -4
- app/design/frontend/base/default/template/downloadable/customer/products/list.phtml +2 -2
- app/design/frontend/base/default/template/giftmessage/inline.phtml +12 -12
- app/design/frontend/base/default/template/newsletter/subscribe.phtml +2 -2
- app/design/frontend/base/default/template/oauth/authorize/form/login-simple.phtml +1 -0
- app/design/frontend/base/default/template/oauth/authorize/form/login.phtml +1 -0
- app/design/frontend/base/default/template/page/html/pager.phtml +4 -4
- app/design/frontend/base/default/template/page/js/calendar.phtml +33 -33
- app/design/frontend/base/default/template/page/print.phtml +1 -1
- app/design/frontend/base/default/template/paygate/form/cc.phtml +2 -2
- app/design/frontend/base/default/template/payment/form/cc.phtml +3 -3
- app/design/frontend/base/default/template/payment/form/ccsave.phtml +5 -5
- app/design/frontend/base/default/template/payment/form/purchaseorder.phtml +1 -1
- app/design/frontend/base/default/template/paypal/express/review.phtml +3 -3
- app/design/frontend/base/default/template/paypal/express/shortcut.phtml +8 -8
- app/design/frontend/base/default/template/paypal/hss/redirect.phtml +1 -1
- app/design/frontend/base/default/template/paypal/hss/review/button.phtml +1 -1
- app/design/frontend/base/default/template/paypal/partner/logo.phtml +1 -1
- app/design/frontend/base/default/template/paypal/payflowadvanced/redirect.phtml +1 -1
- app/design/frontend/base/default/template/paypal/payflowlink/redirect.phtml +1 -1
- app/design/frontend/base/default/template/paypal/payment/mark.phtml +1 -1
- app/design/frontend/base/default/template/persistent/checkout/onepage/billing.phtml +19 -19
- app/design/frontend/base/default/template/persistent/customer/form/login.phtml +4 -4
- app/design/frontend/base/default/template/persistent/customer/form/register.phtml +13 -13
- app/design/frontend/base/default/template/persistent/remember_me.phtml +1 -1
- app/design/frontend/base/default/template/persistent/remember_me_tooltip.phtml +2 -2
- app/design/frontend/base/default/template/poll/active.phtml +1 -1
- app/design/frontend/base/default/template/reports/home_product_compared.phtml +1 -1
- app/design/frontend/base/default/template/reports/home_product_viewed.phtml +1 -1
- app/design/frontend/base/default/template/reports/widget/compared/content/compared_grid.phtml +1 -1
- app/design/frontend/base/default/template/reports/widget/compared/content/compared_list.phtml +1 -1
- app/design/frontend/base/default/template/reports/widget/viewed/content/viewed_grid.phtml +1 -1
- app/design/frontend/base/default/template/reports/widget/viewed/content/viewed_list.phtml +1 -1
- app/design/frontend/base/default/template/review/form.phtml +1 -1
- app/design/frontend/base/default/template/rss/order/details.phtml +3 -2
- app/design/frontend/base/default/template/sales/billing/agreement/view.phtml +1 -1
- app/design/frontend/base/default/template/sales/guest/form.phtml +26 -0
- app/design/frontend/base/default/template/sales/order/items.phtml +2 -2
- app/design/frontend/base/default/template/sales/order/shipment/items.phtml +2 -2
- app/design/frontend/base/default/template/sales/order/view.phtml +1 -1
- app/design/frontend/base/default/template/sales/recurring/profile/view.phtml +4 -4
- app/design/frontend/base/default/template/sales/reorder/sidebar.phtml +2 -2
- app/design/frontend/base/default/template/sendfriend/send.phtml +3 -3
- app/design/frontend/base/default/template/shipping/tracking/popup.phtml +2 -2
- app/design/frontend/base/default/template/tag/customer/view.phtml +2 -2
- app/design/frontend/base/default/template/tag/list.phtml +1 -1
- app/design/frontend/base/default/template/wishlist/button/share.phtml +1 -1
- app/design/frontend/base/default/template/wishlist/button/tocart.phtml +1 -1
- app/design/frontend/base/default/template/wishlist/button/update.phtml +1 -1
- app/design/frontend/base/default/template/wishlist/email/rss.phtml +1 -1
- app/design/frontend/base/default/template/wishlist/item/column/cart.phtml +1 -1
- app/design/frontend/base/default/template/wishlist/item/column/info.phtml +1 -1
- app/design/frontend/base/default/template/wishlist/item/column/remove.phtml +1 -1
- app/design/frontend/base/default/template/wishlist/render/item/price_msrp_item.phtml +1 -1
- app/design/frontend/base/default/template/wishlist/shared.phtml +2 -2
- app/design/frontend/base/default/template/wishlist/sharing.phtml +3 -3
- app/design/frontend/base/default/template/wishlist/sidebar.phtml +1 -1
- package.xml +6 -6
- skin/frontend/base/default/js/opcheckout.js +19 -1
app/design/frontend/base/default/template/authorizenet/directpost/form.phtml
CHANGED
|
@@ -60,7 +60,7 @@ $_orderUrl = $this->helper('authorizenet')->getPlaceOrderFrontUrl();
|
|
| 60 |
<li>
|
| 61 |
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
| 62 |
<div class="input-box">
|
| 63 |
-
<input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
|
| 64 |
</div>
|
| 65 |
</li>
|
| 66 |
<li id="<?php echo $_code ?>_cc_type_exp_div">
|
|
@@ -90,7 +90,7 @@ $_orderUrl = $this->helper('authorizenet')->getPlaceOrderFrontUrl();
|
|
| 90 |
<label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
|
| 91 |
<div class="input-box">
|
| 92 |
<div class="v-fix">
|
| 93 |
-
<input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
|
| 94 |
</div>
|
| 95 |
<a href="#" id="directpost-cvv-what-is-this" style="cursor:help; margin-left:5px;"><?php echo $this->__('What is this?') ?></a>
|
| 96 |
</div>
|
|
@@ -103,8 +103,8 @@ $_orderUrl = $this->helper('authorizenet')->getPlaceOrderFrontUrl();
|
|
| 103 |
</form>
|
| 104 |
</div>
|
| 105 |
<div class="tool-tip" id="directpost-tool-tip" style="display:none;">
|
| 106 |
-
<div class="btn-close"><a href="#" id="directpost-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
|
| 107 |
-
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
|
| 108 |
</div>
|
| 109 |
<script type="text/javascript">
|
| 110 |
//<![CDATA[
|
| 60 |
<li>
|
| 61 |
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
| 62 |
<div class="input-box">
|
| 63 |
+
<input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Credit Card Number')) ?>" class="input-text validate-cc-number validate-cc-type" value="" />
|
| 64 |
</div>
|
| 65 |
</li>
|
| 66 |
<li id="<?php echo $_code ?>_cc_type_exp_div">
|
| 90 |
<label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
|
| 91 |
<div class="input-box">
|
| 92 |
<div class="v-fix">
|
| 93 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Card Verification Number')) ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
|
| 94 |
</div>
|
| 95 |
<a href="#" id="directpost-cvv-what-is-this" style="cursor:help; margin-left:5px;"><?php echo $this->__('What is this?') ?></a>
|
| 96 |
</div>
|
| 103 |
</form>
|
| 104 |
</div>
|
| 105 |
<div class="tool-tip" id="directpost-tool-tip" style="display:none;">
|
| 106 |
+
<div class="btn-close"><a href="#" id="directpost-tool-tip-close" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Close')) ?>"><?php echo $this->__('Close') ?></a></div>
|
| 107 |
+
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Card Verification Number Visual Reference')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Card Verification Number Visual Reference')) ?>" /></div>
|
| 108 |
</div>
|
| 109 |
<script type="text/javascript">
|
| 110 |
//<![CDATA[
|
app/design/frontend/base/default/template/callouts/left_col.phtml
CHANGED
|
@@ -27,11 +27,11 @@
|
|
| 27 |
<div class="block block-banner">
|
| 28 |
<div class="block-content">
|
| 29 |
<?php if(strtolower(substr($this->getLinkUrl(),0,4))==='http'): ?>
|
| 30 |
-
<a href="<?php echo $this->getLinkUrl() ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
|
| 31 |
<?php elseif($this->getLinkUrl()): ?>
|
| 32 |
-
<a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
|
| 33 |
<?php endif; ?>
|
| 34 |
-
<img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>"<?php if(!$this->getLinkUrl()): ?> title="<?php echo $this->__($this->getImgAlt()) ?>"<?php endif; ?> alt="<?php echo $this->__($this->getImgAlt()) ?>" />
|
| 35 |
<?php if($this->getLinkUrl()): ?>
|
| 36 |
</a>
|
| 37 |
<?php endif ?>
|
| 27 |
<div class="block block-banner">
|
| 28 |
<div class="block-content">
|
| 29 |
<?php if(strtolower(substr($this->getLinkUrl(),0,4))==='http'): ?>
|
| 30 |
+
<a href="<?php echo $this->getLinkUrl() ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__($this->getImgAlt())) ?>">
|
| 31 |
<?php elseif($this->getLinkUrl()): ?>
|
| 32 |
+
<a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__($this->getImgAlt())) ?>">
|
| 33 |
<?php endif; ?>
|
| 34 |
+
<img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>"<?php if(!$this->getLinkUrl()): ?> title="<?php echo Mage::helper('core')->quoteEscape($this->__($this->getImgAlt())) ?>"<?php endif; ?> alt="<?php echo Mage::helper('core')->quoteEscape($this->__($this->getImgAlt())) ?>" />
|
| 35 |
<?php if($this->getLinkUrl()): ?>
|
| 36 |
</a>
|
| 37 |
<?php endif ?>
|
app/design/frontend/base/default/template/callouts/right_col.phtml
CHANGED
|
@@ -27,11 +27,11 @@
|
|
| 27 |
<div class="block block-banner">
|
| 28 |
<div class="block-content">
|
| 29 |
<?php if(strtolower(substr($this->getLinkUrl(),0,4))==='http'): ?>
|
| 30 |
-
<a href="<?php echo $this->getLinkUrl() ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
|
| 31 |
<?php elseif($this->getLinkUrl()): ?>
|
| 32 |
-
<a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
|
| 33 |
<?php endif; ?>
|
| 34 |
-
<img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>"<?php if(!$this->getLinkUrl()): ?> title="<?php echo $this->__($this->getImgAlt()) ?>"<?php endif; ?> alt="<?php echo $this->__($this->getImgAlt()) ?>" />
|
| 35 |
<?php if($this->getLinkUrl()): ?>
|
| 36 |
</a>
|
| 37 |
<?php endif ?>
|
| 27 |
<div class="block block-banner">
|
| 28 |
<div class="block-content">
|
| 29 |
<?php if(strtolower(substr($this->getLinkUrl(),0,4))==='http'): ?>
|
| 30 |
+
<a href="<?php echo $this->getLinkUrl() ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__($this->getImgAlt())) ?>">
|
| 31 |
<?php elseif($this->getLinkUrl()): ?>
|
| 32 |
+
<a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__($this->getImgAlt())) ?>">
|
| 33 |
<?php endif; ?>
|
| 34 |
+
<img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>"<?php if(!$this->getLinkUrl()): ?> title="<?php echo Mage::helper('core')->quoteEscape($this->__($this->getImgAlt())) ?>"<?php endif; ?> alt="<?php echo Mage::helper('core')->quoteEscape($this->__($this->getImgAlt())) ?>" />
|
| 35 |
<?php if($this->getLinkUrl()): ?>
|
| 36 |
</a>
|
| 37 |
<?php endif ?>
|
app/design/frontend/base/default/template/catalog/layer/state.phtml
CHANGED
|
@@ -46,7 +46,7 @@
|
|
| 46 |
<a class="btn-previous" href="<?php echo $_filter->getRemoveUrl() ?>" title="<?php echo $this->__('Previous') ?>"><?php echo $this->__('Previous') ?></a>
|
| 47 |
<a class="btn-remove" title="<?php echo $this->escapeHtml($_filter->getFilter()->getClearLinkText()) ?>" href="<?php echo $clearLinkUrl ?>"><?php echo $this->escapeHtml($_filter->getFilter()->getClearLinkText()) ?></a>
|
| 48 |
<?php else: ?>
|
| 49 |
-
<a class="btn-remove" href="<?php echo $_filter->getRemoveUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a>
|
| 50 |
<?php endif; ?>
|
| 51 |
</li>
|
| 52 |
<?php endforeach; ?>
|
| 46 |
<a class="btn-previous" href="<?php echo $_filter->getRemoveUrl() ?>" title="<?php echo $this->__('Previous') ?>"><?php echo $this->__('Previous') ?></a>
|
| 47 |
<a class="btn-remove" title="<?php echo $this->escapeHtml($_filter->getFilter()->getClearLinkText()) ?>" href="<?php echo $clearLinkUrl ?>"><?php echo $this->escapeHtml($_filter->getFilter()->getClearLinkText()) ?></a>
|
| 48 |
<?php else: ?>
|
| 49 |
+
<a class="btn-remove" href="<?php echo $_filter->getRemoveUrl() ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Remove This Item')) ?>"><?php echo $this->__('Remove This Item') ?></a>
|
| 50 |
<?php endif; ?>
|
| 51 |
</li>
|
| 52 |
<?php endforeach; ?>
|
app/design/frontend/base/default/template/catalog/msrp/popup.phtml
CHANGED
|
@@ -42,7 +42,7 @@
|
|
| 42 |
<div class="additional-addtocart-box">
|
| 43 |
<?php echo $this->getChildHtml(); ?>
|
| 44 |
</div>
|
| 45 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" id="map-popup-button"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 46 |
</form>
|
| 47 |
</div>
|
| 48 |
<div class="map-popup-msrp" id="map-popup-msrp-box"><strong><?php echo $this->__('Price'); ?>:</strong> <span style="text-decoration:line-through;" id="map-popup-msrp"></span></div>
|
| 42 |
<div class="additional-addtocart-box">
|
| 43 |
<?php echo $this->getChildHtml(); ?>
|
| 44 |
</div>
|
| 45 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" id="map-popup-button"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 46 |
</form>
|
| 47 |
</div>
|
| 48 |
<div class="map-popup-msrp" id="map-popup-msrp-box"><strong><?php echo $this->__('Price'); ?>:</strong> <span style="text-decoration:line-through;" id="map-popup-msrp"></span></div>
|
app/design/frontend/base/default/template/catalog/product/compare/list.phtml
CHANGED
|
@@ -47,7 +47,7 @@
|
|
| 47 |
<?php if($_i++%10==0): ?>
|
| 48 |
<th> </th>
|
| 49 |
<?php endif; ?>
|
| 50 |
-
<td class="a-right"><a href="#" class="btn-remove" onclick="removeItem('<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>');" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a></td>
|
| 51 |
<?php endforeach; ?>
|
| 52 |
</tr>
|
| 53 |
</thead>
|
|
@@ -65,7 +65,7 @@
|
|
| 65 |
<?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
|
| 66 |
<?php echo $this->getPriceHtml($_item, true, '-compare-list-top') ?>
|
| 67 |
<?php if($_item->isSaleable()): ?>
|
| 68 |
-
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
| 69 |
<?php else: ?>
|
| 70 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 71 |
<?php endif; ?>
|
|
@@ -118,7 +118,7 @@
|
|
| 118 |
<td>
|
| 119 |
<?php echo $this->getPriceHtml($_item, true, '-compare-list-bottom') ?>
|
| 120 |
<?php if($_item->isSaleable()): ?>
|
| 121 |
-
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
| 122 |
<?php else: ?>
|
| 123 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 124 |
<?php endif; ?>
|
|
@@ -133,9 +133,9 @@
|
|
| 133 |
</tbody>
|
| 134 |
</table>
|
| 135 |
<div class="buttons-set">
|
| 136 |
-
<button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
|
| 137 |
<span class="please-wait" id="compare-list-please-wait" style="display:none;">
|
| 138 |
-
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Please wait...') ?>" title="<?php echo $this->__('Please wait...') ?>" class="v-middle" /> <?php echo $this->__('Please wait...') ?>
|
| 139 |
</span>
|
| 140 |
</div>
|
| 141 |
<script type="text/javascript">
|
| 47 |
<?php if($_i++%10==0): ?>
|
| 48 |
<th> </th>
|
| 49 |
<?php endif; ?>
|
| 50 |
+
<td class="a-right"><a href="#" class="btn-remove" onclick="removeItem('<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>');" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Remove This Item')) ?>"><?php echo $this->__('Remove This Item') ?></a></td>
|
| 51 |
<?php endforeach; ?>
|
| 52 |
</tr>
|
| 53 |
</thead>
|
| 65 |
<?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
|
| 66 |
<?php echo $this->getPriceHtml($_item, true, '-compare-list-top') ?>
|
| 67 |
<?php if($_item->isSaleable()): ?>
|
| 68 |
+
<p><button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
| 69 |
<?php else: ?>
|
| 70 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 71 |
<?php endif; ?>
|
| 118 |
<td>
|
| 119 |
<?php echo $this->getPriceHtml($_item, true, '-compare-list-bottom') ?>
|
| 120 |
<?php if($_item->isSaleable()): ?>
|
| 121 |
+
<p><button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
| 122 |
<?php else: ?>
|
| 123 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 124 |
<?php endif; ?>
|
| 133 |
</tbody>
|
| 134 |
</table>
|
| 135 |
<div class="buttons-set">
|
| 136 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Close Window')) ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
|
| 137 |
<span class="please-wait" id="compare-list-please-wait" style="display:none;">
|
| 138 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Please wait...')) ?>" title="<?php echo $this->__('Please wait...') ?>" class="v-middle" /> <?php echo $this->__('Please wait...') ?>
|
| 139 |
</span>
|
| 140 |
</div>
|
| 141 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/catalog/product/compare/sidebar.phtml
CHANGED
|
@@ -25,14 +25,15 @@
|
|
| 25 |
*/
|
| 26 |
/* @var $this Mage_Catalog_Block_Product_Compare_Sidebar */
|
| 27 |
?>
|
| 28 |
-
<?php
|
| 29 |
$_helper = $this->helper('catalog/product_compare');
|
| 30 |
$_items = $_helper->getItemCount() > 0 ? $_helper->getItemCollection() : null;
|
| 31 |
?>
|
|
|
|
| 32 |
<div class="block block-list block-compare">
|
| 33 |
<div class="block-title">
|
| 34 |
<strong><span><?php echo $this->__('Compare Products') ?>
|
| 35 |
-
<?php if($_helper->getItemCount() > 0): ?>
|
| 36 |
<small><?php echo $this->__('(%d)', $_helper->getItemCount()) ?></small>
|
| 37 |
<?php endif; ?>
|
| 38 |
</span></strong>
|
|
@@ -43,18 +44,19 @@ $_items = $_helper->getItemCount() > 0 ? $_helper->getItemCollection() : null;
|
|
| 43 |
<?php foreach($_items as $_index => $_item): ?>
|
| 44 |
<li class="item">
|
| 45 |
<input type="hidden" class="compare-item-id" value="<?php echo $_item->getId() ?>" />
|
| 46 |
-
<a href="<?php echo $_helper->getRemoveUrl($_item) ?>" title="<?php echo $this->__('Remove This Item') ?>" class="btn-remove" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the compare products?') ?>');"><?php echo $this->__('Remove This Item') ?></a>
|
| 47 |
<p class="product-name"><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName(), 'name') ?></a></p>
|
| 48 |
</li>
|
| 49 |
<?php endforeach; ?>
|
| 50 |
</ol>
|
| 51 |
<script type="text/javascript">decorateList('compare-items')</script>
|
| 52 |
<div class="actions">
|
| 53 |
-
<a href="<?php echo $_helper->getClearListUrl() ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove all products from your comparison?') ?>');"><?php echo $this->__('Clear All') ?></a>
|
| 54 |
-
<button type="button" title="<?php echo $this->__('Compare') ?>" class="button" onclick="popWin('<?php echo $_helper->getListUrl() ?>','compare','top:0,left:0,width=820,height=600,resizable=yes,scrollbars=yes')"><span><span><?php echo $this->__('Compare') ?></span></span></button>
|
| 55 |
</div>
|
| 56 |
<?php else: ?>
|
| 57 |
<p class="empty"><?php echo $this->__('You have no items to compare.') ?></p>
|
| 58 |
<?php endif; ?>
|
| 59 |
</div>
|
| 60 |
</div>
|
|
|
| 25 |
*/
|
| 26 |
/* @var $this Mage_Catalog_Block_Product_Compare_Sidebar */
|
| 27 |
?>
|
| 28 |
+
<?php
|
| 29 |
$_helper = $this->helper('catalog/product_compare');
|
| 30 |
$_items = $_helper->getItemCount() > 0 ? $_helper->getItemCollection() : null;
|
| 31 |
?>
|
| 32 |
+
<?php if ($_items): ?>
|
| 33 |
<div class="block block-list block-compare">
|
| 34 |
<div class="block-title">
|
| 35 |
<strong><span><?php echo $this->__('Compare Products') ?>
|
| 36 |
+
<?php if($_helper->getItemCount() > 0): ?>
|
| 37 |
<small><?php echo $this->__('(%d)', $_helper->getItemCount()) ?></small>
|
| 38 |
<?php endif; ?>
|
| 39 |
</span></strong>
|
| 44 |
<?php foreach($_items as $_index => $_item): ?>
|
| 45 |
<li class="item">
|
| 46 |
<input type="hidden" class="compare-item-id" value="<?php echo $_item->getId() ?>" />
|
| 47 |
+
<a href="<?php echo $_helper->getRemoveUrl($_item) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Remove This Item')) ?>" class="btn-remove" onclick="return confirm('<?php echo Mage::helper('core')->quoteEscape($this->__('Are you sure you would like to remove this item from the compare products?')) ?>');"><?php echo $this->__('Remove This Item') ?></a>
|
| 48 |
<p class="product-name"><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName(), 'name') ?></a></p>
|
| 49 |
</li>
|
| 50 |
<?php endforeach; ?>
|
| 51 |
</ol>
|
| 52 |
<script type="text/javascript">decorateList('compare-items')</script>
|
| 53 |
<div class="actions">
|
| 54 |
+
<a href="<?php echo $_helper->getClearListUrl() ?>" onclick="return confirm('<?php echo Mage::helper('core')->quoteEscape($this->__('Are you sure you would like to remove all products from your comparison?')) ?>');"><?php echo $this->__('Clear All') ?></a>
|
| 55 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Compare')) ?>" class="button" onclick="popWin('<?php echo $_helper->getListUrl() ?>','compare','top:0,left:0,width=820,height=600,resizable=yes,scrollbars=yes')"><span><span><?php echo $this->__('Compare') ?></span></span></button>
|
| 56 |
</div>
|
| 57 |
<?php else: ?>
|
| 58 |
<p class="empty"><?php echo $this->__('You have no items to compare.') ?></p>
|
| 59 |
<?php endif; ?>
|
| 60 |
</div>
|
| 61 |
</div>
|
| 62 |
+
<?php endif; ?>
|
app/design/frontend/base/default/template/catalog/product/list.phtml
CHANGED
|
@@ -58,7 +58,7 @@
|
|
| 58 |
<?php endif; ?>
|
| 59 |
<?php echo $this->getPriceHtml($_product, true) ?>
|
| 60 |
<?php if($_product->isSaleable()): ?>
|
| 61 |
-
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
| 62 |
<?php else: ?>
|
| 63 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 64 |
<?php endif; ?>
|
|
@@ -100,7 +100,7 @@
|
|
| 100 |
<?php echo $this->getPriceHtml($_product, true) ?>
|
| 101 |
<div class="actions">
|
| 102 |
<?php if($_product->isSaleable()): ?>
|
| 103 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 104 |
<?php else: ?>
|
| 105 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 106 |
<?php endif; ?>
|
| 58 |
<?php endif; ?>
|
| 59 |
<?php echo $this->getPriceHtml($_product, true) ?>
|
| 60 |
<?php if($_product->isSaleable()): ?>
|
| 61 |
+
<p><button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
| 62 |
<?php else: ?>
|
| 63 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 64 |
<?php endif; ?>
|
| 100 |
<?php echo $this->getPriceHtml($_product, true) ?>
|
| 101 |
<div class="actions">
|
| 102 |
<?php if($_product->isSaleable()): ?>
|
| 103 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 104 |
<?php else: ?>
|
| 105 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 106 |
<?php endif; ?>
|
app/design/frontend/base/default/template/catalog/product/list/related.phtml
CHANGED
|
@@ -67,13 +67,13 @@
|
|
| 67 |
elem.checked = true;
|
| 68 |
});
|
| 69 |
relatedProductsCheckFlag = true;
|
| 70 |
-
txt.innerHTML="<?php echo $this->__('unselect all') ?>";
|
| 71 |
} else {
|
| 72 |
$$('.related-checkbox').each(function(elem){
|
| 73 |
elem.checked = false;
|
| 74 |
});
|
| 75 |
relatedProductsCheckFlag = false;
|
| 76 |
-
txt.innerHTML="<?php echo $this->__('select all') ?>";
|
| 77 |
}
|
| 78 |
addRelatedToProduct();
|
| 79 |
}
|
| 67 |
elem.checked = true;
|
| 68 |
});
|
| 69 |
relatedProductsCheckFlag = true;
|
| 70 |
+
txt.innerHTML="<?php echo Mage::helper('core')->jsQuoteEscape($this->__('unselect all')) ?>";
|
| 71 |
} else {
|
| 72 |
$$('.related-checkbox').each(function(elem){
|
| 73 |
elem.checked = false;
|
| 74 |
});
|
| 75 |
relatedProductsCheckFlag = false;
|
| 76 |
+
txt.innerHTML="<?php echo Mage::helper('core')->jsQuoteEscape($this->__('select all')) ?>";
|
| 77 |
}
|
| 78 |
addRelatedToProduct();
|
| 79 |
}
|
app/design/frontend/base/default/template/catalog/product/list/toolbar.phtml
CHANGED
|
@@ -74,7 +74,7 @@
|
|
| 74 |
<?php endif; ?>
|
| 75 |
</p>
|
| 76 |
<?php endif; ?>
|
| 77 |
-
|
| 78 |
<div class="sort-by">
|
| 79 |
<label><?php echo $this->__('Sort By') ?></label>
|
| 80 |
<select onchange="setLocation(this.value)">
|
|
@@ -85,9 +85,9 @@
|
|
| 85 |
<?php endforeach; ?>
|
| 86 |
</select>
|
| 87 |
<?php if($this->getCurrentDirection() == 'desc'): ?>
|
| 88 |
-
<a href="<?php echo $this->getOrderUrl(null, 'asc') ?>" title="<?php echo $this->__('Set Ascending Direction') ?>"><img src="<?php echo $this->getSkinUrl('images/i_desc_arrow.gif') ?>" alt="<?php echo $this->__('Set Ascending Direction') ?>" class="v-middle" /></a>
|
| 89 |
<?php else: ?>
|
| 90 |
-
<a href="<?php echo $this->getOrderUrl(null, 'desc') ?>" title="<?php echo $this->__('Set Descending Direction') ?>"><img src="<?php echo $this->getSkinUrl('images/i_asc_arrow.gif') ?>" alt="<?php echo $this->__('Set Descending Direction') ?>" class="v-middle" /></a>
|
| 91 |
<?php endif; ?>
|
| 92 |
</div>
|
| 93 |
</div>
|
| 74 |
<?php endif; ?>
|
| 75 |
</p>
|
| 76 |
<?php endif; ?>
|
| 77 |
+
|
| 78 |
<div class="sort-by">
|
| 79 |
<label><?php echo $this->__('Sort By') ?></label>
|
| 80 |
<select onchange="setLocation(this.value)">
|
| 85 |
<?php endforeach; ?>
|
| 86 |
</select>
|
| 87 |
<?php if($this->getCurrentDirection() == 'desc'): ?>
|
| 88 |
+
<a href="<?php echo $this->getOrderUrl(null, 'asc') ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Set Ascending Direction')) ?>"><img src="<?php echo $this->getSkinUrl('images/i_desc_arrow.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Set Ascending Direction')) ?>" class="v-middle" /></a>
|
| 89 |
<?php else: ?>
|
| 90 |
+
<a href="<?php echo $this->getOrderUrl(null, 'desc') ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Set Descending Direction')) ?>"><img src="<?php echo $this->getSkinUrl('images/i_asc_arrow.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Set Descending Direction')) ?>" class="v-middle" /></a>
|
| 91 |
<?php endif; ?>
|
| 92 |
</div>
|
| 93 |
</div>
|
app/design/frontend/base/default/template/catalog/product/new.phtml
CHANGED
|
@@ -38,7 +38,7 @@
|
|
| 38 |
<?php echo $this->getPriceHtml($_product, true, '-new') ?>
|
| 39 |
<div class="actions">
|
| 40 |
<?php if($_product->isSaleable()): ?>
|
| 41 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 42 |
<?php else: ?>
|
| 43 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 44 |
<?php endif; ?>
|
| 38 |
<?php echo $this->getPriceHtml($_product, true, '-new') ?>
|
| 39 |
<div class="actions">
|
| 40 |
<?php if($_product->isSaleable()): ?>
|
| 41 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 42 |
<?php else: ?>
|
| 43 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 44 |
<?php endif; ?>
|
app/design/frontend/base/default/template/catalog/product/price_msrp_item.phtml
CHANGED
|
@@ -101,7 +101,7 @@
|
|
| 101 |
<script type="text/javascript">
|
| 102 |
Catalog.Map.addHelpLink(
|
| 103 |
$('<?php echo $helpLinkId ?>'),
|
| 104 |
-
|
| 105 |
);
|
| 106 |
</script>
|
| 107 |
</div>
|
| 101 |
<script type="text/javascript">
|
| 102 |
Catalog.Map.addHelpLink(
|
| 103 |
$('<?php echo $helpLinkId ?>'),
|
| 104 |
+
'<?php echo Mage::helper('core')->jsQuoteEscape($this->__("What's this?")); ?>'
|
| 105 |
);
|
| 106 |
</script>
|
| 107 |
</div>
|
app/design/frontend/base/default/template/catalog/product/view.phtml
CHANGED
|
@@ -39,7 +39,7 @@
|
|
| 39 |
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->toHtml() ?></div>
|
| 40 |
<div class="product-view">
|
| 41 |
<div class="product-essential">
|
| 42 |
-
<form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
|
| 43 |
<?php echo $this->getBlockHtml('formkey') ?>
|
| 44 |
<div class="no-display">
|
| 45 |
<input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
|
| 39 |
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->toHtml() ?></div>
|
| 40 |
<div class="product-view">
|
| 41 |
<div class="product-essential">
|
| 42 |
+
<form action="<?php echo $this->getSubmitUrl($_product, array('_secure' => $this->_isSecure())) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
|
| 43 |
<?php echo $this->getBlockHtml('formkey') ?>
|
| 44 |
<div class="no-display">
|
| 45 |
<input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
|
app/design/frontend/base/default/template/catalog/product/view/addtocart.phtml
CHANGED
|
@@ -30,7 +30,7 @@
|
|
| 30 |
<div class="add-to-cart">
|
| 31 |
<?php if(!$_product->isGrouped()): ?>
|
| 32 |
<label for="qty"><?php echo $this->__('Qty:') ?></label>
|
| 33 |
-
<input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
|
| 34 |
<?php endif; ?>
|
| 35 |
<button type="button" title="<?php echo $buttonTitle ?>" id="product-addtocart-button" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
|
| 36 |
<?php echo $this->getChildHtml('', true, true) ?>
|
| 30 |
<div class="add-to-cart">
|
| 31 |
<?php if(!$_product->isGrouped()): ?>
|
| 32 |
<label for="qty"><?php echo $this->__('Qty:') ?></label>
|
| 33 |
+
<input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Qty')) ?>" class="input-text qty" />
|
| 34 |
<?php endif; ?>
|
| 35 |
<button type="button" title="<?php echo $buttonTitle ?>" id="product-addtocart-button" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
|
| 36 |
<?php echo $this->getChildHtml('', true, true) ?>
|
app/design/frontend/base/default/template/catalog/product/view/media.phtml
CHANGED
|
@@ -43,11 +43,11 @@
|
|
| 43 |
</p>
|
| 44 |
<p class="zoom-notice" id="track_hint"><?php echo $this->__('Double click on above image to view full picture') ?></p>
|
| 45 |
<div class="zoom">
|
| 46 |
-
<img id="zoom_out" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_out.gif') ?>" alt="<?php echo $this->__('Zoom Out') ?>" title="<?php echo $this->__('Zoom Out') ?>" class="btn-zoom-out" />
|
| 47 |
<div id="track">
|
| 48 |
<div id="handle"></div>
|
| 49 |
</div>
|
| 50 |
-
<img id="zoom_in" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_in.gif') ?>" alt="<?php echo $this->__('Zoom In') ?>" title="<?php echo $this->__('Zoom In') ?>" class="btn-zoom-in" />
|
| 51 |
</div>
|
| 52 |
<script type="text/javascript">
|
| 53 |
//<![CDATA[
|
| 43 |
</p>
|
| 44 |
<p class="zoom-notice" id="track_hint"><?php echo $this->__('Double click on above image to view full picture') ?></p>
|
| 45 |
<div class="zoom">
|
| 46 |
+
<img id="zoom_out" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_out.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Zoom Out')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Zoom Out')) ?>" class="btn-zoom-out" />
|
| 47 |
<div id="track">
|
| 48 |
<div id="handle"></div>
|
| 49 |
</div>
|
| 50 |
+
<img id="zoom_in" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_in.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Zoom In')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Zoom In')) ?>" class="btn-zoom-in" />
|
| 51 |
</div>
|
| 52 |
<script type="text/javascript">
|
| 53 |
//<![CDATA[
|
app/design/frontend/base/default/template/catalog/product/view/type/grouped.phtml
CHANGED
|
@@ -75,7 +75,7 @@
|
|
| 75 |
<?php if ($_product->isSaleable()): ?>
|
| 76 |
<td class="a-center">
|
| 77 |
<?php if ($_item->isSaleable()) : ?>
|
| 78 |
-
<input type="text" name="super_group[<?php echo $_item->getId() ?>]" maxlength="12" value="<?php echo $_item->getQty()*1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
|
| 79 |
<?php else: ?>
|
| 80 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 81 |
<?php endif; ?>
|
| 75 |
<?php if ($_product->isSaleable()): ?>
|
| 76 |
<td class="a-center">
|
| 77 |
<?php if ($_item->isSaleable()) : ?>
|
| 78 |
+
<input type="text" name="super_group[<?php echo $_item->getId() ?>]" maxlength="12" value="<?php echo $_item->getQty()*1 ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Qty')) ?>" class="input-text qty" />
|
| 79 |
<?php else: ?>
|
| 80 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 81 |
<?php endif; ?>
|
app/design/frontend/base/default/template/catalog/product/widget/new/content/new_grid.phtml
CHANGED
|
@@ -43,7 +43,7 @@
|
|
| 43 |
<?php echo $this->getPriceHtml($_product, true, '-widget-new-grid') ?>
|
| 44 |
<div class="actions">
|
| 45 |
<?php if ($_product->isSaleable()): ?>
|
| 46 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 47 |
<?php else: ?>
|
| 48 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 49 |
<?php endif; ?>
|
| 43 |
<?php echo $this->getPriceHtml($_product, true, '-widget-new-grid') ?>
|
| 44 |
<div class="actions">
|
| 45 |
<?php if ($_product->isSaleable()): ?>
|
| 46 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 47 |
<?php else: ?>
|
| 48 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 49 |
<?php endif; ?>
|
app/design/frontend/base/default/template/catalog/product/widget/new/content/new_list.phtml
CHANGED
|
@@ -41,7 +41,7 @@
|
|
| 41 |
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
| 42 |
<?php echo $this->getPriceHtml($_product, true, '-widget-new-list') ?>
|
| 43 |
<?php if ($_product->isSaleable()): ?>
|
| 44 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 45 |
<?php else: ?>
|
| 46 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 47 |
<?php endif; ?>
|
| 41 |
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
| 42 |
<?php echo $this->getPriceHtml($_product, true, '-widget-new-list') ?>
|
| 43 |
<?php if ($_product->isSaleable()): ?>
|
| 44 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 45 |
<?php else: ?>
|
| 46 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 47 |
<?php endif; ?>
|
app/design/frontend/base/default/template/cataloginventory/stockqty/composite.phtml
CHANGED
|
@@ -30,7 +30,7 @@
|
|
| 30 |
?>
|
| 31 |
<?php if($this->isMsgVisible()): ?>
|
| 32 |
<p class="availability-only">
|
| 33 |
-
<a href="#" id="<?php echo $this->getPlaceholderId() ?>" title="<?php echo $this->__('Only %s left', ($this->getStockQty())) ?>"><?php echo $this->__('Only %s left', "<strong>{$this->getStockQty()}</strong>") ?></a>
|
| 34 |
</p>
|
| 35 |
<table id="<?php echo $this->getDetailsPlaceholderId() ?>" class="availability-only-details no-display">
|
| 36 |
<col />
|
| 30 |
?>
|
| 31 |
<?php if($this->isMsgVisible()): ?>
|
| 32 |
<p class="availability-only">
|
| 33 |
+
<a href="#" id="<?php echo $this->getPlaceholderId() ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Only %s left', ($this->getStockQty()))) ?>"><?php echo $this->__('Only %s left', "<strong>{$this->getStockQty()}</strong>") ?></a>
|
| 34 |
</p>
|
| 35 |
<table id="<?php echo $this->getDetailsPlaceholderId() ?>" class="availability-only-details no-display">
|
| 36 |
<col />
|
app/design/frontend/base/default/template/catalogsearch/advanced/form.phtml
CHANGED
|
@@ -86,7 +86,7 @@
|
|
| 86 |
<script type="text/javascript">decorateList('advanced-search-list')</script>
|
| 87 |
</div>
|
| 88 |
<div class="buttons-set">
|
| 89 |
-
<button type="submit" title="<?php echo $this->__('Search') ?>" class="button"><span><span><?php echo $this->__('Search') ?></span></span></button>
|
| 90 |
</div>
|
| 91 |
</form>
|
| 92 |
<script type="text/javascript">
|
| 86 |
<script type="text/javascript">decorateList('advanced-search-list')</script>
|
| 87 |
</div>
|
| 88 |
<div class="buttons-set">
|
| 89 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Search')) ?>" class="button"><span><span><?php echo $this->__('Search') ?></span></span></button>
|
| 90 |
</div>
|
| 91 |
</form>
|
| 92 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/catalogsearch/form.mini.phtml
CHANGED
|
@@ -31,11 +31,11 @@ $catalogSearchHelper = $this->helper('catalogsearch');
|
|
| 31 |
<div class="form-search">
|
| 32 |
<label for="search"><?php echo $this->__('Search:') ?></label>
|
| 33 |
<input id="search" type="text" name="<?php echo $catalogSearchHelper->getQueryParamName() ?>" value="<?php echo $catalogSearchHelper->getEscapedQueryText() ?>" class="input-text" maxlength="<?php echo $catalogSearchHelper->getMaxQueryLength();?>" />
|
| 34 |
-
<button type="submit" title="<?php echo $this->__('Search') ?>" class="button"><span><span><?php echo $this->__('Search') ?></span></span></button>
|
| 35 |
<div id="search_autocomplete" class="search-autocomplete"></div>
|
| 36 |
<script type="text/javascript">
|
| 37 |
//<![CDATA[
|
| 38 |
-
var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo $this->__('Search entire store here...') ?>');
|
| 39 |
searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
|
| 40 |
//]]>
|
| 41 |
</script>
|
| 31 |
<div class="form-search">
|
| 32 |
<label for="search"><?php echo $this->__('Search:') ?></label>
|
| 33 |
<input id="search" type="text" name="<?php echo $catalogSearchHelper->getQueryParamName() ?>" value="<?php echo $catalogSearchHelper->getEscapedQueryText() ?>" class="input-text" maxlength="<?php echo $catalogSearchHelper->getMaxQueryLength();?>" />
|
| 34 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Search')) ?>" class="button"><span><span><?php echo $this->__('Search') ?></span></span></button>
|
| 35 |
<div id="search_autocomplete" class="search-autocomplete"></div>
|
| 36 |
<script type="text/javascript">
|
| 37 |
//<![CDATA[
|
| 38 |
+
var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo Mage::helper('core')->jsQuoteEscape($this->__('Search entire store here...')) ?>');
|
| 39 |
searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
|
| 40 |
//]]>
|
| 41 |
</script>
|
app/design/frontend/base/default/template/checkout/cart.phtml
CHANGED
|
@@ -46,7 +46,7 @@
|
|
| 46 |
</div>
|
| 47 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 48 |
<?php echo $this->getChildHtml('form_before') ?>
|
| 49 |
-
<form action="<?php echo $this->
|
| 50 |
<?php echo $this->getBlockHtml('formkey'); ?>
|
| 51 |
<fieldset>
|
| 52 |
<table id="shopping-cart-table" class="data-table cart-table">
|
|
@@ -98,10 +98,10 @@
|
|
| 98 |
<tr>
|
| 99 |
<td colspan="50" class="a-right">
|
| 100 |
<?php if($this->getContinueShoppingUrl()): ?>
|
| 101 |
-
<button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button btn-continue" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
| 102 |
<?php endif; ?>
|
| 103 |
-
<button type="submit" name="update_cart_action"
|
| 104 |
-
<button type="submit" name="update_cart_action" value="empty_cart" title="<?php echo $this->__('Clear Shopping Cart'); ?>" class="button btn-empty" id="empty_cart_button"><span><span><?php echo $this->__('Clear Shopping Cart'); ?></span></span></button>
|
| 105 |
<!--[if lt IE 8]>
|
| 106 |
<input type="hidden" id="update_cart_action_container" />
|
| 107 |
<script type="text/javascript">
|
| 46 |
</div>
|
| 47 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 48 |
<?php echo $this->getChildHtml('form_before') ?>
|
| 49 |
+
<form action="<?php echo $this->getFormActionUrl() ?>" method="post">
|
| 50 |
<?php echo $this->getBlockHtml('formkey'); ?>
|
| 51 |
<fieldset>
|
| 52 |
<table id="shopping-cart-table" class="data-table cart-table">
|
| 98 |
<tr>
|
| 99 |
<td colspan="50" class="a-right">
|
| 100 |
<?php if($this->getContinueShoppingUrl()): ?>
|
| 101 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Continue Shopping')) ?>" class="button btn-continue" onclick="setLocation('<?php echo Mage::helper('core')->quoteEscape($this->getContinueShoppingUrl()) ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
| 102 |
<?php endif; ?>
|
| 103 |
+
<button type="submit" name="update_cart_action" value="update_qty" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Update Shopping Cart')); ?>" class="button btn-update"><span><span><?php echo $this->__('Update Shopping Cart'); ?></span></span></button>
|
| 104 |
+
<button type="submit" name="update_cart_action" value="empty_cart" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Clear Shopping Cart')); ?>" class="button btn-empty" id="empty_cart_button"><span><span><?php echo $this->__('Clear Shopping Cart'); ?></span></span></button>
|
| 105 |
<!--[if lt IE 8]>
|
| 106 |
<input type="hidden" id="update_cart_action_container" />
|
| 107 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/checkout/cart/coupon.phtml
CHANGED
|
@@ -24,7 +24,7 @@
|
|
| 24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
-
<form id="discount-coupon-form" action="<?php echo $this->
|
| 28 |
<div class="discount">
|
| 29 |
<h2><?php echo $this->__('Discount Codes') ?></h2>
|
| 30 |
<div class="discount-form">
|
|
@@ -34,9 +34,9 @@
|
|
| 34 |
<input class="input-text" id="coupon_code" name="coupon_code" value="<?php echo $this->escapeHtml($this->getCouponCode()) ?>" />
|
| 35 |
</div>
|
| 36 |
<div class="buttons-set">
|
| 37 |
-
<button type="button" title="<?php echo $this->__('Apply Coupon') ?>" class="button" onclick="discountForm.submit(false)" value="<?php echo $this->__('Apply Coupon') ?>"><span><span><?php echo $this->__('Apply Coupon') ?></span></span></button>
|
| 38 |
<?php if(strlen($this->getCouponCode())): ?>
|
| 39 |
-
<button type="button" title="<?php echo $this->__('Cancel Coupon') ?>" class="button" onclick="discountForm.submit(true)" value="<?php echo $this->__('Cancel Coupon') ?>"><span><span><?php echo $this->__('Cancel Coupon') ?></span></span></button>
|
| 40 |
<?php endif;?>
|
| 41 |
</div>
|
| 42 |
</div>
|
| 24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
+
<form id="discount-coupon-form" action="<?php echo $this->getFormActionUrl() ?>" method="post">
|
| 28 |
<div class="discount">
|
| 29 |
<h2><?php echo $this->__('Discount Codes') ?></h2>
|
| 30 |
<div class="discount-form">
|
| 34 |
<input class="input-text" id="coupon_code" name="coupon_code" value="<?php echo $this->escapeHtml($this->getCouponCode()) ?>" />
|
| 35 |
</div>
|
| 36 |
<div class="buttons-set">
|
| 37 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Apply Coupon')) ?>" class="button" onclick="discountForm.submit(false)" value="<?php echo Mage::helper('core')->quoteEscape($this->__('Apply Coupon')) ?>"><span><span><?php echo $this->__('Apply Coupon') ?></span></span></button>
|
| 38 |
<?php if(strlen($this->getCouponCode())): ?>
|
| 39 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Cancel Coupon')) ?>" class="button" onclick="discountForm.submit(true)" value="<?php echo Mage::helper('core')->quoteEscape($this->__('Cancel Coupon')) ?>"><span><span><?php echo $this->__('Cancel Coupon') ?></span></span></button>
|
| 40 |
<?php endif;?>
|
| 41 |
</div>
|
| 42 |
</div>
|
app/design/frontend/base/default/template/checkout/cart/crosssell.phtml
CHANGED
|
@@ -41,7 +41,7 @@
|
|
| 41 |
<div class="product-details">
|
| 42 |
<h3 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a></h3>
|
| 43 |
<?php echo $this->getPriceHtml($_item, true) ?>
|
| 44 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 45 |
<ul class="add-to-links">
|
| 46 |
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
| 47 |
<li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
| 41 |
<div class="product-details">
|
| 42 |
<h3 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a></h3>
|
| 43 |
<?php echo $this->getPriceHtml($_item, true) ?>
|
| 44 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 45 |
<ul class="add-to-links">
|
| 46 |
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
| 47 |
<li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
app/design/frontend/base/default/template/checkout/cart/item/configure/updatecart.phtml
CHANGED
|
@@ -31,7 +31,7 @@
|
|
| 31 |
<div class="add-to-cart">
|
| 32 |
<?php if (!$_product->isGrouped()): ?>
|
| 33 |
<label for="qty"><?php echo $this->__('Qty:') ?></label>
|
| 34 |
-
<input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
|
| 35 |
<?php endif; ?>
|
| 36 |
<button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
|
| 37 |
<?php echo $this->getChildHtml('', true, true) ?>
|
| 31 |
<div class="add-to-cart">
|
| 32 |
<?php if (!$_product->isGrouped()): ?>
|
| 33 |
<label for="qty"><?php echo $this->__('Qty:') ?></label>
|
| 34 |
+
<input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Qty')) ?>" class="input-text qty" />
|
| 35 |
<?php endif; ?>
|
| 36 |
<button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
|
| 37 |
<?php echo $this->getChildHtml('', true, true) ?>
|
app/design/frontend/base/default/template/checkout/cart/item/default.phtml
CHANGED
|
@@ -69,7 +69,7 @@ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage
|
|
| 69 |
</td>
|
| 70 |
<td class="a-center">
|
| 71 |
<?php if ($isVisibleProduct): ?>
|
| 72 |
-
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
|
| 73 |
<?php endif ?>
|
| 74 |
</td>
|
| 75 |
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
|
@@ -178,7 +178,9 @@ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage
|
|
| 178 |
<?php endif; ?>
|
| 179 |
<?php endif; ?>
|
| 180 |
<td class="a-center">
|
| 181 |
-
<input name="cart[<?php echo $_item->getId() ?>][qty]"
|
|
|
|
|
|
|
| 182 |
</td>
|
| 183 |
|
| 184 |
<!--Sub total starts here -->
|
|
@@ -275,5 +277,5 @@ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage
|
|
| 275 |
<?php endif; ?>
|
| 276 |
</td>
|
| 277 |
<?php endif; ?>
|
| 278 |
-
<td class="a-center"><a href="<?php echo $this->getDeleteUrl()?>" title="<?php echo $this->__('Remove item')?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove item')?></a></td>
|
| 279 |
</tr>
|
| 69 |
</td>
|
| 70 |
<td class="a-center">
|
| 71 |
<?php if ($isVisibleProduct): ?>
|
| 72 |
+
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Edit item parameters')) ?>"><?php echo $this->__('Edit') ?></a>
|
| 73 |
<?php endif ?>
|
| 74 |
</td>
|
| 75 |
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
| 178 |
<?php endif; ?>
|
| 179 |
<?php endif; ?>
|
| 180 |
<td class="a-center">
|
| 181 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]"
|
| 182 |
+
data-cart-item-id="<?php echo $this->jsQuoteEscape($_item->getSku()) ?>"
|
| 183 |
+
value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
|
| 184 |
</td>
|
| 185 |
|
| 186 |
<!--Sub total starts here -->
|
| 277 |
<?php endif; ?>
|
| 278 |
</td>
|
| 279 |
<?php endif; ?>
|
| 280 |
+
<td class="a-center"><a href="<?php echo $this->getDeleteUrl()?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Remove item')) ?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove item')?></a></td>
|
| 281 |
</tr>
|
app/design/frontend/base/default/template/checkout/cart/noItems.phtml
CHANGED
|
@@ -31,6 +31,6 @@
|
|
| 31 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 32 |
<?php echo $this->getChildHtml('checkout_cart_empty_widget'); ?>
|
| 33 |
<p><?php echo $this->__('You have no items in your shopping cart.') ?></p>
|
| 34 |
-
<p><?php echo $this->__('Click <a href="%s">here</a> to continue shopping.', $this->getContinueShoppingUrl()) ?></p>
|
| 35 |
<?php echo $this->getChildHtml('shopping.cart.table.after'); ?>
|
| 36 |
</div>
|
| 31 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 32 |
<?php echo $this->getChildHtml('checkout_cart_empty_widget'); ?>
|
| 33 |
<p><?php echo $this->__('You have no items in your shopping cart.') ?></p>
|
| 34 |
+
<p><?php echo $this->__('Click <a href="%s">here</a> to continue shopping.', Mage::helper('core')->quoteEscape($this->getContinueShoppingUrl())) ?></p>
|
| 35 |
<?php echo $this->getChildHtml('shopping.cart.table.after'); ?>
|
| 36 |
</div>
|
app/design/frontend/base/default/template/checkout/cart/render/default.phtml
CHANGED
|
@@ -30,7 +30,7 @@
|
|
| 30 |
?>
|
| 31 |
<?php $_item = $this->getItem() ?>
|
| 32 |
<tr>
|
| 33 |
-
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
|
| 34 |
<td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" alt="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" /></a></td>
|
| 35 |
<td>
|
| 36 |
<h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
|
|
@@ -55,7 +55,7 @@
|
|
| 55 |
</td>
|
| 56 |
<?php endif; ?>
|
| 57 |
<td class="a-center">
|
| 58 |
-
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
|
| 59 |
</td>
|
| 60 |
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
| 61 |
<td class="a-right">
|
| 30 |
?>
|
| 31 |
<?php $_item = $this->getItem() ?>
|
| 32 |
<tr>
|
| 33 |
+
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Remove Item')) ?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
|
| 34 |
<td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" alt="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" /></a></td>
|
| 35 |
<td>
|
| 36 |
<h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
|
| 55 |
</td>
|
| 56 |
<?php endif; ?>
|
| 57 |
<td class="a-center">
|
| 58 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]" data-cart-item-id="<?php echo $this->jsQuoteEscape($_item->getSku()) ?>" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
|
| 59 |
</td>
|
| 60 |
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
| 61 |
<td class="a-right">
|
app/design/frontend/base/default/template/checkout/cart/render/simple.phtml
CHANGED
|
@@ -30,7 +30,7 @@
|
|
| 30 |
?>
|
| 31 |
<?php $_item = $this->getItem() ?>
|
| 32 |
<tr>
|
| 33 |
-
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
|
| 34 |
<td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" height="75" alt="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" /></a></td>
|
| 35 |
<td>
|
| 36 |
<h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
|
|
@@ -55,7 +55,9 @@
|
|
| 55 |
</td>
|
| 56 |
<?php endif; ?>
|
| 57 |
<td class="a-center">
|
| 58 |
-
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>"
|
|
|
|
|
|
|
| 59 |
</td>
|
| 60 |
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
| 61 |
<td class="a-right">
|
| 30 |
?>
|
| 31 |
<?php $_item = $this->getItem() ?>
|
| 32 |
<tr>
|
| 33 |
+
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Remove Item')) ?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
|
| 34 |
<td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" height="75" alt="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" /></a></td>
|
| 35 |
<td>
|
| 36 |
<h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
|
| 55 |
</td>
|
| 56 |
<?php endif; ?>
|
| 57 |
<td class="a-center">
|
| 58 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>"
|
| 59 |
+
data-cart-item-id="<?php echo $this->jsQuoteEscape($_item->getSku()) ?>"
|
| 60 |
+
size="4" class="input-text qty" maxlength="12" />
|
| 61 |
</td>
|
| 62 |
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
| 63 |
<td class="a-right">
|
app/design/frontend/base/default/template/checkout/cart/shipping.phtml
CHANGED
|
@@ -28,7 +28,7 @@
|
|
| 28 |
<div class="shipping">
|
| 29 |
<h2><?php echo $this->__('Estimate Shipping and Tax') ?></h2>
|
| 30 |
<div class="shipping-form">
|
| 31 |
-
<form action="<?php echo $this->
|
| 32 |
<p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
|
| 33 |
<ul class="form-list">
|
| 34 |
<li>
|
|
@@ -41,7 +41,7 @@
|
|
| 41 |
<li>
|
| 42 |
<label for="region_id"<?php if ($this->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($this->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo $this->__('State/Province') ?></label>
|
| 43 |
<div class="input-box">
|
| 44 |
-
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
|
| 45 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 46 |
</select>
|
| 47 |
<script type="text/javascript">
|
|
@@ -49,7 +49,7 @@
|
|
| 49 |
$('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
|
| 50 |
//]]>
|
| 51 |
</script>
|
| 52 |
-
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getEstimateRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
|
| 53 |
</div>
|
| 54 |
</li>
|
| 55 |
<?php //endif; ?>
|
|
@@ -69,7 +69,7 @@
|
|
| 69 |
</li>
|
| 70 |
</ul>
|
| 71 |
<div class="buttons-set">
|
| 72 |
-
<button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="coShippingMethodForm.submit()" class="button"><span><span><?php echo $this->__('Get a Quote') ?></span></span></button>
|
| 73 |
</div>
|
| 74 |
</form>
|
| 75 |
<script type="text/javascript">
|
|
@@ -79,7 +79,7 @@
|
|
| 79 |
</script>
|
| 80 |
|
| 81 |
<?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
|
| 82 |
-
<form id="co-shipping-method-form" action="<?php echo $this->
|
| 83 |
<dl class="sp-methods">
|
| 84 |
<?php foreach ($_shippingRateGroups as $code => $_rates): ?>
|
| 85 |
<dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
|
|
@@ -107,7 +107,7 @@
|
|
| 107 |
<?php endforeach; ?>
|
| 108 |
</dl>
|
| 109 |
<div class="buttons-set">
|
| 110 |
-
<button type="submit" title="<?php echo $this->__('Update Total') ?>" class="button" name="do" value="<?php echo $this->__('Update Total') ?>"><span><span><?php echo $this->__('Update Total') ?></span></span></button>
|
| 111 |
</div>
|
| 112 |
</form>
|
| 113 |
<?php endif; ?>
|
| 28 |
<div class="shipping">
|
| 29 |
<h2><?php echo $this->__('Estimate Shipping and Tax') ?></h2>
|
| 30 |
<div class="shipping-form">
|
| 31 |
+
<form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="shipping-zip-form">
|
| 32 |
<p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
|
| 33 |
<ul class="form-list">
|
| 34 |
<li>
|
| 41 |
<li>
|
| 42 |
<label for="region_id"<?php if ($this->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($this->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo $this->__('State/Province') ?></label>
|
| 43 |
<div class="input-box">
|
| 44 |
+
<select id="region_id" name="region_id" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
|
| 45 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 46 |
</select>
|
| 47 |
<script type="text/javascript">
|
| 49 |
$('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
|
| 50 |
//]]>
|
| 51 |
</script>
|
| 52 |
+
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getEstimateRegion()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="input-text" style="display:none;" />
|
| 53 |
</div>
|
| 54 |
</li>
|
| 55 |
<?php //endif; ?>
|
| 69 |
</li>
|
| 70 |
</ul>
|
| 71 |
<div class="buttons-set">
|
| 72 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Get a Quote')) ?>" onclick="coShippingMethodForm.submit()" class="button"><span><span><?php echo $this->__('Get a Quote') ?></span></span></button>
|
| 73 |
</div>
|
| 74 |
</form>
|
| 75 |
<script type="text/javascript">
|
| 79 |
</script>
|
| 80 |
|
| 81 |
<?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
|
| 82 |
+
<form id="co-shipping-method-form" action="<?php echo $this->getUpdateFormActionUrl() ?>">
|
| 83 |
<dl class="sp-methods">
|
| 84 |
<?php foreach ($_shippingRateGroups as $code => $_rates): ?>
|
| 85 |
<dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
|
| 107 |
<?php endforeach; ?>
|
| 108 |
</dl>
|
| 109 |
<div class="buttons-set">
|
| 110 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Update Total')) ?>" class="button" name="do" value="<?php echo Mage::helper('core')->quoteEscape($this->__('Update Total')) ?>"><span><span><?php echo $this->__('Update Total') ?></span></span></button>
|
| 111 |
</div>
|
| 112 |
</form>
|
| 113 |
<?php endif; ?>
|
app/design/frontend/base/default/template/checkout/cart/sidebar.phtml
CHANGED
|
@@ -60,7 +60,7 @@
|
|
| 60 |
<?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
|
| 61 |
<div class="actions">
|
| 62 |
<?php echo $this->getChildHtml('extra_actions') ?>
|
| 63 |
-
<button type="button" title="<?php echo $this->__('Checkout') ?>" class="button" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
|
| 64 |
</div>
|
| 65 |
<?php endif ?>
|
| 66 |
<?php $_items = $this->getRecentItems() ?>
|
| 60 |
<?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
|
| 61 |
<div class="actions">
|
| 62 |
<?php echo $this->getChildHtml('extra_actions') ?>
|
| 63 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Checkout')) ?>" class="button" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
|
| 64 |
</div>
|
| 65 |
<?php endif ?>
|
| 66 |
<?php $_items = $this->getRecentItems() ?>
|
app/design/frontend/base/default/template/checkout/cart/sidebar/default.phtml
CHANGED
|
@@ -36,9 +36,9 @@
|
|
| 36 |
<span class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></span>
|
| 37 |
<?php endif; ?>
|
| 38 |
<div class="product-details">
|
| 39 |
-
<a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>');" class="btn-remove"><?php echo $this->__('Remove This Item') ?></a>
|
| 40 |
<?php if ($isVisibleProduct): ?>
|
| 41 |
-
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item') ?>" class="btn-edit"><?php echo $this->__('Edit item')?></a>
|
| 42 |
<?php endif ?>
|
| 43 |
<p class="product-name"><?php if ($this->hasProductUrl()): ?><a href="<?php echo $this->getProductUrl() ?>"><?php endif; ?><?php echo $this->escapeHtml($this->getProductName()) ?><?php if ($this->hasProductUrl()): ?></a><?php endif; ?></p>
|
| 44 |
<strong><?php echo $this->getQty() ?></strong> x
|
| 36 |
<span class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></span>
|
| 37 |
<?php endif; ?>
|
| 38 |
<div class="product-details">
|
| 39 |
+
<a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Remove This Item')) ?>" onclick="return confirm('<?php echo Mage::helper('core')->quoteEscape($this->__('Are you sure you would like to remove this item from the shopping cart?'), true) ?>');" class="btn-remove"><?php echo $this->__('Remove This Item') ?></a>
|
| 40 |
<?php if ($isVisibleProduct): ?>
|
| 41 |
+
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Edit item')) ?>" class="btn-edit"><?php echo $this->__('Edit item')?></a>
|
| 42 |
<?php endif ?>
|
| 43 |
<p class="product-name"><?php if ($this->hasProductUrl()): ?><a href="<?php echo $this->getProductUrl() ?>"><?php endif; ?><?php echo $this->escapeHtml($this->getProductName()) ?><?php if ($this->hasProductUrl()): ?></a><?php endif; ?></p>
|
| 44 |
<strong><?php echo $this->getQty() ?></strong> x
|
app/design/frontend/base/default/template/checkout/multishipping/address/select.phtml
CHANGED
|
@@ -27,7 +27,7 @@
|
|
| 27 |
<div class="multiple-checkout">
|
| 28 |
<div class="page-title title-buttons">
|
| 29 |
<h1><?php echo $this->__('Change Billing Address') ?></h1>
|
| 30 |
-
<button type="button" title="<?php echo $this->__('Add New Address') ?>" class="button" onclick="setLocation('<?php echo $this->getAddNewUrl() ?>')"><span><span><?php echo $this->__('Add New Address') ?></span></span></button>
|
| 31 |
</div>
|
| 32 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 33 |
<?php $_index=0 ?>
|
| 27 |
<div class="multiple-checkout">
|
| 28 |
<div class="page-title title-buttons">
|
| 29 |
<h1><?php echo $this->__('Change Billing Address') ?></h1>
|
| 30 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add New Address')) ?>" class="button" onclick="setLocation('<?php echo $this->getAddNewUrl() ?>')"><span><span><?php echo $this->__('Add New Address') ?></span></span></button>
|
| 31 |
</div>
|
| 32 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 33 |
<?php $_index=0 ?>
|
app/design/frontend/base/default/template/checkout/multishipping/addresses.phtml
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
<div class="multiple-checkout">
|
| 37 |
<div class="page-title title-buttons">
|
| 38 |
<h1><?php echo $this->__('Ship to Multiple Addresses') ?></h1>
|
| 39 |
-
<button data-action="add-new-customer-address" type="button" title="<?php echo $this->__('Enter a New Address') ?>" class="button" onclick="$('add_new_address_flag').value=1; $('checkout_multishipping_form').submit();"><span><span><?php echo $this->__('Enter a New Address') ?></span></span></button>
|
| 40 |
</div>
|
| 41 |
<input type="hidden" name="continue" value="0" id="can_continue_flag" />
|
| 42 |
<input type="hidden" name="new_address" value="0" id="add_new_address_flag" />
|
|
@@ -56,7 +56,13 @@
|
|
| 56 |
</thead>
|
| 57 |
<tfoot>
|
| 58 |
<tr>
|
| 59 |
-
<td colspan="100" class="a-right"><button type="submit"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
</tr>
|
| 61 |
</tfoot>
|
| 62 |
<tbody>
|
|
@@ -64,9 +70,9 @@
|
|
| 64 |
<?php if ($_item->getQuoteItem()) :?>
|
| 65 |
<tr>
|
| 66 |
<td><?php echo $this->getItemHtml($_item->getQuoteItem())?></td>
|
| 67 |
-
<td><input type="text" name="ship[<?php echo $_index ?>][<?php echo $_item->getQuoteItemId() ?>][qty]" value="<?php echo $this->escapeHtml($_item->getQty()) ?>" size="2" class="input-text qty" /></td>
|
| 68 |
<td><?php if ($_item->getProduct()->getIsVirtual()): echo $this->__('Shipping selection is not applicable.'); else: echo $this->getAddressesHtmlSelect($_item, $_index); endif; ?></td>
|
| 69 |
-
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove2"><?php echo $this->__('Remove Item') ?></a></td>
|
| 70 |
</tr>
|
| 71 |
<?php endif; ?>
|
| 72 |
<?php endforeach; ?>
|
|
@@ -75,7 +81,7 @@
|
|
| 75 |
<script type="text/javascript">decorateTable('multiship-addresses-table')</script>
|
| 76 |
<div class="buttons-set">
|
| 77 |
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Shopping Cart') ?></a></p>
|
| 78 |
-
<button type="submit" data-action="checkout-continue-shipping" title="<?php echo $this->__('Continue to Shipping Information') ?>" class="button<?php if ($this->isContinueDisabled()):?> disabled<?php endif; ?>" onclick="$('can_continue_flag').value=1"<?php if ($this->isContinueDisabled()):?> disabled="disabled"<?php endif; ?>><span><span><?php echo $this->__('Continue to Shipping Information') ?></span></span></button>
|
| 79 |
</div>
|
| 80 |
</div>
|
| 81 |
</form>
|
| 36 |
<div class="multiple-checkout">
|
| 37 |
<div class="page-title title-buttons">
|
| 38 |
<h1><?php echo $this->__('Ship to Multiple Addresses') ?></h1>
|
| 39 |
+
<button data-action="add-new-customer-address" type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Enter a New Address')) ?>" class="button" onclick="$('add_new_address_flag').value=1; $('checkout_multishipping_form').submit();"><span><span><?php echo $this->__('Enter a New Address') ?></span></span></button>
|
| 40 |
</div>
|
| 41 |
<input type="hidden" name="continue" value="0" id="can_continue_flag" />
|
| 42 |
<input type="hidden" name="new_address" value="0" id="add_new_address_flag" />
|
| 56 |
</thead>
|
| 57 |
<tfoot>
|
| 58 |
<tr>
|
| 59 |
+
<td colspan="100" class="a-right"><button type="submit"
|
| 60 |
+
data-multiship-item-update
|
| 61 |
+
title="<?php echo Mage::helper('core')->quoteEscape($this->__('Update Qty & Addresses')) ?>"
|
| 62 |
+
class="button" onclick="$('can_continue_flag').value=0">
|
| 63 |
+
<span><span><?php echo $this->__('Update Qty & Addresses') ?></span></span>
|
| 64 |
+
</button>
|
| 65 |
+
</td>
|
| 66 |
</tr>
|
| 67 |
</tfoot>
|
| 68 |
<tbody>
|
| 70 |
<?php if ($_item->getQuoteItem()) :?>
|
| 71 |
<tr>
|
| 72 |
<td><?php echo $this->getItemHtml($_item->getQuoteItem())?></td>
|
| 73 |
+
<td><input type="text" data-multiship-item-id="<?php echo $this->jsQuoteEscape($_item->getSku()) ?>" name="ship[<?php echo $_index ?>][<?php echo $_item->getQuoteItemId() ?>][qty]" value="<?php echo $this->escapeHtml($_item->getQty()) ?>" size="2" class="input-text qty" /></td>
|
| 74 |
<td><?php if ($_item->getProduct()->getIsVirtual()): echo $this->__('Shipping selection is not applicable.'); else: echo $this->getAddressesHtmlSelect($_item, $_index); endif; ?></td>
|
| 75 |
+
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Remove Item')) ?>" class="btn-remove2"><?php echo $this->__('Remove Item') ?></a></td>
|
| 76 |
</tr>
|
| 77 |
<?php endif; ?>
|
| 78 |
<?php endforeach; ?>
|
| 81 |
<script type="text/javascript">decorateTable('multiship-addresses-table')</script>
|
| 82 |
<div class="buttons-set">
|
| 83 |
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Shopping Cart') ?></a></p>
|
| 84 |
+
<button type="submit" data-action="checkout-continue-shipping" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Continue to Shipping Information')) ?>" class="button<?php if ($this->isContinueDisabled()):?> disabled<?php endif; ?>" onclick="$('can_continue_flag').value=1"<?php if ($this->isContinueDisabled()):?> disabled="disabled"<?php endif; ?>><span><span><?php echo $this->__('Continue to Shipping Information') ?></span></span></button>
|
| 85 |
</div>
|
| 86 |
</div>
|
| 87 |
</form>
|
app/design/frontend/base/default/template/checkout/multishipping/billing.phtml
CHANGED
|
@@ -57,8 +57,8 @@
|
|
| 57 |
</div>
|
| 58 |
<div class="box-content">
|
| 59 |
<div class="tool-tip" id="payment-tool-tip" style="display:none;">
|
| 60 |
-
<div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
|
| 61 |
-
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
|
| 62 |
</div>
|
| 63 |
<!-- Payment methods forms list -->
|
| 64 |
<dl class="sp-methods">
|
|
@@ -89,7 +89,7 @@
|
|
| 89 |
</div>
|
| 90 |
<div class="buttons-set">
|
| 91 |
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Shipping Information') ?></a></p>
|
| 92 |
-
<button id="payment-continue" type="submit" title="<?php echo $this->__('Continue to Review Your Order') ?>" class="button"><span><span><?php echo $this->__('Continue to Review Your Order') ?></span></span></button>
|
| 93 |
</div>
|
| 94 |
</form>
|
| 95 |
<script type="text/javascript">
|
| 57 |
</div>
|
| 58 |
<div class="box-content">
|
| 59 |
<div class="tool-tip" id="payment-tool-tip" style="display:none;">
|
| 60 |
+
<div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Close')) ?>"><?php echo $this->__('Close') ?></a></div>
|
| 61 |
+
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Card Verification Number Visual Reference')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Card Verification Number Visual Reference')) ?>" /></div>
|
| 62 |
</div>
|
| 63 |
<!-- Payment methods forms list -->
|
| 64 |
<dl class="sp-methods">
|
| 89 |
</div>
|
| 90 |
<div class="buttons-set">
|
| 91 |
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Shipping Information') ?></a></p>
|
| 92 |
+
<button id="payment-continue" type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Continue to Review Your Order')) ?>" class="button"><span><span><?php echo $this->__('Continue to Review Your Order') ?></span></span></button>
|
| 93 |
</div>
|
| 94 |
</form>
|
| 95 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/checkout/multishipping/link.phtml
CHANGED
|
@@ -24,4 +24,4 @@
|
|
| 24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
-
<a href="<?php echo $this->getCheckoutUrl()?>" title="<?php echo Mage::helper('checkout')->__('Checkout with Multiple Addresses')
|
| 24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
+
<a href="<?php echo $this->getCheckoutUrl()?>" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('checkout')->__('Checkout with Multiple Addresses')); ?>"><?php echo Mage::helper('checkout')->__('Checkout with Multiple Addresses');?></a>
|
app/design/frontend/base/default/template/checkout/multishipping/overview.phtml
CHANGED
|
@@ -197,12 +197,12 @@
|
|
| 197 |
<div class="inner">
|
| 198 |
<big><?php echo $this->__('Grand Total:') ?> <?php echo $this->helper('checkout')->formatPrice($this->getTotal()) ?></big>
|
| 199 |
<div id="review-buttons-container">
|
| 200 |
-
<button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" id="review-button"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
| 201 |
</div>
|
| 202 |
</div>
|
| 203 |
</div>
|
| 204 |
<span class="please-wait" id="review-please-wait" style="display:none;">
|
| 205 |
-
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
| 206 |
</span>
|
| 207 |
</div>
|
| 208 |
</div>
|
|
@@ -223,7 +223,7 @@
|
|
| 223 |
var checkboxes = $$('#checkout-agreements input');
|
| 224 |
for (var i=0, l=checkboxes.length; i<l; i++) {
|
| 225 |
if (!checkboxes[i].checked) {
|
| 226 |
-
alert("<?php echo $this->__('Please agree to all Terms and Conditions before placing the orders.')?>");
|
| 227 |
return false;
|
| 228 |
}
|
| 229 |
}
|
| 197 |
<div class="inner">
|
| 198 |
<big><?php echo $this->__('Grand Total:') ?> <?php echo $this->helper('checkout')->formatPrice($this->getTotal()) ?></big>
|
| 199 |
<div id="review-buttons-container">
|
| 200 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Place Order')) ?>" class="button btn-checkout" id="review-button"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
| 201 |
</div>
|
| 202 |
</div>
|
| 203 |
</div>
|
| 204 |
<span class="please-wait" id="review-please-wait" style="display:none;">
|
| 205 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Submitting order information...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Submitting order information...')) ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
| 206 |
</span>
|
| 207 |
</div>
|
| 208 |
</div>
|
| 223 |
var checkboxes = $$('#checkout-agreements input');
|
| 224 |
for (var i=0, l=checkboxes.length; i<l; i++) {
|
| 225 |
if (!checkboxes[i].checked) {
|
| 226 |
+
alert("<?php echo Mage::helper('core')->jsQuoteEscape($this->__('Please agree to all Terms and Conditions before placing the orders.')) ?>");
|
| 227 |
return false;
|
| 228 |
}
|
| 229 |
}
|
app/design/frontend/base/default/template/checkout/multishipping/shipping.phtml
CHANGED
|
@@ -124,7 +124,7 @@
|
|
| 124 |
<?php echo $this->getChildHtml('checkout_billing_items') ?>
|
| 125 |
<div class="buttons-set">
|
| 126 |
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Select Addresses') ?></a></p>
|
| 127 |
-
<button data-action="checkout-continue-billing" type="submit" title="<?php echo $this->__('Continue to Billing Information') ?>" class="button"><span><span><?php echo $this->__('Continue to Billing Information') ?></span></span></button>
|
| 128 |
</div>
|
| 129 |
</form>
|
| 130 |
</div>
|
| 124 |
<?php echo $this->getChildHtml('checkout_billing_items') ?>
|
| 125 |
<div class="buttons-set">
|
| 126 |
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Select Addresses') ?></a></p>
|
| 127 |
+
<button data-action="checkout-continue-billing" type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Continue to Billing Information')) ?>" class="button"><span><span><?php echo $this->__('Continue to Billing Information') ?></span></span></button>
|
| 128 |
</div>
|
| 129 |
</form>
|
| 130 |
</div>
|
app/design/frontend/base/default/template/checkout/multishipping/success.phtml
CHANGED
|
@@ -45,6 +45,6 @@
|
|
| 45 |
<?php endif; ?>
|
| 46 |
<?php echo $this->getChildHtml() ?>
|
| 47 |
<div class="buttons-set">
|
| 48 |
-
<button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button" onclick="setLocation('<?php echo $this->getContinueUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
| 49 |
</div>
|
| 50 |
</div>
|
| 45 |
<?php endif; ?>
|
| 46 |
<?php echo $this->getChildHtml() ?>
|
| 47 |
<div class="buttons-set">
|
| 48 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Continue Shopping')) ?>" class="button" onclick="setLocation('<?php echo $this->getContinueUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
| 49 |
</div>
|
| 50 |
</div>
|
app/design/frontend/base/default/template/checkout/onepage/billing.phtml
CHANGED
|
@@ -44,14 +44,14 @@
|
|
| 44 |
<div class="field">
|
| 45 |
<label for="billing:company"><?php echo $this->__('Company') ?></label>
|
| 46 |
<div class="input-box">
|
| 47 |
-
<input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
| 48 |
</div>
|
| 49 |
</div>
|
| 50 |
<?php if(!$this->isCustomerLoggedIn()): ?>
|
| 51 |
<div class="field">
|
| 52 |
<label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 53 |
<div class="input-box">
|
| 54 |
-
<input type="text" name="billing[email]" id="billing:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
|
| 55 |
</div>
|
| 56 |
</div>
|
| 57 |
<?php endif; ?>
|
|
@@ -60,14 +60,14 @@
|
|
| 60 |
<li class="wide">
|
| 61 |
<label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
| 62 |
<div class="input-box">
|
| 63 |
-
<input type="text" title="<?php echo $this->__('Street Address') ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 64 |
</div>
|
| 65 |
</li>
|
| 66 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 67 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 68 |
<li class="wide">
|
| 69 |
<div class="input-box">
|
| 70 |
-
<input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="billing[street][]" id="billing:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 71 |
</div>
|
| 72 |
</li>
|
| 73 |
<?php endfor; ?>
|
|
@@ -75,7 +75,7 @@
|
|
| 75 |
<li class="wide">
|
| 76 |
<label for="billing:vat_id"><?php echo $this->__('VAT Number') ?></label>
|
| 77 |
<div class="input-box">
|
| 78 |
-
<input type="text" id="billing:vat_id" name="billing[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
| 79 |
</div>
|
| 80 |
</li>
|
| 81 |
<?php endif; ?>
|
|
@@ -83,13 +83,13 @@
|
|
| 83 |
<div class="field">
|
| 84 |
<label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 85 |
<div class="input-box">
|
| 86 |
-
<input type="text" title="<?php echo $this->__('City') ?>" name="billing[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="billing:city" />
|
| 87 |
</div>
|
| 88 |
</div>
|
| 89 |
<div class="field">
|
| 90 |
<label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 91 |
<div class="input-box">
|
| 92 |
-
<select id="billing:region_id" name="billing[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
| 93 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 94 |
</select>
|
| 95 |
<script type="text/javascript">
|
|
@@ -97,7 +97,7 @@
|
|
| 97 |
$('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
| 98 |
//]]>
|
| 99 |
</script>
|
| 100 |
-
<input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
| 101 |
</div>
|
| 102 |
</div>
|
| 103 |
</li>
|
|
@@ -105,7 +105,7 @@
|
|
| 105 |
<div class="field">
|
| 106 |
<label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 107 |
<div class="input-box">
|
| 108 |
-
<input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
| 109 |
</div>
|
| 110 |
</div>
|
| 111 |
<div class="field">
|
|
@@ -119,13 +119,13 @@
|
|
| 119 |
<div class="field">
|
| 120 |
<label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 121 |
<div class="input-box">
|
| 122 |
-
<input type="text" name="billing[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="billing:telephone" />
|
| 123 |
</div>
|
| 124 |
</div>
|
| 125 |
<div class="field">
|
| 126 |
<label for="billing:fax"><?php echo $this->__('Fax') ?></label>
|
| 127 |
<div class="input-box">
|
| 128 |
-
<input type="text" name="billing[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="billing:fax" />
|
| 129 |
</div>
|
| 130 |
</div>
|
| 131 |
</li>
|
|
@@ -159,20 +159,20 @@
|
|
| 159 |
<div class="field">
|
| 160 |
<label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
| 161 |
<div class="input-box">
|
| 162 |
-
<input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
|
| 163 |
</div>
|
| 164 |
</div>
|
| 165 |
<div class="field">
|
| 166 |
<label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
| 167 |
<div class="input-box">
|
| 168 |
-
<input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
|
| 169 |
</div>
|
| 170 |
</div>
|
| 171 |
</li>
|
| 172 |
<?php endif; ?>
|
| 173 |
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
| 174 |
<li class="control">
|
| 175 |
-
<input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
|
| 176 |
</li>
|
| 177 |
<?php else:?>
|
| 178 |
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
|
|
@@ -185,9 +185,9 @@
|
|
| 185 |
<?php echo $this->getChildHtml('checkout.onepage.billing.extra')?>
|
| 186 |
<?php if ($this->canShip()): ?>
|
| 187 |
<li class="control">
|
| 188 |
-
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo
|
| 189 |
<li class="control">
|
| 190 |
-
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to different address') ?>" onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
|
| 191 |
</li>
|
| 192 |
<?php endif; ?>
|
| 193 |
</ul>
|
|
@@ -196,9 +196,9 @@
|
|
| 196 |
<?php endif; ?>
|
| 197 |
<div class="buttons-set" id="billing-buttons-container">
|
| 198 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 199 |
-
<button type="button" title="<?php echo $this->__('Continue') ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
| 200 |
<span class="please-wait" id="billing-please-wait" style="display:none;">
|
| 201 |
-
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
| 202 |
</span>
|
| 203 |
</div>
|
| 204 |
</fieldset>
|
| 44 |
<div class="field">
|
| 45 |
<label for="billing:company"><?php echo $this->__('Company') ?></label>
|
| 46 |
<div class="input-box">
|
| 47 |
+
<input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Company')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
| 48 |
</div>
|
| 49 |
</div>
|
| 50 |
<?php if(!$this->isCustomerLoggedIn()): ?>
|
| 51 |
<div class="field">
|
| 52 |
<label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 53 |
<div class="input-box">
|
| 54 |
+
<input type="text" name="billing[email]" id="billing:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Email Address')) ?>" class="input-text validate-email required-entry" />
|
| 55 |
</div>
|
| 56 |
</div>
|
| 57 |
<?php endif; ?>
|
| 60 |
<li class="wide">
|
| 61 |
<label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
| 62 |
<div class="input-box">
|
| 63 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address')) ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 64 |
</div>
|
| 65 |
</li>
|
| 66 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 67 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 68 |
<li class="wide">
|
| 69 |
<div class="input-box">
|
| 70 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i)) ?>" name="billing[street][]" id="billing:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 71 |
</div>
|
| 72 |
</li>
|
| 73 |
<?php endfor; ?>
|
| 75 |
<li class="wide">
|
| 76 |
<label for="billing:vat_id"><?php echo $this->__('VAT Number') ?></label>
|
| 77 |
<div class="input-box">
|
| 78 |
+
<input type="text" id="billing:vat_id" name="billing[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('VAT Number')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
| 79 |
</div>
|
| 80 |
</li>
|
| 81 |
<?php endif; ?>
|
| 83 |
<div class="field">
|
| 84 |
<label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 85 |
<div class="input-box">
|
| 86 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('City')) ?>" name="billing[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="billing:city" />
|
| 87 |
</div>
|
| 88 |
</div>
|
| 89 |
<div class="field">
|
| 90 |
<label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 91 |
<div class="input-box">
|
| 92 |
+
<select id="billing:region_id" name="billing[region_id]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="validate-select" style="display:none;">
|
| 93 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 94 |
</select>
|
| 95 |
<script type="text/javascript">
|
| 97 |
$('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
| 98 |
//]]>
|
| 99 |
</script>
|
| 100 |
+
<input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
| 101 |
</div>
|
| 102 |
</div>
|
| 103 |
</li>
|
| 105 |
<div class="field">
|
| 106 |
<label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 107 |
<div class="input-box">
|
| 108 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Zip/Postal Code')) ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
| 109 |
</div>
|
| 110 |
</div>
|
| 111 |
<div class="field">
|
| 119 |
<div class="field">
|
| 120 |
<label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 121 |
<div class="input-box">
|
| 122 |
+
<input type="text" name="billing[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Telephone')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="billing:telephone" />
|
| 123 |
</div>
|
| 124 |
</div>
|
| 125 |
<div class="field">
|
| 126 |
<label for="billing:fax"><?php echo $this->__('Fax') ?></label>
|
| 127 |
<div class="input-box">
|
| 128 |
+
<input type="text" name="billing[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Fax')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="billing:fax" />
|
| 129 |
</div>
|
| 130 |
</div>
|
| 131 |
</li>
|
| 159 |
<div class="field">
|
| 160 |
<label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
| 161 |
<div class="input-box">
|
| 162 |
+
<input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Password')) ?>" class="input-text required-entry validate-password" />
|
| 163 |
</div>
|
| 164 |
</div>
|
| 165 |
<div class="field">
|
| 166 |
<label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
| 167 |
<div class="input-box">
|
| 168 |
+
<input type="password" name="billing[confirm_password]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Confirm Password')) ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
|
| 169 |
</div>
|
| 170 |
</div>
|
| 171 |
</li>
|
| 172 |
<?php endif; ?>
|
| 173 |
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
| 174 |
<li class="control">
|
| 175 |
+
<input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Save in address book')) ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
|
| 176 |
</li>
|
| 177 |
<?php else:?>
|
| 178 |
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
|
| 185 |
<?php echo $this->getChildHtml('checkout.onepage.billing.extra')?>
|
| 186 |
<?php if ($this->canShip()): ?>
|
| 187 |
<li class="control">
|
| 188 |
+
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo Mage::helper('core')->quoteEscape($this->__('Ship to this address')) ?>" onclick="$('shipping:same_as_billing').checked = true;" class="radio" /><label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label></li>
|
| 189 |
<li class="control">
|
| 190 |
+
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo Mage::helper('core')->quoteEscape($this->__('Ship to different address')) ?>" onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
|
| 191 |
</li>
|
| 192 |
<?php endif; ?>
|
| 193 |
</ul>
|
| 196 |
<?php endif; ?>
|
| 197 |
<div class="buttons-set" id="billing-buttons-container">
|
| 198 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 199 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Continue')) ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
| 200 |
<span class="please-wait" id="billing-please-wait" style="display:none;">
|
| 201 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
| 202 |
</span>
|
| 203 |
</div>
|
| 204 |
</fieldset>
|
app/design/frontend/base/default/template/checkout/onepage/failure.phtml
CHANGED
|
@@ -29,4 +29,4 @@
|
|
| 29 |
</div>
|
| 30 |
<?php if ($this->getRealOrderId()) : ?><p><?php echo $this->__('Order #') . $this->getRealOrderId() ?></p><?php endif ?>
|
| 31 |
<?php if ($error = $this->getErrorMessage()) : ?><p><?php echo $error ?></p><?php endif ?>
|
| 32 |
-
<p><?php echo $this->__('Click <a href="%s">here</a> to continue shopping.', $this->getContinueShoppingUrl()) ?></p>
|
| 29 |
</div>
|
| 30 |
<?php if ($this->getRealOrderId()) : ?><p><?php echo $this->__('Order #') . $this->getRealOrderId() ?></p><?php endif ?>
|
| 31 |
<?php if ($error = $this->getErrorMessage()) : ?><p><?php echo $error ?></p><?php endif ?>
|
| 32 |
+
<p><?php echo $this->__('Click <a href="%s">here</a> to continue shopping.', Mage::helper('core')->quoteEscape($this->getContinueShoppingUrl())) ?></p>
|
app/design/frontend/base/default/template/checkout/onepage/link.phtml
CHANGED
|
@@ -25,5 +25,5 @@
|
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
<?php if ($this->isPossibleOnepageCheckout()):?>
|
| 28 |
-
<button type="button" title="<?php echo $this->__('Proceed to Checkout') ?>" class="button btn-proceed-checkout btn-checkout<?php if ($this->isDisabled()):?> no-checkout<?php endif; ?>"<?php if ($this->isDisabled()):?> disabled="disabled"<?php endif; ?> onclick="window.location='<?php echo $this->getCheckoutUrl() ?>';"><span><span><?php echo $this->__('Proceed to Checkout') ?></span></span></button>
|
| 29 |
<?php endif?>
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
<?php if ($this->isPossibleOnepageCheckout()):?>
|
| 28 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Proceed to Checkout')) ?>" class="button btn-proceed-checkout btn-checkout<?php if ($this->isDisabled()):?> no-checkout<?php endif; ?>"<?php if ($this->isDisabled()):?> disabled="disabled"<?php endif; ?> onclick="window.location='<?php echo $this->getCheckoutUrl() ?>';"><span><span><?php echo $this->__('Proceed to Checkout') ?></span></span></button>
|
| 29 |
<?php endif?>
|
app/design/frontend/base/default/template/checkout/onepage/payment.phtml
CHANGED
|
@@ -38,15 +38,15 @@
|
|
| 38 |
</fieldset>
|
| 39 |
</form>
|
| 40 |
<div class="tool-tip" id="payment-tool-tip" style="display:none;">
|
| 41 |
-
<div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
|
| 42 |
-
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
|
| 43 |
</div>
|
| 44 |
<div class="buttons-set" id="payment-buttons-container">
|
| 45 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 46 |
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 47 |
<button type="button" class="button" onclick="payment.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
| 48 |
<span class="please-wait" id="payment-please-wait" style="display:none;">
|
| 49 |
-
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
| 50 |
</span>
|
| 51 |
</div>
|
| 52 |
<script type="text/javascript">
|
| 38 |
</fieldset>
|
| 39 |
</form>
|
| 40 |
<div class="tool-tip" id="payment-tool-tip" style="display:none;">
|
| 41 |
+
<div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Close')) ?>"><?php echo $this->__('Close') ?></a></div>
|
| 42 |
+
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Card Verification Number Visual Reference')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Card Verification Number Visual Reference')) ?>" /></div>
|
| 43 |
</div>
|
| 44 |
<div class="buttons-set" id="payment-buttons-container">
|
| 45 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 46 |
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 47 |
<button type="button" class="button" onclick="payment.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
| 48 |
<span class="please-wait" id="payment-please-wait" style="display:none;">
|
| 49 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
| 50 |
</span>
|
| 51 |
</div>
|
| 52 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/checkout/onepage/payment/methods.phtml
CHANGED
|
@@ -44,7 +44,7 @@
|
|
| 44 |
foreach ($methods as $_method):
|
| 45 |
$_code = $_method->getCode();
|
| 46 |
?>
|
| 47 |
-
<dt>
|
| 48 |
<?php if(!$oneMethod): ?>
|
| 49 |
<input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->escapeHtml($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
|
| 50 |
<?php else: ?>
|
|
@@ -54,7 +54,7 @@
|
|
| 54 |
<label for="p_method_<?php echo $_code ?>"><?php echo $this->escapeHtml($this->getMethodTitle($_method)) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
|
| 55 |
</dt>
|
| 56 |
<?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
|
| 57 |
-
<dd>
|
| 58 |
<?php echo $html; ?>
|
| 59 |
</dd>
|
| 60 |
<?php endif; ?>
|
| 44 |
foreach ($methods as $_method):
|
| 45 |
$_code = $_method->getCode();
|
| 46 |
?>
|
| 47 |
+
<dt id="dt_method_<?php echo $_code ?>">
|
| 48 |
<?php if(!$oneMethod): ?>
|
| 49 |
<input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->escapeHtml($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
|
| 50 |
<?php else: ?>
|
| 54 |
<label for="p_method_<?php echo $_code ?>"><?php echo $this->escapeHtml($this->getMethodTitle($_method)) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
|
| 55 |
</dt>
|
| 56 |
<?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
|
| 57 |
+
<dd id="dd_method_<?php echo $_code ?>">
|
| 58 |
<?php echo $html; ?>
|
| 59 |
</dd>
|
| 60 |
<?php endif; ?>
|
app/design/frontend/base/default/template/checkout/onepage/review/button.phtml
CHANGED
|
@@ -24,4 +24,4 @@
|
|
| 24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
-
<button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" onclick="review.save();"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
| 24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Place Order')) ?>" class="button btn-checkout" onclick="review.save();"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
app/design/frontend/base/default/template/checkout/onepage/review/info.phtml
CHANGED
|
@@ -73,7 +73,7 @@
|
|
| 73 |
<p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Your Cart') ?></a></p>
|
| 74 |
<?php echo $this->getChildHtml('button') ?>
|
| 75 |
<span class="please-wait" id="review-please-wait" style="display:none;">
|
| 76 |
-
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
| 77 |
</span>
|
| 78 |
</div>
|
| 79 |
<script type="text/javascript">
|
| 73 |
<p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Your Cart') ?></a></p>
|
| 74 |
<?php echo $this->getChildHtml('button') ?>
|
| 75 |
<span class="please-wait" id="review-please-wait" style="display:none;">
|
| 76 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Submitting order information...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Submitting order information...')) ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
| 77 |
</span>
|
| 78 |
</div>
|
| 79 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/checkout/onepage/shipping.phtml
CHANGED
|
@@ -43,7 +43,7 @@
|
|
| 43 |
<div class="fields">
|
| 44 |
<label for="shipping:company"><?php echo $this->__('Company') ?></label>
|
| 45 |
<div class="input-box">
|
| 46 |
-
<input type="text" id="shipping:company" name="shipping[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" onchange="shipping.setSameAsBilling(false);" />
|
| 47 |
</div>
|
| 48 |
</div>
|
| 49 |
</li>
|
|
@@ -51,14 +51,14 @@
|
|
| 51 |
<li class="wide">
|
| 52 |
<label for="shipping:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
| 53 |
<div class="input-box">
|
| 54 |
-
<input type="text" title="<?php echo $this->__('Street Address') ?>" name="shipping[street][]" id="shipping:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
|
| 55 |
</div>
|
| 56 |
</li>
|
| 57 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 58 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 59 |
<li class="wide">
|
| 60 |
<div class="input-box">
|
| 61 |
-
<input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="shipping[street][]" id="shipping:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
|
| 62 |
</div>
|
| 63 |
</li>
|
| 64 |
<?php endfor; ?>
|
|
@@ -66,7 +66,7 @@
|
|
| 66 |
<li class="wide">
|
| 67 |
<label for="billing:vat_id"><?php echo $this->__('VAT Number'); ?></label>
|
| 68 |
<div class="input-box">
|
| 69 |
-
<input type="text" id="shipping:vat_id" name="shipping[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()); ?>" title="<?php echo $this->__('VAT Number'); ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
| 70 |
</div>
|
| 71 |
</li>
|
| 72 |
<?php endif; ?>
|
|
@@ -74,13 +74,13 @@
|
|
| 74 |
<div class="field">
|
| 75 |
<label for="shipping:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 76 |
<div class="input-box">
|
| 77 |
-
<input type="text" title="<?php echo $this->__('City') ?>" name="shipping[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="shipping:city" onchange="shipping.setSameAsBilling(false);" />
|
| 78 |
</div>
|
| 79 |
</div>
|
| 80 |
<div class="field">
|
| 81 |
<label for="shipping:region" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 82 |
<div class="input-box">
|
| 83 |
-
<select id="shipping:region_id" name="shipping[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
| 84 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 85 |
</select>
|
| 86 |
<script type="text/javascript">
|
|
@@ -88,7 +88,7 @@
|
|
| 88 |
$('shipping:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
| 89 |
//]]>
|
| 90 |
</script>
|
| 91 |
-
<input type="text" id="shipping:region" name="shipping[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
| 92 |
</div>
|
| 93 |
</div>
|
| 94 |
</li>
|
|
@@ -96,7 +96,7 @@
|
|
| 96 |
<div class="field">
|
| 97 |
<label for="shipping:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 98 |
<div class="input-box">
|
| 99 |
-
<input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="shipping[postcode]" id="shipping:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" onchange="shipping.setSameAsBilling(false);" />
|
| 100 |
</div>
|
| 101 |
</div>
|
| 102 |
<div class="field">
|
|
@@ -110,19 +110,19 @@
|
|
| 110 |
<div class="field">
|
| 111 |
<label for="shipping:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 112 |
<div class="input-box">
|
| 113 |
-
<input type="text" name="shipping[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="shipping:telephone" onchange="shipping.setSameAsBilling(false);" />
|
| 114 |
</div>
|
| 115 |
</div>
|
| 116 |
<div class="field">
|
| 117 |
<label for="shipping:fax"><?php echo $this->__('Fax') ?></label>
|
| 118 |
<div class="input-box">
|
| 119 |
-
<input type="text" name="shipping[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="shipping:fax" onchange="shipping.setSameAsBilling(false);" />
|
| 120 |
</div>
|
| 121 |
</div>
|
| 122 |
</li>
|
| 123 |
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
| 124 |
<li class="control">
|
| 125 |
-
<input type="checkbox" name="shipping[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="shipping:save_in_address_book" onchange="shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="shipping:save_in_address_book"><?php echo $this->__('Save in address book') ?></label></li>
|
| 126 |
<?php else:?>
|
| 127 |
<li class="no-display"><input type="hidden" name="shipping[save_in_address_book]" value="1" /></li>
|
| 128 |
<?php endif;?>
|
|
@@ -136,9 +136,9 @@
|
|
| 136 |
<div class="buttons-set" id="shipping-buttons-container">
|
| 137 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 138 |
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 139 |
-
<button type="button" class="button" title="<?php echo $this->__('Continue') ?>" onclick="shipping.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
| 140 |
<span id="shipping-please-wait" class="please-wait" style="display:none;">
|
| 141 |
-
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
| 142 |
</span>
|
| 143 |
</div>
|
| 144 |
</form>
|
|
@@ -148,7 +148,7 @@
|
|
| 148 |
'<?php echo $this->getUrl('checkout/onepage/shippingMethod') ?>');
|
| 149 |
var shippingForm = new VarienForm('co-shipping-form');
|
| 150 |
shippingForm.extraChildParams = ' onchange="shipping.setSameAsBilling(false);"';
|
| 151 |
-
//shippingForm.setElementsRelation('shipping:country_id', 'shipping:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
|
| 152 |
$('shipping-address-select') && shipping.newAddress(!$('shipping-address-select').value);
|
| 153 |
|
| 154 |
var shippingRegionUpdater = new RegionUpdater('shipping:country_id', 'shipping:region', 'shipping:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'shipping:postcode');
|
| 43 |
<div class="fields">
|
| 44 |
<label for="shipping:company"><?php echo $this->__('Company') ?></label>
|
| 45 |
<div class="input-box">
|
| 46 |
+
<input type="text" id="shipping:company" name="shipping[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Company')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" onchange="shipping.setSameAsBilling(false);" />
|
| 47 |
</div>
|
| 48 |
</div>
|
| 49 |
</li>
|
| 51 |
<li class="wide">
|
| 52 |
<label for="shipping:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
| 53 |
<div class="input-box">
|
| 54 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address')) ?>" name="shipping[street][]" id="shipping:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
|
| 55 |
</div>
|
| 56 |
</li>
|
| 57 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 58 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 59 |
<li class="wide">
|
| 60 |
<div class="input-box">
|
| 61 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i)) ?>" name="shipping[street][]" id="shipping:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
|
| 62 |
</div>
|
| 63 |
</li>
|
| 64 |
<?php endfor; ?>
|
| 66 |
<li class="wide">
|
| 67 |
<label for="billing:vat_id"><?php echo $this->__('VAT Number'); ?></label>
|
| 68 |
<div class="input-box">
|
| 69 |
+
<input type="text" id="shipping:vat_id" name="shipping[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()); ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('VAT Number')); ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
| 70 |
</div>
|
| 71 |
</li>
|
| 72 |
<?php endif; ?>
|
| 74 |
<div class="field">
|
| 75 |
<label for="shipping:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 76 |
<div class="input-box">
|
| 77 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('City')) ?>" name="shipping[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="shipping:city" onchange="shipping.setSameAsBilling(false);" />
|
| 78 |
</div>
|
| 79 |
</div>
|
| 80 |
<div class="field">
|
| 81 |
<label for="shipping:region" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 82 |
<div class="input-box">
|
| 83 |
+
<select id="shipping:region_id" name="shipping[region_id]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="validate-select" style="display:none;">
|
| 84 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 85 |
</select>
|
| 86 |
<script type="text/javascript">
|
| 88 |
$('shipping:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
| 89 |
//]]>
|
| 90 |
</script>
|
| 91 |
+
<input type="text" id="shipping:region" name="shipping[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
| 92 |
</div>
|
| 93 |
</div>
|
| 94 |
</li>
|
| 96 |
<div class="field">
|
| 97 |
<label for="shipping:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 98 |
<div class="input-box">
|
| 99 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Zip/Postal Code')) ?>" name="shipping[postcode]" id="shipping:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" onchange="shipping.setSameAsBilling(false);" />
|
| 100 |
</div>
|
| 101 |
</div>
|
| 102 |
<div class="field">
|
| 110 |
<div class="field">
|
| 111 |
<label for="shipping:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 112 |
<div class="input-box">
|
| 113 |
+
<input type="text" name="shipping[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Telephone')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="shipping:telephone" onchange="shipping.setSameAsBilling(false);" />
|
| 114 |
</div>
|
| 115 |
</div>
|
| 116 |
<div class="field">
|
| 117 |
<label for="shipping:fax"><?php echo $this->__('Fax') ?></label>
|
| 118 |
<div class="input-box">
|
| 119 |
+
<input type="text" name="shipping[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Fax')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="shipping:fax" onchange="shipping.setSameAsBilling(false);" />
|
| 120 |
</div>
|
| 121 |
</div>
|
| 122 |
</li>
|
| 123 |
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
| 124 |
<li class="control">
|
| 125 |
+
<input type="checkbox" name="shipping[save_in_address_book]" value="1" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Save in address book')) ?>" id="shipping:save_in_address_book" onchange="shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="shipping:save_in_address_book"><?php echo $this->__('Save in address book') ?></label></li>
|
| 126 |
<?php else:?>
|
| 127 |
<li class="no-display"><input type="hidden" name="shipping[save_in_address_book]" value="1" /></li>
|
| 128 |
<?php endif;?>
|
| 136 |
<div class="buttons-set" id="shipping-buttons-container">
|
| 137 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 138 |
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 139 |
+
<button type="button" class="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Continue')) ?>" onclick="shipping.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
| 140 |
<span id="shipping-please-wait" class="please-wait" style="display:none;">
|
| 141 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
| 142 |
</span>
|
| 143 |
</div>
|
| 144 |
</form>
|
| 148 |
'<?php echo $this->getUrl('checkout/onepage/shippingMethod') ?>');
|
| 149 |
var shippingForm = new VarienForm('co-shipping-form');
|
| 150 |
shippingForm.extraChildParams = ' onchange="shipping.setSameAsBilling(false);"';
|
| 151 |
+
//shippingForm.setElementsRelation('shipping:country_id', 'shipping:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo Mage::helper('core')->jsQuoteEscape($this->__('Select State/Province...')) ?>');
|
| 152 |
$('shipping-address-select') && shipping.newAddress(!$('shipping-address-select').value);
|
| 153 |
|
| 154 |
var shippingRegionUpdater = new RegionUpdater('shipping:country_id', 'shipping:region', 'shipping:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'shipping:postcode');
|
app/design/frontend/base/default/template/checkout/onepage/shipping_method.phtml
CHANGED
|
@@ -40,7 +40,7 @@
|
|
| 40 |
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 41 |
<button type="button" class="button" onclick="shippingMethod.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
| 42 |
<span id="shipping-method-please-wait" class="please-wait" style="display:none;">
|
| 43 |
-
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
| 44 |
</span>
|
| 45 |
</div>
|
| 46 |
</form>
|
| 40 |
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 41 |
<button type="button" class="button" onclick="shippingMethod.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
| 42 |
<span id="shipping-method-please-wait" class="please-wait" style="display:none;">
|
| 43 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
| 44 |
</span>
|
| 45 |
</div>
|
| 46 |
</form>
|
app/design/frontend/base/default/template/checkout/success.phtml
CHANGED
|
@@ -60,5 +60,5 @@
|
|
| 60 |
<?php endif;?>
|
| 61 |
|
| 62 |
<div class="buttons-set">
|
| 63 |
-
<button type="button" class="button" title="<?php echo $this->__('Continue Shopping') ?>" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
| 64 |
</div>
|
| 60 |
<?php endif;?>
|
| 61 |
|
| 62 |
<div class="buttons-set">
|
| 63 |
+
<button type="button" class="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Continue Shopping')) ?>" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
| 64 |
</div>
|
app/design/frontend/base/default/template/contacts/form.phtml
CHANGED
|
@@ -36,26 +36,26 @@
|
|
| 36 |
<div class="field">
|
| 37 |
<label for="name" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Name') ?></label>
|
| 38 |
<div class="input-box">
|
| 39 |
-
<input name="name" id="name" title="<?php echo Mage::helper('contacts')->__('Name') ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserName()) ?>" class="input-text required-entry" type="text" />
|
| 40 |
</div>
|
| 41 |
</div>
|
| 42 |
<div class="field">
|
| 43 |
<label for="email" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Email') ?></label>
|
| 44 |
<div class="input-box">
|
| 45 |
-
<input name="email" id="email" title="<?php echo Mage::helper('contacts')->__('Email') ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserEmail()) ?>" class="input-text required-entry validate-email" type="text" />
|
| 46 |
</div>
|
| 47 |
</div>
|
| 48 |
</li>
|
| 49 |
<li>
|
| 50 |
<label for="telephone"><?php echo Mage::helper('contacts')->__('Telephone') ?></label>
|
| 51 |
<div class="input-box">
|
| 52 |
-
<input name="telephone" id="telephone" title="<?php echo Mage::helper('contacts')->__('Telephone') ?>" value="" class="input-text" type="text" />
|
| 53 |
</div>
|
| 54 |
</li>
|
| 55 |
<li class="wide">
|
| 56 |
<label for="comment" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Comment') ?></label>
|
| 57 |
<div class="input-box">
|
| 58 |
-
<textarea name="comment" id="comment" title="<?php echo Mage::helper('contacts')->__('Comment') ?>" class="required-entry input-text" cols="5" rows="3"></textarea>
|
| 59 |
</div>
|
| 60 |
</li>
|
| 61 |
</ul>
|
|
@@ -63,7 +63,7 @@
|
|
| 63 |
<div class="buttons-set">
|
| 64 |
<p class="required"><?php echo Mage::helper('contacts')->__('* Required Fields') ?></p>
|
| 65 |
<input type="text" name="hideit" id="hideit" value="" style="display:none !important;" />
|
| 66 |
-
<button type="submit" title="<?php echo Mage::helper('contacts')->__('Submit') ?>" class="button"><span><span><?php echo Mage::helper('contacts')->__('Submit') ?></span></span></button>
|
| 67 |
</div>
|
| 68 |
</form>
|
| 69 |
<script type="text/javascript">
|
| 36 |
<div class="field">
|
| 37 |
<label for="name" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Name') ?></label>
|
| 38 |
<div class="input-box">
|
| 39 |
+
<input name="name" id="name" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Name')) ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserName()) ?>" class="input-text required-entry" type="text" />
|
| 40 |
</div>
|
| 41 |
</div>
|
| 42 |
<div class="field">
|
| 43 |
<label for="email" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Email') ?></label>
|
| 44 |
<div class="input-box">
|
| 45 |
+
<input name="email" id="email" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Email')) ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserEmail()) ?>" class="input-text required-entry validate-email" type="text" />
|
| 46 |
</div>
|
| 47 |
</div>
|
| 48 |
</li>
|
| 49 |
<li>
|
| 50 |
<label for="telephone"><?php echo Mage::helper('contacts')->__('Telephone') ?></label>
|
| 51 |
<div class="input-box">
|
| 52 |
+
<input name="telephone" id="telephone" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Telephone')) ?>" value="" class="input-text" type="text" />
|
| 53 |
</div>
|
| 54 |
</li>
|
| 55 |
<li class="wide">
|
| 56 |
<label for="comment" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Comment') ?></label>
|
| 57 |
<div class="input-box">
|
| 58 |
+
<textarea name="comment" id="comment" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Comment')) ?>" class="required-entry input-text" cols="5" rows="3"></textarea>
|
| 59 |
</div>
|
| 60 |
</li>
|
| 61 |
</ul>
|
| 63 |
<div class="buttons-set">
|
| 64 |
<p class="required"><?php echo Mage::helper('contacts')->__('* Required Fields') ?></p>
|
| 65 |
<input type="text" name="hideit" id="hideit" value="" style="display:none !important;" />
|
| 66 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('contacts')->__('Submit')) ?>" class="button"><span><span><?php echo Mage::helper('contacts')->__('Submit') ?></span></span></button>
|
| 67 |
</div>
|
| 68 |
</form>
|
| 69 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/customer/address.phtml
CHANGED
|
@@ -86,7 +86,7 @@
|
|
| 86 |
</div>
|
| 87 |
<script type="text/javascript">
|
| 88 |
function deleteAddress(addressId) {
|
| 89 |
-
if(confirm('<?php echo $this->__('Are you sure you want to delete this address?') ?>')) {
|
| 90 |
window.location='<?php echo $this->getUrl("customer/address/delete") ?>address/'+addressId;
|
| 91 |
}
|
| 92 |
return false;
|
| 86 |
</div>
|
| 87 |
<script type="text/javascript">
|
| 88 |
function deleteAddress(addressId) {
|
| 89 |
+
if(confirm('<?php echo Mage::helper('core')->jsQuoteEscape($this->__('Are you sure you want to delete this address?')) ?>')) {
|
| 90 |
window.location='<?php echo $this->getUrl("customer/address/delete") ?>address/'+addressId;
|
| 91 |
}
|
| 92 |
return false;
|
app/design/frontend/base/default/template/customer/address/book.phtml
CHANGED
|
@@ -32,7 +32,7 @@
|
|
| 32 |
?>
|
| 33 |
<div class="page-title title-buttons">
|
| 34 |
<h1><?php echo $this->__('Address Book') ?></h1>
|
| 35 |
-
<button type="button" title="<?php echo $this->__('Add New Address') ?>" class="button" onclick="window.location='<?php echo $this->getAddAddressUrl() ?>';"><span><span><?php echo $this->__('Add New Address') ?></span></span></button>
|
| 36 |
</div>
|
| 37 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 38 |
<div class="col2-set addresses-list">
|
|
@@ -96,7 +96,7 @@
|
|
| 96 |
<script type="text/javascript">
|
| 97 |
//<![CDATA[
|
| 98 |
function deleteAddress(addressId) {
|
| 99 |
-
if(confirm('<?php echo $this->__('Are you sure you want to delete this address?') ?>')) {
|
| 100 |
window.location='<?php echo $this->getDeleteUrl() ?>id/'+addressId;
|
| 101 |
}
|
| 102 |
return false;
|
| 32 |
?>
|
| 33 |
<div class="page-title title-buttons">
|
| 34 |
<h1><?php echo $this->__('Address Book') ?></h1>
|
| 35 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add New Address')) ?>" class="button" onclick="window.location='<?php echo $this->getAddAddressUrl() ?>';"><span><span><?php echo $this->__('Add New Address') ?></span></span></button>
|
| 36 |
</div>
|
| 37 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 38 |
<div class="col2-set addresses-list">
|
| 96 |
<script type="text/javascript">
|
| 97 |
//<![CDATA[
|
| 98 |
function deleteAddress(addressId) {
|
| 99 |
+
if(confirm('<?php echo Mage::helper('core')->jsQuoteEscape($this->__('Are you sure you want to delete this address?')) ?>')) {
|
| 100 |
window.location='<?php echo $this->getDeleteUrl() ?>id/'+addressId;
|
| 101 |
}
|
| 102 |
return false;
|
app/design/frontend/base/default/template/customer/address/edit.phtml
CHANGED
|
@@ -50,20 +50,20 @@
|
|
| 50 |
<li class="wide">
|
| 51 |
<label for="company"><?php echo $this->__('Company') ?></label>
|
| 52 |
<div class="input-box">
|
| 53 |
-
<input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
| 54 |
</div>
|
| 55 |
</li>
|
| 56 |
<li class="fields">
|
| 57 |
<div class="field">
|
| 58 |
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 59 |
<div class="input-box">
|
| 60 |
-
<input type="text" name="telephone" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="telephone" />
|
| 61 |
</div>
|
| 62 |
</div>
|
| 63 |
<div class="field">
|
| 64 |
<label for="fax"><?php echo $this->__('Fax') ?></label>
|
| 65 |
<div class="input-box">
|
| 66 |
-
<input type="text" name="fax" id="fax" title="<?php echo $this->__('Fax') ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" />
|
| 67 |
</div>
|
| 68 |
</div>
|
| 69 |
</li>
|
|
@@ -76,14 +76,14 @@
|
|
| 76 |
<li class="wide">
|
| 77 |
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
| 78 |
<div class="input-box">
|
| 79 |
-
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 80 |
</div>
|
| 81 |
</li>
|
| 82 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 83 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 84 |
<li class="wide">
|
| 85 |
<div class="input-box">
|
| 86 |
-
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 87 |
</div>
|
| 88 |
</li>
|
| 89 |
<?php endfor; ?>
|
|
@@ -91,7 +91,7 @@
|
|
| 91 |
<li class="wide">
|
| 92 |
<label for="vat_id"><?php echo $this->__('VAT Number') ?></label>
|
| 93 |
<div class="input-box">
|
| 94 |
-
<input type="text" name="vat_id" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" id="vat_id" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
| 95 |
</div>
|
| 96 |
</li>
|
| 97 |
<?php endif; ?>
|
|
@@ -99,13 +99,13 @@
|
|
| 99 |
<div class="field">
|
| 100 |
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 101 |
<div class="input-box">
|
| 102 |
-
<input type="text" name="city" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
|
| 103 |
</div>
|
| 104 |
</div>
|
| 105 |
<div class="field">
|
| 106 |
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 107 |
<div class="input-box">
|
| 108 |
-
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
| 109 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 110 |
</select>
|
| 111 |
<script type="text/javascript">
|
|
@@ -113,7 +113,7 @@
|
|
| 113 |
$('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
| 114 |
//]]>
|
| 115 |
</script>
|
| 116 |
-
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" />
|
| 117 |
</div>
|
| 118 |
</div>
|
| 119 |
</li>
|
|
@@ -121,7 +121,7 @@
|
|
| 121 |
<div class="field">
|
| 122 |
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 123 |
<div class="input-box">
|
| 124 |
-
<input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
| 125 |
</div>
|
| 126 |
</div>
|
| 127 |
<div class="field">
|
|
@@ -135,7 +135,7 @@
|
|
| 135 |
<?php if($this->isDefaultBilling()): ?>
|
| 136 |
<strong><?php echo $this->__('Default Billing Address') ?></strong>
|
| 137 |
<?php elseif($this->canSetAsDefaultBilling()): ?>
|
| 138 |
-
<input type="checkbox" id="primary_billing" name="default_billing" value="1" title="<?php echo $this->__('Use as My Default Billing Address') ?>" class="checkbox" /><label for="primary_billing"><?php echo $this->__('Use as my default billing address') ?></label>
|
| 139 |
<?php else: ?>
|
| 140 |
<input type="hidden" name="default_billing" value="1" />
|
| 141 |
<?php endif; ?>
|
|
@@ -144,7 +144,7 @@
|
|
| 144 |
<?php if($this->isDefaultShipping()): ?>
|
| 145 |
<strong><?php echo $this->__('Default Shipping Address') ?></strong>
|
| 146 |
<?php elseif($this->canSetAsDefaultShipping()): ?>
|
| 147 |
-
<input type="checkbox" id="primary_shipping" name="default_shipping" value="1" title="<?php echo $this->__('Use as My Default Shipping Address') ?>" class="checkbox" /><label for="primary_shipping"><?php echo $this->__('Use as my default shipping address') ?></label>
|
| 148 |
<?php else: ?>
|
| 149 |
<input type="hidden" name="default_shipping" value="1" />
|
| 150 |
<?php endif; ?>
|
|
@@ -154,7 +154,7 @@
|
|
| 154 |
<div class="buttons-set">
|
| 155 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 156 |
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 157 |
-
<button data-action="save-customer-address" type="submit" title="<?php echo $this->__('Save Address') ?>" class="button"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
|
| 158 |
</div>
|
| 159 |
</form>
|
| 160 |
<script type="text/javascript">
|
| 50 |
<li class="wide">
|
| 51 |
<label for="company"><?php echo $this->__('Company') ?></label>
|
| 52 |
<div class="input-box">
|
| 53 |
+
<input type="text" name="company" id="company" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Company')) ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
| 54 |
</div>
|
| 55 |
</li>
|
| 56 |
<li class="fields">
|
| 57 |
<div class="field">
|
| 58 |
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 59 |
<div class="input-box">
|
| 60 |
+
<input type="text" name="telephone" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Telephone')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="telephone" />
|
| 61 |
</div>
|
| 62 |
</div>
|
| 63 |
<div class="field">
|
| 64 |
<label for="fax"><?php echo $this->__('Fax') ?></label>
|
| 65 |
<div class="input-box">
|
| 66 |
+
<input type="text" name="fax" id="fax" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Fax')) ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" />
|
| 67 |
</div>
|
| 68 |
</div>
|
| 69 |
</li>
|
| 76 |
<li class="wide">
|
| 77 |
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
| 78 |
<div class="input-box">
|
| 79 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address')) ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 80 |
</div>
|
| 81 |
</li>
|
| 82 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 83 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 84 |
<li class="wide">
|
| 85 |
<div class="input-box">
|
| 86 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i)) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 87 |
</div>
|
| 88 |
</li>
|
| 89 |
<?php endfor; ?>
|
| 91 |
<li class="wide">
|
| 92 |
<label for="vat_id"><?php echo $this->__('VAT Number') ?></label>
|
| 93 |
<div class="input-box">
|
| 94 |
+
<input type="text" name="vat_id" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('VAT Number')) ?>" id="vat_id" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
| 95 |
</div>
|
| 96 |
</li>
|
| 97 |
<?php endif; ?>
|
| 99 |
<div class="field">
|
| 100 |
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 101 |
<div class="input-box">
|
| 102 |
+
<input type="text" name="city" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('City')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
|
| 103 |
</div>
|
| 104 |
</div>
|
| 105 |
<div class="field">
|
| 106 |
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 107 |
<div class="input-box">
|
| 108 |
+
<select id="region_id" name="region_id" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="validate-select" style="display:none;">
|
| 109 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 110 |
</select>
|
| 111 |
<script type="text/javascript">
|
| 113 |
$('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
| 114 |
//]]>
|
| 115 |
</script>
|
| 116 |
+
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" />
|
| 117 |
</div>
|
| 118 |
</div>
|
| 119 |
</li>
|
| 121 |
<div class="field">
|
| 122 |
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 123 |
<div class="input-box">
|
| 124 |
+
<input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Zip/Postal Code')) ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
| 125 |
</div>
|
| 126 |
</div>
|
| 127 |
<div class="field">
|
| 135 |
<?php if($this->isDefaultBilling()): ?>
|
| 136 |
<strong><?php echo $this->__('Default Billing Address') ?></strong>
|
| 137 |
<?php elseif($this->canSetAsDefaultBilling()): ?>
|
| 138 |
+
<input type="checkbox" id="primary_billing" name="default_billing" value="1" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Use as My Default Billing Address')) ?>" class="checkbox" /><label for="primary_billing"><?php echo $this->__('Use as my default billing address') ?></label>
|
| 139 |
<?php else: ?>
|
| 140 |
<input type="hidden" name="default_billing" value="1" />
|
| 141 |
<?php endif; ?>
|
| 144 |
<?php if($this->isDefaultShipping()): ?>
|
| 145 |
<strong><?php echo $this->__('Default Shipping Address') ?></strong>
|
| 146 |
<?php elseif($this->canSetAsDefaultShipping()): ?>
|
| 147 |
+
<input type="checkbox" id="primary_shipping" name="default_shipping" value="1" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Use as My Default Shipping Address')) ?>" class="checkbox" /><label for="primary_shipping"><?php echo $this->__('Use as my default shipping address') ?></label>
|
| 148 |
<?php else: ?>
|
| 149 |
<input type="hidden" name="default_shipping" value="1" />
|
| 150 |
<?php endif; ?>
|
| 154 |
<div class="buttons-set">
|
| 155 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 156 |
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 157 |
+
<button data-action="save-customer-address" type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Save Address')) ?>" class="button"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
|
| 158 |
</div>
|
| 159 |
</form>
|
| 160 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/customer/form/address.phtml
CHANGED
|
@@ -42,7 +42,7 @@
|
|
| 42 |
<li>
|
| 43 |
<label for="company"><?php echo $this->__('Company') ?></label>
|
| 44 |
<div class="input-box">
|
| 45 |
-
<input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->escapeHtml($data->getCompany()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
| 46 |
</div>
|
| 47 |
</li>
|
| 48 |
</ul>
|
|
@@ -54,14 +54,14 @@
|
|
| 54 |
<li class="wide">
|
| 55 |
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
| 56 |
<div class="input-box">
|
| 57 |
-
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($data->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 58 |
</div>
|
| 59 |
</li>
|
| 60 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 61 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 62 |
<li class="wide">
|
| 63 |
<div class="input-box">
|
| 64 |
-
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($data->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 65 |
</div>
|
| 66 |
</li>
|
| 67 |
<?php endfor; ?>
|
|
@@ -69,13 +69,13 @@
|
|
| 69 |
<div class="field">
|
| 70 |
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 71 |
<div class="input-box">
|
| 72 |
-
<input type="text" name="city" value="<?php echo $this->escapeHtml($data->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
|
| 73 |
</div>
|
| 74 |
</div>
|
| 75 |
<div class="field">
|
| 76 |
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 77 |
<div class="input-box">
|
| 78 |
-
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
| 79 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 80 |
</select>
|
| 81 |
<script type="text/javascript">
|
|
@@ -83,7 +83,7 @@
|
|
| 83 |
$('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
| 84 |
//]]>
|
| 85 |
</script>
|
| 86 |
-
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
| 87 |
</div>
|
| 88 |
</div>
|
| 89 |
</li>
|
|
@@ -91,13 +91,13 @@
|
|
| 91 |
<div class="field">
|
| 92 |
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 93 |
<div class="input-box">
|
| 94 |
-
<input type="text" name="postcode" value="<?php echo $this->escapeHtml($data->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
| 95 |
</div>
|
| 96 |
</div>
|
| 97 |
<div class="field">
|
| 98 |
<label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
| 99 |
<div class="input-box">
|
| 100 |
-
<select name="country_id" id="country" title="<?php echo $this->__('Country') ?>" class="validate-select">
|
| 101 |
<?php echo $countries->toHtmlOptions($data->getCountryId()) ?>
|
| 102 |
</select>
|
| 103 |
</div>
|
|
@@ -107,13 +107,13 @@
|
|
| 107 |
<div class="field">
|
| 108 |
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 109 |
<div class="input-box">
|
| 110 |
-
<input type="text" name="telephone" value="<?php echo $this->escapeHtml($data->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="telephone" />
|
| 111 |
</div>
|
| 112 |
</div>
|
| 113 |
<div class="field">
|
| 114 |
<label for="fax"><?php echo $this->__('Fax') ?></label>
|
| 115 |
<div class="input-box">
|
| 116 |
-
<input type="text" name="fax" value="<?php echo $this->escapeHtml($data->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="fax" />
|
| 117 |
</div>
|
| 118 |
</div>
|
| 119 |
</li>
|
|
@@ -131,7 +131,7 @@
|
|
| 131 |
<div class="buttons-set">
|
| 132 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 133 |
<p class="back-link"><a href="<?php echo $this->getUrl('customer/address/') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 134 |
-
<button data-action="save-customer-address" type="submit" class="button" title="<?php echo $this->__('Save Address') ?>"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
|
| 135 |
</div>
|
| 136 |
</form>
|
| 137 |
<script type="text/javascript">
|
| 42 |
<li>
|
| 43 |
<label for="company"><?php echo $this->__('Company') ?></label>
|
| 44 |
<div class="input-box">
|
| 45 |
+
<input type="text" name="company" id="company" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Company')) ?>" value="<?php echo $this->escapeHtml($data->getCompany()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
| 46 |
</div>
|
| 47 |
</li>
|
| 48 |
</ul>
|
| 54 |
<li class="wide">
|
| 55 |
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
| 56 |
<div class="input-box">
|
| 57 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($data->getStreet(1)) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address')) ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 58 |
</div>
|
| 59 |
</li>
|
| 60 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 61 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 62 |
<li class="wide">
|
| 63 |
<div class="input-box">
|
| 64 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($data->getStreet($_i)) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i)) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 65 |
</div>
|
| 66 |
</li>
|
| 67 |
<?php endfor; ?>
|
| 69 |
<div class="field">
|
| 70 |
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 71 |
<div class="input-box">
|
| 72 |
+
<input type="text" name="city" value="<?php echo $this->escapeHtml($data->getCity()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('City')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
|
| 73 |
</div>
|
| 74 |
</div>
|
| 75 |
<div class="field">
|
| 76 |
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 77 |
<div class="input-box">
|
| 78 |
+
<select id="region_id" name="region_id" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="validate-select" style="display:none;">
|
| 79 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 80 |
</select>
|
| 81 |
<script type="text/javascript">
|
| 83 |
$('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
| 84 |
//]]>
|
| 85 |
</script>
|
| 86 |
+
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
| 87 |
</div>
|
| 88 |
</div>
|
| 89 |
</li>
|
| 91 |
<div class="field">
|
| 92 |
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 93 |
<div class="input-box">
|
| 94 |
+
<input type="text" name="postcode" value="<?php echo $this->escapeHtml($data->getPostcode()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Zip/Postal Code')) ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
| 95 |
</div>
|
| 96 |
</div>
|
| 97 |
<div class="field">
|
| 98 |
<label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
| 99 |
<div class="input-box">
|
| 100 |
+
<select name="country_id" id="country" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Country')) ?>" class="validate-select">
|
| 101 |
<?php echo $countries->toHtmlOptions($data->getCountryId()) ?>
|
| 102 |
</select>
|
| 103 |
</div>
|
| 107 |
<div class="field">
|
| 108 |
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 109 |
<div class="input-box">
|
| 110 |
+
<input type="text" name="telephone" value="<?php echo $this->escapeHtml($data->getTelephone()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Telephone')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="telephone" />
|
| 111 |
</div>
|
| 112 |
</div>
|
| 113 |
<div class="field">
|
| 114 |
<label for="fax"><?php echo $this->__('Fax') ?></label>
|
| 115 |
<div class="input-box">
|
| 116 |
+
<input type="text" name="fax" value="<?php echo $this->escapeHtml($data->getFax()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Fax')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="fax" />
|
| 117 |
</div>
|
| 118 |
</div>
|
| 119 |
</li>
|
| 131 |
<div class="buttons-set">
|
| 132 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 133 |
<p class="back-link"><a href="<?php echo $this->getUrl('customer/address/') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 134 |
+
<button data-action="save-customer-address" type="submit" class="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Save Address')) ?>"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
|
| 135 |
</div>
|
| 136 |
</form>
|
| 137 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/customer/form/changepassword.phtml
CHANGED
|
@@ -35,20 +35,20 @@
|
|
| 35 |
<li>
|
| 36 |
<label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
|
| 37 |
<div class="input-box">
|
| 38 |
-
<input type="password" title="<?php echo $this->__('Current Password') ?>" class="input-text required-entry" name="current_password" id="current_password" />
|
| 39 |
</div>
|
| 40 |
</li>
|
| 41 |
<li class="fields">
|
| 42 |
<div class="field">
|
| 43 |
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
|
| 44 |
<div class="input-box">
|
| 45 |
-
<input type="password" title="<?php echo $this->__('New Password') ?>" class="input-text required-entry validate-password" name="password" id="password" />
|
| 46 |
</div>
|
| 47 |
</div>
|
| 48 |
<div class="field">
|
| 49 |
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
|
| 50 |
<div class="input-box">
|
| 51 |
-
<input type="password" title="<?php echo $this->__('Confirm New Password') ?>" class="input-text required-entry validate-cpassword" name="confirmation" id="confirmation" />
|
| 52 |
</div>
|
| 53 |
</div>
|
| 54 |
</li>
|
|
@@ -57,7 +57,7 @@
|
|
| 57 |
<div class="buttons-set">
|
| 58 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 59 |
<p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 60 |
-
<button type="submit" title="<?php echo $this->__('Save Password') ?>" class="button"><span><span><?php echo $this->__('Save Password') ?></span></span></button>
|
| 61 |
</div>
|
| 62 |
</form>
|
| 63 |
<script type="text/javascript">
|
| 35 |
<li>
|
| 36 |
<label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
|
| 37 |
<div class="input-box">
|
| 38 |
+
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Current Password')) ?>" class="input-text required-entry" name="current_password" id="current_password" />
|
| 39 |
</div>
|
| 40 |
</li>
|
| 41 |
<li class="fields">
|
| 42 |
<div class="field">
|
| 43 |
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
|
| 44 |
<div class="input-box">
|
| 45 |
+
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('New Password')) ?>" class="input-text required-entry validate-password" name="password" id="password" />
|
| 46 |
</div>
|
| 47 |
</div>
|
| 48 |
<div class="field">
|
| 49 |
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
|
| 50 |
<div class="input-box">
|
| 51 |
+
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Confirm New Password')) ?>" class="input-text required-entry validate-cpassword" name="confirmation" id="confirmation" />
|
| 52 |
</div>
|
| 53 |
</div>
|
| 54 |
</li>
|
| 57 |
<div class="buttons-set">
|
| 58 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 59 |
<p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 60 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Save Password')) ?>" class="button"><span><span><?php echo $this->__('Save Password') ?></span></span></button>
|
| 61 |
</div>
|
| 62 |
</form>
|
| 63 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/customer/form/confirmation.phtml
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
<li>
|
| 37 |
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 38 |
<div class="input-box">
|
| 39 |
-
<input type="text" name="email" id="email_address" title="<?php echo $this->__('Email Address') ?>" class="input-text required-entry validate-email" value="<?php echo $this->escapeHtml($this->getEmail()) ?>" />
|
| 40 |
</div>
|
| 41 |
</li>
|
| 42 |
</ul>
|
|
@@ -44,7 +44,7 @@
|
|
| 44 |
<div class="buttons-set">
|
| 45 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 46 |
<p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>« </small><?php echo $this->__('Back to Login') ?></a></p>
|
| 47 |
-
<button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
| 48 |
</div>
|
| 49 |
</form>
|
| 50 |
<script type="text/javascript">
|
| 36 |
<li>
|
| 37 |
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 38 |
<div class="input-box">
|
| 39 |
+
<input type="text" name="email" id="email_address" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Email Address')) ?>" class="input-text required-entry validate-email" value="<?php echo $this->escapeHtml($this->getEmail()) ?>" />
|
| 40 |
</div>
|
| 41 |
</li>
|
| 42 |
</ul>
|
| 44 |
<div class="buttons-set">
|
| 45 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 46 |
<p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>« </small><?php echo $this->__('Back to Login') ?></a></p>
|
| 47 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Submit')) ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
| 48 |
</div>
|
| 49 |
</form>
|
| 50 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/customer/form/edit.phtml
CHANGED
|
@@ -39,7 +39,7 @@
|
|
| 39 |
<li>
|
| 40 |
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 41 |
<div class="input-box">
|
| 42 |
-
<input type="text" name="email" id="email" value="<?php echo $this->escapeHtml($this->getCustomer()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text required-entry validate-email" />
|
| 43 |
</div>
|
| 44 |
</li>
|
| 45 |
<?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
|
|
@@ -55,7 +55,7 @@
|
|
| 55 |
<li><?php echo $_gender->setGender($this->getCustomer()->getGender())->toHtml() ?></li>
|
| 56 |
<?php endif ?>
|
| 57 |
<li class="control">
|
| 58 |
-
<input type="checkbox" name="change_password" id="change_password" value="1" onclick="setPasswordForm(this.checked)" title="<?php echo $this->__('Change Password') ?>"<?php if($this->getCustomer()->getChangePassword()==1): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="change_password"><?php echo $this->__('Change Password') ?></label>
|
| 59 |
</li>
|
| 60 |
</ul>
|
| 61 |
</div>
|
|
@@ -67,20 +67,20 @@
|
|
| 67 |
<div class="input-box">
|
| 68 |
<!-- This is a dummy hidden field to trick firefox from auto filling the password -->
|
| 69 |
<input type="text" class="input-text no-display" name="dummy" id="dummy" />
|
| 70 |
-
<input type="password" title="<?php echo $this->__('Current Password') ?>" class="input-text" name="current_password" id="current_password" />
|
| 71 |
</div>
|
| 72 |
</li>
|
| 73 |
<li class="fields">
|
| 74 |
<div class="field">
|
| 75 |
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
|
| 76 |
<div class="input-box">
|
| 77 |
-
<input type="password" title="<?php echo $this->__('New Password') ?>" class="input-text validate-password" name="password" id="password" />
|
| 78 |
</div>
|
| 79 |
</div>
|
| 80 |
<div class="field">
|
| 81 |
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
|
| 82 |
<div class="input-box">
|
| 83 |
-
<input type="password" title="<?php echo $this->__('Confirm New Password') ?>" class="input-text validate-cpassword" name="confirmation" id="confirmation" />
|
| 84 |
</div>
|
| 85 |
</div>
|
| 86 |
</li>
|
|
@@ -89,7 +89,7 @@
|
|
| 89 |
<div class="buttons-set">
|
| 90 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 91 |
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 92 |
-
<button type="submit" title="<?php echo $this->__('Save') ?>" class="button"><span><span><?php echo $this->__('Save') ?></span></span></button>
|
| 93 |
</div>
|
| 94 |
</form>
|
| 95 |
<script type="text/javascript">
|
| 39 |
<li>
|
| 40 |
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 41 |
<div class="input-box">
|
| 42 |
+
<input type="text" name="email" id="email" value="<?php echo $this->escapeHtml($this->getCustomer()->getEmail()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Email Address')) ?>" class="input-text required-entry validate-email" />
|
| 43 |
</div>
|
| 44 |
</li>
|
| 45 |
<?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
|
| 55 |
<li><?php echo $_gender->setGender($this->getCustomer()->getGender())->toHtml() ?></li>
|
| 56 |
<?php endif ?>
|
| 57 |
<li class="control">
|
| 58 |
+
<input type="checkbox" name="change_password" id="change_password" value="1" onclick="setPasswordForm(this.checked)" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Change Password')) ?>"<?php if($this->getCustomer()->getChangePassword()==1): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="change_password"><?php echo $this->__('Change Password') ?></label>
|
| 59 |
</li>
|
| 60 |
</ul>
|
| 61 |
</div>
|
| 67 |
<div class="input-box">
|
| 68 |
<!-- This is a dummy hidden field to trick firefox from auto filling the password -->
|
| 69 |
<input type="text" class="input-text no-display" name="dummy" id="dummy" />
|
| 70 |
+
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Current Password')) ?>" class="input-text" name="current_password" id="current_password" />
|
| 71 |
</div>
|
| 72 |
</li>
|
| 73 |
<li class="fields">
|
| 74 |
<div class="field">
|
| 75 |
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
|
| 76 |
<div class="input-box">
|
| 77 |
+
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('New Password')) ?>" class="input-text validate-password" name="password" id="password" />
|
| 78 |
</div>
|
| 79 |
</div>
|
| 80 |
<div class="field">
|
| 81 |
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
|
| 82 |
<div class="input-box">
|
| 83 |
+
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Confirm New Password')) ?>" class="input-text validate-cpassword" name="confirmation" id="confirmation" />
|
| 84 |
</div>
|
| 85 |
</div>
|
| 86 |
</li>
|
| 89 |
<div class="buttons-set">
|
| 90 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 91 |
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 92 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Save')) ?>" class="button"><span><span><?php echo $this->__('Save') ?></span></span></button>
|
| 93 |
</div>
|
| 94 |
</form>
|
| 95 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/customer/form/forgotpassword.phtml
CHANGED
|
@@ -45,7 +45,7 @@
|
|
| 45 |
<div class="buttons-set">
|
| 46 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 47 |
<p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>« </small><?php echo $this->__('Back to Login') ?></a></p>
|
| 48 |
-
<button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
| 49 |
</div>
|
| 50 |
</form>
|
| 51 |
<script type="text/javascript">
|
| 45 |
<div class="buttons-set">
|
| 46 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 47 |
<p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>« </small><?php echo $this->__('Back to Login') ?></a></p>
|
| 48 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Submit')) ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
| 49 |
</div>
|
| 50 |
</form>
|
| 51 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/customer/form/login.phtml
CHANGED
|
@@ -55,13 +55,13 @@
|
|
| 55 |
<li>
|
| 56 |
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 57 |
<div class="input-box">
|
| 58 |
-
<input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
|
| 59 |
</div>
|
| 60 |
</li>
|
| 61 |
<li>
|
| 62 |
<label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
| 63 |
<div class="input-box">
|
| 64 |
-
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
|
| 65 |
</div>
|
| 66 |
</li>
|
| 67 |
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
|
@@ -73,13 +73,13 @@
|
|
| 73 |
<div class="col2-set">
|
| 74 |
<div class="col-1 new-users">
|
| 75 |
<div class="buttons-set">
|
| 76 |
-
<button type="button" title="<?php echo $this->__('Create an Account') ?>" class="button" onclick="window.location='<?php echo $this->getCreateAccountUrl() ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
|
| 77 |
</div>
|
| 78 |
</div>
|
| 79 |
<div class="col-2 registered-users">
|
| 80 |
<div class="buttons-set">
|
| 81 |
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
| 82 |
-
<button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
| 83 |
</div>
|
| 84 |
</div>
|
| 85 |
</div>
|
| 55 |
<li>
|
| 56 |
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 57 |
<div class="input-box">
|
| 58 |
+
<input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Email Address')) ?>" />
|
| 59 |
</div>
|
| 60 |
</li>
|
| 61 |
<li>
|
| 62 |
<label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
| 63 |
<div class="input-box">
|
| 64 |
+
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Password')) ?>" />
|
| 65 |
</div>
|
| 66 |
</li>
|
| 67 |
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
| 73 |
<div class="col2-set">
|
| 74 |
<div class="col-1 new-users">
|
| 75 |
<div class="buttons-set">
|
| 76 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Create an Account')) ?>" class="button" onclick="window.location='<?php echo $this->getCreateAccountUrl() ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
|
| 77 |
</div>
|
| 78 |
</div>
|
| 79 |
<div class="col-2 registered-users">
|
| 80 |
<div class="buttons-set">
|
| 81 |
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
| 82 |
+
<button type="submit" class="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Login')) ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
| 83 |
</div>
|
| 84 |
</div>
|
| 85 |
</div>
|
app/design/frontend/base/default/template/customer/form/newsletter.phtml
CHANGED
|
@@ -34,14 +34,14 @@
|
|
| 34 |
<?php echo $this->getBlockHtml('formkey')?>
|
| 35 |
<h2 class="legend"><?php echo $this->__('Newsletter Subscription') ?></h2>
|
| 36 |
<ul class="form-list">
|
| 37 |
-
<li class="control"><input type="checkbox" name="is_subscribed" id="subscription" value="1" title="<?php echo $this->__('General Subscription') ?>"<?php if($this->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="subscription"><?php echo $this->__('General Subscription') ?></label></li>
|
| 38 |
<?php /* Extensions placeholder */ ?>
|
| 39 |
<?php echo $this->getChildHtml('customer.form.newsletter.extra')?>
|
| 40 |
</ul>
|
| 41 |
</div>
|
| 42 |
<div class="buttons-set">
|
| 43 |
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 44 |
-
<button type="submit" title="<?php echo $this->__('Save') ?>" class="button"><span><span><?php echo $this->__('Save') ?></span></span></button>
|
| 45 |
</div>
|
| 46 |
</form>
|
| 47 |
<?php /* Extensions placeholder */ ?>
|
| 34 |
<?php echo $this->getBlockHtml('formkey')?>
|
| 35 |
<h2 class="legend"><?php echo $this->__('Newsletter Subscription') ?></h2>
|
| 36 |
<ul class="form-list">
|
| 37 |
+
<li class="control"><input type="checkbox" name="is_subscribed" id="subscription" value="1" title="<?php echo Mage::helper('core')->quoteEscape($this->__('General Subscription')) ?>"<?php if($this->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="subscription"><?php echo $this->__('General Subscription') ?></label></li>
|
| 38 |
<?php /* Extensions placeholder */ ?>
|
| 39 |
<?php echo $this->getChildHtml('customer.form.newsletter.extra')?>
|
| 40 |
</ul>
|
| 41 |
</div>
|
| 42 |
<div class="buttons-set">
|
| 43 |
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 44 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Save')) ?>" class="button"><span><span><?php echo $this->__('Save') ?></span></span></button>
|
| 45 |
</div>
|
| 46 |
</form>
|
| 47 |
<?php /* Extensions placeholder */ ?>
|
app/design/frontend/base/default/template/customer/form/register.phtml
CHANGED
|
@@ -51,13 +51,13 @@
|
|
| 51 |
<li>
|
| 52 |
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 53 |
<div class="input-box">
|
| 54 |
-
<input type="text" name="email" id="email_address" value="<?php echo $this->escapeHtml($this->getFormData()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
|
| 55 |
</div>
|
| 56 |
</li>
|
| 57 |
<?php if ($this->isNewsletterEnabled()): ?>
|
| 58 |
<li class="control">
|
| 59 |
<div class="input-box">
|
| 60 |
-
<input type="checkbox" name="is_subscribed" title="<?php echo $this->__('Sign Up for Newsletter') ?>" value="1" id="is_subscribed"<?php if($this->getFormData()->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" />
|
| 61 |
</div>
|
| 62 |
<label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
|
| 63 |
<?php /* Extensions placeholder */ ?>
|
|
@@ -87,13 +87,13 @@
|
|
| 87 |
<div class="field">
|
| 88 |
<label for="company"><?php echo $this->__('Company') ?></label>
|
| 89 |
<div class="input-box">
|
| 90 |
-
<input type="text" name="company" id="company" value="<?php echo $this->escapeHtml($this->getFormData()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
| 91 |
</div>
|
| 92 |
</div>
|
| 93 |
<div class="field">
|
| 94 |
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 95 |
<div class="input-box">
|
| 96 |
-
<input type="text" name="telephone" id="telephone" value="<?php echo $this->escapeHtml($this->getFormData()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" />
|
| 97 |
</div>
|
| 98 |
</div>
|
| 99 |
</li>
|
|
@@ -101,14 +101,14 @@
|
|
| 101 |
<li class="wide">
|
| 102 |
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
| 103 |
<div class="input-box">
|
| 104 |
-
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 105 |
</div>
|
| 106 |
</li>
|
| 107 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 108 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 109 |
<li class="wide">
|
| 110 |
<div class="input-box">
|
| 111 |
-
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 112 |
</div>
|
| 113 |
</li>
|
| 114 |
<?php endfor; ?>
|
|
@@ -116,13 +116,13 @@
|
|
| 116 |
<div class="field">
|
| 117 |
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 118 |
<div class="input-box">
|
| 119 |
-
<input type="text" name="city" value="<?php echo $this->escapeHtml($this->getFormData()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
|
| 120 |
</div>
|
| 121 |
</div>
|
| 122 |
<div class="field">
|
| 123 |
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 124 |
<div class="input-box">
|
| 125 |
-
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
| 126 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 127 |
</select>
|
| 128 |
<script type="text/javascript">
|
|
@@ -130,7 +130,7 @@
|
|
| 130 |
$('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
|
| 131 |
//]]>
|
| 132 |
</script>
|
| 133 |
-
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
| 134 |
</div>
|
| 135 |
</div>
|
| 136 |
</li>
|
|
@@ -138,7 +138,7 @@
|
|
| 138 |
<div class="field">
|
| 139 |
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 140 |
<div class="input-box">
|
| 141 |
-
<input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getFormData()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
| 142 |
</div>
|
| 143 |
</div>
|
| 144 |
<div class="field">
|
|
@@ -160,13 +160,13 @@
|
|
| 160 |
<div class="field">
|
| 161 |
<label for="password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
| 162 |
<div class="input-box">
|
| 163 |
-
<input type="password" name="password" id="password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
|
| 164 |
</div>
|
| 165 |
</div>
|
| 166 |
<div class="field">
|
| 167 |
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
| 168 |
<div class="input-box">
|
| 169 |
-
<input type="password" name="confirmation" title="<?php echo $this->__('Confirm Password') ?>" id="confirmation" class="input-text required-entry validate-cpassword" />
|
| 170 |
</div>
|
| 171 |
</div>
|
| 172 |
</li>
|
|
@@ -176,7 +176,7 @@
|
|
| 176 |
<div class="buttons-set">
|
| 177 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 178 |
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="back-link"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 179 |
-
<button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
| 180 |
</div>
|
| 181 |
</form>
|
| 182 |
<script type="text/javascript">
|
| 51 |
<li>
|
| 52 |
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 53 |
<div class="input-box">
|
| 54 |
+
<input type="text" name="email" id="email_address" value="<?php echo $this->escapeHtml($this->getFormData()->getEmail()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Email Address')) ?>" class="input-text validate-email required-entry" />
|
| 55 |
</div>
|
| 56 |
</li>
|
| 57 |
<?php if ($this->isNewsletterEnabled()): ?>
|
| 58 |
<li class="control">
|
| 59 |
<div class="input-box">
|
| 60 |
+
<input type="checkbox" name="is_subscribed" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Sign Up for Newsletter')) ?>" value="1" id="is_subscribed"<?php if($this->getFormData()->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" />
|
| 61 |
</div>
|
| 62 |
<label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
|
| 63 |
<?php /* Extensions placeholder */ ?>
|
| 87 |
<div class="field">
|
| 88 |
<label for="company"><?php echo $this->__('Company') ?></label>
|
| 89 |
<div class="input-box">
|
| 90 |
+
<input type="text" name="company" id="company" value="<?php echo $this->escapeHtml($this->getFormData()->getCompany()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Company')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
| 91 |
</div>
|
| 92 |
</div>
|
| 93 |
<div class="field">
|
| 94 |
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 95 |
<div class="input-box">
|
| 96 |
+
<input type="text" name="telephone" id="telephone" value="<?php echo $this->escapeHtml($this->getFormData()->getTelephone()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Telephone')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" />
|
| 97 |
</div>
|
| 98 |
</div>
|
| 99 |
</li>
|
| 101 |
<li class="wide">
|
| 102 |
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
| 103 |
<div class="input-box">
|
| 104 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet(1)) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address')) ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 105 |
</div>
|
| 106 |
</li>
|
| 107 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 108 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 109 |
<li class="wide">
|
| 110 |
<div class="input-box">
|
| 111 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet($_i)) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i)) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 112 |
</div>
|
| 113 |
</li>
|
| 114 |
<?php endfor; ?>
|
| 116 |
<div class="field">
|
| 117 |
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 118 |
<div class="input-box">
|
| 119 |
+
<input type="text" name="city" value="<?php echo $this->escapeHtml($this->getFormData()->getCity()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('City')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
|
| 120 |
</div>
|
| 121 |
</div>
|
| 122 |
<div class="field">
|
| 123 |
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 124 |
<div class="input-box">
|
| 125 |
+
<select id="region_id" name="region_id" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="validate-select" style="display:none;">
|
| 126 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 127 |
</select>
|
| 128 |
<script type="text/javascript">
|
| 130 |
$('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
|
| 131 |
//]]>
|
| 132 |
</script>
|
| 133 |
+
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getRegion()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
| 134 |
</div>
|
| 135 |
</div>
|
| 136 |
</li>
|
| 138 |
<div class="field">
|
| 139 |
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 140 |
<div class="input-box">
|
| 141 |
+
<input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getFormData()->getPostcode()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Zip/Postal Code')) ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
| 142 |
</div>
|
| 143 |
</div>
|
| 144 |
<div class="field">
|
| 160 |
<div class="field">
|
| 161 |
<label for="password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
| 162 |
<div class="input-box">
|
| 163 |
+
<input type="password" name="password" id="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Password')) ?>" class="input-text required-entry validate-password" />
|
| 164 |
</div>
|
| 165 |
</div>
|
| 166 |
<div class="field">
|
| 167 |
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
| 168 |
<div class="input-box">
|
| 169 |
+
<input type="password" name="confirmation" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Confirm Password')) ?>" id="confirmation" class="input-text required-entry validate-cpassword" />
|
| 170 |
</div>
|
| 171 |
</div>
|
| 172 |
</li>
|
| 176 |
<div class="buttons-set">
|
| 177 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 178 |
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="back-link"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 179 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Submit')) ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
| 180 |
</div>
|
| 181 |
</form>
|
| 182 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/customer/form/resetforgottenpassword.phtml
CHANGED
|
@@ -49,7 +49,7 @@
|
|
| 49 |
</div>
|
| 50 |
<div class="buttons-set">
|
| 51 |
<p class="required"><?php echo $this->__('* Required Fields'); ?></p>
|
| 52 |
-
<button type="submit" title="<?php echo $this->__('Reset a Password'); ?>" class="button"><span><span><?php echo $this->__('Reset a Password'); ?></span></span></button>
|
| 53 |
</div>
|
| 54 |
</form>
|
| 55 |
<script type="text/javascript">
|
| 49 |
</div>
|
| 50 |
<div class="buttons-set">
|
| 51 |
<p class="required"><?php echo $this->__('* Required Fields'); ?></p>
|
| 52 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Reset a Password')); ?>" class="button"><span><span><?php echo $this->__('Reset a Password'); ?></span></span></button>
|
| 53 |
</div>
|
| 54 |
</form>
|
| 55 |
<script type="text/javascript">
|
app/design/frontend/base/default/template/customer/widget/gender.phtml
CHANGED
|
@@ -26,7 +26,7 @@
|
|
| 26 |
?>
|
| 27 |
<label for="<?php echo $this->getFieldId('gender')?>"<?php if ($this->isRequired()) echo ' class="required"' ?>><?php if ($this->isRequired()) echo '<em>*</em>' ?><?php echo $this->__('Gender') ?></label>
|
| 28 |
<div class="input-box">
|
| 29 |
-
<select id="<?php echo $this->getFieldId('gender')?>" name="<?php echo $this->getFieldName('gender')?>" title="<?php echo $this->__('Gender') ?>"<?php if ($this->isRequired()):?> class="validate-select"<?php endif; ?> <?php echo $this->getFieldParams() ?>>
|
| 30 |
<?php $options = Mage::getResourceSingleton('customer/customer')->getAttribute('gender')->getSource()->getAllOptions();?>
|
| 31 |
<?php $value = $this->getGender();?>
|
| 32 |
<?php foreach ($options as $option):?>
|
| 26 |
?>
|
| 27 |
<label for="<?php echo $this->getFieldId('gender')?>"<?php if ($this->isRequired()) echo ' class="required"' ?>><?php if ($this->isRequired()) echo '<em>*</em>' ?><?php echo $this->__('Gender') ?></label>
|
| 28 |
<div class="input-box">
|
| 29 |
+
<select id="<?php echo $this->getFieldId('gender')?>" name="<?php echo $this->getFieldName('gender')?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Gender')) ?>"<?php if ($this->isRequired()):?> class="validate-select"<?php endif; ?> <?php echo $this->getFieldParams() ?>>
|
| 30 |
<?php $options = Mage::getResourceSingleton('customer/customer')->getAttribute('gender')->getSource()->getAllOptions();?>
|
| 31 |
<?php $value = $this->getGender();?>
|
| 32 |
<?php foreach ($options as $option):?>
|
app/design/frontend/base/default/template/customer/widget/name.phtml
CHANGED
|
@@ -50,9 +50,9 @@ For checkout/onepage/shipping.phtml:
|
|
| 50 |
<label for="<?php echo $this->getFieldId('prefix')?>"<?php if ($this->isPrefixRequired()) echo ' class="required"' ?>><?php if ($this->isPrefixRequired()) echo '<em>*</em>' ?><?php echo $this->getStoreLabel('prefix') ?></label>
|
| 51 |
<div class="input-box">
|
| 52 |
<?php if ($this->getPrefixOptions() === false): ?>
|
| 53 |
-
<input type="text" id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" value="<?php echo $this->escapeHtml($this->getObject()->getPrefix()) ?>" title="<?php echo $this->getStoreLabel('prefix') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('prefix') ?>" <?php echo $this->getFieldParams() ?> />
|
| 54 |
<?php else: ?>
|
| 55 |
-
<select id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" title="<?php echo $this->getStoreLabel('prefix') ?>" class="<?php echo $this->helper('customer/address')->getAttributeValidationClass('prefix') ?>" <?php echo $this->getFieldParams() ?>>
|
| 56 |
<?php foreach ($this->getPrefixOptions() as $_option): ?>
|
| 57 |
<option value="<?php echo $_option?>"<?php if ($this->getObject()->getPrefix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
|
| 58 |
<?php endforeach; ?>
|
|
@@ -64,7 +64,7 @@ For checkout/onepage/shipping.phtml:
|
|
| 64 |
<div class="field name-firstname">
|
| 65 |
<label for="<?php echo $this->getFieldId('firstname')?>" class="required"><em>*</em><?php echo $this->getStoreLabel('firstname') ?></label>
|
| 66 |
<div class="input-box">
|
| 67 |
-
<input type="text" id="<?php echo $this->getFieldId('firstname')?>" name="<?php echo $this->getFieldName('firstname')?>" value="<?php echo $this->escapeHtml($this->getObject()->getFirstname()) ?>" title="<?php echo $this->getStoreLabel('firstname') ?>" maxlength="255" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('firstname') ?>" <?php echo $this->getFieldParams() ?> />
|
| 68 |
</div>
|
| 69 |
</div>
|
| 70 |
<?php if ($this->showMiddlename()): ?>
|
|
@@ -72,14 +72,14 @@ For checkout/onepage/shipping.phtml:
|
|
| 72 |
<div class="field name-middlename">
|
| 73 |
<label for="<?php echo $this->getFieldId('middlename')?>"<?php echo $isMiddlenameRequired ? ' class="required"' : '' ?>><?php echo $isMiddlenameRequired ? '<em>*</em>' : '' ?><?php echo $this->getStoreLabel('middlename') ?></label>
|
| 74 |
<div class="input-box">
|
| 75 |
-
<input type="text" id="<?php echo $this->getFieldId('middlename')?>" name="<?php echo $this->getFieldName('middlename')?>" value="<?php echo $this->escapeHtml($this->getObject()->getMiddlename()) ?>" title="<?php echo $this->getStoreLabel('middlename') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('middlename') ?>" <?php echo $this->getFieldParams() ?> />
|
| 76 |
</div>
|
| 77 |
</div>
|
| 78 |
<?php endif; ?>
|
| 79 |
<div class="field name-lastname">
|
| 80 |
<label for="<?php echo $this->getFieldId('lastname')?>" class="required"><em>*</em><?php echo $this->getStoreLabel('lastname') ?></label>
|
| 81 |
<div class="input-box">
|
| 82 |
-
<input type="text" id="<?php echo $this->getFieldId('lastname')?>" name="<?php echo $this->getFieldName('lastname')?>" value="<?php echo $this->escapeHtml($this->getObject()->getLastname()) ?>" title="<?php echo $this->getStoreLabel('lastname') ?>" maxlength="255" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('lastname') ?>" <?php echo $this->getFieldParams() ?> />
|
| 83 |
</div>
|
| 84 |
</div>
|
| 85 |
<?php if ($this->showSuffix()): ?>
|
|
@@ -87,9 +87,9 @@ For checkout/onepage/shipping.phtml:
|
|
| 87 |
<label for="<?php echo $this->getFieldId('suffix')?>"<?php if ($this->isSuffixRequired()) echo ' class="required"' ?>><?php if ($this->isSuffixRequired()) echo '<em>*</em>' ?><?php echo $this->getStoreLabel('suffix') ?></label>
|
| 88 |
<div class="input-box">
|
| 89 |
<?php if ($this->getSuffixOptions() === false): ?>
|
| 90 |
-
<input type="text" id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" value="<?php echo $this->escapeHtml($this->getObject()->getSuffix()) ?>" title="<?php echo $this->getStoreLabel('suffix') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('suffix') ?>" <?php echo $this->getFieldParams() ?> />
|
| 91 |
<?php else: ?>
|
| 92 |
-
<select id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" title="<?php echo $this->getStoreLabel('suffix') ?>" class="<?php echo $this->helper('customer/address')->getAttributeValidationClass('suffix') ?>" <?php echo $this->getFieldParams() ?>>
|
| 93 |
<?php foreach ($this->getSuffixOptions() as $_option): ?>
|
| 94 |
<option value="<?php echo $_option?>"<?php if ($this->getObject()->getSuffix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
|
| 95 |
<?php endforeach; ?>
|
| 50 |
<label for="<?php echo $this->getFieldId('prefix')?>"<?php if ($this->isPrefixRequired()) echo ' class="required"' ?>><?php if ($this->isPrefixRequired()) echo '<em>*</em>' ?><?php echo $this->getStoreLabel('prefix') ?></label>
|
| 51 |
<div class="input-box">
|
| 52 |
<?php if ($this->getPrefixOptions() === false): ?>
|
| 53 |
+
<input type="text" id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" value="<?php echo $this->escapeHtml($this->getObject()->getPrefix()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->getStoreLabel('prefix')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('prefix') ?>" <?php echo $this->getFieldParams() ?> />
|
| 54 |
<?php else: ?>
|
| 55 |
+
<select id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" title="<?php echo Mage::helper('core')->quoteEscape($this->getStoreLabel('prefix')) ?>" class="<?php echo $this->helper('customer/address')->getAttributeValidationClass('prefix') ?>" <?php echo $this->getFieldParams() ?>>
|
| 56 |
<?php foreach ($this->getPrefixOptions() as $_option): ?>
|
| 57 |
<option value="<?php echo $_option?>"<?php if ($this->getObject()->getPrefix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
|
| 58 |
<?php endforeach; ?>
|
| 64 |
<div class="field name-firstname">
|
| 65 |
<label for="<?php echo $this->getFieldId('firstname')?>" class="required"><em>*</em><?php echo $this->getStoreLabel('firstname') ?></label>
|
| 66 |
<div class="input-box">
|
| 67 |
+
<input type="text" id="<?php echo $this->getFieldId('firstname')?>" name="<?php echo $this->getFieldName('firstname')?>" value="<?php echo $this->escapeHtml($this->getObject()->getFirstname()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->getStoreLabel('firstname')) ?>" maxlength="255" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('firstname') ?>" <?php echo $this->getFieldParams() ?> />
|
| 68 |
</div>
|
| 69 |
</div>
|
| 70 |
<?php if ($this->showMiddlename()): ?>
|
| 72 |
<div class="field name-middlename">
|
| 73 |
<label for="<?php echo $this->getFieldId('middlename')?>"<?php echo $isMiddlenameRequired ? ' class="required"' : '' ?>><?php echo $isMiddlenameRequired ? '<em>*</em>' : '' ?><?php echo $this->getStoreLabel('middlename') ?></label>
|
| 74 |
<div class="input-box">
|
| 75 |
+
<input type="text" id="<?php echo $this->getFieldId('middlename')?>" name="<?php echo $this->getFieldName('middlename')?>" value="<?php echo $this->escapeHtml($this->getObject()->getMiddlename()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->getStoreLabel('middlename')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('middlename') ?>" <?php echo $this->getFieldParams() ?> />
|
| 76 |
</div>
|
| 77 |
</div>
|
| 78 |
<?php endif; ?>
|
| 79 |
<div class="field name-lastname">
|
| 80 |
<label for="<?php echo $this->getFieldId('lastname')?>" class="required"><em>*</em><?php echo $this->getStoreLabel('lastname') ?></label>
|
| 81 |
<div class="input-box">
|
| 82 |
+
<input type="text" id="<?php echo $this->getFieldId('lastname')?>" name="<?php echo $this->getFieldName('lastname')?>" value="<?php echo $this->escapeHtml($this->getObject()->getLastname()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->getStoreLabel('lastname')) ?>" maxlength="255" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('lastname') ?>" <?php echo $this->getFieldParams() ?> />
|
| 83 |
</div>
|
| 84 |
</div>
|
| 85 |
<?php if ($this->showSuffix()): ?>
|
| 87 |
<label for="<?php echo $this->getFieldId('suffix')?>"<?php if ($this->isSuffixRequired()) echo ' class="required"' ?>><?php if ($this->isSuffixRequired()) echo '<em>*</em>' ?><?php echo $this->getStoreLabel('suffix') ?></label>
|
| 88 |
<div class="input-box">
|
| 89 |
<?php if ($this->getSuffixOptions() === false): ?>
|
| 90 |
+
<input type="text" id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" value="<?php echo $this->escapeHtml($this->getObject()->getSuffix()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->getStoreLabel('suffix')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('suffix') ?>" <?php echo $this->getFieldParams() ?> />
|
| 91 |
<?php else: ?>
|
| 92 |
+
<select id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" title="<?php echo Mage::helper('core')->quoteEscape($this->getStoreLabel('suffix')) ?>" class="<?php echo $this->helper('customer/address')->getAttributeValidationClass('suffix') ?>" <?php echo $this->getFieldParams() ?>>
|
| 93 |
<?php foreach ($this->getSuffixOptions() as $_option): ?>
|
| 94 |
<option value="<?php echo $_option?>"<?php if ($this->getObject()->getSuffix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
|
| 95 |
<?php endforeach; ?>
|
app/design/frontend/base/default/template/customer/widget/taxvat.phtml
CHANGED
|
@@ -26,5 +26,5 @@
|
|
| 26 |
?>
|
| 27 |
<label for="<?php echo $this->getFieldId('taxvat')?>"<?php if ($this->isRequired()) echo ' class="required"' ?>><?php if ($this->isRequired()) echo '<em>*</em>' ?><?php echo $this->__('Tax/VAT number') ?></label>
|
| 28 |
<div class="input-box">
|
| 29 |
-
<input type="text" id="<?php echo $this->getFieldId('taxvat')?>" name="<?php echo $this->getFieldName('taxvat')?>" value="<?php echo $this->escapeHtml($this->getTaxvat()) ?>" title="<?php echo $this->__('Tax/VAT number') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('taxvat') ?>" <?php echo $this->getFieldParams() ?> />
|
| 30 |
</div>
|
| 26 |
?>
|
| 27 |
<label for="<?php echo $this->getFieldId('taxvat')?>"<?php if ($this->isRequired()) echo ' class="required"' ?>><?php if ($this->isRequired()) echo '<em>*</em>' ?><?php echo $this->__('Tax/VAT number') ?></label>
|
| 28 |
<div class="input-box">
|
| 29 |
+
<input type="text" id="<?php echo $this->getFieldId('taxvat')?>" name="<?php echo $this->getFieldName('taxvat')?>" value="<?php echo $this->escapeHtml($this->getTaxvat()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Tax/VAT number')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('taxvat') ?>" <?php echo $this->getFieldParams() ?> />
|
| 30 |
</div>
|
app/design/frontend/base/default/template/customer/wishlist.phtml
CHANGED
|
@@ -62,7 +62,7 @@
|
|
| 62 |
</table>
|
| 63 |
<div class="buttons-set">
|
| 64 |
<a href="<?php echo Mage::getBaseUrl() ?>">« <?php echo $this->__('Continue Shopping') ?></a>
|
| 65 |
-
<input type="submit" value="<?php echo $this->__('Update') ?>" class="input-button" name="do" />
|
| 66 |
</div>
|
| 67 |
</form>
|
| 68 |
<?php else: ?>
|
| 62 |
</table>
|
| 63 |
<div class="buttons-set">
|
| 64 |
<a href="<?php echo Mage::getBaseUrl() ?>">« <?php echo $this->__('Continue Shopping') ?></a>
|
| 65 |
+
<input type="submit" value="<?php echo Mage::helper('core')->quoteEscape($this->__('Update')) ?>" class="input-button" name="do" />
|
| 66 |
</div>
|
| 67 |
</form>
|
| 68 |
<?php else: ?>
|
app/design/frontend/base/default/template/directory/currency.phtml
CHANGED
|
@@ -37,7 +37,7 @@
|
|
| 37 |
<strong><span><?php echo $this->__('Select Your Currency') ?></span></strong>
|
| 38 |
</div>
|
| 39 |
<div class="block-content">
|
| 40 |
-
<select name="currency" title="<?php echo $this->__('Select Your Currency') ?>" onchange="setLocation(this.value)">
|
| 41 |
<?php foreach ($this->getCurrencies() as $_code => $_name): ?>
|
| 42 |
<option value="<?php echo $this->getSwitchCurrencyUrl($_code) ?>"<?php if($_code==$this->getCurrentCurrencyCode()): ?> selected="selected"<?php endif; ?>>
|
| 43 |
<?php echo $_name ?> - <?php echo $_code ?>
|
| 37 |
<strong><span><?php echo $this->__('Select Your Currency') ?></span></strong>
|
| 38 |
</div>
|
| 39 |
<div class="block-content">
|
| 40 |
+
<select name="currency" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Select Your Currency')) ?>" onchange="setLocation(this.value)">
|
| 41 |
<?php foreach ($this->getCurrencies() as $_code => $_name): ?>
|
| 42 |
<option value="<?php echo $this->getSwitchCurrencyUrl($_code) ?>"<?php if($_code==$this->getCurrentCurrencyCode()): ?> selected="selected"<?php endif; ?>>
|
| 43 |
<?php echo $_name ?> - <?php echo $_code ?>
|
app/design/frontend/base/default/template/downloadable/checkout/cart/item/default.phtml
CHANGED
|
@@ -76,7 +76,7 @@ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage
|
|
| 76 |
</td>
|
| 77 |
<td class="a-center">
|
| 78 |
<a href="<?php echo $this->getConfigureUrl() ?>"
|
| 79 |
-
title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
|
| 80 |
</td>
|
| 81 |
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
| 82 |
<td class="a-center">
|
|
@@ -92,7 +92,7 @@ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage
|
|
| 92 |
<a id="<?php echo $helpLinkId ?>" href="#"
|
| 93 |
class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
|
| 94 |
<script type="text/javascript">
|
| 95 |
-
Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What's this?") ?>");
|
| 96 |
</script>
|
| 97 |
</span>
|
| 98 |
</td>
|
|
@@ -201,7 +201,8 @@ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage
|
|
| 201 |
<?php endif; ?>
|
| 202 |
<td class="a-center">
|
| 203 |
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4"
|
| 204 |
-
title="<?php echo $this->__('Qty') ?>" class="input-text qty"
|
|
|
|
| 205 |
</td>
|
| 206 |
<?php if (($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
|
| 207 |
<td class="a-right">
|
|
@@ -310,6 +311,6 @@ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage
|
|
| 310 |
<?php endif; ?>
|
| 311 |
</td>
|
| 312 |
<?php endif; ?>
|
| 313 |
-
<td class="a-center"><a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove Item') ?>"
|
| 314 |
class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a></td>
|
| 315 |
</tr>
|
| 76 |
</td>
|
| 77 |
<td class="a-center">
|
| 78 |
<a href="<?php echo $this->getConfigureUrl() ?>"
|
| 79 |
+
title="<?php echo Mage::helper('core')->quoteEscape($this->__('Edit item parameters')) ?>"><?php echo $this->__('Edit') ?></a>
|
| 80 |
</td>
|
| 81 |
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
| 82 |
<td class="a-center">
|
| 92 |
<a id="<?php echo $helpLinkId ?>" href="#"
|
| 93 |
class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
|
| 94 |
<script type="text/javascript">
|
| 95 |
+
Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo Mage::helper('core')->jsQuoteEscape($this->__("What's this?")) ?>");
|
| 96 |
</script>
|
| 97 |
</span>
|
| 98 |
</td>
|
| 201 |
<?php endif; ?>
|
| 202 |
<td class="a-center">
|
| 203 |
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4"
|
| 204 |
+
title="<?php echo Mage::helper('core')->quoteEscape($this->__('Qty')) ?>" class="input-text qty"
|
| 205 |
+
data-cart-item-id="<?php echo $this->jsQuoteEscape($_item->getSku()) ?>" maxlength="12"/>
|
| 206 |
</td>
|
| 207 |
<?php if (($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
|
| 208 |
<td class="a-right">
|
| 311 |
<?php endif; ?>
|
| 312 |
</td>
|
| 313 |
<?php endif; ?>
|
| 314 |
+
<td class="a-center"><a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Remove Item')) ?>"
|
| 315 |
class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a></td>
|
| 316 |
</tr>
|
app/design/frontend/base/default/template/downloadable/customer/products/list.phtml
CHANGED
|
@@ -55,9 +55,9 @@
|
|
| 55 |
<?php $_odd = ''; ?>
|
| 56 |
<?php foreach ($_items as $_item): ?>
|
| 57 |
<tr>
|
| 58 |
-
<td><a href="<?php echo $this->getOrderViewUrl($_item->getPurchased()->getOrderId()) ?>" title="<?php echo Mage::helper('downloadable')->__('View Order') ?>"><?php echo $_item->getPurchased()->getOrderIncrementId() ?></a></td>
|
| 59 |
<td><span class="nobr"><?php echo $this->formatDate($_item->getPurchased()->getCreatedAt()) ?></span></td>
|
| 60 |
-
<td><?php echo $this->escapeHtml($_item->getPurchased()->getProductName()) ?> - <a href="<?php echo $this->getDownloadUrl($_item) ?>" title="<?php echo Mage::helper('downloadable')->__('Start Download') ?>" <?php echo $this->getIsOpenInNewWindow()?'onclick="this.target=\'_blank\'"':''; ?>><?php echo $this->escapeHtml($_item->getLinkTitle()); ?></a></td>
|
| 61 |
<td><em><?php echo Mage::helper('downloadable')->__(ucfirst($_item->getStatus())) ?></em></td>
|
| 62 |
<td><?php echo $this->getRemainingDownloads($_item) ?></td>
|
| 63 |
</tr>
|
| 55 |
<?php $_odd = ''; ?>
|
| 56 |
<?php foreach ($_items as $_item): ?>
|
| 57 |
<tr>
|
| 58 |
+
<td><a href="<?php echo $this->getOrderViewUrl($_item->getPurchased()->getOrderId()) ?>" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('downloadable')->__('View Order')) ?>"><?php echo $_item->getPurchased()->getOrderIncrementId() ?></a></td>
|
| 59 |
<td><span class="nobr"><?php echo $this->formatDate($_item->getPurchased()->getCreatedAt()) ?></span></td>
|
| 60 |
+
<td><?php echo $this->escapeHtml($_item->getPurchased()->getProductName()) ?> - <a href="<?php echo $this->getDownloadUrl($_item) ?>" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('downloadable'))->__('Start Download') ?>" <?php echo $this->getIsOpenInNewWindow()?'onclick="this.target=\'_blank\'"':''; ?>><?php echo $this->escapeHtml($_item->getLinkTitle()); ?></a></td>
|
| 61 |
<td><em><?php echo Mage::helper('downloadable')->__(ucfirst($_item->getStatus())) ?></em></td>
|
| 62 |
<td><?php echo $this->getRemainingDownloads($_item) ?></td>
|
| 63 |
</tr>
|
app/design/frontend/base/default/template/giftmessage/inline.phtml
CHANGED
|
@@ -123,20 +123,20 @@ billing.onSave = function(evt){
|
|
| 123 |
<div class="field">
|
| 124 |
<label for="gift-message-whole-from"><?php echo $this->__('From') ?></label>
|
| 125 |
<div class="input-box">
|
| 126 |
-
<input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][from]" id="gift-message-whole-from" title="<?php echo $this->__('From') ?>" value="<?php echo $this->getEscaped($this->getMessage()->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
|
| 127 |
</div>
|
| 128 |
</div>
|
| 129 |
<div class="field">
|
| 130 |
<label for="gift-message-whole-to"><?php echo $this->__('To') ?></label>
|
| 131 |
<div class="input-box">
|
| 132 |
-
<input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][to]" id="gift-message-whole-to" title="<?php echo $this->__('To') ?>" value="<?php echo $this->getEscaped($this->getMessage()->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
|
| 133 |
</div>
|
| 134 |
</div>
|
| 135 |
</li>
|
| 136 |
<li class="wide">
|
| 137 |
<label for="gift-message-whole-message"><?php echo $this->__('Message') ?></label>
|
| 138 |
<div class="input-box">
|
| 139 |
-
<textarea id="gift-message-whole-message" onchange="toogleRequired('gift-message-whole-message', ['gift-message-whole-from','gift-message-whole-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][message]" title="<?php echo $this->__('Message') ?>" rows="5" cols="10"><?php echo $this->getEscaped($this->getMessage()->getMessage()) ?></textarea>
|
| 140 |
</div>
|
| 141 |
</li>
|
| 142 |
</ul>
|
|
@@ -174,20 +174,20 @@ billing.onSave = function(evt){
|
|
| 174 |
<div class="field">
|
| 175 |
<label for="gift-message-<?php echo $_item->getId() ?>-from"><?php echo $this->__('From') ?></label>
|
| 176 |
<div class="input-box">
|
| 177 |
-
<input type="text" name="giftmessage[<?php echo $_item->getId() ?>][from]" id="gift-message-<?php echo $_item->getId() ?>-from" title="<?php echo $this->__('From') ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
|
| 178 |
</div>
|
| 179 |
</div>
|
| 180 |
<div class="field">
|
| 181 |
<label for="gift-message-<?php echo $_item->getId() ?>-to"><?php echo $this->__('To') ?></label>
|
| 182 |
<div class="input-box">
|
| 183 |
-
<input type="text" name="giftmessage[<?php echo $_item->getId() ?>][to]" id="gift-message-<?php echo $_item->getId() ?>-to" title="<?php echo $this->__('To') ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
|
| 184 |
</div>
|
| 185 |
</div>
|
| 186 |
</li>
|
| 187 |
<li class="wide">
|
| 188 |
<label for="gift-message-<?php echo $_item->getId() ?>-message"><?php echo $this->__('Message') ?></label>
|
| 189 |
<div class="input-box">
|
| 190 |
-
<textarea id="gift-message-<?php echo $_item->getId() ?>-message" onchange="toogleRequired('gift-message-<?php echo $_item->getId() ?>-message', ['gift-message-<?php echo $_item->getId() ?>-from','gift-message-<?php echo $_item->getId() ?>-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $_item->getId() ?>][message]" title="<?php echo $this->__('Message') ?>" rows="5" cols="40"><?php echo $this->getEscaped($this->getMessage($_item)->getMessage()) ?></textarea>
|
| 191 |
</div>
|
| 192 |
</li>
|
| 193 |
</ul>
|
|
@@ -240,20 +240,20 @@ billing.onSave = function(evt){
|
|
| 240 |
<div class="field">
|
| 241 |
<label for="gift-message-<?php echo $this->getEntity()->getId() ?>-from"><?php echo $this->__('From') ?></label>
|
| 242 |
<div class="input-box">
|
| 243 |
-
<input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][from]" id="gift-message-<?php echo $this->getEntity()->getId() ?>-from" title="<?php echo $this->__('From') ?>" value="<?php echo $this->getEscaped($this->getMessage()->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
|
| 244 |
</div>
|
| 245 |
</div>
|
| 246 |
<div class="field">
|
| 247 |
<label for="gift-message-<?php echo $this->getEntity()->getId() ?>-to"><?php echo $this->__('To') ?></label>
|
| 248 |
<div class="input-box">
|
| 249 |
-
<input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][to]" id="gift-message-<?php echo $this->getEntity()->getId() ?>-to" title="<?php echo $this->__('To') ?>" value="<?php echo $this->getEscaped($this->getMessage()->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
|
| 250 |
</div>
|
| 251 |
</div>
|
| 252 |
</li>
|
| 253 |
<li class="wide">
|
| 254 |
<label for="gift-message-<?php echo $this->getEntity()->getId() ?>-message"><?php echo $this->__('Message') ?></label>
|
| 255 |
<div class="input-box">
|
| 256 |
-
<textarea id="gift-message-<?php echo $this->getEntity()->getId() ?>-message" onchange="toogleRequired('gift-message-<?php echo $this->getEntity()->getId() ?>-message', ['gift-message-<?php echo $this->getEntity()->getId() ?>-from','gift-message-<?php echo $this->getEntity()->getId() ?>-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][message]" title="<?php echo $this->__('Message') ?>" rows="5" cols="40"><?php echo $this->getEscaped($this->getMessage()->getMessage()) ?></textarea>
|
| 257 |
</div>
|
| 258 |
</li>
|
| 259 |
</ul>
|
|
@@ -291,20 +291,20 @@ billing.onSave = function(evt){
|
|
| 291 |
<div class="field">
|
| 292 |
<label for="gift-message-<?php echo $_item->getId() ?>-from"><?php echo $this->__('From') ?></label>
|
| 293 |
<div class="input-box">
|
| 294 |
-
<input type="text" name="giftmessage[<?php echo $_item->getId() ?>][from]" id="gift-message-<?php echo $_item->getId() ?>-from" title="<?php echo $this->__('From') ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
|
| 295 |
</div>
|
| 296 |
</div>
|
| 297 |
<div class="field">
|
| 298 |
<label for="gift-message-<?php echo $_item->getId() ?>-to"><?php echo $this->__('To') ?></label>
|
| 299 |
<div class="input-box">
|
| 300 |
-
<input type="text" name="giftmessage[<?php echo $_item->getId() ?>][to]" id="gift-message-<?php echo $_item->getId() ?>-to" title="<?php echo $this->__('To') ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
|
| 301 |
</div>
|
| 302 |
</div>
|
| 303 |
</li>
|
| 304 |
<li class="wide">
|
| 305 |
<label for="gift-message-<?php echo $_item->getId() ?>-message"><?php echo $this->__('Message') ?></label>
|
| 306 |
<div class="input-box">
|
| 307 |
-
<textarea id="gift-message-<?php echo $_item->getId() ?>-message" onchange="toogleRequired('gift-message-<?php echo $_item->getId() ?>-message', ['gift-message-<?php echo $_item->getId() ?>-from','gift-message-<?php echo $_item->getId() ?>-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $_item->getId() ?>][message]" title="<?php echo $this->__('Message') ?>" rows="5" cols="10"><?php echo $this->getEscaped($this->getMessage($_item)->getMessage()) ?></textarea>
|
| 308 |
</div>
|
| 309 |
</li>
|
| 310 |
</ul>
|
| 123 |
<div class="field">
|
| 124 |
<label for="gift-message-whole-from"><?php echo $this->__('From') ?></label>
|
| 125 |
<div class="input-box">
|
| 126 |
+
<input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][from]" id="gift-message-whole-from" title="<?php echo Mage::helper('core')->quoteEscape($this->__('From')) ?>" value="<?php echo $this->getEscaped($this->getMessage()->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
|
| 127 |
</div>
|
| 128 |
</div>
|
| 129 |
<div class="field">
|
| 130 |
<label for="gift-message-whole-to"><?php echo $this->__('To') ?></label>
|
| 131 |
<div class="input-box">
|
| 132 |
+
<input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][to]" id="gift-message-whole-to" title="<?php echo Mage::helper('core')->quoteEscape($this->__('To')) ?>" value="<?php echo $this->getEscaped($this->getMessage()->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
|
| 133 |
</div>
|
| 134 |
</div>
|
| 135 |
</li>
|
| 136 |
<li class="wide">
|
| 137 |
<label for="gift-message-whole-message"><?php echo $this->__('Message') ?></label>
|
| 138 |
<div class="input-box">
|
| 139 |
+
<textarea id="gift-message-whole-message" onchange="toogleRequired('gift-message-whole-message', ['gift-message-whole-from','gift-message-whole-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][message]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Message')) ?>" rows="5" cols="10"><?php echo $this->getEscaped($this->getMessage()->getMessage()) ?></textarea>
|
| 140 |
</div>
|
| 141 |
</li>
|
| 142 |
</ul>
|
| 174 |
<div class="field">
|
| 175 |
<label for="gift-message-<?php echo $_item->getId() ?>-from"><?php echo $this->__('From') ?></label>
|
| 176 |
<div class="input-box">
|
| 177 |
+
<input type="text" name="giftmessage[<?php echo $_item->getId() ?>][from]" id="gift-message-<?php echo $_item->getId() ?>-from" title="<?php echo Mage::helper('core')->quoteEscape($this->__('From')) ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
|
| 178 |
</div>
|
| 179 |
</div>
|
| 180 |
<div class="field">
|
| 181 |
<label for="gift-message-<?php echo $_item->getId() ?>-to"><?php echo $this->__('To') ?></label>
|
| 182 |
<div class="input-box">
|
| 183 |
+
<input type="text" name="giftmessage[<?php echo $_item->getId() ?>][to]" id="gift-message-<?php echo $_item->getId() ?>-to" title="<?php echo Mage::helper('core')->quoteEscape($this->__('To')) ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
|
| 184 |
</div>
|
| 185 |
</div>
|
| 186 |
</li>
|
| 187 |
<li class="wide">
|
| 188 |
<label for="gift-message-<?php echo $_item->getId() ?>-message"><?php echo $this->__('Message') ?></label>
|
| 189 |
<div class="input-box">
|
| 190 |
+
<textarea id="gift-message-<?php echo $_item->getId() ?>-message" onchange="toogleRequired('gift-message-<?php echo $_item->getId() ?>-message', ['gift-message-<?php echo $_item->getId() ?>-from','gift-message-<?php echo $_item->getId() ?>-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $_item->getId() ?>][message]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Message')) ?>" rows="5" cols="40"><?php echo $this->getEscaped($this->getMessage($_item)->getMessage()) ?></textarea>
|
| 191 |
</div>
|
| 192 |
</li>
|
| 193 |
</ul>
|
| 240 |
<div class="field">
|
| 241 |
<label for="gift-message-<?php echo $this->getEntity()->getId() ?>-from"><?php echo $this->__('From') ?></label>
|
| 242 |
<div class="input-box">
|
| 243 |
+
<input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][from]" id="gift-message-<?php echo $this->getEntity()->getId() ?>-from" title="<?php echo Mage::helper('core')->quoteEscape($this->__('From')) ?>" value="<?php echo $this->getEscaped($this->getMessage()->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
|
| 244 |
</div>
|
| 245 |
</div>
|
| 246 |
<div class="field">
|
| 247 |
<label for="gift-message-<?php echo $this->getEntity()->getId() ?>-to"><?php echo $this->__('To') ?></label>
|
| 248 |
<div class="input-box">
|
| 249 |
+
<input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][to]" id="gift-message-<?php echo $this->getEntity()->getId() ?>-to" title="<?php echo Mage::helper('core')->quoteEscape($this->__('To')) ?>" value="<?php echo $this->getEscaped($this->getMessage()->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
|
| 250 |
</div>
|
| 251 |
</div>
|
| 252 |
</li>
|
| 253 |
<li class="wide">
|
| 254 |
<label for="gift-message-<?php echo $this->getEntity()->getId() ?>-message"><?php echo $this->__('Message') ?></label>
|
| 255 |
<div class="input-box">
|
| 256 |
+
<textarea id="gift-message-<?php echo $this->getEntity()->getId() ?>-message" onchange="toogleRequired('gift-message-<?php echo $this->getEntity()->getId() ?>-message', ['gift-message-<?php echo $this->getEntity()->getId() ?>-from','gift-message-<?php echo $this->getEntity()->getId() ?>-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][message]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Message')) ?>" rows="5" cols="40"><?php echo $this->getEscaped($this->getMessage()->getMessage()) ?></textarea>
|
| 257 |
</div>
|
| 258 |
</li>
|
| 259 |
</ul>
|
| 291 |
<div class="field">
|
| 292 |
<label for="gift-message-<?php echo $_item->getId() ?>-from"><?php echo $this->__('From') ?></label>
|
| 293 |
<div class="input-box">
|
| 294 |
+
<input type="text" name="giftmessage[<?php echo $_item->getId() ?>][from]" id="gift-message-<?php echo $_item->getId() ?>-from" title="<?php echo Mage::helper('core')->quoteEscape($this->__('From')) ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
|
| 295 |
</div>
|
| 296 |
</div>
|
| 297 |
<div class="field">
|
| 298 |
<label for="gift-message-<?php echo $_item->getId() ?>-to"><?php echo $this->__('To') ?></label>
|
| 299 |
<div class="input-box">
|
| 300 |
+
<input type="text" name="giftmessage[<?php echo $_item->getId() ?>][to]" id="gift-message-<?php echo $_item->getId() ?>-to" title="<?php echo Mage::helper('core')->quoteEscape($this->__('To')) ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
|
| 301 |
</div>
|
| 302 |
</div>
|
| 303 |
</li>
|
| 304 |
<li class="wide">
|
| 305 |
<label for="gift-message-<?php echo $_item->getId() ?>-message"><?php echo $this->__('Message') ?></label>
|
| 306 |
<div class="input-box">
|
| 307 |
+
<textarea id="gift-message-<?php echo $_item->getId() ?>-message" onchange="toogleRequired('gift-message-<?php echo $_item->getId() ?>-message', ['gift-message-<?php echo $_item->getId() ?>-from','gift-message-<?php echo $_item->getId() ?>-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $_item->getId() ?>][message]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Message')) ?>" rows="5" cols="10"><?php echo $this->getEscaped($this->getMessage($_item)->getMessage()) ?></textarea>
|
| 308 |
</div>
|
| 309 |
</li>
|
| 310 |
</ul>
|
app/design/frontend/base/default/template/newsletter/subscribe.phtml
CHANGED
|
@@ -34,10 +34,10 @@
|
|
| 34 |
<label for="newsletter"><?php echo $this->__('Sign Up for Our Newsletter:') ?></label>
|
| 35 |
</div>
|
| 36 |
<div class="input-box">
|
| 37 |
-
<input type="text" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="input-text required-entry validate-email" />
|
| 38 |
</div>
|
| 39 |
<div class="actions">
|
| 40 |
-
<button type="submit" title="<?php echo $this->__('Subscribe') ?>" class="button"><span><span><?php echo $this->__('Subscribe') ?></span></span></button>
|
| 41 |
</div>
|
| 42 |
</div>
|
| 43 |
</form>
|
| 34 |
<label for="newsletter"><?php echo $this->__('Sign Up for Our Newsletter:') ?></label>
|
| 35 |
</div>
|
| 36 |
<div class="input-box">
|
| 37 |
+
<input type="text" name="email" id="newsletter" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Sign up for our newsletter')) ?>" class="input-text required-entry validate-email" />
|
| 38 |
</div>
|
| 39 |
<div class="actions">
|
| 40 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Subscribe')) ?>" class="button"><span><span><?php echo $this->__('Subscribe') ?></span></span></button>
|
| 41 |
</div>
|
| 42 |
</div>
|
| 43 |
</form>
|
app/design/frontend/base/default/template/oauth/authorize/form/login-simple.phtml
CHANGED
|
@@ -39,6 +39,7 @@
|
|
| 39 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 40 |
<?php if (!$this->getHasException()) : ?>
|
| 41 |
<form method="post" action="<?php echo $this->getPostActionUrl() ?>" id="loginForm">
|
|
|
|
| 42 |
<fieldset class="fieldset">
|
| 43 |
<h2 class="legend"><?php echo $this->getFormTitle() ?></h2>
|
| 44 |
<p class="description"><?php echo $this->__('Log in to use <strong>%s</strong>', $this->getConsumer()->getName()) ?></p>
|
| 39 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 40 |
<?php if (!$this->getHasException()) : ?>
|
| 41 |
<form method="post" action="<?php echo $this->getPostActionUrl() ?>" id="loginForm">
|
| 42 |
+
<?php echo $this->getBlockHtml('formkey'); ?>
|
| 43 |
<fieldset class="fieldset">
|
| 44 |
<h2 class="legend"><?php echo $this->getFormTitle() ?></h2>
|
| 45 |
<p class="description"><?php echo $this->__('Log in to use <strong>%s</strong>', $this->getConsumer()->getName()) ?></p>
|
app/design/frontend/base/default/template/oauth/authorize/form/login.phtml
CHANGED
|
@@ -36,6 +36,7 @@ $rejectJs = "document.location.href='{$this->getRejectUrl()}';";
|
|
| 36 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 37 |
<?php if (!$this->getHasException()): ?>
|
| 38 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
|
|
|
|
| 39 |
<div class="col1-set">
|
| 40 |
<div class="col-1 registered-users">
|
| 41 |
<div class="content" style="margin: 0 auto; padding-bottom: 13px;">
|
| 36 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 37 |
<?php if (!$this->getHasException()): ?>
|
| 38 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
|
| 39 |
+
<?php echo $this->getBlockHtml('formkey'); ?>
|
| 40 |
<div class="col1-set">
|
| 41 |
<div class="col-1 registered-users">
|
| 42 |
<div class="content" style="margin: 0 auto; padding-bottom: 13px;">
|
app/design/frontend/base/default/template/page/html/pager.phtml
CHANGED
|
@@ -66,9 +66,9 @@
|
|
| 66 |
<ol>
|
| 67 |
<?php if (!$this->isFirstPage()): ?>
|
| 68 |
<li>
|
| 69 |
-
<a class="previous<?php if(!$this->getAnchorTextForPrevious()): ?> i-previous<?php endif;?>" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>">
|
| 70 |
<?php if(!$this->getAnchorTextForPrevious()): ?>
|
| 71 |
-
<img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous') ?>" class="v-middle" />
|
| 72 |
<?php else: ?>
|
| 73 |
<?php echo $this->getAnchorTextForPrevious() ?>
|
| 74 |
<?php endif;?>
|
|
@@ -103,9 +103,9 @@
|
|
| 103 |
|
| 104 |
<?php if (!$this->isLastPage()): ?>
|
| 105 |
<li>
|
| 106 |
-
<a class="next<?php if(!$this->getAnchorTextForNext()): ?> i-next<?php endif; ?>" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>">
|
| 107 |
<?php if(!$this->getAnchorTextForNext()): ?>
|
| 108 |
-
<img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Next') ?>" class="v-middle" />
|
| 109 |
<?php else: ?>
|
| 110 |
<?php echo $this->getAnchorTextForNext() ?>
|
| 111 |
<?php endif;?>
|
| 66 |
<ol>
|
| 67 |
<?php if (!$this->isFirstPage()): ?>
|
| 68 |
<li>
|
| 69 |
+
<a class="previous<?php if(!$this->getAnchorTextForPrevious()): ?> i-previous<?php endif;?>" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Previous')) ?>">
|
| 70 |
<?php if(!$this->getAnchorTextForPrevious()): ?>
|
| 71 |
+
<img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Previous')) ?>" class="v-middle" />
|
| 72 |
<?php else: ?>
|
| 73 |
<?php echo $this->getAnchorTextForPrevious() ?>
|
| 74 |
<?php endif;?>
|
| 103 |
|
| 104 |
<?php if (!$this->isLastPage()): ?>
|
| 105 |
<li>
|
| 106 |
+
<a class="next<?php if(!$this->getAnchorTextForNext()): ?> i-next<?php endif; ?>" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Next')) ?>">
|
| 107 |
<?php if(!$this->getAnchorTextForNext()): ?>
|
| 108 |
+
<img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Next')) ?>" class="v-middle" />
|
| 109 |
<?php else: ?>
|
| 110 |
<?php echo $this->getAnchorTextForNext() ?>
|
| 111 |
<?php endif;?>
|
app/design/frontend/base/default/template/page/js/calendar.phtml
CHANGED
|
@@ -35,60 +35,60 @@
|
|
| 35 |
<script type="text/javascript">
|
| 36 |
//<![CDATA[
|
| 37 |
enUS = <?php echo $enUS?>; // en_US locale reference
|
| 38 |
-
Calendar._DN = <?php echo $days['wide']?>; // full day names
|
| 39 |
-
Calendar._SDN = <?php echo $days['abbreviated']?>; // short day names
|
| 40 |
-
Calendar._FD = <?php echo $firstDay?>; // First day of the week. "0" means display Sunday first, "1" means display Monday first, etc.
|
| 41 |
-
Calendar._MN = <?php echo $months['wide']?>; // full month names
|
| 42 |
-
Calendar._SMN = <?php echo $months['abbreviated']?>; // short month names
|
| 43 |
Calendar._am = <?php echo $am ?>; // am/pm
|
| 44 |
Calendar._pm = <?php echo $pm ?>;
|
| 45 |
|
| 46 |
// tooltips
|
| 47 |
Calendar._TT = {};
|
| 48 |
-
Calendar._TT["INFO"] =
|
| 49 |
|
| 50 |
Calendar._TT["ABOUT"] =
|
| 51 |
-
|
| 52 |
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" +
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
Calendar._TT["ABOUT_TIME"] =
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
|
| 66 |
-
Calendar._TT["PREV_YEAR"] =
|
| 67 |
-
Calendar._TT["PREV_MONTH"] =
|
| 68 |
-
Calendar._TT["GO_TODAY"] =
|
| 69 |
-
Calendar._TT["NEXT_MONTH"] =
|
| 70 |
-
Calendar._TT["NEXT_YEAR"] =
|
| 71 |
-
Calendar._TT["SEL_DATE"] =
|
| 72 |
-
Calendar._TT["DRAG_TO_MOVE"] =
|
| 73 |
Calendar._TT["PART_TODAY"] = ' (' + <?php echo $today ?> + ')';
|
| 74 |
|
| 75 |
// the following is to inform that "%s" is to be the first day of week
|
| 76 |
-
Calendar._TT["DAY_FIRST"] =
|
| 77 |
|
| 78 |
// This may be locale-dependent. It specifies the week-end days, as an array
|
| 79 |
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
|
| 80 |
// means Monday, etc.
|
| 81 |
-
Calendar._TT["WEEKEND"] = <?php echo $weekendDays?>;
|
| 82 |
|
| 83 |
-
Calendar._TT["CLOSE"] =
|
| 84 |
Calendar._TT["TODAY"] = <?php echo $today ?>;
|
| 85 |
-
Calendar._TT["TIME_PART"] =
|
| 86 |
|
| 87 |
// date formats
|
| 88 |
-
Calendar._TT["DEF_DATE_FORMAT"] = <?php echo $defaultFormat?>;
|
| 89 |
-
Calendar._TT["TT_DATE_FORMAT"] = <?php echo $toolTipFormat?>;
|
| 90 |
|
| 91 |
Calendar._TT["WK"] = <?php echo $week ?>;
|
| 92 |
-
Calendar._TT["TIME"] =
|
| 93 |
//]]>
|
| 94 |
</script>
|
| 35 |
<script type="text/javascript">
|
| 36 |
//<![CDATA[
|
| 37 |
enUS = <?php echo $enUS?>; // en_US locale reference
|
| 38 |
+
Calendar._DN = <?php echo $days['wide'] ?>; // full day names
|
| 39 |
+
Calendar._SDN = <?php echo $days['abbreviated'] ?>; // short day names
|
| 40 |
+
Calendar._FD = <?php echo $firstDay ?>; // First day of the week. "0" means display Sunday first, "1" means display Monday first, etc.
|
| 41 |
+
Calendar._MN = <?php echo $months['wide'] ?>; // full month names
|
| 42 |
+
Calendar._SMN = <?php echo $months['abbreviated'] ?>; // short month names
|
| 43 |
Calendar._am = <?php echo $am ?>; // am/pm
|
| 44 |
Calendar._pm = <?php echo $pm ?>;
|
| 45 |
|
| 46 |
// tooltips
|
| 47 |
Calendar._TT = {};
|
| 48 |
+
Calendar._TT["INFO"] = '<?php echo $this->jsQuoteEscape($this->__('About the calendar')); ?>';
|
| 49 |
|
| 50 |
Calendar._TT["ABOUT"] =
|
| 51 |
+
'<?php echo $this->jsQuoteEscape($this->__('DHTML Date/Time Selector')) ?>\n' +
|
| 52 |
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" +
|
| 53 |
+
'<?php echo $this->jsQuoteEscape($this->__('For latest version visit: %s', 'http://www.dynarch.com/projects/calendar/')) ?>\n' +
|
| 54 |
+
'<?php echo $this->jsQuoteEscape($this->__('Distributed under GNU LGPL. See %s for details.', 'http://gnu.org/licenses/lgpl.html')) ?>' +
|
| 55 |
+
'\n\n' +
|
| 56 |
+
'<?php echo $this->jsQuoteEscape($this->__('Date selection:')) ?>\n' +
|
| 57 |
+
'<?php echo $this->jsQuoteEscape($this->__('- Use the %s, %s buttons to select year', '\\xab', '\xbb')) ?>\n' +
|
| 58 |
+
'<?php echo $this->jsQuoteEscape($this->__('- Use the %s buttons to select month', '\u2039', '\u203a')) ?>\n' +
|
| 59 |
+
'<?php echo $this->jsQuoteEscape($this->__('- Hold mouse button on any of the above buttons for faster selection.')) ?>';
|
| 60 |
+
Calendar._TT["ABOUT_TIME"] = '\n\n' +
|
| 61 |
+
'<?php echo $this->jsQuoteEscape($this->__('Time selection:')) ?>\n' +
|
| 62 |
+
'<?php echo $this->jsQuoteEscape($this->__('- Click on any of the time parts to increase it')) ?>\n' +
|
| 63 |
+
'<?php echo $this->jsQuoteEscape($this->__('- or Shift-click to decrease it') ) ?>\n' +
|
| 64 |
+
'<?php echo $this->jsQuoteEscape($this->__('- or click and drag for faster selection.')) ?>';
|
| 65 |
|
| 66 |
+
Calendar._TT["PREV_YEAR"] = '<?php echo $this->jsQuoteEscape($this->__('Prev. year (hold for menu)')); ?>';
|
| 67 |
+
Calendar._TT["PREV_MONTH"] = '<?php echo $this->jsQuoteEscape($this->__('Prev. month (hold for menu)')); ?>';
|
| 68 |
+
Calendar._TT["GO_TODAY"] = '<?php echo $this->jsQuoteEscape($this->__('Go Today')); ?>';
|
| 69 |
+
Calendar._TT["NEXT_MONTH"] = '<?php echo $this->jsQuoteEscape($this->__('Next month (hold for menu)')); ?>';
|
| 70 |
+
Calendar._TT["NEXT_YEAR"] = '<?php echo $this->jsQuoteEscape($this->__('Next year (hold for menu)')); ?>';
|
| 71 |
+
Calendar._TT["SEL_DATE"] = '<?php echo $this->jsQuoteEscape($this->__('Select date')); ?>';
|
| 72 |
+
Calendar._TT["DRAG_TO_MOVE"] = '<?php echo $this->jsQuoteEscape($this->__('Drag to move')); ?>';
|
| 73 |
Calendar._TT["PART_TODAY"] = ' (' + <?php echo $today ?> + ')';
|
| 74 |
|
| 75 |
// the following is to inform that "%s" is to be the first day of week
|
| 76 |
+
Calendar._TT["DAY_FIRST"] = '<?php echo $this->jsQuoteEscape($this->__('Display %s first', '%s')); ?>';
|
| 77 |
|
| 78 |
// This may be locale-dependent. It specifies the week-end days, as an array
|
| 79 |
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
|
| 80 |
// means Monday, etc.
|
| 81 |
+
Calendar._TT["WEEKEND"] = <?php echo $weekendDays ?>;
|
| 82 |
|
| 83 |
+
Calendar._TT["CLOSE"] = '<?php echo $this->jsQuoteEscape($this->__('Close')); ?>';
|
| 84 |
Calendar._TT["TODAY"] = <?php echo $today ?>;
|
| 85 |
+
Calendar._TT["TIME_PART"] = '<?php echo $this->jsQuoteEscape($this->__('(Shift-)Click or drag to change value')); ?>';
|
| 86 |
|
| 87 |
// date formats
|
| 88 |
+
Calendar._TT["DEF_DATE_FORMAT"] = <?php echo $defaultFormat ?>;
|
| 89 |
+
Calendar._TT["TT_DATE_FORMAT"] = <?php echo $toolTipFormat ?>;
|
| 90 |
|
| 91 |
Calendar._TT["WK"] = <?php echo $week ?>;
|
| 92 |
+
Calendar._TT["TIME"] = '<?php echo $this->jsQuoteEscape($this->__('Time:')); ?>';
|
| 93 |
//]]>
|
| 94 |
</script>
|
app/design/frontend/base/default/template/page/print.phtml
CHANGED
|
@@ -44,7 +44,7 @@
|
|
| 44 |
</div>
|
| 45 |
<?php echo $this->getChildHtml('content') ?>
|
| 46 |
<div class="buttons-set">
|
| 47 |
-
<button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
|
| 48 |
</div>
|
| 49 |
<?php echo $this->getAbsoluteFooter() ?>
|
| 50 |
</div>
|
| 44 |
</div>
|
| 45 |
<?php echo $this->getChildHtml('content') ?>
|
| 46 |
<div class="buttons-set">
|
| 47 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Close Window')) ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
|
| 48 |
</div>
|
| 49 |
<?php echo $this->getAbsoluteFooter() ?>
|
| 50 |
</div>
|
app/design/frontend/base/default/template/paygate/form/cc.phtml
CHANGED
|
@@ -48,7 +48,7 @@
|
|
| 48 |
Event.observe(cancelButton, 'click', cancelPaymentAuthorizations);
|
| 49 |
|
| 50 |
function cancelPaymentAuthorizations(event, hideConfirm){
|
| 51 |
-
if (!hideConfirm && !confirm('<?php echo $this->getCancelConfirmationMessage() ?>')) {
|
| 52 |
return;
|
| 53 |
}
|
| 54 |
$('cancel-please-wait').show();
|
|
@@ -77,7 +77,7 @@
|
|
| 77 |
}
|
| 78 |
|
| 79 |
<?php if ($_message=$this->getPartialAuthorizationConfirmationMessage()): ?>
|
| 80 |
-
if (!confirm('<?php echo $_message ?>')) {
|
| 81 |
cancelPaymentAuthorizations(true, true);
|
| 82 |
}
|
| 83 |
<?php endif;?>
|
| 48 |
Event.observe(cancelButton, 'click', cancelPaymentAuthorizations);
|
| 49 |
|
| 50 |
function cancelPaymentAuthorizations(event, hideConfirm){
|
| 51 |
+
if (!hideConfirm && !confirm('<?php echo Mage::helper('core')->jsQuoteEscape($this->getCancelConfirmationMessage()) ?>')) {
|
| 52 |
return;
|
| 53 |
}
|
| 54 |
$('cancel-please-wait').show();
|
| 77 |
}
|
| 78 |
|
| 79 |
<?php if ($_message=$this->getPartialAuthorizationConfirmationMessage()): ?>
|
| 80 |
+
if (!confirm('<?php echo Mage::helper('core')->jsQuoteEscape($_message) ?>')) {
|
| 81 |
cancelPaymentAuthorizations(true, true);
|
| 82 |
}
|
| 83 |
<?php endif;?>
|
app/design/frontend/base/default/template/payment/form/cc.phtml
CHANGED
|
@@ -49,7 +49,7 @@
|
|
| 49 |
<li>
|
| 50 |
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
| 51 |
<div class="input-box">
|
| 52 |
-
<input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
|
| 53 |
</div>
|
| 54 |
</li>
|
| 55 |
<li id="<?php echo $_code ?>_cc_type_exp_div">
|
|
@@ -79,7 +79,7 @@
|
|
| 79 |
<label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
|
| 80 |
<div class="input-box">
|
| 81 |
<div class="v-fix">
|
| 82 |
-
<input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
|
| 83 |
</div>
|
| 84 |
<a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
|
| 85 |
</div>
|
|
@@ -93,7 +93,7 @@
|
|
| 93 |
<li>
|
| 94 |
<label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
|
| 95 |
<span class="input-box">
|
| 96 |
-
<input type="text" title="<?php echo $this->__('Issue Number') ?>" class="input-text validate-cc-ukss cvv" id="<?php echo $_code ?>_cc_issue" name="payment[cc_ss_issue]" value="" />
|
| 97 |
</span>
|
| 98 |
</li>
|
| 99 |
|
| 49 |
<li>
|
| 50 |
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
| 51 |
<div class="input-box">
|
| 52 |
+
<input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo Mage::helper('core')->jsQuoteEscape($this->__('Credit Card Number')) ?>" class="input-text validate-cc-number validate-cc-type" value="" />
|
| 53 |
</div>
|
| 54 |
</li>
|
| 55 |
<li id="<?php echo $_code ?>_cc_type_exp_div">
|
| 79 |
<label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
|
| 80 |
<div class="input-box">
|
| 81 |
<div class="v-fix">
|
| 82 |
+
<input type="text" title="<?php echo Mage::helper('core')->jsQuoteEscape($this->__('Card Verification Number')) ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
|
| 83 |
</div>
|
| 84 |
<a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
|
| 85 |
</div>
|
| 93 |
<li>
|
| 94 |
<label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
|
| 95 |
<span class="input-box">
|
| 96 |
+
<input type="text" title="<?php echo Mage::helper('core')->jsQuoteEscape($this->__('Issue Number')) ?>" class="input-text validate-cc-ukss cvv" id="<?php echo $_code ?>_cc_issue" name="payment[cc_ss_issue]" value="" />
|
| 97 |
</span>
|
| 98 |
</li>
|
| 99 |
|
app/design/frontend/base/default/template/payment/form/ccsave.phtml
CHANGED
|
@@ -29,13 +29,13 @@
|
|
| 29 |
<li>
|
| 30 |
<label for="<?php echo $_code ?>_cc_owner" class="required"><em>*</em><?php echo $this->__('Name on Card') ?></label>
|
| 31 |
<div class="input-box">
|
| 32 |
-
<input type="text" title="<?php echo $this->__('Name on Card') ?>" class="input-text required-entry" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->escapeHtml($this->getInfoData('cc_owner')) ?>" />
|
| 33 |
</div>
|
| 34 |
</li>
|
| 35 |
<li>
|
| 36 |
<label for="<?php echo $_code ?>_cc_type" class="required"><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
|
| 37 |
<div class="input-box">
|
| 38 |
-
<select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" title="<?php echo $this->__('Credit Card Type') ?>" class="required-entry validate-cc-type-select">
|
| 39 |
<option value=""><?php echo $this->__('--Please Select--') ?></option>
|
| 40 |
<?php $_ccType = $this->getInfoData('cc_type') ?>
|
| 41 |
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
|
@@ -47,7 +47,7 @@
|
|
| 47 |
<li>
|
| 48 |
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
| 49 |
<div class="input-box">
|
| 50 |
-
<input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
|
| 51 |
</div>
|
| 52 |
</li>
|
| 53 |
<li>
|
|
@@ -77,7 +77,7 @@
|
|
| 77 |
<label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
|
| 78 |
<div class="input-box">
|
| 79 |
<div class="v-fix">
|
| 80 |
-
<input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
|
| 81 |
</div>
|
| 82 |
<a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
|
| 83 |
</div>
|
|
@@ -90,7 +90,7 @@
|
|
| 90 |
<li>
|
| 91 |
<label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
|
| 92 |
<span class="input-box">
|
| 93 |
-
<input type="text" title="<?php echo $this->__('Issue Number') ?>" class="input-text validate-cc-ukss cvv" id="<?php echo $_code ?>_cc_issue" name="payment[cc_ss_issue]" value="" />
|
| 94 |
</span>
|
| 95 |
</li>
|
| 96 |
|
| 29 |
<li>
|
| 30 |
<label for="<?php echo $_code ?>_cc_owner" class="required"><em>*</em><?php echo $this->__('Name on Card') ?></label>
|
| 31 |
<div class="input-box">
|
| 32 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Name on Card')) ?>" class="input-text required-entry" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->escapeHtml($this->getInfoData('cc_owner')) ?>" />
|
| 33 |
</div>
|
| 34 |
</li>
|
| 35 |
<li>
|
| 36 |
<label for="<?php echo $_code ?>_cc_type" class="required"><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
|
| 37 |
<div class="input-box">
|
| 38 |
+
<select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Credit Card Type')) ?>" class="required-entry validate-cc-type-select">
|
| 39 |
<option value=""><?php echo $this->__('--Please Select--') ?></option>
|
| 40 |
<?php $_ccType = $this->getInfoData('cc_type') ?>
|
| 41 |
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
| 47 |
<li>
|
| 48 |
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
| 49 |
<div class="input-box">
|
| 50 |
+
<input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Credit Card Number')) ?>" class="input-text validate-cc-number validate-cc-type" value="" />
|
| 51 |
</div>
|
| 52 |
</li>
|
| 53 |
<li>
|
| 77 |
<label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
|
| 78 |
<div class="input-box">
|
| 79 |
<div class="v-fix">
|
| 80 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Card Verification Number')) ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
|
| 81 |
</div>
|
| 82 |
<a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
|
| 83 |
</div>
|
| 90 |
<li>
|
| 91 |
<label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
|
| 92 |
<span class="input-box">
|
| 93 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Issue Number')) ?>" class="input-text validate-cc-ukss cvv" id="<?php echo $_code ?>_cc_issue" name="payment[cc_ss_issue]" value="" />
|
| 94 |
</span>
|
| 95 |
</li>
|
| 96 |
|
app/design/frontend/base/default/template/payment/form/purchaseorder.phtml
CHANGED
|
@@ -28,7 +28,7 @@
|
|
| 28 |
<li>
|
| 29 |
<label for="po_number" class="required"><em>*</em><?php echo $this->__('Purchase Order Number') ?></label>
|
| 30 |
<div class="input-box">
|
| 31 |
-
<input type="text" id="po_number" name="payment[po_number]" title="<?php echo $this->__('Purchase Order Number') ?>" class="input-text required-entry" value="<?php echo $this->escapeHtml($this->getInfoData('po_number')) ?>" />
|
| 32 |
</div>
|
| 33 |
</li>
|
| 34 |
</ul>
|
| 28 |
<li>
|
| 29 |
<label for="po_number" class="required"><em>*</em><?php echo $this->__('Purchase Order Number') ?></label>
|
| 30 |
<div class="input-box">
|
| 31 |
+
<input type="text" id="po_number" name="payment[po_number]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Purchase Order Number')) ?>" class="input-text required-entry" value="<?php echo $this->escapeHtml($this->getInfoData('po_number')) ?>" />
|
| 32 |
</div>
|
| 33 |
</li>
|
| 34 |
</ul>
|
app/design/frontend/base/default/template/paypal/express/review.phtml
CHANGED
|
@@ -109,10 +109,10 @@
|
|
| 109 |
<form method="post" id="order_review_form" action="<?php echo $this->getPlaceOrderUrl() ?>">
|
| 110 |
<?php echo $this->getChildHtml('agreements'); ?>
|
| 111 |
<div class="buttons-set buttons-set-order" id="review-buttons-container">
|
| 112 |
-
<button type="button" id="review_button" value="<?php echo $this->__('Place Order') ?>" class="button btn-checkout"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
| 113 |
-
<button type="button" id="review_submit" value="<?php echo $this->__('Place Order') ?>" class="button btn-checkout"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
| 114 |
<span class="please-wait" id="review-please-wait" style="display:none;">
|
| 115 |
-
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
| 116 |
</span>
|
| 117 |
</div>
|
| 118 |
</form>
|
| 109 |
<form method="post" id="order_review_form" action="<?php echo $this->getPlaceOrderUrl() ?>">
|
| 110 |
<?php echo $this->getChildHtml('agreements'); ?>
|
| 111 |
<div class="buttons-set buttons-set-order" id="review-buttons-container">
|
| 112 |
+
<button type="button" id="review_button" value="<?php echo Mage::helper('core')->quoteEscape($this->__('Place Order')) ?>" class="button btn-checkout"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
| 113 |
+
<button type="button" id="review_submit" value="<?php echo Mage::helper('core')->quoteEscape($this->__('Place Order')) ?>" class="button btn-checkout"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
| 114 |
<span class="please-wait" id="review-please-wait" style="display:none;">
|
| 115 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Submitting order information...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Submitting order information...')) ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
| 116 |
</span>
|
| 117 |
</div>
|
| 118 |
</form>
|
app/design/frontend/base/default/template/paypal/express/shortcut.phtml
CHANGED
|
@@ -33,27 +33,27 @@
|
|
| 33 |
<?php $shortcutHtmlId = $this->getShortcutHtmlId() ?>
|
| 34 |
<?php $bmlShortcutHtmlId = $this->getBmlShortcutHtmlId() ?>
|
| 35 |
<?php if ($this->isOrPositionBefore()): ?>
|
| 36 |
-
<span class="paypal-or"><?php echo $this->__('-OR-')
|
| 37 |
<?php endif; ?>
|
| 38 |
-
<a data-action="checkout-form-submit" id="<?php echo $shortcutHtmlId ?>" href="<?php echo $this->getCheckoutUrl()?>"><img src="<?php echo $this->getImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal')
|
| 39 |
<?php if ($this->getIsBmlEnabled()): ?>
|
| 40 |
-
<span class="paypal-or"><?php echo $this->__('-OR-')
|
| 41 |
</p>
|
| 42 |
<li class="bml-checkout-type">
|
| 43 |
<p class="paypal-logo">
|
| 44 |
<span class="bml_button">
|
| 45 |
-
<a id="<?php echo $bmlShortcutHtmlId ?>" href="<?php echo $this->getBmlCheckoutUrl()?>"><img src="<?php echo $this->getBmlImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal Paypal Credit')
|
| 46 |
-
<a href="<?php echo $this->getMarketMessageUrl()?>"><img src="<?php echo $this->getMarketMessage()?>" /></a>
|
| 47 |
</span>
|
| 48 |
</p>
|
| 49 |
</li>
|
| 50 |
<?php else: ?>
|
| 51 |
</p>
|
| 52 |
-
<?php endif
|
| 53 |
<?php if ($this->isOrPositionAfter()): ?>
|
| 54 |
<li>
|
| 55 |
<p class="paypal-logo">
|
| 56 |
-
<span class="paypal-or"><?php echo $this->__('-OR-')
|
| 57 |
</p>
|
| 58 |
</li>
|
| 59 |
<?php endif; ?>
|
|
@@ -65,7 +65,7 @@
|
|
| 65 |
//<![CDATA[
|
| 66 |
$$('#<?php echo $shortcutHtmlId ?>','#<?php echo $bmlShortcutHtmlId ?>').invoke('observe', 'click', function(event) {
|
| 67 |
<?php if ($this->getConfirmationUrl()): ?>
|
| 68 |
-
if (confirm('<?php echo Mage::helper('core')->jsQuoteEscape($this->getConfirmationMessage())?>')) {
|
| 69 |
this.href = '<?php echo $this->getConfirmationUrl() ?>';
|
| 70 |
}
|
| 71 |
<?php endif; ?>
|
| 33 |
<?php $shortcutHtmlId = $this->getShortcutHtmlId() ?>
|
| 34 |
<?php $bmlShortcutHtmlId = $this->getBmlShortcutHtmlId() ?>
|
| 35 |
<?php if ($this->isOrPositionBefore()): ?>
|
| 36 |
+
<span class="paypal-or"><?php echo $this->__('-OR-'); ?></span>
|
| 37 |
<?php endif; ?>
|
| 38 |
+
<a data-action="checkout-form-submit" id="<?php echo $shortcutHtmlId ?>" href="<?php echo $this->getCheckoutUrl() ?>"><img src="<?php echo $this->getImageUrl() ?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal'); ?>" title="<?php echo Mage::helper('paypal')->__('Checkout with PayPal'); ?>" /></a>
|
| 39 |
<?php if ($this->getIsBmlEnabled()): ?>
|
| 40 |
+
<span class="paypal-or"><?php echo $this->__('-OR-'); ?></span>
|
| 41 |
</p>
|
| 42 |
<li class="bml-checkout-type">
|
| 43 |
<p class="paypal-logo">
|
| 44 |
<span class="bml_button">
|
| 45 |
+
<a id="<?php echo $bmlShortcutHtmlId ?>" href="<?php echo $this->getBmlCheckoutUrl() ?>"><img src="<?php echo $this->getBmlImageUrl() ?>" alt="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('paypal')->__('Checkout with PayPal Paypal Credit')); ?>" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('paypal')->__('Checkout with PayPal Paypal Credit')); ?>" /></a>
|
| 46 |
+
<a href="<?php echo $this->getMarketMessageUrl() ?>"><img src="<?php echo $this->getMarketMessage() ?>" /></a>
|
| 47 |
</span>
|
| 48 |
</p>
|
| 49 |
</li>
|
| 50 |
<?php else: ?>
|
| 51 |
</p>
|
| 52 |
+
<?php endif; ?>
|
| 53 |
<?php if ($this->isOrPositionAfter()): ?>
|
| 54 |
<li>
|
| 55 |
<p class="paypal-logo">
|
| 56 |
+
<span class="paypal-or"><?php echo $this->__('-OR-'); ?></span>
|
| 57 |
</p>
|
| 58 |
</li>
|
| 59 |
<?php endif; ?>
|
| 65 |
//<![CDATA[
|
| 66 |
$$('#<?php echo $shortcutHtmlId ?>','#<?php echo $bmlShortcutHtmlId ?>').invoke('observe', 'click', function(event) {
|
| 67 |
<?php if ($this->getConfirmationUrl()): ?>
|
| 68 |
+
if (confirm('<?php echo Mage::helper('core')->jsQuoteEscape($this->getConfirmationMessage()) ?>')) {
|
| 69 |
this.href = '<?php echo $this->getConfirmationUrl() ?>';
|
| 70 |
}
|
| 71 |
<?php endif; ?>
|
app/design/frontend/base/default/template/paypal/hss/redirect.phtml
CHANGED
|
@@ -48,7 +48,7 @@ if (window.top == window.self) {
|
|
| 48 |
window.top.document.getElementById('checkout-review-submit').show();
|
| 49 |
window.top.document.getElementById('iframe-warning').hide();
|
| 50 |
<?php if ($this->getErrorMsg()): ?>
|
| 51 |
-
alert('<?php echo $this->getErrorMsg() ?>');
|
| 52 |
<?php endif; ?>
|
| 53 |
<?php elseif ($this->getGotoSuccessPage()) : ?>
|
| 54 |
window.top.location="<?php echo $this->getUrl('checkout/onepage/success') ?>";
|
| 48 |
window.top.document.getElementById('checkout-review-submit').show();
|
| 49 |
window.top.document.getElementById('iframe-warning').hide();
|
| 50 |
<?php if ($this->getErrorMsg()): ?>
|
| 51 |
+
alert('<?php echo Mage::helper('core')->jsQuoteEscape($this->getErrorMsg()) ?>');
|
| 52 |
<?php endif; ?>
|
| 53 |
<?php elseif ($this->getGotoSuccessPage()) : ?>
|
| 54 |
window.top.location="<?php echo $this->getUrl('checkout/onepage/success') ?>";
|
app/design/frontend/base/default/template/paypal/hss/review/button.phtml
CHANGED
|
@@ -24,4 +24,4 @@
|
|
| 24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
-
<button type="submit" title="<?php echo $this->__('Continue') ?>" class="button btn-checkout" onclick="review.save();"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
| 24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Continue')) ?>" class="button btn-checkout" onclick="review.save();"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
app/design/frontend/base/default/template/paypal/partner/logo.phtml
CHANGED
|
@@ -30,5 +30,5 @@
|
|
| 30 |
*/
|
| 31 |
?>
|
| 32 |
<div class="paypal-logo">
|
| 33 |
-
<a href="#" title="<?php echo Mage::helper('paypal')->__('Additional Options') ?>" onclick="javascript:window.open('<?php echo $this->getAboutPaypalPageUrl() ?>','paypal','width=600,height=350,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;"><img src="<?php echo $this->escapeHtml($this->getLogoImageUrl()) ?>" alt="<?php echo Mage::helper('paypal')->__('Additional Options') ?>" title="<?php echo Mage::helper('paypal')->__('Additional Options') ?>" /></a>
|
| 34 |
</div>
|
| 30 |
*/
|
| 31 |
?>
|
| 32 |
<div class="paypal-logo">
|
| 33 |
+
<a href="#" title="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('paypal')->__('Additional Options')) ?>" onclick="javascript:window.open('<?php echo $this->getAboutPaypalPageUrl() ?>','paypal','width=600,height=350,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;"><img src="<?php echo $this->escapeHtml($this->getLogoImageUrl()) ?>" alt="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('paypal')->__('Additional Options')) ?>" title="<?php echo Mage::helper('paypal')->__('Additional Options') ?>" /></a>
|
| 34 |
</div>
|
app/design/frontend/base/default/template/paypal/payflowadvanced/redirect.phtml
CHANGED
|
@@ -57,7 +57,7 @@
|
|
| 57 |
window_top.document.getElementById('checkout-review-submit').show();
|
| 58 |
window_top.document.getElementById('iframe-warning').hide();
|
| 59 |
<?php if ($this->getErrorMsg()): ?>
|
| 60 |
-
alert('<?php echo $this->getErrorMsg() ?>');
|
| 61 |
<?php endif; ?>
|
| 62 |
<?php elseif ($this->getGotoSuccessPage()) : ?>
|
| 63 |
window_top.location="<?php echo $this->getUrl('checkout/onepage/success') ?>";
|
| 57 |
window_top.document.getElementById('checkout-review-submit').show();
|
| 58 |
window_top.document.getElementById('iframe-warning').hide();
|
| 59 |
<?php if ($this->getErrorMsg()): ?>
|
| 60 |
+
alert('<?php echo $this->jsQuoteEscape($this->getErrorMsg()) ?>');
|
| 61 |
<?php endif; ?>
|
| 62 |
<?php elseif ($this->getGotoSuccessPage()) : ?>
|
| 63 |
window_top.location="<?php echo $this->getUrl('checkout/onepage/success') ?>";
|
app/design/frontend/base/default/template/paypal/payflowlink/redirect.phtml
CHANGED
|
@@ -57,7 +57,7 @@
|
|
| 57 |
window_top.document.getElementById('checkout-review-submit').show();
|
| 58 |
window_top.document.getElementById('iframe-warning').hide();
|
| 59 |
<?php if ($this->getErrorMsg()): ?>
|
| 60 |
-
alert('<?php echo $this->getErrorMsg() ?>');
|
| 61 |
<?php endif; ?>
|
| 62 |
<?php elseif ($this->getGotoSuccessPage()) : ?>
|
| 63 |
window_top.location="<?php echo $this->getUrl('checkout/onepage/success') ?>";
|
| 57 |
window_top.document.getElementById('checkout-review-submit').show();
|
| 58 |
window_top.document.getElementById('iframe-warning').hide();
|
| 59 |
<?php if ($this->getErrorMsg()): ?>
|
| 60 |
+
alert('<?php echo $this->jsQuoteEscape($this->getErrorMsg()) ?>');
|
| 61 |
<?php endif; ?>
|
| 62 |
<?php elseif ($this->getGotoSuccessPage()) : ?>
|
| 63 |
window_top.location="<?php echo $this->getUrl('checkout/onepage/success') ?>";
|
app/design/frontend/base/default/template/paypal/payment/mark.phtml
CHANGED
|
@@ -31,7 +31,7 @@
|
|
| 31 |
*/
|
| 32 |
?>
|
| 33 |
<!-- PayPal Logo -->
|
| 34 |
-
<img src="<?php echo $this->escapeHtml($this->getPaymentAcceptanceMarkSrc())?>" alt="<?php echo Mage::helper('paypal')->__('Acceptance Mark') ?>" class="v-middle" />
|
| 35 |
<a href="<?php echo $this->getPaymentAcceptanceMarkHref()?>" onclick="javascript:window.open('<?php echo $this->getPaymentAcceptanceMarkHref()?>','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, ,left=0, top=0, width=400, height=350'); return false;">
|
| 36 |
<?php if($this->getPaymentWhatIs()) {echo Mage::helper('paypal')->__($this->getPaymentWhatIs());} else {echo Mage::helper('paypal')->__('What is PayPal?');} ?>
|
| 37 |
</a>
|
| 31 |
*/
|
| 32 |
?>
|
| 33 |
<!-- PayPal Logo -->
|
| 34 |
+
<img src="<?php echo $this->escapeHtml($this->getPaymentAcceptanceMarkSrc())?>" alt="<?php echo Mage::helper('core')->quoteEscape(Mage::helper('paypal')->__('Acceptance Mark')) ?>" class="v-middle" />
|
| 35 |
<a href="<?php echo $this->getPaymentAcceptanceMarkHref()?>" onclick="javascript:window.open('<?php echo $this->getPaymentAcceptanceMarkHref()?>','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, ,left=0, top=0, width=400, height=350'); return false;">
|
| 36 |
<?php if($this->getPaymentWhatIs()) {echo Mage::helper('paypal')->__($this->getPaymentWhatIs());} else {echo Mage::helper('paypal')->__('What is PayPal?');} ?>
|
| 37 |
</a>
|
app/design/frontend/base/default/template/persistent/checkout/onepage/billing.phtml
CHANGED
|
@@ -45,14 +45,14 @@
|
|
| 45 |
<div class="field">
|
| 46 |
<label for="billing:company"><?php echo $this->__('Company') ?></label>
|
| 47 |
<div class="input-box">
|
| 48 |
-
<input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
| 49 |
</div>
|
| 50 |
</div>
|
| 51 |
<?php if(!$this->isCustomerLoggedIn()): ?>
|
| 52 |
<div class="field">
|
| 53 |
<label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 54 |
<div class="input-box">
|
| 55 |
-
<input type="text" name="billing[email]" id="billing:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
|
| 56 |
</div>
|
| 57 |
</div>
|
| 58 |
<?php endif; ?>
|
|
@@ -61,14 +61,14 @@
|
|
| 61 |
<li class="wide">
|
| 62 |
<label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
| 63 |
<div class="input-box">
|
| 64 |
-
<input type="text" title="<?php echo $this->__('Street Address') ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 65 |
</div>
|
| 66 |
</li>
|
| 67 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 68 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 69 |
<li class="wide">
|
| 70 |
<div class="input-box">
|
| 71 |
-
<input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="billing[street][]" id="billing:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 72 |
</div>
|
| 73 |
</li>
|
| 74 |
<?php endfor; ?>
|
|
@@ -76,7 +76,7 @@
|
|
| 76 |
<li class="wide">
|
| 77 |
<label for="billing:vat_id"><?php echo $this->__('VAT Number') ?></label>
|
| 78 |
<div class="input-box">
|
| 79 |
-
<input type="text" id="billing:vat_id" name="billing[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
| 80 |
</div>
|
| 81 |
</li>
|
| 82 |
<?php endif; ?>
|
|
@@ -84,13 +84,13 @@
|
|
| 84 |
<div class="field">
|
| 85 |
<label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 86 |
<div class="input-box">
|
| 87 |
-
<input type="text" title="<?php echo $this->__('City') ?>" name="billing[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="billing:city" />
|
| 88 |
</div>
|
| 89 |
</div>
|
| 90 |
<div class="field">
|
| 91 |
<label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 92 |
<div class="input-box">
|
| 93 |
-
<select id="billing:region_id" name="billing[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
| 94 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 95 |
</select>
|
| 96 |
<script type="text/javascript">
|
|
@@ -98,7 +98,7 @@
|
|
| 98 |
$('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
| 99 |
//]]>
|
| 100 |
</script>
|
| 101 |
-
<input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
| 102 |
</div>
|
| 103 |
</div>
|
| 104 |
</li>
|
|
@@ -106,7 +106,7 @@
|
|
| 106 |
<div class="field">
|
| 107 |
<label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 108 |
<div class="input-box">
|
| 109 |
-
<input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
| 110 |
</div>
|
| 111 |
</div>
|
| 112 |
<div class="field">
|
|
@@ -120,13 +120,13 @@
|
|
| 120 |
<div class="field">
|
| 121 |
<label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 122 |
<div class="input-box">
|
| 123 |
-
<input type="text" name="billing[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="billing:telephone" />
|
| 124 |
</div>
|
| 125 |
</div>
|
| 126 |
<div class="field">
|
| 127 |
<label for="billing:fax"><?php echo $this->__('Fax') ?></label>
|
| 128 |
<div class="input-box">
|
| 129 |
-
<input type="text" name="billing[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="billing:fax" />
|
| 130 |
</div>
|
| 131 |
</div>
|
| 132 |
</li>
|
|
@@ -157,13 +157,13 @@
|
|
| 157 |
<div class="field">
|
| 158 |
<label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
| 159 |
<div class="input-box">
|
| 160 |
-
<input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
|
| 161 |
</div>
|
| 162 |
</div>
|
| 163 |
<div class="field">
|
| 164 |
<label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
| 165 |
<div class="input-box">
|
| 166 |
-
<input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
|
| 167 |
</div>
|
| 168 |
</div>
|
| 169 |
</li>
|
|
@@ -171,7 +171,7 @@
|
|
| 171 |
<?php endif; ?>
|
| 172 |
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
| 173 |
<li class="control">
|
| 174 |
-
<input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
|
| 175 |
</li>
|
| 176 |
<?php else:?>
|
| 177 |
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
|
|
@@ -183,9 +183,9 @@
|
|
| 183 |
</li>
|
| 184 |
<?php if ($this->canShip()): ?>
|
| 185 |
<li class="control">
|
| 186 |
-
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to this address') ?>" onclick="$('shipping:same_as_billing').checked = true;" class="radio" /><label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label></li>
|
| 187 |
<li class="control">
|
| 188 |
-
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to different address') ?>" onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
|
| 189 |
</li>
|
| 190 |
<?php endif; ?>
|
| 191 |
</ul>
|
|
@@ -194,9 +194,9 @@
|
|
| 194 |
<?php endif; ?>
|
| 195 |
<div class="buttons-set" id="billing-buttons-container">
|
| 196 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 197 |
-
<button type="button" title="<?php echo $this->__('Continue') ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
| 198 |
<span class="please-wait" id="billing-please-wait" style="display:none;">
|
| 199 |
-
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
| 200 |
</span>
|
| 201 |
</div>
|
| 202 |
</fieldset>
|
|
@@ -206,7 +206,7 @@
|
|
| 206 |
var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
|
| 207 |
var billingForm = new VarienForm('co-billing-form');
|
| 208 |
|
| 209 |
-
//billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
|
| 210 |
$('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
|
| 211 |
|
| 212 |
var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'billing:postcode');
|
| 45 |
<div class="field">
|
| 46 |
<label for="billing:company"><?php echo $this->__('Company') ?></label>
|
| 47 |
<div class="input-box">
|
| 48 |
+
<input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Company')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
| 49 |
</div>
|
| 50 |
</div>
|
| 51 |
<?php if(!$this->isCustomerLoggedIn()): ?>
|
| 52 |
<div class="field">
|
| 53 |
<label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 54 |
<div class="input-box">
|
| 55 |
+
<input type="text" name="billing[email]" id="billing:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Email Address')) ?>" class="input-text validate-email required-entry" />
|
| 56 |
</div>
|
| 57 |
</div>
|
| 58 |
<?php endif; ?>
|
| 61 |
<li class="wide">
|
| 62 |
<label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
| 63 |
<div class="input-box">
|
| 64 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address')) ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 65 |
</div>
|
| 66 |
</li>
|
| 67 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 68 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 69 |
<li class="wide">
|
| 70 |
<div class="input-box">
|
| 71 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i)) ?>" name="billing[street][]" id="billing:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 72 |
</div>
|
| 73 |
</li>
|
| 74 |
<?php endfor; ?>
|
| 76 |
<li class="wide">
|
| 77 |
<label for="billing:vat_id"><?php echo $this->__('VAT Number') ?></label>
|
| 78 |
<div class="input-box">
|
| 79 |
+
<input type="text" id="billing:vat_id" name="billing[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('VAT Number')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
| 80 |
</div>
|
| 81 |
</li>
|
| 82 |
<?php endif; ?>
|
| 84 |
<div class="field">
|
| 85 |
<label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 86 |
<div class="input-box">
|
| 87 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('City')) ?>" name="billing[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="billing:city" />
|
| 88 |
</div>
|
| 89 |
</div>
|
| 90 |
<div class="field">
|
| 91 |
<label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 92 |
<div class="input-box">
|
| 93 |
+
<select id="billing:region_id" name="billing[region_id]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="validate-select" style="display:none;">
|
| 94 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 95 |
</select>
|
| 96 |
<script type="text/javascript">
|
| 98 |
$('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
| 99 |
//]]>
|
| 100 |
</script>
|
| 101 |
+
<input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
| 102 |
</div>
|
| 103 |
</div>
|
| 104 |
</li>
|
| 106 |
<div class="field">
|
| 107 |
<label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 108 |
<div class="input-box">
|
| 109 |
+
<input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Zip/Postal Code')) ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
| 110 |
</div>
|
| 111 |
</div>
|
| 112 |
<div class="field">
|
| 120 |
<div class="field">
|
| 121 |
<label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 122 |
<div class="input-box">
|
| 123 |
+
<input type="text" name="billing[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Telephone')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="billing:telephone" />
|
| 124 |
</div>
|
| 125 |
</div>
|
| 126 |
<div class="field">
|
| 127 |
<label for="billing:fax"><?php echo $this->__('Fax') ?></label>
|
| 128 |
<div class="input-box">
|
| 129 |
+
<input type="text" name="billing[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Fax')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="billing:fax" />
|
| 130 |
</div>
|
| 131 |
</div>
|
| 132 |
</li>
|
| 157 |
<div class="field">
|
| 158 |
<label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
| 159 |
<div class="input-box">
|
| 160 |
+
<input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Password')) ?>" class="input-text required-entry validate-password" />
|
| 161 |
</div>
|
| 162 |
</div>
|
| 163 |
<div class="field">
|
| 164 |
<label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
| 165 |
<div class="input-box">
|
| 166 |
+
<input type="password" name="billing[confirm_password]" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Confirm Password')) ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
|
| 167 |
</div>
|
| 168 |
</div>
|
| 169 |
</li>
|
| 171 |
<?php endif; ?>
|
| 172 |
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
| 173 |
<li class="control">
|
| 174 |
+
<input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Save in address book')) ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
|
| 175 |
</li>
|
| 176 |
<?php else:?>
|
| 177 |
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
|
| 183 |
</li>
|
| 184 |
<?php if ($this->canShip()): ?>
|
| 185 |
<li class="control">
|
| 186 |
+
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo Mage::helper('core')->quoteEscape($this->__('Ship to this address')) ?>" onclick="$('shipping:same_as_billing').checked = true;" class="radio" /><label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label></li>
|
| 187 |
<li class="control">
|
| 188 |
+
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo Mage::helper('core')->quoteEscape($this->__('Ship to different address')) ?>" onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
|
| 189 |
</li>
|
| 190 |
<?php endif; ?>
|
| 191 |
</ul>
|
| 194 |
<?php endif; ?>
|
| 195 |
<div class="buttons-set" id="billing-buttons-container">
|
| 196 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 197 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Continue')) ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
| 198 |
<span class="please-wait" id="billing-please-wait" style="display:none;">
|
| 199 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Loading next step...')) ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
| 200 |
</span>
|
| 201 |
</div>
|
| 202 |
</fieldset>
|
| 206 |
var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
|
| 207 |
var billingForm = new VarienForm('co-billing-form');
|
| 208 |
|
| 209 |
+
//billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo Mage::helper('core')->jsQuoteEscape($this->__('Select State/Province...')) ?>');
|
| 210 |
$('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
|
| 211 |
|
| 212 |
var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'billing:postcode');
|
app/design/frontend/base/default/template/persistent/customer/form/login.phtml
CHANGED
|
@@ -54,13 +54,13 @@
|
|
| 54 |
<li>
|
| 55 |
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 56 |
<div class="input-box">
|
| 57 |
-
<input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
|
| 58 |
</div>
|
| 59 |
</li>
|
| 60 |
<li>
|
| 61 |
<label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
| 62 |
<div class="input-box">
|
| 63 |
-
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
|
| 64 |
</div>
|
| 65 |
</li>
|
| 66 |
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
|
@@ -74,13 +74,13 @@
|
|
| 74 |
<div class="col2-set">
|
| 75 |
<div class="col-1 new-users">
|
| 76 |
<div class="buttons-set">
|
| 77 |
-
<button type="button" title="<?php echo $this->__('Create an Account') ?>" class="button" onclick="window.location='<?php echo Mage::helper('persistent')->getCreateAccountUrl($this->getCreateAccountUrl()) ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
|
| 78 |
</div>
|
| 79 |
</div>
|
| 80 |
<div class="col-2 registered-users">
|
| 81 |
<div class="buttons-set">
|
| 82 |
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
| 83 |
-
<button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
| 84 |
</div>
|
| 85 |
</div>
|
| 86 |
</div>
|
| 54 |
<li>
|
| 55 |
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 56 |
<div class="input-box">
|
| 57 |
+
<input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Email Address')) ?>" />
|
| 58 |
</div>
|
| 59 |
</li>
|
| 60 |
<li>
|
| 61 |
<label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
| 62 |
<div class="input-box">
|
| 63 |
+
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Password')) ?>" />
|
| 64 |
</div>
|
| 65 |
</li>
|
| 66 |
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
| 74 |
<div class="col2-set">
|
| 75 |
<div class="col-1 new-users">
|
| 76 |
<div class="buttons-set">
|
| 77 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Create an Account')) ?>" class="button" onclick="window.location='<?php echo Mage::helper('persistent')->getCreateAccountUrl($this->getCreateAccountUrl()) ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
|
| 78 |
</div>
|
| 79 |
</div>
|
| 80 |
<div class="col-2 registered-users">
|
| 81 |
<div class="buttons-set">
|
| 82 |
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
| 83 |
+
<button type="submit" class="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Login')) ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
| 84 |
</div>
|
| 85 |
</div>
|
| 86 |
</div>
|
app/design/frontend/base/default/template/persistent/customer/form/register.phtml
CHANGED
|
@@ -50,13 +50,13 @@
|
|
| 50 |
<li>
|
| 51 |
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 52 |
<div class="input-box">
|
| 53 |
-
<input type="text" name="email" id="email_address" value="<?php echo $this->escapeHtml($this->getFormData()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
|
| 54 |
</div>
|
| 55 |
</li>
|
| 56 |
<?php if ($this->isNewsletterEnabled()): ?>
|
| 57 |
<li class="control">
|
| 58 |
<div class="input-box">
|
| 59 |
-
<input type="checkbox" name="is_subscribed" title="<?php echo $this->__('Sign Up for Newsletter') ?>" value="1" id="is_subscribed"<?php if($this->getFormData()->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" />
|
| 60 |
</div>
|
| 61 |
<label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
|
| 62 |
</li>
|
|
@@ -84,13 +84,13 @@
|
|
| 84 |
<div class="field">
|
| 85 |
<label for="company"><?php echo $this->__('Company') ?></label>
|
| 86 |
<div class="input-box">
|
| 87 |
-
<input type="text" name="company" id="company" value="<?php echo $this->escapeHtml($this->getFormData()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
| 88 |
</div>
|
| 89 |
</div>
|
| 90 |
<div class="field">
|
| 91 |
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 92 |
<div class="input-box">
|
| 93 |
-
<input type="text" name="telephone" id="telephone" value="<?php echo $this->escapeHtml($this->getFormData()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" />
|
| 94 |
</div>
|
| 95 |
</div>
|
| 96 |
</li>
|
|
@@ -98,14 +98,14 @@
|
|
| 98 |
<li class="wide">
|
| 99 |
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
| 100 |
<div class="input-box">
|
| 101 |
-
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 102 |
</div>
|
| 103 |
</li>
|
| 104 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 105 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 106 |
<li class="wide">
|
| 107 |
<div class="input-box">
|
| 108 |
-
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 109 |
</div>
|
| 110 |
</li>
|
| 111 |
<?php endfor; ?>
|
|
@@ -113,13 +113,13 @@
|
|
| 113 |
<div class="field">
|
| 114 |
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 115 |
<div class="input-box">
|
| 116 |
-
<input type="text" name="city" value="<?php echo $this->escapeHtml($this->getFormData()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
|
| 117 |
</div>
|
| 118 |
</div>
|
| 119 |
<div class="field">
|
| 120 |
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 121 |
<div class="input-box">
|
| 122 |
-
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
| 123 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 124 |
</select>
|
| 125 |
<script type="text/javascript">
|
|
@@ -127,7 +127,7 @@
|
|
| 127 |
$('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
|
| 128 |
//]]>
|
| 129 |
</script>
|
| 130 |
-
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
| 131 |
</div>
|
| 132 |
</div>
|
| 133 |
</li>
|
|
@@ -135,7 +135,7 @@
|
|
| 135 |
<div class="field">
|
| 136 |
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 137 |
<div class="input-box">
|
| 138 |
-
<input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getFormData()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
| 139 |
</div>
|
| 140 |
</div>
|
| 141 |
<div class="field">
|
|
@@ -157,13 +157,13 @@
|
|
| 157 |
<div class="field">
|
| 158 |
<label for="password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
| 159 |
<div class="input-box">
|
| 160 |
-
<input type="password" name="password" id="password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
|
| 161 |
</div>
|
| 162 |
</div>
|
| 163 |
<div class="field">
|
| 164 |
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
| 165 |
<div class="input-box">
|
| 166 |
-
<input type="password" name="confirmation" title="<?php echo $this->__('Confirm Password') ?>" id="confirmation" class="input-text required-entry validate-cpassword" />
|
| 167 |
</div>
|
| 168 |
</div>
|
| 169 |
</li>
|
|
@@ -175,7 +175,7 @@
|
|
| 175 |
<div class="buttons-set">
|
| 176 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 177 |
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="back-link"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 178 |
-
<button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
| 179 |
</div>
|
| 180 |
<?php if (Mage::helper('checkout')->isContextCheckout()): ?>
|
| 181 |
<input name="context" type="hidden" value="checkout" />
|
| 50 |
<li>
|
| 51 |
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
| 52 |
<div class="input-box">
|
| 53 |
+
<input type="text" name="email" id="email_address" value="<?php echo $this->escapeHtml($this->getFormData()->getEmail()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Email Address')) ?>" class="input-text validate-email required-entry" />
|
| 54 |
</div>
|
| 55 |
</li>
|
| 56 |
<?php if ($this->isNewsletterEnabled()): ?>
|
| 57 |
<li class="control">
|
| 58 |
<div class="input-box">
|
| 59 |
+
<input type="checkbox" name="is_subscribed" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Sign Up for Newsletter')) ?>" value="1" id="is_subscribed"<?php if($this->getFormData()->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" />
|
| 60 |
</div>
|
| 61 |
<label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
|
| 62 |
</li>
|
| 84 |
<div class="field">
|
| 85 |
<label for="company"><?php echo $this->__('Company') ?></label>
|
| 86 |
<div class="input-box">
|
| 87 |
+
<input type="text" name="company" id="company" value="<?php echo $this->escapeHtml($this->getFormData()->getCompany()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Company')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
| 88 |
</div>
|
| 89 |
</div>
|
| 90 |
<div class="field">
|
| 91 |
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
| 92 |
<div class="input-box">
|
| 93 |
+
<input type="text" name="telephone" id="telephone" value="<?php echo $this->escapeHtml($this->getFormData()->getTelephone()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Telephone')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" />
|
| 94 |
</div>
|
| 95 |
</div>
|
| 96 |
</li>
|
| 98 |
<li class="wide">
|
| 99 |
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
| 100 |
<div class="input-box">
|
| 101 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet(1)) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address')) ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 102 |
</div>
|
| 103 |
</li>
|
| 104 |
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
| 105 |
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
| 106 |
<li class="wide">
|
| 107 |
<div class="input-box">
|
| 108 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet($_i)) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Street Address %s', $_i)) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
| 109 |
</div>
|
| 110 |
</li>
|
| 111 |
<?php endfor; ?>
|
| 113 |
<div class="field">
|
| 114 |
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
| 115 |
<div class="input-box">
|
| 116 |
+
<input type="text" name="city" value="<?php echo $this->escapeHtml($this->getFormData()->getCity()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('City')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
|
| 117 |
</div>
|
| 118 |
</div>
|
| 119 |
<div class="field">
|
| 120 |
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
| 121 |
<div class="input-box">
|
| 122 |
+
<select id="region_id" name="region_id" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="validate-select" style="display:none;">
|
| 123 |
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
| 124 |
</select>
|
| 125 |
<script type="text/javascript">
|
| 127 |
$('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
|
| 128 |
//]]>
|
| 129 |
</script>
|
| 130 |
+
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getRegion()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('State/Province')) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
| 131 |
</div>
|
| 132 |
</div>
|
| 133 |
</li>
|
| 135 |
<div class="field">
|
| 136 |
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
| 137 |
<div class="input-box">
|
| 138 |
+
<input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getFormData()->getPostcode()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Zip/Postal Code')) ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
| 139 |
</div>
|
| 140 |
</div>
|
| 141 |
<div class="field">
|
| 157 |
<div class="field">
|
| 158 |
<label for="password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
| 159 |
<div class="input-box">
|
| 160 |
+
<input type="password" name="password" id="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Password')) ?>" class="input-text required-entry validate-password" />
|
| 161 |
</div>
|
| 162 |
</div>
|
| 163 |
<div class="field">
|
| 164 |
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
| 165 |
<div class="input-box">
|
| 166 |
+
<input type="password" name="confirmation" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Confirm Password')) ?>" id="confirmation" class="input-text required-entry validate-cpassword" />
|
| 167 |
</div>
|
| 168 |
</div>
|
| 169 |
</li>
|
| 175 |
<div class="buttons-set">
|
| 176 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 177 |
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="back-link"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 178 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Submit')) ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
| 179 |
</div>
|
| 180 |
<?php if (Mage::helper('checkout')->isContextCheckout()): ?>
|
| 181 |
<input name="context" type="hidden" value="checkout" />
|
app/design/frontend/base/default/template/persistent/remember_me.phtml
CHANGED
|
@@ -34,7 +34,7 @@
|
|
| 34 |
<li id="remember-me-box" class="control">
|
| 35 |
<?php $rememberMeId = 'remember_me' . Mage::helper('core')->getRandomString(10); ?>
|
| 36 |
<div class="input-box">
|
| 37 |
-
<input type="checkbox" name="persistent_remember_me" class="checkbox" id="<?php echo $rememberMeId; ?>"<?php if ($this->isRememberMeChecked()): ?> checked="checked"<?php endif; ?> title="<?php echo $this->__('Remember Me') ?>" />
|
| 38 |
</div>
|
| 39 |
<label for="<?php echo $rememberMeId; ?>"><?php echo $this->__('Remember Me') ?></label>
|
| 40 |
<a class="link-tip" href="#"><?php echo $this->__('What\'s this?') ?></a>
|
| 34 |
<li id="remember-me-box" class="control">
|
| 35 |
<?php $rememberMeId = 'remember_me' . Mage::helper('core')->getRandomString(10); ?>
|
| 36 |
<div class="input-box">
|
| 37 |
+
<input type="checkbox" name="persistent_remember_me" class="checkbox" id="<?php echo $rememberMeId; ?>"<?php if ($this->isRememberMeChecked()): ?> checked="checked"<?php endif; ?> title="<?php echo Mage::helper('core')->quoteEscape($this->__('Remember Me')) ?>" />
|
| 38 |
</div>
|
| 39 |
<label for="<?php echo $rememberMeId; ?>"><?php echo $this->__('Remember Me') ?></label>
|
| 40 |
<a class="link-tip" href="#"><?php echo $this->__('What\'s this?') ?></a>
|
app/design/frontend/base/default/template/persistent/remember_me_tooltip.phtml
CHANGED
|
@@ -35,12 +35,12 @@
|
|
| 35 |
<div id="remember-me-popup" class="remember-me-popup" style="display:none;">
|
| 36 |
<div class="remember-me-popup-head">
|
| 37 |
<h3>What's this?</h3>
|
| 38 |
-
<a href="#" class="remember-me-popup-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a>
|
| 39 |
</div>
|
| 40 |
<div class="remember-me-popup-body">
|
| 41 |
<p>Checking "Remember Me" will let you access your shopping cart on this computer when you are logged out</p>
|
| 42 |
<div class="remember-me-popup-close-button a-right">
|
| 43 |
-
<a href="#" class="remember-me-popup-close button" title="<?php echo $this->__('Close') ?>"><span><?php echo $this->__('Close') ?></span></a>
|
| 44 |
</div>
|
| 45 |
</div>
|
| 46 |
</div>
|
| 35 |
<div id="remember-me-popup" class="remember-me-popup" style="display:none;">
|
| 36 |
<div class="remember-me-popup-head">
|
| 37 |
<h3>What's this?</h3>
|
| 38 |
+
<a href="#" class="remember-me-popup-close" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Close')) ?>"><?php echo $this->__('Close') ?></a>
|
| 39 |
</div>
|
| 40 |
<div class="remember-me-popup-body">
|
| 41 |
<p>Checking "Remember Me" will let you access your shopping cart on this computer when you are logged out</p>
|
| 42 |
<div class="remember-me-popup-close-button a-right">
|
| 43 |
+
<a href="#" class="remember-me-popup-close button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Close')) ?>"><span><?php echo $this->__('Close') ?></span></a>
|
| 44 |
</div>
|
| 45 |
</div>
|
| 46 |
</div>
|
app/design/frontend/base/default/template/poll/active.phtml
CHANGED
|
@@ -58,7 +58,7 @@
|
|
| 58 |
<script type="text/javascript">decorateList('poll-answers');</script>
|
| 59 |
<?php endif; ?>
|
| 60 |
<div class="actions">
|
| 61 |
-
<button type="submit" title="<?php echo $this->__('Vote') ?>" class="button"><span><span><?php echo $this->__('Vote') ?></span></span></button>
|
| 62 |
</div>
|
| 63 |
</div>
|
| 64 |
</form>
|
| 58 |
<script type="text/javascript">decorateList('poll-answers');</script>
|
| 59 |
<?php endif; ?>
|
| 60 |
<div class="actions">
|
| 61 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Vote')) ?>" class="button"><span><span><?php echo $this->__('Vote') ?></span></span></button>
|
| 62 |
</div>
|
| 63 |
</div>
|
| 64 |
</form>
|
app/design/frontend/base/default/template/reports/home_product_compared.phtml
CHANGED
|
@@ -39,7 +39,7 @@
|
|
| 39 |
<?php echo $this->getPriceHtml($_product, true, '-home-compared') ?>
|
| 40 |
<div class="actions">
|
| 41 |
<?php if($_product->isSaleable()): ?>
|
| 42 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 43 |
<?php else: ?>
|
| 44 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 45 |
<?php endif; ?>
|
| 39 |
<?php echo $this->getPriceHtml($_product, true, '-home-compared') ?>
|
| 40 |
<div class="actions">
|
| 41 |
<?php if($_product->isSaleable()): ?>
|
| 42 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 43 |
<?php else: ?>
|
| 44 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 45 |
<?php endif; ?>
|
app/design/frontend/base/default/template/reports/home_product_viewed.phtml
CHANGED
|
@@ -44,7 +44,7 @@
|
|
| 44 |
<?php echo $this->getPriceHtml($_product, true, '-home-viewed') ?>
|
| 45 |
<div class="actions">
|
| 46 |
<?php if($_product->isSaleable()): ?>
|
| 47 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 48 |
<?php else: ?>
|
| 49 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 50 |
<?php endif; ?>
|
| 44 |
<?php echo $this->getPriceHtml($_product, true, '-home-viewed') ?>
|
| 45 |
<div class="actions">
|
| 46 |
<?php if($_product->isSaleable()): ?>
|
| 47 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 48 |
<?php else: ?>
|
| 49 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 50 |
<?php endif; ?>
|
app/design/frontend/base/default/template/reports/widget/compared/content/compared_grid.phtml
CHANGED
|
@@ -42,7 +42,7 @@
|
|
| 42 |
<?php echo $this->getPriceHtml($_product, true, '-widget-compared-grid') ?>
|
| 43 |
<div class="actions">
|
| 44 |
<?php if($_product->isSaleable()): ?>
|
| 45 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 46 |
<?php else: ?>
|
| 47 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 48 |
<?php endif; ?>
|
| 42 |
<?php echo $this->getPriceHtml($_product, true, '-widget-compared-grid') ?>
|
| 43 |
<div class="actions">
|
| 44 |
<?php if($_product->isSaleable()): ?>
|
| 45 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 46 |
<?php else: ?>
|
| 47 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 48 |
<?php endif; ?>
|
app/design/frontend/base/default/template/reports/widget/compared/content/compared_list.phtml
CHANGED
|
@@ -40,7 +40,7 @@
|
|
| 40 |
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
| 41 |
<?php echo $this->getPriceHtml($_product, true, '-widget-compared-list') ?>
|
| 42 |
<?php if($_product->isSaleable()): ?>
|
| 43 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 44 |
<?php else: ?>
|
| 45 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 46 |
<?php endif; ?>
|
| 40 |
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
| 41 |
<?php echo $this->getPriceHtml($_product, true, '-widget-compared-list') ?>
|
| 42 |
<?php if($_product->isSaleable()): ?>
|
| 43 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 44 |
<?php else: ?>
|
| 45 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 46 |
<?php endif; ?>
|
app/design/frontend/base/default/template/reports/widget/viewed/content/viewed_grid.phtml
CHANGED
|
@@ -47,7 +47,7 @@
|
|
| 47 |
<?php echo $this->getPriceHtml($_product, true, '-widget-viewed-grid') ?>
|
| 48 |
<div class="actions">
|
| 49 |
<?php if($_product->isSaleable()): ?>
|
| 50 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 51 |
<?php else: ?>
|
| 52 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 53 |
<?php endif; ?>
|
| 47 |
<?php echo $this->getPriceHtml($_product, true, '-widget-viewed-grid') ?>
|
| 48 |
<div class="actions">
|
| 49 |
<?php if($_product->isSaleable()): ?>
|
| 50 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 51 |
<?php else: ?>
|
| 52 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 53 |
<?php endif; ?>
|
app/design/frontend/base/default/template/reports/widget/viewed/content/viewed_list.phtml
CHANGED
|
@@ -45,7 +45,7 @@
|
|
| 45 |
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
| 46 |
<?php echo $this->getPriceHtml($_product, true, '-widget-viewed-list') ?>
|
| 47 |
<?php if($_product->isSaleable()): ?>
|
| 48 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 49 |
<?php else: ?>
|
| 50 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 51 |
<?php endif; ?>
|
| 45 |
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
| 46 |
<?php echo $this->getPriceHtml($_product, true, '-widget-viewed-list') ?>
|
| 47 |
<?php if($_product->isSaleable()): ?>
|
| 48 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 49 |
<?php else: ?>
|
| 50 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
| 51 |
<?php endif; ?>
|
app/design/frontend/base/default/template/review/form.phtml
CHANGED
|
@@ -96,7 +96,7 @@
|
|
| 96 |
var dataForm = new VarienForm('review-form');
|
| 97 |
Validation.addAllThese(
|
| 98 |
[
|
| 99 |
-
['validate-rating', '<?php echo $this->__('Please select one of each of the ratings above') ?>', function(v) {
|
| 100 |
var trs = $('product-review-table').select('tr');
|
| 101 |
var inputs;
|
| 102 |
var error = 1;
|
| 96 |
var dataForm = new VarienForm('review-form');
|
| 97 |
Validation.addAllThese(
|
| 98 |
[
|
| 99 |
+
['validate-rating', '<?php echo Mage::helper('core')->jsQuoteEscape($this->__('Please select one of each of the ratings above')) ?>', function(v) {
|
| 100 |
var trs = $('product-review-table').select('tr');
|
| 101 |
var inputs;
|
| 102 |
var error = 1;
|
app/design/frontend/base/default/template/rss/order/details.phtml
CHANGED
|
@@ -31,8 +31,9 @@ store name = $_order->getStore()->getGroup()->getName()
|
|
| 31 |
?>
|
| 32 |
<?php $_order=$this->getOrder() ?>
|
| 33 |
<div>
|
| 34 |
-
<?php
|
| 35 |
-
<?php echo $this->__('
|
|
|
|
| 36 |
</div>
|
| 37 |
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="border:1px solid #bebcb7; background:#f8f7f5;">
|
| 38 |
<thead>
|
| 31 |
?>
|
| 32 |
<?php $_order=$this->getOrder() ?>
|
| 33 |
<div>
|
| 34 |
+
<?php $customerName = $_order->getCustomerFirstname() ? $_order->getCustomerName() : $_order->getBillingAddress()->getName(); ?>
|
| 35 |
+
<?php echo $this->__('Customer Name: %s', Mage::helper('core')->quoteEscape($customerName)) ?><br />
|
| 36 |
+
<?php echo $this->__('Purchased From: %s', Mage::helper('core')->quoteEscape($_order->getStore()->getGroup()->getName())) ?><br />
|
| 37 |
</div>
|
| 38 |
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="border:1px solid #bebcb7; background:#f8f7f5;">
|
| 39 |
<thead>
|
app/design/frontend/base/default/template/sales/billing/agreement/view.phtml
CHANGED
|
@@ -28,7 +28,7 @@
|
|
| 28 |
<div class="page-title title-buttons">
|
| 29 |
<h1><?php echo $this->__('Billing Agreement # %s', $this->escapeHtml($this->getReferenceId())) ?></h1>
|
| 30 |
<?php if ($this->getCanCancel()): ?>
|
| 31 |
-
<button type="button" title="<?php echo $this->__('Cancel') ?>" class="button" onclick="if( confirm('<?php echo $this->__('Are you sure you want to do this?') ?>') ) { window.location.href = '<?php echo $this->getCancelUrl() ?>'; } return false;"><span><span><?php echo $this->__('Cancel') ?></span></span></button>
|
| 32 |
<?php endif; ?>
|
| 33 |
</div>
|
| 34 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 28 |
<div class="page-title title-buttons">
|
| 29 |
<h1><?php echo $this->__('Billing Agreement # %s', $this->escapeHtml($this->getReferenceId())) ?></h1>
|
| 30 |
<?php if ($this->getCanCancel()): ?>
|
| 31 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Cancel')) ?>" class="button" onclick="if( confirm('<?php echo Mage::helper('core')->quoteEscape($this->__('Are you sure you want to do this?')) ?>') ) { window.location.href = '<?php echo $this->getCancelUrl() ?>'; } return false;"><span><span><?php echo $this->__('Cancel') ?></span></span></button>
|
| 32 |
<?php endif; ?>
|
| 33 |
</div>
|
| 34 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
app/design/frontend/base/default/template/sales/guest/form.phtml
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<div class="page-title">
|
| 2 |
<h1><?php echo Mage::helper('sales')->__('Orders and Returns') ?></h1>
|
| 3 |
</div>
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Magento
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
| 8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
| 9 |
+
* It is also available through the world-wide-web at this URL:
|
| 10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
| 11 |
+
* If you did not receive a copy of the license and are unable to
|
| 12 |
+
* obtain it through the world-wide-web, please send an email
|
| 13 |
+
* to license@magento.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* DISCLAIMER
|
| 16 |
+
*
|
| 17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 18 |
+
* versions in the future. If you wish to customize Magento for your
|
| 19 |
+
* needs please refer to http://www.magento.com for more information.
|
| 20 |
+
*
|
| 21 |
+
* @category design
|
| 22 |
+
* @package base_default
|
| 23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
| 24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
+
*/
|
| 26 |
+
?>
|
| 27 |
<div class="page-title">
|
| 28 |
<h1><?php echo Mage::helper('sales')->__('Orders and Returns') ?></h1>
|
| 29 |
</div>
|
app/design/frontend/base/default/template/sales/order/items.phtml
CHANGED
|
@@ -25,7 +25,7 @@
|
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
<?php $_order = $this->getOrder() ?>
|
| 28 |
-
<table class="data-table" id="my-orders-table" summary="<?php echo $this->__('Items Ordered') ?>">
|
| 29 |
<col />
|
| 30 |
<col width="1" />
|
| 31 |
<col width="1" />
|
|
@@ -54,7 +54,7 @@
|
|
| 54 |
<tr class="border<?php echo ($_index++ > $_count ?' last':'') ?>" id="order-item-gift-message-<?php echo $_item->getId() ?>" style="display:none;">
|
| 55 |
<?php $_giftMessage=$this->helper('giftmessage/message')->getGiftMessageForEntity($_item); ?>
|
| 56 |
<td class="gift-message-row" colspan="7">
|
| 57 |
-
<a href="#" title="<?php echo $this->__('Close') ?>" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>');" class="btn-close"><?php echo $this->__('Close') ?></a>
|
| 58 |
<dl class="gift-message">
|
| 59 |
<dt><strong><?php echo $this->__('From:') ?></strong> <?php echo $this->escapeHtml($_giftMessage->getRecipient()) ?></dt>
|
| 60 |
<dt><strong><?php echo $this->__('To:') ?></strong> <?php echo $this->escapeHtml($_giftMessage->getSender()) ?></dt>
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
<?php $_order = $this->getOrder() ?>
|
| 28 |
+
<table class="data-table" id="my-orders-table" summary="<?php echo Mage::helper('core')->quoteEscape($this->__('Items Ordered')) ?>">
|
| 29 |
<col />
|
| 30 |
<col width="1" />
|
| 31 |
<col width="1" />
|
| 54 |
<tr class="border<?php echo ($_index++ > $_count ?' last':'') ?>" id="order-item-gift-message-<?php echo $_item->getId() ?>" style="display:none;">
|
| 55 |
<?php $_giftMessage=$this->helper('giftmessage/message')->getGiftMessageForEntity($_item); ?>
|
| 56 |
<td class="gift-message-row" colspan="7">
|
| 57 |
+
<a href="#" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Close')) ?>" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>');" class="btn-close"><?php echo $this->__('Close') ?></a>
|
| 58 |
<dl class="gift-message">
|
| 59 |
<dt><strong><?php echo $this->__('From:') ?></strong> <?php echo $this->escapeHtml($_giftMessage->getRecipient()) ?></dt>
|
| 60 |
<dt><strong><?php echo $this->__('To:') ?></strong> <?php echo $this->escapeHtml($_giftMessage->getSender()) ?></dt>
|
app/design/frontend/base/default/template/sales/order/shipment/items.phtml
CHANGED
|
@@ -27,7 +27,7 @@
|
|
| 27 |
<?php $_order = $this->getOrder() ?>
|
| 28 |
<p class="order-links">
|
| 29 |
<?php if ($_order->getTracksCollection()->count()) : ?>
|
| 30 |
-
<a href="#" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_order) ?>','trackorder','width=800,height=600,top=0,left=0,resizable=yes,scrollbars=yes'); return false;" title="<?php echo $this->__('Track all shipment(s)') ?>"><?php echo $this->__('Track all shipments') ?></a> <span class="separator">|</span>
|
| 31 |
<?php endif; ?>
|
| 32 |
<a href="<?php echo $this->getPrintAllShipmentsUrl($_order) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print All Shipments') ?></a>
|
| 33 |
</p>
|
|
@@ -39,7 +39,7 @@
|
|
| 39 |
<tbody>
|
| 40 |
<tr>
|
| 41 |
<td colspan="2">
|
| 42 |
-
<a href="#" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_shipment) ?>','trackshipment','width=800,height=600,top=0,left=0,resizable=yes,scrollbars=yes'); return false;" title="<?php echo $this->__('Track this shipment') ?>"><?php echo $this->__('Track this shipment') ?></a>
|
| 43 |
</td>
|
| 44 |
</tr>
|
| 45 |
<tr>
|
| 27 |
<?php $_order = $this->getOrder() ?>
|
| 28 |
<p class="order-links">
|
| 29 |
<?php if ($_order->getTracksCollection()->count()) : ?>
|
| 30 |
+
<a href="#" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_order) ?>','trackorder','width=800,height=600,top=0,left=0,resizable=yes,scrollbars=yes'); return false;" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Track all shipment(s)')) ?>"><?php echo $this->__('Track all shipments') ?></a> <span class="separator">|</span>
|
| 31 |
<?php endif; ?>
|
| 32 |
<a href="<?php echo $this->getPrintAllShipmentsUrl($_order) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print All Shipments') ?></a>
|
| 33 |
</p>
|
| 39 |
<tbody>
|
| 40 |
<tr>
|
| 41 |
<td colspan="2">
|
| 42 |
+
<a href="#" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_shipment) ?>','trackshipment','width=800,height=600,top=0,left=0,resizable=yes,scrollbars=yes'); return false;" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Track this shipment')) ?>"><?php echo $this->__('Track this shipment') ?></a>
|
| 43 |
</td>
|
| 44 |
</tr>
|
| 45 |
<tr>
|
app/design/frontend/base/default/template/sales/order/view.phtml
CHANGED
|
@@ -57,7 +57,7 @@
|
|
| 57 |
<?php $_order = $this->getOrder() ?>
|
| 58 |
<h2 class="table-caption"><?php echo $this->__('Items Ordered') ?>
|
| 59 |
<?php if ($_order->getTracksCollection()->count()) : ?>
|
| 60 |
-
<span class="separator">|</span> <a href="#" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_order) ?>','trackorder','top=0,left=0,width=800,height=600,resizable=yes,scrollbars=yes'); return false;" title="<?php echo $this->__('Track your order') ?>"><?php echo $this->__('Track your order') ?></a>
|
| 61 |
<?php endif; ?>
|
| 62 |
</h2>
|
| 63 |
|
| 57 |
<?php $_order = $this->getOrder() ?>
|
| 58 |
<h2 class="table-caption"><?php echo $this->__('Items Ordered') ?>
|
| 59 |
<?php if ($_order->getTracksCollection()->count()) : ?>
|
| 60 |
+
<span class="separator">|</span> <a href="#" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_order) ?>','trackorder','top=0,left=0,width=800,height=600,resizable=yes,scrollbars=yes'); return false;" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Track your order')) ?>"><?php echo $this->__('Track your order') ?></a>
|
| 61 |
<?php endif; ?>
|
| 62 |
</h2>
|
| 63 |
|
app/design/frontend/base/default/template/sales/recurring/profile/view.phtml
CHANGED
|
@@ -32,16 +32,16 @@
|
|
| 32 |
<div class="page-title title-buttons">
|
| 33 |
<h1><?php echo $this->__('Recurring Profile # %s', $this->escapeHtml($this->getReferenceId())) ?></h1>
|
| 34 |
<?php if ($this->getCanCancel()): ?>
|
| 35 |
-
<button type="button" title="<?php echo $this->__('Cancel') ?>" class="button" onclick="if( confirm('<?php echo $this->getConfirmationMessage() ?>') ) { window.location.href = '<?php echo $this->getCancelUrl() ?>'; } return false;"><span><span><?php echo $this->__('Cancel') ?></span></span></button>
|
| 36 |
<?php endif; ?>
|
| 37 |
<?php if ($this->getCanSuspend()): ?>
|
| 38 |
-
<button type="button" title="<?php echo $this->__('Suspend') ?>" class="button" onclick="if( confirm('<?php echo $this->getConfirmationMessage() ?>') ) { window.location.href = '<?php echo $this->getSuspendUrl() ?>'; } return false;"><span><span><?php echo $this->__('Suspend') ?></span></span></button>
|
| 39 |
<?php endif; ?>
|
| 40 |
<?php if ($this->getCanActivate()): ?>
|
| 41 |
-
<button type="button" title="<?php echo $this->__('Activate') ?>" class="button" onclick="if( confirm('<?php echo $this->getConfirmationMessage() ?>') ) { window.location.href = '<?php echo $this->getActivateUrl() ?>'; } return false;"><span><span><?php echo $this->__('Activate') ?></span></span></button>
|
| 42 |
<?php endif; ?>
|
| 43 |
<?php if ($this->getCanUpdate()):?>
|
| 44 |
-
<button type="button" title="<?php echo $this->__('Get Update') ?>" class="button" onclick="if( confirm('<?php echo $this->getConfirmationMessage() ?>') ) { window.location.href = '<?php echo $this->getUpdateUrl() ?>'; } return false;"><span><span><?php echo $this->__('Get Update') ?></span></span></button>
|
| 45 |
<?php endif;?>
|
| 46 |
</div>
|
| 47 |
|
| 32 |
<div class="page-title title-buttons">
|
| 33 |
<h1><?php echo $this->__('Recurring Profile # %s', $this->escapeHtml($this->getReferenceId())) ?></h1>
|
| 34 |
<?php if ($this->getCanCancel()): ?>
|
| 35 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Cancel')) ?>" class="button" onclick="if( confirm('<?php echo Mage::helper('core')->quoteEscape($this->getConfirmationMessage(),true) ?>') ) { window.location.href = '<?php echo $this->getCancelUrl() ?>'; } return false;"><span><span><?php echo $this->__('Cancel') ?></span></span></button>
|
| 36 |
<?php endif; ?>
|
| 37 |
<?php if ($this->getCanSuspend()): ?>
|
| 38 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Suspend')) ?>" class="button" onclick="if( confirm('<?php echo Mage::helper('core')->quoteEscape($this->getConfirmationMessage(), true) ?>') ) { window.location.href = '<?php echo $this->getSuspendUrl() ?>'; } return false;"><span><span><?php echo $this->__('Suspend') ?></span></span></button>
|
| 39 |
<?php endif; ?>
|
| 40 |
<?php if ($this->getCanActivate()): ?>
|
| 41 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Activate')) ?>" class="button" onclick="if( confirm('<?php echo Mage::helper('core')->quoteEscape($this->getConfirmationMessage(),true) ?>') ) { window.location.href = '<?php echo $this->getActivateUrl() ?>'; } return false;"><span><span><?php echo $this->__('Activate') ?></span></span></button>
|
| 42 |
<?php endif; ?>
|
| 43 |
<?php if ($this->getCanUpdate()):?>
|
| 44 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Get Update')) ?>" class="button" onclick="if( confirm('<?php echo Mage::helper('core')->quoteEscape($this->getConfirmationMessage(), true) ?>') ) { window.location.href = '<?php echo $this->getUpdateUrl() ?>'; } return false;"><span><span><?php echo $this->__('Get Update') ?></span></span></button>
|
| 45 |
<?php endif;?>
|
| 46 |
</div>
|
| 47 |
|
app/design/frontend/base/default/template/sales/reorder/sidebar.phtml
CHANGED
|
@@ -47,7 +47,7 @@
|
|
| 47 |
<li class="item">
|
| 48 |
<?php if ($this->isItemAvailableForReorder($_item)): ?>
|
| 49 |
<?php $_showAddButtonFlag = true ?>
|
| 50 |
-
<input type="checkbox" name="order_items[]" id="reorder-item-<?php echo $_item->getId() ?>" value="<?php echo $_item->getId() ?>" title="<?php echo $this->__('Add to Cart') ?>" class="checkbox validate-one-required-by-name" />
|
| 51 |
<script type="text/javascript">
|
| 52 |
//<![CDATA[
|
| 53 |
$('reorder-item-<?php echo $_item->getId() ?>').advaiceContainer = 'cart-sidebar-reorder-advice-container';
|
|
@@ -62,7 +62,7 @@
|
|
| 62 |
<div id="cart-sidebar-reorder-advice-container"></div>
|
| 63 |
<div class="actions">
|
| 64 |
<?php if ($_showAddButtonFlag): ?>
|
| 65 |
-
<button type="submit" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 66 |
<?php endif; ?>
|
| 67 |
<a href="<?php echo $this->getUrl('customer/account') ?>"><?php echo $this->__('View All'); ?></a>
|
| 68 |
</div>
|
| 47 |
<li class="item">
|
| 48 |
<?php if ($this->isItemAvailableForReorder($_item)): ?>
|
| 49 |
<?php $_showAddButtonFlag = true ?>
|
| 50 |
+
<input type="checkbox" name="order_items[]" id="reorder-item-<?php echo $_item->getId() ?>" value="<?php echo $_item->getId() ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="checkbox validate-one-required-by-name" />
|
| 51 |
<script type="text/javascript">
|
| 52 |
//<![CDATA[
|
| 53 |
$('reorder-item-<?php echo $_item->getId() ?>').advaiceContainer = 'cart-sidebar-reorder-advice-container';
|
| 62 |
<div id="cart-sidebar-reorder-advice-container"></div>
|
| 63 |
<div class="actions">
|
| 64 |
<?php if ($_showAddButtonFlag): ?>
|
| 65 |
+
<button type="submit" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 66 |
<?php endif; ?>
|
| 67 |
<a href="<?php echo $this->getUrl('customer/account') ?>"><?php echo $this->__('View All'); ?></a>
|
| 68 |
</div>
|
app/design/frontend/base/default/template/sendfriend/send.phtml
CHANGED
|
@@ -78,13 +78,13 @@
|
|
| 78 |
<div class="field">
|
| 79 |
<label for="sender_name" class="required"><em>*</em><?php echo $this->__('Name:') ?></label>
|
| 80 |
<div class="input-box">
|
| 81 |
-
<input name="sender[name]" value="<?php echo $this->escapeHtml($this->getUserName()) ?>" title="<?php echo $this->__('Name') ?>" id="sender_name" type="text" class="input-text required-entry" />
|
| 82 |
</div>
|
| 83 |
</div>
|
| 84 |
<div class="field">
|
| 85 |
<label for="sender_email" class="required"><em>*</em><?php echo $this->__('Email:') ?></label>
|
| 86 |
<div class="input-box">
|
| 87 |
-
<input name="sender[email]" value="<?php echo $this->escapeHtml($this->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" id="sender_email" type="text" class="input-text required-entry validate-email" />
|
| 88 |
</div>
|
| 89 |
</div>
|
| 90 |
</li>
|
|
@@ -109,7 +109,7 @@
|
|
| 109 |
<div class="field">
|
| 110 |
<label for="recipients_email" class="required"><em>*</em><?php echo $this->__('Email Address:') ?></label>
|
| 111 |
<div class="input-box">
|
| 112 |
-
<input name="recipients[email][]" value="" title="<?php echo $this->__('Email Address') ?>" id="recipients_email" type="text" class="input-text required-entry validate-email" />
|
| 113 |
</div>
|
| 114 |
</div>
|
| 115 |
</li>
|
| 78 |
<div class="field">
|
| 79 |
<label for="sender_name" class="required"><em>*</em><?php echo $this->__('Name:') ?></label>
|
| 80 |
<div class="input-box">
|
| 81 |
+
<input name="sender[name]" value="<?php echo $this->escapeHtml($this->getUserName()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Name')) ?>" id="sender_name" type="text" class="input-text required-entry" />
|
| 82 |
</div>
|
| 83 |
</div>
|
| 84 |
<div class="field">
|
| 85 |
<label for="sender_email" class="required"><em>*</em><?php echo $this->__('Email:') ?></label>
|
| 86 |
<div class="input-box">
|
| 87 |
+
<input name="sender[email]" value="<?php echo $this->escapeHtml($this->getEmail()) ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Email Address')) ?>" id="sender_email" type="text" class="input-text required-entry validate-email" />
|
| 88 |
</div>
|
| 89 |
</div>
|
| 90 |
</li>
|
| 109 |
<div class="field">
|
| 110 |
<label for="recipients_email" class="required"><em>*</em><?php echo $this->__('Email Address:') ?></label>
|
| 111 |
<div class="input-box">
|
| 112 |
+
<input name="recipients[email][]" value="" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Email Address')) ?>" id="recipients_email" type="text" class="input-text required-entry validate-email" />
|
| 113 |
</div>
|
| 114 |
</div>
|
| 115 |
</li>
|
app/design/frontend/base/default/template/shipping/tracking/popup.phtml
CHANGED
|
@@ -56,7 +56,7 @@
|
|
| 56 |
<?php if($track->getErrorMessage()): ?>
|
| 57 |
<tr>
|
| 58 |
<th class="label"><?php echo $this->__('Error:'); ?></th>
|
| 59 |
-
<td class="error"><?php echo $this->__('Tracking information is currently not available. Please '); if ($this->getContactUsEnabled()) : ?><a href="<?php echo $this->getContactUs() ?>" title="<?php echo $this->__('contact us') ?>" onclick="this.target='_blank'"><?php echo $this->__('contact us') ?></a><?php echo $this->__(' for more information or '); endif; echo $this->__('email us at '); ?><a href="mailto:<?php echo $this->getStoreSupportEmail() ?>"><?php echo $this->getStoreSupportEmail() ?></a></td>
|
| 60 |
</tr>
|
| 61 |
<?php elseif($track->getTrackSummary()): ?>
|
| 62 |
<tr>
|
|
@@ -173,5 +173,5 @@
|
|
| 173 |
<p><?php echo $this->__('There is no tracking available.'); ?></p>
|
| 174 |
<?php endif; ?>
|
| 175 |
<div class="buttons-set">
|
| 176 |
-
<button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close(); window.opener.focus();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
|
| 177 |
</div>
|
| 56 |
<?php if($track->getErrorMessage()): ?>
|
| 57 |
<tr>
|
| 58 |
<th class="label"><?php echo $this->__('Error:'); ?></th>
|
| 59 |
+
<td class="error"><?php echo $this->__('Tracking information is currently not available. Please '); if ($this->getContactUsEnabled()) : ?><a href="<?php echo $this->getContactUs() ?>" title="<?php echo Mage::helper('core')->quoteEscape($this->__('contact us')) ?>" onclick="this.target='_blank'"><?php echo $this->__('contact us') ?></a><?php echo $this->__(' for more information or '); endif; echo $this->__('email us at '); ?><a href="mailto:<?php echo $this->getStoreSupportEmail() ?>"><?php echo $this->getStoreSupportEmail() ?></a></td>
|
| 60 |
</tr>
|
| 61 |
<?php elseif($track->getTrackSummary()): ?>
|
| 62 |
<tr>
|
| 173 |
<p><?php echo $this->__('There is no tracking available.'); ?></p>
|
| 174 |
<?php endif; ?>
|
| 175 |
<div class="buttons-set">
|
| 176 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Close Window')) ?>" class="button" onclick="window.close(); window.opener.focus();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
|
| 177 |
</div>
|
app/design/frontend/base/default/template/tag/customer/view.phtml
CHANGED
|
@@ -29,7 +29,7 @@
|
|
| 29 |
</div>
|
| 30 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 31 |
<p class="my-tag-edit">
|
| 32 |
-
<a href="#" title="<?php echo $this->__('Delete') ?>" onclick="if(confirm('<?php echo $this->__('Are you sure you want to delete this tag?') ?>')) window.location='<?php echo $this->getTagInfo()->getRemoveTagUrl(); ?>'; return false;" class="button btn-remove"><span><?php echo $this->__('Delete') ?></span></a>
|
| 33 |
<?php echo $this->__('<strong>Tag Name:</strong> %s', $this->escapeHtml($this->getTagInfo()->getName())) ?>
|
| 34 |
</p>
|
| 35 |
<div class="clearer"></div>
|
|
@@ -54,7 +54,7 @@
|
|
| 54 |
<?php if($_product->isSaleable()): ?>
|
| 55 |
<?php $params[Mage_Core_Model_Url::FORM_KEY] = Mage::getSingleton('core/session')->getFormKey() ?>
|
| 56 |
<?php $params['product'] = $_product->getId(); ?>
|
| 57 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getUrl('checkout/cart/add', $params) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 58 |
<?php endif; ?>
|
| 59 |
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
| 60 |
<ul class="add-to-links">
|
| 29 |
</div>
|
| 30 |
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
| 31 |
<p class="my-tag-edit">
|
| 32 |
+
<a href="#" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Delete')) ?>" onclick="if(confirm('<?php echo Mage::helper('core')->quoteEscape($this->__('Are you sure you want to delete this tag?'), true) ?>')) window.location='<?php echo $this->getTagInfo()->getRemoveTagUrl(); ?>'; return false;" class="button btn-remove"><span><?php echo $this->__('Delete') ?></span></a>
|
| 33 |
<?php echo $this->__('<strong>Tag Name:</strong> %s', $this->escapeHtml($this->getTagInfo()->getName())) ?>
|
| 34 |
</p>
|
| 35 |
<div class="clearer"></div>
|
| 54 |
<?php if($_product->isSaleable()): ?>
|
| 55 |
<?php $params[Mage_Core_Model_Url::FORM_KEY] = Mage::getSingleton('core/session')->getFormKey() ?>
|
| 56 |
<?php $params['product'] = $_product->getId(); ?>
|
| 57 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getUrl('checkout/cart/add', $params) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 58 |
<?php endif; ?>
|
| 59 |
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
| 60 |
<ul class="add-to-links">
|
app/design/frontend/base/default/template/tag/list.phtml
CHANGED
|
@@ -42,7 +42,7 @@
|
|
| 42 |
<div class="input-box">
|
| 43 |
<input type="text" class="input-text required-entry" name="productTagName" id="productTagName" />
|
| 44 |
</div>
|
| 45 |
-
<button type="button" title="<?php echo $this->__('Add Tags') ?>" class="button" onclick="submitTagForm()">
|
| 46 |
<span>
|
| 47 |
<span><?php echo $this->__('Add Tags') ?></span>
|
| 48 |
</span>
|
| 42 |
<div class="input-box">
|
| 43 |
<input type="text" class="input-text required-entry" name="productTagName" id="productTagName" />
|
| 44 |
</div>
|
| 45 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add Tags')) ?>" class="button" onclick="submitTagForm()">
|
| 46 |
<span>
|
| 47 |
<span><?php echo $this->__('Add Tags') ?></span>
|
| 48 |
</span>
|
app/design/frontend/base/default/template/wishlist/button/share.phtml
CHANGED
|
@@ -26,5 +26,5 @@
|
|
| 26 |
?>
|
| 27 |
|
| 28 |
<?php if($this->getWishlist()->getItemsCount()): ?>
|
| 29 |
-
<button type="submit" name="save_and_share" title="<?php echo $this->__('Share Wishlist') ?>" class="button btn-share"><span><span><?php echo $this->__('Share Wishlist') ?></span></span></button>
|
| 30 |
<?php endif;?>
|
| 26 |
?>
|
| 27 |
|
| 28 |
<?php if($this->getWishlist()->getItemsCount()): ?>
|
| 29 |
+
<button type="submit" name="save_and_share" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Share Wishlist')) ?>" class="button btn-share"><span><span><?php echo $this->__('Share Wishlist') ?></span></span></button>
|
| 30 |
<?php endif;?>
|
app/design/frontend/base/default/template/wishlist/button/tocart.phtml
CHANGED
|
@@ -26,5 +26,5 @@
|
|
| 26 |
?>
|
| 27 |
|
| 28 |
<?php if($this->getWishlist()->getItemsCount() && $this->getWishlist()->isSalable()): ?>
|
| 29 |
-
<button type="button" title="<?php echo $this->__('Add All to Cart') ?>" onclick="addAllWItemsToCart()" class="button btn-add"><span><span><?php echo $this->__('Add All to Cart') ?></span></span></button>
|
| 30 |
<?php endif;?>
|
| 26 |
?>
|
| 27 |
|
| 28 |
<?php if($this->getWishlist()->getItemsCount() && $this->getWishlist()->isSalable()): ?>
|
| 29 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add All to Cart')) ?>" onclick="addAllWItemsToCart()" class="button btn-add"><span><span><?php echo $this->__('Add All to Cart') ?></span></span></button>
|
| 30 |
<?php endif;?>
|
app/design/frontend/base/default/template/wishlist/button/update.phtml
CHANGED
|
@@ -26,5 +26,5 @@
|
|
| 26 |
?>
|
| 27 |
|
| 28 |
<?php if($this->getWishlist()->getItemsCount()): ?>
|
| 29 |
-
<button type="submit" name="do" title="<?php echo $this->__('Update Wishlist') ?>" class="button btn-update"><span><span><?php echo $this->__('Update Wishlist') ?></span></span></button>
|
| 30 |
<?php endif;?>
|
| 26 |
?>
|
| 27 |
|
| 28 |
<?php if($this->getWishlist()->getItemsCount()): ?>
|
| 29 |
+
<button type="submit" name="do" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Update Wishlist')) ?>" class="button btn-update"><span><span><?php echo $this->__('Update Wishlist') ?></span></span></button>
|
| 30 |
<?php endif;?>
|
app/design/frontend/base/default/template/wishlist/email/rss.phtml
CHANGED
|
@@ -25,7 +25,7 @@
|
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
<p style="font-size:12px; line-height:16px; margin:0 0 16px;">
|
| 28 |
-
<?php echo $this->__("RSS link to %s's wishlist"
|
| 29 |
<br />
|
| 30 |
<a href="<?php echo $this->helper('wishlist')->getRssUrl($this->getWishlistId()); ?>"><?php echo $this->helper('wishlist')->getRssUrl($this->getWishlistId()); ?></a>
|
| 31 |
</p>
|
| 25 |
*/
|
| 26 |
?>
|
| 27 |
<p style="font-size:12px; line-height:16px; margin:0 0 16px;">
|
| 28 |
+
<?php echo $this->__("RSS link to %s's wishlist", Mage::helper('core')->quoteEscape($this->helper('wishlist')->getCustomerName())) ?>
|
| 29 |
<br />
|
| 30 |
<a href="<?php echo $this->helper('wishlist')->getRssUrl($this->getWishlistId()); ?>"><?php echo $this->helper('wishlist')->getRssUrl($this->getWishlistId()); ?></a>
|
| 31 |
</p>
|
app/design/frontend/base/default/template/wishlist/item/column/cart.phtml
CHANGED
|
@@ -39,7 +39,7 @@ $options = $this->getChild('customer.wishlist.item.options')
|
|
| 39 |
<input type="text" class="input-text qty validate-not-negative-number" name="qty[<?php echo $item->getId() ?>]" value="<?php echo $this->getAddToCartQty($item) * 1 ?>" />
|
| 40 |
<?php endif; ?>
|
| 41 |
<?php if ($product->isSaleable()): ?>
|
| 42 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" onclick="addWItemToCart(<?php echo $item->getId()?>);" class="button btn-cart"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 43 |
<?php else: ?>
|
| 44 |
<?php if ($product->getIsSalable()): ?>
|
| 45 |
<p class="availability in-stock"><span><?php echo $this->__('In stock') ?></span></p>
|
| 39 |
<input type="text" class="input-text qty validate-not-negative-number" name="qty[<?php echo $item->getId() ?>]" value="<?php echo $this->getAddToCartQty($item) * 1 ?>" />
|
| 40 |
<?php endif; ?>
|
| 41 |
<?php if ($product->isSaleable()): ?>
|
| 42 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" onclick="addWItemToCart(<?php echo $item->getId()?>);" class="button btn-cart"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 43 |
<?php else: ?>
|
| 44 |
<?php if ($product->getIsSalable()): ?>
|
| 45 |
<p class="availability in-stock"><span><?php echo $this->__('In stock') ?></span></p>
|
app/design/frontend/base/default/template/wishlist/item/column/info.phtml
CHANGED
|
@@ -30,7 +30,7 @@ $product = $item->getProduct();
|
|
| 30 |
?>
|
| 31 |
<h3 class="product-name"><a href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>"><?php echo $this->escapeHtml($product->getName()) ?></a></h3>
|
| 32 |
<div class="description std"><div class="inner"><?php echo $this->escapeHtml($this->stripTags($product->getShortDescription()));?></div></div>
|
| 33 |
-
<textarea name="description[<?php echo $item->getWishlistItemId() ?>]" rows="3" cols="5" onfocus="focusComment(this)" onblur="focusComment(this)" title="<?php echo $this->__('Comment') ?>"><?php echo ($this->escapeHtml($item->getDescription() ? $item->getDescription() : $this->helper('wishlist')->defaultCommentString())) ?></textarea>
|
| 34 |
<?php if($this->getSortedChildren()): ?>
|
| 35 |
<div class="item-manage">
|
| 36 |
<?php foreach($this->getSortedChildren() as $childName):?>
|
| 30 |
?>
|
| 31 |
<h3 class="product-name"><a href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>"><?php echo $this->escapeHtml($product->getName()) ?></a></h3>
|
| 32 |
<div class="description std"><div class="inner"><?php echo $this->escapeHtml($this->stripTags($product->getShortDescription()));?></div></div>
|
| 33 |
+
<textarea name="description[<?php echo $item->getWishlistItemId() ?>]" rows="3" cols="5" onfocus="focusComment(this)" onblur="focusComment(this)" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Comment')) ?>"><?php echo ($this->escapeHtml($item->getDescription() ? $item->getDescription() : $this->helper('wishlist')->defaultCommentString())) ?></textarea>
|
| 34 |
<?php if($this->getSortedChildren()): ?>
|
| 35 |
<div class="item-manage">
|
| 36 |
<?php foreach($this->getSortedChildren() as $childName):?>
|
app/design/frontend/base/default/template/wishlist/item/column/remove.phtml
CHANGED
|
@@ -25,5 +25,5 @@
|
|
| 25 |
*/
|
| 26 |
|
| 27 |
?>
|
| 28 |
-
<a href="<?php echo $this->getItemRemoveUrl($this->getItem()); ?>" onclick="return confirmRemoveWishlistItem();" title="<?php echo $this->__('Remove Item') ?>"
|
| 29 |
class="btn-remove btn-remove2"><?php echo $this->__('Remove item');?></a>
|
| 25 |
*/
|
| 26 |
|
| 27 |
?>
|
| 28 |
+
<a href="<?php echo $this->getItemRemoveUrl($this->getItem()); ?>" onclick="return confirmRemoveWishlistItem();" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Remove Item')) ?>"
|
| 29 |
class="btn-remove btn-remove2"><?php echo $this->__('Remove item');?></a>
|
app/design/frontend/base/default/template/wishlist/render/item/price_msrp_item.phtml
CHANGED
|
@@ -99,7 +99,7 @@
|
|
| 99 |
<script type="text/javascript">
|
| 100 |
Catalog.Map.addHelpLink(
|
| 101 |
$('<?php echo $helpLinkId ?>'),
|
| 102 |
-
|
| 103 |
);
|
| 104 |
</script>
|
| 105 |
</div>
|
| 99 |
<script type="text/javascript">
|
| 100 |
Catalog.Map.addHelpLink(
|
| 101 |
$('<?php echo $helpLinkId ?>'),
|
| 102 |
+
'<?php echo Mage::helper('core')->jsQuoteEscape($this->__("What's this?")); ?>'
|
| 103 |
);
|
| 104 |
</script>
|
| 105 |
</div>
|
app/design/frontend/base/default/template/wishlist/shared.phtml
CHANGED
|
@@ -61,7 +61,7 @@
|
|
| 61 |
<td class="a-center">
|
| 62 |
<?php if ($product->isSaleable()): ?>
|
| 63 |
<?php if ($isVisibleProduct): ?>
|
| 64 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" onclick="setLocation('<?php echo $this->getSharedItemAddToCartUrl($item) ?>')" class="button btn-cart"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 65 |
<?php endif ?>
|
| 66 |
<?php endif; ?>
|
| 67 |
<p><a href="<?php echo $this->getAddToWishlistUrl($item) ?>" onclick="setLocation(this.href); return false;" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></p>
|
|
@@ -75,7 +75,7 @@
|
|
| 75 |
<div class="buttons-set">
|
| 76 |
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 77 |
<?php if($this->isSaleable()):?>
|
| 78 |
-
<button type="button" title="<?php echo $this->__('Add All to Cart') ?>" onclick="setLocation('<?php echo $this->getUrl('*/*/allcart', array('_current'=>true)) ?>')" class="button"><span><span><?php echo $this->__('Add All to Cart') ?></span></span></button>
|
| 79 |
<?php endif;?>
|
| 80 |
</div>
|
| 81 |
</form>
|
| 61 |
<td class="a-center">
|
| 62 |
<?php if ($product->isSaleable()): ?>
|
| 63 |
<?php if ($isVisibleProduct): ?>
|
| 64 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add to Cart')) ?>" onclick="setLocation('<?php echo $this->getSharedItemAddToCartUrl($item) ?>')" class="button btn-cart"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
| 65 |
<?php endif ?>
|
| 66 |
<?php endif; ?>
|
| 67 |
<p><a href="<?php echo $this->getAddToWishlistUrl($item) ?>" onclick="setLocation(this.href); return false;" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></p>
|
| 75 |
<div class="buttons-set">
|
| 76 |
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
| 77 |
<?php if($this->isSaleable()):?>
|
| 78 |
+
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Add All to Cart')) ?>" onclick="setLocation('<?php echo $this->getUrl('*/*/allcart', array('_current'=>true)) ?>')" class="button"><span><span><?php echo $this->__('Add All to Cart') ?></span></span></button>
|
| 79 |
<?php endif;?>
|
| 80 |
</div>
|
| 81 |
</form>
|
app/design/frontend/base/default/template/wishlist/sharing.phtml
CHANGED
|
@@ -48,7 +48,7 @@
|
|
| 48 |
<?php if($this->helper('wishlist')->isRssAllow()): ?>
|
| 49 |
<li class="control">
|
| 50 |
<div class="input-box">
|
| 51 |
-
<input type="checkbox" name="rss_url" id="rss_url" value="1" title="<?php echo $this->__('Check this checkbox if you want to add a link to an rss feed to your wishlist.') ?>" class="checkbox" />
|
| 52 |
</div>
|
| 53 |
<label for="rss_url"><?php echo $this->__('Check this checkbox if you want to add a link to an rss feed to your wishlist.') ?></label>
|
| 54 |
</li>
|
|
@@ -58,13 +58,13 @@
|
|
| 58 |
<div class="buttons-set form-buttons">
|
| 59 |
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
| 60 |
<p class="back-link"><a href="<?php echo $this->getBackUrl(); ?>"><small>« </small><?php echo $this->__('Back')?></a></p>
|
| 61 |
-
<button type="submit" title="<?php echo $this->__('Share Wishlist') ?>" class="button"><span><span><?php echo $this->__('Share Wishlist') ?></span></span></button>
|
| 62 |
</div>
|
| 63 |
</form>
|
| 64 |
<script type="text/javascript">
|
| 65 |
//<