Interface_Frontend_Default_Blank - Version 1.3.0

Version Notes

1.3.0

Download this release

Release Info

Developer Magento Core Team
Extension Interface_Frontend_Default_Blank
Version 1.3.0
Comparing to
See all releases


Code changes from version 1.2.1 to 1.3.0

Files changed (75) hide show
  1. app/design/frontend/default/blank/layout/catalog.xml +16 -2
  2. app/design/frontend/default/blank/layout/catalogsearch.xml +1 -1
  3. app/design/frontend/default/blank/layout/cms.xml +3 -1
  4. app/design/frontend/default/blank/layout/rss.xml +1 -1
  5. app/design/frontend/default/blank/template/catalog/navigation/left.phtml +2 -1
  6. app/design/frontend/default/blank/template/catalog/product/compare/list.phtml +20 -13
  7. app/design/frontend/default/blank/template/catalog/product/compare/sidebar.phtml +1 -1
  8. app/design/frontend/default/blank/template/catalog/product/list.phtml +1 -1
  9. app/design/frontend/default/blank/template/catalog/product/new.phtml +1 -1
  10. app/design/frontend/default/blank/template/catalog/product/view.phtml +2 -2
  11. app/design/frontend/default/blank/template/catalog/product/view/addtocart.phtml +1 -1
  12. app/design/frontend/default/blank/template/catalog/product/view/options.phtml +12 -0
  13. app/design/frontend/default/blank/template/catalog/product/view/options/type/date.phtml +32 -8
  14. app/design/frontend/default/blank/template/catalog/product/view/options/type/file.phtml +14 -12
  15. app/design/frontend/default/blank/template/catalog/seo/tree.phtml +43 -0
  16. app/design/frontend/default/blank/template/catalogsearch/advanced/form.phtml +2 -2
  17. app/design/frontend/default/blank/template/checkout/cart.phtml +10 -10
  18. app/design/frontend/default/blank/template/checkout/cart/item/default.phtml +4 -4
  19. app/design/frontend/default/blank/template/checkout/multishipping/address/select.phtml +1 -1
  20. app/design/frontend/default/blank/template/checkout/multishipping/addresses.phtml +1 -1
  21. app/design/frontend/default/blank/template/checkout/multishipping/success.phtml +1 -1
  22. app/design/frontend/default/blank/template/checkout/onepage/billing.phtml +2 -2
  23. app/design/frontend/default/blank/template/checkout/onepage/login.phtml +14 -9
  24. app/design/frontend/default/blank/template/checkout/onepage/review/info.phtml +1 -1
  25. app/design/frontend/default/blank/template/checkout/onepage/review/item.phtml +2 -2
  26. app/design/frontend/default/blank/template/checkout/onepage/shipping.phtml +2 -2
  27. app/design/frontend/default/blank/template/cms/wrapper.phtml +29 -0
  28. app/design/frontend/default/blank/template/contacts/form.phtml +3 -3
  29. app/design/frontend/default/blank/template/customer/address/edit.phtml +8 -6
  30. app/design/frontend/default/blank/template/customer/form/address.phtml +6 -6
  31. app/design/frontend/default/blank/template/customer/form/edit.phtml +10 -10
  32. app/design/frontend/default/blank/template/customer/form/login.phtml +48 -42
  33. app/design/frontend/default/blank/template/customer/form/newsletter.phtml +3 -1
  34. app/design/frontend/default/blank/template/customer/form/register.phtml +118 -116
  35. app/design/frontend/default/blank/template/customer/widget/name.phtml +2 -2
  36. app/design/frontend/default/blank/template/downloadable/checkout/cart/item/default.phtml +8 -12
  37. app/design/frontend/default/blank/template/downloadable/checkout/multishipping/item/downloadable.phtml +1 -1
  38. app/design/frontend/default/blank/template/downloadable/checkout/onepage/review/item.phtml +3 -3
  39. app/design/frontend/default/blank/template/downloadable/customer/products/list.phtml +8 -3
  40. app/design/frontend/default/blank/template/downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml +1 -1
  41. app/design/frontend/default/blank/template/downloadable/sales/order/invoice/items/renderer/downloadable.phtml +1 -1
  42. app/design/frontend/default/blank/template/downloadable/sales/order/items/renderer/downloadable.phtml +1 -1
  43. app/design/frontend/default/blank/template/googlecheckout/link.phtml +1 -1
  44. app/design/frontend/default/blank/template/newsletter/subscribe.phtml +3 -1
  45. app/design/frontend/default/blank/template/page/1column.phtml +2 -2
  46. app/design/frontend/default/blank/template/page/2columns-left.phtml +2 -2
  47. app/design/frontend/default/blank/template/page/2columns-right.phtml +2 -2
  48. app/design/frontend/default/blank/template/page/3columns.phtml +2 -2
  49. app/design/frontend/default/blank/template/page/html/breadcrumbs.phtml +1 -1
  50. app/design/frontend/default/blank/template/page/html/footer.phtml +5 -3
  51. app/design/frontend/default/blank/template/page/html/header.phtml +9 -7
  52. app/design/frontend/default/blank/template/page/html/top.links.phtml +1 -1
  53. app/design/frontend/default/blank/template/page/js/calendar.phtml +94 -0
  54. app/design/frontend/default/blank/template/page/template/links.phtml +1 -1
  55. app/design/frontend/default/blank/template/reports/home_product_compared.phtml +1 -1
  56. app/design/frontend/default/blank/template/review/customer/list.phtml +2 -2
  57. app/design/frontend/default/blank/template/review/customer/recent.phtml +2 -2
  58. app/design/frontend/default/blank/template/rss/list.phtml +11 -5
  59. app/design/frontend/default/blank/template/sales/order/history.phtml +3 -3
  60. app/design/frontend/default/blank/template/sales/order/recent.phtml +3 -3
  61. app/design/frontend/default/blank/template/sales/reorder/sidebar.phtml +1 -1
  62. app/design/frontend/default/blank/template/sendfriend/send.phtml +2 -2
  63. app/design/frontend/default/blank/template/tag/customer/edit.phtml +1 -1
  64. app/design/frontend/default/blank/template/tag/customer/view.phtml +1 -1
  65. app/design/frontend/default/blank/template/tag/list.phtml +4 -4
  66. app/design/frontend/default/blank/template/tag/popular.phtml +1 -1
  67. app/design/frontend/default/blank/template/tag/product/result.phtml +1 -1
  68. app/design/frontend/default/blank/template/wishlist/sharing.phtml +2 -2
  69. app/design/frontend/default/blank/template/wishlist/view.phtml +52 -46
  70. package.xml +6 -6
  71. skin/frontend/default/blank/css/clears.css +1 -0
  72. skin/frontend/default/blank/css/styles-ie.css +6 -1
  73. skin/frontend/default/blank/css/styles.css +79 -76
  74. skin/frontend/default/blank/images/bkg_button.gif +0 -0
  75. skin/frontend/default/blank/js/opcheckout.js +12 -0
app/design/frontend/default/blank/layout/catalog.xml CHANGED
@@ -51,7 +51,7 @@ Default layout, loads most of the pages
51
<reference name="left">
52
<block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
53
<action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
54
- <action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (800) DEMO-NUMBER.</alt></action>
55
<action method="setLinkUrl"><url>checkout/cart</url></action>
56
</block>
57
</reference>
@@ -175,7 +175,6 @@ Product view
175
176
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
177
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
178
- <action method="addItem"><type>js</type><name>calendar/lang/calendar-en.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
179
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
180
</reference>
181
<reference name="content">
@@ -201,6 +200,7 @@ Product view
201
<action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
202
<action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
203
<action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
204
</block>
205
</block>
206
<block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml">
@@ -326,6 +326,20 @@ SEO Site Map
326
</reference>
327
</catalog_seo_sitemap_category>
328
329
<catalog_seo_sitemap_product>
330
<update handle="catalog_seo_sitemap" />
331
<reference name="seo.sitemap.container">
51
<reference name="left">
52
<block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
53
<action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
54
+ <action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>
55
<action method="setLinkUrl"><url>checkout/cart</url></action>
56
</block>
57
</reference>
175
176
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
177
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
178
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
179
</reference>
180
<reference name="content">
200
<action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
201
<action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
202
<action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
203
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
204
</block>
205
</block>
206
<block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml">
326
</reference>
327
</catalog_seo_sitemap_category>
328
329
+ <catalog_seo_sitemap_category_tree>
330
+ <reference name="seo.sitemap.container">
331
+ <remove name="seo.sitemap.pager.top" />
332
+ <remove name="seo.sitemap.pager.bottom" />
333
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.top" as="pager_top" template="page/html/pager.phtml"/>
334
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
335
+ <remove name="seo.sitemap.sitemap" />
336
+ <block type="catalog/seo_sitemap_tree_category" name="seo.sitemap.sitemap_tree" as="sitemap" after="pager_top" template="catalog/seo/tree.phtml">
337
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.top</pager></action>
338
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.bottom</pager></action>
339
+ </block>
340
+ </reference>
341
+ </catalog_seo_sitemap_category_tree>
342
+
343
<catalog_seo_sitemap_product>
344
<update handle="catalog_seo_sitemap" />
345
<reference name="seo.sitemap.container">
app/design/frontend/default/blank/layout/catalogsearch.xml CHANGED
@@ -70,11 +70,11 @@
70
<reference name="head">
71
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
72
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
73
- <action method="addItem"><type>js</type><name>calendar/lang/calendar-en.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
74
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
75
</reference>
76
<reference name="content">
77
<block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
78
</reference>
79
</catalogsearch_advanced_index>
80
70
<reference name="head">
71
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
72
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
73
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
74
</reference>
75
<reference name="content">
76
<block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
77
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
78
</reference>
79
</catalogsearch_advanced_index>
80
app/design/frontend/default/blank/layout/cms.xml CHANGED
@@ -44,7 +44,9 @@ Default layout, loads most of the pages
44
45
<cms_page>
46
<reference name="content">
47
- <block type="cms/page" name="cms_page"/>
48
</reference>
49
</cms_page>
50
44
45
<cms_page>
46
<reference name="content">
47
+ <block type="core/template" name="cms.wrapper" template="cms/wrapper.phtml">
48
+ <block type="cms/page" name="cms_page"/>
49
+ </block>
50
</reference>
51
</cms_page>
52
app/design/frontend/default/blank/layout/rss.xml CHANGED
@@ -28,7 +28,7 @@
28
<layout version="0.1.0">
29
<default>
30
<reference name="footer_links">
31
- <action method="addLink" translate="label title" module="rss" ifconfig="rss/config/active"><label>RSS</label><url>rss</url><title>RSS testing</title><prepare>true</prepare><urlParams/><position/><li/><a>class="link-feed"</a></action>
32
</reference>
33
</default>
34
<!--
28
<layout version="0.1.0">
29
<default>
30
<reference name="footer_links">
31
+ <action method="addLink" translate="label title" module="rss" ifconfig="rss/config/active"><label>RSS</label><url>rss</url><title>RSS</title><prepare>true</prepare><urlParams/><position/><li/><a>class="link-rss"</a></action>
32
</reference>
33
</default>
34
<!--
app/design/frontend/default/blank/template/catalog/navigation/left.phtml CHANGED
@@ -33,7 +33,8 @@
33
*/
34
?>
35
<?php $_categories=$this->getCurrentChildCategories() ?>
36
- <?php if($_categories->count()): ?>
37
<div class="block block-layered-nav">
38
<div class="block-title">
39
<h2><?php echo $this->__('Browse By') ?></h2>
33
*/
34
?>
35
<?php $_categories=$this->getCurrentChildCategories() ?>
36
+ <?php $_count = is_array($_categories)?count($_categories):$_categories->count(); ?>
37
+ <?php if($_count): ?>
38
<div class="block block-layered-nav">
39
<div class="block-title">
40
<h2><?php echo $this->__('Browse By') ?></h2>
app/design/frontend/default/blank/template/catalog/product/compare/list.phtml CHANGED
@@ -31,18 +31,25 @@
31
<?php $_total=$this->getItems()->getSize() ?>
32
<?php if($_total): ?>
33
<table class="data-table" id="product_comparison">
34
<?php if ($_total>2): ?>
35
- <tbody>
36
<tr>
37
- <?php $_i=0 ?>
38
- <?php foreach($this->getItems() as $_item): ?>
39
<?php if($_i++%10==0): ?>
40
<th>&nbsp;</th>
41
<?php endif; ?>
42
- <td class="a-center"><a href="#" onclick="setLocation('<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>');window.opener.location.reload();"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove Product') ?>" title="<?php echo $this->__('Remove Product') ?>" /></a></td>
43
- <?php endforeach; ?>
44
</tr>
45
- </tbody>
46
<?php endif ?>
47
<tbody>
48
<tr>
@@ -52,17 +59,17 @@
52
<th class="label">&nbsp;</th>
53
<?php endif; ?>
54
<td>
55
- <a class="product-image" href="#" onclick="setPLocation('<?php echo $_item->getProductUrl() ?>', true)" title="<?php echo $this->htmlEscape($_item->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>" /></a>
56
<h3 class="product-name"><a href="#" onclick="setPLocation('<?php echo $_item->getProductUrl() ?>', true)" title="<?php echo $this->htmlEscape($_item->getName()) ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></h3>
57
<?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
58
<?php echo $this->getPriceHtml($_item, true) ?>
59
<?php if($_item->isSaleable()): ?>
60
- <button class="button" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><?php echo $this->__('Add to Cart') ?></span></button>
61
<?php else: ?>
62
- <p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
63
<?php endif; ?>
64
<?php if ($this->helper('wishlist')->isAllow()) : ?>
65
- <p><a href="#" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToWishlistUrl($_item) ?>', true)"><?php echo $this->__('Add to My Wishlist') ?></a></p>
66
<?php endif; ?>
67
</td>
68
<?php endforeach; ?>
@@ -74,7 +81,7 @@
74
<?php $_i=0 ?>
75
<?php foreach($this->getItems() as $_item): ?>
76
<?php if($_i++%10==0): ?>
77
- <th class="label"><?php echo $this->__($_attribute->getFrontendLabel()) ?></th>
78
<?php endif; ?>
79
<td>
80
<?php switch ($_attribute->getAttributeCode()) {
@@ -103,9 +110,9 @@
103
<td class="data">
104
<?php echo $this->getPriceHtml($_item) ?>
105
<?php if($_item->isSaleable()): ?>
106
- <button type="button" class="button" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><?php echo $this->__('Add to Cart') ?></span></button>
107
<?php else: ?>
108
- <p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
109
<?php endif; ?>
110
<?php if ($this->helper('wishlist')->isAllow()) : ?>
111
<p><a href="#" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToWishlistUrl($_item) ?>', true)"><?php echo $this->__('Add to Wishlist') ?></a></p>
31
<?php $_total=$this->getItems()->getSize() ?>
32
<?php if($_total): ?>
33
<table class="data-table" id="product_comparison">
34
+ <?php $_i=0 ?>
35
+ <?php foreach($this->getItems() as $_item): ?>
36
+ <?php if($_i++%10==0): ?>
37
+ <col width="1" />
38
+ <?php endif; ?>
39
+ <col width="<?php echo floor(100/$_total); ?>%" />
40
+ <?php endforeach; ?>
41
<?php if ($_total>2): ?>
42
+ <thead>
43
<tr>
44
+ <?php $_i=0 ?>
45
+ <?php foreach($this->getItems() as $_item): ?>
46
<?php if($_i++%10==0): ?>
47
<th>&nbsp;</th>
48
<?php endif; ?>
49
+ <td class="a-right"><a href="#" onclick="setLocation('<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>') ;window.opener.location.reload();" title="<?php echo $this->__('Remove Product') ?>"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove Product') ?>" /></a></td>
50
+ <?php endforeach; ?>
51
</tr>
52
+ </thead>
53
<?php endif ?>
54
<tbody>
55
<tr>
59
<th class="label">&nbsp;</th>
60
<?php endif; ?>
61
<td>
62
+ <a class="product-image" href="#" onclick="setPLocation('<?php echo $_item->getProductUrl() ?>', true)" title="<?php echo $this->htmlEscape($_item->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" /></a>
63
<h3 class="product-name"><a href="#" onclick="setPLocation('<?php echo $_item->getProductUrl() ?>', true)" title="<?php echo $this->htmlEscape($_item->getName()) ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></h3>
64
<?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
65
<?php echo $this->getPriceHtml($_item, true) ?>
66
<?php if($_item->isSaleable()): ?>
67
+ <p><button type="button" class="button" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><?php echo $this->__('Add to Cart') ?></span></button></p>
68
<?php else: ?>
69
+ <p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
70
<?php endif; ?>
71
<?php if ($this->helper('wishlist')->isAllow()) : ?>
72
+ <p><a href="#" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToWishlistUrl($_item) ?>', true)"><?php echo $this->__('Add to Wishlist') ?></a></p>
73
<?php endif; ?>
74
</td>
75
<?php endforeach; ?>
81
<?php $_i=0 ?>
82
<?php foreach($this->getItems() as $_item): ?>
83
<?php if($_i++%10==0): ?>
84
+ <th class="label"><span class="nobr"><?php echo $this->__($_attribute->getFrontendLabel()) ?></span></th>
85
<?php endif; ?>
86
<td>
87
<?php switch ($_attribute->getAttributeCode()) {
110
<td class="data">
111
<?php echo $this->getPriceHtml($_item) ?>
112
<?php if($_item->isSaleable()): ?>
113
+ <p><button type="button" class="button" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><?php echo $this->__('Add to Cart') ?></span></button></p>
114
<?php else: ?>
115
+ <p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
116
<?php endif; ?>
117
<?php if ($this->helper('wishlist')->isAllow()) : ?>
118
<p><a href="#" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToWishlistUrl($_item) ?>', true)"><?php echo $this->__('Add to Wishlist') ?></a></p>
app/design/frontend/default/blank/template/catalog/product/compare/sidebar.phtml CHANGED
@@ -46,7 +46,7 @@
46
<script type="text/javascript">decorateList('compare-items')</script>
47
<div class="actions">
48
<a href="<?php echo $this->helper('catalog/product_compare')->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>
49
- <button class="button" onclick="popWin('<?php echo $this->helper('catalog/product_compare')->getListUrl() ?>','compare','top:50,left:50,width=800,height=600,resizable=yes,scrollbars=yes')"><span><?php echo $this->__('Compare Items') ?></span></button>
50
</div>
51
<?php else: ?>
52
<p><?php echo $this->__('You have no items to compare.') ?></p>
46
<script type="text/javascript">decorateList('compare-items')</script>
47
<div class="actions">
48
<a href="<?php echo $this->helper('catalog/product_compare')->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>
49
+ <button type="button" class="button" onclick="popWin('<?php echo $this->helper('catalog/product_compare')->getListUrl() ?>','compare','top:50,left:50,width=800,height=600,resizable=yes,scrollbars=yes')"><span><?php echo $this->__('Compare Items') ?></span></button>
50
</div>
51
<?php else: ?>
52
<p><?php echo $this->__('You have no items to compare.') ?></p>
app/design/frontend/default/blank/template/catalog/product/list.phtml CHANGED
@@ -97,7 +97,7 @@
97
<?php endif; ?>
98
<?php echo $this->getPriceHtml($_product, true) ?>
99
<?php if($_product->isSaleable()): ?>
100
- <button class="button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
101
<?php else: ?>
102
<p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
103
<?php endif; ?>
97
<?php endif; ?>
98
<?php echo $this->getPriceHtml($_product, true) ?>
99
<?php if($_product->isSaleable()): ?>
100
+ <button type="button" class="button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
101
<?php else: ?>
102
<p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
103
<?php endif; ?>
app/design/frontend/default/blank/template/catalog/product/new.phtml CHANGED
@@ -38,7 +38,7 @@
38
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
39
<?php echo $this->getPriceHtml($_product, true, '-new') ?>
40
<?php if($_product->isSaleable()): ?>
41
- <button class="button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
42
<?php else: ?>
43
<p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
44
<?php endif; ?>
38
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
39
<?php echo $this->getPriceHtml($_product, true, '-new') ?>
40
<?php if($_product->isSaleable()): ?>
41
+ <button type="button" class="button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
42
<?php else: ?>
43
<p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
44
<?php endif; ?>
app/design/frontend/default/blank/template/catalog/product/view.phtml CHANGED
@@ -33,7 +33,7 @@
33
?>
34
<?php
35
$_helper = $this->helper('catalog/output');
36
- $_product = $this->getProduct()
37
?>
38
<script type="text/javascript">
39
var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
@@ -41,7 +41,7 @@
41
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
42
<div class="product-view">
43
<div class="product-essential">
44
- <form action="<?php echo $this->getAddToCartUrl($_product) ?>" method="post" id="product_addtocart_form">
45
<fieldset class="no-display">
46
<input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
47
<input type="hidden" name="related_product" id="related-products-field" value="" />
33
?>
34
<?php
35
$_helper = $this->helper('catalog/output');
36
+ $_product = $this->getProduct();
37
?>
38
<script type="text/javascript">
39
var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
41
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
42
<div class="product-view">
43
<div class="product-essential">
44
+ <form action="<?php echo $this->getAddToCartUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
45
<fieldset class="no-display">
46
<input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
47
<input type="hidden" name="related_product" id="related-products-field" value="" />
app/design/frontend/default/blank/template/catalog/product/view/addtocart.phtml CHANGED
@@ -34,6 +34,6 @@
34
<label for="qty"><?php echo $this->__('Qty') ?>:</label>
35
<input type="text" class="input-text qty" name="qty" id="qty" maxlength="12" value="<?php echo $this->getMinimalQty($_product) ?>" />
36
<?php endif; ?>
37
- <button class="button" onclick="productAddToCartForm.submit()"><span><?php echo $this->__('Add to Cart') ?></span></button>
38
</fieldset>
39
<?php endif; ?>
34
<label for="qty"><?php echo $this->__('Qty') ?>:</label>
35
<input type="text" class="input-text qty" name="qty" id="qty" maxlength="12" value="<?php echo $this->getMinimalQty($_product) ?>" />
36
<?php endif; ?>
37
+ <button type="button" class="button" onclick="productAddToCartForm.submit()"><span><?php echo $this->__('Add to Cart') ?></span></button>
38
</fieldset>
39
<?php endif; ?>
app/design/frontend/default/blank/template/catalog/product/view/options.phtml CHANGED
@@ -106,6 +106,7 @@
106
reloadPrice : function(){
107
price = new Number();
108
config = this.config;
109
$('.product-custom-option').each(function(element){
110
var optionId = 0;
111
element.name.sub(/[0-9]+/, function(match){
@@ -118,6 +119,17 @@
118
price += parseFloat(config[optionId][element.getValue()]);
119
}
120
}
121
} else if(element.type == 'select-one' || element.type == 'select-multiple') {
122
if (element.options) {
123
$A(element.options).each(function(selectOption){
106
reloadPrice : function(){
107
price = new Number();
108
config = this.config;
109
+ skipIds = [];
110
$('.product-custom-option').each(function(element){
111
var optionId = 0;
112
element.name.sub(/[0-9]+/, function(match){
119
price += parseFloat(config[optionId][element.getValue()]);
120
}
121
}
122
+ } else if(element.hasClassName('datetime-picker') && !skipIds.include(optionId)) {
123
+ dateSelected = true;
124
+ $('.product-custom-option[id^="options_' + optionId + '"]').each(function(dt){
125
+ if (dt.getValue() == '') {
126
+ dateSelected = false;
127
+ }
128
+ });
129
+ if (dateSelected) {
130
+ price += parseFloat(this.config[optionId]);
131
+ skipIds[optionId] = optionId;
132
+ }
133
} else if(element.type == 'select-one' || element.type == 'select-multiple') {
134
if (element.options) {
135
$A(element.options).each(function(selectOption){
app/design/frontend/default/blank/template/catalog/product/view/options/type/date.phtml CHANGED
@@ -18,20 +18,44 @@
18
* versions in the future. If you wish to customize Magento for your
19
* needs please refer to http://www.magentocommerce.com for more information.
20
*
21
- * @category design_blank
22
* @package Mage
23
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
*/
26
?>
27
<?php $_option = $this->getOption() ?>
28
- <dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getIsRequire()): ?><span class="required">&nbsp;*</span><?php endif; ?></label></dt>
29
<?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
30
- || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE): ?>
31
- <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>><?php echo $this->__('Date') ?>&nbsp;<?php echo $this->getCalendarHtml() ?></dd>
32
<?php endif; ?>
33
<?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
34
- || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_TIME): ?>
35
- <dd <?php if ($_option->decoratedIsLast){?> class="last"<?php }?>><?php echo $this->__('Time') ?> <?php echo $this->getTimeHtml() ?>
36
- <?php //echo $this->__('Time') ?> <!--<input type="text" class="input-text<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?>" name="options[<?php echo $_option->getId() ?>]" value="" />--></dd>
37
- <?php endif; ?>
18
* versions in the future. If you wish to customize Magento for your
19
* needs please refer to http://www.magentocommerce.com for more information.
20
*
21
+ * @category design_default
22
* @package Mage
23
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
*/
26
?>
27
<?php $_option = $this->getOption() ?>
28
+ <?php $_optionId = $_option->getId() ?>
29
+ <dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getIsRequire()): ?><span class="required">&nbsp;*</span><?php endif; ?></label>
30
+ <?php echo $this->getFormatedPrice() ?></dt>
31
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
32
+
33
<?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
34
+ || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE): ?>
35
+ <?php echo $this->getDateHtml() ?>
36
<?php endif; ?>
37
+
38
<?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
39
+ || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_TIME): ?>
40
+ &nbsp;&nbsp;<?php echo $this->getTimeHtml() ?>
41
+ <?php endif; ?>
42
+
43
+ <?php if ($_option->getIsRequire()): ?>
44
+ <input type="hidden" name="validate_datetime_<?php echo $_optionId ?>" class="validate-datetime-<?php echo $_optionId ?>" value="" />
45
+ <script type="text/javascript">
46
+ //<![CDATA[
47
+ Validation.addAllThese(
48
+ [
49
+ ['validate-datetime-<?php echo $_optionId ?>', '<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('This is a required option') )?>', function(v) {
50
+ var dateTimeParts = $('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
51
+ for (var i=0; i < dateTimeParts.length; i++) {
52
+ if (dateTimeParts[i].value == "") return false;
53
+ }
54
+ return true;
55
+ }]
56
+ ]
57
+ );
58
+ //]]>
59
+ </script>
60
+ <?php endif; ?>
61
+ </dd>
app/design/frontend/default/blank/template/catalog/product/view/options/type/file.phtml CHANGED
@@ -18,7 +18,7 @@
18
* versions in the future. If you wish to customize Magento for your
19
* needs please refer to http://www.magentocommerce.com for more information.
20
*
21
- * @category design_blank
22
* @package Mage
23
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
@@ -26,14 +26,16 @@
26
?>
27
<?php $_option = $this->getOption() ?>
28
<dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getIsRequire()): ?><span class="required">&nbsp;*</span><?php endif; ?></label>
29
- (
30
- <?php if ($_option->getPriceType() == 'fixed'): ?>
31
- <?php echo $this->helper('core')->currency($_option->getPrice()) ?>
32
- <?php else: ?>
33
- <?php echo '%' . number_format($_option->getPrice(), 0, null, '') ?>
34
- <?php endif; ?>
35
- )</dt>
36
- <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>><input type="file" id="option_<?php echo $_option->getId() ?>_file" name="option_file" />
37
- <input type="button" id="option_<?php echo $_option->getId() ?>" name="upload" value="Upload" onclick="optionFileUpload.upload(this)" />
38
- <input type="hidden" id="option_<?php echo $_option->getId() ?>_uploaded_file" name="options[<?php echo $_option->getId() ?>][file]" value="" />
39
- </dd>
18
* versions in the future. If you wish to customize Magento for your
19
* needs please refer to http://www.magentocommerce.com for more information.
20
*
21
+ * @category design_default
22
* @package Mage
23
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
?>
27
<?php $_option = $this->getOption() ?>
28
<dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getIsRequire()): ?><span class="required">&nbsp;*</span><?php endif; ?></label>
29
+ <?php echo $this->getFormatedPrice() ?></dt>
30
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
31
+ <input type="file" id="option_<?php echo $_option->getId() ?>_file" name="options_<?php echo $_option->getId() ?>_file" class="product-custom-option<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?>" onchange="opConfig.reloadPrice()"/>
32
+ <?php if ($_option->getFileExtension()): ?>
33
+ <p class="no-margin"><?php echo Mage::helper('catalog')->__('Allowed file extensions to upload')?>: <strong><?php echo $_option->getFileExtension() ?></strong></p>
34
+ <?php endif; ?>
35
+ <?php if ($_option->getImageSizeX() > 0): ?>
36
+ <p class="no-margin"><?php echo Mage::helper('catalog')->__('Maximum image width')?>: <strong><?php echo $_option->getImageSizeX() ?> <?php echo Mage::helper('catalog')->__('px.')?></strong></p>
37
+ <?php endif; ?>
38
+ <?php if ($_option->getImageSizeY() > 0): ?>
39
+ <p class="no-margin"><?php echo Mage::helper('catalog')->__('Maximum image height')?>: <strong><?php echo $_option->getImageSizeY() ?> <?php echo Mage::helper('catalog')->__('px.')?></strong></p>
40
+ <?php endif; ?>
41
+ </dd>
app/design/frontend/default/blank/template/catalog/seo/tree.phtml ADDED
@@ -0,0 +1,43 @@
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@magentocommerce.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.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * @see Mage_Catalog_Block_Seo_Sitemap_
30
+ */
31
+ ?>
32
+ <?php $_items = $this->getCollection(); ?>
33
+ <?php if($_items->getSize()): ?>
34
+ <ul class="sitemap">
35
+ <?php foreach ($_items as $_item): ?>
36
+ <li class="level-<?php echo $this->getLevel($_item) ?>" <?php echo $this->getLevel($_item)?'style="padding-left:' . $this->getLevel($_item, 2) . '0px;"':'' ?>><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $_item->name ?></a></li>
37
+ <?php endforeach; ?>
38
+ </ul>
39
+ <?php else: ?>
40
+ <p class="note-msg">
41
+ <?php echo $this->__('There are no %s available.', $this->getItemsTitle()); ?>
42
+ </p>
43
+ <?php endif ?>
app/design/frontend/default/blank/template/catalogsearch/advanced/form.phtml CHANGED
@@ -36,9 +36,9 @@
36
</div>
37
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
38
<form action="<?php echo $this->getSearchPostUrl() ?>" method="get" id="form-validate">
39
- <fieldset class="group-select">
40
<h3><?php echo $this->__('Search Settings') ?></h3>
41
- <ul id="advanced-search-list">
42
<?php foreach ($this->getSearchableAttributes() as $_attribute): ?>
43
<?php $_code = $_attribute->getAttributeCode() ?>
44
<li>
36
</div>
37
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
38
<form action="<?php echo $this->getSearchPostUrl() ?>" method="get" id="form-validate">
39
+ <fieldset>
40
<h3><?php echo $this->__('Search Settings') ?></h3>
41
+ <ul class="form-list group-select" id="advanced-search-list">
42
<?php foreach ($this->getSearchableAttributes() as $_attribute): ?>
43
<?php $_code = $_attribute->getAttributeCode() ?>
44
<li>
app/design/frontend/default/blank/template/checkout/cart.phtml CHANGED
@@ -44,36 +44,36 @@
44
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
45
<fieldset>
46
<table id="shopping-cart-table" class="data-table cart-table">
47
- <col width="40" />
48
- <col width="75" />
49
<col />
50
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
51
<col width="1" />
52
<?php endif ?>
53
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
54
- <col width="80" />
55
<?php endif; ?>
56
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
57
- <col width="80" />
58
<?php endif; ?>
59
<col width="1" />
60
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
61
- <col width="80" />
62
<?php endif; ?>
63
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
64
- <col width="80" />
65
<?php endif; ?>
66
67
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
68
<thead>
69
<tr>
70
- <th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Remove') ?></th>
71
<th rowspan="<?php echo $mergedCells; ?>">&nbsp;</th>
72
- <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
73
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
74
- <th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Move to Wishlist') ?></th>
75
<?php endif ?>
76
- <th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Unit Price') ?></th>
77
<th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
78
<th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Subtotal') ?></th>
79
</tr>
44
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
45
<fieldset>
46
<table id="shopping-cart-table" class="data-table cart-table">
47
+ <col width="1" />
48
+ <col width="1" />
49
<col />
50
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
51
<col width="1" />
52
<?php endif ?>
53
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
54
+ <col width="1" />
55
<?php endif; ?>
56
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
57
+ <col width="1" />
58
<?php endif; ?>
59
<col width="1" />
60
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
61
+ <col width="1" />
62
<?php endif; ?>
63
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
64
+ <col width="1" />
65
<?php endif; ?>
66
67
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
68
<thead>
69
<tr>
70
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center">&nbsp;</th>
71
<th rowspan="<?php echo $mergedCells; ?>">&nbsp;</th>
72
+ <th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Name') ?></span></th>
73
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
74
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center"><span class="nobr"><?php echo $this->__('Move to Wishlist') ?></span></th>
75
<?php endif ?>
76
+ <th class="a-center" colspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Unit Price') ?></span></th>
77
<th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
78
<th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Subtotal') ?></th>
79
</tr>
app/design/frontend/default/blank/template/checkout/cart/item/default.phtml CHANGED
@@ -26,8 +26,8 @@
26
?>
27
<?php $_item = $this->getItem()?>
28
<tr>
29
- <td class="a-center"><a href="<?php echo $this->getDeleteUrl() ?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" alt="<?php echo $this->__('Remove item')?>" title="<?php echo $this->__('Remove item')?>" /></a></td>
30
- <td><a href="<?php echo $this->getProductUrl() ?>" class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" width="75" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>" /></a></td>
31
<td>
32
<h3 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->getProductName() ?></a></h3>
33
<?php if ($_options = $this->getOptionList()):?>
@@ -107,7 +107,7 @@
107
</td>
108
<?php endif; ?>
109
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
110
- <td class="a-right">
111
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
112
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
113
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
@@ -201,7 +201,7 @@
201
</td>
202
<?php endif; ?>
203
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
204
- <td class="a-right">
205
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
206
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
207
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
26
?>
27
<?php $_item = $this->getItem()?>
28
<tr>
29
+ <td class="a-center"><a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove item')?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" alt="<?php echo $this->__('Remove item')?>" /></a></td>
30
+ <td><a href="<?php echo $this->getProductUrl() ?>" class="product-image" title="<?php echo $this->htmlEscape($this->getProductName()) ?>"><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /></a></td>
31
<td>
32
<h3 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->getProductName() ?></a></h3>
33
<?php if ($_options = $this->getOptionList()):?>
107
</td>
108
<?php endif; ?>
109
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
110
+ <td>
111
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
112
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
113
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
201
</td>
202
<?php endif; ?>
203
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
204
+ <td>
205
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
206
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
207
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
app/design/frontend/default/blank/template/checkout/multishipping/address/select.phtml CHANGED
@@ -48,8 +48,8 @@
48
<?php endif; ?>
49
</address>
50
</div>
51
<?php if($_index && $_index%3==0): ?></div><?php endif; ?>
52
- <?php $_index++ ?>
53
<?php endforeach; ?>
54
<?php if(!$_index || $_index%3!=0): ?></div><?php endif; ?>
55
</div>
48
<?php endif; ?>
49
</address>
50
</div>
51
+ <?php $_index++ ?>
52
<?php if($_index && $_index%3==0): ?></div><?php endif; ?>
53
<?php endforeach; ?>
54
<?php if(!$_index || $_index%3!=0): ?></div><?php endif; ?>
55
</div>
app/design/frontend/default/blank/template/checkout/multishipping/addresses.phtml CHANGED
@@ -51,7 +51,7 @@
51
<th><?php echo $this->__('Product') ?></th>
52
<th class="a-center"><?php echo $this->__('Qty') ?></th>
53
<th><?php echo $this->__('Send to') ?></th>
54
- <th><?php echo $this->__('Remove') ?></th>
55
</tr>
56
</thead>
57
<tfoot>
51
<th><?php echo $this->__('Product') ?></th>
52
<th class="a-center"><?php echo $this->__('Qty') ?></th>
53
<th><?php echo $this->__('Send to') ?></th>
54
+ <th>&nbsp;</th>
55
</tr>
56
</thead>
57
<tfoot>
app/design/frontend/default/blank/template/checkout/multishipping/success.phtml CHANGED
@@ -42,5 +42,5 @@
42
<?php endif; ?>
43
<?php echo $this->getChildHtml() ?>
44
<div class="buttons-set">
45
- <button class="button" onclick="setLocation('<?php echo $this->getContinueUrl() ?>')"><span><?php echo $this->__('Continue Shopping') ?></span></button>
46
</div>
42
<?php endif; ?>
43
<?php echo $this->getChildHtml() ?>
44
<div class="buttons-set">
45
+ <button type="button" class="button" onclick="setLocation('<?php echo $this->getContinueUrl() ?>')"><span><?php echo $this->__('Continue Shopping') ?></span></button>
46
</div>
app/design/frontend/default/blank/template/checkout/onepage/billing.phtml CHANGED
@@ -25,8 +25,8 @@
25
*/
26
?>
27
<form id="co-billing-form" action="">
28
- <fieldset class="group-select">
29
- <ul>
30
<?php if ($this->customerHasAddresses()): ?>
31
<li>
32
<label for="billing-address-select"><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></label><br />
25
*/
26
?>
27
<form id="co-billing-form" action="">
28
+ <fieldset>
29
+ <ul class="form-list group-select">
30
<?php if ($this->customerHasAddresses()): ?>
31
<li>
32
<label for="billing-address-select"><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></label><br />
app/design/frontend/default/blank/template/checkout/onepage/login.phtml CHANGED
@@ -27,7 +27,6 @@
27
<div class="col2-set">
28
<div class="col-1">
29
<h4><?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?><?php echo $this->__('Checkout as a Guest or Register') ?><?php else: ?><?php echo $this->__('Register to Create an Account') ?><?php endif; ?></h4>
30
-
31
<?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
32
<p><?php echo $this->__('Register with us for future convenience:') ?></p>
33
<?php else: ?>
@@ -60,9 +59,6 @@
60
<?php else: ?>
61
<input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
62
<?php endif; ?>
63
- <div class="buttons-set">
64
- <button class="button" onclick="checkout.setMethod();"><span><?php echo ($this->getQuote()->isAllowedGuestCheckout() ? $this->__('Continue') : $this->__('Register')) ?></span></button>
65
- </div>
66
</div>
67
<div class="col-2">
68
<h4><?php echo $this->__('Login') ?></h4>
@@ -86,10 +82,6 @@
86
</li>
87
</ul>
88
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
89
- <div class="buttons-set">
90
- <a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>"><?php echo $this->__('Forgot your password?') ?></a>
91
- <button type="submit" class="button" onclick="loginForm.submit()"><span><?php echo $this->__('Login') ?></span></button>
92
- </div>
93
</fieldset>
94
</form>
95
</div>
@@ -105,4 +97,17 @@
105
}
106
//]]>
107
</script>
108
- </div>
27
<div class="col2-set">
28
<div class="col-1">
29
<h4><?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?><?php echo $this->__('Checkout as a Guest or Register') ?><?php else: ?><?php echo $this->__('Register to Create an Account') ?><?php endif; ?></h4>
30
<?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
31
<p><?php echo $this->__('Register with us for future convenience:') ?></p>
32
<?php else: ?>
59
<?php else: ?>
60
<input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
61
<?php endif; ?>
62
</div>
63
<div class="col-2">
64
<h4><?php echo $this->__('Login') ?></h4>
82
</li>
83
</ul>
84
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
85
</fieldset>
86
</form>
87
</div>
97
}
98
//]]>
99
</script>
100
+ </div>
101
+ <div class="col2-set">
102
+ <div class="col-1">
103
+ <div class="buttons-set">
104
+ <button type="button" class="button" onclick="checkout.setMethod();"><span><?php echo ($this->getQuote()->isAllowedGuestCheckout() ? $this->__('Continue') : $this->__('Register')) ?></span></button>
105
+ </div>
106
+ </div>
107
+ <div class="col-2">
108
+ <div class="buttons-set">
109
+ <a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
110
+ <button type="submit" class="button" onclick="loginForm.submit()"><span><?php echo $this->__('Login') ?></span></button>
111
+ </div>
112
+ </div>
113
+ </div>
app/design/frontend/default/blank/template/checkout/onepage/review/info.phtml CHANGED
@@ -39,7 +39,7 @@
39
<th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product Name') ?></th>
40
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
41
<th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Qty') ?></th>
42
- <th colspan="<?php echo $colspan ?>" class="a-right"><?php echo $this->__('Subtotal') ?></th>
43
</tr>
44
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
45
<tr>
39
<th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product Name') ?></th>
40
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
41
<th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Qty') ?></th>
42
+ <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
43
</tr>
44
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
45
<tr>
app/design/frontend/default/blank/template/checkout/onepage/review/item.phtml CHANGED
@@ -94,7 +94,7 @@
94
</td>
95
<?php endif; ?>
96
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
97
- <td class="a-right">
98
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
99
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
100
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
@@ -186,7 +186,7 @@
186
</td>
187
<?php endif; ?>
188
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
189
- <td class="a-right">
190
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
191
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
192
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
94
</td>
95
<?php endif; ?>
96
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
97
+ <td>
98
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
99
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
100
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
186
</td>
187
<?php endif; ?>
188
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
189
+ <td>
190
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
191
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
192
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
app/design/frontend/default/blank/template/checkout/onepage/shipping.phtml CHANGED
@@ -25,8 +25,8 @@
25
*/
26
?>
27
<form action="" id="co-shipping-form">
28
- <fieldset class="group-select">
29
- <ul>
30
<?php if ($this->customerHasAddresses()): ?>
31
<li>
32
<label for="shipping-address-select"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label><br />
25
*/
26
?>
27
<form action="" id="co-shipping-form">
28
+ <fieldset>
29
+ <ul class="form-list group-select">
30
<?php if ($this->customerHasAddresses()): ?>
31
<li>
32
<label for="shipping-address-select"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label><br />
app/design/frontend/default/blank/template/cms/wrapper.phtml ADDED
@@ -0,0 +1,29 @@
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@magentocommerce.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.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="std">
28
+ <?php echo $this->getChidHtml(); ?>
29
+ </div>
app/design/frontend/default/blank/template/contacts/form.phtml CHANGED
@@ -29,9 +29,9 @@
29
<h2><?php echo Mage::helper('contacts')->__('Contact Us') ?></h2>
30
</div>
31
<form action="<?php echo $this->getFormAction(); ?>" id="contactForm" method="post">
32
- <fieldset class="group-select">
33
<h3><?php echo Mage::helper('contacts')->__('Contact Information') ?></h3>
34
- <ul>
35
<li>
36
<div class="input-box">
37
<label for="name"><?php echo Mage::helper('contacts')->__('Name') ?> <span class="required">*</span></label><br />
@@ -50,7 +50,7 @@
50
</div>
51
</li>
52
<li>
53
- <label for="comment"><?php echo Mage::helper('contacts')->__('Comment') ?></label><br />
54
<textarea name="comment" id="comment" title="<?php echo Mage::helper('contacts')->__('Comment') ?>" class="required-entry input-text" style="height:150px;" cols="5" rows="3"></textarea>
55
</li>
56
</ul>
29
<h2><?php echo Mage::helper('contacts')->__('Contact Us') ?></h2>
30
</div>
31
<form action="<?php echo $this->getFormAction(); ?>" id="contactForm" method="post">
32
+ <fieldset>
33
<h3><?php echo Mage::helper('contacts')->__('Contact Information') ?></h3>
34
+ <ul class="form-list group-select">
35
<li>
36
<div class="input-box">
37
<label for="name"><?php echo Mage::helper('contacts')->__('Name') ?> <span class="required">*</span></label><br />
50
</div>
51
</li>
52
<li>
53
+ <label for="comment"><?php echo Mage::helper('contacts')->__('Comment') ?> <span class="required">*</span></label><br />
54
<textarea name="comment" id="comment" title="<?php echo Mage::helper('contacts')->__('Comment') ?>" class="required-entry input-text" style="height:150px;" cols="5" rows="3"></textarea>
55
</li>
56
</ul>
app/design/frontend/default/blank/template/customer/address/edit.phtml CHANGED
@@ -38,12 +38,12 @@
38
<?php endif; ?>
39
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
<form action="<?php echo $this->getSaveUrl() ?>" method="post" id="form-validate">
41
- <fieldset class="group-select">
42
<?php echo $this->getBlockHtml('formkey')?>
43
<input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
44
<input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
45
<h3><?php echo $this->__('Contact Information') ?></h3>
46
- <ul>
47
<li>
48
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getCustomer())->toHtml() ?>
49
</li>
@@ -63,18 +63,18 @@
63
</li>
64
</ul>
65
</fieldset>
66
- <fieldset class="group-select">
67
<h3><?php echo $this->__('Address') ?></h3>
68
- <ul>
69
<li>
70
<label for="street_1"><?php echo $this->__('Street Address') ?> <span class="required">*</span></label><br />
71
<input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text required-entry" />
72
</li>
73
- <?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
74
<li>
75
<input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address '.$_i) ?>" id="street_<?php echo $_i?>" class="input-text" />
76
</li>
77
- <?php endfor ?>
78
<li>
79
<div class="input-box">
80
<label for="city"><?php echo $this->__('City') ?> <span class="required">*</span></label><br />
@@ -130,6 +130,8 @@
130
</div>
131
</form>
132
<script type="text/javascript">
133
var dataForm = new VarienForm('form-validate', true);
134
new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
135
</script>
38
<?php endif; ?>
39
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
<form action="<?php echo $this->getSaveUrl() ?>" method="post" id="form-validate">
41
+ <fieldset>
42
<?php echo $this->getBlockHtml('formkey')?>
43
<input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
44
<input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
45
<h3><?php echo $this->__('Contact Information') ?></h3>
46
+ <ul class="form-list group-select">
47
<li>
48
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getCustomer())->toHtml() ?>
49
</li>
63
</li>
64
</ul>
65
</fieldset>
66
+ <fieldset>
67
<h3><?php echo $this->__('Address') ?></h3>
68
+ <ul class="form-list group-select">
69
<li>
70
<label for="street_1"><?php echo $this->__('Street Address') ?> <span class="required">*</span></label><br />
71
<input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text required-entry" />
72
</li>
73
+ <?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
74
<li>
75
<input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address '.$_i) ?>" id="street_<?php echo $_i?>" class="input-text" />
76
</li>
77
+ <?php endfor ?>
78
<li>
79
<div class="input-box">
80
<label for="city"><?php echo $this->__('City') ?> <span class="required">*</span></label><br />
130
</div>
131
</form>
132
<script type="text/javascript">
133
+ //<![CDATA[
134
var dataForm = new VarienForm('form-validate', true);
135
new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
136
+ //]]>
137
</script>
app/design/frontend/default/blank/template/customer/form/address.phtml CHANGED
@@ -31,11 +31,11 @@
31
</div>
32
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
33
<form action="<?php echo $action ?>" method="post" id="form-validate">
34
- <fieldset class="group-select">
35
<input type="hidden" name="address_id" value="<?php echo $data->getAddressId() ?>" />
36
<input type="hidden" name="customer_id" id="address_id" value="<?php echo $data->getCustomerId() ?>" />
37
<h3><?php echo $this->__('Personal Information') ?></h3>
38
- <ul>
39
<li>
40
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($data)->toHtml() ?>
41
</li>
@@ -47,18 +47,18 @@
47
</li>
48
</ul>
49
</fieldset>
50
- <fieldset class="group-select">
51
<h3><?php echo $this->__('Address') ?></h3>
52
- <ul>
53
<li>
54
<label for="street_1"><?php echo $this->__('Street Address') ?> <span class="required">*</span></label><br />
55
<input type="text" name="street[]" value="<?php echo $this->htmlEscape($data->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text required-entry" />
56
</li>
57
- <?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
58
<li>
59
<input type="text" name="street[]" value="<?php echo $this->htmlEscape($data->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address '.$_i) ?>" id="street_<?php echo $_i?>" class="input-text" />
60
</li>
61
- <?php endfor ?>
62
<li>
63
<div class="input-box">
64
<label for="city"><?php echo $this->__('City') ?> <span class="required">*</span></label><br />
31
</div>
32
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
33
<form action="<?php echo $action ?>" method="post" id="form-validate">
34
+ <fieldset>
35
<input type="hidden" name="address_id" value="<?php echo $data->getAddressId() ?>" />
36
<input type="hidden" name="customer_id" id="address_id" value="<?php echo $data->getCustomerId() ?>" />
37
<h3><?php echo $this->__('Personal Information') ?></h3>
38
+ <ul class="form-list group-select">
39
<li>
40
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($data)->toHtml() ?>
41
</li>
47
</li>
48
</ul>
49
</fieldset>
50
+ <fieldset>
51
<h3><?php echo $this->__('Address') ?></h3>
52
+ <ul class="form-list group-select">
53
<li>
54
<label for="street_1"><?php echo $this->__('Street Address') ?> <span class="required">*</span></label><br />
55
<input type="text" name="street[]" value="<?php echo $this->htmlEscape($data->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text required-entry" />
56
</li>
57
+ <?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
58
<li>
59
<input type="text" name="street[]" value="<?php echo $this->htmlEscape($data->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address '.$_i) ?>" id="street_<?php echo $_i?>" class="input-text" />
60
</li>
61
+ <?php endfor ?>
62
<li>
63
<div class="input-box">
64
<label for="city"><?php echo $this->__('City') ?> <span class="required">*</span></label><br />
app/design/frontend/default/blank/template/customer/form/edit.phtml CHANGED
@@ -29,10 +29,10 @@
29
</div>
30
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
<form action="<?php echo $this->getUrl('customer/account/editPost') ?>" method="post" id="form-validate">
32
- <fieldset class="group-select">
33
<?php echo $this->getBlockHtml('formkey')?>
34
<h3><?php echo $this->__('Account Information') ?></h3>
35
- <ul>
36
<li>
37
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getCustomer())->toHtml() ?>
38
</li>
@@ -42,22 +42,22 @@
42
<input type="text" name="email" id="email" value="<?php echo $this->htmlEscape($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') ?>
46
- <?php if ($_dob->isEnabled()): ?>
47
<li><?php echo $_dob->setDate($this->getCustomer()->getDob())->toHtml() ?></li>
48
- <?php endif ?>
49
- <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
50
- <?php if ($_taxvat->isEnabled()): ?>
51
<li><?php echo $_taxvat->setTaxvat($this->getCustomer()->getTaxvat())->toHtml() ?></li>
52
- <?php endif ?>
53
<li>
54
<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>
55
</li>
56
</ul>
57
</fieldset>
58
- <fieldset class="group-select" style="display:none;">
59
<h3><?php echo $this->__('Change Password') ?></h3>
60
- <ul>
61
<li>
62
<div class="input-box">
63
<label for="current_password"><?php echo $this->__('Current Password') ?></label><br />
29
</div>
30
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
<form action="<?php echo $this->getUrl('customer/account/editPost') ?>" method="post" id="form-validate">
32
+ <fieldset>
33
<?php echo $this->getBlockHtml('formkey')?>
34
<h3><?php echo $this->__('Account Information') ?></h3>
35
+ <ul class="form-list group-select">
36
<li>
37
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getCustomer())->toHtml() ?>
38
</li>
42
<input type="text" name="email" id="email" value="<?php echo $this->htmlEscape($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') ?>
46
+ <?php if ($_dob->isEnabled()): ?>
47
<li><?php echo $_dob->setDate($this->getCustomer()->getDob())->toHtml() ?></li>
48
+ <?php endif ?>
49
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
50
+ <?php if ($_taxvat->isEnabled()): ?>
51
<li><?php echo $_taxvat->setTaxvat($this->getCustomer()->getTaxvat())->toHtml() ?></li>
52
+ <?php endif ?>
53
<li>
54
<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>
55
</li>
56
</ul>
57
</fieldset>
58
+ <fieldset style="display:none;">
59
<h3><?php echo $this->__('Change Password') ?></h3>
60
+ <ul class="form-list group-select">
61
<li>
62
<div class="input-box">
63
<label for="current_password"><?php echo $this->__('Current Password') ?></label><br />
app/design/frontend/default/blank/template/customer/form/login.phtml CHANGED
@@ -31,47 +31,53 @@
31
* @see Mage_Customer_Block_Form_Login
32
*/
33
?>
34
- <div class="page-title">
35
- <h2><?php echo $this->__('Login or Create an Account') ?></h2>
36
- </div>
37
- <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
38
- <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
39
- <fieldset class="col2-set login-page">
40
- <legend>Login or Create an Account</legend>
41
- <div class="col-1 new-users">
42
- <div class="content">
43
- <h3><?php echo $this->__('New Customers') ?></h3>
44
- <p><?php echo $this->__('By creating an account with our store, you will be able to move through the checkout process faster, store multiple shipping addresses, view and track your orders in your account and more.') ?></p>
45
- </div>
46
- <div class="buttons-set">
47
- <button type="button" class="button" onclick="window.location='<?php echo $this->getCreateAccountUrl() ?>';"><span><?php echo $this->__('Create an Account') ?></span></button>
48
</div>
49
- </div>
50
- <div class="col-2 registered-users">
51
- <div class="content">
52
- <h3><?php echo $this->__('Registered Customers') ?></h3>
53
- <p><?php echo $this->__('If you have an account with us, please log in.') ?></p>
54
- <ul class="form-list">
55
- <li>
56
- <label for="email"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label><br />
57
- <input name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" id="email" type="text" class="input-text required-entry" title="<?php echo $this->__('Email Address') ?>" />
58
- </li>
59
- <li>
60
- <label for="pass"><?php echo $this->__('Password') ?> <span class="required">*</span></label><br />
61
- <input name="login[password]" type="password" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
62
- </li>
63
- </ul>
64
- <p class="required"><?php echo $this->__('* Required Fields') ?></p>
65
</div>
66
- <div class="buttons-set">
67
- <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
68
- <button class="button" type="submit" name="send" id="send2"><span><?php echo $this->__('Login') ?></span></button>
69
- </div>
70
- </div>
71
- </fieldset>
72
- </form>
73
- <script type="text/javascript">
74
- //<![CDATA[
75
- var dataForm = new VarienForm('login-form', true);
76
- //]]>
77
- </script>
31
* @see Mage_Customer_Block_Form_Login
32
*/
33
?>
34
+ <div class="account-login">
35
+ <div class="page-title">
36
+ <h2><?php echo $this->__('Login or Create an Account') ?></h2>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
40
+ <fieldset>
41
+ <legend><?php echo $this->__('Login or Create an Account') ?></legend>
42
+ <div class="col2-set">
43
+ <div class="col-1 new-users">
44
+ <h3><?php echo $this->__('New Customers') ?></h3>
45
+ <p><?php echo $this->__('By creating an account with our store, you will be able to move through the checkout process faster, store multiple shipping addresses, view and track your orders in your account and more.') ?></p>
46
+ </div>
47
+ <div class="col-2 registered-users">
48
+ <h3><?php echo $this->__('Registered Customers') ?></h3>
49
+ <p><?php echo $this->__('If you have an account with us, please log in.') ?></p>
50
+ <ul class="form-list">
51
+ <li>
52
+ <label for="email"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label><br />
53
+ <input name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" id="email" type="text" class="input-text required-entry" title="<?php echo $this->__('Email Address') ?>" />
54
+ </li>
55
+ <li>
56
+ <label for="pass"><?php echo $this->__('Password') ?> <span class="required">*</span></label><br />
57
+ <input name="login[password]" type="password" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
58
+ </li>
59
+ </ul>
60
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
61
+ </div>
62
</div>
63
+ <div class="col2-set">
64
+ <div class="col-1">
65
+ <div class="buttons-set">
66
+ <button type="button" class="button" onclick="window.location='<?php echo $this->getCreateAccountUrl() ?>';"><span><?php echo $this->__('Create an Account') ?></span></button>
67
+ </div>
68
+ </div>
69
+ <div class="col-2">
70
+ <div class="buttons-set">
71
+ <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
72
+ <button class="button" type="submit" name="send" id="send2"><span><?php echo $this->__('Login') ?></span></button>
73
+ </div>
74
+ </div>
75
</div>
76
+ </fieldset>
77
+ </form>
78
+ <script type="text/javascript">
79
+ //<![CDATA[
80
+ var dataForm = new VarienForm('login-form', true);
81
+ //]]>
82
+ </script>
83
+ </div>
app/design/frontend/default/blank/template/customer/form/newsletter.phtml CHANGED
@@ -31,7 +31,9 @@
31
<form action="<?php echo $this->getAction() ?>" method="post" id="form-validate">
32
<fieldset>
33
<?php echo $this->getBlockHtml('formkey')?>
34
- <p><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></p>
35
<div class="buttons-set">
36
<a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
37
<button type="submit" class="button"><span><?php echo $this->__('Save') ?></span></button>
31
<form action="<?php echo $this->getAction() ?>" method="post" id="form-validate">
32
<fieldset>
33
<?php echo $this->getBlockHtml('formkey')?>
34
+ <ul class="form-list">
35
+ <li><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>
36
+ </ul>
37
<div class="buttons-set">
38
<a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
39
<button type="submit" class="button"><span><?php echo $this->__('Save') ?></span></button>
app/design/frontend/default/blank/template/customer/form/register.phtml CHANGED
@@ -31,122 +31,124 @@
31
* @see Mage_Customer_Block_Form_Register
32
*/
33
?>
34
- <div class="page-title">
35
- <h2><?php echo $this->__('Create an Account') ?></h2>
36
- </div>
37
- <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
38
- <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate">
39
- <fieldset class="group-select">
40
- <input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
41
- <input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
42
- <h3><?php echo $this->__('Personal Information') ?></h3>
43
- <ul>
44
- <li>
45
- <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getFormData())->toHtml() ?>
46
- </li>
47
- <li>
48
- <div class="input-box">
49
- <label for="email_address"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label><br />
50
- <input type="text" name="email" id="email_address" value="<?php echo $this->htmlEscape($this->getFormData()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
51
- </div>
52
- </li>
53
- <?php if ($this->isNewsletterEnabled()): ?>
54
- <li>
55
- <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" />
56
- <label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
57
- </li>
58
- <?php endif ?>
59
- <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
60
- <?php if ($_dob->isEnabled()): ?>
61
- <li><?php echo $_dob->setDate($this->getFormData()->getDob())->toHtml() ?></li>
62
- <?php endif ?>
63
- <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
64
- <?php if ($_taxvat->isEnabled()): ?>
65
- <li><?php echo $_taxvat->setTaxvat($this->getFormData()->getTaxvat())->toHtml() ?></li>
66
- <?php endif ?>
67
- </ul>
68
- </fieldset>
69
- <?php if($this->getShowAddressFields()): ?>
70
- <fieldset class="group-select">
71
- <input type="hidden" name="create_address" value="1" />
72
- <h3><?php echo $this->__('Address Information') ?></h3>
73
- <ul>
74
- <li>
75
- <div class="input-box">
76
- <label for="company"><?php echo $this->__('Company') ?></label><br />
77
- <input type="text" name="company" id="company" value="<?php echo $this->htmlEscape($this->getFormData()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text" />
78
- </div>
79
- <div class="input-box">
80
- <label for="telephone"><?php echo $this->__('Telephone') ?> <span class="required">*</span></label><br />
81
- <input type="text" name="telephone" id="telephone" value="<?php echo $this->htmlEscape($this->getFormData()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text required-entry" />
82
- </div>
83
- </li>
84
- <li>
85
- <label for="street_1"><?php echo $this->__('Street Address') ?> <span class="required">*</span></label><br />
86
- <input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getFormData()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text required-entry" />
87
- </li>
88
- <?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
89
- <li>
90
- <input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getFormData()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address '.$_i) ?>" id="street_<?php echo $_i?>" class="input-text" />
91
- <?php endfor ?>
92
- </li>
93
- <li>
94
- <div class="input-box">
95
- <label for="city"><?php echo $this->__('City') ?> <span class="required">*</span></label><br />
96
- <input type="text" name="city" value="<?php echo $this->htmlEscape($this->getFormData()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text required-entry" id="city" />
97
- </div>
98
- <div class="input-box">
99
- <label for="region_id"><?php echo $this->__('State/Province') ?> <span class="required">*</span></label><br />
100
- <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
101
- <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
102
- </select>
103
- <script type="text/javascript">
104
- $('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
105
- </script>
106
- <input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
107
- </div>
108
- </li>
109
- <li>
110
- <div class="input-box">
111
- <label for="zip"><?php echo $this->__('Zip/Postal Code') ?> <span class="required">*</span></label><br />
112
- <input type="text" name="postcode" value="<?php echo $this->htmlEscape($this->getFormData()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international required-entry" />
113
- </div>
114
- <div class="input-box">
115
- <label for="country"><?php echo $this->__('Country') ?> <span class="required">*</span></label><br />
116
- <?php echo $this->getCountryHtmlSelect() ?>
117
- </div>
118
- </li>
119
- </ul>
120
- <input type="hidden" name="default_billing" value="1" />
121
- <input type="hidden" name="default_shipping" value="1" />
122
- </fieldset>
123
- <?php endif; ?>
124
- <fieldset class="group-select">
125
- <h3><?php echo $this->__('Login Information') ?></h3>
126
- <ul>
127
- <li>
128
- <div class="input-box">
129
- <label for="password"><?php echo $this->__('Password') ?> <span class="required">*</span></label><br />
130
- <input type="password" name="password" id="password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
131
- </div>
132
- <div class="input-box">
133
- <label for="confirmation"><?php echo $this->__('Confirm Password') ?> <span class="required">*</span></label><br />
134
- <input type="password" name="confirmation" title="<?php echo $this->__('Confirm Password') ?>" id="confirmation" class="input-text required-entry validate-cpassword" />
135
- </div>
136
- </li>
137
- </ul>
138
- </fieldset>
139
- <p class="required"><?php echo $this->__('* Required Fields') ?></p>
140
- <div class="buttons-set">
141
- <a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
142
- <button class="button" type="submit"><span><?php echo $this->__('Submit') ?></span></button>
143
</div>
144
- </form>
145
- <script type="text/javascript">
146
- //<![CDATA[
147
- var dataForm = new VarienForm('form-validate', true);
148
<?php if($this->getShowAddressFields()): ?>
149
- new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
150
<?php endif; ?>
151
- //]]>
152
- </script>
31
* @see Mage_Customer_Block_Form_Register
32
*/
33
?>
34
+ <div class="account-create">
35
+ <div class="page-title">
36
+ <h2><?php echo $this->__('Create an Account') ?></h2>
37
</div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate">
40
+ <fieldset>
41
+ <input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
42
+ <input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
43
+ <h3><?php echo $this->__('Personal Information') ?></h3>
44
+ <ul class="form-list group-select">
45
+ <li>
46
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getFormData())->toHtml() ?>
47
+ </li>
48
+ <li>
49
+ <div class="input-box">
50
+ <label for="email_address"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label><br />
51
+ <input type="text" name="email" id="email_address" value="<?php echo $this->htmlEscape($this->getFormData()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
52
+ </div>
53
+ </li>
54
+ <?php if ($this->isNewsletterEnabled()): ?>
55
+ <li>
56
+ <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" />
57
+ <label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
58
+ </li>
59
+ <?php endif ?>
60
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
61
+ <?php if ($_dob->isEnabled()): ?>
62
+ <li><?php echo $_dob->setDate($this->getFormData()->getDob())->toHtml() ?></li>
63
+ <?php endif ?>
64
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
65
+ <?php if ($_taxvat->isEnabled()): ?>
66
+ <li><?php echo $_taxvat->setTaxvat($this->getFormData()->getTaxvat())->toHtml() ?></li>
67
+ <?php endif ?>
68
+ </ul>
69
+ </fieldset>
70
<?php if($this->getShowAddressFields()): ?>
71
+ <fieldset>
72
+ <input type="hidden" name="create_address" value="1" />
73
+ <h3><?php echo $this->__('Address Information') ?></h3>
74
+ <ul class="form-list group-select">
75
+ <li>
76
+ <div class="input-box">
77
+ <label for="company"><?php echo $this->__('Company') ?></label><br />
78
+ <input type="text" name="company" id="company" value="<?php echo $this->htmlEscape($this->getFormData()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text" />
79
+ </div>
80
+ <div class="input-box">
81
+ <label for="telephone"><?php echo $this->__('Telephone') ?> <span class="required">*</span></label><br />
82
+ <input type="text" name="telephone" id="telephone" value="<?php echo $this->htmlEscape($this->getFormData()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text required-entry" />
83
+ </div>
84
+ </li>
85
+ <li>
86
+ <label for="street_1"><?php echo $this->__('Street Address') ?> <span class="required">*</span></label><br />
87
+ <input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getFormData()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text required-entry" />
88
+ </li>
89
+ <?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
90
+ <li>
91
+ <input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getFormData()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address '.$_i) ?>" id="street_<?php echo $_i?>" class="input-text" />
92
+ <?php endfor ?>
93
+ </li>
94
+ <li>
95
+ <div class="input-box">
96
+ <label for="city"><?php echo $this->__('City') ?> <span class="required">*</span></label><br />
97
+ <input type="text" name="city" value="<?php echo $this->htmlEscape($this->getFormData()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text required-entry" id="city" />
98
+ </div>
99
+ <div class="input-box">
100
+ <label for="region_id"><?php echo $this->__('State/Province') ?> <span class="required">*</span></label><br />
101
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
102
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
103
+ </select>
104
+ <script type="text/javascript">
105
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
106
+ </script>
107
+ <input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
108
+ </div>
109
+ </li>
110
+ <li>
111
+ <div class="input-box">
112
+ <label for="zip"><?php echo $this->__('Zip/Postal Code') ?> <span class="required">*</span></label><br />
113
+ <input type="text" name="postcode" value="<?php echo $this->htmlEscape($this->getFormData()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international required-entry" />
114
+ </div>
115
+ <div class="input-box">
116
+ <label for="country"><?php echo $this->__('Country') ?> <span class="required">*</span></label><br />
117
+ <?php echo $this->getCountryHtmlSelect() ?>
118
+ </div>
119
+ </li>
120
+ </ul>
121
+ <input type="hidden" name="default_billing" value="1" />
122
+ <input type="hidden" name="default_shipping" value="1" />
123
+ </fieldset>
124
<?php endif; ?>
125
+ <fieldset>
126
+ <h3><?php echo $this->__('Login Information') ?></h3>
127
+ <ul class="form-list group-select">
128
+ <li>
129
+ <div class="input-box">
130
+ <label for="password"><?php echo $this->__('Password') ?> <span class="required">*</span></label><br />
131
+ <input type="password" name="password" id="password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
132
+ </div>
133
+ <div class="input-box">
134
+ <label for="confirmation"><?php echo $this->__('Confirm Password') ?> <span class="required">*</span></label><br />
135
+ <input type="password" name="confirmation" title="<?php echo $this->__('Confirm Password') ?>" id="confirmation" class="input-text required-entry validate-cpassword" />
136
+ </div>
137
+ </li>
138
+ </ul>
139
+ </fieldset>
140
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
141
+ <div class="buttons-set">
142
+ <a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
143
+ <button class="button" type="submit"><span><?php echo $this->__('Submit') ?></span></button>
144
+ </div>
145
+ </form>
146
+ <script type="text/javascript">
147
+ //<![CDATA[
148
+ var dataForm = new VarienForm('form-validate', true);
149
+ <?php if($this->getShowAddressFields()): ?>
150
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
151
+ <?php endif; ?>
152
+ //]]>
153
+ </script>
154
+ </div>
app/design/frontend/default/blank/template/customer/widget/name.phtml CHANGED
@@ -55,7 +55,7 @@ For checkout/onepage/shipping.phtml:
55
<?php if ($this->getPrefixOptions()===false): ?>
56
<input type="text" id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" value="<?php echo $this->htmlEscape($this->getObject()->getPrefix()) ?>" title="<?php echo $this->__('Prefix') ?>" class="input-text <?php if ($this->isPrefixRequired()):?> required-entry<?php endif; ?>" <?php echo $this->getFieldParams() ?> />
57
<?php else: ?>
58
- <select id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" title="<?php echo $this->__('Prefix') ?>"<?php if ($this->isPrefixRequired()):?> class="required-entry"<?php endif; ?> <?php echo $this->getFieldParams() ?> />
59
<?php foreach ($this->getPrefixOptions() as $_option): ?>
60
<option value="<?php echo $_option?>"<?php if ($this->getObject()->getPrefix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
61
<?php endforeach ?>
@@ -102,7 +102,7 @@ For checkout/onepage/shipping.phtml:
102
<?php if ($this->getSuffixOptions()===false): ?>
103
<input type="text" id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" value="<?php echo $this->htmlEscape($this->getObject()->getSuffix()) ?>" title="<?php echo $this->__('Suffix') ?>" class="input-text<?php if ($this->isSuffixRequired()):?> required-entry<?php endif; ?>" <?php echo $this->getFieldParams() ?> />
104
<?php else: ?>
105
- <select id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" title="<?php echo $this->__('Suffix') ?>"<?php if ($this->isSuffixRequired()):?> class="required-entry"<?php endif; ?> <?php echo $this->getFieldParams() ?> />
106
<?php foreach ($this->getSuffixOptions() as $_option): ?>
107
<option value="<?php echo $_option?>"<?php if ($this->getObject()->getSuffix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
108
<?php endforeach ?>
55
<?php if ($this->getPrefixOptions()===false): ?>
56
<input type="text" id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" value="<?php echo $this->htmlEscape($this->getObject()->getPrefix()) ?>" title="<?php echo $this->__('Prefix') ?>" class="input-text <?php if ($this->isPrefixRequired()):?> required-entry<?php endif; ?>" <?php echo $this->getFieldParams() ?> />
57
<?php else: ?>
58
+ <select id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" title="<?php echo $this->__('Prefix') ?>"<?php if ($this->isPrefixRequired()):?> class="required-entry"<?php endif; ?> <?php echo $this->getFieldParams() ?>>
59
<?php foreach ($this->getPrefixOptions() as $_option): ?>
60
<option value="<?php echo $_option?>"<?php if ($this->getObject()->getPrefix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
61
<?php endforeach ?>
102
<?php if ($this->getSuffixOptions()===false): ?>
103
<input type="text" id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" value="<?php echo $this->htmlEscape($this->getObject()->getSuffix()) ?>" title="<?php echo $this->__('Suffix') ?>" class="input-text<?php if ($this->isSuffixRequired()):?> required-entry<?php endif; ?>" <?php echo $this->getFieldParams() ?> />
104
<?php else: ?>
105
+ <select id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" title="<?php echo $this->__('Suffix') ?>"<?php if ($this->isSuffixRequired()):?> class="required-entry"<?php endif; ?> <?php echo $this->getFieldParams() ?>>
106
<?php foreach ($this->getSuffixOptions() as $_option): ?>
107
<option value="<?php echo $_option?>"<?php if ($this->getObject()->getSuffix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
108
<?php endforeach ?>
app/design/frontend/default/blank/template/downloadable/checkout/cart/item/default.phtml CHANGED
@@ -18,7 +18,7 @@
18
* versions in the future. If you wish to customize Magento for your
19
* needs please refer to http://www.magentocommerce.com for more information.
20
*
21
- * @category design_default
22
* @package Mage_Downloadable
23
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
@@ -26,12 +26,10 @@
26
?>
27
<?php $_item = $this->getItem()?>
28
<tr>
29
- <td class="a-center"><a href="<?php echo $this->getDeleteUrl() ?>" alt="<?php echo $this->__('Remove item')?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" alt="<?php echo $this->__('Remove item')?>" /></a></td>
30
- <td><a href="<?php echo $this->getProductUrl() ?>"><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" width="75" /></a></td>
31
- <td class="attributes-col">
32
- <h4 class="title"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->getProductName() ?></a></h4>
33
-
34
- <!-- item custom options -->
35
<?php if ($_options = $this->getOptionList()):?>
36
<dl class="item-options">
37
<?php foreach ($_options as $_option) : ?>
@@ -50,8 +48,6 @@
50
<?php endforeach; ?>
51
</dl>
52
<?php endif;?>
53
- <!-- / -->
54
-
55
<!-- downloadable -->
56
<?php if ($links = $this->getLinks()): ?>
57
<dl class="item-options">
@@ -73,7 +69,7 @@
73
</td>
74
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
75
<td class="a-center">
76
- <input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" />
77
</td>
78
<?php endif ?>
79
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
@@ -82,7 +78,7 @@
82
</td>
83
<?php endif; ?>
84
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
85
- <td class="a-right">
86
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
87
</td>
88
<?php endif; ?>
@@ -95,7 +91,7 @@
95
</td>
96
<?php endif; ?>
97
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
98
- <td class="a-right">
99
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
100
</td>
101
<?php endif; ?>
18
* versions in the future. If you wish to customize Magento for your
19
* needs please refer to http://www.magentocommerce.com for more information.
20
*
21
+ * @category design_blank
22
* @package Mage_Downloadable
23
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
?>
27
<?php $_item = $this->getItem()?>
28
<tr>
29
+ <td class="a-center"><a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove item')?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" alt="<?php echo $this->__('Remove item')?>" /></a></td>
30
+ <td><a href="<?php echo $this->getProductUrl() ?>" class="product-image" title="<?php echo $this->htmlEscape($this->getProductName()) ?>"><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /></a></td>
31
+ <td>
32
+ <h3 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->getProductName() ?></a></h3>
33
<?php if ($_options = $this->getOptionList()):?>
34
<dl class="item-options">
35
<?php foreach ($_options as $_option) : ?>
48
<?php endforeach; ?>
49
</dl>
50
<?php endif;?>
51
<!-- downloadable -->
52
<?php if ($links = $this->getLinks()): ?>
53
<dl class="item-options">
69
</td>
70
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
71
<td class="a-center">
72
+ <input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" class="checkbox" />
73
</td>
74
<?php endif ?>
75
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
78
</td>
79
<?php endif; ?>
80
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
81
+ <td>
82
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
83
</td>
84
<?php endif; ?>
91
</td>
92
<?php endif; ?>
93
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
94
+ <td>
95
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
96
</td>
97
<?php endif; ?>
app/design/frontend/default/blank/template/downloadable/checkout/multishipping/item/downloadable.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
- <h4 class="title"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->getProductName() ?></a></h4>
28
<!-- item custom options -->
29
<?php if ($_options = $this->getOptionList()):?>
30
<dl class="item-options">
24
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
*/
26
?>
27
+ <h4 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->getProductName() ?></a></h4>
28
<!-- item custom options -->
29
<?php if ($_options = $this->getOptionList()):?>
30
<dl class="item-options">
app/design/frontend/default/blank/template/downloadable/checkout/onepage/review/item.phtml CHANGED
@@ -26,7 +26,7 @@
26
?>
27
<?php $_item = $this->getItem()?>
28
<tr>
29
- <td class="attributes-col"><h4 class="title"><?php echo $this->htmlEscape($this->getProductName()) ?></h4>
30
<!-- item custom options -->
31
<?php if ($_options = $this->getOptionList()):?>
32
<dl class="item-options">
@@ -60,13 +60,13 @@
60
<td class="a-right"><?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?></td>
61
<?php endif; ?>
62
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
63
- <td class="a-right"><?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?></td>
64
<?php endif; ?>
65
<td class="a-center"><?php echo $_item->getQty() ?></td>
66
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
67
<td class="a-right"><?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?></td>
68
<?php endif; ?>
69
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
70
- <td class="a-right"><?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?></td>
71
<?php endif; ?>
72
</tr>
26
?>
27
<?php $_item = $this->getItem()?>
28
<tr>
29
+ <td><h4 class="product-name"><?php echo $this->htmlEscape($this->getProductName()) ?></h4>
30
<!-- item custom options -->
31
<?php if ($_options = $this->getOptionList()):?>
32
<dl class="item-options">
60
<td class="a-right"><?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?></td>
61
<?php endif; ?>
62
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
63
+ <td><?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?></td>
64
<?php endif; ?>
65
<td class="a-center"><?php echo $_item->getQty() ?></td>
66
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
67
<td class="a-right"><?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?></td>
68
<?php endif; ?>
69
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
70
+ <td><?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?></td>
71
<?php endif; ?>
72
</tr>
app/design/frontend/default/blank/template/downloadable/customer/products/list.phtml CHANGED
@@ -37,13 +37,18 @@
37
<?php echo $this->getChildHtml('pager'); ?>
38
<?php if(count($_items)): ?>
39
<table cellspacing="0" class="data-table" id="my-downloadable-products-table">
40
<thead>
41
<tr>
42
<th><?php echo Mage::helper('downloadable')->__('Order #') ?></th>
43
<th><?php echo Mage::helper('downloadable')->__('Date') ?></th>
44
<th><?php echo Mage::helper('downloadable')->__('Title') ?></th>
45
<th><?php echo Mage::helper('downloadable')->__('Status') ?></th>
46
- <th><?php echo Mage::helper('downloadable')->__('Remaining Downloads') ?></th>
47
</tr>
48
</thead>
49
<tbody>
@@ -51,7 +56,7 @@
51
<?php foreach ($_items as $_item): ?>
52
<tr>
53
<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>
54
- <td><?php echo $this->formatDate($_item->getPurchased()->getCreatedAt()) ?></td>
55
<td><?php echo $_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 $_item->getLinkTitle() ?></a></td>
56
<td><em><?php echo ucfirst($_item->getStatus()) ?></em></td>
57
<td><?php echo $this->getRemainingDownloads($_item) ?></td>
@@ -61,7 +66,7 @@
61
</table>
62
<script type="text/javascript">decorateTable('my-downloadable-products-table')</script>
63
<?php else: ?>
64
- <p><?php echo Mage::helper('downloadable')->__('You have no Downloadable Products.'); ?></p>
65
<?php endif; ?>
66
<?php echo $this->getChildHtml('pager'); ?>
67
<div class="buttons-set">
37
<?php echo $this->getChildHtml('pager'); ?>
38
<?php if(count($_items)): ?>
39
<table cellspacing="0" class="data-table" id="my-downloadable-products-table">
40
+ <col width="1" />
41
+ <col width="1" />
42
+ <col />
43
+ <col width="1" />
44
+ <col width="1" />
45
<thead>
46
<tr>
47
<th><?php echo Mage::helper('downloadable')->__('Order #') ?></th>
48
<th><?php echo Mage::helper('downloadable')->__('Date') ?></th>
49
<th><?php echo Mage::helper('downloadable')->__('Title') ?></th>
50
<th><?php echo Mage::helper('downloadable')->__('Status') ?></th>
51
+ <th><span class="nobr"><?php echo Mage::helper('downloadable')->__('Remaining Downloads') ?></span></th>
52
</tr>
53
</thead>
54
<tbody>
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 $_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 $_item->getLinkTitle() ?></a></td>
61
<td><em><?php echo ucfirst($_item->getStatus()) ?></em></td>
62
<td><?php echo $this->getRemainingDownloads($_item) ?></td>
66
</table>
67
<script type="text/javascript">decorateTable('my-downloadable-products-table')</script>
68
<?php else: ?>
69
+ <p><?php echo Mage::helper('downloadable')->__('You have not purchased any downloadable products yet.'); ?></p>
70
<?php endif; ?>
71
<?php echo $this->getChildHtml('pager'); ?>
72
<div class="buttons-set">
app/design/frontend/default/blank/template/downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml CHANGED
@@ -27,7 +27,7 @@
27
<?php $_item = $this->getItem() ?>
28
<?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
29
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
30
- <td><h5 class="title"><?php echo $this->htmlEscape($_item->getName()) ?></h5>
31
<?php if($_options = $this->getItemOptions()): ?>
32
<dl class="item-options">
33
<?php foreach ($_options as $_option) : ?>
27
<?php $_item = $this->getItem() ?>
28
<?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
29
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
30
+ <td><h5 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h5>
31
<?php if($_options = $this->getItemOptions()): ?>
32
<dl class="item-options">
33
<?php foreach ($_options as $_option) : ?>
app/design/frontend/default/blank/template/downloadable/sales/order/invoice/items/renderer/downloadable.phtml CHANGED
@@ -27,7 +27,7 @@
27
<?php $_item = $this->getItem() ?>
28
<?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
29
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
30
- <td><h5 class="title"><?php echo $this->htmlEscape($_item->getName()) ?></h5>
31
<?php if($_options = $this->getItemOptions()): ?>
32
<dl class="item-options">
33
<?php foreach ($_options as $_option) : ?>
27
<?php $_item = $this->getItem() ?>
28
<?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
29
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
30
+ <td><h5 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h5>
31
<?php if($_options = $this->getItemOptions()): ?>
32
<dl class="item-options">
33
<?php foreach ($_options as $_option) : ?>
app/design/frontend/default/blank/template/downloadable/sales/order/items/renderer/downloadable.phtml CHANGED
@@ -26,7 +26,7 @@
26
?>
27
<?php $_item = $this->getItem() ?>
28
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
29
- <td><h4 class="title"><?php echo $this->htmlEscape($_item->getName()) ?></h4>
30
<?php if($_options = $this->getItemOptions()): ?>
31
<dl class="item-options">
32
<?php foreach ($_options as $_option) : ?>
26
?>
27
<?php $_item = $this->getItem() ?>
28
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
29
+ <td><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4>
30
<?php if($_options = $this->getItemOptions()): ?>
31
<dl class="item-options">
32
<?php foreach ($_options as $_option) : ?>
app/design/frontend/default/blank/template/googlecheckout/link.phtml CHANGED
@@ -31,7 +31,7 @@
31
<form method="post" action="<?php echo $this->getCheckoutUrl();?>"<?php if($this->getIsActiveAanalytics()):?> onsubmit="setUrchinInputCode(pageTracker)"<?php endif;?>>
32
<fieldset>
33
<input type="hidden" name="analyticsdata" value="" />
34
- <input type="image" src="<?php echo $this->htmlEscape($this->getImageUrl())?>" alt="<?php echo Mage::helper('googlecheckout')->__('Fast checkout through Google');?>" <? echo $this->getIsDisabled()?'disabled="disabled"':'' ?> />
35
</fieldset>
36
</form>
37
<?php endif; ?>
31
<form method="post" action="<?php echo $this->getCheckoutUrl();?>"<?php if($this->getIsActiveAanalytics()):?> onsubmit="setUrchinInputCode(pageTracker)"<?php endif;?>>
32
<fieldset>
33
<input type="hidden" name="analyticsdata" value="" />
34
+ <input type="image" src="<?php echo $this->htmlEscape($this->getImageUrl())?>" alt="<?php echo Mage::helper('googlecheckout')->__('Fast checkout through Google');?>" />
35
</fieldset>
36
</form>
37
<?php endif; ?>
app/design/frontend/default/blank/template/newsletter/subscribe.phtml CHANGED
@@ -40,7 +40,9 @@
40
<?php endif; ?>
41
*/ ?>
42
<label for="newsletter"><?php echo $this->__('Sign up for our newsletter:') ?></label>
43
- <input name="email" type="text" id="newsletter" class="input-text required-entry validate-email" />
44
<button type="submit" class="button"><span><?php echo $this->__('Subscribe') ?></span></button>
45
</fieldset>
46
</form>
40
<?php endif; ?>
41
*/ ?>
42
<label for="newsletter"><?php echo $this->__('Sign up for our newsletter:') ?></label>
43
+ <div class="input-box">
44
+ <input name="email" type="text" id="newsletter" class="input-text required-entry validate-email" />
45
+ </div>
46
<button type="submit" class="button"><span><?php echo $this->__('Subscribe') ?></span></button>
47
</fieldset>
48
</form>
app/design/frontend/default/blank/template/page/1column.phtml CHANGED
@@ -37,14 +37,14 @@
37
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
<div class="wrapper">
39
<div class="page">
40
- <div class="header-container"><?php echo $this->getChildHtml('header') ?></div>
41
<div class="main col1-layout">
42
<div class="col-main">
43
<?php echo $this->getChildHtml('breadcrumbs') ?>
44
<?php echo $this->getChildHtml('content') ?>
45
</div>
46
</div>
47
- <div class="footer"><?php echo $this->getChildHtml('footer') ?></div>
48
<?php echo $this->getChildHtml('before_body_end') ?>
49
</div>
50
</div>
37
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
<div class="wrapper">
39
<div class="page">
40
+ <?php echo $this->getChildHtml('header') ?>
41
<div class="main col1-layout">
42
<div class="col-main">
43
<?php echo $this->getChildHtml('breadcrumbs') ?>
44
<?php echo $this->getChildHtml('content') ?>
45
</div>
46
</div>
47
+ <?php echo $this->getChildHtml('footer') ?>
48
<?php echo $this->getChildHtml('before_body_end') ?>
49
</div>
50
</div>
app/design/frontend/default/blank/template/page/2columns-left.phtml CHANGED
@@ -37,7 +37,7 @@
37
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
<div class="wrapper">
39
<div class="page">
40
- <div class="header-container"><?php echo $this->getChildHtml('header') ?></div>
41
<div class="main col2-left-layout">
42
<?php echo $this->getChildHtml('breadcrumbs') ?>
43
<div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
@@ -46,7 +46,7 @@
46
<?php echo $this->getChildHtml('content') ?>
47
</div>
48
</div>
49
- <div class="footer"><?php echo $this->getChildHtml('footer') ?></div>
50
<?php echo $this->getChildHtml('before_body_end') ?>
51
</div>
52
</div>
37
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
<div class="wrapper">
39
<div class="page">
40
+ <?php echo $this->getChildHtml('header') ?>
41
<div class="main col2-left-layout">
42
<?php echo $this->getChildHtml('breadcrumbs') ?>
43
<div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
46
<?php echo $this->getChildHtml('content') ?>
47
</div>
48
</div>
49
+ <?php echo $this->getChildHtml('footer') ?>
50
<?php echo $this->getChildHtml('before_body_end') ?>
51
</div>
52
</div>
app/design/frontend/default/blank/template/page/2columns-right.phtml CHANGED
@@ -37,7 +37,7 @@
37
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
<div class="wrapper">
39
<div class="page">
40
- <div class="header-container"><?php echo $this->getChildHtml('header') ?></div>
41
<div class="main col2-right-layout">
42
<?php echo $this->getChildHtml('breadcrumbs') ?>
43
<div class="col-right sidebar"><?php echo $this->getChildHtml('right') ?></div>
@@ -46,7 +46,7 @@
46
<?php echo $this->getChildHtml('content') ?>
47
</div>
48
</div>
49
- <div class="footer"><?php echo $this->getChildHtml('footer') ?></div>
50
<?php echo $this->getChildHtml('before_body_end') ?>
51
</div>
52
</div>
37
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
<div class="wrapper">
39
<div class="page">
40
+ <?php echo $this->getChildHtml('header') ?>
41
<div class="main col2-right-layout">
42
<?php echo $this->getChildHtml('breadcrumbs') ?>
43
<div class="col-right sidebar"><?php echo $this->getChildHtml('right') ?></div>
46
<?php echo $this->getChildHtml('content') ?>
47
</div>
48
</div>
49
+ <?php echo $this->getChildHtml('footer') ?>
50
<?php echo $this->getChildHtml('before_body_end') ?>
51
</div>
52
</div>
app/design/frontend/default/blank/template/page/3columns.phtml CHANGED
@@ -37,7 +37,7 @@
37
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
<div class="wrapper">
39
<div class="page">
40
- <div class="header-container"><?php echo $this->getChildHtml('header') ?></div>
41
<div class="main col3-layout">
42
<?php echo $this->getChildHtml('breadcrumbs') ?>
43
<div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
@@ -47,7 +47,7 @@
47
<?php echo $this->getChildHtml('content') ?>
48
</div>
49
</div>
50
- <div class="footer"><?php echo $this->getChildHtml('footer') ?></div>
51
<?php echo $this->getChildHtml('before_body_end') ?>
52
</div>
53
</div>
37
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
<div class="wrapper">
39
<div class="page">
40
+ <?php echo $this->getChildHtml('header') ?>
41
<div class="main col3-layout">
42
<?php echo $this->getChildHtml('breadcrumbs') ?>
43
<div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
47
<?php echo $this->getChildHtml('content') ?>
48
</div>
49
</div>
50
+ <?php echo $this->getChildHtml('footer') ?>
51
<?php echo $this->getChildHtml('before_body_end') ?>
52
</div>
53
</div>
app/design/frontend/default/blank/template/page/html/breadcrumbs.phtml CHANGED
@@ -26,7 +26,7 @@
26
?>
27
<?php if($crumbs && is_array($crumbs)): ?>
28
<div class="breadcrumbs">
29
- <strong><?php echo $this->__("You're currently on:") ?></strong>
30
<ul>
31
<?php foreach($crumbs as $_crumbName=>$_crumbInfo): ?>
32
<li class="<?php echo $_crumbName ?>">
26
?>
27
<?php if($crumbs && is_array($crumbs)): ?>
28
<div class="breadcrumbs">
29
+ <!--<strong><?php echo $this->__("You're currently on:") ?></strong>-->
30
<ul>
31
<?php foreach($crumbs as $_crumbName=>$_crumbInfo): ?>
32
<li class="<?php echo $_crumbName ?>">
app/design/frontend/default/blank/template/page/html/footer.phtml CHANGED
@@ -24,6 +24,8 @@
24
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
*/
26
?>
27
- <?php echo $this->getChildHtml() ?>
28
- <p><?php echo $this->__('Help Us to Keep Magento Healthy') ?> - <a href="http://www.magentocommerce.com/bug-tracking" onclick="this.target='_blank'"><strong><?php echo $this->__('Report All Bugs') ?></strong></a> <?php echo $this->__('(ver. %s)', Mage::getVersion()) ?></p>
29
- <address><?php echo $this->getCopyright() ?></address>
24
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
*/
26
?>
27
+ <div class="footer">
28
+ <?php echo $this->getChildHtml() ?>
29
+ <p><?php echo $this->__('Help Us to Keep Magento Healthy') ?> - <a href="http://www.magentocommerce.com/bug-tracking" onclick="this.target='_blank'"><strong><?php echo $this->__('Report All Bugs') ?></strong></a> <?php echo $this->__('(ver. %s)', Mage::getVersion()) ?></p>
30
+ <address><?php echo $this->getCopyright() ?></address>
31
+ </div>
app/design/frontend/default/blank/template/page/html/header.phtml CHANGED
@@ -24,11 +24,13 @@
24
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
*/
26
?>
27
- <div class="header">
28
- <h1 id="logo" class="logo" title="<?php echo $this->getLogoAlt() ?>" style="background-image:url(<?php echo $this->getLogoSrc() ?>);"><a href="<?php echo $this->getUrl('') ?>"><?php echo $this->getLogoAlt() ?></a></h1>
29
- <p class="welcome-msg"><?php echo $this->getWelcome()?></p>
30
- <?php echo $this->getChildHtml('topLinks') ?>
31
- <?php echo $this->getChildHtml('topSearch') ?>
32
- <?php echo $this->getChildHtml('store_language') ?>
33
</div>
34
- <?php echo $this->getChildHtml('topMenu') ?>
24
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
*/
26
?>
27
+ <div class="header-container">
28
+ <div class="header">
29
+ <h1 id="logo" class="logo" title="<?php echo $this->getLogoAlt() ?>" style="background-image:url(<?php echo $this->getLogoSrc() ?>);"><a href="<?php echo $this->getUrl('') ?>"><?php echo $this->getLogoAlt() ?></a></h1>
30
+ <p class="welcome-msg"><?php echo $this->getWelcome()?></p>
31
+ <?php echo $this->getChildHtml('topLinks') ?>
32
+ <?php echo $this->getChildHtml('topSearch') ?>
33
+ <?php echo $this->getChildHtml('store_language') ?>
34
+ </div>
35
+ <?php echo $this->getChildHtml('topMenu') ?>
36
</div>
app/design/frontend/default/blank/template/page/html/top.links.phtml CHANGED
@@ -28,7 +28,7 @@
28
<ul class="links">
29
<?php echo $this->getChildHtml() ?>
30
<?php foreach($toplinks as $_toplink): ?>
31
- <li<?php if($_toplink['first']||$_toplink['last']): ?> class="<?php if($_toplink['first']): ?>first <?php endif; ?><?php if($_toplink['last']): ?>last <?php endif; ?>"<?php endif; ?> <?php echo $_toplink['liParams'] ?>><?php echo $_toplink['beforeText'] ?><a <?php echo $_toplink['aParams'] ?>><?php echo $_toplink['innerText'] ?></a><?php echo $_toplink['afterText'] ?></li>
32
<?php endforeach; ?>
33
</ul>
34
<?php endif; ?>
28
<ul class="links">
29
<?php echo $this->getChildHtml() ?>
30
<?php foreach($toplinks as $_toplink): ?>
31
+ <li<?php if($_toplink['first']||$_toplink['last']): ?> class="<?php if($_toplink['first']): ?>first<?php endif; ?><?php if($_toplink['last']): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_toplink['liParams'] ?>><?php echo $_toplink['beforeText'] ?><a <?php echo $_toplink['aParams'] ?>><?php echo $_toplink['innerText'] ?></a><?php echo $_toplink['afterText'] ?></li>
32
<?php endforeach; ?>
33
</ul>
34
<?php endif; ?>
app/design/frontend/default/blank/template/page/js/calendar.phtml ADDED
@@ -0,0 +1,94 @@
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@magentocommerce.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.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Calendar localization script. Should be put into page header.
30
+ *
31
+ * @see Mage_Core_Block_Html_Calendar
32
+ */
33
+ ?>
34
+
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', '" + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "') )?>\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/default/blank/template/page/template/links.phtml CHANGED
@@ -33,7 +33,7 @@
33
<?php if(count($_links)>0): ?>
34
<ul class="links"<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
35
<?php foreach($_links as $_link): ?>
36
- <li<?php if($_link->getIsFirst()): ?> class="first"<?php elseif($_link->getIsLast()): ?> class="last"<?php endif; ?><?php echo $_link->getLiParams() ?>><?php echo $_link->getBeforeText() ?><a href="<?php echo $_link->getUrl() ?>" title="<?php echo $_link->getTitle() ?>" <?php echo $_link->getAParams() ?>><?php echo $_link->getLabel() ?></a><?php echo $_link->getAfterText() ?></li>
37
<?php endforeach; ?>
38
</ul>
39
<?php endif; ?>
33
<?php if(count($_links)>0): ?>
34
<ul class="links"<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
35
<?php foreach($_links as $_link): ?>
36
+ <li<?php if($_link->getIsFirst()||$_link->getIsLast()): ?> class="<?php if($_link->getIsFirst()): ?>first<?php endif; ?><?php if($_link->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_link->getLiParams() ?>><?php echo $_link->getBeforeText() ?><a href="<?php echo $_link->getUrl() ?>" title="<?php echo $_link->getTitle() ?>" <?php echo $_link->getAParams() ?>><?php echo $_link->getLabel() ?></a><?php echo $_link->getAfterText() ?></li>
37
<?php endforeach; ?>
38
</ul>
39
<?php endif; ?>
app/design/frontend/default/blank/template/reports/home_product_compared.phtml CHANGED
@@ -38,7 +38,7 @@
38
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
39
<?php echo $this->getPriceHtml($_product, true, '-home-compared') ?>
40
<?php if($_product->isSaleable()): ?>
41
- <button class="button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
42
<?php else: ?>
43
<p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
44
<?php endif; ?>
38
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
39
<?php echo $this->getPriceHtml($_product, true, '-home-compared') ?>
40
<?php if($_product->isSaleable()): ?>
41
+ <button type="button" class="button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
42
<?php else: ?>
43
<p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
44
<?php endif; ?>
app/design/frontend/default/blank/template/review/customer/list.phtml CHANGED
@@ -40,7 +40,7 @@
40
<?php foreach ($this->getCollection() as $_review): ?>
41
<tr>
42
<td><?php echo $this->dateFormat($_review->getCreatedAt()) ?></td>
43
- <td><a href="<?php echo $this->getProductLink() ?>id/<?php echo $_review->getEntityPkValue() ?>"><?php echo $this->htmlEscape($_review->getName()) ?></a></td>
44
<td>
45
<?php if($_review->getSum()): ?>
46
<div class="rating-box">
@@ -54,7 +54,7 @@
54
<?php endforeach; ?>
55
</tbody>
56
</table>
57
- <script type="text/javascript">decorateTable('my-reviews-table')</script>
58
<?php echo $this->getToolbarHtml() ?>
59
<?php else: ?>
60
<p><?php echo $this->__('You have submitted no reviews.') ?></p>
40
<?php foreach ($this->getCollection() as $_review): ?>
41
<tr>
42
<td><?php echo $this->dateFormat($_review->getCreatedAt()) ?></td>
43
+ <td><h3 class="product-name"><a href="<?php echo $this->getProductLink() ?>id/<?php echo $_review->getEntityPkValue() ?>"><?php echo $this->htmlEscape($_review->getName()) ?></a></h3></td>
44
<td>
45
<?php if($_review->getSum()): ?>
46
<div class="rating-box">
54
<?php endforeach; ?>
55
</tbody>
56
</table>
57
+ <script type="text/javascript">decorateTable('my-reviews-table')</script>
58
<?php echo $this->getToolbarHtml() ?>
59
<?php else: ?>
60
<p><?php echo $this->__('You have submitted no reviews.') ?></p>
app/design/frontend/default/blank/template/review/customer/recent.phtml CHANGED
@@ -30,9 +30,9 @@
30
<h3><?php echo $this->__('My Recent Reviews') ?></h3>
31
<a href="<?php echo $this->getAllReviewsUrl() ?>"><?php echo $this->__('View All Reviews') ?></a>
32
</div>
33
<?php $iterator = 0 ?>
34
<?php foreach ($this->getCollection() as $_review): ?>
35
- <ol id="my_recent_reviews">
36
<li>
37
<span class="number"><?php echo ++$iterator ?></span>
38
<h4 class="product-name"><a href="<?php echo $this->getReviewUrl($_review->getReviewId()) ?>"><?php echo $this->htmlEscape($_review->getName()) ?></a></h4>
@@ -43,8 +43,8 @@
43
</div>
44